@progress/kendo-angular-layout 21.1.1-develop.1 → 21.2.0-develop.1
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/esm2022/avatar/avatar.component.mjs +63 -59
- package/esm2022/card/card-actions.component.mjs +51 -41
- package/esm2022/drawer/drawer-container.component.mjs +10 -8
- package/esm2022/drawer/drawer.component.mjs +69 -55
- package/esm2022/drawer/item.component.mjs +79 -69
- package/esm2022/drawer/list.component.mjs +28 -25
- package/esm2022/expansionpanel/expansionpanel.component.mjs +75 -65
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/panelbar/panelbar-item.component.mjs +169 -135
- package/esm2022/panelbar/panelbar.component.mjs +56 -45
- package/esm2022/splitter/splitter-bar.component.mjs +32 -25
- package/esm2022/splitter/splitter-pane.component.mjs +16 -10
- package/esm2022/splitter/splitter.component.mjs +29 -31
- package/esm2022/stepper/list.component.mjs +33 -33
- package/esm2022/stepper/step.component.mjs +141 -111
- package/esm2022/stepper/stepper.component.mjs +59 -55
- package/esm2022/tabstrip/rendering/tab.component.mjs +49 -39
- package/esm2022/tabstrip/tabstrip.component.mjs +251 -233
- package/esm2022/tabstrip/util.mjs +1 -1
- package/esm2022/tilelayout/tilelayout-item.component.mjs +28 -23
- package/esm2022/tilelayout/tilelayout.component.mjs +24 -21
- package/esm2022/timeline/timeline-card.component.mjs +185 -151
- package/esm2022/timeline/timeline-horizontal.component.mjs +197 -183
- package/esm2022/timeline/timeline-vertical.component.mjs +79 -67
- package/esm2022/timeline/timeline.component.mjs +36 -33
- package/fesm2022/progress-kendo-angular-layout.mjs +1747 -1498
- package/package.json +9 -9
- package/schematics/ngAdd/index.js +4 -0
|
@@ -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 { Component, HostBinding, Input, isDevMode, Renderer2, ElementRef } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { NgStyle } from '@angular/common';
|
|
7
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
8
8
|
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
9
9
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
@@ -271,7 +271,7 @@ export class AvatarComponent {
|
|
|
271
271
|
return this.localization.get(key);
|
|
272
272
|
}
|
|
273
273
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AvatarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
274
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
274
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: AvatarComponent, isStandalone: true, 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: [
|
|
275
275
|
LocalizationService,
|
|
276
276
|
{
|
|
277
277
|
provide: L10N_PREFIX,
|
|
@@ -279,35 +279,37 @@ export class AvatarComponent {
|
|
|
279
279
|
}
|
|
280
280
|
], ngImport: i0, template: `
|
|
281
281
|
<ng-container kendoAvatarLocalizedMessages
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
282
|
+
i18n-avatarAlt="kendo.avatar.avatarAlt|The alt attribute text of the image in the avatar."
|
|
283
|
+
avatarAlt="Avatar"
|
|
284
|
+
>
|
|
285
285
|
</ng-container>
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
286
|
+
|
|
287
|
+
@if (customAvatar) {
|
|
288
|
+
<ng-content></ng-content>
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
@if (imageSrc) {
|
|
292
|
+
<span class="k-avatar-image">
|
|
293
|
+
<img src="{{ imageSrc }}" [alt]="textFor('avatarAlt')" [ngStyle]="cssStyle" />
|
|
294
|
+
</span>
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@if (initials) {
|
|
298
|
+
<span class="k-avatar-text" [ngStyle]="cssStyle">{{ initials.substring(0, 2) }}</span>
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
@if (icon || iconClass || svgIcon) {
|
|
302
|
+
<span class="k-avatar-icon">
|
|
303
|
+
<kendo-icon-wrapper
|
|
304
|
+
[ngStyle]="cssStyle"
|
|
305
|
+
[name]="icon"
|
|
306
|
+
[customFontClass]="iconClass"
|
|
307
|
+
[svgIcon]="svgIcon"
|
|
308
|
+
>
|
|
309
|
+
</kendo-icon-wrapper>
|
|
310
|
+
</span>
|
|
311
|
+
}
|
|
312
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: LocalizedAvatarMessagesDirective, selector: "[kendoAvatarLocalizedMessages]" }] });
|
|
311
313
|
}
|
|
312
314
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
313
315
|
type: Component,
|
|
@@ -322,37 +324,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
322
324
|
selector: 'kendo-avatar',
|
|
323
325
|
template: `
|
|
324
326
|
<ng-container kendoAvatarLocalizedMessages
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
327
|
+
i18n-avatarAlt="kendo.avatar.avatarAlt|The alt attribute text of the image in the avatar."
|
|
328
|
+
avatarAlt="Avatar"
|
|
329
|
+
>
|
|
328
330
|
</ng-container>
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
331
|
+
|
|
332
|
+
@if (customAvatar) {
|
|
333
|
+
<ng-content></ng-content>
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
@if (imageSrc) {
|
|
337
|
+
<span class="k-avatar-image">
|
|
338
|
+
<img src="{{ imageSrc }}" [alt]="textFor('avatarAlt')" [ngStyle]="cssStyle" />
|
|
339
|
+
</span>
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
@if (initials) {
|
|
343
|
+
<span class="k-avatar-text" [ngStyle]="cssStyle">{{ initials.substring(0, 2) }}</span>
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@if (icon || iconClass || svgIcon) {
|
|
347
|
+
<span class="k-avatar-icon">
|
|
348
|
+
<kendo-icon-wrapper
|
|
349
|
+
[ngStyle]="cssStyle"
|
|
350
|
+
[name]="icon"
|
|
351
|
+
[customFontClass]="iconClass"
|
|
352
|
+
[svgIcon]="svgIcon"
|
|
353
|
+
>
|
|
354
|
+
</kendo-icon-wrapper>
|
|
355
|
+
</span>
|
|
356
|
+
}
|
|
357
|
+
`,
|
|
354
358
|
standalone: true,
|
|
355
|
-
imports: [
|
|
359
|
+
imports: [NgStyle, IconWrapperComponent, LocalizedAvatarMessagesDirective]
|
|
356
360
|
}]
|
|
357
361
|
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { hostClass: [{
|
|
358
362
|
type: HostBinding,
|
|
@@ -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 { Component, EventEmitter, HostBinding, Input, Output, TemplateRef } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Defines the action buttons of the Card ([see example]({% slug actions_card %})).
|
|
@@ -80,57 +80,67 @@ export class CardActionsComponent {
|
|
|
80
80
|
this.action.emit(action);
|
|
81
81
|
}
|
|
82
82
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CardActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
83
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CardActionsComponent, isStandalone: true, selector: "kendo-card-actions", inputs: { orientation: "orientation", layout: "layout", actions: "actions" }, outputs: { action: "action" }, host: { properties: { "class.k-actions": "this.hostClass", "class.k-card-actions": "this.hostClass", "class.k-actions-stretched": "this.stretchedClass", "class.k-actions-start": "this.startClass", "class.k-actions-end": "this.endClass", "class.k-actions-center": "this.centerClass", "class.k-actions-vertical": "this.verticalClass", "class.k-actions-horizontal": "this.horizontalClass" } }, ngImport: i0, template: `
|
|
84
|
+
@if (!actionsArray && !actionsTemplate) {
|
|
85
|
+
<ng-content></ng-content>
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@if (actionsArray) {
|
|
89
|
+
@for (action of actionsArray; track action) {
|
|
87
90
|
<button
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
<span class="k-button-text">{{ action.text }}</span>
|
|
91
|
+
type="button"
|
|
92
|
+
class="k-button k-button-md k-rounded-md"
|
|
93
|
+
[class.k-button-solid]="!action.flat"
|
|
94
|
+
[class.k-button-flat]="action.flat"
|
|
95
|
+
[class.k-button-solid-base]="!action.primary && !action.flat"
|
|
96
|
+
[class.k-button-solid-primary]="action.primary && !action.flat"
|
|
97
|
+
[class.k-button-flat-base]="!action.primary && action.flat"
|
|
98
|
+
[class.k-button-flat-primary]="action.primary && action.flat"
|
|
99
|
+
(click)="onClick(action)"
|
|
100
|
+
>
|
|
101
|
+
<span class="k-button-text">{{ action.text }}</span>
|
|
100
102
|
</button>
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@if (actionsTemplate) {
|
|
107
|
+
<ng-template [ngTemplateOutlet]="actionsTemplate"></ng-template>
|
|
108
|
+
}
|
|
109
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
105
110
|
}
|
|
106
111
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CardActionsComponent, decorators: [{
|
|
107
112
|
type: Component,
|
|
108
113
|
args: [{
|
|
109
114
|
selector: 'kendo-card-actions',
|
|
110
115
|
template: `
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
116
|
+
@if (!actionsArray && !actionsTemplate) {
|
|
117
|
+
<ng-content></ng-content>
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@if (actionsArray) {
|
|
121
|
+
@for (action of actionsArray; track action) {
|
|
114
122
|
<button
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
<span class="k-button-text">{{ action.text }}</span>
|
|
123
|
+
type="button"
|
|
124
|
+
class="k-button k-button-md k-rounded-md"
|
|
125
|
+
[class.k-button-solid]="!action.flat"
|
|
126
|
+
[class.k-button-flat]="action.flat"
|
|
127
|
+
[class.k-button-solid-base]="!action.primary && !action.flat"
|
|
128
|
+
[class.k-button-solid-primary]="action.primary && !action.flat"
|
|
129
|
+
[class.k-button-flat-base]="!action.primary && action.flat"
|
|
130
|
+
[class.k-button-flat-primary]="action.primary && action.flat"
|
|
131
|
+
(click)="onClick(action)"
|
|
132
|
+
>
|
|
133
|
+
<span class="k-button-text">{{ action.text }}</span>
|
|
127
134
|
</button>
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@if (actionsTemplate) {
|
|
139
|
+
<ng-template [ngTemplateOutlet]="actionsTemplate"></ng-template>
|
|
140
|
+
}
|
|
141
|
+
`,
|
|
132
142
|
standalone: true,
|
|
133
|
-
imports: [
|
|
143
|
+
imports: [NgTemplateOutlet]
|
|
134
144
|
}]
|
|
135
145
|
}], propDecorators: { hostClass: [{
|
|
136
146
|
type: HostBinding,
|
|
@@ -6,7 +6,6 @@ import { Component, HostBinding, ContentChild } from '@angular/core';
|
|
|
6
6
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { DrawerComponent } from './drawer.component';
|
|
8
8
|
import { isPresent } from '../common/util';
|
|
9
|
-
import { NgIf } from '@angular/common';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
11
|
/**
|
|
@@ -80,16 +79,18 @@ export class DrawerContainerComponent {
|
|
|
80
79
|
}
|
|
81
80
|
}
|
|
82
81
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DrawerContainerComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
83
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
82
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: DrawerContainerComponent, isStandalone: true, selector: "kendo-drawer-container", host: { properties: { "class.k-drawer-container": "this.hostClass", "class.k-drawer-overlay": "this.overlayClass", "class.k-drawer-mini": "this.miniClass", "class.k-drawer-push": "this.pushClass", "class.k-drawer-expanded": "this.isExpandedClass", "attr.dir": "this.direction" } }, providers: [
|
|
84
83
|
LocalizationService,
|
|
85
84
|
{
|
|
86
85
|
provide: L10N_PREFIX,
|
|
87
86
|
useValue: 'kendo.drawer.container'
|
|
88
87
|
}
|
|
89
88
|
], queries: [{ propertyName: "drawer", first: true, predicate: DrawerComponent, descendants: true }], ngImport: i0, template: `
|
|
90
|
-
|
|
89
|
+
@if (overlay) {
|
|
90
|
+
<div class="k-overlay" (click)="closeDrawer()"></div>
|
|
91
|
+
}
|
|
91
92
|
<ng-content></ng-content>
|
|
92
|
-
|
|
93
|
+
`, isInline: true });
|
|
93
94
|
}
|
|
94
95
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DrawerContainerComponent, decorators: [{
|
|
95
96
|
type: Component,
|
|
@@ -103,11 +104,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
103
104
|
}
|
|
104
105
|
],
|
|
105
106
|
template: `
|
|
106
|
-
|
|
107
|
+
@if (overlay) {
|
|
108
|
+
<div class="k-overlay" (click)="closeDrawer()"></div>
|
|
109
|
+
}
|
|
107
110
|
<ng-content></ng-content>
|
|
108
|
-
|
|
109
|
-
standalone: true
|
|
110
|
-
imports: [NgIf]
|
|
111
|
+
`,
|
|
112
|
+
standalone: true
|
|
111
113
|
}]
|
|
112
114
|
}], ctorParameters: () => [{ type: i1.LocalizationService }], propDecorators: { hostClass: [{
|
|
113
115
|
type: HostBinding,
|
|
@@ -15,7 +15,7 @@ import { take } from 'rxjs/operators';
|
|
|
15
15
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
16
16
|
import { getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
|
17
17
|
import { DrawerListComponent } from './list.component';
|
|
18
|
-
import {
|
|
18
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
import * as i1 from "@angular/animations";
|
|
21
21
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
@@ -312,7 +312,7 @@ export class DrawerComponent {
|
|
|
312
312
|
return player;
|
|
313
313
|
}
|
|
314
314
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DrawerComponent, deps: [{ token: i0.ElementRef }, { token: i1.AnimationBuilder }, { token: i2.LocalizationService }, { token: i3.DrawerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
315
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
315
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: DrawerComponent, isStandalone: true, selector: "kendo-drawer", inputs: { mode: "mode", position: "position", mini: "mini", expanded: "expanded", width: "width", miniWidth: "miniWidth", autoCollapse: "autoCollapse", items: "items", isItemExpanded: "isItemExpanded", animation: "animation" }, outputs: { expand: "expand", collapse: "collapse", select: "select", expandedChange: "expandedChange" }, host: { properties: { "class.k-drawer": "this.hostClasses", "class.k-drawer-start": "this.startPositionClass", "class.k-drawer-end": "this.endPositionClass", "style.transform": "this.overlayTransofrmStyles", "style.flexBasis.px": "this.flexStyles", "attr.dir": "this.direction" } }, providers: [
|
|
316
316
|
LocalizationService,
|
|
317
317
|
DrawerService,
|
|
318
318
|
{
|
|
@@ -320,35 +320,42 @@ export class DrawerComponent {
|
|
|
320
320
|
useValue: 'kendo.drawer'
|
|
321
321
|
}
|
|
322
322
|
], queries: [{ propertyName: "drawerTemplate", first: true, predicate: DrawerTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: DrawerFooterTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: DrawerHeaderTemplateDirective, descendants: true }, { propertyName: "itemTemplate", first: true, predicate: DrawerItemTemplateDirective, descendants: true }], exportAs: ["kendoDrawer"], usesOnChanges: true, ngImport: i0, template: `
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
323
|
+
@if (expanded || mini) {
|
|
324
|
+
<div class="k-drawer-wrapper" [style.width.px]="drawerWidth">
|
|
325
|
+
@if (!drawerTemplate) {
|
|
326
|
+
@if (headerTemplate) {
|
|
327
|
+
<ng-template
|
|
328
|
+
[ngTemplateOutlet]="headerTemplate?.templateRef">
|
|
327
329
|
</ng-template>
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
<ng-template
|
|
341
|
-
|
|
330
|
+
}
|
|
331
|
+
<ul kendoDrawerList
|
|
332
|
+
role="menubar"
|
|
333
|
+
aria-orientation="vertical"
|
|
334
|
+
(select)="onSelect($event)"
|
|
335
|
+
[mini]="mini"
|
|
336
|
+
[expanded]="expanded"
|
|
337
|
+
[view]="viewItems"
|
|
338
|
+
[itemTemplate]="itemTemplate?.templateRef"
|
|
339
|
+
class="k-drawer-items">
|
|
340
|
+
</ul>
|
|
341
|
+
@if (footerTemplate) {
|
|
342
|
+
<ng-template
|
|
343
|
+
[ngTemplateOutlet]="footerTemplate?.templateRef">
|
|
342
344
|
</ng-template>
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
@if (drawerTemplate) {
|
|
348
|
+
<ng-template
|
|
346
349
|
[ngTemplateOutlet]="drawerTemplate?.templateRef">
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
350
|
+
</ng-template>
|
|
351
|
+
}
|
|
352
|
+
</div>
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
@if (showLicenseWatermark) {
|
|
356
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
357
|
+
}
|
|
358
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DrawerListComponent, selector: "[kendoDrawerList]", inputs: ["itemTemplate", "mini", "expanded", "view"], outputs: ["select"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }] });
|
|
352
359
|
}
|
|
353
360
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DrawerComponent, decorators: [{
|
|
354
361
|
type: Component,
|
|
@@ -364,37 +371,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
364
371
|
],
|
|
365
372
|
selector: 'kendo-drawer',
|
|
366
373
|
template: `
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
374
|
+
@if (expanded || mini) {
|
|
375
|
+
<div class="k-drawer-wrapper" [style.width.px]="drawerWidth">
|
|
376
|
+
@if (!drawerTemplate) {
|
|
377
|
+
@if (headerTemplate) {
|
|
378
|
+
<ng-template
|
|
379
|
+
[ngTemplateOutlet]="headerTemplate?.templateRef">
|
|
371
380
|
</ng-template>
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
<ng-template
|
|
385
|
-
|
|
381
|
+
}
|
|
382
|
+
<ul kendoDrawerList
|
|
383
|
+
role="menubar"
|
|
384
|
+
aria-orientation="vertical"
|
|
385
|
+
(select)="onSelect($event)"
|
|
386
|
+
[mini]="mini"
|
|
387
|
+
[expanded]="expanded"
|
|
388
|
+
[view]="viewItems"
|
|
389
|
+
[itemTemplate]="itemTemplate?.templateRef"
|
|
390
|
+
class="k-drawer-items">
|
|
391
|
+
</ul>
|
|
392
|
+
@if (footerTemplate) {
|
|
393
|
+
<ng-template
|
|
394
|
+
[ngTemplateOutlet]="footerTemplate?.templateRef">
|
|
386
395
|
</ng-template>
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
@if (drawerTemplate) {
|
|
399
|
+
<ng-template
|
|
390
400
|
[ngTemplateOutlet]="drawerTemplate?.templateRef">
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
401
|
+
</ng-template>
|
|
402
|
+
}
|
|
403
|
+
</div>
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
@if (showLicenseWatermark) {
|
|
407
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
408
|
+
}
|
|
409
|
+
`,
|
|
396
410
|
standalone: true,
|
|
397
|
-
imports: [
|
|
411
|
+
imports: [NgTemplateOutlet, DrawerListComponent, WatermarkOverlayComponent]
|
|
398
412
|
}]
|
|
399
413
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.AnimationBuilder }, { type: i2.LocalizationService }, { type: i3.DrawerService }], propDecorators: { hostClasses: [{
|
|
400
414
|
type: HostBinding,
|