@progress/kendo-angular-indicators 25.0.0-develop.1 → 25.0.0-develop.2
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/fesm2022/progress-kendo-angular-indicators.mjs +119 -68
- package/index.d.ts +28 -17
- package/package-metadata.mjs +2 -2
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { HostBinding, Component, Input, isDevMode,
|
|
6
|
+
import { HostBinding, ChangeDetectionStrategy, Component, signal, computed, effect, Input, isDevMode, NgModule } from '@angular/core';
|
|
7
7
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -50,7 +50,7 @@ class BadgeContainerComponent {
|
|
|
50
50
|
provide: L10N_PREFIX,
|
|
51
51
|
useValue: 'kendo.badge.component'
|
|
52
52
|
}
|
|
53
|
-
], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
53
|
+
], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
54
54
|
}
|
|
55
55
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BadgeContainerComponent, decorators: [{
|
|
56
56
|
type: Component,
|
|
@@ -64,7 +64,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
64
64
|
}
|
|
65
65
|
],
|
|
66
66
|
template: `<ng-content></ng-content>`,
|
|
67
|
-
standalone: true
|
|
67
|
+
standalone: true,
|
|
68
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
68
69
|
}]
|
|
69
70
|
}], ctorParameters: () => [{ type: i1.LocalizationService }], propDecorators: { hostClass: [{
|
|
70
71
|
type: HostBinding,
|
|
@@ -82,8 +83,8 @@ const packageMetadata = {
|
|
|
82
83
|
productName: 'Kendo UI for Angular',
|
|
83
84
|
productCode: 'KENDOUIANGULAR',
|
|
84
85
|
productCodes: ['KENDOUIANGULAR'],
|
|
85
|
-
publishDate:
|
|
86
|
-
version: '25.0.0-develop.
|
|
86
|
+
publishDate: 1783688539,
|
|
87
|
+
version: '25.0.0-develop.2',
|
|
87
88
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
88
89
|
};
|
|
89
90
|
|
|
@@ -127,44 +128,101 @@ class BadgeComponent {
|
|
|
127
128
|
*
|
|
128
129
|
* @default "{ vertical: 'top', horizontal: 'end' }"
|
|
129
130
|
*/
|
|
130
|
-
get align() {
|
|
131
|
-
return this.badgeAlign;
|
|
132
|
-
}
|
|
133
131
|
set align(align) {
|
|
134
|
-
this.
|
|
132
|
+
this._align.set({ ...this._align(), ...align });
|
|
133
|
+
}
|
|
134
|
+
get align() {
|
|
135
|
+
return this._align();
|
|
135
136
|
}
|
|
136
137
|
/**
|
|
137
138
|
* Specifies the size of the Badge ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/appearance#size)). The default value is set by the Kendo theme.
|
|
138
139
|
*/
|
|
139
|
-
size
|
|
140
|
+
set size(value) {
|
|
141
|
+
this._size.set(value);
|
|
142
|
+
}
|
|
143
|
+
get size() {
|
|
144
|
+
return this._size();
|
|
145
|
+
}
|
|
140
146
|
/**
|
|
141
147
|
* Specifies the appearance fill style of the Badge ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/appearance#fill)). The default value is set by the Kendo theme.
|
|
142
148
|
*/
|
|
143
|
-
fill
|
|
149
|
+
set fill(value) {
|
|
150
|
+
this._fill.set(value);
|
|
151
|
+
}
|
|
152
|
+
get fill() {
|
|
153
|
+
return this._fill();
|
|
154
|
+
}
|
|
144
155
|
/**
|
|
145
156
|
* Specifies the theme color of the Badge.
|
|
146
157
|
* The theme color applies as background and border color, while also amending the text color accordingly
|
|
147
158
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/appearance#theme-color)). The default value is set by the Kendo theme.
|
|
148
159
|
*/
|
|
149
|
-
themeColor
|
|
160
|
+
set themeColor(value) {
|
|
161
|
+
this._themeColor.set(value);
|
|
162
|
+
}
|
|
163
|
+
get themeColor() {
|
|
164
|
+
return this._themeColor();
|
|
165
|
+
}
|
|
150
166
|
/**
|
|
151
167
|
* Specifies the roundness of the Badge ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/appearance#rounded)). The default value is set by the Kendo theme.
|
|
152
168
|
*/
|
|
153
|
-
rounded
|
|
169
|
+
set rounded(value) {
|
|
170
|
+
this._rounded.set(value);
|
|
171
|
+
}
|
|
172
|
+
get rounded() {
|
|
173
|
+
return this._rounded();
|
|
174
|
+
}
|
|
154
175
|
/**
|
|
155
176
|
* Specifies the position of the Badge relative to the edge of the parent container element ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/align-and-position#position)).
|
|
156
177
|
*
|
|
157
178
|
* @default edge
|
|
158
179
|
*/
|
|
159
|
-
position
|
|
180
|
+
set position(value) {
|
|
181
|
+
this._position.set(value);
|
|
182
|
+
}
|
|
183
|
+
get position() {
|
|
184
|
+
return this._position();
|
|
185
|
+
}
|
|
160
186
|
/**
|
|
161
187
|
* Specifies whether to render additional `cutout` border around the Badge ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/appearance#cutout-border)).
|
|
162
188
|
*
|
|
163
189
|
* @default false
|
|
164
190
|
*/
|
|
165
|
-
cutoutBorder
|
|
191
|
+
set cutoutBorder(value) {
|
|
192
|
+
this._cutoutBorder.set(value);
|
|
193
|
+
}
|
|
194
|
+
get cutoutBorder() {
|
|
195
|
+
return this._cutoutBorder();
|
|
196
|
+
}
|
|
197
|
+
_align = signal({ vertical: 'top', horizontal: 'end' }, ...(ngDevMode ? [{ debugName: "_align" }] : []));
|
|
198
|
+
_size = signal(undefined, ...(ngDevMode ? [{ debugName: "_size" }] : []));
|
|
199
|
+
_fill = signal(undefined, ...(ngDevMode ? [{ debugName: "_fill" }] : []));
|
|
200
|
+
_themeColor = signal(undefined, ...(ngDevMode ? [{ debugName: "_themeColor" }] : []));
|
|
201
|
+
_rounded = signal(undefined, ...(ngDevMode ? [{ debugName: "_rounded" }] : []));
|
|
202
|
+
_position = signal('edge', ...(ngDevMode ? [{ debugName: "_position" }] : []));
|
|
203
|
+
_cutoutBorder = signal(false, ...(ngDevMode ? [{ debugName: "_cutoutBorder" }] : []));
|
|
166
204
|
badgeClasses = [];
|
|
167
|
-
|
|
205
|
+
computedBadgeClasses = computed(() => [
|
|
206
|
+
this._themeColor() ? `k-badge-${this._themeColor()}` : '',
|
|
207
|
+
this._fill() ? `k-badge-${this._fill()}` : '',
|
|
208
|
+
SIZE_CLASSES$1[this._size()],
|
|
209
|
+
ROUNDED_CLASSES[this._rounded()],
|
|
210
|
+
`k-${this._align().vertical}-${this._align().horizontal}`,
|
|
211
|
+
`k-badge-${this._position()}`
|
|
212
|
+
].filter((className) => className), ...(ngDevMode ? [{ debugName: "computedBadgeClasses" }] : []));
|
|
213
|
+
badgeClassEffect = effect(() => {
|
|
214
|
+
const newClasses = this.computedBadgeClasses();
|
|
215
|
+
const element = this.element.nativeElement;
|
|
216
|
+
this.badgeClasses.forEach((className) => {
|
|
217
|
+
this.renderer.removeClass(element, className);
|
|
218
|
+
});
|
|
219
|
+
newClasses.forEach((className) => {
|
|
220
|
+
if (className) {
|
|
221
|
+
this.renderer.addClass(element, className);
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
this.badgeClasses = newClasses;
|
|
225
|
+
}, ...(ngDevMode ? [{ debugName: "badgeClassEffect" }] : []));
|
|
168
226
|
dynamicRTLSubscription;
|
|
169
227
|
rtl = false;
|
|
170
228
|
constructor(element, renderer, localizationService) {
|
|
@@ -178,48 +236,28 @@ class BadgeComponent {
|
|
|
178
236
|
});
|
|
179
237
|
}
|
|
180
238
|
ngAfterViewInit() {
|
|
239
|
+
// Trigger initial class application if effect hasn't run yet
|
|
181
240
|
if (!this.badgeClasses.length) {
|
|
182
241
|
this.setBadgeClasses();
|
|
183
242
|
}
|
|
184
243
|
}
|
|
185
|
-
ngOnChanges() {
|
|
186
|
-
this.setBadgeClasses();
|
|
187
|
-
}
|
|
188
244
|
ngOnDestroy() {
|
|
189
245
|
if (this.dynamicRTLSubscription) {
|
|
190
246
|
this.dynamicRTLSubscription.unsubscribe();
|
|
191
247
|
}
|
|
192
248
|
}
|
|
193
|
-
alignClass() {
|
|
194
|
-
return `k-${this.badgeAlign.vertical}-${this.badgeAlign.horizontal}`;
|
|
195
|
-
}
|
|
196
|
-
positionClass() {
|
|
197
|
-
return `k-badge-${this.position}`;
|
|
198
|
-
}
|
|
199
|
-
sizeClass() {
|
|
200
|
-
return SIZE_CLASSES$1[this.size];
|
|
201
|
-
}
|
|
202
|
-
roundedClass() {
|
|
203
|
-
return ROUNDED_CLASSES[this.rounded];
|
|
204
|
-
}
|
|
205
|
-
themeColorClass() {
|
|
206
|
-
return this.themeColor ? `k-badge-${this.themeColor}` : '';
|
|
207
|
-
}
|
|
208
|
-
fillClass() {
|
|
209
|
-
return this.fill ? `k-badge-${this.fill}` : '';
|
|
210
|
-
}
|
|
211
249
|
setBadgeClasses() {
|
|
212
250
|
const element = this.element.nativeElement;
|
|
213
251
|
this.badgeClasses.forEach((className) => {
|
|
214
252
|
this.renderer.removeClass(element, className);
|
|
215
253
|
});
|
|
216
254
|
this.badgeClasses = [
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
255
|
+
this._themeColor() ? `k-badge-${this._themeColor()}` : '',
|
|
256
|
+
this._fill() ? `k-badge-${this._fill()}` : '',
|
|
257
|
+
SIZE_CLASSES$1[this._size()],
|
|
258
|
+
ROUNDED_CLASSES[this._rounded()],
|
|
259
|
+
`k-${this._align().vertical}-${this._align().horizontal}`,
|
|
260
|
+
`k-badge-${this._position()}`
|
|
223
261
|
].filter((className) => className);
|
|
224
262
|
this.badgeClasses.forEach((className) => {
|
|
225
263
|
if (className) {
|
|
@@ -234,7 +272,7 @@ class BadgeComponent {
|
|
|
234
272
|
provide: L10N_PREFIX,
|
|
235
273
|
useValue: 'kendo.badge.component'
|
|
236
274
|
}
|
|
237
|
-
],
|
|
275
|
+
], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
238
276
|
}
|
|
239
277
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
240
278
|
type: Component,
|
|
@@ -248,7 +286,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
248
286
|
}
|
|
249
287
|
],
|
|
250
288
|
template: `<ng-content></ng-content>`,
|
|
251
|
-
standalone: true
|
|
289
|
+
standalone: true,
|
|
290
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
252
291
|
}]
|
|
253
292
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }], propDecorators: { hostClass: [{
|
|
254
293
|
type: HostBinding,
|
|
@@ -312,38 +351,38 @@ class LoaderComponent {
|
|
|
312
351
|
* @default pulsing
|
|
313
352
|
*/
|
|
314
353
|
set type(type) {
|
|
315
|
-
this.renderer.removeClass(this.loader, TYPE_CLASSES[this.
|
|
354
|
+
this.renderer.removeClass(this.loader, TYPE_CLASSES[this._type()]);
|
|
316
355
|
this.renderer.addClass(this.loader, TYPE_CLASSES[type]);
|
|
317
|
-
this._type
|
|
356
|
+
this._type.set(type);
|
|
318
357
|
}
|
|
319
358
|
get type() {
|
|
320
|
-
return this._type;
|
|
359
|
+
return this._type();
|
|
321
360
|
}
|
|
322
361
|
/**
|
|
323
362
|
* Specifies the theme color of the Loader. The default value is set by the Kendo theme.
|
|
324
363
|
*/
|
|
325
364
|
set themeColor(themeColor) {
|
|
326
|
-
this.renderer.removeClass(this.loader, `k-loader-${this.
|
|
365
|
+
this.renderer.removeClass(this.loader, `k-loader-${this._themeColor()}`);
|
|
327
366
|
this.renderer.addClass(this.loader, `k-loader-${themeColor}`);
|
|
328
|
-
this._themeColor
|
|
367
|
+
this._themeColor.set(themeColor);
|
|
329
368
|
}
|
|
330
369
|
get themeColor() {
|
|
331
|
-
return this._themeColor;
|
|
370
|
+
return this._themeColor();
|
|
332
371
|
}
|
|
333
372
|
/**
|
|
334
373
|
* Specifies the size of the Loader. The default value is set by the Kendo theme.
|
|
335
374
|
*/
|
|
336
375
|
set size(size) {
|
|
337
|
-
this.renderer.removeClass(this.loader, SIZE_CLASSES[this.
|
|
376
|
+
this.renderer.removeClass(this.loader, SIZE_CLASSES[this._size()]);
|
|
338
377
|
this.renderer.addClass(this.loader, SIZE_CLASSES[size]);
|
|
339
|
-
this._size
|
|
378
|
+
this._size.set(size);
|
|
340
379
|
}
|
|
341
380
|
get size() {
|
|
342
|
-
return this._size;
|
|
381
|
+
return this._size();
|
|
343
382
|
}
|
|
344
|
-
_type = 'pulsing';
|
|
345
|
-
_themeColor;
|
|
346
|
-
_size;
|
|
383
|
+
_type = signal('pulsing', ...(ngDevMode ? [{ debugName: "_type" }] : []));
|
|
384
|
+
_themeColor = signal(undefined, ...(ngDevMode ? [{ debugName: "_themeColor" }] : []));
|
|
385
|
+
_size = signal(undefined, ...(ngDevMode ? [{ debugName: "_size" }] : []));
|
|
347
386
|
loader;
|
|
348
387
|
constructor(element, renderer) {
|
|
349
388
|
this.element = element;
|
|
@@ -372,7 +411,7 @@ class LoaderComponent {
|
|
|
372
411
|
<span class="k-loader-segment"></span>
|
|
373
412
|
}
|
|
374
413
|
</div>
|
|
375
|
-
`, isInline: true });
|
|
414
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
376
415
|
}
|
|
377
416
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
378
417
|
type: Component,
|
|
@@ -386,7 +425,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
386
425
|
</div>
|
|
387
426
|
`,
|
|
388
427
|
standalone: true,
|
|
389
|
-
imports: []
|
|
428
|
+
imports: [],
|
|
429
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
390
430
|
}]
|
|
391
431
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { hostClass: [{
|
|
392
432
|
type: HostBinding,
|
|
@@ -458,16 +498,17 @@ class SkeletonComponent {
|
|
|
458
498
|
if (isDevMode() && validAnimations.indexOf(animation) === -1) {
|
|
459
499
|
throw new Error(skeletonAnimationError(animation));
|
|
460
500
|
}
|
|
461
|
-
|
|
462
|
-
|
|
501
|
+
const currentAnimation = this._animation();
|
|
502
|
+
if (currentAnimation && ANIMATION_CLASSES[currentAnimation]) {
|
|
503
|
+
this.renderer.removeClass(this.hostElement.nativeElement, ANIMATION_CLASSES[currentAnimation]);
|
|
463
504
|
}
|
|
464
505
|
if (animation) {
|
|
465
506
|
this.renderer.addClass(this.hostElement.nativeElement, ANIMATION_CLASSES[animation]);
|
|
466
507
|
}
|
|
467
|
-
this._animation
|
|
508
|
+
this._animation.set(animation);
|
|
468
509
|
}
|
|
469
510
|
get animation() {
|
|
470
|
-
return this._animation;
|
|
511
|
+
return this._animation();
|
|
471
512
|
}
|
|
472
513
|
/**
|
|
473
514
|
* Specifies the shape of the Skeleton.
|
|
@@ -478,12 +519,12 @@ class SkeletonComponent {
|
|
|
478
519
|
if (isDevMode() && validShapes.indexOf(shape) === -1) {
|
|
479
520
|
throw new Error(skeletonShapeError(shape));
|
|
480
521
|
}
|
|
481
|
-
this.renderer.removeClass(this.hostElement.nativeElement, SHAPE_CLASSES[this.
|
|
522
|
+
this.renderer.removeClass(this.hostElement.nativeElement, SHAPE_CLASSES[this._shape()]);
|
|
482
523
|
this.renderer.addClass(this.hostElement.nativeElement, SHAPE_CLASSES[shape]);
|
|
483
|
-
this._shape
|
|
524
|
+
this._shape.set(shape);
|
|
484
525
|
}
|
|
485
526
|
get shape() {
|
|
486
|
-
return this._shape;
|
|
527
|
+
return this._shape();
|
|
487
528
|
}
|
|
488
529
|
/**
|
|
489
530
|
* Specifies the width of the Skeleton component.
|
|
@@ -491,8 +532,12 @@ class SkeletonComponent {
|
|
|
491
532
|
* Accepts a string like `100px`, `3em`, or `50%`, or an integer number for pixels.
|
|
492
533
|
*/
|
|
493
534
|
set width(width) {
|
|
535
|
+
this._width.set(width);
|
|
494
536
|
this.renderer.setStyle(this.hostElement.nativeElement, "width", typeof width === "string" ? width : width + "px");
|
|
495
537
|
}
|
|
538
|
+
get width() {
|
|
539
|
+
return this._width();
|
|
540
|
+
}
|
|
496
541
|
/**
|
|
497
542
|
* Specifies the height of the Skeleton component.
|
|
498
543
|
* Required for `circle` and `rectangle` shapes.
|
|
@@ -500,10 +545,16 @@ class SkeletonComponent {
|
|
|
500
545
|
* Accepts a string like `100px`, `3em`, or `50%`, or an integer number for pixels.
|
|
501
546
|
*/
|
|
502
547
|
set height(height) {
|
|
548
|
+
this._height.set(height);
|
|
503
549
|
this.renderer.setStyle(this.hostElement.nativeElement, "height", typeof height === "string" ? height : height + "px");
|
|
504
550
|
}
|
|
505
|
-
|
|
506
|
-
|
|
551
|
+
get height() {
|
|
552
|
+
return this._height();
|
|
553
|
+
}
|
|
554
|
+
_animation = signal("pulse", ...(ngDevMode ? [{ debugName: "_animation" }] : []));
|
|
555
|
+
_shape = signal('text', ...(ngDevMode ? [{ debugName: "_shape" }] : []));
|
|
556
|
+
_width = signal(undefined, ...(ngDevMode ? [{ debugName: "_width" }] : []));
|
|
557
|
+
_height = signal(undefined, ...(ngDevMode ? [{ debugName: "_height" }] : []));
|
|
507
558
|
constructor(renderer, hostElement) {
|
|
508
559
|
this.renderer = renderer;
|
|
509
560
|
this.hostElement = hostElement;
|
package/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { OnDestroy, AfterViewInit,
|
|
6
|
+
import { OnDestroy, AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
|
|
9
9
|
declare class BadgeContainerComponent implements OnDestroy {
|
|
@@ -121,7 +121,7 @@ type BadgePosition = 'edge' | 'outside' | 'inside';
|
|
|
121
121
|
* <kendo-badge size="large" themeColor="success">99+</kendo-badge>
|
|
122
122
|
* ```
|
|
123
123
|
*/
|
|
124
|
-
declare class BadgeComponent implements AfterViewInit,
|
|
124
|
+
declare class BadgeComponent implements AfterViewInit, OnDestroy {
|
|
125
125
|
private element;
|
|
126
126
|
private renderer;
|
|
127
127
|
private localizationService;
|
|
@@ -136,52 +136,59 @@ declare class BadgeComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
|
136
136
|
*
|
|
137
137
|
* @default "{ vertical: 'top', horizontal: 'end' }"
|
|
138
138
|
*/
|
|
139
|
-
get align(): BadgeAlign;
|
|
140
139
|
set align(align: BadgeAlign);
|
|
140
|
+
get align(): BadgeAlign;
|
|
141
141
|
/**
|
|
142
142
|
* Specifies the size of the Badge ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/appearance#size)). The default value is set by the Kendo theme.
|
|
143
143
|
*/
|
|
144
|
-
size: BadgeSize;
|
|
144
|
+
set size(value: BadgeSize);
|
|
145
|
+
get size(): BadgeSize;
|
|
145
146
|
/**
|
|
146
147
|
* Specifies the appearance fill style of the Badge ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/appearance#fill)). The default value is set by the Kendo theme.
|
|
147
148
|
*/
|
|
148
|
-
fill: BadgeFill;
|
|
149
|
+
set fill(value: BadgeFill);
|
|
150
|
+
get fill(): BadgeFill;
|
|
149
151
|
/**
|
|
150
152
|
* Specifies the theme color of the Badge.
|
|
151
153
|
* The theme color applies as background and border color, while also amending the text color accordingly
|
|
152
154
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/appearance#theme-color)). The default value is set by the Kendo theme.
|
|
153
155
|
*/
|
|
154
|
-
themeColor: BadgeThemeColor;
|
|
156
|
+
set themeColor(value: BadgeThemeColor);
|
|
157
|
+
get themeColor(): BadgeThemeColor;
|
|
155
158
|
/**
|
|
156
159
|
* Specifies the roundness of the Badge ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/appearance#rounded)). The default value is set by the Kendo theme.
|
|
157
160
|
*/
|
|
158
|
-
rounded: BadgeRounded;
|
|
161
|
+
set rounded(value: BadgeRounded);
|
|
162
|
+
get rounded(): BadgeRounded;
|
|
159
163
|
/**
|
|
160
164
|
* Specifies the position of the Badge relative to the edge of the parent container element ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/align-and-position#position)).
|
|
161
165
|
*
|
|
162
166
|
* @default edge
|
|
163
167
|
*/
|
|
164
|
-
position: BadgePosition;
|
|
168
|
+
set position(value: BadgePosition);
|
|
169
|
+
get position(): BadgePosition;
|
|
165
170
|
/**
|
|
166
171
|
* Specifies whether to render additional `cutout` border around the Badge ([see example](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/appearance#cutout-border)).
|
|
167
172
|
*
|
|
168
173
|
* @default false
|
|
169
174
|
*/
|
|
170
|
-
cutoutBorder: boolean;
|
|
175
|
+
set cutoutBorder(value: boolean);
|
|
176
|
+
get cutoutBorder(): boolean;
|
|
177
|
+
private _align;
|
|
178
|
+
private _size;
|
|
179
|
+
private _fill;
|
|
180
|
+
private _themeColor;
|
|
181
|
+
private _rounded;
|
|
182
|
+
private _position;
|
|
183
|
+
private _cutoutBorder;
|
|
171
184
|
private badgeClasses;
|
|
172
|
-
private
|
|
185
|
+
private computedBadgeClasses;
|
|
186
|
+
private badgeClassEffect;
|
|
173
187
|
private dynamicRTLSubscription;
|
|
174
188
|
private rtl;
|
|
175
189
|
constructor(element: ElementRef, renderer: Renderer2, localizationService: LocalizationService);
|
|
176
190
|
ngAfterViewInit(): void;
|
|
177
|
-
ngOnChanges(): void;
|
|
178
191
|
ngOnDestroy(): void;
|
|
179
|
-
private alignClass;
|
|
180
|
-
private positionClass;
|
|
181
|
-
private sizeClass;
|
|
182
|
-
private roundedClass;
|
|
183
|
-
private themeColorClass;
|
|
184
|
-
private fillClass;
|
|
185
192
|
private setBadgeClasses;
|
|
186
193
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
187
194
|
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "kendo-badge", never, { "align": { "alias": "align"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "position": { "alias": "position"; "required": false; }; "cutoutBorder": { "alias": "cutoutBorder"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
@@ -324,6 +331,7 @@ declare class SkeletonComponent implements AfterViewInit {
|
|
|
324
331
|
* Accepts a string like `100px`, `3em`, or `50%`, or an integer number for pixels.
|
|
325
332
|
*/
|
|
326
333
|
set width(width: string | number);
|
|
334
|
+
get width(): string | number;
|
|
327
335
|
/**
|
|
328
336
|
* Specifies the height of the Skeleton component.
|
|
329
337
|
* Required for `circle` and `rectangle` shapes.
|
|
@@ -331,8 +339,11 @@ declare class SkeletonComponent implements AfterViewInit {
|
|
|
331
339
|
* Accepts a string like `100px`, `3em`, or `50%`, or an integer number for pixels.
|
|
332
340
|
*/
|
|
333
341
|
set height(height: string | number);
|
|
342
|
+
get height(): string | number;
|
|
334
343
|
private _animation;
|
|
335
344
|
private _shape;
|
|
345
|
+
private _width;
|
|
346
|
+
private _height;
|
|
336
347
|
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
337
348
|
ngAfterViewInit(): void;
|
|
338
349
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0-develop.
|
|
10
|
+
"publishDate": 1783688539,
|
|
11
|
+
"version": "25.0.0-develop.2",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-indicators",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.2",
|
|
4
4
|
"description": "Kendo UI Indicators for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"package": {
|
|
36
36
|
"productName": "Kendo UI for Angular",
|
|
37
37
|
"productCode": "KENDOUIANGULAR",
|
|
38
|
-
"publishDate":
|
|
38
|
+
"publishDate": 1783688539,
|
|
39
39
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
40
40
|
}
|
|
41
41
|
},
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"@angular/core": "20 - 22",
|
|
46
46
|
"@angular/platform-browser": "20 - 22",
|
|
47
47
|
"@progress/kendo-licensing": "^1.11.0",
|
|
48
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
49
|
-
"@progress/kendo-angular-intl": "25.0.0-develop.
|
|
50
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
48
|
+
"@progress/kendo-angular-common": "25.0.0-develop.2",
|
|
49
|
+
"@progress/kendo-angular-intl": "25.0.0-develop.2",
|
|
50
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.2",
|
|
51
51
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"tslib": "^2.3.1",
|
|
55
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
55
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.2"
|
|
56
56
|
},
|
|
57
57
|
"schematics": "./schematics/collection.json",
|
|
58
58
|
"module": "fesm2022/progress-kendo-angular-indicators.mjs",
|