@progress/kendo-angular-ripple 3.0.3 → 4.0.0-dev.202204131847

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 (30) hide show
  1. package/bundles/kendo-angular-ripple.umd.js +5 -0
  2. package/{dist/es/index.js → esm2015/kendo-angular-ripple.js} +0 -0
  3. package/{dist/es → esm2015}/main.js +0 -0
  4. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  5. package/{dist/es2015 → esm2015}/ripple-container.directive.js +17 -21
  6. package/{dist/es2015 → esm2015}/ripple.module.js +13 -10
  7. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-ripple.js} +31 -29
  8. package/{dist/es2015/index.js → kendo-angular-ripple.d.ts} +1 -0
  9. package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
  10. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  11. package/package.json +32 -94
  12. package/{dist/es2015/ripple-container.directive.d.ts → ripple-container.directive.d.ts} +5 -2
  13. package/{dist/es2015/ripple.module.d.ts → ripple.module.d.ts} +5 -0
  14. package/schematics/ngAdd/index.js +5 -2
  15. package/schematics/ngAdd/index.js.map +1 -1
  16. package/dist/cdn/js/kendo-angular-ripple.js +0 -20
  17. package/dist/cdn/main.js +0 -5
  18. package/dist/es/package-metadata.js +0 -15
  19. package/dist/es/ripple-container.directive.js +0 -108
  20. package/dist/es/ripple.module.js +0 -51
  21. package/dist/es2015/index.d.ts +0 -8
  22. package/dist/es2015/index.metadata.json +0 -1
  23. package/dist/es2015/main.js +0 -6
  24. package/dist/fesm5/index.js +0 -169
  25. package/dist/npm/index.js +0 -11
  26. package/dist/npm/main.js +0 -10
  27. package/dist/npm/package-metadata.js +0 -17
  28. package/dist/npm/ripple-container.directive.js +0 -110
  29. package/dist/npm/ripple.module.js +0 -53
  30. package/dist/systemjs/kendo-angular-ripple.js +0 -5
@@ -0,0 +1,5 @@
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
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("@progress/kendo-ripple"),require("@progress/kendo-angular-common"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define("KendoAngularRipple",["exports","@angular/core","@progress/kendo-ripple","@progress/kendo-angular-common","@progress/kendo-licensing"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularRipple={},e.ng.core,e.KendoRipple,e.KendoAngularCommon,e.KendoLicensing)}(this,function(e,n,r,t,o){"use strict";function i(r){if(r&&r.__esModule)return r;var t=Object.create(null);return r&&Object.keys(r).forEach(function(e){var n;"default"!==e&&(n=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:function(){return r[e]}}))}),t.default=r,Object.freeze(t)}var s=i(n),a={name:"@progress/kendo-angular-ripple",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1649875647,version:"",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"},l=(Object.defineProperty(p.prototype,"disabled",{set:function(e){this.isDisabled=e,this.isDisabled?this.removeListeners():this.registerListeners(),this.renderer.setProperty(this.element.nativeElement,"disabled",e)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"containerClass",{get:function(){return!0},enumerable:!1,configurable:!0}),p.prototype.ngOnDestroy=function(){this.removeListeners()},p.prototype.ngAfterViewInit=function(){var e=this;this.isDisabled||this.ngZone.runOutsideAngular(function(){e.registerListeners()})},p.prototype.registerListeners=function(){var e;t.isDocumentAvailable()&&(this.removeListeners(),e=r.register(this.element.nativeElement,[{selector:".k-button:not(li)"},{selector:".k-list>.k-item",options:{global:!0}},{selector:".k-checkbox,.k-radio",options:{events:["focusin","animationend","click"]}}]),this.removeListeners=e)},p);function p(e,n,r){this.renderer=e,this.element=n,this.ngZone=r,this.isDisabled=!1,this.removeListeners=function(){},o.validatePackage(a)}l.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:l,deps:[{token:s.Renderer2},{token:s.ElementRef},{token:s.NgZone}],target:s.ɵɵFactoryTarget.Directive}),l.ɵdir=s.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:l,selector:"[kendoRippleContainer]",inputs:{disabled:"disabled"},host:{properties:{"class.k-ripple-container":"this.containerClass"}},ngImport:s}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:l,decorators:[{type:n.Directive,args:[{selector:"[kendoRippleContainer]"}]}],ctorParameters:function(){return[{type:s.Renderer2},{type:s.ElementRef},{type:s.NgZone}]},propDecorators:{disabled:[{type:n.Input}],containerClass:[{type:n.HostBinding,args:["class.k-ripple-container"]}]}});var c=[l],d=function(){};d.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:d,deps:[],target:s.ɵɵFactoryTarget.NgModule}),d.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:d,declarations:[l],exports:[l]}),d.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:d}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:d,decorators:[{type:n.NgModule,args:[{declarations:[c],exports:[c]}]}]}),e.RippleContainerDirective=l,e.RippleModule=d,Object.defineProperty(e,"__esModule",{value:!0})});
File without changes
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-ripple',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1642577896,
12
+ publishDate: 1649875647,
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
  };
@@ -2,12 +2,12 @@
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 tslib_1 from "tslib";
6
- import { ElementRef, HostBinding, Directive, Renderer2, Input, NgZone } from '@angular/core';
5
+ import { HostBinding, Directive, Input } from '@angular/core';
7
6
  import { register } from '@progress/kendo-ripple';
8
7
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
8
  import { validatePackage } from '@progress/kendo-licensing';
10
9
  import { packageMetadata } from './package-metadata';
10
+ import * as i0 from "@angular/core";
11
11
  /**
12
12
  * Represents the Ripple container component.
13
13
  *
@@ -26,7 +26,7 @@ import { packageMetadata } from './package-metadata';
26
26
  * </div>
27
27
  * ```
28
28
  */
29
- let RippleContainerDirective = class RippleContainerDirective {
29
+ export class RippleContainerDirective {
30
30
  constructor(renderer, element, ngZone) {
31
31
  this.renderer = renderer;
32
32
  this.element = element;
@@ -78,21 +78,17 @@ let RippleContainerDirective = class RippleContainerDirective {
78
78
  ]);
79
79
  this.removeListeners = callback;
80
80
  }
81
- };
82
- tslib_1.__decorate([
83
- Input(),
84
- tslib_1.__metadata("design:type", Boolean),
85
- tslib_1.__metadata("design:paramtypes", [Boolean])
86
- ], RippleContainerDirective.prototype, "disabled", null);
87
- tslib_1.__decorate([
88
- HostBinding('class.k-ripple-container'),
89
- tslib_1.__metadata("design:type", Boolean),
90
- tslib_1.__metadata("design:paramtypes", [])
91
- ], RippleContainerDirective.prototype, "containerClass", null);
92
- RippleContainerDirective = tslib_1.__decorate([
93
- Directive({
94
- selector: '[kendoRippleContainer]'
95
- }),
96
- tslib_1.__metadata("design:paramtypes", [Renderer2, ElementRef, NgZone])
97
- ], RippleContainerDirective);
98
- export { RippleContainerDirective };
81
+ }
82
+ RippleContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleContainerDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
83
+ RippleContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: RippleContainerDirective, selector: "[kendoRippleContainer]", inputs: { disabled: "disabled" }, host: { properties: { "class.k-ripple-container": "this.containerClass" } }, ngImport: i0 });
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleContainerDirective, decorators: [{
85
+ type: Directive,
86
+ args: [{
87
+ selector: '[kendoRippleContainer]'
88
+ }]
89
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { disabled: [{
90
+ type: Input
91
+ }], containerClass: [{
92
+ type: HostBinding,
93
+ args: ['class.k-ripple-container']
94
+ }] } });
@@ -2,9 +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 * as tslib_1 from "tslib";
6
5
  import { NgModule } from '@angular/core';
7
6
  import { RippleContainerDirective } from './ripple-container.directive';
7
+ import * as i0 from "@angular/core";
8
8
  const COMPONENT_DIRECTIVES = [RippleContainerDirective];
9
9
  /**
10
10
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -37,12 +37,15 @@ const COMPONENT_DIRECTIVES = [RippleContainerDirective];
37
37
  *
38
38
  * ```
39
39
  */
40
- let RippleModule = class RippleModule {
41
- };
42
- RippleModule = tslib_1.__decorate([
43
- NgModule({
44
- declarations: [COMPONENT_DIRECTIVES],
45
- exports: [COMPONENT_DIRECTIVES]
46
- })
47
- ], RippleModule);
48
- export { RippleModule };
40
+ export class RippleModule {
41
+ }
42
+ RippleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
43
+ RippleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleModule, declarations: [RippleContainerDirective], exports: [RippleContainerDirective] });
44
+ RippleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleModule });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleModule, decorators: [{
46
+ type: NgModule,
47
+ args: [{
48
+ declarations: [COMPONENT_DIRECTIVES],
49
+ exports: [COMPONENT_DIRECTIVES]
50
+ }]
51
+ }] });
@@ -2,8 +2,8 @@
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 { __decorate, __metadata } from 'tslib';
6
- import { Input, HostBinding, Directive, Renderer2, ElementRef, NgZone, NgModule } from '@angular/core';
5
+ import * as i0 from '@angular/core';
6
+ import { Directive, Input, HostBinding, NgModule } from '@angular/core';
7
7
  import { register } from '@progress/kendo-ripple';
8
8
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
9
  import { validatePackage } from '@progress/kendo-licensing';
@@ -15,7 +15,7 @@ const packageMetadata = {
15
15
  name: '@progress/kendo-angular-ripple',
16
16
  productName: 'Kendo UI for Angular',
17
17
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
18
- publishDate: 1642577896,
18
+ publishDate: 1649875647,
19
19
  version: '',
20
20
  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'
21
21
  };
@@ -38,7 +38,7 @@ const packageMetadata = {
38
38
  * </div>
39
39
  * ```
40
40
  */
41
- let RippleContainerDirective = class RippleContainerDirective {
41
+ class RippleContainerDirective {
42
42
  constructor(renderer, element, ngZone) {
43
43
  this.renderer = renderer;
44
44
  this.element = element;
@@ -90,23 +90,20 @@ let RippleContainerDirective = class RippleContainerDirective {
90
90
  ]);
91
91
  this.removeListeners = callback;
92
92
  }
93
- };
94
- __decorate([
95
- Input(),
96
- __metadata("design:type", Boolean),
97
- __metadata("design:paramtypes", [Boolean])
98
- ], RippleContainerDirective.prototype, "disabled", null);
99
- __decorate([
100
- HostBinding('class.k-ripple-container'),
101
- __metadata("design:type", Boolean),
102
- __metadata("design:paramtypes", [])
103
- ], RippleContainerDirective.prototype, "containerClass", null);
104
- RippleContainerDirective = __decorate([
105
- Directive({
106
- selector: '[kendoRippleContainer]'
107
- }),
108
- __metadata("design:paramtypes", [Renderer2, ElementRef, NgZone])
109
- ], RippleContainerDirective);
93
+ }
94
+ RippleContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleContainerDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
95
+ RippleContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: RippleContainerDirective, selector: "[kendoRippleContainer]", inputs: { disabled: "disabled" }, host: { properties: { "class.k-ripple-container": "this.containerClass" } }, ngImport: i0 });
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleContainerDirective, decorators: [{
97
+ type: Directive,
98
+ args: [{
99
+ selector: '[kendoRippleContainer]'
100
+ }]
101
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { disabled: [{
102
+ type: Input
103
+ }], containerClass: [{
104
+ type: HostBinding,
105
+ args: ['class.k-ripple-container']
106
+ }] } });
110
107
 
111
108
  const COMPONENT_DIRECTIVES = [RippleContainerDirective];
112
109
  /**
@@ -140,17 +137,22 @@ const COMPONENT_DIRECTIVES = [RippleContainerDirective];
140
137
  *
141
138
  * ```
142
139
  */
143
- let RippleModule = class RippleModule {
144
- };
145
- RippleModule = __decorate([
146
- NgModule({
147
- declarations: [COMPONENT_DIRECTIVES],
148
- exports: [COMPONENT_DIRECTIVES]
149
- })
150
- ], RippleModule);
140
+ class RippleModule {
141
+ }
142
+ RippleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
143
+ RippleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleModule, declarations: [RippleContainerDirective], exports: [RippleContainerDirective] });
144
+ RippleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleModule });
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RippleModule, decorators: [{
146
+ type: NgModule,
147
+ args: [{
148
+ declarations: [COMPONENT_DIRECTIVES],
149
+ exports: [COMPONENT_DIRECTIVES]
150
+ }]
151
+ }] });
151
152
 
152
153
  /**
153
154
  * Generated bundle index. Do not edit.
154
155
  */
155
156
 
156
157
  export { RippleContainerDirective, RippleModule };
158
+
@@ -5,4 +5,5 @@
5
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
+ /// <amd-module name="@progress/kendo-angular-ripple" />
8
9
  export * from './main';
File without changes
package/package.json CHANGED
@@ -1,91 +1,38 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-ripple",
3
+ "version": "4.0.0-dev.202204131847",
3
4
  "description": "Ripple Package for Angular",
4
- "author": "Progress",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
- "version": "3.0.3",
7
- "main": "dist/npm/index.js",
8
- "module": "dist/fesm5/index.js",
9
- "es2015": "dist/fesm2015/index.js",
10
- "esm5": "dist/es/index.js",
11
- "esm2015": "dist/es2015/index.js",
12
- "jsnext:main": "dist/es/index.js",
13
- "typings": "dist/es2015/index.d.ts",
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
- "lint": "gulp lint && gulp lint-docs",
23
- "api-check": "gulp api-check",
24
- "build-package": "gulp build-package",
25
- "semantic-release": "semantic-release pre && semantic-prerelease publish --public && semantic-release post"
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-ripple.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/telerik/kendo-angular"
26
14
  },
27
15
  "keywords": [
28
- "Kendo UI",
29
- "Progress",
30
16
  "Angular",
17
+ "Kendo UI",
31
18
  "Material Design",
19
+ "Progress",
32
20
  "Ripple"
33
21
  ],
34
- "peerDependencies": {
35
- "@angular/common": "8 - 13",
36
- "@angular/core": "8 - 13",
37
- "@progress/kendo-angular-common": "^2.0.0",
38
- "@progress/kendo-licensing": "^1.0.2",
39
- "rxjs": "^6.4.0 || ^7.0.0"
22
+ "@progress": {
23
+ "friendlyName": "Ripple"
40
24
  },
41
25
  "dependencies": {
42
- "@progress/kendo-schematics": "^2.0.0",
26
+ "@progress/kendo-schematics": "^3.0.0",
43
27
  "@progress/kendo-ripple": "^1.0.1",
44
- "tslib": "^1.9.0"
28
+ "tslib": "^2.3.1"
45
29
  },
46
- "devDependencies": {
47
- "@angular-devkit/core": "^8.2.0",
48
- "@angular-devkit/schematics": "^8.2.0",
49
- "@angular/animations": "^8.2.0",
50
- "@angular/common": "^8.2.0",
51
- "@angular/compiler": "^8.2.0",
52
- "@angular/compiler-cli": "^8.2.0",
53
- "@angular/core": "^8.2.0",
54
- "@angular/forms": "^8.2.0",
55
- "@angular/platform-browser": "^8.2.0",
56
- "@angular/platform-browser-dynamic": "^8.2.0",
57
- "@angular/platform-server": "^8.2.0",
58
- "@angular/router": "^8.2.0",
59
- "@progress/kendo-angular-buttons": "^6.0.0",
60
- "@progress/kendo-angular-common": "^2.0.0",
61
- "@progress/kendo-angular-jest-preset": "^2.0.0",
62
- "@progress/kendo-angular-label": "^3.0.0",
63
- "@progress/kendo-angular-inputs": "^7.0.0",
64
- "@progress/kendo-angular-l10n": "^3.0.0",
65
- "@progress/kendo-angular-popup": "^4.0.0",
66
- "@progress/kendo-angular-tasks": "^18.0.2",
30
+ "peerDependencies": {
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",
67
34
  "@progress/kendo-licensing": "^1.0.2",
68
- "@progress/kendo-theme-bootstrap": "^5.0.0",
69
- "@progress/kendo-theme-default": "^5.0.0",
70
- "@progress/kendo-theme-material": "^5.0.0",
71
- "@telerik/semantic-prerelease": "^1.0.0",
72
- "@types/jest": "^21.1.8",
73
- "@types/node": "ts3.4",
74
- "@types/zone.js": "0.0.27",
75
- "codelyzer": "^5.0.0",
76
- "core-js": "^2.2.2",
77
- "cz-conventional-changelog": "^1.1.5",
78
- "ghooks": "^1.0.3",
79
- "gulp": "^4.0.0",
80
- "jest-cli": "^21.2.1",
81
- "jest-junit": "^8.0.0",
82
- "rxjs": "~6.4.0",
83
- "rxjs-tslint-rules": "^4.23.1",
84
- "semantic-release": "^6.3.6",
85
- "tslint": "^5.20.1",
86
- "typescript": "~3.4.5",
87
- "validate-commit-msg": "^1.1.1",
88
- "zone.js": "~0.9.1"
35
+ "rxjs": "^6.5.3 || ^7.0.0"
89
36
  },
90
37
  "config": {
91
38
  "commitizen": {
@@ -110,27 +57,16 @@
110
57
  "maxSubjectLength": 100
111
58
  }
112
59
  },
113
- "jest": {
114
- "preset": "@progress/kendo-angular-jest-preset"
115
- },
116
- "repository": {
117
- "type": "git",
118
- "url": "https://github.com/telerik/kendo-angular-ripple.git"
119
- },
120
- "bugs": {
121
- "url": "https://github.com/telerik/kendo-angular"
122
- },
123
- "@progress": {
124
- "friendlyName": "Ripple"
125
- },
126
- "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
60
+ "schematics": "./schematics/collection.json",
127
61
  "release": {
128
62
  "debug": false,
129
63
  "branchTags": {
130
- "develop": "dev"
64
+ "develop": "dev",
65
+ "ng12-update": "next"
131
66
  },
132
67
  "fallbackTags": {
133
- "dev": "latest"
68
+ "dev": "latest",
69
+ "next": "latest"
134
70
  },
135
71
  "analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
136
72
  "generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
@@ -138,9 +74,11 @@
138
74
  "verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
139
75
  "verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
140
76
  },
141
- "schematics": "./schematics/collection.json",
142
- "files": [
143
- "dist",
144
- "schematics"
145
- ]
77
+ "main": "bundles/kendo-angular-ripple.umd.js",
78
+ "module": "fesm2015/kendo-angular-ripple.js",
79
+ "es2015": "fesm2015/kendo-angular-ripple.js",
80
+ "esm2015": "esm2015/kendo-angular-ripple.js",
81
+ "fesm2015": "fesm2015/kendo-angular-ripple.js",
82
+ "typings": "kendo-angular-ripple.d.ts",
83
+ "sideEffects": false
146
84
  }
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef, Renderer2, AfterViewInit, OnDestroy, NgZone } from '@angular/core';
6
+ import * as i0 from "@angular/core";
6
7
  /**
7
8
  * Represents the Ripple container component.
8
9
  *
@@ -29,12 +30,14 @@ export declare class RippleContainerDirective implements AfterViewInit, OnDestro
29
30
  * Provides an option to disable the ripple effect of the `kendoRippleContainer` element.
30
31
  * By default, `disabled` is set to `false`.
31
32
  */
32
- disabled: boolean;
33
+ set disabled(disabled: boolean);
33
34
  isDisabled: boolean;
34
- readonly containerClass: boolean;
35
+ get containerClass(): boolean;
35
36
  constructor(renderer: Renderer2, element: ElementRef, ngZone: NgZone);
36
37
  ngOnDestroy(): void;
37
38
  ngAfterViewInit(): void;
38
39
  private removeListeners;
39
40
  private registerListeners;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<RippleContainerDirective, never>;
42
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RippleContainerDirective, "[kendoRippleContainer]", never, { "disabled": "disabled"; }, {}, never>;
40
43
  }
@@ -2,6 +2,8 @@
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 "./ripple-container.directive";
5
7
  /**
6
8
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
7
9
  * definition for the Ripple directive.
@@ -34,4 +36,7 @@
34
36
  * ```
35
37
  */
36
38
  export declare class RippleModule {
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<RippleModule, never>;
40
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RippleModule, [typeof i1.RippleContainerDirective], never, [typeof i1.RippleContainerDirective]>;
41
+ static ɵinj: i0.ɵɵInjectorDeclaration<RippleModule>;
37
42
  }
@@ -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: 'RippleModule', package: 'ripple' //package name, e.g grid
9
+ const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'RippleModule', package: 'ripple' //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,qBACX,OAAO,IACV,YAAY,EAAE,cAAc,EAC5B,OAAO,EAAE,QAAQ,CAAC,wBAAwB;OAC7C,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
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,cAAc,EAC5B,OAAO,EAAE,QAAQ,CAAC,wBAAwB;OAC7C,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
@@ -1,20 +0,0 @@
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
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("rxjs"),require("@angular/common"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["@angular/core","rxjs","@angular/common","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularRipple=t(require("@angular/core"),require("rxjs"),require("@angular/common"),require("rxjs/operators")):e.KendoAngularRipple=t(e["@angular/core"],e.rxjs,e["@angular/common"],e["rxjs/operators"])}(window,(function(e,t,n,r){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return i})),n.d(t,"__assign",(function(){return o})),n.d(t,"__rest",(function(){return s})),n.d(t,"__decorate",(function(){return u})),n.d(t,"__param",(function(){return c})),n.d(t,"__metadata",(function(){return a})),n.d(t,"__awaiter",(function(){return l})),n.d(t,"__generator",(function(){return d})),n.d(t,"__createBinding",(function(){return f})),n.d(t,"__exportStar",(function(){return p})),n.d(t,"__values",(function(){return h})),n.d(t,"__read",(function(){return v})),n.d(t,"__spread",(function(){return y})),n.d(t,"__spreadArrays",(function(){return g})),n.d(t,"__await",(function(){return m})),n.d(t,"__asyncGenerator",(function(){return b})),n.d(t,"__asyncDelegator",(function(){return _})),n.d(t,"__asyncValues",(function(){return x})),n.d(t,"__makeTemplateObject",(function(){return O})),n.d(t,"__importStar",(function(){return w})),n.d(t,"__importDefault",(function(){return j})),n.d(t,"__classPrivateFieldGet",(function(){return E})),n.d(t,"__classPrivateFieldSet",(function(){return D}));
6
- /*! *****************************************************************************
7
- Copyright (c) Microsoft Corporation.
8
-
9
- Permission to use, copy, modify, and/or distribute this software for any
10
- purpose with or without fee is hereby granted.
11
-
12
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
13
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
14
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
15
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
16
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18
- PERFORMANCE OF THIS SOFTWARE.
19
- ***************************************************************************** */
20
- var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function u(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function c(e,t){return function(n,r){t(n,r,e)}}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,u)}c((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function f(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function p(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function g(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,u=o.length;s<u;s++,i++)r[i]=o[s];return r}function m(e){return this instanceof m?(this.v=e,this):new m(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=i[e](t)).value instanceof m?Promise.resolve(n.value.v).then(c,a):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function c(e){u("next",e)}function a(e){u("throw",e)}function l(e,t){e(t),o.shift(),o.length&&u(o[0][0],o[0][1])}}function _(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:m(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function j(e){return e&&e.__esModule?e:{default:e}}function E(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function D(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(10),s=n(11),u=n(7),c=n(8),a=function(){function e(e,t,n){this.renderer=e,this.element=t,this.ngZone=n,this.isDisabled=!1,this.removeListeners=function(){},u.validatePackage(c.packageMetadata)}return Object.defineProperty(e.prototype,"disabled",{set:function(e){this.isDisabled=e,this.isDisabled?this.removeListeners():this.registerListeners(),this.renderer.setProperty(this.element.nativeElement,"disabled",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"containerClass",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.removeListeners()},e.prototype.ngAfterViewInit=function(){var e=this;this.isDisabled||this.ngZone.runOutsideAngular((function(){e.registerListeners()}))},e.prototype.registerListeners=function(){if(s.isDocumentAvailable()){this.removeListeners();var e=o.register(this.element.nativeElement,[{selector:".k-button:not(li)"},{selector:".k-list>.k-item",options:{global:!0}},{selector:".k-checkbox,.k-radio",options:{events:["focusin","animationend","click"]}}]);this.removeListeners=e}},r.__decorate([i.Input(),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[Boolean])],e.prototype,"disabled",null),r.__decorate([i.HostBinding("class.k-ripple-container"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"containerClass",null),e=r.__decorate([i.Directive({selector:"[kendoRippleContainer]"}),r.__metadata("design:paramtypes",[i.Renderer2,i.ElementRef,i.NgZone])],e)}();t.RippleContainerDirective=a},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.RippleContainerDirective=r.RippleContainerDirective;var i=n(9);t.RippleModule=i.RippleModule},function(e,t,n){"use strict";n.r(t),n.d(t,"setScriptKey",(function(){return a})),n.d(t,"validatePackage",(function(){return l}));var r,i,o=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];r=o,i=131,function(e){for(;--e;)r.push(r.shift())}(++i);var s=function(e,t){var n=o[e-=0];if(void 0===s.eVebMg){s.JsjtEd=function(e){for(var t=function(e){for(var t,n,r=String(e).replace(/=+$/,""),i="",o=0,s=0;n=r.charAt(s++);~n&&(t=o%4?64*t+n:n,o++%4)?i+=String.fromCharCode(255&t>>(-2*o&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return i}(e),n=[],r=0,i=t.length;r<i;r++)n+="%"+("00"+t.charCodeAt(r).toString(16)).slice(-2);return decodeURIComponent(n)},s.rqrXoU={},s.eVebMg=!0}var r=s.rqrXoU[e];return void 0===r?(n=s.JsjtEd(n),s.rqrXoU[e]=n):n=r,n},u={data:' {"timestamp":1635163540,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"Iq+/hmrfWBiuOSBY/c3zb/zGgBg="} '},c=new Map;function a(e){}function l(e){if(c[s("0x14")](e[s("0x4")])){if(s("0x35")==s("0x35"))return c[s("0x36")](e[s("0x4")])}var t,n=e[s("0x1")]?" v"+e[s("0x1")]:"",r=e[s("0x4")]+n,i=JSON[s("0x9")](u[s("0x34")]),o=!i[s("0x26")]&&!i[s("0x38")],a=i[s("0x26")]&&typeof KendoLicensing===s("0x2b"),l=function(e,t){var n=e[s("0x8")];if(!n||!n[s("0x2d")]){if(s("0x11")==s("0x11"))return null}var r=new Set(t);return n[s("0x2a")]((function(e){if(s("0xa")!==s("0x18"))return r[s("0x14")](e[s("0x39")])}))}(i,e[s("0x2")]);if(o||a)if(s("0x29")!=s("0x29")){}else t={type:0,packageName:r,docsUrl:e[s("0x27")]};else if(s("0xf")===s("0x24")){}else if(l){if(s("0x12")!=s("0x12")){}else if(l[s("0x37")]<e[s("0x1c")])if(s("0x21")===s("0x32")){}else t={type:2,packageName:r,publishDate:d(e[s("0x1c")]),expiryDate:d(l[s("0x37")]),docsUrl:e[s("0x27")]}}else if(s("0x6")!=s("0x6")){}else t={type:1,packageName:r,docsUrl:e[s("0x27")]};if(t&&typeof console===s("0x30"))if(s("0x5")===s("0x3")){}else{var f=s("0x1b")+e[s("0xe")],p=typeof console[s("0x7")]===s("0x33");if(p)if(s("0xc")!=s("0xc")){}else console[s("0x7")](f);else if(s("0x17")!=s("0x17")){}else console[s("0x1e")](f);if(console[s("0x1e")](function(e){var t=s("0x28")+e[s("0x16")]+"\n";if(2===e[s("0x3a")])if(s("0x20")!=s("0x20")){}else t+=s("0x25")+e[s("0x15")][s("0x2c")]()+s("0xb")+e[s("0x1c")][s("0x2c")]()+".\n";else if(0===e[s("0x3a")])if(s("0x13")!==s("0x10"))t+=s("0xd");else{}else if(1===e[s("0x3a")])if(s("0x2e")===s("0x23")){}else t+=s("0x1d");return t+=s("0x31")+e[s("0x1a")]+s("0x22")}(t)),p)if(s("0x1f")!==s("0x19"))console[s("0x2f")]();else{}}var h=!t;return c[s("0x0")](e[s("0x4")],h),h}function d(e){return new Date(1e3*e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-ripple",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642577896,version:"",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"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=[n(3).RippleContainerDirective],s=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[o],exports:[o]})],e)}();t.RippleModule=s},function(e,t,n){"use strict";n.r(t),n.d(t,"register",(function(){return c}));var r=function(e,t,n){var r=function(){n(),e.removeEventListener(t,r,!1)},i=function(){return e.addEventListener(t,r,!1)};return i(),{remove:i}},i=function(e,t){return function(n){var i,u=n.target,c=u.document||u.ownerDocument;if((i=t.container?t.container(u):function(e,t){if(e.closest)return e.closest(t);for(var n=Element.prototype.matches?function(e,t){return e.matches(t)}:function(e,t){return e.msMatchesSelector(t)},r=e;r;){if(n(r,t))return r;r=r.parentElement}}(u,e))&&!(/focus/i.test(n.type)&&i.classList.contains("k-ripple-target")))if(u.classList.contains("k-checkbox")||u.classList.contains("k-radio"))n.target.classList.remove("k-ripple-focus"),"animationend"!==n.type&&n.target.classList.add("k-ripple-focus");else{i.classList.add("k-ripple-target");var a=function(e){var t=e.createElement("div");t.className="k-ripple";var n=e.createElement("div");return n.className="k-ripple-blob",t.appendChild(n),[t,n]}(c),l=a[0],d=a[1],f={animated:!1,released:!1,blob:d,container:i,ripple:l},p={focusin:"focusout",keydown:"keyup",mousedown:"mouseup",pointerdown:"pointerup",touchdown:"touchup",animationstart:"animationend"}[n.type];r(n.currentTarget,p,(function(){return s(f)})),i.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity");var h=i.getBoundingClientRect(),v=0,y=0;/mouse|pointer|touch/.test(n.type)?(v=n.clientX-h.left,y=n.clientY-h.top):(v=h.width/2,y=h.height/2);var g=v-(v<h.width/2?h.width:0),m=y-(y<h.height/2?h.height:0),b=2*Math.sqrt(g*g+m*m);if(d.style.width=d.style.height=b+"px",d.offsetWidth<0)throw new Error("Inconceivable!");d.style.cssText="\n width: "+b+"px;\n height: "+b+"px;\n transform: translate(-50%, -50%) scale(1);\n left: "+v+"px;\n top: "+y+"px;\n ",setTimeout((function(){return o(f)}),500)}}},o=function(e){e.animated=!0,u(e)},s=function(e){e.released=!0,u(e)},u=function(e){if(e.released&&e.animated){var t=e.blob,n=e.ripple,i=e.container;i&&r(i,"blur",(function(){return i.classList.remove("k-ripple-target")})),t&&(r(t,"transitionend",(function(){n&&n.parentNode&&n.parentNode.removeChild(n)})),t.style.transition="opacity 200ms linear",t.style.opacity="0")}},c=function(e,t){var n,r=(n=t.map((function(t){var n={events:["mousedown","touchdown"],global:!1},r=t.selector,o=t.options,s=void 0===o?n:o,u=i(r,s),c=s.events||n.events,a=s.global?document.body:e;return c.forEach((function(e){return a.addEventListener(e,u,!1)})),{events:c,options:s,activator:u}})),[].concat.apply([],n));return function(){if(e){r.forEach((function(t){var n=t.events,r=t.options,i=t.activator,o=r.global?document.body:e;n.forEach((function(e){return o.removeEventListener(e,i,!1)}))})),e=null}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeService",(function(){return Z})),n.d(t,"PreventableEvent",(function(){return te})),n.d(t,"DraggableDirective",(function(){return w})),n.d(t,"DraggableModule",(function(){return j})),n.d(t,"closestInScope",(function(){return E})),n.d(t,"closest",(function(){return D})),n.d(t,"contains",(function(){return z})),n.d(t,"findElement",(function(){return C})),n.d(t,"findFocusableChild",(function(){return P})),n.d(t,"findFocusable",(function(){return A})),n.d(t,"hasClasses",(function(){return M})),n.d(t,"isFocusableWithTabKey",(function(){return L})),n.d(t,"isFocusable",(function(){return K})),n.d(t,"isVisible",(function(){return k})),n.d(t,"matchesClasses",(function(){return N})),n.d(t,"matchesNodeName",(function(){return T})),n.d(t,"rtlScrollPosition",(function(){return I})),n.d(t,"EventsOutsideAngularDirective",(function(){return U})),n.d(t,"EventsModule",(function(){return q})),n.d(t,"ResizeSensorComponent",(function(){return W})),n.d(t,"ResizeBatchService",(function(){return J})),n.d(t,"ResizeCompatService",(function(){return V})),n.d(t,"ResizeObserverService",(function(){return X})),n.d(t,"ResizeSensorModule",(function(){return $})),n.d(t,"KendoInput",(function(){return ee})),n.d(t,"isDocumentAvailable",(function(){return m})),n.d(t,"isChanged",(function(){return b})),n.d(t,"anyChanged",(function(){return _})),n.d(t,"hasObservers",(function(){return x})),n.d(t,"guid",(function(){return O})),n.d(t,"Keys",(function(){return H}));var r=n(1),i=n(0),o=function(e,t){return function(n){return t(e(n))}},s=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},u=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},c=function(){},a=function(e){return e.preventDefault()},l=/touch/;function d(e){return e.type.match(l)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var f=function(e){var t=this,n=e.press;void 0===n&&(n=c);var r=e.drag;void 0===r&&(r=c);var i=e.release;void 0===i&&(i=c);var l=e.mouseOnly;void 0===l&&(l=!1),this._pressHandler=o(d,n),this._dragHandler=o(d,r),this._releaseHandler=o(d,i),this._ignoreMouse=!1,this._mouseOnly=l,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(s(t.document,"mousemove",t._mousemove),s(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){u(t.document,"mousemove",t._mousemove),u(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(s(t.document,"pointermove",t._pointermove),s(t.document,"pointerup",t._pointerup),s(t.document,"pointercancel",t._pointerup),s(t.document,"contextmenu",a),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(u(t.document,"pointermove",t._pointermove),u(t.document,"pointerup",t._pointerup),u(t.document,"pointercancel",t._pointerup),u(t.document,"contextmenu",a),t._releaseHandler(e))}},p={document:{configurable:!0}};f.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},p.document.get=function(){return this._element?this._element.ownerDocument:document},f.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},f.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?s(e,"pointerdown",this._pointerdown):(s(e,"mousedown",this._mousedown),this._mouseOnly||(s(e,"touchstart",this._touchstart),s(e,"touchmove",this._touchmove),s(e,"touchend",this._touchend)))},f.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return u(e,"pointerdown",this._pointerdown),u(this.document,"pointermove",this._pointermove),u(this.document,"pointerup",this._pointerup),u(this.document,"contextmenu",a),void u(this.document,"pointercancel",this._pointerup);u(e,"mousedown",this._mousedown),this._mouseOnly||(u(e,"touchstart",this._touchstart),u(e,"touchmove",this._touchmove),u(e,"touchend",this._touchend))},f.prototype._usePointers=function(){return!this._mouseOnly&&f.supportPointerEvent()},f.prototype.update=function(e){var t=e.press;void 0===t&&(t=c);var n=e.drag;void 0===n&&(n=c);var r=e.release;void 0===r&&(r=c);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=o(d,t),this._dragHandler=o(d,n),this._releaseHandler=o(d,r),this._mouseOnly=i},f.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(f.prototype,p),f.default=f;var h=f,v=n(4),y=n(5),g=n(2),m=function(){return"undefined"!=typeof document},b=function(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)},_=function(e,t,n){return void 0===n&&(n=!0),e.some((function(e){return b(e,t,n)}))},x=function(e){return e&&e.observers.length>0},O=function(){for(var e="",t=0;t<32;t++){var n=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&n|8:n).toString(16)}return e},w=function(){function e(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new i.EventEmitter,this.kendoDrag=new i.EventEmitter,this.kendoRelease=new i.EventEmitter}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){b("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;m()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new h({drag:function(t){return e.kendoDrag.next(t)},press:function(t){return e.kendoPress.next(t)},release:function(t){return e.kendoRelease.next(t)}}),this.ngZone.runOutsideAngular((function(){return e.draggable.bindTo(e.element.nativeElement)}))))},e.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Boolean)],e.prototype,"enableDrag",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoPress",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoDrag",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoRelease",void 0),e=Object(r.__decorate)([Object(i.Directive)({selector:"[kendoDraggable]"}),Object(r.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone])],e)}(),j=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[w],exports:[w],imports:[v.CommonModule]})],e)}(),E=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},D=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},z=function(e,t,n){if(void 0===n&&(n=!1),!D(t,(function(t){return t===e})))return!1;var r=D(t,(function(e){return e===t}));return r&&(n||r!==e)},C=function(e,t,n){if(void 0===n&&(n=!0),e){if(n&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var r=C(e,t);if(r)return r}e=e.nextSibling}}},S=/^(?:a|input|select|option|textarea|button|object)$/i,K=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&S.test(t)||n},k=function(e){var t=e.getBoundingClientRect(),n=t.width>0&&t.height>0,r=0!==t.x&&0!==t.y;return(n||r)&&"hidden"!==window.getComputedStyle(e).visibility},L=function(e,t){if(void 0===t&&(t=!0),!K(e))return!1;var n=e.getAttribute("tabIndex");return(!t||k(e))&&"-1"!==n},P=function(e,t){return void 0===t&&(t=!0),C(e,(function(e){return L(e,t)}),!1)},A=function(e,t){return void 0===t&&(t=!0),C(e,(function(e){return L(e,t)}))},B=function(e){return String(e).trim().split(" ")},M=function(e,t){var n=B(t);return Boolean(B(e.className).find((function(e){return n.indexOf(e)>=0})))},N=function(e){return function(t){return M(t,e)}},R={},T=function(e){return R[e]||(R[e]=function(t){return String(t.nodeName).toLowerCase()===e.toLowerCase()}),R[e]};function I(e,t,n){var r=e;return n<0?r=-e:n>0&&(r=t.scrollWidth-t.offsetWidth-e),r}var H,U=function(){function e(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}return e.prototype.ngOnInit=function(){var e=this;if(this.element&&this.element.nativeElement){var t=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var n in t)t.hasOwnProperty(n)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,n,e.scope?t[n].bind(e.scope):t[n]))}))}},e.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},Object(r.__decorate)([Object(i.Input)("kendoEventsOutsideAngular"),Object(r.__metadata)("design:type",Object)],e.prototype,"events",void 0),Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Object)],e.prototype,"scope",void 0),e=Object(r.__decorate)([Object(i.Directive)({selector:"[kendoEventsOutsideAngular]"}),Object(r.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],e)}(),q=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[U],exports:[U]})],e)}(),Z=function(){function e(e){this.resizeBatchService=e,this.resize=new i.EventEmitter,this.acceptedSize=!1,this.state=0}return e.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},e.prototype.checkChanges=function(){m()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},e.prototype.destroy=function(){this.resizeBatchService.cancel(this)},e.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,n=e.height;if(!(t===this.lastWidth&&n===this.lastHeight))return this.lastWidth=t,this.lastHeight=n,this.acceptedSize=!1,this.resize.emit(),!0}},e.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},e.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},e}(),Y=function(e){var t=document.createElement("div");return t.style.cssText=e,t},G="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",V=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return Object(r.__extends)(t,e),t.prototype.checkChanges=function(){2!==this.state?e.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},t.prototype.destroy=function(){if(e.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var t=this.element.nativeElement;t.removeChild(this.expand),t.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},t.prototype.checkSize=function(){if(e.prototype.checkSize.call(this))return this.reset(),!0},t.prototype.init=function(){var e,t=this.parentElement=this.element.nativeElement.parentElement;"static"===(e="position",getComputedStyle(t,null).getPropertyValue(e))&&(t.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},t.prototype.render=function(){var e=this.element.nativeElement;e.style.cssText=G,e.setAttribute("dir","ltr"),this.expand=Y(G),this.expandChild=Y("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=Y(G);var t=Y("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(t),e.appendChild(this.shrink)},t.prototype.reset=function(){var e=this.expandChild;e.style.width="100000px",e.style.height="100000px";var t=this.expand;t.scrollLeft=1e5,t.scrollTop=1e5;var n=this.shrink;n.scrollLeft=1e5,n.scrollTop=1e5},t.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.subscription=Object(g.merge)(Object(g.fromEvent)(e.shrink,"scroll"),Object(g.fromEvent)(e.expand,"scroll")).subscribe((function(){e.checkSize()}))}))},t}(Z),F="undefined"!=typeof ResizeObserver,X=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return Object(r.__extends)(t,e),t.supported=function(){return F},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},t.prototype.init=function(){var e=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){e.resizeObserver=new ResizeObserver((function(){e.checkSize()})),e.resizeObserver.observe(e.parentElement)}))},t}(Z),J=function(){function e(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return e.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular((function(){n.subscription=Object(g.from)(n.resolvedPromise).subscribe(n.flush)}))},e.prototype.isScheduled=function(e){return Boolean(this.scheduled.find((function(t){return t.instance===e})))},e.prototype.cancel=function(e){for(var t=this.scheduled,n=t.length,r=0;r<n;r++)if(t[r].instance===e)return t.splice(r,1),void(t.length||this.unsubscribe())},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},e.prototype.flush=function(){this.scheduled.forEach((function(e){e.method.call(e.instance)})),this.scheduled=[],this.unsubscribe()},e=Object(r.__decorate)([Object(i.Injectable)(),Object(r.__metadata)("design:paramtypes",[i.NgZone])],e)}(),W=function(){function e(e,t,n){var r=this;this.rateLimit=10,this.resize=new i.EventEmitter;var o=X.supported()?X:V;this.resizeService=new o(e,t,n);var s=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(y.auditTime)(s)).subscribe((function(){r.resizeService.acceptedSize||r.resize.emit()}))}return e.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},e.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)},Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Number)],e.prototype,"rateLimit",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"resize",void 0),e=Object(r.__decorate)([Object(i.Component)({selector:"kendo-resize-sensor",template:""}),Object(r.__metadata)("design:paramtypes",[J,i.ElementRef,i.NgZone])],e)}(),Q=[W],$=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[Q],exports:[Q],providers:[J]})],e)}(),ee=function(){};!function(e){e[e.Alt=18]="Alt",e[e.ArrowDown=40]="ArrowDown",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowUp=38]="ArrowUp",e[e.Backspace=8]="Backspace",e[e.Control=17]="Control",e[e.Delete=46]="Delete",e[e.Digit0=48]="Digit0",e[e.Digit1=49]="Digit1",e[e.Digit2=50]="Digit2",e[e.Digit3=51]="Digit3",e[e.Digit4=52]="Digit4",e[e.Digit5=53]="Digit5",e[e.Digit6=54]="Digit6",e[e.Digit7=55]="Digit7",e[e.Digit8=56]="Digit8",e[e.Digit9=57]="Digit9",e[e.End=35]="End",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F10=121]="F10",e[e.Home=36]="Home",e[e.Insert=45]="Insert",e[e.KeyA=65]="KeyA",e[e.KeyB=66]="KeyB",e[e.KeyC=67]="KeyC",e[e.KeyD=68]="KeyD",e[e.KeyE=69]="KeyE",e[e.KeyF=70]="KeyF",e[e.KeyG=71]="KeyG",e[e.KeyH=72]="KeyH",e[e.KeyI=73]="KeyI",e[e.KeyJ=74]="KeyJ",e[e.KeyK=75]="KeyK",e[e.KeyL=76]="KeyL",e[e.KeyM=77]="KeyM",e[e.KeyN=78]="KeyN",e[e.KeyO=79]="KeyO",e[e.KeyP=80]="KeyP",e[e.KeyQ=81]="KeyQ",e[e.KeyR=82]="KeyR",e[e.KeyS=83]="KeyS",e[e.KeyT=84]="KeyT",e[e.KeyU=85]="KeyU",e[e.KeyV=86]="KeyV",e[e.KeyW=87]="KeyW",e[e.KeyX=88]="KeyX",e[e.KeyY=89]="KeyY",e[e.KeyZ=90]="KeyZ",e[e.NumpadDecimal=110]="NumpadDecimal",e[e.PageDown=34]="PageDown",e[e.PageUp=33]="PageUp",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.Tab=9]="Tab"}(H||(H={}));var te=function(){function e(){this.prevented=!1}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}()}])}));
package/dist/cdn/main.js DELETED
@@ -1,5 +0,0 @@
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
- !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("tslib"),require("@angular/core"),require("@progress/kendo-ripple"),require("@progress/kendo-angular-common"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","@progress/kendo-ripple","@progress/kendo-angular-common","@progress/kendo-licensing"],r):"object"==typeof exports?exports.KendoAngularRipple=r(require("tslib"),require("@angular/core"),require("@progress/kendo-ripple"),require("@progress/kendo-angular-common"),require("@progress/kendo-licensing")):e.KendoAngularRipple=r(e.tslib,e["@angular/core"],e["@progress/kendo-ripple"],e["@progress/kendo-angular-common"],e["@progress/kendo-licensing"])}(window,(function(e,r,t,n,o){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=3)}([function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(1),o=t(2),i=t(4),s=t(5),a=t(6),u=t(7),l=function(){function e(e,r,t){this.renderer=e,this.element=r,this.ngZone=t,this.isDisabled=!1,this.removeListeners=function(){},a.validatePackage(u.packageMetadata)}return Object.defineProperty(e.prototype,"disabled",{set:function(e){this.isDisabled=e,this.isDisabled?this.removeListeners():this.registerListeners(),this.renderer.setProperty(this.element.nativeElement,"disabled",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"containerClass",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.removeListeners()},e.prototype.ngAfterViewInit=function(){var e=this;this.isDisabled||this.ngZone.runOutsideAngular((function(){e.registerListeners()}))},e.prototype.registerListeners=function(){if(s.isDocumentAvailable()){this.removeListeners();var e=i.register(this.element.nativeElement,[{selector:".k-button:not(li)"},{selector:".k-list>.k-item",options:{global:!0}},{selector:".k-checkbox,.k-radio",options:{events:["focusin","animationend","click"]}}]);this.removeListeners=e}},n.__decorate([o.Input(),n.__metadata("design:type",Boolean),n.__metadata("design:paramtypes",[Boolean])],e.prototype,"disabled",null),n.__decorate([o.HostBinding("class.k-ripple-container"),n.__metadata("design:type",Boolean),n.__metadata("design:paramtypes",[])],e.prototype,"containerClass",null),e=n.__decorate([o.Directive({selector:"[kendoRippleContainer]"}),n.__metadata("design:paramtypes",[o.Renderer2,o.ElementRef,o.NgZone])],e)}();r.RippleContainerDirective=l},function(r,t){r.exports=e},function(e,t){e.exports=r},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(0);r.RippleContainerDirective=n.RippleContainerDirective;var o=t(8);r.RippleModule=o.RippleModule},function(e,r){e.exports=t},function(e,r){e.exports=n},function(e,r){e.exports=o},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.packageMetadata={name:"@progress/kendo-angular-ripple",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642577896,version:"",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"}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(1),o=t(2),i=[t(0).RippleContainerDirective],s=function(){function e(){}return e=n.__decorate([o.NgModule({declarations:[i],exports:[i]})],e)}();r.RippleModule=s}])}));
@@ -1,15 +0,0 @@
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
- * @hidden
7
- */
8
- export var packageMetadata = {
9
- name: '@progress/kendo-angular-ripple',
10
- productName: 'Kendo UI for Angular',
11
- productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1642577896,
13
- version: '',
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
- };
@@ -1,108 +0,0 @@
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
- import * as tslib_1 from "tslib";
6
- import { ElementRef, HostBinding, Directive, Renderer2, Input, NgZone } from '@angular/core';
7
- import { register } from '@progress/kendo-ripple';
8
- import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
- import { validatePackage } from '@progress/kendo-licensing';
10
- import { packageMetadata } from './package-metadata';
11
- /**
12
- * Represents the Ripple container component.
13
- *
14
- * You can apply this directive to any container element.
15
- * The ripple effect will show on the following elements:
16
- * - Buttons
17
- * - Checkboxes
18
- * - Radio buttons
19
- *
20
- * @example
21
- * ```ts-no-run
22
- * <div kendoRippleContainer>
23
- * <button kendoButton>Default Button</button>
24
- *
25
- * <button kendoButton [primary]="true">Primary Button</button>
26
- * </div>
27
- * ```
28
- */
29
- var RippleContainerDirective = /** @class */ (function () {
30
- function RippleContainerDirective(renderer, element, ngZone) {
31
- this.renderer = renderer;
32
- this.element = element;
33
- this.ngZone = ngZone;
34
- this.isDisabled = false;
35
- this.removeListeners = function () { };
36
- validatePackage(packageMetadata);
37
- }
38
- Object.defineProperty(RippleContainerDirective.prototype, "disabled", {
39
- /**
40
- * Provides an option to disable the ripple effect of the `kendoRippleContainer` element.
41
- * By default, `disabled` is set to `false`.
42
- */
43
- set: function (disabled) {
44
- this.isDisabled = disabled;
45
- if (this.isDisabled) {
46
- this.removeListeners();
47
- }
48
- else {
49
- this.registerListeners();
50
- }
51
- this.renderer.setProperty(this.element.nativeElement, 'disabled', disabled);
52
- },
53
- enumerable: true,
54
- configurable: true
55
- });
56
- Object.defineProperty(RippleContainerDirective.prototype, "containerClass", {
57
- get: function () {
58
- return true;
59
- },
60
- enumerable: true,
61
- configurable: true
62
- });
63
- RippleContainerDirective.prototype.ngOnDestroy = function () {
64
- this.removeListeners();
65
- };
66
- RippleContainerDirective.prototype.ngAfterViewInit = function () {
67
- var _this = this;
68
- if (!this.isDisabled) {
69
- this.ngZone.runOutsideAngular(function () {
70
- _this.registerListeners();
71
- });
72
- }
73
- };
74
- RippleContainerDirective.prototype.registerListeners = function () {
75
- if (!isDocumentAvailable()) {
76
- return;
77
- }
78
- this.removeListeners();
79
- var callback = register(this.element.nativeElement, [
80
- { selector: ".k-button:not(li)" },
81
- { selector: ".k-list>.k-item", options: { global: true } },
82
- { selector: ".k-checkbox,.k-radio",
83
- options: {
84
- events: ["focusin", "animationend", "click"]
85
- }
86
- }
87
- ]);
88
- this.removeListeners = callback;
89
- };
90
- tslib_1.__decorate([
91
- Input(),
92
- tslib_1.__metadata("design:type", Boolean),
93
- tslib_1.__metadata("design:paramtypes", [Boolean])
94
- ], RippleContainerDirective.prototype, "disabled", null);
95
- tslib_1.__decorate([
96
- HostBinding('class.k-ripple-container'),
97
- tslib_1.__metadata("design:type", Boolean),
98
- tslib_1.__metadata("design:paramtypes", [])
99
- ], RippleContainerDirective.prototype, "containerClass", null);
100
- RippleContainerDirective = tslib_1.__decorate([
101
- Directive({
102
- selector: '[kendoRippleContainer]'
103
- }),
104
- tslib_1.__metadata("design:paramtypes", [Renderer2, ElementRef, NgZone])
105
- ], RippleContainerDirective);
106
- return RippleContainerDirective;
107
- }());
108
- export { RippleContainerDirective };
@@ -1,51 +0,0 @@
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
- import * as tslib_1 from "tslib";
6
- import { NgModule } from '@angular/core';
7
- import { RippleContainerDirective } from './ripple-container.directive';
8
- var COMPONENT_DIRECTIVES = [RippleContainerDirective];
9
- /**
10
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
11
- * definition for the Ripple directive.
12
- *
13
- * @example
14
- *
15
- * ```ts-no-run
16
- * // Import the Ripple module
17
- * import { RippleModule } from '@progress/kendo-angular-ripple';
18
- *
19
- * // The browser platform with a compiler
20
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
21
- *
22
- * import { NgModule } from '@angular/core';
23
- *
24
- * // Import the app component
25
- * import { AppComponent } from './app.component';
26
- *
27
- * // Define the app module
28
- * _@NgModule({
29
- * declarations: [AppComponent], // declare app component
30
- * imports: [BrowserModule, RippleModule], // import Ripple module
31
- * bootstrap: [AppComponent]
32
- * })
33
- * export class AppModule {}
34
- *
35
- * // Compile and launch the module
36
- * platformBrowserDynamic().bootstrapModule(AppModule);
37
- *
38
- * ```
39
- */
40
- var RippleModule = /** @class */ (function () {
41
- function RippleModule() {
42
- }
43
- RippleModule = tslib_1.__decorate([
44
- NgModule({
45
- declarations: [COMPONENT_DIRECTIVES],
46
- exports: [COMPONENT_DIRECTIVES]
47
- })
48
- ], RippleModule);
49
- return RippleModule;
50
- }());
51
- export { RippleModule };
@@ -1,8 +0,0 @@
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
- export * from './main';
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"RippleContainerDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":24,"character":1},"arguments":[{"selector":"[kendoRippleContainer]"}]}],"members":{"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":46,"character":3},"arguments":["class.k-ripple-container"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":51,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":51,"character":60},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":51,"character":88}]}],"ngOnDestroy":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"registerListeners":[{"__symbolic":"method"}]}},"RippleModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":36,"character":1},"arguments":[{"declarations":[[{"__symbolic":"reference","name":"RippleContainerDirective"}]],"exports":[[{"__symbolic":"reference","name":"RippleContainerDirective"}]]}]}],"members":{}}},"origins":{"RippleContainerDirective":"./ripple-container.directive","RippleModule":"./ripple.module"},"importAs":"@progress/kendo-angular-ripple"}
@@ -1,6 +0,0 @@
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
- export { RippleContainerDirective } from './ripple-container.directive';
6
- export { RippleModule } from './ripple.module';
@@ -1,169 +0,0 @@
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
- import { __decorate, __metadata } from 'tslib';
6
- import { Input, HostBinding, Directive, Renderer2, ElementRef, NgZone, NgModule } from '@angular/core';
7
- import { register } from '@progress/kendo-ripple';
8
- import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
- import { validatePackage } from '@progress/kendo-licensing';
10
-
11
- /**
12
- * @hidden
13
- */
14
- var packageMetadata = {
15
- name: '@progress/kendo-angular-ripple',
16
- productName: 'Kendo UI for Angular',
17
- productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
18
- publishDate: 1642577896,
19
- version: '',
20
- 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'
21
- };
22
-
23
- /**
24
- * Represents the Ripple container component.
25
- *
26
- * You can apply this directive to any container element.
27
- * The ripple effect will show on the following elements:
28
- * - Buttons
29
- * - Checkboxes
30
- * - Radio buttons
31
- *
32
- * @example
33
- * ```ts-no-run
34
- * <div kendoRippleContainer>
35
- * <button kendoButton>Default Button</button>
36
- *
37
- * <button kendoButton [primary]="true">Primary Button</button>
38
- * </div>
39
- * ```
40
- */
41
- var RippleContainerDirective = /** @class */ (function () {
42
- function RippleContainerDirective(renderer, element, ngZone) {
43
- this.renderer = renderer;
44
- this.element = element;
45
- this.ngZone = ngZone;
46
- this.isDisabled = false;
47
- this.removeListeners = function () { };
48
- validatePackage(packageMetadata);
49
- }
50
- Object.defineProperty(RippleContainerDirective.prototype, "disabled", {
51
- /**
52
- * Provides an option to disable the ripple effect of the `kendoRippleContainer` element.
53
- * By default, `disabled` is set to `false`.
54
- */
55
- set: function (disabled) {
56
- this.isDisabled = disabled;
57
- if (this.isDisabled) {
58
- this.removeListeners();
59
- }
60
- else {
61
- this.registerListeners();
62
- }
63
- this.renderer.setProperty(this.element.nativeElement, 'disabled', disabled);
64
- },
65
- enumerable: true,
66
- configurable: true
67
- });
68
- Object.defineProperty(RippleContainerDirective.prototype, "containerClass", {
69
- get: function () {
70
- return true;
71
- },
72
- enumerable: true,
73
- configurable: true
74
- });
75
- RippleContainerDirective.prototype.ngOnDestroy = function () {
76
- this.removeListeners();
77
- };
78
- RippleContainerDirective.prototype.ngAfterViewInit = function () {
79
- var _this = this;
80
- if (!this.isDisabled) {
81
- this.ngZone.runOutsideAngular(function () {
82
- _this.registerListeners();
83
- });
84
- }
85
- };
86
- RippleContainerDirective.prototype.registerListeners = function () {
87
- if (!isDocumentAvailable()) {
88
- return;
89
- }
90
- this.removeListeners();
91
- var callback = register(this.element.nativeElement, [
92
- { selector: ".k-button:not(li)" },
93
- { selector: ".k-list>.k-item", options: { global: true } },
94
- { selector: ".k-checkbox,.k-radio",
95
- options: {
96
- events: ["focusin", "animationend", "click"]
97
- }
98
- }
99
- ]);
100
- this.removeListeners = callback;
101
- };
102
- __decorate([
103
- Input(),
104
- __metadata("design:type", Boolean),
105
- __metadata("design:paramtypes", [Boolean])
106
- ], RippleContainerDirective.prototype, "disabled", null);
107
- __decorate([
108
- HostBinding('class.k-ripple-container'),
109
- __metadata("design:type", Boolean),
110
- __metadata("design:paramtypes", [])
111
- ], RippleContainerDirective.prototype, "containerClass", null);
112
- RippleContainerDirective = __decorate([
113
- Directive({
114
- selector: '[kendoRippleContainer]'
115
- }),
116
- __metadata("design:paramtypes", [Renderer2, ElementRef, NgZone])
117
- ], RippleContainerDirective);
118
- return RippleContainerDirective;
119
- }());
120
-
121
- var COMPONENT_DIRECTIVES = [RippleContainerDirective];
122
- /**
123
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
124
- * definition for the Ripple directive.
125
- *
126
- * @example
127
- *
128
- * ```ts-no-run
129
- * // Import the Ripple module
130
- * import { RippleModule } from '@progress/kendo-angular-ripple';
131
- *
132
- * // The browser platform with a compiler
133
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
134
- *
135
- * import { NgModule } from '@angular/core';
136
- *
137
- * // Import the app component
138
- * import { AppComponent } from './app.component';
139
- *
140
- * // Define the app module
141
- * _@NgModule({
142
- * declarations: [AppComponent], // declare app component
143
- * imports: [BrowserModule, RippleModule], // import Ripple module
144
- * bootstrap: [AppComponent]
145
- * })
146
- * export class AppModule {}
147
- *
148
- * // Compile and launch the module
149
- * platformBrowserDynamic().bootstrapModule(AppModule);
150
- *
151
- * ```
152
- */
153
- var RippleModule = /** @class */ (function () {
154
- function RippleModule() {
155
- }
156
- RippleModule = __decorate([
157
- NgModule({
158
- declarations: [COMPONENT_DIRECTIVES],
159
- exports: [COMPONENT_DIRECTIVES]
160
- })
161
- ], RippleModule);
162
- return RippleModule;
163
- }());
164
-
165
- /**
166
- * Generated bundle index. Do not edit.
167
- */
168
-
169
- export { RippleContainerDirective, RippleModule };
package/dist/npm/index.js DELETED
@@ -1,11 +0,0 @@
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
- "use strict";
6
- /**
7
- * Generated bundle index. Do not edit.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- var tslib_1 = require("tslib");
11
- tslib_1.__exportStar(require("./main"), exports);
package/dist/npm/main.js DELETED
@@ -1,10 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var ripple_container_directive_1 = require("./ripple-container.directive");
8
- exports.RippleContainerDirective = ripple_container_directive_1.RippleContainerDirective;
9
- var ripple_module_1 = require("./ripple.module");
10
- exports.RippleModule = ripple_module_1.RippleModule;
@@ -1,17 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- /**
8
- * @hidden
9
- */
10
- exports.packageMetadata = {
11
- name: '@progress/kendo-angular-ripple',
12
- productName: 'Kendo UI for Angular',
13
- productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1642577896,
15
- version: '',
16
- 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'
17
- };
@@ -1,110 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
- var core_1 = require("@angular/core");
9
- var kendo_ripple_1 = require("@progress/kendo-ripple");
10
- var kendo_angular_common_1 = require("@progress/kendo-angular-common");
11
- var kendo_licensing_1 = require("@progress/kendo-licensing");
12
- var package_metadata_1 = require("./package-metadata");
13
- /**
14
- * Represents the Ripple container component.
15
- *
16
- * You can apply this directive to any container element.
17
- * The ripple effect will show on the following elements:
18
- * - Buttons
19
- * - Checkboxes
20
- * - Radio buttons
21
- *
22
- * @example
23
- * ```ts-no-run
24
- * <div kendoRippleContainer>
25
- * <button kendoButton>Default Button</button>
26
- *
27
- * <button kendoButton [primary]="true">Primary Button</button>
28
- * </div>
29
- * ```
30
- */
31
- var RippleContainerDirective = /** @class */ (function () {
32
- function RippleContainerDirective(renderer, element, ngZone) {
33
- this.renderer = renderer;
34
- this.element = element;
35
- this.ngZone = ngZone;
36
- this.isDisabled = false;
37
- this.removeListeners = function () { };
38
- kendo_licensing_1.validatePackage(package_metadata_1.packageMetadata);
39
- }
40
- Object.defineProperty(RippleContainerDirective.prototype, "disabled", {
41
- /**
42
- * Provides an option to disable the ripple effect of the `kendoRippleContainer` element.
43
- * By default, `disabled` is set to `false`.
44
- */
45
- set: function (disabled) {
46
- this.isDisabled = disabled;
47
- if (this.isDisabled) {
48
- this.removeListeners();
49
- }
50
- else {
51
- this.registerListeners();
52
- }
53
- this.renderer.setProperty(this.element.nativeElement, 'disabled', disabled);
54
- },
55
- enumerable: true,
56
- configurable: true
57
- });
58
- Object.defineProperty(RippleContainerDirective.prototype, "containerClass", {
59
- get: function () {
60
- return true;
61
- },
62
- enumerable: true,
63
- configurable: true
64
- });
65
- RippleContainerDirective.prototype.ngOnDestroy = function () {
66
- this.removeListeners();
67
- };
68
- RippleContainerDirective.prototype.ngAfterViewInit = function () {
69
- var _this = this;
70
- if (!this.isDisabled) {
71
- this.ngZone.runOutsideAngular(function () {
72
- _this.registerListeners();
73
- });
74
- }
75
- };
76
- RippleContainerDirective.prototype.registerListeners = function () {
77
- if (!kendo_angular_common_1.isDocumentAvailable()) {
78
- return;
79
- }
80
- this.removeListeners();
81
- var callback = kendo_ripple_1.register(this.element.nativeElement, [
82
- { selector: ".k-button:not(li)" },
83
- { selector: ".k-list>.k-item", options: { global: true } },
84
- { selector: ".k-checkbox,.k-radio",
85
- options: {
86
- events: ["focusin", "animationend", "click"]
87
- }
88
- }
89
- ]);
90
- this.removeListeners = callback;
91
- };
92
- tslib_1.__decorate([
93
- core_1.Input(),
94
- tslib_1.__metadata("design:type", Boolean),
95
- tslib_1.__metadata("design:paramtypes", [Boolean])
96
- ], RippleContainerDirective.prototype, "disabled", null);
97
- tslib_1.__decorate([
98
- core_1.HostBinding('class.k-ripple-container'),
99
- tslib_1.__metadata("design:type", Boolean),
100
- tslib_1.__metadata("design:paramtypes", [])
101
- ], RippleContainerDirective.prototype, "containerClass", null);
102
- RippleContainerDirective = tslib_1.__decorate([
103
- core_1.Directive({
104
- selector: '[kendoRippleContainer]'
105
- }),
106
- tslib_1.__metadata("design:paramtypes", [core_1.Renderer2, core_1.ElementRef, core_1.NgZone])
107
- ], RippleContainerDirective);
108
- return RippleContainerDirective;
109
- }());
110
- exports.RippleContainerDirective = RippleContainerDirective;
@@ -1,53 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
- var core_1 = require("@angular/core");
9
- var ripple_container_directive_1 = require("./ripple-container.directive");
10
- var COMPONENT_DIRECTIVES = [ripple_container_directive_1.RippleContainerDirective];
11
- /**
12
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
13
- * definition for the Ripple directive.
14
- *
15
- * @example
16
- *
17
- * ```ts-no-run
18
- * // Import the Ripple module
19
- * import { RippleModule } from '@progress/kendo-angular-ripple';
20
- *
21
- * // The browser platform with a compiler
22
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
23
- *
24
- * import { NgModule } from '@angular/core';
25
- *
26
- * // Import the app component
27
- * import { AppComponent } from './app.component';
28
- *
29
- * // Define the app module
30
- * _@NgModule({
31
- * declarations: [AppComponent], // declare app component
32
- * imports: [BrowserModule, RippleModule], // import Ripple module
33
- * bootstrap: [AppComponent]
34
- * })
35
- * export class AppModule {}
36
- *
37
- * // Compile and launch the module
38
- * platformBrowserDynamic().bootstrapModule(AppModule);
39
- *
40
- * ```
41
- */
42
- var RippleModule = /** @class */ (function () {
43
- function RippleModule() {
44
- }
45
- RippleModule = tslib_1.__decorate([
46
- core_1.NgModule({
47
- declarations: [COMPONENT_DIRECTIVES],
48
- exports: [COMPONENT_DIRECTIVES]
49
- })
50
- ], RippleModule);
51
- return RippleModule;
52
- }());
53
- exports.RippleModule = RippleModule;
@@ -1,5 +0,0 @@
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
- System.register("@progress/kendo-angular-ripple",["tslib","@angular/core","@progress/kendo-ripple","@progress/kendo-angular-common","@progress/kendo-licensing"],function(o){var s,a,u,c,l;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){s=t(e)},function(e){a=t(e)},function(e){u=t(e)},function(e){c=t(e)},function(e){l=t(e)}],execute:function(){function r(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,i;i={},r.m=n=[function(e,t){e.exports=a},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(7),s=n(6),a=n(5),u=n(4),i=(Object.defineProperty(c.prototype,"disabled",{set:function(e){this.isDisabled=e,this.isDisabled?this.removeListeners():this.registerListeners(),this.renderer.setProperty(this.element.nativeElement,"disabled",e)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"containerClass",{get:function(){return!0},enumerable:!0,configurable:!0}),c.prototype.ngOnDestroy=function(){this.removeListeners()},c.prototype.ngAfterViewInit=function(){var e=this;this.isDisabled||this.ngZone.runOutsideAngular(function(){e.registerListeners()})},c.prototype.registerListeners=function(){var e;s.isDocumentAvailable()&&(this.removeListeners(),e=o.register(this.element.nativeElement,[{selector:".k-button:not(li)"},{selector:".k-list>.k-item",options:{global:!0}},{selector:".k-checkbox,.k-radio",options:{events:["focusin","animationend","click"]}}]),this.removeListeners=e)},r.__decorate([i.Input(),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[Boolean])],c.prototype,"disabled",null),r.__decorate([i.HostBinding("class.k-ripple-container"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],c.prototype,"containerClass",null),r.__decorate([i.Directive({selector:"[kendoRippleContainer]"}),r.__metadata("design:paramtypes",[i.Renderer2,i.ElementRef,i.NgZone])],c));function c(e,t,n){this.renderer=e,this.element=t,this.ngZone=n,this.isDisabled=!1,this.removeListeners=function(){},a.validatePackage(u.packageMetadata)}t.RippleContainerDirective=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),n=[n(2).RippleContainerDirective],n=r.__decorate([i.NgModule({declarations:[n],exports:[n]})],o);function o(){}t.RippleModule=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-ripple",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642577896,version:"",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"}},function(e,t){e.exports=l},function(e,t){e.exports=c},function(e,t){e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.RippleContainerDirective=r.RippleContainerDirective;n=n(3);t.RippleModule=n.RippleModule,function(e){for(var t in e)o(t,e[t])}(t)}],r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=8)}}});