@progress/kendo-angular-ripple 3.0.4 → 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.
- package/bundles/kendo-angular-ripple.umd.js +5 -0
- package/{dist/es/index.js → esm2015/kendo-angular-ripple.js} +0 -0
- package/{dist/es → esm2015}/main.js +0 -0
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/ripple-container.directive.js +17 -21
- package/{dist/es2015 → esm2015}/ripple.module.js +13 -10
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-ripple.js} +31 -29
- package/{dist/es2015/index.js → kendo-angular-ripple.d.ts} +1 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +32 -94
- package/{dist/es2015/ripple-container.directive.d.ts → ripple-container.directive.d.ts} +5 -2
- package/{dist/es2015/ripple.module.d.ts → ripple.module.d.ts} +5 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/dist/cdn/js/kendo-angular-ripple.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/ripple-container.directive.js +0 -108
- package/dist/es/ripple.module.js +0 -51
- package/dist/es2015/index.d.ts +0 -8
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/main.js +0 -6
- package/dist/fesm5/index.js +0 -169
- package/dist/npm/index.js +0 -11
- package/dist/npm/main.js +0 -10
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/ripple-container.directive.js +0 -110
- package/dist/npm/ripple.module.js +0 -53
- 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
|
|
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:
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
],
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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
|
-
|
|
41
|
-
}
|
|
42
|
-
RippleModule =
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
|
6
|
-
import {
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
],
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
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
|
-
|
|
144
|
-
}
|
|
145
|
-
RippleModule =
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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
|
+
|
|
File without changes
|
|
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
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"jsdelivr": "dist/cdn/main.js",
|
|
15
|
-
"unpkg": "dist/cdn/main.js",
|
|
16
|
-
"sideEffects": false,
|
|
17
|
-
"scripts": {
|
|
18
|
-
"test": "jest",
|
|
19
|
-
"test:watch": "jest --watch",
|
|
20
|
-
"test:ci": "ci-angular-test",
|
|
21
|
-
"start": "gulp start",
|
|
22
|
-
"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
|
-
"
|
|
35
|
-
"
|
|
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": "^
|
|
26
|
+
"@progress/kendo-schematics": "^3.0.0",
|
|
43
27
|
"@progress/kendo-ripple": "^1.0.1",
|
|
44
|
-
"tslib": "^
|
|
28
|
+
"tslib": "^2.3.1"
|
|
45
29
|
},
|
|
46
|
-
"
|
|
47
|
-
"@angular
|
|
48
|
-
"@angular
|
|
49
|
-
"@angular
|
|
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": "cdn-bundle-v18",
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
142
|
-
"
|
|
143
|
-
|
|
144
|
-
|
|
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
|
-
|
|
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,
|
|
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("@progress/kendo-angular-common"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define([,,],t):"object"==typeof exports?exports.KendoAngularRipple=t(require("@angular/core"),require("@progress/kendo-angular-common"),require("@progress/kendo-licensing")):e.KendoAngularRipple=t(e.ng.core,e.KendoAngularCommon,e.KendoLicensing)}(window,(function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=3)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(2),i=n(8),a=n(4),u=n(5),c=n(6),s=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(a.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}},r.__decorate([o.Input(),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[Boolean])],e.prototype,"disabled",null),r.__decorate([o.HostBinding("class.k-ripple-container"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"containerClass",null),e=r.__decorate([o.Directive({selector:"[kendoRippleContainer]"}),r.__metadata("design:paramtypes",[o.Renderer2,o.ElementRef,o.NgZone])],e)}();t.RippleContainerDirective=s},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return i})),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return u})),n.d(t,"__param",(function(){return c})),n.d(t,"__metadata",(function(){return s})),n.d(t,"__awaiter",(function(){return l})),n.d(t,"__generator",(function(){return f})),n.d(t,"__createBinding",(function(){return p})),n.d(t,"__exportStar",(function(){return d})),n.d(t,"__values",(function(){return y})),n.d(t,"__read",(function(){return v})),n.d(t,"__spread",(function(){return m})),n.d(t,"__spreadArrays",(function(){return h})),n.d(t,"__await",(function(){return b})),n.d(t,"__asyncGenerator",(function(){return g})),n.d(t,"__asyncDelegator",(function(){return _})),n.d(t,"__asyncValues",(function(){return w})),n.d(t,"__makeTemplateObject",(function(){return O})),n.d(t,"__importStar",(function(){return k})),n.d(t,"__importDefault",(function(){return x})),n.d(t,"__classPrivateFieldGet",(function(){return P})),n.d(t,"__classPrivateFieldSet",(function(){return j}));
|
|
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 o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function u(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,r){t(n,r,e)}}function s(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(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}c((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function p(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function d(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function y(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,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function h(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,u=i.length;a<u;a++,o++)r[o]=i[a];return r}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function g(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=o[e](t)).value instanceof b?Promise.resolve(n.value.v).then(c,s):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function c(e){u("next",e)}function s(e){u("throw",e)}function l(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[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,o){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(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,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(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 k(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 x(e){return e&&e.__esModule?e:{default:e}}function P(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function j(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(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.RippleContainerDirective=r.RippleContainerDirective;var o=n(7);t.RippleModule=o.RippleModule},function(e,n){e.exports=t},function(e,t){e.exports=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:1646219211,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),o=n(2),i=[n(0).RippleContainerDirective],a=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:[i],exports:[i]})],e)}();t.RippleModule=a},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)},o=function(){return e.addEventListener(t,r,!1)};return o(),{remove:o}},o=function(e,t){return function(n){var o,u=n.target,c=u.document||u.ownerDocument;if((o=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)&&o.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{o.classList.add("k-ripple-target");var s=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=s[0],f=s[1],p={animated:!1,released:!1,blob:f,container:o,ripple:l},d={focusin:"focusout",keydown:"keyup",mousedown:"mouseup",pointerdown:"pointerup",touchdown:"touchup",animationstart:"animationend"}[n.type];r(n.currentTarget,d,(function(){return a(p)})),o.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity");var y=o.getBoundingClientRect(),v=0,m=0;/mouse|pointer|touch/.test(n.type)?(v=n.clientX-y.left,m=n.clientY-y.top):(v=y.width/2,m=y.height/2);var h=v-(v<y.width/2?y.width:0),b=m-(m<y.height/2?y.height:0),g=2*Math.sqrt(h*h+b*b);if(f.style.width=f.style.height=g+"px",f.offsetWidth<0)throw new Error("Inconceivable!");f.style.cssText="\n width: "+g+"px;\n height: "+g+"px;\n transform: translate(-50%, -50%) scale(1);\n left: "+v+"px;\n top: "+m+"px;\n ",setTimeout((function(){return i(p)}),500)}}},i=function(e){e.animated=!0,u(e)},a=function(e){e.released=!0,u(e)},u=function(e){if(e.released&&e.animated){var t=e.blob,n=e.ripple,o=e.container;o&&r(o,"blur",(function(){return o.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,i=t.options,a=void 0===i?n:i,u=o(r,a),c=a.events||n.events,s=a.global?document.body:e;return c.forEach((function(e){return s.addEventListener(e,u,!1)})),{events:c,options:a,activator:u}})),[].concat.apply([],n));return function(){if(e){r.forEach((function(t){var n=t.events,r=t.options,o=t.activator,i=r.global?document.body:e;n.forEach((function(e){return i.removeEventListener(e,o,!1)}))})),e=null}}}}])}));
|
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,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core"),require("@progress/kendo-ripple"),require("@progress/kendo-angular-common"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define([,,,,],t):"object"==typeof exports?exports.KendoAngularRipple=t(require("tslib"),require("@angular/core"),require("@progress/kendo-ripple"),require("@progress/kendo-angular-common"),require("@progress/kendo-licensing")):e.KendoAngularRipple=t(e.self,e.ng.core,e.KendoRipple,e.KendoAngularCommon,e.KendoLicensing)}(window,(function(e,t,n,r,o){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=3)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(2),i=n(4),s=n(5),a=n(6),u=n(7),l=function(){function e(e,t,n){this.renderer=e,this.element=t,this.ngZone=n,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}},r.__decorate([o.Input(),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[Boolean])],e.prototype,"disabled",null),r.__decorate([o.HostBinding("class.k-ripple-container"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"containerClass",null),e=r.__decorate([o.Directive({selector:"[kendoRippleContainer]"}),r.__metadata("design:paramtypes",[o.Renderer2,o.ElementRef,o.NgZone])],e)}();t.RippleContainerDirective=l},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.RippleContainerDirective=r.RippleContainerDirective;var o=n(8);t.RippleModule=o.RippleModule},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t){e.exports=o},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:1646219211,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),o=n(2),i=[n(0).RippleContainerDirective],s=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:[i],exports:[i]})],e)}();t.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: 1646219211,
|
|
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 };
|
package/dist/es/ripple.module.js
DELETED
|
@@ -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 };
|
package/dist/es2015/index.d.ts
DELETED
|
@@ -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"}
|
package/dist/es2015/main.js
DELETED
|
@@ -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';
|
package/dist/fesm5/index.js
DELETED
|
@@ -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: 1646219211,
|
|
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: 1646219211,
|
|
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",["@progress/kendo-ripple","@angular/core","tslib","@progress/kendo-licensing","@progress/kendo-angular-common"],function(s){var o,a,u,l,c;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){a=t(e)},function(e){u=t(e)},function(e){l=t(e)},function(e){c=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;n=[function(e,t){e.exports=a},function(e,t){e.exports=u},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),n=(Object.defineProperty(l.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(l.prototype,"containerClass",{get:function(){return!0},enumerable:!0,configurable:!0}),l.prototype.ngOnDestroy=function(){this.removeListeners()},l.prototype.ngAfterViewInit=function(){var e=this;this.isDisabled||this.ngZone.runOutsideAngular(function(){e.registerListeners()})},l.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])],l.prototype,"disabled",null),r.__decorate([i.HostBinding("class.k-ripple-container"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],l.prototype,"containerClass",null),r.__decorate([i.Directive({selector:"[kendoRippleContainer]"}),r.__metadata("design:paramtypes",[i.Renderer2,i.ElementRef,i.NgZone])],l));function l(e,t,n){this.renderer=e,this.element=t,this.ngZone=n,this.isDisabled=!1,this.removeListeners=function(){},a.validatePackage(u.packageMetadata)}t.RippleContainerDirective=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),n=[n(2).RippleContainerDirective],r=r.__decorate([i.NgModule({declarations:[n],exports:[n]})],o);function o(){}t.RippleModule=r},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:1646219211,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=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(2),i=(t.RippleContainerDirective=i.RippleContainerDirective,n(3)),o=(t.RippleModule=i.RippleModule,t);for(r in o)s(r,o[r])}],i={},r.m=n,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)}}});
|