@progress/kendo-angular-layout 7.1.2-dev.202208301247 → 7.1.3-dev.202209091352
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/bundles/kendo-angular-layout.umd.js +1 -1
- package/esm2015/avatar/avatar.component.js +6 -2
- package/esm2015/drawer/drawer-container.component.js +1 -1
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/panelbar/panelbar-item.component.js +5 -15
- package/esm2015/splitter/splitter-bar.component.js +29 -13
- package/esm2015/splitter/splitter-pane.component.js +2 -2
- package/esm2015/stepper/list.component.js +13 -7
- package/esm2015/stepper/step.component.js +1 -1
- package/esm2015/tabstrip/tabstrip.component.js +3 -6
- package/fesm2015/kendo-angular-layout.js +75 -64
- package/package.json +1 -1
- package/panelbar/panelbar-item.component.d.ts +0 -2
- package/splitter/splitter-bar.component.d.ts +2 -0
- package/stepper/list.component.d.ts +4 -1
- package/tabstrip/tabstrip.component.d.ts +1 -1
|
@@ -241,7 +241,9 @@ AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
241
241
|
</ng-container>
|
|
242
242
|
|
|
243
243
|
<ng-container *ngIf="icon || iconClass">
|
|
244
|
-
<span class="k-avatar-icon"
|
|
244
|
+
<span class="k-avatar-icon">
|
|
245
|
+
<span [ngStyle]="cssStyle" [ngClass]="iconClasses()"></span>
|
|
246
|
+
</span>
|
|
245
247
|
</ng-container>
|
|
246
248
|
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
247
249
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
@@ -262,7 +264,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
262
264
|
</ng-container>
|
|
263
265
|
|
|
264
266
|
<ng-container *ngIf="icon || iconClass">
|
|
265
|
-
<span class="k-avatar-icon"
|
|
267
|
+
<span class="k-avatar-icon">
|
|
268
|
+
<span [ngStyle]="cssStyle" [ngClass]="iconClasses()"></span>
|
|
269
|
+
</span>
|
|
266
270
|
</ng-container>
|
|
267
271
|
`
|
|
268
272
|
}]
|
|
@@ -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:
|
|
12
|
+
publishDate: 1662731489,
|
|
13
13
|
version: '',
|
|
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
|
};
|
|
@@ -89,9 +89,6 @@ export class PanelBarItemComponent {
|
|
|
89
89
|
get kStateDefaultClass() {
|
|
90
90
|
return !this.disabled;
|
|
91
91
|
}
|
|
92
|
-
get kStateDisabledClass() {
|
|
93
|
-
return this.disabled;
|
|
94
|
-
}
|
|
95
92
|
get kStateExpandedClass() {
|
|
96
93
|
return !this.disabled && this.expanded && (this.hasChildItems || this.hasContent);
|
|
97
94
|
}
|
|
@@ -110,9 +107,6 @@ export class PanelBarItemComponent {
|
|
|
110
107
|
get headerClass() {
|
|
111
108
|
return this.parent ? null : true;
|
|
112
109
|
}
|
|
113
|
-
get childClass() {
|
|
114
|
-
return this.parent ? true : null;
|
|
115
|
-
}
|
|
116
110
|
/**
|
|
117
111
|
* @hidden
|
|
118
112
|
*/
|
|
@@ -244,12 +238,13 @@ export class PanelBarItemComponent {
|
|
|
244
238
|
}
|
|
245
239
|
}
|
|
246
240
|
PanelBarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PanelBarItemComponent, deps: [{ token: PanelBarItemComponent, host: true, optional: true, skipSelf: true }, { token: i1.PanelBarService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
247
|
-
PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PanelBarItemComponent, selector: "kendo-panelbar-item", inputs: { title: "title", id: "id", icon: "icon", iconClass: "iconClass", imageUrl: "imageUrl", disabled: "disabled", expanded: "expanded", selected: "selected", content: "content", items: "items", template: "template" }, host: { properties: { "attr.role": "this.role", "attr.title": "this.titleAttribute", "class.k-item": "this.kItemClass", "class.k-state-default": "this.kStateDefaultClass", "class.k-
|
|
241
|
+
PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PanelBarItemComponent, selector: "kendo-panelbar-item", inputs: { title: "title", id: "id", icon: "icon", iconClass: "iconClass", imageUrl: "imageUrl", disabled: "disabled", expanded: "expanded", selected: "selected", content: "content", items: "items", template: "template" }, host: { properties: { "attr.role": "this.role", "attr.title": "this.titleAttribute", "class.k-panelbar-item": "this.kItemClass", "class.k-state-default": "this.kStateDefaultClass", "class.k-expanded": "this.kStateExpandedClass", "id": "this.itemId", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-selected": "this.ariaSelected", "attr.aria-disabled": "this.ariaDisabled", "class.k-panelbar-header": "this.headerClass" } }, queries: [{ propertyName: "contentItems", predicate: PanelBarItemComponent }, { propertyName: "contentTemplate", predicate: PanelBarContentDirective }, { propertyName: "titleTemplates", predicate: PanelBarItemTitleDirective }], viewQueries: [{ propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "contentWrapper", first: true, predicate: ["contentWrapper"], descendants: true }, { propertyName: "viewChildItems", predicate: PanelBarItemComponent, descendants: true }], exportAs: ["kendoPanelbarItem"], ngImport: i0, template: `
|
|
248
242
|
<span
|
|
249
243
|
#header
|
|
250
244
|
[class.k-link]="true"
|
|
251
245
|
[class.k-selected]="!disabled && selected"
|
|
252
246
|
[class.k-focus]="focused && wrapperFocused"
|
|
247
|
+
[class.k-disabled]="disabled"
|
|
253
248
|
(click)="onItemClick($event)">
|
|
254
249
|
<span
|
|
255
250
|
*ngIf="icon || iconClass"
|
|
@@ -391,6 +386,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
391
386
|
[class.k-link]="true"
|
|
392
387
|
[class.k-selected]="!disabled && selected"
|
|
393
388
|
[class.k-focus]="focused && wrapperFocused"
|
|
389
|
+
[class.k-disabled]="disabled"
|
|
394
390
|
(click)="onItemClick($event)">
|
|
395
391
|
<span
|
|
396
392
|
*ngIf="icon || iconClass"
|
|
@@ -539,16 +535,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
539
535
|
args: ['attr.title']
|
|
540
536
|
}], kItemClass: [{
|
|
541
537
|
type: HostBinding,
|
|
542
|
-
args: ['class.k-item']
|
|
538
|
+
args: ['class.k-panelbar-item']
|
|
543
539
|
}], kStateDefaultClass: [{
|
|
544
540
|
type: HostBinding,
|
|
545
541
|
args: ['class.k-state-default']
|
|
546
|
-
}], kStateDisabledClass: [{
|
|
547
|
-
type: HostBinding,
|
|
548
|
-
args: ['class.k-disabled']
|
|
549
542
|
}], kStateExpandedClass: [{
|
|
550
543
|
type: HostBinding,
|
|
551
|
-
args: ['class.k-
|
|
544
|
+
args: ['class.k-expanded']
|
|
552
545
|
}], itemId: [{
|
|
553
546
|
type: HostBinding,
|
|
554
547
|
args: ['id']
|
|
@@ -564,9 +557,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
564
557
|
}], headerClass: [{
|
|
565
558
|
type: HostBinding,
|
|
566
559
|
args: ['class.k-panelbar-header']
|
|
567
|
-
}], childClass: [{
|
|
568
|
-
type: HostBinding,
|
|
569
|
-
args: ['class.k-panelbar-item']
|
|
570
560
|
}], viewChildItems: [{
|
|
571
561
|
type: ViewChildren,
|
|
572
562
|
args: [PanelBarItemComponent]
|
|
@@ -10,6 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
import * as i1 from "@progress/kendo-angular-common";
|
|
11
11
|
import * as i2 from "./splitter.service";
|
|
12
12
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
13
|
+
import * as i4 from "@angular/common";
|
|
13
14
|
const stopPropagation = ({ originalEvent: event }) => {
|
|
14
15
|
event.stopPropagation();
|
|
15
16
|
event.preventDefault();
|
|
@@ -135,16 +136,26 @@ export class SplitterBarComponent {
|
|
|
135
136
|
toggleNext() {
|
|
136
137
|
this.splitter.tryToggle(this.index + 1);
|
|
137
138
|
}
|
|
139
|
+
shouldShowIcon(iconName) {
|
|
140
|
+
const paneIndex = iconName === 'prev' ? this.index : this.index + 1;
|
|
141
|
+
const relatedPaneIndex = iconName === 'prev' ? this.index + 1 : this.index;
|
|
142
|
+
const pane = this.splitter.pane(paneIndex);
|
|
143
|
+
const relatedPane = this.splitter.pane(relatedPaneIndex);
|
|
144
|
+
const isCollapsible = pane.collapsible;
|
|
145
|
+
return isCollapsible && !relatedPane.isHidden;
|
|
146
|
+
}
|
|
147
|
+
collapseClass(order) {
|
|
148
|
+
const pane = this.splitter.pane(this.index);
|
|
149
|
+
const isCollapsible = pane.collapsible;
|
|
150
|
+
return isCollapsible ? `k-collapse-${order}` : '';
|
|
151
|
+
}
|
|
138
152
|
previousArrowClass() {
|
|
139
153
|
const pane = this.splitter.pane(this.index);
|
|
140
|
-
const nextPane = this.splitter.pane(this.index + 1);
|
|
141
154
|
const isCollapsible = pane.collapsible;
|
|
142
155
|
const isCollapsed = pane.collapsed;
|
|
143
156
|
const isHorizontal = this.orientation === 'horizontal';
|
|
144
157
|
return classFromObject({
|
|
145
158
|
'k-icon': true,
|
|
146
|
-
'k-hidden': !isCollapsible || nextPane.isHidden,
|
|
147
|
-
'k-collapse-prev': isCollapsible,
|
|
148
159
|
'k-i-caret-alt-left': isCollapsible && isHorizontal && !isCollapsed,
|
|
149
160
|
'k-i-caret-alt-right': isCollapsible && isHorizontal && isCollapsed,
|
|
150
161
|
'k-i-caret-alt-up': isCollapsible && !isHorizontal && !isCollapsed,
|
|
@@ -153,14 +164,11 @@ export class SplitterBarComponent {
|
|
|
153
164
|
}
|
|
154
165
|
nextArrowClass() {
|
|
155
166
|
const pane = this.splitter.pane(this.index + 1);
|
|
156
|
-
const prevPane = this.splitter.pane(this.index);
|
|
157
167
|
const isCollapsible = pane.collapsible;
|
|
158
168
|
const isCollapsed = pane.collapsed;
|
|
159
169
|
const isHorizontal = this.orientation === 'horizontal';
|
|
160
170
|
return classFromObject({
|
|
161
171
|
'k-icon': true,
|
|
162
|
-
'k-hidden': !isCollapsible || prevPane.isHidden,
|
|
163
|
-
'k-collapse-next': isCollapsible,
|
|
164
172
|
'k-i-caret-alt-right': isCollapsible && isHorizontal && !isCollapsed,
|
|
165
173
|
'k-i-caret-alt-left': isCollapsible && isHorizontal && isCollapsed,
|
|
166
174
|
'k-i-caret-alt-down': isCollapsible && !isHorizontal && !isCollapsed,
|
|
@@ -177,18 +185,26 @@ export class SplitterBarComponent {
|
|
|
177
185
|
}
|
|
178
186
|
SplitterBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterBarComponent, deps: [{ token: i1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i2.SplitterService }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
179
187
|
SplitterBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SplitterBarComponent, selector: "kendo-splitter-bar", inputs: { orientation: "orientation", index: "index" }, host: { listeners: { "dblclick": "collapseAny()", "focusin": "onFocusIn()", "focusout": "onFocusOut()", "keydown": "onKeyDown($event)" }, properties: { "attr.aria-orientation": "this.orientation", "attr.role": "this.ariaRole", "class.k-focus": "this.focused", "attr.tabindex": "this.tabIndex", "class": "this.hostClasses", "style.-ms-flex-order": "this.order", "style.order": "this.order" } }, ngImport: i0, template: `
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
188
|
+
<div *ngIf="shouldShowIcon('prev')" [class]="collapseClass('prev')" (click)="togglePrevious()">
|
|
189
|
+
<span [class]="previousArrowClass()"></span>
|
|
190
|
+
</div>
|
|
191
|
+
<div class="k-resize-handle"></div>
|
|
192
|
+
<div *ngIf="shouldShowIcon('next')" [class]="collapseClass('next')" (click)="toggleNext()">
|
|
193
|
+
<span [class]="nextArrowClass()"></span>
|
|
194
|
+
</div>
|
|
195
|
+
`, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
184
196
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterBarComponent, decorators: [{
|
|
185
197
|
type: Component,
|
|
186
198
|
args: [{
|
|
187
199
|
selector: 'kendo-splitter-bar',
|
|
188
200
|
template: `
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
201
|
+
<div *ngIf="shouldShowIcon('prev')" [class]="collapseClass('prev')" (click)="togglePrevious()">
|
|
202
|
+
<span [class]="previousArrowClass()"></span>
|
|
203
|
+
</div>
|
|
204
|
+
<div class="k-resize-handle"></div>
|
|
205
|
+
<div *ngIf="shouldShowIcon('next')" [class]="collapseClass('next')" (click)="toggleNext()">
|
|
206
|
+
<span [class]="nextArrowClass()"></span>
|
|
207
|
+
</div>
|
|
192
208
|
`
|
|
193
209
|
}]
|
|
194
210
|
}], ctorParameters: function () { return [{ type: i1.DraggableDirective, decorators: [{
|
|
@@ -119,11 +119,11 @@ export class SplitterPaneComponent {
|
|
|
119
119
|
ngAfterViewChecked() {
|
|
120
120
|
const element = this.element.nativeElement;
|
|
121
121
|
if (this.isHidden) {
|
|
122
|
-
this.renderer.addClass(element, 'k-
|
|
122
|
+
this.renderer.addClass(element, 'k-hidden');
|
|
123
123
|
this.renderer.addClass(element, 'hidden');
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
|
-
this.renderer.removeClass(element, 'k-
|
|
126
|
+
this.renderer.removeClass(element, 'k-hidden');
|
|
127
127
|
this.renderer.removeClass(element, 'hidden');
|
|
128
128
|
}
|
|
129
129
|
}
|
|
@@ -6,15 +6,17 @@ import { Component, EventEmitter, Input, Output } from "@angular/core";
|
|
|
6
6
|
import { closestItem, itemIndex, hasClass } from '../common/dom-queries';
|
|
7
7
|
import { STEPPER_STEP_INDEX } from '../stepper/models/constants';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "./
|
|
10
|
-
import * as i2 from "
|
|
9
|
+
import * as i1 from "./stepper.service";
|
|
10
|
+
import * as i2 from "./step.component";
|
|
11
|
+
import * as i3 from "@angular/common";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
14
15
|
export class StepperListComponent {
|
|
15
|
-
constructor(renderer, ngZone, element) {
|
|
16
|
+
constructor(renderer, ngZone, service, element) {
|
|
16
17
|
this.renderer = renderer;
|
|
17
18
|
this.ngZone = ngZone;
|
|
19
|
+
this.service = service;
|
|
18
20
|
this.element = element;
|
|
19
21
|
this.listKeydown = new EventEmitter();
|
|
20
22
|
this.listClick = new EventEmitter();
|
|
@@ -33,6 +35,9 @@ export class StepperListComponent {
|
|
|
33
35
|
get maxStepHeight() {
|
|
34
36
|
return this.maxStepDimension('height');
|
|
35
37
|
}
|
|
38
|
+
get focusedStep() {
|
|
39
|
+
return this.service.focusedStep;
|
|
40
|
+
}
|
|
36
41
|
maxStepDimension(dimension) {
|
|
37
42
|
if (dimension === 'width' && this.orientation === 'vertical') {
|
|
38
43
|
return null;
|
|
@@ -82,8 +87,8 @@ export class StepperListComponent {
|
|
|
82
87
|
}
|
|
83
88
|
}
|
|
84
89
|
}
|
|
85
|
-
StepperListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StepperListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
86
|
-
StepperListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: StepperListComponent, selector: "[kendoStepperList]", inputs: { linear: "linear", stepType: "stepType", orientation: "orientation", currentStep: "currentStep", steps: "steps", successIcon: "successIcon", errorIcon: "errorIcon", indicatorTemplate: "indicatorTemplate", labelTemplate: "labelTemplate", stepTemplate: "stepTemplate" }, outputs: { listKeydown: "listKeydown", listClick: "listClick" }, ngImport: i0, template: "\n <ng-container *ngFor='let step of steps; let idx = index'>\n <li kendoStepperStep\n [attr.data-kendo-stepper-index]='idx'\n [type]='stepType'\n [step]='step'\n [index]='idx'\n [current]='currentStep'\n [successIcon]='successIcon'\n [errorIcon]='errorIcon'\n [indicatorTemplate]='indicatorTemplate'\n [labelTemplate]='labelTemplate'\n [stepTemplate]='stepTemplate'\n class='k-step'\n [class.k-step-first]='idx === 0'\n [class.k-step-last]='idx === steps.length - 1'\n [class.k-step-done]='idx < currentStep'\n [class.k-step-current]='idx === currentStep'\n [class.k-step-optional]='step.optional'\n [class.k-
|
|
90
|
+
StepperListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StepperListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.StepperService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
91
|
+
StepperListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: StepperListComponent, selector: "[kendoStepperList]", inputs: { linear: "linear", stepType: "stepType", orientation: "orientation", currentStep: "currentStep", steps: "steps", successIcon: "successIcon", errorIcon: "errorIcon", indicatorTemplate: "indicatorTemplate", labelTemplate: "labelTemplate", stepTemplate: "stepTemplate" }, outputs: { listKeydown: "listKeydown", listClick: "listClick" }, ngImport: i0, template: "\n <ng-container *ngFor='let step of steps; let idx = index'>\n <li kendoStepperStep\n [attr.data-kendo-stepper-index]='idx'\n [type]='stepType'\n [step]='step'\n [index]='idx'\n [current]='currentStep'\n [successIcon]='successIcon'\n [errorIcon]='errorIcon'\n [indicatorTemplate]='indicatorTemplate'\n [labelTemplate]='labelTemplate'\n [stepTemplate]='stepTemplate'\n class='k-step'\n [class.k-step-first]='idx === 0'\n [class.k-step-last]='idx === steps.length - 1'\n [class.k-step-done]='idx < currentStep'\n [class.k-step-current]='idx === currentStep'\n [class.k-step-optional]='step.optional'\n [class.k-disabled]='step.disabled'\n [class.k-focus]='idx === focusedStep'\n [ngClass]='step.cssClass'\n [ngStyle]='step.cssStyle'\n [style.max-width.%] = 'maxStepWidth'\n [style.max-height.%] = 'maxStepHeight'\n >\n </li>\n </ng-container>\n ", isInline: true, components: [{ type: i2.StepperStepComponent, selector: "[kendoStepperStep]", inputs: ["step", "index", "current", "type", "successIcon", "errorIcon", "indicatorTemplate", "labelTemplate", "stepTemplate"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
87
92
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StepperListComponent, decorators: [{
|
|
88
93
|
type: Component,
|
|
89
94
|
args: [{
|
|
@@ -108,7 +113,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
108
113
|
[class.k-step-done]='idx < currentStep'
|
|
109
114
|
[class.k-step-current]='idx === currentStep'
|
|
110
115
|
[class.k-step-optional]='step.optional'
|
|
111
|
-
[class.k-
|
|
116
|
+
[class.k-disabled]='step.disabled'
|
|
117
|
+
[class.k-focus]='idx === focusedStep'
|
|
112
118
|
[ngClass]='step.cssClass'
|
|
113
119
|
[ngStyle]='step.cssStyle'
|
|
114
120
|
[style.max-width.%] = 'maxStepWidth'
|
|
@@ -118,7 +124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
118
124
|
</ng-container>
|
|
119
125
|
`
|
|
120
126
|
}]
|
|
121
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ElementRef }]; }, propDecorators: { linear: [{
|
|
127
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1.StepperService }, { type: i0.ElementRef }]; }, propDecorators: { linear: [{
|
|
122
128
|
type: Input
|
|
123
129
|
}], stepType: [{
|
|
124
130
|
type: Input
|
|
@@ -103,7 +103,7 @@ export class StepperStepComponent {
|
|
|
103
103
|
}
|
|
104
104
|
get validationIconClasses() {
|
|
105
105
|
if (this.isStepValid) {
|
|
106
|
-
return this.successIcon ? `${this.successIcon}` : 'k-icon k-i-check';
|
|
106
|
+
return this.successIcon ? `${this.successIcon}` : 'k-icon k-i-check-circle';
|
|
107
107
|
}
|
|
108
108
|
else {
|
|
109
109
|
return this.errorIcon ? `${this.errorIcon}` : 'k-icon k-i-exclamation-circle';
|
|
@@ -83,7 +83,7 @@ export class TabStripComponent {
|
|
|
83
83
|
* The event is preventable.
|
|
84
84
|
*/
|
|
85
85
|
this.tabScroll = new EventEmitter();
|
|
86
|
-
this.
|
|
86
|
+
this.hostClass = true;
|
|
87
87
|
/**
|
|
88
88
|
* A query list of all declared tabs.
|
|
89
89
|
*/
|
|
@@ -351,7 +351,7 @@ export class TabStripComponent {
|
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
TabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TabStripComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i2.TabStripService }, { token: i3.ScrollService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
354
|
-
TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TabStripComponent, selector: "kendo-tabstrip", inputs: { height: "height", animate: "animate", tabAlignment: "tabAlignment", tabPosition: "tabPosition", keepTabContent: "keepTabContent", closable: "closable", scrollable: "scrollable", closeIcon: "closeIcon" }, outputs: { tabSelect: "tabSelect", tabClose: "tabClose", tabScroll: "tabScroll" }, host: { properties: { "class.k-tabstrip": "this.
|
|
354
|
+
TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TabStripComponent, selector: "kendo-tabstrip", inputs: { height: "height", animate: "animate", tabAlignment: "tabAlignment", tabPosition: "tabPosition", keepTabContent: "keepTabContent", closable: "closable", scrollable: "scrollable", closeIcon: "closeIcon" }, outputs: { tabSelect: "tabSelect", tabClose: "tabClose", tabScroll: "tabScroll" }, host: { properties: { "class.k-tabstrip": "this.hostClass", "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" } }, providers: [
|
|
355
355
|
TabStripService,
|
|
356
356
|
ScrollService,
|
|
357
357
|
LocalizationService,
|
|
@@ -581,12 +581,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
581
581
|
type: Output
|
|
582
582
|
}], tabScroll: [{
|
|
583
583
|
type: Output
|
|
584
|
-
}],
|
|
584
|
+
}], hostClass: [{
|
|
585
585
|
type: HostBinding,
|
|
586
586
|
args: ['class.k-tabstrip']
|
|
587
|
-
}, {
|
|
588
|
-
type: HostBinding,
|
|
589
|
-
args: ['class.k-floatwrap']
|
|
590
587
|
}], tabsAtTop: [{
|
|
591
588
|
type: HostBinding,
|
|
592
589
|
args: ['class.k-tabstrip-top']
|