@progress/kendo-angular-layout 22.1.0-develop.18 → 22.1.0-develop.19
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/avatar/avatar.component.d.ts +7 -7
- package/avatar/models/fill.d.ts +1 -1
- package/avatar/models/size.d.ts +1 -1
- package/avatar/models/theme-color.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-layout.mjs +54 -72
- package/package-metadata.mjs +2 -2
- package/package.json +9 -9
- package/tabstrip/models/size.d.ts +1 -1
- package/tabstrip/tabstrip.component.d.ts +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2026 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 { OnInit, Renderer2, ElementRef
|
|
5
|
+
import { OnInit, Renderer2, ElementRef } from '@angular/core';
|
|
6
6
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { AvatarFillMode, AvatarShape, AvatarSize, AvatarThemeColor, AvatarRounded } from './models/models';
|
|
@@ -29,7 +29,7 @@ import * as i0 from "@angular/core";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Supported children components are: {@link AvatarCustomMessagesComponent}.
|
|
31
31
|
*/
|
|
32
|
-
export declare class AvatarComponent implements OnInit
|
|
32
|
+
export declare class AvatarComponent implements OnInit {
|
|
33
33
|
private localization;
|
|
34
34
|
private renderer;
|
|
35
35
|
private element;
|
|
@@ -51,7 +51,7 @@ export declare class AvatarComponent implements OnInit, AfterViewInit {
|
|
|
51
51
|
* Specifies the size of the Avatar
|
|
52
52
|
* ([see example]({% slug appearance_avatar %}#toc-size)).
|
|
53
53
|
*
|
|
54
|
-
* @default
|
|
54
|
+
* @default undefined
|
|
55
55
|
*/
|
|
56
56
|
set size(size: AvatarSize);
|
|
57
57
|
get size(): AvatarSize;
|
|
@@ -59,7 +59,7 @@ export declare class AvatarComponent implements OnInit, AfterViewInit {
|
|
|
59
59
|
* Specifies the rounded styling of the Avatar
|
|
60
60
|
* ([see example](slug:appearance_avatar#toc-roundness)).
|
|
61
61
|
*
|
|
62
|
-
* @default
|
|
62
|
+
* @default undefined
|
|
63
63
|
*/
|
|
64
64
|
set rounded(rounded: AvatarRounded);
|
|
65
65
|
get rounded(): AvatarRounded;
|
|
@@ -67,14 +67,14 @@ export declare class AvatarComponent implements OnInit, AfterViewInit {
|
|
|
67
67
|
* Specifies the theme color of the Avatar.
|
|
68
68
|
* The theme color applies as background and border color while adjusting the text color accordingly.
|
|
69
69
|
*
|
|
70
|
-
* @default
|
|
70
|
+
* @default undefined
|
|
71
71
|
*/
|
|
72
72
|
set themeColor(themeColor: AvatarThemeColor);
|
|
73
73
|
get themeColor(): AvatarThemeColor;
|
|
74
74
|
/**
|
|
75
75
|
* Specifies the fill style of the Avatar.
|
|
76
76
|
*
|
|
77
|
-
* @default
|
|
77
|
+
* @default undefined
|
|
78
78
|
*/
|
|
79
79
|
set fillMode(fillMode: AvatarFillMode);
|
|
80
80
|
get fillMode(): AvatarFillMode;
|
|
@@ -141,9 +141,9 @@ export declare class AvatarComponent implements OnInit, AfterViewInit {
|
|
|
141
141
|
private _fillMode;
|
|
142
142
|
private _rounded;
|
|
143
143
|
private _svgIcon;
|
|
144
|
+
private _themeColorClasses;
|
|
144
145
|
constructor(localization: LocalizationService, renderer: Renderer2, element: ElementRef);
|
|
145
146
|
ngOnInit(): void;
|
|
146
|
-
ngAfterViewInit(): void;
|
|
147
147
|
/**
|
|
148
148
|
* @hidden
|
|
149
149
|
*/
|
package/avatar/models/fill.d.ts
CHANGED
package/avatar/models/size.d.ts
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* Defines the possible theme colors of the Avatar ([see example]({% slug appearance_avatar %}#toc-theme-color)).
|
|
7
7
|
*/
|
|
8
|
-
export type AvatarThemeColor = 'primary' | 'secondary' | 'tertiary' | 'base' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse'
|
|
8
|
+
export type AvatarThemeColor = 'primary' | 'secondary' | 'tertiary' | 'base' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
|
|
@@ -30,7 +30,7 @@ const packageMetadata = {
|
|
|
30
30
|
productCode: 'KENDOUIANGULAR',
|
|
31
31
|
productCodes: ['KENDOUIANGULAR'],
|
|
32
32
|
publishDate: 1645546576,
|
|
33
|
-
version: '22.1.0-develop.
|
|
33
|
+
version: '22.1.0-develop.19',
|
|
34
34
|
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'
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -185,7 +185,8 @@ const ROUNDNESS = {
|
|
|
185
185
|
small: 'sm',
|
|
186
186
|
medium: 'md',
|
|
187
187
|
large: 'lg',
|
|
188
|
-
full: 'full'
|
|
188
|
+
full: 'full',
|
|
189
|
+
none: 'none',
|
|
189
190
|
};
|
|
190
191
|
const SHAPE_TO_ROUNDED = {
|
|
191
192
|
rounded: 'large',
|
|
@@ -233,16 +234,18 @@ const isNavigationKey = keyCode => keyCode === Keys.PageUp || keyCode === Keys.P
|
|
|
233
234
|
*/
|
|
234
235
|
const getStylingClasses = (componentType, stylingOption, previousValue, newValue) => {
|
|
235
236
|
switch (stylingOption) {
|
|
236
|
-
case 'size':
|
|
237
|
+
case 'size': {
|
|
237
238
|
return {
|
|
238
|
-
toRemove: `k-${componentType}-${SIZES[previousValue]}
|
|
239
|
-
toAdd: newValue
|
|
239
|
+
toRemove: previousValue && SIZES[previousValue] ? `k-${componentType}-${SIZES[previousValue]}` : null,
|
|
240
|
+
toAdd: newValue && SIZES[newValue] ? `k-${componentType}-${SIZES[newValue]}` : null
|
|
240
241
|
};
|
|
241
|
-
|
|
242
|
+
}
|
|
243
|
+
case 'rounded': {
|
|
242
244
|
return {
|
|
243
|
-
toRemove: `k-rounded-${ROUNDNESS[previousValue]}
|
|
244
|
-
toAdd: newValue
|
|
245
|
+
toRemove: previousValue && ROUNDNESS[previousValue] ? `k-rounded-${ROUNDNESS[previousValue]}` : null,
|
|
246
|
+
toAdd: newValue && ROUNDNESS[newValue] ? `k-rounded-${ROUNDNESS[newValue]}` : null
|
|
245
247
|
};
|
|
248
|
+
}
|
|
246
249
|
default:
|
|
247
250
|
break;
|
|
248
251
|
}
|
|
@@ -250,7 +253,7 @@ const getStylingClasses = (componentType, stylingOption, previousValue, newValue
|
|
|
250
253
|
/**
|
|
251
254
|
* @hidden
|
|
252
255
|
*/
|
|
253
|
-
const mapShapeToRounded = (shape) => SHAPE_TO_ROUNDED[shape] ||
|
|
256
|
+
const mapShapeToRounded = (shape) => SHAPE_TO_ROUNDED[shape] || undefined;
|
|
254
257
|
/**
|
|
255
258
|
* @hidden
|
|
256
259
|
*/
|
|
@@ -4192,7 +4195,7 @@ class TabStripComponent {
|
|
|
4192
4195
|
/**
|
|
4193
4196
|
* Sets the size of the TabStrip.
|
|
4194
4197
|
* [See example](slug:api_layout_tabstripcomponent#toc-size).
|
|
4195
|
-
* @default
|
|
4198
|
+
* @default undefined
|
|
4196
4199
|
*/
|
|
4197
4200
|
set size(value) {
|
|
4198
4201
|
switch (value) {
|
|
@@ -4211,10 +4214,6 @@ class TabStripComponent {
|
|
|
4211
4214
|
this.renderer.removeClass(this.wrapper.nativeElement, 'k-tabstrip-sm');
|
|
4212
4215
|
this.renderer.addClass(this.wrapper.nativeElement, 'k-tabstrip-lg');
|
|
4213
4216
|
break;
|
|
4214
|
-
case 'none':
|
|
4215
|
-
this.renderer.removeClass(this.wrapper.nativeElement, 'k-tabstrip-md');
|
|
4216
|
-
this.renderer.removeClass(this.wrapper.nativeElement, 'k-tabstrip-lg');
|
|
4217
|
-
this.renderer.removeClass(this.wrapper.nativeElement, 'k-tabstrip-sm');
|
|
4218
4217
|
}
|
|
4219
4218
|
this._size = value;
|
|
4220
4219
|
this.ngZone.onStable.pipe(take(1)).subscribe(() => this.onResize());
|
|
@@ -4327,7 +4326,7 @@ class TabStripComponent {
|
|
|
4327
4326
|
tabStripId = guid();
|
|
4328
4327
|
tabsChangesSub;
|
|
4329
4328
|
activeStateChangeSub;
|
|
4330
|
-
_size
|
|
4329
|
+
_size;
|
|
4331
4330
|
constructor(localization, renderer, wrapper, tabstripService, scrollService, ngZone) {
|
|
4332
4331
|
this.localization = localization;
|
|
4333
4332
|
this.renderer = renderer;
|
|
@@ -4582,7 +4581,7 @@ class TabStripComponent {
|
|
|
4582
4581
|
}
|
|
4583
4582
|
}
|
|
4584
4583
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TabStripComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TabStripService }, { token: ScrollService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4585
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: TabStripComponent, isStandalone: true, selector: "kendo-tabstrip", inputs: { height: "height", animate: "animate", tabAlignment: "tabAlignment", tabPosition: "tabPosition", keepTabContent: "keepTabContent", closable: "closable", scrollable: "scrollable", size: "size", closeIcon: "closeIcon", closeIconClass: "closeIconClass", closeSVGIcon: "closeSVGIcon", showContentArea: "showContentArea" }, outputs: { tabSelect: "tabSelect", tabClose: "tabClose", tabScroll: "tabScroll" }, host: { properties: { "class.k-tabstrip": "this.hostClasses", "class.k-tabstrip-
|
|
4584
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: TabStripComponent, isStandalone: true, selector: "kendo-tabstrip", inputs: { height: "height", animate: "animate", tabAlignment: "tabAlignment", tabPosition: "tabPosition", keepTabContent: "keepTabContent", closable: "closable", scrollable: "scrollable", size: "size", closeIcon: "closeIcon", closeIconClass: "closeIconClass", closeSVGIcon: "closeSVGIcon", showContentArea: "showContentArea" }, outputs: { tabSelect: "tabSelect", tabClose: "tabClose", tabScroll: "tabScroll" }, host: { properties: { "class.k-tabstrip": "this.hostClasses", "class.k-tabstrip-top": "this.tabsAtTop", "class.k-tabstrip-right": "this.tabsAtRight", "class.k-tabstrip-bottom": "this.tabsAtBottom", "class.k-tabstrip-left": "this.tabsAtLeft", "attr.dir": "this.dir", "class.k-tabstrip-scrollable": "this.tabStripScrollable", "class.k-tabstrip-scrollable-overlay": "this.tabStripScrollableOverlay" } }, providers: [
|
|
4586
4585
|
TabStripService,
|
|
4587
4586
|
ScrollService,
|
|
4588
4587
|
LocalizationService,
|
|
@@ -4627,10 +4626,10 @@ class TabStripComponent {
|
|
|
4627
4626
|
[prev]="true"
|
|
4628
4627
|
[title]="localization.get('previousTabButton')"
|
|
4629
4628
|
(tabScroll)="tabScroll.emit($event)"
|
|
4630
|
-
class="k-icon-button k-button k-button-flat k-
|
|
4629
|
+
class="k-icon-button k-button k-button-flat k-rounded-none"
|
|
4631
4630
|
[ngClass]="{
|
|
4632
4631
|
'k-button-sm': size === 'small',
|
|
4633
|
-
'k-button-md': size === 'medium'
|
|
4632
|
+
'k-button-md': size === 'medium',
|
|
4634
4633
|
'k-button-lg': size === 'large'
|
|
4635
4634
|
}"
|
|
4636
4635
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
@@ -4645,10 +4644,10 @@ class TabStripComponent {
|
|
|
4645
4644
|
[prev]="false"
|
|
4646
4645
|
[title]="localization.get('nextTabButton')"
|
|
4647
4646
|
(tabScroll)="tabScroll.emit($event)"
|
|
4648
|
-
class="k-icon-button k-button k-button-flat k-
|
|
4647
|
+
class="k-icon-button k-button k-button-flat k-rounded-none"
|
|
4649
4648
|
[ngClass]="{
|
|
4650
4649
|
'k-button-sm': size === 'small',
|
|
4651
|
-
'k-button-md': size === 'medium'
|
|
4650
|
+
'k-button-md': size === 'medium',
|
|
4652
4651
|
'k-button-lg': size === 'large'
|
|
4653
4652
|
}"
|
|
4654
4653
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
@@ -4696,10 +4695,10 @@ class TabStripComponent {
|
|
|
4696
4695
|
[prev]="true"
|
|
4697
4696
|
[title]="localization.get('previousTabButton')"
|
|
4698
4697
|
(tabScroll)="tabScroll.emit($event)"
|
|
4699
|
-
class="k-icon-button k-button k-button-flat k-
|
|
4698
|
+
class="k-icon-button k-button k-button-flat k-rounded-none"
|
|
4700
4699
|
[ngClass]="{
|
|
4701
4700
|
'k-button-sm': size === 'small',
|
|
4702
|
-
'k-button-md': size === 'medium'
|
|
4701
|
+
'k-button-md': size === 'medium',
|
|
4703
4702
|
'k-button-lg': size === 'large'
|
|
4704
4703
|
}"
|
|
4705
4704
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
@@ -4714,10 +4713,10 @@ class TabStripComponent {
|
|
|
4714
4713
|
[prev]="false"
|
|
4715
4714
|
[title]="localization.get('nextTabButton')"
|
|
4716
4715
|
(tabScroll)="tabScroll.emit($event)"
|
|
4717
|
-
class="k-icon-button k-button k-button-flat k-
|
|
4716
|
+
class="k-icon-button k-button k-button-flat k-rounded-none"
|
|
4718
4717
|
[ngClass]="{
|
|
4719
4718
|
'k-button-sm': size === 'small',
|
|
4720
|
-
'k-button-md': size === 'medium'
|
|
4719
|
+
'k-button-md': size === 'medium',
|
|
4721
4720
|
'k-button-lg': size === 'large'
|
|
4722
4721
|
}"
|
|
4723
4722
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
@@ -4820,10 +4819,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4820
4819
|
[prev]="true"
|
|
4821
4820
|
[title]="localization.get('previousTabButton')"
|
|
4822
4821
|
(tabScroll)="tabScroll.emit($event)"
|
|
4823
|
-
class="k-icon-button k-button k-button-flat k-
|
|
4822
|
+
class="k-icon-button k-button k-button-flat k-rounded-none"
|
|
4824
4823
|
[ngClass]="{
|
|
4825
4824
|
'k-button-sm': size === 'small',
|
|
4826
|
-
'k-button-md': size === 'medium'
|
|
4825
|
+
'k-button-md': size === 'medium',
|
|
4827
4826
|
'k-button-lg': size === 'large'
|
|
4828
4827
|
}"
|
|
4829
4828
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
@@ -4838,10 +4837,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4838
4837
|
[prev]="false"
|
|
4839
4838
|
[title]="localization.get('nextTabButton')"
|
|
4840
4839
|
(tabScroll)="tabScroll.emit($event)"
|
|
4841
|
-
class="k-icon-button k-button k-button-flat k-
|
|
4840
|
+
class="k-icon-button k-button k-button-flat k-rounded-none"
|
|
4842
4841
|
[ngClass]="{
|
|
4843
4842
|
'k-button-sm': size === 'small',
|
|
4844
|
-
'k-button-md': size === 'medium'
|
|
4843
|
+
'k-button-md': size === 'medium',
|
|
4845
4844
|
'k-button-lg': size === 'large'
|
|
4846
4845
|
}"
|
|
4847
4846
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
@@ -4889,10 +4888,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4889
4888
|
[prev]="true"
|
|
4890
4889
|
[title]="localization.get('previousTabButton')"
|
|
4891
4890
|
(tabScroll)="tabScroll.emit($event)"
|
|
4892
|
-
class="k-icon-button k-button k-button-flat k-
|
|
4891
|
+
class="k-icon-button k-button k-button-flat k-rounded-none"
|
|
4893
4892
|
[ngClass]="{
|
|
4894
4893
|
'k-button-sm': size === 'small',
|
|
4895
|
-
'k-button-md': size === 'medium'
|
|
4894
|
+
'k-button-md': size === 'medium',
|
|
4896
4895
|
'k-button-lg': size === 'large'
|
|
4897
4896
|
}"
|
|
4898
4897
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
@@ -4907,10 +4906,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4907
4906
|
[prev]="false"
|
|
4908
4907
|
[title]="localization.get('nextTabButton')"
|
|
4909
4908
|
(tabScroll)="tabScroll.emit($event)"
|
|
4910
|
-
class="k-icon-button k-button k-button-flat k-
|
|
4909
|
+
class="k-icon-button k-button k-button-flat k-rounded-none"
|
|
4911
4910
|
[ngClass]="{
|
|
4912
4911
|
'k-button-sm': size === 'small',
|
|
4913
|
-
'k-button-md': size === 'medium'
|
|
4912
|
+
'k-button-md': size === 'medium',
|
|
4914
4913
|
'k-button-lg': size === 'large'
|
|
4915
4914
|
}"
|
|
4916
4915
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
@@ -4980,9 +4979,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4980
4979
|
}], hostClasses: [{
|
|
4981
4980
|
type: HostBinding,
|
|
4982
4981
|
args: ['class.k-tabstrip']
|
|
4983
|
-
}, {
|
|
4984
|
-
type: HostBinding,
|
|
4985
|
-
args: ['class.k-tabstrip-md']
|
|
4986
4982
|
}], tabsAtTop: [{
|
|
4987
4983
|
type: HostBinding,
|
|
4988
4984
|
args: ['class.k-tabstrip-top']
|
|
@@ -7898,10 +7894,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7898
7894
|
}]
|
|
7899
7895
|
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
7900
7896
|
|
|
7901
|
-
const DEFAULT_ROUNDED = 'full';
|
|
7902
|
-
const DEFAULT_SIZE = 'medium';
|
|
7903
|
-
const DEFAULT_THEME_COLOR = 'primary';
|
|
7904
|
-
const DEFAULT_FILL_MODE = 'solid';
|
|
7905
7897
|
/**
|
|
7906
7898
|
* Represents the Kendo UI Avatar component for Angular. Displays images, icons, or initials representing people or other entities.
|
|
7907
7899
|
*
|
|
@@ -7952,13 +7944,12 @@ class AvatarComponent {
|
|
|
7952
7944
|
* Specifies the size of the Avatar
|
|
7953
7945
|
* ([see example]({% slug appearance_avatar %}#toc-size)).
|
|
7954
7946
|
*
|
|
7955
|
-
* @default
|
|
7947
|
+
* @default undefined
|
|
7956
7948
|
*/
|
|
7957
7949
|
set size(size) {
|
|
7958
7950
|
if (size !== this._size) {
|
|
7959
|
-
|
|
7960
|
-
this.
|
|
7961
|
-
this._size = newSize;
|
|
7951
|
+
this.handleClasses('size', size);
|
|
7952
|
+
this._size = size;
|
|
7962
7953
|
}
|
|
7963
7954
|
}
|
|
7964
7955
|
get size() {
|
|
@@ -7968,13 +7959,12 @@ class AvatarComponent {
|
|
|
7968
7959
|
* Specifies the rounded styling of the Avatar
|
|
7969
7960
|
* ([see example](slug:appearance_avatar#toc-roundness)).
|
|
7970
7961
|
*
|
|
7971
|
-
* @default
|
|
7962
|
+
* @default undefined
|
|
7972
7963
|
*/
|
|
7973
7964
|
set rounded(rounded) {
|
|
7974
|
-
if (rounded !== this.
|
|
7975
|
-
|
|
7976
|
-
this.
|
|
7977
|
-
this._rounded = newRounded;
|
|
7965
|
+
if (rounded !== this.rounded) {
|
|
7966
|
+
this.handleClasses('rounded', rounded);
|
|
7967
|
+
this._rounded = rounded;
|
|
7978
7968
|
}
|
|
7979
7969
|
}
|
|
7980
7970
|
get rounded() {
|
|
@@ -7984,12 +7974,11 @@ class AvatarComponent {
|
|
|
7984
7974
|
* Specifies the theme color of the Avatar.
|
|
7985
7975
|
* The theme color applies as background and border color while adjusting the text color accordingly.
|
|
7986
7976
|
*
|
|
7987
|
-
* @default
|
|
7977
|
+
* @default undefined
|
|
7988
7978
|
*/
|
|
7989
7979
|
set themeColor(themeColor) {
|
|
7990
7980
|
if (themeColor !== this._themeColor) {
|
|
7991
|
-
|
|
7992
|
-
this._themeColor = newThemeColor;
|
|
7981
|
+
this._themeColor = themeColor;
|
|
7993
7982
|
this.handleFillModeAndThemeColorClasses(this.fillMode, this.themeColor);
|
|
7994
7983
|
}
|
|
7995
7984
|
}
|
|
@@ -7999,12 +7988,11 @@ class AvatarComponent {
|
|
|
7999
7988
|
/**
|
|
8000
7989
|
* Specifies the fill style of the Avatar.
|
|
8001
7990
|
*
|
|
8002
|
-
* @default
|
|
7991
|
+
* @default undefined
|
|
8003
7992
|
*/
|
|
8004
7993
|
set fillMode(fillMode) {
|
|
8005
7994
|
if (fillMode !== this.fillMode) {
|
|
8006
|
-
|
|
8007
|
-
this._fillMode = newFillMode;
|
|
7995
|
+
this._fillMode = fillMode;
|
|
8008
7996
|
this.handleFillModeAndThemeColorClasses(this.fillMode, this.themeColor);
|
|
8009
7997
|
}
|
|
8010
7998
|
}
|
|
@@ -8082,11 +8070,12 @@ class AvatarComponent {
|
|
|
8082
8070
|
get svgIcon() {
|
|
8083
8071
|
return this._svgIcon;
|
|
8084
8072
|
}
|
|
8085
|
-
_themeColor =
|
|
8086
|
-
_size =
|
|
8087
|
-
_fillMode =
|
|
8088
|
-
_rounded =
|
|
8073
|
+
_themeColor = undefined;
|
|
8074
|
+
_size = undefined;
|
|
8075
|
+
_fillMode = undefined;
|
|
8076
|
+
_rounded = undefined;
|
|
8089
8077
|
_svgIcon;
|
|
8078
|
+
_themeColorClasses = ['k-avatar-primary', 'k-avatar-secondary', 'k-avatar-tertiary', 'k-avatar-base', 'k-avatar-info', 'k-avatar-success', 'k-avatar-warning', 'k-avatar-error', 'k-avatar-dark', 'k-avatar-light', 'k-avatar-inverse'];
|
|
8090
8079
|
constructor(localization, renderer, element) {
|
|
8091
8080
|
this.localization = localization;
|
|
8092
8081
|
this.renderer = renderer;
|
|
@@ -8096,13 +8085,6 @@ class AvatarComponent {
|
|
|
8096
8085
|
ngOnInit() {
|
|
8097
8086
|
this.verifyProperties();
|
|
8098
8087
|
}
|
|
8099
|
-
ngAfterViewInit() {
|
|
8100
|
-
const stylingInputs = ['size', 'rounded'];
|
|
8101
|
-
stylingInputs.forEach(input => {
|
|
8102
|
-
this.handleClasses(input, this[input]);
|
|
8103
|
-
});
|
|
8104
|
-
this.handleFillModeAndThemeColorClasses(this.fillMode, this.themeColor);
|
|
8105
|
-
}
|
|
8106
8088
|
/**
|
|
8107
8089
|
* @hidden
|
|
8108
8090
|
*/
|
|
@@ -8138,16 +8120,16 @@ class AvatarComponent {
|
|
|
8138
8120
|
// remove existing fill and theme color classes
|
|
8139
8121
|
const currentClasses = Array.from(wrapperElement.classList);
|
|
8140
8122
|
const classesToRemove = currentClasses.filter(cl => {
|
|
8141
|
-
return cl.startsWith('k-avatar-solid') || cl.startsWith('k-avatar-outline');
|
|
8123
|
+
return this._themeColorClasses.includes(cl) || cl.startsWith('k-avatar-solid') || cl.startsWith('k-avatar-outline');
|
|
8142
8124
|
});
|
|
8143
8125
|
classesToRemove.forEach((cl => this.renderer.removeClass(wrapperElement, cl)));
|
|
8144
8126
|
// add fill if needed
|
|
8145
|
-
if (fill
|
|
8127
|
+
if (fill && (fill === 'solid' || fill === 'outline')) {
|
|
8146
8128
|
this.renderer.addClass(wrapperElement, `k-avatar-${fill}`);
|
|
8147
8129
|
}
|
|
8148
|
-
// add theme color class if
|
|
8149
|
-
if (
|
|
8150
|
-
this.renderer.addClass(wrapperElement, `k-avatar-${
|
|
8130
|
+
// add theme color class if needed
|
|
8131
|
+
if (themeColor && this._themeColorClasses.includes(`k-avatar-${themeColor}`)) {
|
|
8132
|
+
this.renderer.addClass(wrapperElement, `k-avatar-${themeColor}`);
|
|
8151
8133
|
}
|
|
8152
8134
|
}
|
|
8153
8135
|
/**
|
|
@@ -8626,7 +8608,7 @@ class CardActionsComponent {
|
|
|
8626
8608
|
@for (action of actionsArray; track action) {
|
|
8627
8609
|
<button
|
|
8628
8610
|
type="button"
|
|
8629
|
-
class="k-button
|
|
8611
|
+
class="k-button"
|
|
8630
8612
|
[class.k-button-solid]="!action.flat"
|
|
8631
8613
|
[class.k-button-flat]="action.flat"
|
|
8632
8614
|
[class.k-button-solid-base]="!action.primary && !action.flat"
|
|
@@ -8658,7 +8640,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
8658
8640
|
@for (action of actionsArray; track action) {
|
|
8659
8641
|
<button
|
|
8660
8642
|
type="button"
|
|
8661
|
-
class="k-button
|
|
8643
|
+
class="k-button"
|
|
8662
8644
|
[class.k-button-solid]="!action.flat"
|
|
8663
8645
|
[class.k-button-flat]="action.flat"
|
|
8664
8646
|
[class.k-button-solid-base]="!action.primary && !action.flat"
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "22.1.0-develop.
|
|
10
|
+
"publishDate": 1770219708,
|
|
11
|
+
"version": "22.1.0-develop.19",
|
|
12
12
|
"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"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-layout",
|
|
3
|
-
"version": "22.1.0-develop.
|
|
3
|
+
"version": "22.1.0-develop.19",
|
|
4
4
|
"description": "Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"package": {
|
|
51
51
|
"productName": "Kendo UI for Angular",
|
|
52
52
|
"productCode": "KENDOUIANGULAR",
|
|
53
|
-
"publishDate":
|
|
53
|
+
"publishDate": 1770219708,
|
|
54
54
|
"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"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
@@ -60,17 +60,17 @@
|
|
|
60
60
|
"@angular/core": "19 - 21",
|
|
61
61
|
"@angular/platform-browser": "19 - 21",
|
|
62
62
|
"@progress/kendo-licensing": "^1.10.0",
|
|
63
|
-
"@progress/kendo-angular-common": "22.1.0-develop.
|
|
64
|
-
"@progress/kendo-angular-l10n": "22.1.0-develop.
|
|
65
|
-
"@progress/kendo-angular-progressbar": "22.1.0-develop.
|
|
66
|
-
"@progress/kendo-angular-icons": "22.1.0-develop.
|
|
67
|
-
"@progress/kendo-angular-buttons": "22.1.0-develop.
|
|
68
|
-
"@progress/kendo-angular-intl": "22.1.0-develop.
|
|
63
|
+
"@progress/kendo-angular-common": "22.1.0-develop.19",
|
|
64
|
+
"@progress/kendo-angular-l10n": "22.1.0-develop.19",
|
|
65
|
+
"@progress/kendo-angular-progressbar": "22.1.0-develop.19",
|
|
66
|
+
"@progress/kendo-angular-icons": "22.1.0-develop.19",
|
|
67
|
+
"@progress/kendo-angular-buttons": "22.1.0-develop.19",
|
|
68
|
+
"@progress/kendo-angular-intl": "22.1.0-develop.19",
|
|
69
69
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"tslib": "^2.3.1",
|
|
73
|
-
"@progress/kendo-angular-schematics": "22.1.0-develop.
|
|
73
|
+
"@progress/kendo-angular-schematics": "22.1.0-develop.19",
|
|
74
74
|
"@progress/kendo-draggable": "^3.0.2"
|
|
75
75
|
},
|
|
76
76
|
"schematics": "./schematics/collection.json",
|
|
@@ -102,7 +102,7 @@ export declare class TabStripComponent implements AfterViewInit, OnDestroy {
|
|
|
102
102
|
/**
|
|
103
103
|
* Sets the size of the TabStrip.
|
|
104
104
|
* [See example](slug:api_layout_tabstripcomponent#toc-size).
|
|
105
|
-
* @default
|
|
105
|
+
* @default undefined
|
|
106
106
|
*/
|
|
107
107
|
set size(value: TabStripSize);
|
|
108
108
|
get size(): TabStripSize;
|