@progress/kendo-angular-indicators 25.0.0-develop.1 → 25.0.0-develop.13

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.
@@ -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, ChangeDetectionStrategy, NgModule } from '@angular/core';
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';
@@ -43,16 +43,16 @@ class BadgeContainerComponent {
43
43
  this.dynamicRTLSubscription.unsubscribe();
44
44
  }
45
45
  }
46
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BadgeContainerComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
47
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: BadgeContainerComponent, isStandalone: true, selector: "kendo-badge-container", host: { properties: { "class.k-badge-container": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
46
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: BadgeContainerComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
47
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: BadgeContainerComponent, isStandalone: true, selector: "kendo-badge-container", host: { properties: { "class.k-badge-container": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
48
48
  LocalizationService,
49
49
  {
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
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BadgeContainerComponent, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: BadgeContainerComponent, decorators: [{
56
56
  type: Component,
57
57
  args: [{
58
58
  selector: 'kendo-badge-container',
@@ -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: 1783679819,
86
- version: '25.0.0-develop.1',
86
+ publishDate: 1785426733,
87
+ version: '25.0.0-develop.13',
87
88
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
88
89
  };
89
90
 
@@ -127,44 +128,105 @@ 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.badgeAlign = Object.assign(this.badgeAlign, align);
132
+ if (align == null) {
133
+ this._align.set(null);
134
+ return;
135
+ }
136
+ this._align.set({ ...this._align(), ...align });
137
+ }
138
+ get align() {
139
+ return this._align();
135
140
  }
136
141
  /**
137
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.
138
143
  */
139
- size;
144
+ set size(value) {
145
+ this._size.set(value);
146
+ }
147
+ get size() {
148
+ return this._size();
149
+ }
140
150
  /**
141
151
  * 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
152
  */
143
- fill;
153
+ set fill(value) {
154
+ this._fill.set(value);
155
+ }
156
+ get fill() {
157
+ return this._fill();
158
+ }
144
159
  /**
145
160
  * Specifies the theme color of the Badge.
146
161
  * The theme color applies as background and border color, while also amending the text color accordingly
147
162
  * ([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
163
  */
149
- themeColor;
164
+ set themeColor(value) {
165
+ this._themeColor.set(value);
166
+ }
167
+ get themeColor() {
168
+ return this._themeColor();
169
+ }
150
170
  /**
151
171
  * 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
172
  */
153
- rounded;
173
+ set rounded(value) {
174
+ this._rounded.set(value);
175
+ }
176
+ get rounded() {
177
+ return this._rounded();
178
+ }
154
179
  /**
155
180
  * 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
181
  *
157
182
  * @default edge
158
183
  */
159
- position = 'edge';
184
+ set position(value) {
185
+ this._position.set(value);
186
+ }
187
+ get position() {
188
+ return this._position();
189
+ }
160
190
  /**
161
191
  * 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
192
  *
163
193
  * @default false
164
194
  */
165
- cutoutBorder = false;
195
+ set cutoutBorder(value) {
196
+ this._cutoutBorder.set(value);
197
+ }
198
+ get cutoutBorder() {
199
+ return this._cutoutBorder();
200
+ }
201
+ _align = signal({ vertical: 'top', horizontal: 'end' }, ...(ngDevMode ? [{ debugName: "_align" }] : []));
202
+ _size = signal(undefined, ...(ngDevMode ? [{ debugName: "_size" }] : []));
203
+ _fill = signal(undefined, ...(ngDevMode ? [{ debugName: "_fill" }] : []));
204
+ _themeColor = signal(undefined, ...(ngDevMode ? [{ debugName: "_themeColor" }] : []));
205
+ _rounded = signal(undefined, ...(ngDevMode ? [{ debugName: "_rounded" }] : []));
206
+ _position = signal('edge', ...(ngDevMode ? [{ debugName: "_position" }] : []));
207
+ _cutoutBorder = signal(false, ...(ngDevMode ? [{ debugName: "_cutoutBorder" }] : []));
166
208
  badgeClasses = [];
167
- badgeAlign = { vertical: 'top', horizontal: 'end' };
209
+ computedBadgeClasses = computed(() => [
210
+ this._themeColor() ? `k-badge-${this._themeColor()}` : '',
211
+ this._fill() ? `k-badge-${this._fill()}` : '',
212
+ SIZE_CLASSES$1[this._size()],
213
+ ROUNDED_CLASSES[this._rounded()],
214
+ this._align() ? `k-${this._align().vertical}-${this._align().horizontal}` : '',
215
+ this._position() !== 'none' ? `k-badge-${this._position()}` : ''
216
+ ].filter((className) => className), ...(ngDevMode ? [{ debugName: "computedBadgeClasses" }] : []));
217
+ badgeClassEffect = effect(() => {
218
+ const newClasses = this.computedBadgeClasses();
219
+ const element = this.element.nativeElement;
220
+ this.badgeClasses.forEach((className) => {
221
+ this.renderer.removeClass(element, className);
222
+ });
223
+ newClasses.forEach((className) => {
224
+ if (className) {
225
+ this.renderer.addClass(element, className);
226
+ }
227
+ });
228
+ this.badgeClasses = newClasses;
229
+ }, ...(ngDevMode ? [{ debugName: "badgeClassEffect" }] : []));
168
230
  dynamicRTLSubscription;
169
231
  rtl = false;
170
232
  constructor(element, renderer, localizationService) {
@@ -178,48 +240,28 @@ class BadgeComponent {
178
240
  });
179
241
  }
180
242
  ngAfterViewInit() {
243
+ // Trigger initial class application if effect hasn't run yet
181
244
  if (!this.badgeClasses.length) {
182
245
  this.setBadgeClasses();
183
246
  }
184
247
  }
185
- ngOnChanges() {
186
- this.setBadgeClasses();
187
- }
188
248
  ngOnDestroy() {
189
249
  if (this.dynamicRTLSubscription) {
190
250
  this.dynamicRTLSubscription.unsubscribe();
191
251
  }
192
252
  }
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
253
  setBadgeClasses() {
212
254
  const element = this.element.nativeElement;
213
255
  this.badgeClasses.forEach((className) => {
214
256
  this.renderer.removeClass(element, className);
215
257
  });
216
258
  this.badgeClasses = [
217
- this.themeColorClass(),
218
- this.fillClass(),
219
- this.sizeClass(),
220
- this.roundedClass(),
221
- this.alignClass(),
222
- this.positionClass()
259
+ this._themeColor() ? `k-badge-${this._themeColor()}` : '',
260
+ this._fill() ? `k-badge-${this._fill()}` : '',
261
+ SIZE_CLASSES$1[this._size()],
262
+ ROUNDED_CLASSES[this._rounded()],
263
+ this._align() ? `k-${this._align().vertical}-${this._align().horizontal}` : '',
264
+ this._position() !== 'none' ? `k-badge-${this._position()}` : ''
223
265
  ].filter((className) => className);
224
266
  this.badgeClasses.forEach((className) => {
225
267
  if (className) {
@@ -227,16 +269,16 @@ class BadgeComponent {
227
269
  }
228
270
  });
229
271
  }
230
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
231
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: BadgeComponent, isStandalone: true, selector: "kendo-badge", inputs: { align: "align", size: "size", fill: "fill", themeColor: "themeColor", rounded: "rounded", position: "position", cutoutBorder: "cutoutBorder" }, host: { properties: { "class.k-badge": "this.hostClass", "class.k-badge-border-cutout": "this.cutoutBorderClass", "attr.dir": "this.direction" } }, providers: [
272
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: BadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
273
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: BadgeComponent, isStandalone: true, selector: "kendo-badge", inputs: { align: "align", size: "size", fill: "fill", themeColor: "themeColor", rounded: "rounded", position: "position", cutoutBorder: "cutoutBorder" }, host: { properties: { "class.k-badge": "this.hostClass", "class.k-badge-border-cutout": "this.cutoutBorderClass", "attr.dir": "this.direction" } }, providers: [
232
274
  LocalizationService,
233
275
  {
234
276
  provide: L10N_PREFIX,
235
277
  useValue: 'kendo.badge.component'
236
278
  }
237
- ], usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
279
+ ], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
238
280
  }
239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BadgeComponent, decorators: [{
281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: BadgeComponent, decorators: [{
240
282
  type: Component,
241
283
  args: [{
242
284
  selector: 'kendo-badge',
@@ -248,7 +290,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
248
290
  }
249
291
  ],
250
292
  template: `<ng-content></ng-content>`,
251
- standalone: true
293
+ standalone: true,
294
+ changeDetection: ChangeDetectionStrategy.OnPush
252
295
  }]
253
296
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }], propDecorators: { hostClass: [{
254
297
  type: HostBinding,
@@ -312,38 +355,38 @@ class LoaderComponent {
312
355
  * @default pulsing
313
356
  */
314
357
  set type(type) {
315
- this.renderer.removeClass(this.loader, TYPE_CLASSES[this.type]);
358
+ this.renderer.removeClass(this.loader, TYPE_CLASSES[this._type()]);
316
359
  this.renderer.addClass(this.loader, TYPE_CLASSES[type]);
317
- this._type = type;
360
+ this._type.set(type);
318
361
  }
319
362
  get type() {
320
- return this._type;
363
+ return this._type();
321
364
  }
322
365
  /**
323
366
  * Specifies the theme color of the Loader. The default value is set by the Kendo theme.
324
367
  */
325
368
  set themeColor(themeColor) {
326
- this.renderer.removeClass(this.loader, `k-loader-${this.themeColor}`);
369
+ this.renderer.removeClass(this.loader, `k-loader-${this._themeColor()}`);
327
370
  this.renderer.addClass(this.loader, `k-loader-${themeColor}`);
328
- this._themeColor = themeColor;
371
+ this._themeColor.set(themeColor);
329
372
  }
330
373
  get themeColor() {
331
- return this._themeColor;
374
+ return this._themeColor();
332
375
  }
333
376
  /**
334
377
  * Specifies the size of the Loader. The default value is set by the Kendo theme.
335
378
  */
336
379
  set size(size) {
337
- this.renderer.removeClass(this.loader, SIZE_CLASSES[this.size]);
380
+ this.renderer.removeClass(this.loader, SIZE_CLASSES[this._size()]);
338
381
  this.renderer.addClass(this.loader, SIZE_CLASSES[size]);
339
- this._size = size;
382
+ this._size.set(size);
340
383
  }
341
384
  get size() {
342
- return this._size;
385
+ return this._size();
343
386
  }
344
- _type = 'pulsing';
345
- _themeColor;
346
- _size;
387
+ _type = signal('pulsing', ...(ngDevMode ? [{ debugName: "_type" }] : []));
388
+ _themeColor = signal(undefined, ...(ngDevMode ? [{ debugName: "_themeColor" }] : []));
389
+ _size = signal(undefined, ...(ngDevMode ? [{ debugName: "_size" }] : []));
347
390
  loader;
348
391
  constructor(element, renderer) {
349
392
  this.element = element;
@@ -365,16 +408,16 @@ class LoaderComponent {
365
408
  this.themeColor && this.renderer.addClass(this.loader, `k-loader-${this.themeColor}`);
366
409
  this.size && this.renderer.addClass(this.loader, SIZE_CLASSES[this.size]);
367
410
  }
368
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LoaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
369
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: LoaderComponent, isStandalone: true, selector: "kendo-loader", inputs: { type: "type", themeColor: "themeColor", size: "size" }, host: { properties: { "class.k-loader": "this.hostClass", "attr.role": "this.role" } }, ngImport: i0, template: `
411
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LoaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
412
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: LoaderComponent, isStandalone: true, selector: "kendo-loader", inputs: { type: "type", themeColor: "themeColor", size: "size" }, host: { properties: { "class.k-loader": "this.hostClass", "attr.role": "this.role" } }, ngImport: i0, template: `
370
413
  <div class="k-loader-canvas">
371
414
  @for (segment of segmentCount; track $index) {
372
415
  <span class="k-loader-segment"></span>
373
416
  }
374
417
  </div>
375
- `, isInline: true });
418
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
376
419
  }
377
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LoaderComponent, decorators: [{
420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LoaderComponent, decorators: [{
378
421
  type: Component,
379
422
  args: [{
380
423
  selector: 'kendo-loader',
@@ -386,7 +429,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
386
429
  </div>
387
430
  `,
388
431
  standalone: true,
389
- imports: []
432
+ imports: [],
433
+ changeDetection: ChangeDetectionStrategy.OnPush
390
434
  }]
391
435
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { hostClass: [{
392
436
  type: HostBinding,
@@ -458,16 +502,17 @@ class SkeletonComponent {
458
502
  if (isDevMode() && validAnimations.indexOf(animation) === -1) {
459
503
  throw new Error(skeletonAnimationError(animation));
460
504
  }
461
- if (this.animation) {
462
- this.renderer.removeClass(this.hostElement.nativeElement, ANIMATION_CLASSES[this.animation]);
505
+ const currentAnimation = this._animation();
506
+ if (currentAnimation && ANIMATION_CLASSES[currentAnimation]) {
507
+ this.renderer.removeClass(this.hostElement.nativeElement, ANIMATION_CLASSES[currentAnimation]);
463
508
  }
464
509
  if (animation) {
465
510
  this.renderer.addClass(this.hostElement.nativeElement, ANIMATION_CLASSES[animation]);
466
511
  }
467
- this._animation = animation;
512
+ this._animation.set(animation);
468
513
  }
469
514
  get animation() {
470
- return this._animation;
515
+ return this._animation();
471
516
  }
472
517
  /**
473
518
  * Specifies the shape of the Skeleton.
@@ -478,12 +523,12 @@ class SkeletonComponent {
478
523
  if (isDevMode() && validShapes.indexOf(shape) === -1) {
479
524
  throw new Error(skeletonShapeError(shape));
480
525
  }
481
- this.renderer.removeClass(this.hostElement.nativeElement, SHAPE_CLASSES[this.shape]);
526
+ this.renderer.removeClass(this.hostElement.nativeElement, SHAPE_CLASSES[this._shape()]);
482
527
  this.renderer.addClass(this.hostElement.nativeElement, SHAPE_CLASSES[shape]);
483
- this._shape = shape;
528
+ this._shape.set(shape);
484
529
  }
485
530
  get shape() {
486
- return this._shape;
531
+ return this._shape();
487
532
  }
488
533
  /**
489
534
  * Specifies the width of the Skeleton component.
@@ -491,8 +536,12 @@ class SkeletonComponent {
491
536
  * Accepts a string like `100px`, `3em`, or `50%`, or an integer number for pixels.
492
537
  */
493
538
  set width(width) {
539
+ this._width.set(width);
494
540
  this.renderer.setStyle(this.hostElement.nativeElement, "width", typeof width === "string" ? width : width + "px");
495
541
  }
542
+ get width() {
543
+ return this._width();
544
+ }
496
545
  /**
497
546
  * Specifies the height of the Skeleton component.
498
547
  * Required for `circle` and `rectangle` shapes.
@@ -500,10 +549,16 @@ class SkeletonComponent {
500
549
  * Accepts a string like `100px`, `3em`, or `50%`, or an integer number for pixels.
501
550
  */
502
551
  set height(height) {
552
+ this._height.set(height);
503
553
  this.renderer.setStyle(this.hostElement.nativeElement, "height", typeof height === "string" ? height : height + "px");
504
554
  }
505
- _animation = "pulse";
506
- _shape = 'text';
555
+ get height() {
556
+ return this._height();
557
+ }
558
+ _animation = signal("pulse", ...(ngDevMode ? [{ debugName: "_animation" }] : []));
559
+ _shape = signal('text', ...(ngDevMode ? [{ debugName: "_shape" }] : []));
560
+ _width = signal(undefined, ...(ngDevMode ? [{ debugName: "_width" }] : []));
561
+ _height = signal(undefined, ...(ngDevMode ? [{ debugName: "_height" }] : []));
507
562
  constructor(renderer, hostElement) {
508
563
  this.renderer = renderer;
509
564
  this.hostElement = hostElement;
@@ -515,10 +570,10 @@ class SkeletonComponent {
515
570
  hostElement.classList.add(ANIMATION_CLASSES[this.animation]);
516
571
  }
517
572
  }
518
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SkeletonComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
519
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: SkeletonComponent, isStandalone: true, selector: "kendo-skeleton", inputs: { animation: "animation", shape: "shape", width: "width", height: "height" }, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
573
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SkeletonComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
574
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: SkeletonComponent, isStandalone: true, selector: "kendo-skeleton", inputs: { animation: "animation", shape: "shape", width: "width", height: "height" }, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
520
575
  }
521
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SkeletonComponent, decorators: [{
576
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SkeletonComponent, decorators: [{
522
577
  type: Component,
523
578
  args: [{
524
579
  selector: "kendo-skeleton",
@@ -576,11 +631,11 @@ const KENDO_INDICATORS = [
576
631
  * definition for the Badge and BadgeContainer components.
577
632
  */
578
633
  class BadgeModule {
579
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
580
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: BadgeModule, imports: [BadgeComponent, BadgeContainerComponent], exports: [BadgeComponent, BadgeContainerComponent] });
581
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BadgeModule });
634
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: BadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
635
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.26", ngImport: i0, type: BadgeModule, imports: [BadgeComponent, BadgeContainerComponent], exports: [BadgeComponent, BadgeContainerComponent] });
636
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: BadgeModule });
582
637
  }
583
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BadgeModule, decorators: [{
638
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: BadgeModule, decorators: [{
584
639
  type: NgModule,
585
640
  args: [{
586
641
  exports: [...KENDO_BADGECONTAINER],
@@ -594,11 +649,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
594
649
  * definition for the Loader component.
595
650
  */
596
651
  class LoaderModule {
597
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
598
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: LoaderModule, imports: [LoaderComponent], exports: [LoaderComponent] });
599
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LoaderModule });
652
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
653
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.26", ngImport: i0, type: LoaderModule, imports: [LoaderComponent], exports: [LoaderComponent] });
654
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LoaderModule });
600
655
  }
601
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LoaderModule, decorators: [{
656
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LoaderModule, decorators: [{
602
657
  type: NgModule,
603
658
  args: [{
604
659
  exports: [...KENDO_LOADER],
@@ -612,11 +667,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
612
667
  * definition for the Skeleton component.
613
668
  */
614
669
  class SkeletonModule {
615
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
616
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: SkeletonModule, imports: [SkeletonComponent], exports: [SkeletonComponent] });
617
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SkeletonModule });
670
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
671
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.26", ngImport: i0, type: SkeletonModule, imports: [SkeletonComponent], exports: [SkeletonComponent] });
672
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SkeletonModule });
618
673
  }
619
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SkeletonModule, decorators: [{
674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: SkeletonModule, decorators: [{
620
675
  type: NgModule,
621
676
  args: [{
622
677
  exports: [...KENDO_SKELETON],
@@ -648,11 +703,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
648
703
  * ```
649
704
  */
650
705
  class IndicatorsModule {
651
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: IndicatorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
652
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: IndicatorsModule, imports: [BadgeComponent, BadgeContainerComponent, LoaderComponent, SkeletonComponent], exports: [BadgeComponent, BadgeContainerComponent, LoaderComponent, SkeletonComponent] });
653
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: IndicatorsModule });
706
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: IndicatorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
707
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.26", ngImport: i0, type: IndicatorsModule, imports: [BadgeComponent, BadgeContainerComponent, LoaderComponent, SkeletonComponent], exports: [BadgeComponent, BadgeContainerComponent, LoaderComponent, SkeletonComponent] });
708
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: IndicatorsModule });
654
709
  }
655
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: IndicatorsModule, decorators: [{
710
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: IndicatorsModule, decorators: [{
656
711
  type: NgModule,
657
712
  args: [{
658
713
  imports: [...KENDO_INDICATORS],
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, OnChanges, ElementRef, Renderer2 } from '@angular/core';
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 {
@@ -105,10 +105,11 @@ type BadgeRounded = 'small' | 'medium' | 'large' | 'full' | 'none';
105
105
  * * `edge` (Default)&mdash;The center of the Badge is positioned on the edge of the parent container element.
106
106
  * * `inside`&mdash;The Badge is entirely positioned inside the edge of the parent container element.
107
107
  * * `outside`&mdash;The Badge is entirely positioned outside the edge of the parent container element.
108
+ * * `none`&mdash;The Badge does not render a position class.
108
109
  *
109
110
  * For more information, see the [Badge Alignment and Position - Position](https://www.telerik.com/kendo-angular-ui/components/indicators/badge/align-and-position#position) documentation.
110
111
  */
111
- type BadgePosition = 'edge' | 'outside' | 'inside';
112
+ type BadgePosition = 'edge' | 'outside' | 'inside' | 'none';
112
113
 
113
114
  /**
114
115
  * Represents the [Kendo UI Badge component for Angular](https://www.telerik.com/kendo-angular-ui/components/indicators/badge).
@@ -121,7 +122,7 @@ type BadgePosition = 'edge' | 'outside' | 'inside';
121
122
  * <kendo-badge size="large" themeColor="success">99+</kendo-badge>
122
123
  * ```
123
124
  */
124
- declare class BadgeComponent implements AfterViewInit, OnChanges, OnDestroy {
125
+ declare class BadgeComponent implements AfterViewInit, OnDestroy {
125
126
  private element;
126
127
  private renderer;
127
128
  private localizationService;
@@ -136,52 +137,59 @@ declare class BadgeComponent implements AfterViewInit, OnChanges, OnDestroy {
136
137
  *
137
138
  * @default "{ vertical: 'top', horizontal: 'end' }"
138
139
  */
139
- get align(): BadgeAlign;
140
140
  set align(align: BadgeAlign);
141
+ get align(): BadgeAlign;
141
142
  /**
142
143
  * 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
144
  */
144
- size: BadgeSize;
145
+ set size(value: BadgeSize);
146
+ get size(): BadgeSize;
145
147
  /**
146
148
  * 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
149
  */
148
- fill: BadgeFill;
150
+ set fill(value: BadgeFill);
151
+ get fill(): BadgeFill;
149
152
  /**
150
153
  * Specifies the theme color of the Badge.
151
154
  * The theme color applies as background and border color, while also amending the text color accordingly
152
155
  * ([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
156
  */
154
- themeColor: BadgeThemeColor;
157
+ set themeColor(value: BadgeThemeColor);
158
+ get themeColor(): BadgeThemeColor;
155
159
  /**
156
160
  * 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
161
  */
158
- rounded: BadgeRounded;
162
+ set rounded(value: BadgeRounded);
163
+ get rounded(): BadgeRounded;
159
164
  /**
160
165
  * 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
166
  *
162
167
  * @default edge
163
168
  */
164
- position: BadgePosition;
169
+ set position(value: BadgePosition);
170
+ get position(): BadgePosition;
165
171
  /**
166
172
  * 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
173
  *
168
174
  * @default false
169
175
  */
170
- cutoutBorder: boolean;
176
+ set cutoutBorder(value: boolean);
177
+ get cutoutBorder(): boolean;
178
+ private _align;
179
+ private _size;
180
+ private _fill;
181
+ private _themeColor;
182
+ private _rounded;
183
+ private _position;
184
+ private _cutoutBorder;
171
185
  private badgeClasses;
172
- private badgeAlign;
186
+ private computedBadgeClasses;
187
+ private badgeClassEffect;
173
188
  private dynamicRTLSubscription;
174
189
  private rtl;
175
190
  constructor(element: ElementRef, renderer: Renderer2, localizationService: LocalizationService);
176
191
  ngAfterViewInit(): void;
177
- ngOnChanges(): void;
178
192
  ngOnDestroy(): void;
179
- private alignClass;
180
- private positionClass;
181
- private sizeClass;
182
- private roundedClass;
183
- private themeColorClass;
184
- private fillClass;
185
193
  private setBadgeClasses;
186
194
  static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
187
195
  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 +332,7 @@ declare class SkeletonComponent implements AfterViewInit {
324
332
  * Accepts a string like `100px`, `3em`, or `50%`, or an integer number for pixels.
325
333
  */
326
334
  set width(width: string | number);
335
+ get width(): string | number;
327
336
  /**
328
337
  * Specifies the height of the Skeleton component.
329
338
  * Required for `circle` and `rectangle` shapes.
@@ -331,8 +340,11 @@ declare class SkeletonComponent implements AfterViewInit {
331
340
  * Accepts a string like `100px`, `3em`, or `50%`, or an integer number for pixels.
332
341
  */
333
342
  set height(height: string | number);
343
+ get height(): string | number;
334
344
  private _animation;
335
345
  private _shape;
346
+ private _width;
347
+ private _height;
336
348
  constructor(renderer: Renderer2, hostElement: ElementRef);
337
349
  ngAfterViewInit(): void;
338
350
  static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1783679819,
11
- "version": "25.0.0-develop.1",
10
+ "publishDate": 1785426733,
11
+ "version": "25.0.0-develop.13",
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.1",
3
+ "version": "25.0.0-develop.13",
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": 1783679819,
38
+ "publishDate": 1785426733,
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.1",
49
- "@progress/kendo-angular-intl": "25.0.0-develop.1",
50
- "@progress/kendo-angular-l10n": "25.0.0-develop.1",
48
+ "@progress/kendo-angular-common": "25.0.0-develop.13",
49
+ "@progress/kendo-angular-intl": "25.0.0-develop.13",
50
+ "@progress/kendo-angular-l10n": "25.0.0-develop.13",
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.1"
55
+ "@progress/kendo-angular-schematics": "25.0.0-develop.13"
56
56
  },
57
57
  "schematics": "./schematics/collection.json",
58
58
  "module": "fesm2022/progress-kendo-angular-indicators.mjs",