@progress/kendo-angular-layout 11.5.0-develop.7 → 11.5.0-develop.8
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 -1
- package/avatar/l10n/custom-messages.component.d.ts +18 -0
- package/avatar/l10n/localized-messages.directive.d.ts +16 -0
- package/avatar/l10n/messages.d.ts +17 -0
- package/avatar.module.d.ts +6 -4
- package/esm2020/avatar/avatar.component.mjs +44 -9
- package/esm2020/avatar/l10n/custom-messages.component.mjs +43 -0
- package/esm2020/avatar/l10n/localized-messages.directive.mjs +38 -0
- package/esm2020/avatar/l10n/messages.mjs +23 -0
- package/esm2020/avatar.module.mjs +8 -2
- package/esm2020/index.mjs +2 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-layout.mjs +130 -12
- package/fesm2020/progress-kendo-angular-layout.mjs +130 -12
- package/index.d.ts +2 -0
- package/package.json +7 -7
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { OnInit, Renderer2, ElementRef, AfterViewInit } from '@angular/core';
|
|
6
6
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
8
|
import { AvatarFillMode, AvatarShape, AvatarSize, AvatarThemeColor, AvatarRounded } from './models/models';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* Displays images, icons or initials representing people or other entities.
|
|
11
12
|
*/
|
|
12
13
|
export declare class AvatarComponent implements OnInit, AfterViewInit {
|
|
14
|
+
private localization;
|
|
13
15
|
private renderer;
|
|
14
16
|
private element;
|
|
15
17
|
hostClass: boolean;
|
|
@@ -143,7 +145,7 @@ export declare class AvatarComponent implements OnInit, AfterViewInit {
|
|
|
143
145
|
private _fillMode;
|
|
144
146
|
private _rounded;
|
|
145
147
|
private _svgIcon;
|
|
146
|
-
constructor(renderer: Renderer2, element: ElementRef);
|
|
148
|
+
constructor(localization: LocalizationService, renderer: Renderer2, element: ElementRef);
|
|
147
149
|
ngOnInit(): void;
|
|
148
150
|
ngAfterViewInit(): void;
|
|
149
151
|
/**
|
|
@@ -153,6 +155,10 @@ export declare class AvatarComponent implements OnInit, AfterViewInit {
|
|
|
153
155
|
private verifyProperties;
|
|
154
156
|
private handleClasses;
|
|
155
157
|
private handleFillModeAndThemeColorClasses;
|
|
158
|
+
/**
|
|
159
|
+
* @hidden
|
|
160
|
+
*/
|
|
161
|
+
textFor(key: string): string;
|
|
156
162
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
157
163
|
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "kendo-avatar", never, { "shape": "shape"; "size": "size"; "rounded": "rounded"; "themeColor": "themeColor"; "fillMode": "fillMode"; "fill": "fill"; "border": "border"; "iconClass": "iconClass"; "width": "width"; "height": "height"; "cssStyle": "cssStyle"; "initials": "initials"; "icon": "icon"; "imageSrc": "imageSrc"; "svgIcon": "svgIcon"; }, {}, never, ["*"]>;
|
|
158
164
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Custom component messages override default component messages
|
|
10
|
+
* ([see example]({% slug rtl_layout %})).
|
|
11
|
+
*/
|
|
12
|
+
export declare class AvatarCustomMessagesComponent extends Messages {
|
|
13
|
+
protected service: LocalizationService;
|
|
14
|
+
constructor(service: LocalizationService);
|
|
15
|
+
protected get override(): boolean;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarCustomMessagesComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarCustomMessagesComponent, "kendo-avatar-messages", never, {}, {}, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class LocalizedAvatarMessagesDirective extends Messages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedAvatarMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedAvatarMessagesDirective, "[kendoAvatarLocalizedMessages]", never, {}, {}, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class Messages extends ComponentMessages {
|
|
11
|
+
/**
|
|
12
|
+
* The alt attribute text of the image in the avatar.
|
|
13
|
+
*/
|
|
14
|
+
avatarAlt: string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendoAvatarMessages", never, { "avatarAlt": "avatarAlt"; }, {}, never>;
|
|
17
|
+
}
|
package/avatar.module.d.ts
CHANGED
|
@@ -3,15 +3,17 @@
|
|
|
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 * as i1 from "./avatar/
|
|
7
|
-
import * as i2 from "
|
|
8
|
-
import * as i3 from "
|
|
6
|
+
import * as i1 from "./avatar/l10n/localized-messages.directive";
|
|
7
|
+
import * as i2 from "./avatar/avatar.component";
|
|
8
|
+
import * as i3 from "./avatar/l10n/custom-messages.component";
|
|
9
|
+
import * as i4 from "@angular/common";
|
|
10
|
+
import * as i5 from "@progress/kendo-angular-icons";
|
|
9
11
|
/**
|
|
10
12
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
11
13
|
* definition for the Avatar component.
|
|
12
14
|
*/
|
|
13
15
|
export declare class AvatarModule {
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarModule, [typeof i1.AvatarComponent], [typeof
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarModule, [typeof i1.LocalizedAvatarMessagesDirective, typeof i2.AvatarComponent, typeof i3.AvatarCustomMessagesComponent], [typeof i4.CommonModule, typeof i5.IconsModule], [typeof i2.AvatarComponent, typeof i3.AvatarCustomMessagesComponent]>;
|
|
16
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<AvatarModule>;
|
|
17
19
|
}
|
|
@@ -4,11 +4,14 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, HostBinding, Input, isDevMode, Renderer2, ElementRef } from '@angular/core';
|
|
6
6
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
7
|
+
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
8
|
import { getStylingClasses, mapShapeToRounded } from '../common/util';
|
|
8
9
|
import { packageMetadata } from '../package-metadata';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "@progress/kendo-angular-
|
|
11
|
-
import * as i2 from "@angular
|
|
11
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
|
+
import * as i2 from "@progress/kendo-angular-icons";
|
|
13
|
+
import * as i3 from "./l10n/localized-messages.directive";
|
|
14
|
+
import * as i4 from "@angular/common";
|
|
12
15
|
const DEFAULT_ROUNDED = 'full';
|
|
13
16
|
const DEFAULT_SIZE = 'medium';
|
|
14
17
|
const DEFAULT_THEME_COLOR = 'primary';
|
|
@@ -17,7 +20,8 @@ const DEFAULT_FILL_MODE = 'solid';
|
|
|
17
20
|
* Displays images, icons or initials representing people or other entities.
|
|
18
21
|
*/
|
|
19
22
|
export class AvatarComponent {
|
|
20
|
-
constructor(renderer, element) {
|
|
23
|
+
constructor(localization, renderer, element) {
|
|
24
|
+
this.localization = localization;
|
|
21
25
|
this.renderer = renderer;
|
|
22
26
|
this.element = element;
|
|
23
27
|
this.hostClass = true;
|
|
@@ -228,14 +232,32 @@ export class AvatarComponent {
|
|
|
228
232
|
this.renderer.addClass(wrapperElement, `k-avatar-${fill}-${themeColor}`);
|
|
229
233
|
}
|
|
230
234
|
}
|
|
235
|
+
/**
|
|
236
|
+
* @hidden
|
|
237
|
+
*/
|
|
238
|
+
textFor(key) {
|
|
239
|
+
return this.localization.get(key);
|
|
240
|
+
}
|
|
231
241
|
}
|
|
232
|
-
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
233
|
-
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AvatarComponent, selector: "kendo-avatar", inputs: { shape: "shape", size: "size", rounded: "rounded", themeColor: "themeColor", fillMode: "fillMode", fill: "fill", border: "border", iconClass: "iconClass", width: "width", height: "height", cssStyle: "cssStyle", initials: "initials", icon: "icon", imageSrc: "imageSrc", svgIcon: "svgIcon" }, host: { properties: { "class.k-avatar": "this.hostClass", "class.k-avatar-bordered": "this.borderClass", "style.flexBasis": "this.flexBasis", "style.width": "this.avatarWidth", "style.height": "this.avatarHeight" } },
|
|
242
|
+
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
243
|
+
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AvatarComponent, selector: "kendo-avatar", inputs: { shape: "shape", size: "size", rounded: "rounded", themeColor: "themeColor", fillMode: "fillMode", fill: "fill", border: "border", iconClass: "iconClass", width: "width", height: "height", cssStyle: "cssStyle", initials: "initials", icon: "icon", imageSrc: "imageSrc", svgIcon: "svgIcon" }, host: { properties: { "class.k-avatar": "this.hostClass", "class.k-avatar-bordered": "this.borderClass", "style.flexBasis": "this.flexBasis", "style.width": "this.avatarWidth", "style.height": "this.avatarHeight" } }, providers: [
|
|
244
|
+
LocalizationService,
|
|
245
|
+
{
|
|
246
|
+
provide: L10N_PREFIX,
|
|
247
|
+
useValue: 'kendo.avatar'
|
|
248
|
+
}
|
|
249
|
+
], ngImport: i0, template: `
|
|
250
|
+
<ng-container kendoAvatarLocalizedMessages
|
|
251
|
+
i18n-avatarAlt="kendo.avatar.avatarAlt|The alt attribute text of the image in the avatar."
|
|
252
|
+
avatarAlt="Avatar"
|
|
253
|
+
>
|
|
254
|
+
</ng-container>
|
|
255
|
+
|
|
234
256
|
<ng-content *ngIf="customAvatar"></ng-content>
|
|
235
257
|
|
|
236
258
|
<ng-container *ngIf="imageSrc">
|
|
237
259
|
<span class="k-avatar-image">
|
|
238
|
-
<img src="{{imageSrc}}" [ngStyle]="cssStyle" />
|
|
260
|
+
<img src="{{ imageSrc }}" [alt]="textFor('avatarAlt')" [ngStyle]="cssStyle" />
|
|
239
261
|
</span>
|
|
240
262
|
</ng-container>
|
|
241
263
|
|
|
@@ -254,17 +276,30 @@ AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
254
276
|
</kendo-icon-wrapper>
|
|
255
277
|
</span>
|
|
256
278
|
</ng-container>
|
|
257
|
-
`, isInline: true, components: [{ type:
|
|
279
|
+
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.LocalizedAvatarMessagesDirective, selector: "[kendoAvatarLocalizedMessages]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
258
280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
259
281
|
type: Component,
|
|
260
282
|
args: [{
|
|
283
|
+
providers: [
|
|
284
|
+
LocalizationService,
|
|
285
|
+
{
|
|
286
|
+
provide: L10N_PREFIX,
|
|
287
|
+
useValue: 'kendo.avatar'
|
|
288
|
+
}
|
|
289
|
+
],
|
|
261
290
|
selector: 'kendo-avatar',
|
|
262
291
|
template: `
|
|
292
|
+
<ng-container kendoAvatarLocalizedMessages
|
|
293
|
+
i18n-avatarAlt="kendo.avatar.avatarAlt|The alt attribute text of the image in the avatar."
|
|
294
|
+
avatarAlt="Avatar"
|
|
295
|
+
>
|
|
296
|
+
</ng-container>
|
|
297
|
+
|
|
263
298
|
<ng-content *ngIf="customAvatar"></ng-content>
|
|
264
299
|
|
|
265
300
|
<ng-container *ngIf="imageSrc">
|
|
266
301
|
<span class="k-avatar-image">
|
|
267
|
-
<img src="{{imageSrc}}" [ngStyle]="cssStyle" />
|
|
302
|
+
<img src="{{ imageSrc }}" [alt]="textFor('avatarAlt')" [ngStyle]="cssStyle" />
|
|
268
303
|
</span>
|
|
269
304
|
</ng-container>
|
|
270
305
|
|
|
@@ -285,7 +320,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
285
320
|
</ng-container>
|
|
286
321
|
`
|
|
287
322
|
}]
|
|
288
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
323
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
289
324
|
type: HostBinding,
|
|
290
325
|
args: ['class.k-avatar']
|
|
291
326
|
}], borderClass: [{
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Component, forwardRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import { Messages } from './messages';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
|
+
// eslint-disable no-forward-ref
|
|
11
|
+
/**
|
|
12
|
+
* Custom component messages override default component messages
|
|
13
|
+
* ([see example]({% slug rtl_layout %})).
|
|
14
|
+
*/
|
|
15
|
+
export class AvatarCustomMessagesComponent extends Messages {
|
|
16
|
+
constructor(service) {
|
|
17
|
+
super();
|
|
18
|
+
this.service = service;
|
|
19
|
+
}
|
|
20
|
+
get override() {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
AvatarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
AvatarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AvatarCustomMessagesComponent, selector: "kendo-avatar-messages", providers: [
|
|
26
|
+
{
|
|
27
|
+
provide: Messages,
|
|
28
|
+
useExisting: forwardRef(() => AvatarCustomMessagesComponent)
|
|
29
|
+
}
|
|
30
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarCustomMessagesComponent, decorators: [{
|
|
32
|
+
type: Component,
|
|
33
|
+
args: [{
|
|
34
|
+
providers: [
|
|
35
|
+
{
|
|
36
|
+
provide: Messages,
|
|
37
|
+
useExisting: forwardRef(() => AvatarCustomMessagesComponent)
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
selector: 'kendo-avatar-messages',
|
|
41
|
+
template: ``
|
|
42
|
+
}]
|
|
43
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Directive, forwardRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import { Messages } from './messages';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
|
+
// eslint-disable no-forward-ref
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export class LocalizedAvatarMessagesDirective extends Messages {
|
|
15
|
+
constructor(service) {
|
|
16
|
+
super();
|
|
17
|
+
this.service = service;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
LocalizedAvatarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedAvatarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
LocalizedAvatarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedAvatarMessagesDirective, selector: "[kendoAvatarLocalizedMessages]", providers: [
|
|
22
|
+
{
|
|
23
|
+
provide: Messages,
|
|
24
|
+
useExisting: forwardRef(() => LocalizedAvatarMessagesDirective)
|
|
25
|
+
}
|
|
26
|
+
], usesInheritance: true, ngImport: i0 });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedAvatarMessagesDirective, decorators: [{
|
|
28
|
+
type: Directive,
|
|
29
|
+
args: [{
|
|
30
|
+
providers: [
|
|
31
|
+
{
|
|
32
|
+
provide: Messages,
|
|
33
|
+
useExisting: forwardRef(() => LocalizedAvatarMessagesDirective)
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
selector: '[kendoAvatarLocalizedMessages]'
|
|
37
|
+
}]
|
|
38
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Directive, Input } from '@angular/core';
|
|
6
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class Messages extends ComponentMessages {
|
|
12
|
+
}
|
|
13
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: Messages, selector: "kendoAvatarMessages", inputs: { avatarAlt: "avatarAlt" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, decorators: [{
|
|
16
|
+
type: Directive,
|
|
17
|
+
args: [{
|
|
18
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
19
|
+
selector: 'kendoAvatarMessages'
|
|
20
|
+
}]
|
|
21
|
+
}], propDecorators: { avatarAlt: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}] } });
|
|
@@ -6,11 +6,15 @@ import { NgModule } from '@angular/core';
|
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
7
|
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
8
8
|
import { AvatarComponent } from './avatar/avatar.component';
|
|
9
|
+
import { LocalizedAvatarMessagesDirective } from './avatar/l10n/localized-messages.directive';
|
|
10
|
+
import { AvatarCustomMessagesComponent } from './avatar/l10n/custom-messages.component';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
const exportedModules = [
|
|
11
|
-
AvatarComponent
|
|
13
|
+
AvatarComponent,
|
|
14
|
+
AvatarCustomMessagesComponent
|
|
12
15
|
];
|
|
13
16
|
const declarations = [
|
|
17
|
+
LocalizedAvatarMessagesDirective,
|
|
14
18
|
...exportedModules
|
|
15
19
|
];
|
|
16
20
|
/**
|
|
@@ -20,7 +24,9 @@ const declarations = [
|
|
|
20
24
|
export class AvatarModule {
|
|
21
25
|
}
|
|
22
26
|
AvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
-
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, declarations: [
|
|
27
|
+
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, declarations: [LocalizedAvatarMessagesDirective, AvatarComponent,
|
|
28
|
+
AvatarCustomMessagesComponent], imports: [CommonModule, IconsModule], exports: [AvatarComponent,
|
|
29
|
+
AvatarCustomMessagesComponent] });
|
|
24
30
|
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, imports: [[CommonModule, IconsModule]] });
|
|
25
31
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, decorators: [{
|
|
26
32
|
type: NgModule,
|
package/esm2020/index.mjs
CHANGED
|
@@ -33,6 +33,8 @@ export * from './stepper/template-directives';
|
|
|
33
33
|
export * from './stepper/types';
|
|
34
34
|
// Avatar exports
|
|
35
35
|
export { AvatarComponent } from './avatar/avatar.component';
|
|
36
|
+
export { AvatarCustomMessagesComponent } from './avatar/l10n/custom-messages.component';
|
|
37
|
+
export { LocalizedAvatarMessagesDirective } from './avatar/l10n/localized-messages.directive';
|
|
36
38
|
// Card exports
|
|
37
39
|
export { CardComponent } from './card/card.component';
|
|
38
40
|
export { CardHeaderComponent } from './card/card-header.component';
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-layout',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '11.5.0-develop.
|
|
12
|
+
publishDate: 1680246953,
|
|
13
|
+
version: '11.5.0-develop.8',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -31,8 +31,8 @@ const packageMetadata = {
|
|
|
31
31
|
name: '@progress/kendo-angular-layout',
|
|
32
32
|
productName: 'Kendo UI for Angular',
|
|
33
33
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
34
|
-
publishDate:
|
|
35
|
-
version: '11.5.0-develop.
|
|
34
|
+
publishDate: 1680246953,
|
|
35
|
+
version: '11.5.0-develop.8',
|
|
36
36
|
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'
|
|
37
37
|
};
|
|
38
38
|
|
|
@@ -6536,6 +6536,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6536
6536
|
}]
|
|
6537
6537
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
6538
6538
|
|
|
6539
|
+
/**
|
|
6540
|
+
* @hidden
|
|
6541
|
+
*/
|
|
6542
|
+
class Messages extends ComponentMessages {
|
|
6543
|
+
}
|
|
6544
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6545
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: Messages, selector: "kendoAvatarMessages", inputs: { avatarAlt: "avatarAlt" }, usesInheritance: true, ngImport: i0 });
|
|
6546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, decorators: [{
|
|
6547
|
+
type: Directive,
|
|
6548
|
+
args: [{
|
|
6549
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
6550
|
+
selector: 'kendoAvatarMessages'
|
|
6551
|
+
}]
|
|
6552
|
+
}], propDecorators: { avatarAlt: [{
|
|
6553
|
+
type: Input
|
|
6554
|
+
}] } });
|
|
6555
|
+
|
|
6556
|
+
// eslint-disable no-forward-ref
|
|
6557
|
+
/**
|
|
6558
|
+
* @hidden
|
|
6559
|
+
*/
|
|
6560
|
+
class LocalizedAvatarMessagesDirective extends Messages {
|
|
6561
|
+
constructor(service) {
|
|
6562
|
+
super();
|
|
6563
|
+
this.service = service;
|
|
6564
|
+
}
|
|
6565
|
+
}
|
|
6566
|
+
LocalizedAvatarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedAvatarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6567
|
+
LocalizedAvatarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedAvatarMessagesDirective, selector: "[kendoAvatarLocalizedMessages]", providers: [
|
|
6568
|
+
{
|
|
6569
|
+
provide: Messages,
|
|
6570
|
+
useExisting: forwardRef(() => LocalizedAvatarMessagesDirective)
|
|
6571
|
+
}
|
|
6572
|
+
], usesInheritance: true, ngImport: i0 });
|
|
6573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedAvatarMessagesDirective, decorators: [{
|
|
6574
|
+
type: Directive,
|
|
6575
|
+
args: [{
|
|
6576
|
+
providers: [
|
|
6577
|
+
{
|
|
6578
|
+
provide: Messages,
|
|
6579
|
+
useExisting: forwardRef(() => LocalizedAvatarMessagesDirective)
|
|
6580
|
+
}
|
|
6581
|
+
],
|
|
6582
|
+
selector: '[kendoAvatarLocalizedMessages]'
|
|
6583
|
+
}]
|
|
6584
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
6585
|
+
|
|
6539
6586
|
const DEFAULT_ROUNDED = 'full';
|
|
6540
6587
|
const DEFAULT_SIZE = 'medium';
|
|
6541
6588
|
const DEFAULT_THEME_COLOR = 'primary';
|
|
@@ -6544,7 +6591,8 @@ const DEFAULT_FILL_MODE = 'solid';
|
|
|
6544
6591
|
* Displays images, icons or initials representing people or other entities.
|
|
6545
6592
|
*/
|
|
6546
6593
|
class AvatarComponent {
|
|
6547
|
-
constructor(renderer, element) {
|
|
6594
|
+
constructor(localization, renderer, element) {
|
|
6595
|
+
this.localization = localization;
|
|
6548
6596
|
this.renderer = renderer;
|
|
6549
6597
|
this.element = element;
|
|
6550
6598
|
this.hostClass = true;
|
|
@@ -6755,14 +6803,32 @@ class AvatarComponent {
|
|
|
6755
6803
|
this.renderer.addClass(wrapperElement, `k-avatar-${fill}-${themeColor}`);
|
|
6756
6804
|
}
|
|
6757
6805
|
}
|
|
6806
|
+
/**
|
|
6807
|
+
* @hidden
|
|
6808
|
+
*/
|
|
6809
|
+
textFor(key) {
|
|
6810
|
+
return this.localization.get(key);
|
|
6811
|
+
}
|
|
6758
6812
|
}
|
|
6759
|
-
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6760
|
-
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AvatarComponent, selector: "kendo-avatar", inputs: { shape: "shape", size: "size", rounded: "rounded", themeColor: "themeColor", fillMode: "fillMode", fill: "fill", border: "border", iconClass: "iconClass", width: "width", height: "height", cssStyle: "cssStyle", initials: "initials", icon: "icon", imageSrc: "imageSrc", svgIcon: "svgIcon" }, host: { properties: { "class.k-avatar": "this.hostClass", "class.k-avatar-bordered": "this.borderClass", "style.flexBasis": "this.flexBasis", "style.width": "this.avatarWidth", "style.height": "this.avatarHeight" } },
|
|
6813
|
+
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6814
|
+
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AvatarComponent, selector: "kendo-avatar", inputs: { shape: "shape", size: "size", rounded: "rounded", themeColor: "themeColor", fillMode: "fillMode", fill: "fill", border: "border", iconClass: "iconClass", width: "width", height: "height", cssStyle: "cssStyle", initials: "initials", icon: "icon", imageSrc: "imageSrc", svgIcon: "svgIcon" }, host: { properties: { "class.k-avatar": "this.hostClass", "class.k-avatar-bordered": "this.borderClass", "style.flexBasis": "this.flexBasis", "style.width": "this.avatarWidth", "style.height": "this.avatarHeight" } }, providers: [
|
|
6815
|
+
LocalizationService,
|
|
6816
|
+
{
|
|
6817
|
+
provide: L10N_PREFIX,
|
|
6818
|
+
useValue: 'kendo.avatar'
|
|
6819
|
+
}
|
|
6820
|
+
], ngImport: i0, template: `
|
|
6821
|
+
<ng-container kendoAvatarLocalizedMessages
|
|
6822
|
+
i18n-avatarAlt="kendo.avatar.avatarAlt|The alt attribute text of the image in the avatar."
|
|
6823
|
+
avatarAlt="Avatar"
|
|
6824
|
+
>
|
|
6825
|
+
</ng-container>
|
|
6826
|
+
|
|
6761
6827
|
<ng-content *ngIf="customAvatar"></ng-content>
|
|
6762
6828
|
|
|
6763
6829
|
<ng-container *ngIf="imageSrc">
|
|
6764
6830
|
<span class="k-avatar-image">
|
|
6765
|
-
<img src="{{imageSrc}}" [ngStyle]="cssStyle" />
|
|
6831
|
+
<img src="{{ imageSrc }}" [alt]="textFor('avatarAlt')" [ngStyle]="cssStyle" />
|
|
6766
6832
|
</span>
|
|
6767
6833
|
</ng-container>
|
|
6768
6834
|
|
|
@@ -6781,17 +6847,30 @@ AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
6781
6847
|
</kendo-icon-wrapper>
|
|
6782
6848
|
</span>
|
|
6783
6849
|
</ng-container>
|
|
6784
|
-
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
6850
|
+
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedAvatarMessagesDirective, selector: "[kendoAvatarLocalizedMessages]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
6785
6851
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
6786
6852
|
type: Component,
|
|
6787
6853
|
args: [{
|
|
6854
|
+
providers: [
|
|
6855
|
+
LocalizationService,
|
|
6856
|
+
{
|
|
6857
|
+
provide: L10N_PREFIX,
|
|
6858
|
+
useValue: 'kendo.avatar'
|
|
6859
|
+
}
|
|
6860
|
+
],
|
|
6788
6861
|
selector: 'kendo-avatar',
|
|
6789
6862
|
template: `
|
|
6863
|
+
<ng-container kendoAvatarLocalizedMessages
|
|
6864
|
+
i18n-avatarAlt="kendo.avatar.avatarAlt|The alt attribute text of the image in the avatar."
|
|
6865
|
+
avatarAlt="Avatar"
|
|
6866
|
+
>
|
|
6867
|
+
</ng-container>
|
|
6868
|
+
|
|
6790
6869
|
<ng-content *ngIf="customAvatar"></ng-content>
|
|
6791
6870
|
|
|
6792
6871
|
<ng-container *ngIf="imageSrc">
|
|
6793
6872
|
<span class="k-avatar-image">
|
|
6794
|
-
<img src="{{imageSrc}}" [ngStyle]="cssStyle" />
|
|
6873
|
+
<img src="{{ imageSrc }}" [alt]="textFor('avatarAlt')" [ngStyle]="cssStyle" />
|
|
6795
6874
|
</span>
|
|
6796
6875
|
</ng-container>
|
|
6797
6876
|
|
|
@@ -6812,7 +6891,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6812
6891
|
</ng-container>
|
|
6813
6892
|
`
|
|
6814
6893
|
}]
|
|
6815
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
6894
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
6816
6895
|
type: HostBinding,
|
|
6817
6896
|
args: ['class.k-avatar']
|
|
6818
6897
|
}], borderClass: [{
|
|
@@ -6859,6 +6938,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6859
6938
|
type: Input
|
|
6860
6939
|
}] } });
|
|
6861
6940
|
|
|
6941
|
+
// eslint-disable no-forward-ref
|
|
6942
|
+
/**
|
|
6943
|
+
* Custom component messages override default component messages
|
|
6944
|
+
* ([see example]({% slug rtl_layout %})).
|
|
6945
|
+
*/
|
|
6946
|
+
class AvatarCustomMessagesComponent extends Messages {
|
|
6947
|
+
constructor(service) {
|
|
6948
|
+
super();
|
|
6949
|
+
this.service = service;
|
|
6950
|
+
}
|
|
6951
|
+
get override() {
|
|
6952
|
+
return true;
|
|
6953
|
+
}
|
|
6954
|
+
}
|
|
6955
|
+
AvatarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6956
|
+
AvatarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AvatarCustomMessagesComponent, selector: "kendo-avatar-messages", providers: [
|
|
6957
|
+
{
|
|
6958
|
+
provide: Messages,
|
|
6959
|
+
useExisting: forwardRef(() => AvatarCustomMessagesComponent)
|
|
6960
|
+
}
|
|
6961
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
6962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarCustomMessagesComponent, decorators: [{
|
|
6963
|
+
type: Component,
|
|
6964
|
+
args: [{
|
|
6965
|
+
providers: [
|
|
6966
|
+
{
|
|
6967
|
+
provide: Messages,
|
|
6968
|
+
useExisting: forwardRef(() => AvatarCustomMessagesComponent)
|
|
6969
|
+
}
|
|
6970
|
+
],
|
|
6971
|
+
selector: 'kendo-avatar-messages',
|
|
6972
|
+
template: ``
|
|
6973
|
+
}]
|
|
6974
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
6975
|
+
|
|
6862
6976
|
/**
|
|
6863
6977
|
* Represents the [Kendo UI Card component for Angular]({% slug overview_card %})
|
|
6864
6978
|
*/
|
|
@@ -9292,9 +9406,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
9292
9406
|
}] } });
|
|
9293
9407
|
|
|
9294
9408
|
const exportedModules$a = [
|
|
9295
|
-
AvatarComponent
|
|
9409
|
+
AvatarComponent,
|
|
9410
|
+
AvatarCustomMessagesComponent
|
|
9296
9411
|
];
|
|
9297
9412
|
const declarations$a = [
|
|
9413
|
+
LocalizedAvatarMessagesDirective,
|
|
9298
9414
|
...exportedModules$a
|
|
9299
9415
|
];
|
|
9300
9416
|
/**
|
|
@@ -9304,7 +9420,9 @@ const declarations$a = [
|
|
|
9304
9420
|
class AvatarModule {
|
|
9305
9421
|
}
|
|
9306
9422
|
AvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9307
|
-
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, declarations: [
|
|
9423
|
+
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, declarations: [LocalizedAvatarMessagesDirective, AvatarComponent,
|
|
9424
|
+
AvatarCustomMessagesComponent], imports: [CommonModule, IconsModule], exports: [AvatarComponent,
|
|
9425
|
+
AvatarCustomMessagesComponent] });
|
|
9308
9426
|
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, imports: [[CommonModule, IconsModule]] });
|
|
9309
9427
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, decorators: [{
|
|
9310
9428
|
type: NgModule,
|
|
@@ -10185,5 +10303,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10185
10303
|
* Generated bundle index. Do not edit.
|
|
10186
10304
|
*/
|
|
10187
10305
|
|
|
10188
|
-
export { AvatarComponent, AvatarModule, CardAction, CardActionsComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardMediaDirective, CardModule, CardSeparatorDirective, CardSubtitleDirective, CardTitleDirective, DrawerComponent, DrawerContainerComponent, DrawerContentComponent, DrawerFooterTemplateDirective, DrawerHeaderTemplateDirective, DrawerItemTemplateDirective, DrawerModule, DrawerSelectEvent, DrawerTemplateDirective, ExpansionPanelActionEvent, ExpansionPanelComponent, ExpansionPanelModule, ExpansionPanelTitleDirective, GridLayoutComponent, GridLayoutItemComponent, GridLayoutModule, LayoutModule, LocalizedStepperMessagesDirective, LocalizedTabStripMessagesDirective, PanelBarCollapseEvent, PanelBarComponent, PanelBarContentDirective, PanelBarExpandEvent, PanelBarExpandMode, PanelBarItemComponent, PanelBarItemTemplateDirective, PanelBarItemTitleDirective, PanelBarModule, PanelBarSelectEvent, PanelBarStateChangeEvent, SelectEvent, SplitterComponent, SplitterModule, SplitterPaneComponent, StackLayoutComponent, StackLayoutModule, StepperActivateEvent, StepperComponent, StepperCustomMessagesComponent, StepperIndicatorTemplateDirective, StepperLabelTemplateDirective, StepperModule, StepperStepTemplateDirective, TabCloseEvent, TabComponent, TabContentDirective, TabStripComponent, TabStripCustomMessagesComponent, TabStripModule, TabStripTabComponent, TabTitleDirective, TileLayoutComponent, TileLayoutItemBodyComponent, TileLayoutItemComponent, TileLayoutItemHeaderComponent, TileLayoutModule, TileLayoutReorderEvent, TileLayoutResizeEvent, TileLayoutResizeHandleDirective };
|
|
10306
|
+
export { AvatarComponent, AvatarCustomMessagesComponent, AvatarModule, CardAction, CardActionsComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardMediaDirective, CardModule, CardSeparatorDirective, CardSubtitleDirective, CardTitleDirective, DrawerComponent, DrawerContainerComponent, DrawerContentComponent, DrawerFooterTemplateDirective, DrawerHeaderTemplateDirective, DrawerItemTemplateDirective, DrawerModule, DrawerSelectEvent, DrawerTemplateDirective, ExpansionPanelActionEvent, ExpansionPanelComponent, ExpansionPanelModule, ExpansionPanelTitleDirective, GridLayoutComponent, GridLayoutItemComponent, GridLayoutModule, LayoutModule, LocalizedAvatarMessagesDirective, LocalizedStepperMessagesDirective, LocalizedTabStripMessagesDirective, PanelBarCollapseEvent, PanelBarComponent, PanelBarContentDirective, PanelBarExpandEvent, PanelBarExpandMode, PanelBarItemComponent, PanelBarItemTemplateDirective, PanelBarItemTitleDirective, PanelBarModule, PanelBarSelectEvent, PanelBarStateChangeEvent, SelectEvent, SplitterComponent, SplitterModule, SplitterPaneComponent, StackLayoutComponent, StackLayoutModule, StepperActivateEvent, StepperComponent, StepperCustomMessagesComponent, StepperIndicatorTemplateDirective, StepperLabelTemplateDirective, StepperModule, StepperStepTemplateDirective, TabCloseEvent, TabComponent, TabContentDirective, TabStripComponent, TabStripCustomMessagesComponent, TabStripModule, TabStripTabComponent, TabTitleDirective, TileLayoutComponent, TileLayoutItemBodyComponent, TileLayoutItemComponent, TileLayoutItemHeaderComponent, TileLayoutModule, TileLayoutReorderEvent, TileLayoutResizeEvent, TileLayoutResizeHandleDirective };
|
|
10189
10307
|
|
|
@@ -31,8 +31,8 @@ const packageMetadata = {
|
|
|
31
31
|
name: '@progress/kendo-angular-layout',
|
|
32
32
|
productName: 'Kendo UI for Angular',
|
|
33
33
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
34
|
-
publishDate:
|
|
35
|
-
version: '11.5.0-develop.
|
|
34
|
+
publishDate: 1680246953,
|
|
35
|
+
version: '11.5.0-develop.8',
|
|
36
36
|
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'
|
|
37
37
|
};
|
|
38
38
|
|
|
@@ -6511,6 +6511,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6511
6511
|
}]
|
|
6512
6512
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
6513
6513
|
|
|
6514
|
+
/**
|
|
6515
|
+
* @hidden
|
|
6516
|
+
*/
|
|
6517
|
+
class Messages extends ComponentMessages {
|
|
6518
|
+
}
|
|
6519
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6520
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: Messages, selector: "kendoAvatarMessages", inputs: { avatarAlt: "avatarAlt" }, usesInheritance: true, ngImport: i0 });
|
|
6521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, decorators: [{
|
|
6522
|
+
type: Directive,
|
|
6523
|
+
args: [{
|
|
6524
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
6525
|
+
selector: 'kendoAvatarMessages'
|
|
6526
|
+
}]
|
|
6527
|
+
}], propDecorators: { avatarAlt: [{
|
|
6528
|
+
type: Input
|
|
6529
|
+
}] } });
|
|
6530
|
+
|
|
6531
|
+
// eslint-disable no-forward-ref
|
|
6532
|
+
/**
|
|
6533
|
+
* @hidden
|
|
6534
|
+
*/
|
|
6535
|
+
class LocalizedAvatarMessagesDirective extends Messages {
|
|
6536
|
+
constructor(service) {
|
|
6537
|
+
super();
|
|
6538
|
+
this.service = service;
|
|
6539
|
+
}
|
|
6540
|
+
}
|
|
6541
|
+
LocalizedAvatarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedAvatarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6542
|
+
LocalizedAvatarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedAvatarMessagesDirective, selector: "[kendoAvatarLocalizedMessages]", providers: [
|
|
6543
|
+
{
|
|
6544
|
+
provide: Messages,
|
|
6545
|
+
useExisting: forwardRef(() => LocalizedAvatarMessagesDirective)
|
|
6546
|
+
}
|
|
6547
|
+
], usesInheritance: true, ngImport: i0 });
|
|
6548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedAvatarMessagesDirective, decorators: [{
|
|
6549
|
+
type: Directive,
|
|
6550
|
+
args: [{
|
|
6551
|
+
providers: [
|
|
6552
|
+
{
|
|
6553
|
+
provide: Messages,
|
|
6554
|
+
useExisting: forwardRef(() => LocalizedAvatarMessagesDirective)
|
|
6555
|
+
}
|
|
6556
|
+
],
|
|
6557
|
+
selector: '[kendoAvatarLocalizedMessages]'
|
|
6558
|
+
}]
|
|
6559
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
6560
|
+
|
|
6514
6561
|
const DEFAULT_ROUNDED = 'full';
|
|
6515
6562
|
const DEFAULT_SIZE = 'medium';
|
|
6516
6563
|
const DEFAULT_THEME_COLOR = 'primary';
|
|
@@ -6519,7 +6566,8 @@ const DEFAULT_FILL_MODE = 'solid';
|
|
|
6519
6566
|
* Displays images, icons or initials representing people or other entities.
|
|
6520
6567
|
*/
|
|
6521
6568
|
class AvatarComponent {
|
|
6522
|
-
constructor(renderer, element) {
|
|
6569
|
+
constructor(localization, renderer, element) {
|
|
6570
|
+
this.localization = localization;
|
|
6523
6571
|
this.renderer = renderer;
|
|
6524
6572
|
this.element = element;
|
|
6525
6573
|
this.hostClass = true;
|
|
@@ -6730,14 +6778,32 @@ class AvatarComponent {
|
|
|
6730
6778
|
this.renderer.addClass(wrapperElement, `k-avatar-${fill}-${themeColor}`);
|
|
6731
6779
|
}
|
|
6732
6780
|
}
|
|
6781
|
+
/**
|
|
6782
|
+
* @hidden
|
|
6783
|
+
*/
|
|
6784
|
+
textFor(key) {
|
|
6785
|
+
return this.localization.get(key);
|
|
6786
|
+
}
|
|
6733
6787
|
}
|
|
6734
|
-
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6735
|
-
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AvatarComponent, selector: "kendo-avatar", inputs: { shape: "shape", size: "size", rounded: "rounded", themeColor: "themeColor", fillMode: "fillMode", fill: "fill", border: "border", iconClass: "iconClass", width: "width", height: "height", cssStyle: "cssStyle", initials: "initials", icon: "icon", imageSrc: "imageSrc", svgIcon: "svgIcon" }, host: { properties: { "class.k-avatar": "this.hostClass", "class.k-avatar-bordered": "this.borderClass", "style.flexBasis": "this.flexBasis", "style.width": "this.avatarWidth", "style.height": "this.avatarHeight" } },
|
|
6788
|
+
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6789
|
+
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AvatarComponent, selector: "kendo-avatar", inputs: { shape: "shape", size: "size", rounded: "rounded", themeColor: "themeColor", fillMode: "fillMode", fill: "fill", border: "border", iconClass: "iconClass", width: "width", height: "height", cssStyle: "cssStyle", initials: "initials", icon: "icon", imageSrc: "imageSrc", svgIcon: "svgIcon" }, host: { properties: { "class.k-avatar": "this.hostClass", "class.k-avatar-bordered": "this.borderClass", "style.flexBasis": "this.flexBasis", "style.width": "this.avatarWidth", "style.height": "this.avatarHeight" } }, providers: [
|
|
6790
|
+
LocalizationService,
|
|
6791
|
+
{
|
|
6792
|
+
provide: L10N_PREFIX,
|
|
6793
|
+
useValue: 'kendo.avatar'
|
|
6794
|
+
}
|
|
6795
|
+
], ngImport: i0, template: `
|
|
6796
|
+
<ng-container kendoAvatarLocalizedMessages
|
|
6797
|
+
i18n-avatarAlt="kendo.avatar.avatarAlt|The alt attribute text of the image in the avatar."
|
|
6798
|
+
avatarAlt="Avatar"
|
|
6799
|
+
>
|
|
6800
|
+
</ng-container>
|
|
6801
|
+
|
|
6736
6802
|
<ng-content *ngIf="customAvatar"></ng-content>
|
|
6737
6803
|
|
|
6738
6804
|
<ng-container *ngIf="imageSrc">
|
|
6739
6805
|
<span class="k-avatar-image">
|
|
6740
|
-
<img src="{{imageSrc}}" [ngStyle]="cssStyle" />
|
|
6806
|
+
<img src="{{ imageSrc }}" [alt]="textFor('avatarAlt')" [ngStyle]="cssStyle" />
|
|
6741
6807
|
</span>
|
|
6742
6808
|
</ng-container>
|
|
6743
6809
|
|
|
@@ -6756,17 +6822,30 @@ AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
6756
6822
|
</kendo-icon-wrapper>
|
|
6757
6823
|
</span>
|
|
6758
6824
|
</ng-container>
|
|
6759
|
-
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
6825
|
+
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedAvatarMessagesDirective, selector: "[kendoAvatarLocalizedMessages]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
6760
6826
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
6761
6827
|
type: Component,
|
|
6762
6828
|
args: [{
|
|
6829
|
+
providers: [
|
|
6830
|
+
LocalizationService,
|
|
6831
|
+
{
|
|
6832
|
+
provide: L10N_PREFIX,
|
|
6833
|
+
useValue: 'kendo.avatar'
|
|
6834
|
+
}
|
|
6835
|
+
],
|
|
6763
6836
|
selector: 'kendo-avatar',
|
|
6764
6837
|
template: `
|
|
6838
|
+
<ng-container kendoAvatarLocalizedMessages
|
|
6839
|
+
i18n-avatarAlt="kendo.avatar.avatarAlt|The alt attribute text of the image in the avatar."
|
|
6840
|
+
avatarAlt="Avatar"
|
|
6841
|
+
>
|
|
6842
|
+
</ng-container>
|
|
6843
|
+
|
|
6765
6844
|
<ng-content *ngIf="customAvatar"></ng-content>
|
|
6766
6845
|
|
|
6767
6846
|
<ng-container *ngIf="imageSrc">
|
|
6768
6847
|
<span class="k-avatar-image">
|
|
6769
|
-
<img src="{{imageSrc}}" [ngStyle]="cssStyle" />
|
|
6848
|
+
<img src="{{ imageSrc }}" [alt]="textFor('avatarAlt')" [ngStyle]="cssStyle" />
|
|
6770
6849
|
</span>
|
|
6771
6850
|
</ng-container>
|
|
6772
6851
|
|
|
@@ -6787,7 +6866,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6787
6866
|
</ng-container>
|
|
6788
6867
|
`
|
|
6789
6868
|
}]
|
|
6790
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
6869
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
6791
6870
|
type: HostBinding,
|
|
6792
6871
|
args: ['class.k-avatar']
|
|
6793
6872
|
}], borderClass: [{
|
|
@@ -6834,6 +6913,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6834
6913
|
type: Input
|
|
6835
6914
|
}] } });
|
|
6836
6915
|
|
|
6916
|
+
// eslint-disable no-forward-ref
|
|
6917
|
+
/**
|
|
6918
|
+
* Custom component messages override default component messages
|
|
6919
|
+
* ([see example]({% slug rtl_layout %})).
|
|
6920
|
+
*/
|
|
6921
|
+
class AvatarCustomMessagesComponent extends Messages {
|
|
6922
|
+
constructor(service) {
|
|
6923
|
+
super();
|
|
6924
|
+
this.service = service;
|
|
6925
|
+
}
|
|
6926
|
+
get override() {
|
|
6927
|
+
return true;
|
|
6928
|
+
}
|
|
6929
|
+
}
|
|
6930
|
+
AvatarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6931
|
+
AvatarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AvatarCustomMessagesComponent, selector: "kendo-avatar-messages", providers: [
|
|
6932
|
+
{
|
|
6933
|
+
provide: Messages,
|
|
6934
|
+
useExisting: forwardRef(() => AvatarCustomMessagesComponent)
|
|
6935
|
+
}
|
|
6936
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
6937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarCustomMessagesComponent, decorators: [{
|
|
6938
|
+
type: Component,
|
|
6939
|
+
args: [{
|
|
6940
|
+
providers: [
|
|
6941
|
+
{
|
|
6942
|
+
provide: Messages,
|
|
6943
|
+
useExisting: forwardRef(() => AvatarCustomMessagesComponent)
|
|
6944
|
+
}
|
|
6945
|
+
],
|
|
6946
|
+
selector: 'kendo-avatar-messages',
|
|
6947
|
+
template: ``
|
|
6948
|
+
}]
|
|
6949
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
6950
|
+
|
|
6837
6951
|
/**
|
|
6838
6952
|
* Represents the [Kendo UI Card component for Angular]({% slug overview_card %})
|
|
6839
6953
|
*/
|
|
@@ -9263,9 +9377,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
9263
9377
|
}] } });
|
|
9264
9378
|
|
|
9265
9379
|
const exportedModules$a = [
|
|
9266
|
-
AvatarComponent
|
|
9380
|
+
AvatarComponent,
|
|
9381
|
+
AvatarCustomMessagesComponent
|
|
9267
9382
|
];
|
|
9268
9383
|
const declarations$a = [
|
|
9384
|
+
LocalizedAvatarMessagesDirective,
|
|
9269
9385
|
...exportedModules$a
|
|
9270
9386
|
];
|
|
9271
9387
|
/**
|
|
@@ -9275,7 +9391,9 @@ const declarations$a = [
|
|
|
9275
9391
|
class AvatarModule {
|
|
9276
9392
|
}
|
|
9277
9393
|
AvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9278
|
-
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, declarations: [
|
|
9394
|
+
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, declarations: [LocalizedAvatarMessagesDirective, AvatarComponent,
|
|
9395
|
+
AvatarCustomMessagesComponent], imports: [CommonModule, IconsModule], exports: [AvatarComponent,
|
|
9396
|
+
AvatarCustomMessagesComponent] });
|
|
9279
9397
|
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, imports: [[CommonModule, IconsModule]] });
|
|
9280
9398
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AvatarModule, decorators: [{
|
|
9281
9399
|
type: NgModule,
|
|
@@ -10156,5 +10274,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10156
10274
|
* Generated bundle index. Do not edit.
|
|
10157
10275
|
*/
|
|
10158
10276
|
|
|
10159
|
-
export { AvatarComponent, AvatarModule, CardAction, CardActionsComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardMediaDirective, CardModule, CardSeparatorDirective, CardSubtitleDirective, CardTitleDirective, DrawerComponent, DrawerContainerComponent, DrawerContentComponent, DrawerFooterTemplateDirective, DrawerHeaderTemplateDirective, DrawerItemTemplateDirective, DrawerModule, DrawerSelectEvent, DrawerTemplateDirective, ExpansionPanelActionEvent, ExpansionPanelComponent, ExpansionPanelModule, ExpansionPanelTitleDirective, GridLayoutComponent, GridLayoutItemComponent, GridLayoutModule, LayoutModule, LocalizedStepperMessagesDirective, LocalizedTabStripMessagesDirective, PanelBarCollapseEvent, PanelBarComponent, PanelBarContentDirective, PanelBarExpandEvent, PanelBarExpandMode, PanelBarItemComponent, PanelBarItemTemplateDirective, PanelBarItemTitleDirective, PanelBarModule, PanelBarSelectEvent, PanelBarStateChangeEvent, SelectEvent, SplitterComponent, SplitterModule, SplitterPaneComponent, StackLayoutComponent, StackLayoutModule, StepperActivateEvent, StepperComponent, StepperCustomMessagesComponent, StepperIndicatorTemplateDirective, StepperLabelTemplateDirective, StepperModule, StepperStepTemplateDirective, TabCloseEvent, TabComponent, TabContentDirective, TabStripComponent, TabStripCustomMessagesComponent, TabStripModule, TabStripTabComponent, TabTitleDirective, TileLayoutComponent, TileLayoutItemBodyComponent, TileLayoutItemComponent, TileLayoutItemHeaderComponent, TileLayoutModule, TileLayoutReorderEvent, TileLayoutResizeEvent, TileLayoutResizeHandleDirective };
|
|
10277
|
+
export { AvatarComponent, AvatarCustomMessagesComponent, AvatarModule, CardAction, CardActionsComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardMediaDirective, CardModule, CardSeparatorDirective, CardSubtitleDirective, CardTitleDirective, DrawerComponent, DrawerContainerComponent, DrawerContentComponent, DrawerFooterTemplateDirective, DrawerHeaderTemplateDirective, DrawerItemTemplateDirective, DrawerModule, DrawerSelectEvent, DrawerTemplateDirective, ExpansionPanelActionEvent, ExpansionPanelComponent, ExpansionPanelModule, ExpansionPanelTitleDirective, GridLayoutComponent, GridLayoutItemComponent, GridLayoutModule, LayoutModule, LocalizedAvatarMessagesDirective, LocalizedStepperMessagesDirective, LocalizedTabStripMessagesDirective, PanelBarCollapseEvent, PanelBarComponent, PanelBarContentDirective, PanelBarExpandEvent, PanelBarExpandMode, PanelBarItemComponent, PanelBarItemTemplateDirective, PanelBarItemTitleDirective, PanelBarModule, PanelBarSelectEvent, PanelBarStateChangeEvent, SelectEvent, SplitterComponent, SplitterModule, SplitterPaneComponent, StackLayoutComponent, StackLayoutModule, StepperActivateEvent, StepperComponent, StepperCustomMessagesComponent, StepperIndicatorTemplateDirective, StepperLabelTemplateDirective, StepperModule, StepperStepTemplateDirective, TabCloseEvent, TabComponent, TabContentDirective, TabStripComponent, TabStripCustomMessagesComponent, TabStripModule, TabStripTabComponent, TabTitleDirective, TileLayoutComponent, TileLayoutItemBodyComponent, TileLayoutItemComponent, TileLayoutItemHeaderComponent, TileLayoutModule, TileLayoutReorderEvent, TileLayoutResizeEvent, TileLayoutResizeHandleDirective };
|
|
10160
10278
|
|
package/index.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export { LocalizedStepperMessagesDirective } from './stepper/localization/locali
|
|
|
40
40
|
export * from './stepper/template-directives';
|
|
41
41
|
export * from './stepper/types';
|
|
42
42
|
export { AvatarComponent } from './avatar/avatar.component';
|
|
43
|
+
export { AvatarCustomMessagesComponent } from './avatar/l10n/custom-messages.component';
|
|
44
|
+
export { LocalizedAvatarMessagesDirective } from './avatar/l10n/localized-messages.directive';
|
|
43
45
|
export { AvatarShape, Shape, AvatarRounded, AvatarFillMode, AvatarFillMode as AvatarFill, AvatarSize, AvatarThemeColor } from './avatar/models/models';
|
|
44
46
|
export { CardComponent } from './card/card.component';
|
|
45
47
|
export { CardHeaderComponent } from './card/card-header.component';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-layout",
|
|
3
|
-
"version": "11.5.0-develop.
|
|
3
|
+
"version": "11.5.0-develop.8",
|
|
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",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"@angular/core": "13 - 15",
|
|
40
40
|
"@angular/platform-browser": "13 - 15",
|
|
41
41
|
"@progress/kendo-licensing": "^1.0.2",
|
|
42
|
-
"@progress/kendo-angular-common": "11.5.0-develop.
|
|
43
|
-
"@progress/kendo-angular-l10n": "11.5.0-develop.
|
|
44
|
-
"@progress/kendo-angular-progressbar": "11.5.0-develop.
|
|
45
|
-
"@progress/kendo-angular-icons": "11.5.0-develop.
|
|
46
|
-
"@progress/kendo-angular-buttons": "11.5.0-develop.
|
|
42
|
+
"@progress/kendo-angular-common": "11.5.0-develop.8",
|
|
43
|
+
"@progress/kendo-angular-l10n": "11.5.0-develop.8",
|
|
44
|
+
"@progress/kendo-angular-progressbar": "11.5.0-develop.8",
|
|
45
|
+
"@progress/kendo-angular-icons": "11.5.0-develop.8",
|
|
46
|
+
"@progress/kendo-angular-buttons": "11.5.0-develop.8",
|
|
47
47
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"tslib": "^2.3.1",
|
|
51
|
-
"@progress/kendo-angular-schematics": "11.5.0-develop.
|
|
51
|
+
"@progress/kendo-angular-schematics": "11.5.0-develop.8",
|
|
52
52
|
"@progress/kendo-draggable": "^3.0.2"
|
|
53
53
|
},
|
|
54
54
|
"schematics": "./schematics/collection.json",
|