@progress/kendo-angular-layout 11.0.0-develop.103 → 11.0.0-develop.104
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 +9 -5
- package/avatar.module.d.ts +2 -1
- package/drawer/item.component.d.ts +6 -1
- package/drawer/models/drawer-item.interface.d.ts +11 -1
- package/drawer.module.d.ts +2 -1
- package/esm2020/avatar/avatar.component.mjs +33 -16
- package/esm2020/avatar.module.mjs +4 -3
- package/esm2020/drawer/drawer.component.mjs +1 -0
- package/esm2020/drawer/item.component.mjs +62 -21
- package/esm2020/drawer.module.mjs +4 -3
- package/esm2020/expansionpanel/expansionpanel.component.mjs +72 -9
- package/esm2020/expansionpanel.module.mjs +4 -3
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/panelbar/panelbar-item.component.mjs +88 -25
- package/esm2020/panelbar/panelbar.component.mjs +3 -1
- package/esm2020/panelbar.module.mjs +4 -3
- package/esm2020/splitter/splitter-bar.component.mjs +60 -23
- package/esm2020/splitter.module.mjs +7 -3
- package/esm2020/stepper/list.component.mjs +10 -1
- package/esm2020/stepper/step.component.mjs +82 -20
- package/esm2020/stepper/stepper.component.mjs +24 -2
- package/esm2020/stepper.module.mjs +4 -3
- package/esm2020/tabstrip/models/scrollable-settings.mjs +4 -2
- package/esm2020/tabstrip/models/tabstrip-tab.component.mjs +5 -1
- package/esm2020/tabstrip/rendering/tab.component.mjs +41 -15
- package/esm2020/tabstrip/scrollable-button.component.mjs +55 -30
- package/esm2020/tabstrip/tabstrip.component.mjs +30 -6
- package/esm2020/tabstrip.module.mjs +5 -3
- package/expansionpanel/expansionpanel.component.d.ts +25 -2
- package/expansionpanel.module.d.ts +2 -1
- package/fesm2015/progress-kendo-angular-layout.mjs +577 -181
- package/fesm2020/progress-kendo-angular-layout.mjs +577 -181
- package/package.json +7 -5
- package/panelbar/panelbar-item-model.d.ts +6 -0
- package/panelbar/panelbar-item.component.d.ts +29 -1
- package/panelbar.module.d.ts +2 -1
- package/schematics/ngAdd/index.js +4 -2
- package/splitter/splitter-bar.component.d.ts +8 -5
- package/splitter.module.d.ts +2 -1
- package/stepper/list.component.d.ts +5 -1
- package/stepper/models/stepper-step.interface.d.ts +6 -0
- package/stepper/step.component.d.ts +13 -3
- package/stepper/stepper.component.d.ts +21 -1
- package/stepper.module.d.ts +2 -1
- package/tabstrip/models/scrollable-settings.d.ts +11 -0
- package/tabstrip/models/tabstrip-tab.component.d.ts +13 -3
- package/tabstrip/rendering/tab.component.d.ts +5 -1
- package/tabstrip/scrollable-button.component.d.ts +5 -1
- package/tabstrip/tabstrip.component.d.ts +14 -3
- package/tabstrip.module.d.ts +3 -1
|
@@ -8,10 +8,12 @@ import { packageMetadata } from '../package-metadata';
|
|
|
8
8
|
import { isPresent } from '../common/util';
|
|
9
9
|
import { StepperService } from './stepper.service';
|
|
10
10
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
11
|
+
import { checkCircleIcon, exclamationCircleIcon } from '@progress/kendo-svg-icons';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
import * as i1 from "./stepper.service";
|
|
13
14
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
14
|
-
import * as i3 from "@angular
|
|
15
|
+
import * as i3 from "@progress/kendo-angular-icons";
|
|
16
|
+
import * as i4 from "@angular/common";
|
|
15
17
|
/**
|
|
16
18
|
* @hidden
|
|
17
19
|
*/
|
|
@@ -22,6 +24,8 @@ export class StepperStepComponent {
|
|
|
22
24
|
this.ngZone = ngZone;
|
|
23
25
|
this.isStepValid = undefined;
|
|
24
26
|
this.shouldCheckValidity = undefined;
|
|
27
|
+
this.checkCircleIcon = checkCircleIcon;
|
|
28
|
+
this.exclamationCircleIcon = exclamationCircleIcon;
|
|
25
29
|
validatePackage(packageMetadata);
|
|
26
30
|
this.subs = this.service.focusedStepChange.subscribe(() => {
|
|
27
31
|
this.onFocusedStepChange();
|
|
@@ -69,16 +73,48 @@ export class StepperStepComponent {
|
|
|
69
73
|
const active = this.service.focusedStep || this.service.currentStep;
|
|
70
74
|
return this.index === active ? 0 : -1;
|
|
71
75
|
}
|
|
72
|
-
get
|
|
73
|
-
if (this.step.icon) {
|
|
74
|
-
return
|
|
76
|
+
get indicatorIconClass() {
|
|
77
|
+
if (this.step.icon && !this.step.iconClass) {
|
|
78
|
+
return `${this.step.icon}`;
|
|
75
79
|
}
|
|
80
|
+
if (!this.step.icon && !this.step.iconClass && this.shouldCheckValidity) {
|
|
81
|
+
return this.validationIconClasses;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
get customIndicatorIconClass() {
|
|
76
85
|
if (this.step.iconClass) {
|
|
77
86
|
return `${this.step.iconClass}`;
|
|
78
87
|
}
|
|
79
|
-
|
|
80
|
-
|
|
88
|
+
const renderCustomValidationIcon = !this.step.icon && !this.step.iconClass && this.shouldCheckValidity;
|
|
89
|
+
if (renderCustomValidationIcon) {
|
|
90
|
+
return this.customValidationIconClasses;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
get SVGIndicatorIcon() {
|
|
94
|
+
if (this.step.svgIcon) {
|
|
95
|
+
return this.step.svgIcon;
|
|
96
|
+
}
|
|
97
|
+
if (!this.step.svgIcon && this.shouldCheckValidity) {
|
|
98
|
+
return this.validationSVGIcon;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
get validationIconClasses() {
|
|
102
|
+
if (this.isStepValid) {
|
|
103
|
+
return !this.successIcon ? 'check-circle' : '';
|
|
104
|
+
}
|
|
105
|
+
return !this.errorIcon ? 'exclamation-circle' : '';
|
|
106
|
+
}
|
|
107
|
+
get customValidationIconClasses() {
|
|
108
|
+
if (this.isStepValid) {
|
|
109
|
+
return this.successIcon ? this.successIcon : '';
|
|
81
110
|
}
|
|
111
|
+
return this.errorIcon ? this.errorIcon : '';
|
|
112
|
+
}
|
|
113
|
+
get validationSVGIcon() {
|
|
114
|
+
if (this.isStepValid) {
|
|
115
|
+
return this.successSVGIcon ? this.successSVGIcon : this.checkCircleIcon;
|
|
116
|
+
}
|
|
117
|
+
return this.errorSVGIcon ? this.errorSVGIcon : this.exclamationCircleIcon;
|
|
82
118
|
}
|
|
83
119
|
get showIndicatorIcon() {
|
|
84
120
|
if (this.shouldCheckValidity) {
|
|
@@ -103,14 +139,6 @@ export class StepperStepComponent {
|
|
|
103
139
|
get showLabelText() {
|
|
104
140
|
return this.type === 'label' || this.type === 'full';
|
|
105
141
|
}
|
|
106
|
-
get validationIconClasses() {
|
|
107
|
-
if (this.isStepValid) {
|
|
108
|
-
return this.successIcon ? `${this.successIcon}` : 'k-icon k-i-check-circle';
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return this.errorIcon ? `${this.errorIcon}` : 'k-icon k-i-exclamation-circle';
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
142
|
get indicatorText() {
|
|
115
143
|
const text = this.step.text;
|
|
116
144
|
return text ? text : this.index + 1;
|
|
@@ -159,7 +187,7 @@ export class StepperStepComponent {
|
|
|
159
187
|
}
|
|
160
188
|
}
|
|
161
189
|
StepperStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperStepComponent, deps: [{ token: i1.StepperService }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
162
|
-
StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: StepperStepComponent, selector: "[kendoStepperStep]", inputs: { step: "step", index: "index", current: "current", type: "type", successIcon: "successIcon", errorIcon: "errorIcon", indicatorTemplate: "indicatorTemplate", labelTemplate: "labelTemplate", stepTemplate: "stepTemplate" }, host: { properties: { "class.k-step-error": "this.errorStepClass", "class.k-step-success": "this.successStepClass" } }, viewQueries: [{ propertyName: "stepLink", first: true, predicate: ["stepLink"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
190
|
+
StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: StepperStepComponent, selector: "[kendoStepperStep]", inputs: { step: "step", index: "index", current: "current", type: "type", successIcon: "successIcon", successSVGIcon: "successSVGIcon", errorIcon: "errorIcon", errorSVGIcon: "errorSVGIcon", svgIcon: "svgIcon", indicatorTemplate: "indicatorTemplate", labelTemplate: "labelTemplate", stepTemplate: "stepTemplate" }, host: { properties: { "class.k-step-error": "this.errorStepClass", "class.k-step-success": "this.successStepClass" } }, viewQueries: [{ propertyName: "stepLink", first: true, predicate: ["stepLink"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
163
191
|
<a href='#' class='k-step-link' #stepLink
|
|
164
192
|
[attr.tabindex]='tabIndexAttr'
|
|
165
193
|
[attr.title]='step.label'
|
|
@@ -184,7 +212,14 @@ StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
184
212
|
</ng-template>
|
|
185
213
|
|
|
186
214
|
<ng-container *ngIf='!indicatorTemplate'>
|
|
187
|
-
<
|
|
215
|
+
<kendo-icon-wrapper
|
|
216
|
+
*ngIf='showIndicatorIcon'
|
|
217
|
+
[name]='indicatorIconClass'
|
|
218
|
+
[customFontClass]='customIndicatorIconClass'
|
|
219
|
+
[svgIcon]='SVGIndicatorIcon'
|
|
220
|
+
innerCssClass='k-step-indicator-icon'
|
|
221
|
+
>
|
|
222
|
+
</kendo-icon-wrapper>
|
|
188
223
|
<span class='k-step-indicator-text' *ngIf='!showIndicatorIcon'>{{ indicatorText }}</span>
|
|
189
224
|
</ng-container>
|
|
190
225
|
</span>
|
|
@@ -197,13 +232,20 @@ StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
197
232
|
|
|
198
233
|
<ng-container *ngIf='!labelTemplate'>
|
|
199
234
|
<span class='k-step-text' *ngIf='showLabelText'>{{ step.label }}</span>
|
|
200
|
-
<
|
|
235
|
+
<kendo-icon-wrapper
|
|
236
|
+
*ngIf='showLabelIcon'
|
|
237
|
+
aria-hidden='true'
|
|
238
|
+
[name]='validationIconClasses'
|
|
239
|
+
[customFontClass]='customValidationIconClasses'
|
|
240
|
+
[svgIcon]='validationSVGIcon'
|
|
241
|
+
>
|
|
242
|
+
</kendo-icon-wrapper>
|
|
201
243
|
<span class='k-step-label-optional' *ngIf='step.optional'>({{optionalText}})</span>
|
|
202
244
|
</ng-container>
|
|
203
245
|
</span>
|
|
204
246
|
</ng-container>
|
|
205
247
|
</a>
|
|
206
|
-
`, isInline: true,
|
|
248
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
207
249
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperStepComponent, decorators: [{
|
|
208
250
|
type: Component,
|
|
209
251
|
args: [{
|
|
@@ -234,7 +276,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
234
276
|
</ng-template>
|
|
235
277
|
|
|
236
278
|
<ng-container *ngIf='!indicatorTemplate'>
|
|
237
|
-
<
|
|
279
|
+
<kendo-icon-wrapper
|
|
280
|
+
*ngIf='showIndicatorIcon'
|
|
281
|
+
[name]='indicatorIconClass'
|
|
282
|
+
[customFontClass]='customIndicatorIconClass'
|
|
283
|
+
[svgIcon]='SVGIndicatorIcon'
|
|
284
|
+
innerCssClass='k-step-indicator-icon'
|
|
285
|
+
>
|
|
286
|
+
</kendo-icon-wrapper>
|
|
238
287
|
<span class='k-step-indicator-text' *ngIf='!showIndicatorIcon'>{{ indicatorText }}</span>
|
|
239
288
|
</ng-container>
|
|
240
289
|
</span>
|
|
@@ -247,7 +296,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
247
296
|
|
|
248
297
|
<ng-container *ngIf='!labelTemplate'>
|
|
249
298
|
<span class='k-step-text' *ngIf='showLabelText'>{{ step.label }}</span>
|
|
250
|
-
<
|
|
299
|
+
<kendo-icon-wrapper
|
|
300
|
+
*ngIf='showLabelIcon'
|
|
301
|
+
aria-hidden='true'
|
|
302
|
+
[name]='validationIconClasses'
|
|
303
|
+
[customFontClass]='customValidationIconClasses'
|
|
304
|
+
[svgIcon]='validationSVGIcon'
|
|
305
|
+
>
|
|
306
|
+
</kendo-icon-wrapper>
|
|
251
307
|
<span class='k-step-label-optional' *ngIf='step.optional'>({{optionalText}})</span>
|
|
252
308
|
</ng-container>
|
|
253
309
|
</span>
|
|
@@ -265,8 +321,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
265
321
|
type: Input
|
|
266
322
|
}], successIcon: [{
|
|
267
323
|
type: Input
|
|
324
|
+
}], successSVGIcon: [{
|
|
325
|
+
type: Input
|
|
268
326
|
}], errorIcon: [{
|
|
269
327
|
type: Input
|
|
328
|
+
}], errorSVGIcon: [{
|
|
329
|
+
type: Input
|
|
330
|
+
}], svgIcon: [{
|
|
331
|
+
type: Input
|
|
270
332
|
}], indicatorTemplate: [{
|
|
271
333
|
type: Input
|
|
272
334
|
}], labelTemplate: [{
|
|
@@ -118,6 +118,16 @@ export class StepperComponent {
|
|
|
118
118
|
get steps() {
|
|
119
119
|
return this._steps;
|
|
120
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Defines an SVG icon to be rendered inside the step indicator instead of the default numeric or text content.
|
|
123
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
124
|
+
*/
|
|
125
|
+
set svgIcon(icon) {
|
|
126
|
+
this._svgIcon = icon;
|
|
127
|
+
}
|
|
128
|
+
get svgIcon() {
|
|
129
|
+
return this._svgIcon;
|
|
130
|
+
}
|
|
121
131
|
ngOnInit() {
|
|
122
132
|
this.applyHostStyling();
|
|
123
133
|
}
|
|
@@ -221,7 +231,7 @@ export class StepperComponent {
|
|
|
221
231
|
}
|
|
222
232
|
}
|
|
223
233
|
StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.StepperService }], target: i0.ɵɵFactoryTarget.Component });
|
|
224
|
-
StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: StepperComponent, selector: "kendo-stepper", inputs: { stepType: "stepType", linear: "linear", orientation: "orientation", currentStep: "currentStep", steps: "steps", successIcon: "successIcon", errorIcon: "errorIcon", animation: "animation" }, outputs: { activate: "activate", currentStepChange: "currentStepChange" }, host: { properties: { "class.k-stepper": "this.hostClasses", "class.k-stepper-linear": "this.linearClass", "attr.role": "this.ariaRole", "attr.dir": "this.direction", "style.display": "this.displayStyle" } }, providers: [
|
|
234
|
+
StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: StepperComponent, selector: "kendo-stepper", inputs: { stepType: "stepType", linear: "linear", orientation: "orientation", currentStep: "currentStep", steps: "steps", svgIcon: "svgIcon", successSVGIcon: "successSVGIcon", errorSVGIcon: "errorSVGIcon", successIcon: "successIcon", errorIcon: "errorIcon", animation: "animation" }, outputs: { activate: "activate", currentStepChange: "currentStepChange" }, host: { properties: { "class.k-stepper": "this.hostClasses", "class.k-stepper-linear": "this.linearClass", "attr.role": "this.ariaRole", "attr.dir": "this.direction", "style.display": "this.displayStyle" } }, providers: [
|
|
225
235
|
LocalizationService,
|
|
226
236
|
StepperService,
|
|
227
237
|
{
|
|
@@ -241,7 +251,10 @@ StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
241
251
|
[steps]='steps'
|
|
242
252
|
[currentStep]='currentStep'
|
|
243
253
|
[successIcon]='successIcon'
|
|
254
|
+
[successSVGIcon]='successSVGIcon'
|
|
244
255
|
[errorIcon]='errorIcon'
|
|
256
|
+
[errorSVGIcon]='errorSVGIcon'
|
|
257
|
+
[svgIcon]="svgIcon"
|
|
245
258
|
[indicatorTemplate]='indicatorTemplate?.templateRef'
|
|
246
259
|
[labelTemplate]='labelTemplate?.templateRef'
|
|
247
260
|
[stepTemplate]='stepTemplate?.templateRef'
|
|
@@ -263,7 +276,7 @@ StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
263
276
|
[value]='currentStep'
|
|
264
277
|
[ngStyle]='progressBarStyling'>
|
|
265
278
|
</kendo-progressbar>
|
|
266
|
-
`, isInline: true, components: [{ type: i3.StepperListComponent, selector: "[kendoStepperList]", inputs: ["linear", "stepType", "orientation", "currentStep", "steps", "successIcon", "errorIcon", "indicatorTemplate", "labelTemplate", "stepTemplate"], outputs: ["listKeydown", "listClick"] }, { type: i4.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }], directives: [{ type: i5.LocalizedStepperMessagesDirective, selector: "\n [kendoStepperLocalizedMessages]\n " }, { type: i6.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
279
|
+
`, isInline: true, components: [{ type: i3.StepperListComponent, selector: "[kendoStepperList]", inputs: ["linear", "stepType", "orientation", "currentStep", "steps", "successIcon", "successSVGIcon", "errorIcon", "errorSVGIcon", "svgIcon", "indicatorTemplate", "labelTemplate", "stepTemplate"], outputs: ["listKeydown", "listClick"] }, { type: i4.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }], directives: [{ type: i5.LocalizedStepperMessagesDirective, selector: "\n [kendoStepperLocalizedMessages]\n " }, { type: i6.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
267
280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperComponent, decorators: [{
|
|
268
281
|
type: Component,
|
|
269
282
|
args: [{
|
|
@@ -290,7 +303,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
290
303
|
[steps]='steps'
|
|
291
304
|
[currentStep]='currentStep'
|
|
292
305
|
[successIcon]='successIcon'
|
|
306
|
+
[successSVGIcon]='successSVGIcon'
|
|
293
307
|
[errorIcon]='errorIcon'
|
|
308
|
+
[errorSVGIcon]='errorSVGIcon'
|
|
309
|
+
[svgIcon]="svgIcon"
|
|
294
310
|
[indicatorTemplate]='indicatorTemplate?.templateRef'
|
|
295
311
|
[labelTemplate]='labelTemplate?.templateRef'
|
|
296
312
|
[stepTemplate]='stepTemplate?.templateRef'
|
|
@@ -339,6 +355,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
339
355
|
type: Input
|
|
340
356
|
}], steps: [{
|
|
341
357
|
type: Input
|
|
358
|
+
}], svgIcon: [{
|
|
359
|
+
type: Input
|
|
360
|
+
}], successSVGIcon: [{
|
|
361
|
+
type: Input
|
|
362
|
+
}], errorSVGIcon: [{
|
|
363
|
+
type: Input
|
|
342
364
|
}], successIcon: [{
|
|
343
365
|
type: Input
|
|
344
366
|
}], errorIcon: [{
|
|
@@ -13,6 +13,7 @@ import { StepperLabelTemplateDirective } from './stepper/template-directives/lab
|
|
|
13
13
|
import { StepperStepTemplateDirective } from './stepper/template-directives/step-template.directive';
|
|
14
14
|
import { LocalizedStepperMessagesDirective } from './stepper/localization/localized-messages.directive';
|
|
15
15
|
import { StepperCustomMessagesComponent } from './stepper/localization/custom-messages.component';
|
|
16
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
const templateDirectives = [
|
|
18
19
|
StepperStepTemplateDirective,
|
|
@@ -42,16 +43,16 @@ StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
42
43
|
LocalizedStepperMessagesDirective, StepperComponent,
|
|
43
44
|
StepperCustomMessagesComponent, StepperStepTemplateDirective,
|
|
44
45
|
StepperLabelTemplateDirective,
|
|
45
|
-
StepperIndicatorTemplateDirective], imports: [CommonModule, ProgressBarModule], exports: [StepperComponent,
|
|
46
|
+
StepperIndicatorTemplateDirective], imports: [CommonModule, ProgressBarModule, IconsModule], exports: [StepperComponent,
|
|
46
47
|
StepperCustomMessagesComponent, StepperStepTemplateDirective,
|
|
47
48
|
StepperLabelTemplateDirective,
|
|
48
49
|
StepperIndicatorTemplateDirective] });
|
|
49
|
-
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperModule, imports: [[CommonModule, ProgressBarModule]] });
|
|
50
|
+
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperModule, imports: [[CommonModule, ProgressBarModule, IconsModule]] });
|
|
50
51
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperModule, decorators: [{
|
|
51
52
|
type: NgModule,
|
|
52
53
|
args: [{
|
|
53
54
|
declarations: [declarations],
|
|
54
55
|
exports: [exportedModules],
|
|
55
|
-
imports: [CommonModule, ProgressBarModule]
|
|
56
|
+
imports: [CommonModule, ProgressBarModule, IconsModule]
|
|
56
57
|
}]
|
|
57
58
|
}] });
|
|
@@ -6,14 +6,16 @@ import { BUTTON_SCROLL_SPEED, MOUSE_SCROLL_SPEED } from "../constants";
|
|
|
6
6
|
/**
|
|
7
7
|
* @hidden
|
|
8
8
|
*/
|
|
9
|
-
const normalizeSettings = ({ enabled = true, scrollButtons = 'auto', mouseScroll = true, buttonScrollSpeed = BUTTON_SCROLL_SPEED, mouseScrollSpeed = MOUSE_SCROLL_SPEED, prevButtonIcon, nextButtonIcon }) => ({
|
|
9
|
+
const normalizeSettings = ({ enabled = true, scrollButtons = 'auto', mouseScroll = true, buttonScrollSpeed = BUTTON_SCROLL_SPEED, mouseScrollSpeed = MOUSE_SCROLL_SPEED, prevButtonIcon, nextButtonIcon, prevSVGButtonIcon, nextSVGButtonIcon }) => ({
|
|
10
10
|
enabled,
|
|
11
11
|
scrollButtons,
|
|
12
12
|
mouseScroll,
|
|
13
13
|
buttonScrollSpeed,
|
|
14
14
|
mouseScrollSpeed,
|
|
15
15
|
prevButtonIcon,
|
|
16
|
-
nextButtonIcon
|
|
16
|
+
nextButtonIcon,
|
|
17
|
+
prevSVGButtonIcon,
|
|
18
|
+
nextSVGButtonIcon
|
|
17
19
|
});
|
|
18
20
|
/**
|
|
19
21
|
* @hidden
|
|
@@ -34,7 +34,7 @@ export class TabStripTabComponent {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
TabStripTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
TabStripTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: { title: "title", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", selected: "selected", closable: "closable", closeIcon: "closeIcon" }, queries: [{ propertyName: "_tabContent", predicate: TabContentDirective }, { propertyName: "_tabTitleDirective", predicate: TabTitleDirective }], exportAs: ["kendoTabStripTab"], ngImport: i0, template: ``, isInline: true });
|
|
37
|
+
TabStripTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: { title: "title", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", selected: "selected", closable: "closable", closeIcon: "closeIcon", closeIconClass: "closeIconClass", closeSVGIcon: "closeSVGIcon" }, queries: [{ propertyName: "_tabContent", predicate: TabContentDirective }, { propertyName: "_tabTitleDirective", predicate: TabTitleDirective }], exportAs: ["kendoTabStripTab"], ngImport: i0, template: ``, isInline: true });
|
|
38
38
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripTabComponent, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{
|
|
@@ -56,6 +56,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
56
56
|
type: Input
|
|
57
57
|
}], closeIcon: [{
|
|
58
58
|
type: Input
|
|
59
|
+
}], closeIconClass: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], closeSVGIcon: [{
|
|
62
|
+
type: Input
|
|
59
63
|
}], _tabContent: [{
|
|
60
64
|
type: ContentChildren,
|
|
61
65
|
args: [TabContentDirective]
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
import { TabStripTabComponent } from '../models/tabstrip-tab.component';
|
|
6
6
|
import { Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { isPresent } from '../../common/util';
|
|
9
8
|
import { TabCloseEvent } from '../events/tabclose-event';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
|
-
import * as i2 from "@angular
|
|
11
|
+
import * as i2 from "@progress/kendo-angular-buttons";
|
|
12
|
+
import * as i3 from "@angular/common";
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
|
@@ -38,10 +38,20 @@ export class TabComponent {
|
|
|
38
38
|
return this.tabStripClosable;
|
|
39
39
|
}
|
|
40
40
|
get closeButtonClasses() {
|
|
41
|
-
if (
|
|
42
|
-
|
|
41
|
+
if (!this.customTabstripCloseIcon && this.tabStripCloseIcon && !this.tab.closeIconClass) {
|
|
42
|
+
if (this.tab.closeIcon) {
|
|
43
|
+
return this.tab.closeIcon;
|
|
44
|
+
}
|
|
45
|
+
return this.tabStripCloseIcon;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
get customCloseButtonClasses() {
|
|
49
|
+
if (this.customTabstripCloseIcon || this.tab.closeIconClass) {
|
|
50
|
+
if (this.tab.closeIconClass) {
|
|
51
|
+
return this.tab.closeIconClass;
|
|
52
|
+
}
|
|
53
|
+
return this.customTabstripCloseIcon;
|
|
43
54
|
}
|
|
44
|
-
return this.tabStripCloseIcon;
|
|
45
55
|
}
|
|
46
56
|
get closeButtonTitle() {
|
|
47
57
|
return this.localization.get('closeTitle');
|
|
@@ -52,21 +62,27 @@ export class TabComponent {
|
|
|
52
62
|
}
|
|
53
63
|
}
|
|
54
64
|
TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
55
|
-
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabComponent, selector: "[kendoTabStripTab]", inputs: { tab: "tab", index: "index", tabStripClosable: "tabStripClosable", tabStripCloseIcon: "tabStripCloseIcon" }, outputs: { tabClose: "tabClose" }, host: { properties: { "class.k-item": "this.hostClasses", "class.k-state-default": "this.hostClasses", "attr.aria-selected": "this.activeClass", "class.k-active": "this.activeClass", "attr.aria-disabled]": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-focus": "this.focusedClass", "attr.tabindex": "this.tabIndex" } }, ngImport: i0, template: `
|
|
65
|
+
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabComponent, selector: "[kendoTabStripTab]", inputs: { tab: "tab", index: "index", tabStripClosable: "tabStripClosable", tabStripCloseIcon: "tabStripCloseIcon", customTabstripCloseIcon: "customTabstripCloseIcon", closeSVGIcon: "closeSVGIcon" }, outputs: { tabClose: "tabClose" }, host: { properties: { "class.k-item": "this.hostClasses", "class.k-state-default": "this.hostClasses", "attr.aria-selected": "this.activeClass", "class.k-active": "this.activeClass", "attr.aria-disabled]": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-focus": "this.focusedClass", "attr.tabindex": "this.tabIndex" } }, ngImport: i0, template: `
|
|
56
66
|
<span class="k-link" *ngIf="!tab.tabTitle">{{ tab.title }}</span>
|
|
57
67
|
<span class="k-link" *ngIf="tab.tabTitle">
|
|
58
68
|
<ng-template [ngTemplateOutlet]="tab.tabTitle?.templateRef">
|
|
59
69
|
</ng-template>
|
|
60
70
|
</span>
|
|
61
|
-
|
|
71
|
+
|
|
72
|
+
<button
|
|
73
|
+
kendoButton
|
|
74
|
+
*ngIf="tabClosable"
|
|
62
75
|
role="button"
|
|
76
|
+
fillMode="flat"
|
|
77
|
+
[icon]="closeButtonClasses"
|
|
78
|
+
[iconClass]="customCloseButtonClasses"
|
|
79
|
+
[svgIcon]="closeSVGIcon"
|
|
63
80
|
[title]="closeButtonTitle"
|
|
64
81
|
[attr.aria-label]="closeButtonTitle"
|
|
65
82
|
(click)="closeTab(index)"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
83
|
+
class="k-remove-tab k-icon-button"
|
|
84
|
+
></button>
|
|
85
|
+
`, isInline: true, components: [{ type: i2.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
70
86
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabComponent, decorators: [{
|
|
71
87
|
type: Component,
|
|
72
88
|
args: [{
|
|
@@ -78,14 +94,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
78
94
|
<ng-template [ngTemplateOutlet]="tab.tabTitle?.templateRef">
|
|
79
95
|
</ng-template>
|
|
80
96
|
</span>
|
|
81
|
-
|
|
97
|
+
|
|
98
|
+
<button
|
|
99
|
+
kendoButton
|
|
100
|
+
*ngIf="tabClosable"
|
|
82
101
|
role="button"
|
|
102
|
+
fillMode="flat"
|
|
103
|
+
[icon]="closeButtonClasses"
|
|
104
|
+
[iconClass]="customCloseButtonClasses"
|
|
105
|
+
[svgIcon]="closeSVGIcon"
|
|
83
106
|
[title]="closeButtonTitle"
|
|
84
107
|
[attr.aria-label]="closeButtonTitle"
|
|
85
108
|
(click)="closeTab(index)"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
</span>
|
|
109
|
+
class="k-remove-tab k-icon-button"
|
|
110
|
+
></button>
|
|
89
111
|
`
|
|
90
112
|
}]
|
|
91
113
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { tab: [{
|
|
@@ -96,6 +118,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
96
118
|
type: Input
|
|
97
119
|
}], tabStripCloseIcon: [{
|
|
98
120
|
type: Input
|
|
121
|
+
}], customTabstripCloseIcon: [{
|
|
122
|
+
type: Input
|
|
123
|
+
}], closeSVGIcon: [{
|
|
124
|
+
type: Input
|
|
99
125
|
}], tabClose: [{
|
|
100
126
|
type: Output
|
|
101
127
|
}], hostClasses: [{
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5
6
|
import { Component, ElementRef, HostBinding, Input, Renderer2, NgZone, Output, EventEmitter } from '@angular/core';
|
|
6
7
|
import { Subscription } from 'rxjs';
|
|
7
8
|
import { DIRECTION_CLASSES, HIDDEN_CLASS } from './constants';
|
|
8
9
|
import { isTablistHorizontal } from './util';
|
|
9
10
|
import { TabScrollEvent } from './events/tabscroll-event';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "@angular
|
|
12
|
+
import * as i1 from "@progress/kendo-angular-icons";
|
|
12
13
|
/**
|
|
13
14
|
* @hidden
|
|
14
15
|
*/
|
|
@@ -17,7 +18,6 @@ export class TabStripScrollableButtonComponent {
|
|
|
17
18
|
this.host = host;
|
|
18
19
|
this.renderer = renderer;
|
|
19
20
|
this.ngZone = ngZone;
|
|
20
|
-
this.btnClasses = true;
|
|
21
21
|
this.prev = false;
|
|
22
22
|
this.tabScroll = new EventEmitter();
|
|
23
23
|
this.onClick = new EventEmitter();
|
|
@@ -42,7 +42,13 @@ export class TabStripScrollableButtonComponent {
|
|
|
42
42
|
return this.host.nativeElement.getBoundingClientRect();
|
|
43
43
|
}
|
|
44
44
|
get iconClass() {
|
|
45
|
-
return this.scrollButtonIconClass
|
|
45
|
+
return this.scrollButtonIconClass;
|
|
46
|
+
}
|
|
47
|
+
get customIconClass() {
|
|
48
|
+
return this.customScrollButtonIconClass;
|
|
49
|
+
}
|
|
50
|
+
get svgIcon() {
|
|
51
|
+
return this.scrollButtonSVGIcon;
|
|
46
52
|
}
|
|
47
53
|
ngAfterViewInit() {
|
|
48
54
|
this.ngZone.runOutsideAngular(() => {
|
|
@@ -59,11 +65,36 @@ export class TabStripScrollableButtonComponent {
|
|
|
59
65
|
const defaultPrevIcon = isTablistHorizontal(this.tabPosition) ? DIRECTION_CLASSES.left : DIRECTION_CLASSES.up;
|
|
60
66
|
const defaultNextIcon = isTablistHorizontal(this.tabPosition) ? DIRECTION_CLASSES.right : DIRECTION_CLASSES.down;
|
|
61
67
|
if (typeof this.scrollable === 'object') {
|
|
62
|
-
const prevIcon = typeof this.scrollable.prevButtonIcon === 'undefined' ? defaultPrevIcon :
|
|
63
|
-
const nextIcon = typeof this.scrollable.nextButtonIcon === 'undefined' ? defaultNextIcon :
|
|
64
|
-
|
|
68
|
+
const prevIcon = typeof this.scrollable.prevButtonIcon === 'undefined' ? defaultPrevIcon : '';
|
|
69
|
+
const nextIcon = typeof this.scrollable.nextButtonIcon === 'undefined' ? defaultNextIcon : '';
|
|
70
|
+
if (prevIcon && this.prev) {
|
|
71
|
+
return prevIcon;
|
|
72
|
+
}
|
|
73
|
+
else if (nextIcon && !this.prev) {
|
|
74
|
+
return nextIcon;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
get customScrollButtonIconClass() {
|
|
79
|
+
if (typeof this.scrollable === 'object') {
|
|
80
|
+
const prevIcon = this.scrollable.prevButtonIcon;
|
|
81
|
+
const nextIcon = this.scrollable.nextButtonIcon;
|
|
82
|
+
if (prevIcon && this.prev) {
|
|
83
|
+
return `k-icon ${prevIcon}`;
|
|
84
|
+
}
|
|
85
|
+
if (nextIcon && !this.prev) {
|
|
86
|
+
return `k-icon ${nextIcon}`;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
get scrollButtonSVGIcon() {
|
|
91
|
+
if (typeof this.scrollable === 'object') {
|
|
92
|
+
const prevIcon = this.scrollable.prevSVGButtonIcon !== undefined ? this.scrollable.prevSVGButtonIcon : undefined;
|
|
93
|
+
const nextIcon = this.scrollable.nextSVGButtonIcon !== undefined ? this.scrollable.nextSVGButtonIcon : undefined;
|
|
94
|
+
if (prevIcon || nextIcon) {
|
|
95
|
+
return this.prev ? prevIcon : nextIcon;
|
|
96
|
+
}
|
|
65
97
|
}
|
|
66
|
-
return { prevScrollButton: defaultPrevIcon, nextScrollButton: defaultNextIcon };
|
|
67
98
|
}
|
|
68
99
|
emitScrollEvent(event) {
|
|
69
100
|
const scrollEvent = new TabScrollEvent({
|
|
@@ -74,37 +105,31 @@ export class TabStripScrollableButtonComponent {
|
|
|
74
105
|
}
|
|
75
106
|
}
|
|
76
107
|
TabStripScrollableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripScrollableButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
77
|
-
TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: { prev: "prev", tabPosition: "tabPosition", scrollable: "scrollable" }, outputs: { tabScroll: "tabScroll", onClick: "onClick" }, host: { properties: { "class.k-
|
|
78
|
-
<
|
|
79
|
-
|
|
108
|
+
TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: { prev: "prev", tabPosition: "tabPosition", scrollable: "scrollable" }, outputs: { tabScroll: "tabScroll", onClick: "onClick" }, host: { properties: { "class.k-tabstrip-prev": "this.prevClass", "class.k-tabstrip-next": "this.nextClass" } }, ngImport: i0, template: `
|
|
109
|
+
<kendo-icon-wrapper
|
|
110
|
+
[name]="iconClass"
|
|
111
|
+
[customFontClass]="customIconClass"
|
|
112
|
+
[svgIcon]="svgIcon"
|
|
113
|
+
innerCssClass="k-button-icon"
|
|
114
|
+
>
|
|
115
|
+
</kendo-icon-wrapper>
|
|
116
|
+
`, isInline: true, components: [{ type: i1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }] });
|
|
80
117
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripScrollableButtonComponent, decorators: [{
|
|
81
118
|
type: Component,
|
|
82
119
|
args: [{
|
|
83
120
|
template: `
|
|
84
|
-
<
|
|
121
|
+
<kendo-icon-wrapper
|
|
122
|
+
[name]="iconClass"
|
|
123
|
+
[customFontClass]="customIconClass"
|
|
124
|
+
[svgIcon]="svgIcon"
|
|
125
|
+
innerCssClass="k-button-icon"
|
|
126
|
+
>
|
|
127
|
+
</kendo-icon-wrapper>
|
|
85
128
|
`,
|
|
86
129
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
87
130
|
selector: '[kendoTabStripScrollableButton]'
|
|
88
131
|
}]
|
|
89
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: {
|
|
90
|
-
type: HostBinding,
|
|
91
|
-
args: ['class.k-button']
|
|
92
|
-
}, {
|
|
93
|
-
type: HostBinding,
|
|
94
|
-
args: ['class.k-button-md']
|
|
95
|
-
}, {
|
|
96
|
-
type: HostBinding,
|
|
97
|
-
args: ['class.k-icon-button']
|
|
98
|
-
}, {
|
|
99
|
-
type: HostBinding,
|
|
100
|
-
args: ['class.k-rounded-md']
|
|
101
|
-
}, {
|
|
102
|
-
type: HostBinding,
|
|
103
|
-
args: ['class.k-button-flat']
|
|
104
|
-
}, {
|
|
105
|
-
type: HostBinding,
|
|
106
|
-
args: ['class.k-button-flat-base']
|
|
107
|
-
}], prevClass: [{
|
|
132
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { prevClass: [{
|
|
108
133
|
type: HostBinding,
|
|
109
134
|
args: ['class.k-tabstrip-prev']
|
|
110
135
|
}], nextClass: [{
|