@progress/kendo-angular-indicators 1.1.2 → 2.0.0-next.202203110729
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/{dist/es2015/badge → badge}/badge-container.component.d.ts +3 -0
- package/{dist/es2015/badge → badge}/badge.component.d.ts +6 -2
- package/{dist/es2015/badge → badge}/models/align.d.ts +0 -0
- package/{dist/es2015/badge → badge}/models/fill.d.ts +0 -0
- package/{dist/es2015/badge → badge}/models/position.d.ts +0 -0
- package/{dist/es2015/badge → badge}/models/shape.d.ts +0 -0
- package/{dist/es2015/badge → badge}/models/size.d.ts +0 -0
- package/{dist/es2015/badge → badge}/models/theme-color.d.ts +0 -0
- package/badge.module.d.ts +17 -0
- package/bundles/kendo-angular-indicators.umd.js +5 -0
- package/esm2015/badge/badge-container.component.js +52 -0
- package/{dist/es2015 → esm2015}/badge/badge.component.js +50 -63
- package/{dist/es → esm2015}/badge/models/align.js +1 -0
- package/{dist/es2015 → esm2015}/badge/models/fill.js +1 -0
- package/{dist/es2015 → esm2015}/badge/models/position.js +1 -0
- package/{dist/es2015 → esm2015}/badge/models/shape.js +1 -0
- package/{dist/es → esm2015}/badge/models/size.js +1 -0
- package/{dist/es → esm2015}/badge/models/theme-color.js +1 -0
- package/esm2015/badge.module.js +35 -0
- package/{dist/es → esm2015}/indicators.module.js +20 -16
- package/{dist/es/index.js → esm2015/kendo-angular-indicators.js} +0 -1
- package/{dist/es2015 → esm2015}/loader/loader.component.js +27 -32
- package/{dist/es → esm2015}/loader/models/size.js +1 -0
- package/{dist/es → esm2015}/loader/models/theme-color.js +1 -0
- package/{dist/es → esm2015}/loader/models/type.js +1 -0
- package/esm2015/loader.module.js +31 -0
- package/{dist/es → esm2015}/main.js +1 -0
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/skeleton/constants.js +0 -0
- package/{dist/es2015 → esm2015}/skeleton/models.js +0 -0
- package/{dist/es2015 → esm2015}/skeleton/skeleton.component.js +22 -33
- package/esm2015/skeleton.module.js +25 -0
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-indicators.js} +206 -203
- package/{dist/es2015/indicators.module.d.ts → indicators.module.d.ts} +7 -0
- package/{dist/es2015/index.d.ts → kendo-angular-indicators.d.ts} +1 -1
- package/{dist/es2015/loader → loader}/loader.component.d.ts +10 -4
- package/{dist/es2015/loader → loader}/models/size.d.ts +0 -0
- package/{dist/es2015/loader → loader}/models/theme-color.d.ts +0 -0
- package/{dist/es2015/loader → loader}/models/type.d.ts +0 -0
- package/{dist/es2015/loader.module.d.ts → loader.module.d.ts} +6 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +1 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +30 -98
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/skeleton → skeleton}/constants.d.ts +0 -0
- package/{dist/es2015/skeleton → skeleton}/models.d.ts +0 -0
- package/{dist/es2015/skeleton → skeleton}/skeleton.component.d.ts +9 -4
- package/{dist/es2015/skeleton.module.d.ts → skeleton.module.d.ts} +6 -0
- package/dist/cdn/js/kendo-angular-indicators.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/badge/badge-container.component.js +0 -49
- package/dist/es/badge/badge.component.js +0 -241
- package/dist/es/badge/models/fill.js +0 -4
- package/dist/es/badge/models/position.js +0 -4
- package/dist/es/badge/models/shape.js +0 -4
- package/dist/es/badge.module.js +0 -31
- package/dist/es/loader/loader.component.js +0 -155
- package/dist/es/loader.module.js +0 -29
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/skeleton/constants.js +0 -28
- package/dist/es/skeleton/models.js +0 -12
- package/dist/es/skeleton/skeleton.component.js +0 -134
- package/dist/es/skeleton.module.js +0 -25
- package/dist/es2015/badge/badge-container.component.js +0 -46
- package/dist/es2015/badge/models/align.js +0 -4
- package/dist/es2015/badge/models/size.js +0 -4
- package/dist/es2015/badge/models/theme-color.js +0 -4
- package/dist/es2015/badge.module.d.ts +0 -10
- package/dist/es2015/badge.module.js +0 -30
- package/dist/es2015/index.js +0 -9
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/indicators.module.js +0 -52
- package/dist/es2015/loader/models/size.js +0 -4
- package/dist/es2015/loader/models/theme-color.js +0 -4
- package/dist/es2015/loader/models/type.js +0 -4
- package/dist/es2015/loader.module.js +0 -28
- package/dist/es2015/main.js +0 -11
- package/dist/es2015/skeleton.module.js +0 -22
- package/dist/fesm5/index.js +0 -713
- package/dist/npm/badge/badge-container.component.js +0 -51
- package/dist/npm/badge/badge.component.js +0 -243
- package/dist/npm/badge/models/align.js +0 -6
- package/dist/npm/badge/models/fill.js +0 -6
- package/dist/npm/badge/models/position.js +0 -6
- package/dist/npm/badge/models/shape.js +0 -6
- package/dist/npm/badge/models/size.js +0 -6
- package/dist/npm/badge/models/theme-color.js +0 -6
- package/dist/npm/badge.module.js +0 -33
- package/dist/npm/index.js +0 -13
- package/dist/npm/indicators.module.js +0 -57
- package/dist/npm/loader/loader.component.js +0 -157
- package/dist/npm/loader/models/size.js +0 -6
- package/dist/npm/loader/models/theme-color.js +0 -6
- package/dist/npm/loader/models/type.js +0 -6
- package/dist/npm/loader.module.js +0 -31
- package/dist/npm/main.js +0 -20
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/skeleton/constants.js +0 -30
- package/dist/npm/skeleton/models.js +0 -14
- package/dist/npm/skeleton/skeleton.component.js +0 -136
- package/dist/npm/skeleton.module.js +0 -27
- package/dist/systemjs/kendo-angular-indicators.js +0 -5
|
@@ -6,6 +6,7 @@ import { ElementRef, Renderer2, AfterViewInit } from '@angular/core';
|
|
|
6
6
|
import { LoaderType } from './models/type';
|
|
7
7
|
import { LoaderThemeColor } from './models/theme-color';
|
|
8
8
|
import { LoaderSize } from './models/size';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* Represents the [Kendo UI Loader component for Angular]({% slug overview_loader %}).
|
|
11
12
|
* Displays a Loader that represents an indeterminate wait time.
|
|
@@ -22,7 +23,8 @@ export declare class LoaderComponent implements AfterViewInit {
|
|
|
22
23
|
* - `infinite-spinner`
|
|
23
24
|
* - `converging-spinner`
|
|
24
25
|
*/
|
|
25
|
-
type: LoaderType;
|
|
26
|
+
set type(type: LoaderType);
|
|
27
|
+
get type(): LoaderType;
|
|
26
28
|
/**
|
|
27
29
|
* Specifies the theme color of the Loader.
|
|
28
30
|
*
|
|
@@ -39,7 +41,8 @@ export declare class LoaderComponent implements AfterViewInit {
|
|
|
39
41
|
* * `inverse`— Applies coloring based on inverted theme color.
|
|
40
42
|
*
|
|
41
43
|
*/
|
|
42
|
-
themeColor: LoaderThemeColor;
|
|
44
|
+
set themeColor(themeColor: LoaderThemeColor);
|
|
45
|
+
get themeColor(): LoaderThemeColor;
|
|
43
46
|
/**
|
|
44
47
|
* Specifies the size of the Loader.
|
|
45
48
|
*
|
|
@@ -49,7 +52,8 @@ export declare class LoaderComponent implements AfterViewInit {
|
|
|
49
52
|
* * `large`
|
|
50
53
|
*
|
|
51
54
|
*/
|
|
52
|
-
size: LoaderSize;
|
|
55
|
+
set size(size: LoaderSize);
|
|
56
|
+
get size(): LoaderSize;
|
|
53
57
|
private _type;
|
|
54
58
|
private _themeColor;
|
|
55
59
|
private _size;
|
|
@@ -59,6 +63,8 @@ export declare class LoaderComponent implements AfterViewInit {
|
|
|
59
63
|
/**
|
|
60
64
|
* @hidden
|
|
61
65
|
*/
|
|
62
|
-
|
|
66
|
+
get segmentCount(): Array<any>;
|
|
63
67
|
private setLoaderClasses;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "kendo-loader", never, { "type": "type"; "themeColor": "themeColor"; "size": "size"; }, {}, never, never>;
|
|
64
70
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,9 +2,15 @@
|
|
|
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 "./loader/loader.component";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
5
8
|
/**
|
|
6
9
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
7
10
|
* definition for the Loader component.
|
|
8
11
|
*/
|
|
9
12
|
export declare class LoaderModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LoaderModule, [typeof i1.LoaderComponent], [typeof i2.CommonModule], [typeof i1.LoaderComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LoaderModule>;
|
|
10
16
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { BadgeComponent } from './badge/badge.component';
|
|
6
|
+
export { BadgeModule } from './badge.module';
|
|
6
7
|
export { BadgeContainerComponent } from './badge/badge-container.component';
|
|
7
8
|
export { BadgeAlign } from './badge/models/align';
|
|
8
9
|
export { BadgeSize } from './badge/models/size';
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,95 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-indicators",
|
|
3
|
+
"version": "2.0.0-next.202203110729",
|
|
3
4
|
"description": "Kendo UI Indicators 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
|
-
"e2e:ci": "ci-angular-e2e",
|
|
22
|
-
"start": "gulp start",
|
|
23
|
-
"lint": "gulp lint && gulp lint-docs",
|
|
24
|
-
"api-check": "gulp api-check",
|
|
25
|
-
"build-package": "gulp build-package",
|
|
26
|
-
"semantic-release": "semantic-release pre && semantic-prerelease publish --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-indicators.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/telerik/kendo-angular"
|
|
27
14
|
},
|
|
28
15
|
"keywords": [
|
|
29
|
-
"
|
|
30
|
-
"
|
|
16
|
+
"Angular",
|
|
17
|
+
"Kendo UI"
|
|
31
18
|
],
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"@angular/core": "8 - 13",
|
|
35
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
36
|
-
"@progress/kendo-angular-intl": "^3.0.0",
|
|
37
|
-
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
38
|
-
"@progress/kendo-licensing": "^1.0.2",
|
|
39
|
-
"rxjs": "^6.4.0 || ^7.0.0"
|
|
19
|
+
"@progress": {
|
|
20
|
+
"friendlyName": "Indicators"
|
|
40
21
|
},
|
|
41
22
|
"dependencies": {
|
|
42
23
|
"@progress/kendo-schematics": "^2.0.0",
|
|
43
|
-
"tslib": "^
|
|
24
|
+
"tslib": "^2.3.1"
|
|
44
25
|
},
|
|
45
|
-
"
|
|
46
|
-
"@angular
|
|
47
|
-
"@angular
|
|
48
|
-
"@angular/animations": "^8.2.0",
|
|
49
|
-
"@angular/common": "^8.2.0",
|
|
50
|
-
"@angular/compiler": "^8.2.0",
|
|
51
|
-
"@angular/compiler-cli": "^8.2.0",
|
|
52
|
-
"@angular/core": "^8.2.0",
|
|
53
|
-
"@angular/forms": "^8.2.0",
|
|
54
|
-
"@angular/platform-browser": "^8.2.0",
|
|
55
|
-
"@angular/platform-browser-dynamic": "^8.2.0",
|
|
56
|
-
"@angular/platform-server": "^8.2.0",
|
|
57
|
-
"@angular/router": "^8.2.0",
|
|
58
|
-
"@progress/kendo-angular-buttons": "^6.0.0",
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@angular/common": "^12.0.0 || ^13.0.0",
|
|
28
|
+
"@angular/core": "^12.0.0 || ^13.0.0",
|
|
59
29
|
"@progress/kendo-angular-common": "^2.0.0",
|
|
60
|
-
"@progress/kendo-angular-e2e": "^2.2.0",
|
|
61
|
-
"@progress/kendo-angular-inputs": "^7.0.0",
|
|
62
|
-
"@progress/kendo-angular-icons": "^0.4.0",
|
|
63
30
|
"@progress/kendo-angular-intl": "^3.0.0",
|
|
64
|
-
"@progress/kendo-angular-jest-preset": "^2.0.0",
|
|
65
31
|
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
66
|
-
"@progress/kendo-angular-layout": "^6.0.0",
|
|
67
|
-
"@progress/kendo-angular-progressbar": "^2.0.0",
|
|
68
|
-
"@progress/kendo-angular-popup": "^4.0.0",
|
|
69
|
-
"@progress/kendo-angular-tasks": "^18.0.2",
|
|
70
32
|
"@progress/kendo-licensing": "^1.0.2",
|
|
71
|
-
"
|
|
72
|
-
"@progress/kendo-theme-bootstrap": "^5.0.0",
|
|
73
|
-
"@progress/kendo-theme-default": "^5.0.0",
|
|
74
|
-
"@progress/kendo-theme-material": "^5.0.0",
|
|
75
|
-
"@telerik/semantic-prerelease": "^1.0.0",
|
|
76
|
-
"@types/jest": "^21.1.8",
|
|
77
|
-
"@types/node": "ts3.4",
|
|
78
|
-
"@types/zone.js": "0.0.27",
|
|
79
|
-
"codelyzer": "^5.0.0",
|
|
80
|
-
"core-js": "^2.2.2",
|
|
81
|
-
"cz-conventional-changelog": "^1.1.5",
|
|
82
|
-
"ghooks": "^1.0.3",
|
|
83
|
-
"gulp": "^4.0.0",
|
|
84
|
-
"jest-cli": "^21.2.1",
|
|
85
|
-
"jest-junit": "^8.0.0",
|
|
86
|
-
"rxjs": "~6.4.0",
|
|
87
|
-
"rxjs-tslint-rules": "^4.23.1",
|
|
88
|
-
"semantic-release": "^6.3.6",
|
|
89
|
-
"tslint": "^5.20.1",
|
|
90
|
-
"typescript": "~3.4.5",
|
|
91
|
-
"validate-commit-msg": "^1.1.1",
|
|
92
|
-
"zone.js": "~0.9.1"
|
|
33
|
+
"rxjs": "^6.5.3 || ^7.0.0"
|
|
93
34
|
},
|
|
94
35
|
"config": {
|
|
95
36
|
"commitizen": {
|
|
@@ -114,27 +55,16 @@
|
|
|
114
55
|
"maxSubjectLength": 100
|
|
115
56
|
}
|
|
116
57
|
},
|
|
117
|
-
"
|
|
118
|
-
"preset": "@progress/kendo-angular-jest-preset"
|
|
119
|
-
},
|
|
120
|
-
"repository": {
|
|
121
|
-
"type": "git",
|
|
122
|
-
"url": "https://github.com/telerik/kendo-angular-indicators.git"
|
|
123
|
-
},
|
|
124
|
-
"bugs": {
|
|
125
|
-
"url": "https://github.com/telerik/kendo-angular"
|
|
126
|
-
},
|
|
127
|
-
"@progress": {
|
|
128
|
-
"friendlyName": "Indicators"
|
|
129
|
-
},
|
|
130
|
-
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
|
58
|
+
"schematics": "./schematics/collection.json",
|
|
131
59
|
"release": {
|
|
132
60
|
"debug": false,
|
|
133
61
|
"branchTags": {
|
|
134
|
-
"develop": "dev"
|
|
62
|
+
"develop": "dev",
|
|
63
|
+
"ng12-update": "next"
|
|
135
64
|
},
|
|
136
65
|
"fallbackTags": {
|
|
137
|
-
"dev": "latest"
|
|
66
|
+
"dev": "latest",
|
|
67
|
+
"next": "latest"
|
|
138
68
|
},
|
|
139
69
|
"analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
|
|
140
70
|
"generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
|
|
@@ -142,9 +72,11 @@
|
|
|
142
72
|
"verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
|
|
143
73
|
"verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
|
|
144
74
|
},
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
75
|
+
"main": "bundles/kendo-angular-indicators.umd.js",
|
|
76
|
+
"module": "fesm2015/kendo-angular-indicators.js",
|
|
77
|
+
"es2015": "fesm2015/kendo-angular-indicators.js",
|
|
78
|
+
"esm2015": "esm2015/kendo-angular-indicators.js",
|
|
79
|
+
"fesm2015": "fesm2015/kendo-angular-indicators.js",
|
|
80
|
+
"typings": "kendo-angular-indicators.d.ts",
|
|
81
|
+
"sideEffects": false
|
|
150
82
|
}
|
|
@@ -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: 'IndicatorsModule', package: 'indicators' //package name, e.g grid
|
|
9
|
+
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'IndicatorsModule', package: 'indicators' //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,kBAAkB,EAChC,OAAO,EAAE,YAAY,CAAC,wBAAwB;OACjD,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Renderer2, ElementRef, AfterViewInit } from "@angular/core";
|
|
6
6
|
import { SkeletonAnimation, SkeletonShape } from "./models";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Represents the [Kendo UI Skeleton component for Angular]({% slug overview_skeleton %}).
|
|
9
10
|
* Displays a Skeleton that represents loading content.
|
|
@@ -19,7 +20,8 @@ export declare class SkeletonComponent implements AfterViewInit {
|
|
|
19
20
|
* * `wave` — Shows a wave animation effect.
|
|
20
21
|
* * `false` — Disables the animation. Note that it's a boolean, not a string.
|
|
21
22
|
*/
|
|
22
|
-
animation: SkeletonAnimation;
|
|
23
|
+
set animation(animation: SkeletonAnimation);
|
|
24
|
+
get animation(): SkeletonAnimation;
|
|
23
25
|
/**
|
|
24
26
|
* Specifies the shape of the Skeleton.
|
|
25
27
|
*
|
|
@@ -28,14 +30,15 @@ export declare class SkeletonComponent implements AfterViewInit {
|
|
|
28
30
|
* * `circle` — Renders a circular Skeleton.
|
|
29
31
|
* * `rectangle` — Renders a rectangular Skeleton.
|
|
30
32
|
*/
|
|
31
|
-
shape: SkeletonShape;
|
|
33
|
+
set shape(shape: SkeletonShape);
|
|
34
|
+
get shape(): SkeletonShape;
|
|
32
35
|
/**
|
|
33
36
|
* Specifies the width of the Skeleton component.
|
|
34
37
|
* * Required for all Skeleton shapes.
|
|
35
38
|
* * Can be set to a string, e.g. '100px', '3em', '50%'.
|
|
36
39
|
* * Can be set to an integer number (will be read as width in pixels).
|
|
37
40
|
*/
|
|
38
|
-
width: string | number;
|
|
41
|
+
set width(width: string | number);
|
|
39
42
|
/**
|
|
40
43
|
* Specifies the height of the Skeleton component.
|
|
41
44
|
* * Required for 'circle' and 'rectangle' shapes.
|
|
@@ -43,9 +46,11 @@ export declare class SkeletonComponent implements AfterViewInit {
|
|
|
43
46
|
* * Can be set to a string, e.g. '100px', '3em', '50%'.
|
|
44
47
|
* * Can be set to an integer number (will be read as height in pixels).
|
|
45
48
|
*/
|
|
46
|
-
height: string | number;
|
|
49
|
+
set height(height: string | number);
|
|
47
50
|
private _animation;
|
|
48
51
|
private _shape;
|
|
49
52
|
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
50
53
|
ngAfterViewInit(): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonComponent, "kendo-skeleton", never, { "animation": "animation"; "shape": "shape"; "width": "width"; "height": "height"; }, {}, never, never>;
|
|
51
56
|
}
|
|
@@ -2,9 +2,15 @@
|
|
|
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 "./skeleton/skeleton.component";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
5
8
|
/**
|
|
6
9
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
7
10
|
* definition for the Skeleton component.
|
|
8
11
|
*/
|
|
9
12
|
export declare class SkeletonModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkeletonModule, [typeof i1.SkeletonComponent], [typeof i2.CommonModule], [typeof i1.SkeletonComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkeletonModule>;
|
|
10
16
|
}
|
|
@@ -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("@angular/common"),require("@progress/kendo-angular-l10n")):"function"==typeof define&&define.amd?define(["@angular/core","@angular/common","@progress/kendo-angular-l10n"],t):"object"==typeof exports?exports.KendoAngularIndicators=t(require("@angular/core"),require("@angular/common"),require("@progress/kendo-angular-l10n")):e.KendoAngularIndicators=t(e["@angular/core"],e["@angular/common"],e["@progress/kendo-angular-l10n"])}(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=13)}([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 s})),n.d(t,"__param",(function(){return u})),n.d(t,"__metadata",(function(){return l})),n.d(t,"__awaiter",(function(){return c})),n.d(t,"__generator",(function(){return d})),n.d(t,"__createBinding",(function(){return p})),n.d(t,"__exportStar",(function(){return f})),n.d(t,"__values",(function(){return g})),n.d(t,"__read",(function(){return h})),n.d(t,"__spread",(function(){return m})),n.d(t,"__spreadArrays",(function(){return y})),n.d(t,"__await",(function(){return _})),n.d(t,"__asyncGenerator",(function(){return v})),n.d(t,"__asyncDelegator",(function(){return b})),n.d(t,"__asyncValues",(function(){return x})),n.d(t,"__makeTemplateObject",(function(){return C})),n.d(t,"__importStar",(function(){return S})),n.d(t,"__importDefault",(function(){return w})),n.d(t,"__classPrivateFieldGet",(function(){return O})),n.d(t,"__classPrivateFieldSet",(function(){return k}));
|
|
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 s(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 s=e.length-1;s>=0;s--)(o=e[s])&&(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 u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function d(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:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){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,s])}}}function p(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function f(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function g(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 h(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(h(arguments[t]));return e}function y(){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,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function v(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||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof _?Promise.resolve(n.value.v).then(u,l):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function b(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:_(e[r](t)),done:"return"===r}:o?o(t):t}:o}}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=g(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 C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(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 w(e){return e&&e.__esModule?e:{default:e}}function O(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function k(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,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(4),a=n(5),s=n(6),u={small:"k-badge-sm",medium:"k-badge-md",large:"k-badge-lg"},l=function(){function e(e,t,n){var r=this;this.element=e,this.renderer=t,this.localizationService=n,this.hostClass=!0,this.size="medium",this.fill="solid",this.themeColor="primary",this.shape="circle",this.position="edge",this.cutoutBorder=!1,this.badgeClasses=[],this.badgeAlign={vertical:"top",horizontal:"end"},this.rtl=!1,a.validatePackage(s.packageMetadata),this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var t=e.rtl;r.rtl=t,r.direction=r.rtl?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"cutoutBorderClass",{get:function(){return this.cutoutBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.badgeAlign},set:function(e){this.badgeAlign=Object.assign(this.badgeAlign,e)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.badgeClasses.length||this.setBadgeClasses()},e.prototype.ngOnChanges=function(){this.setBadgeClasses()},e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},e.prototype.alignClass=function(){return"k-"+this.badgeAlign.vertical+"-"+this.badgeAlign.horizontal},e.prototype.positionClass=function(){return"k-badge-"+this.position},e.prototype.sizeClass=function(){return u[this.size]},e.prototype.shapeClass=function(){return"k-badge-"+this.shape},e.prototype.themeColorClass=function(){return"k-badge-"+this.themeColor},e.prototype.fillClass=function(){return"k-badge-"+this.fill},e.prototype.setBadgeClasses=function(){var e=this,t=this.element.nativeElement;this.badgeClasses.forEach((function(n){e.renderer.removeClass(t,n)})),this.badgeClasses=[this.themeColorClass(),this.fillClass(),this.sizeClass(),this.shapeClass(),this.alignClass(),this.positionClass()],this.badgeClasses.forEach((function(n){e.renderer.addClass(t,n)}))},r.__decorate([o.HostBinding("class.k-badge"),r.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),r.__decorate([o.HostBinding("class.k-badge-border-cutout"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"cutoutBorderClass",null),r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String)],e.prototype,"direction",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],e.prototype,"align",null),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"size",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"fill",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"themeColor",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"shape",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"position",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],e.prototype,"cutoutBorder",void 0),e=r.__decorate([o.Component({selector:"kendo-badge",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,i.LocalizationService])],e)}();t.BadgeComponent=l},function(e,t){e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"setScriptKey",(function(){return l})),n.d(t,"validatePackage",(function(){return c}));var r,o,i=["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=i,o=131,function(e){for(;--e;)r.push(r.shift())}(++o);var a=function(e,t){var n=i[e-=0];if(void 0===a.eVebMg){a.JsjtEd=function(e){for(var t=function(e){for(var t,n,r=String(e).replace(/=+$/,""),o="",i=0,a=0;n=r.charAt(a++);~n&&(t=i%4?64*t+n:n,i++%4)?o+=String.fromCharCode(255&t>>(-2*i&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return o}(e),n=[],r=0,o=t.length;r<o;r++)n+="%"+("00"+t.charCodeAt(r).toString(16)).slice(-2);return decodeURIComponent(n)},a.rqrXoU={},a.eVebMg=!0}var r=a.rqrXoU[e];return void 0===r?(n=a.JsjtEd(n),a.rqrXoU[e]=n):n=r,n},s={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="} '},u=new Map;function l(e){}function c(e){if(u[a("0x14")](e[a("0x4")])){if(a("0x35")==a("0x35"))return u[a("0x36")](e[a("0x4")])}var t,n=e[a("0x1")]?" v"+e[a("0x1")]:"",r=e[a("0x4")]+n,o=JSON[a("0x9")](s[a("0x34")]),i=!o[a("0x26")]&&!o[a("0x38")],l=o[a("0x26")]&&typeof KendoLicensing===a("0x2b"),c=function(e,t){var n=e[a("0x8")];if(!n||!n[a("0x2d")]){if(a("0x11")==a("0x11"))return null}var r=new Set(t);return n[a("0x2a")]((function(e){if(a("0xa")!==a("0x18"))return r[a("0x14")](e[a("0x39")])}))}(o,e[a("0x2")]);if(i||l)if(a("0x29")!=a("0x29")){}else t={type:0,packageName:r,docsUrl:e[a("0x27")]};else if(a("0xf")===a("0x24")){}else if(c){if(a("0x12")!=a("0x12")){}else if(c[a("0x37")]<e[a("0x1c")])if(a("0x21")===a("0x32")){}else t={type:2,packageName:r,publishDate:d(e[a("0x1c")]),expiryDate:d(c[a("0x37")]),docsUrl:e[a("0x27")]}}else if(a("0x6")!=a("0x6")){}else t={type:1,packageName:r,docsUrl:e[a("0x27")]};if(t&&typeof console===a("0x30"))if(a("0x5")===a("0x3")){}else{var p=a("0x1b")+e[a("0xe")],f=typeof console[a("0x7")]===a("0x33");if(f)if(a("0xc")!=a("0xc")){}else console[a("0x7")](p);else if(a("0x17")!=a("0x17")){}else console[a("0x1e")](p);if(console[a("0x1e")](function(e){var t=a("0x28")+e[a("0x16")]+"\n";if(2===e[a("0x3a")])if(a("0x20")!=a("0x20")){}else t+=a("0x25")+e[a("0x15")][a("0x2c")]()+a("0xb")+e[a("0x1c")][a("0x2c")]()+".\n";else if(0===e[a("0x3a")])if(a("0x13")!==a("0x10"))t+=a("0xd");else{}else if(1===e[a("0x3a")])if(a("0x2e")===a("0x23")){}else t+=a("0x1d");return t+=a("0x31")+e[a("0x1a")]+a("0x22")}(t)),f)if(a("0x1f")!==a("0x19"))console[a("0x2f")]();else{}}var g=!t;return u[a("0x0")](e[a("0x4")],g),g}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-indicators",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642584476,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(0),o=n(1),i=n(4),a=function(){function e(e){var t=this;this.localizationService=e,this.hostClass=!0,this.rtl=!1,this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var n=e.rtl;t.rtl=n,t.direction=t.rtl?"rtl":"ltr"}))}return e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},r.__decorate([o.HostBinding("class.k-badge-container"),r.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String)],e.prototype,"direction",void 0),e=r.__decorate([o.Component({selector:"kendo-badge-container",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),r.__metadata("design:paramtypes",[i.LocalizationService])],e)}();t.BadgeContainerComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(5),a=n(6),s={small:"k-loader-sm",medium:"k-loader-md",large:"k-loader-lg"},u={pulsing:2,"infinite-spinner":3,"converging-spinner":4},l={pulsing:"k-loader-pulsing-2","infinite-spinner":"k-loader-spinner-3","converging-spinner":"k-loader-spinner-4"},c=function(){function e(e,t){this.element=e,this.renderer=t,this.hostClass=!0,this._type="pulsing",this._themeColor="primary",this._size="medium",this.loader=this.element.nativeElement,i.validatePackage(a.packageMetadata)}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){this.renderer.removeClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,l[e]),this._type=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"themeColor",{get:function(){return this._themeColor},set:function(e){this.renderer.removeClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,"k-loader-"+e),this._themeColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.renderer.removeClass(this.loader,s[this.size]),this.renderer.addClass(this.loader,s[e]),this._size=e},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setLoaderClasses()},Object.defineProperty(e.prototype,"segmentCount",{get:function(){return new Array(u[this.type])},enumerable:!0,configurable:!0}),e.prototype.setLoaderClasses=function(){this.renderer.addClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,s[this.size])},r.__decorate([o.HostBinding("class.k-loader"),r.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"type",null),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"themeColor",null),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"size",null),e=r.__decorate([o.Component({selector:"kendo-loader",template:'\n <div class="k-loader-canvas">\n <span *ngFor="let segment of segmentCount" class="k-loader-segment"></span>\n </div>\n '}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2])],e)}();t.LoaderComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(2),a=[n(8).LoaderComponent],s=a.slice(),u=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:[s],exports:[a],imports:[i.CommonModule]})],e)}();t.LoaderModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(2),i=n(1),a=n(11),s=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[a.SkeletonComponent],exports:[a.SkeletonComponent],imports:[o.CommonModule]})],e)}();t.SkeletonModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(14),a=n(12),s=function(){function e(e,t){this.renderer=e,this.hostElement=t,this._animation="pulse",this._shape="text"}return Object.defineProperty(e.prototype,"animation",{get:function(){return this._animation},set:function(e){if(o.isDevMode()&&-1===a.validAnimations.indexOf(e))throw new Error(i.skeletonAnimationError(e));this.animation&&this.renderer.removeClass(this.hostElement.nativeElement,i.ANIMATION_CLASSES[this.animation]),e&&this.renderer.addClass(this.hostElement.nativeElement,i.ANIMATION_CLASSES[e]),this._animation=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){return this._shape},set:function(e){if(o.isDevMode()&&-1===a.validShapes.indexOf(e))throw new Error(i.skeletonShapeError(e));this.renderer.removeClass(this.hostElement.nativeElement,i.SHAPE_CLASSES[this.shape]),this.renderer.addClass(this.hostElement.nativeElement,i.SHAPE_CLASSES[e]),this._shape=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"width","string"==typeof e?e:e+"px")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"height","string"==typeof e?e:e+"px")},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this.hostElement.nativeElement;e.classList.add("k-skeleton",i.SHAPE_CLASSES[this.shape]),this.animation&&e.classList.add(i.ANIMATION_CLASSES[this.animation])},r.__decorate([o.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],e.prototype,"animation",null),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"shape",null),r.__decorate([o.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],e.prototype,"width",null),r.__decorate([o.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],e.prototype,"height",null),e=r.__decorate([o.Component({selector:"kendo-skeleton",changeDetection:o.ChangeDetectionStrategy.OnPush,template:""}),r.__metadata("design:paramtypes",[o.Renderer2,o.ElementRef])],e)}();t.SkeletonComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validAnimations=[!1,"pulse","wave"],t.validShapes=["circle","rectangle","text"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.BadgeComponent=r.BadgeComponent;var o=n(7);t.BadgeContainerComponent=o.BadgeContainerComponent;var i=n(8);t.LoaderComponent=i.LoaderComponent;var a=n(9);t.LoaderModule=a.LoaderModule;var s=n(10);t.SkeletonModule=s.SkeletonModule;var u=n(11);t.SkeletonComponent=u.SkeletonComponent;var l=n(15);t.IndicatorsModule=l.IndicatorsModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);t.ANIMATION_CLASSES={pulse:"k-skeleton-pulse",wave:"k-skeleton-wave"},t.SHAPE_CLASSES={rectangle:"k-skeleton-rect",circle:"k-skeleton-circle",text:"k-skeleton-text"},t.skeletonShapeError=function(e){return'"'+e+'" is not a valid kendo-skeleton shape. Valid shapes are: '+r.validShapes.map((function(e){return'"'+e+'"'})).join(" | ")+"."},t.skeletonAnimationError=function(e){return'"'+e+"\" is not a valid kendo-skeleton animation. Valid values are: 'pulse' | 'wave' | false."}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(16),a=n(9),s=n(10),u=function(){function e(){}return e=r.__decorate([o.NgModule({exports:[i.BadgeModule,a.LoaderModule,s.SkeletonModule]})],e)}();t.IndicatorsModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(2),a=n(7),s=[n(3).BadgeComponent,a.BadgeContainerComponent],u=s.slice(),l=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:[u],exports:[s],imports:[i.CommonModule]})],e)}();t.BadgeModule=l}])}));
|
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("@angular/common"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","@angular/common","@progress/kendo-angular-l10n","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoAngularIndicators=t(require("tslib"),require("@angular/core"),require("@angular/common"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing")):e.KendoAngularIndicators=t(e.tslib,e["@angular/core"],e["@angular/common"],e["@progress/kendo-angular-l10n"],e["@progress/kendo-licensing"])}(window,(function(e,t,n,o,r){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},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=13)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(4),a=n(5),s=n(6),d={small:"k-badge-sm",medium:"k-badge-md",large:"k-badge-lg"},l=function(){function e(e,t,n){var o=this;this.element=e,this.renderer=t,this.localizationService=n,this.hostClass=!0,this.size="medium",this.fill="solid",this.themeColor="primary",this.shape="circle",this.position="edge",this.cutoutBorder=!1,this.badgeClasses=[],this.badgeAlign={vertical:"top",horizontal:"end"},this.rtl=!1,a.validatePackage(s.packageMetadata),this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var t=e.rtl;o.rtl=t,o.direction=o.rtl?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"cutoutBorderClass",{get:function(){return this.cutoutBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.badgeAlign},set:function(e){this.badgeAlign=Object.assign(this.badgeAlign,e)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.badgeClasses.length||this.setBadgeClasses()},e.prototype.ngOnChanges=function(){this.setBadgeClasses()},e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},e.prototype.alignClass=function(){return"k-"+this.badgeAlign.vertical+"-"+this.badgeAlign.horizontal},e.prototype.positionClass=function(){return"k-badge-"+this.position},e.prototype.sizeClass=function(){return d[this.size]},e.prototype.shapeClass=function(){return"k-badge-"+this.shape},e.prototype.themeColorClass=function(){return"k-badge-"+this.themeColor},e.prototype.fillClass=function(){return"k-badge-"+this.fill},e.prototype.setBadgeClasses=function(){var e=this,t=this.element.nativeElement;this.badgeClasses.forEach((function(n){e.renderer.removeClass(t,n)})),this.badgeClasses=[this.themeColorClass(),this.fillClass(),this.sizeClass(),this.shapeClass(),this.alignClass(),this.positionClass()],this.badgeClasses.forEach((function(n){e.renderer.addClass(t,n)}))},o.__decorate([r.HostBinding("class.k-badge"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([r.HostBinding("class.k-badge-border-cutout"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"cutoutBorderClass",null),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"align",null),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"size",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"fill",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"themeColor",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"shape",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"position",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"cutoutBorder",void 0),e=o.__decorate([r.Component({selector:"kendo-badge",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),o.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,i.LocalizationService])],e)}();t.BadgeComponent=l},function(e,t){e.exports=o},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-indicators",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642584476,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 o=n(0),r=n(1),i=n(4),a=function(){function e(e){var t=this;this.localizationService=e,this.hostClass=!0,this.rtl=!1,this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var n=e.rtl;t.rtl=n,t.direction=t.rtl?"rtl":"ltr"}))}return e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},o.__decorate([r.HostBinding("class.k-badge-container"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),e=o.__decorate([r.Component({selector:"kendo-badge-container",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),o.__metadata("design:paramtypes",[i.LocalizationService])],e)}();t.BadgeContainerComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(5),a=n(6),s={small:"k-loader-sm",medium:"k-loader-md",large:"k-loader-lg"},d={pulsing:2,"infinite-spinner":3,"converging-spinner":4},l={pulsing:"k-loader-pulsing-2","infinite-spinner":"k-loader-spinner-3","converging-spinner":"k-loader-spinner-4"},u=function(){function e(e,t){this.element=e,this.renderer=t,this.hostClass=!0,this._type="pulsing",this._themeColor="primary",this._size="medium",this.loader=this.element.nativeElement,i.validatePackage(a.packageMetadata)}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){this.renderer.removeClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,l[e]),this._type=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"themeColor",{get:function(){return this._themeColor},set:function(e){this.renderer.removeClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,"k-loader-"+e),this._themeColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.renderer.removeClass(this.loader,s[this.size]),this.renderer.addClass(this.loader,s[e]),this._size=e},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setLoaderClasses()},Object.defineProperty(e.prototype,"segmentCount",{get:function(){return new Array(d[this.type])},enumerable:!0,configurable:!0}),e.prototype.setLoaderClasses=function(){this.renderer.addClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,s[this.size])},o.__decorate([r.HostBinding("class.k-loader"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"type",null),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"themeColor",null),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"size",null),e=o.__decorate([r.Component({selector:"kendo-loader",template:'\n <div class="k-loader-canvas">\n <span *ngFor="let segment of segmentCount" class="k-loader-segment"></span>\n </div>\n '}),o.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2])],e)}();t.LoaderComponent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(2),a=[n(8).LoaderComponent],s=a.slice(),d=function(){function e(){}return e=o.__decorate([r.NgModule({declarations:[s],exports:[a],imports:[i.CommonModule]})],e)}();t.LoaderModule=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2),i=n(1),a=n(11),s=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[a.SkeletonComponent],exports:[a.SkeletonComponent],imports:[r.CommonModule]})],e)}();t.SkeletonModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(14),a=n(12),s=function(){function e(e,t){this.renderer=e,this.hostElement=t,this._animation="pulse",this._shape="text"}return Object.defineProperty(e.prototype,"animation",{get:function(){return this._animation},set:function(e){if(r.isDevMode()&&-1===a.validAnimations.indexOf(e))throw new Error(i.skeletonAnimationError(e));this.animation&&this.renderer.removeClass(this.hostElement.nativeElement,i.ANIMATION_CLASSES[this.animation]),e&&this.renderer.addClass(this.hostElement.nativeElement,i.ANIMATION_CLASSES[e]),this._animation=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){return this._shape},set:function(e){if(r.isDevMode()&&-1===a.validShapes.indexOf(e))throw new Error(i.skeletonShapeError(e));this.renderer.removeClass(this.hostElement.nativeElement,i.SHAPE_CLASSES[this.shape]),this.renderer.addClass(this.hostElement.nativeElement,i.SHAPE_CLASSES[e]),this._shape=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"width","string"==typeof e?e:e+"px")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"height","string"==typeof e?e:e+"px")},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this.hostElement.nativeElement;e.classList.add("k-skeleton",i.SHAPE_CLASSES[this.shape]),this.animation&&e.classList.add(i.ANIMATION_CLASSES[this.animation])},o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"animation",null),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"shape",null),o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"width",null),o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"height",null),e=o.__decorate([r.Component({selector:"kendo-skeleton",changeDetection:r.ChangeDetectionStrategy.OnPush,template:""}),o.__metadata("design:paramtypes",[r.Renderer2,r.ElementRef])],e)}();t.SkeletonComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validAnimations=[!1,"pulse","wave"],t.validShapes=["circle","rectangle","text"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.BadgeComponent=o.BadgeComponent;var r=n(7);t.BadgeContainerComponent=r.BadgeContainerComponent;var i=n(8);t.LoaderComponent=i.LoaderComponent;var a=n(9);t.LoaderModule=a.LoaderModule;var s=n(10);t.SkeletonModule=s.SkeletonModule;var d=n(11);t.SkeletonComponent=d.SkeletonComponent;var l=n(15);t.IndicatorsModule=l.IndicatorsModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(12);t.ANIMATION_CLASSES={pulse:"k-skeleton-pulse",wave:"k-skeleton-wave"},t.SHAPE_CLASSES={rectangle:"k-skeleton-rect",circle:"k-skeleton-circle",text:"k-skeleton-text"},t.skeletonShapeError=function(e){return'"'+e+'" is not a valid kendo-skeleton shape. Valid shapes are: '+o.validShapes.map((function(e){return'"'+e+'"'})).join(" | ")+"."},t.skeletonAnimationError=function(e){return'"'+e+"\" is not a valid kendo-skeleton animation. Valid values are: 'pulse' | 'wave' | false."}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(16),a=n(9),s=n(10),d=function(){function e(){}return e=o.__decorate([r.NgModule({exports:[i.BadgeModule,a.LoaderModule,s.SkeletonModule]})],e)}();t.IndicatorsModule=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(2),a=n(7),s=[n(3).BadgeComponent,a.BadgeContainerComponent],d=s.slice(),l=function(){function e(){}return e=o.__decorate([r.NgModule({declarations:[d],exports:[s],imports:[i.CommonModule]})],e)}();t.BadgeModule=l}])}));
|
|
@@ -1,49 +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 { Component, HostBinding } from '@angular/core';
|
|
7
|
-
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
8
|
-
var BadgeContainerComponent = /** @class */ (function () {
|
|
9
|
-
function BadgeContainerComponent(localizationService) {
|
|
10
|
-
var _this = this;
|
|
11
|
-
this.localizationService = localizationService;
|
|
12
|
-
this.hostClass = true;
|
|
13
|
-
this.rtl = false;
|
|
14
|
-
this.dynamicRTLSubscription = this.localizationService.changes.subscribe(function (_a) {
|
|
15
|
-
var rtl = _a.rtl;
|
|
16
|
-
_this.rtl = rtl;
|
|
17
|
-
_this.direction = _this.rtl ? 'rtl' : 'ltr';
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
BadgeContainerComponent.prototype.ngOnDestroy = function () {
|
|
21
|
-
if (this.dynamicRTLSubscription) {
|
|
22
|
-
this.dynamicRTLSubscription.unsubscribe();
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
tslib_1.__decorate([
|
|
26
|
-
HostBinding('class.k-badge-container'),
|
|
27
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
28
|
-
], BadgeContainerComponent.prototype, "hostClass", void 0);
|
|
29
|
-
tslib_1.__decorate([
|
|
30
|
-
HostBinding('attr.dir'),
|
|
31
|
-
tslib_1.__metadata("design:type", String)
|
|
32
|
-
], BadgeContainerComponent.prototype, "direction", void 0);
|
|
33
|
-
BadgeContainerComponent = tslib_1.__decorate([
|
|
34
|
-
Component({
|
|
35
|
-
selector: 'kendo-badge-container',
|
|
36
|
-
providers: [
|
|
37
|
-
LocalizationService,
|
|
38
|
-
{
|
|
39
|
-
provide: L10N_PREFIX,
|
|
40
|
-
useValue: 'kendo.badge.component'
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
template: "<ng-content></ng-content>"
|
|
44
|
-
}),
|
|
45
|
-
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
46
|
-
], BadgeContainerComponent);
|
|
47
|
-
return BadgeContainerComponent;
|
|
48
|
-
}());
|
|
49
|
-
export { BadgeContainerComponent };
|