@progress/kendo-angular-layout 11.0.0-develop.99 → 11.0.1-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/NOTICE.txt +17 -17
- 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 +2 -2
- 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/constants.mjs +4 -4
- 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 +582 -186
- package/fesm2020/progress-kendo-angular-layout.mjs +582 -186
- package/package.json +9 -7
- 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
|
@@ -12,9 +12,14 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
12
12
|
import * as i1$2 from '@angular/animations';
|
|
13
13
|
import { trigger, state, style, transition, animate, AUTO_STYLE } from '@angular/animations';
|
|
14
14
|
import { Subject, BehaviorSubject, Subscription, of } from 'rxjs';
|
|
15
|
+
import { arrowUpIcon, arrowDownIcon, caretAltLeftIcon, caretAltRightIcon, caretAltUpIcon, caretAltDownIcon, chevronUpIcon, chevronDownIcon, checkCircleIcon, exclamationCircleIcon } from '@progress/kendo-svg-icons';
|
|
16
|
+
import * as i2 from '@progress/kendo-angular-icons';
|
|
17
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
15
18
|
import * as i3 from '@angular/common';
|
|
16
19
|
import { CommonModule } from '@angular/common';
|
|
17
20
|
import { delay, takeUntil, map, tap, filter, switchMap, take } from 'rxjs/operators';
|
|
21
|
+
import * as i2$1 from '@progress/kendo-angular-buttons';
|
|
22
|
+
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
18
23
|
import * as i4 from '@progress/kendo-angular-progressbar';
|
|
19
24
|
import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
|
|
20
25
|
import { Draggable } from '@progress/kendo-draggable';
|
|
@@ -26,8 +31,8 @@ const packageMetadata = {
|
|
|
26
31
|
name: '@progress/kendo-angular-layout',
|
|
27
32
|
productName: 'Kendo UI for Angular',
|
|
28
33
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
29
|
-
publishDate:
|
|
30
|
-
version: '',
|
|
34
|
+
publishDate: 1674059806,
|
|
35
|
+
version: '11.0.1-develop.1',
|
|
31
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'
|
|
32
37
|
};
|
|
33
38
|
|
|
@@ -294,6 +299,7 @@ const hasItemIndex = (item, indexAttr) => isPresent(item.getAttribute(indexAttr)
|
|
|
294
299
|
*/
|
|
295
300
|
const closestItem = (target, targetAttr, scope) => closestInScope(target, hasItemIndex, scope, targetAttr);
|
|
296
301
|
|
|
302
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
297
303
|
/**
|
|
298
304
|
* @hidden
|
|
299
305
|
*/
|
|
@@ -342,6 +348,14 @@ class PanelBarItemComponent {
|
|
|
342
348
|
this.role = "treeitem";
|
|
343
349
|
this.titleAttribute = null; // eslint-disable-line
|
|
344
350
|
this.kItemClass = true;
|
|
351
|
+
/**
|
|
352
|
+
* @hidden
|
|
353
|
+
*/
|
|
354
|
+
this.arrowUpSVGIcon = arrowUpIcon;
|
|
355
|
+
/**
|
|
356
|
+
* @hidden
|
|
357
|
+
*/
|
|
358
|
+
this.arrowDownSVGIcon = arrowDownIcon;
|
|
345
359
|
this.focused = false;
|
|
346
360
|
this.wrapperFocused = false;
|
|
347
361
|
this.subscriptions = new Subscription(() => { });
|
|
@@ -351,6 +365,19 @@ class PanelBarItemComponent {
|
|
|
351
365
|
this.wrapperFocused = parent ? parent.focused : false;
|
|
352
366
|
this.level = this.parent ? this.parent.level + 1 : 0;
|
|
353
367
|
}
|
|
368
|
+
/**
|
|
369
|
+
* Defines an SVGIcon to be rendered.
|
|
370
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
371
|
+
*/
|
|
372
|
+
set svgIcon(icon) {
|
|
373
|
+
if (isDevMode() && icon && this.icon && this.iconClass) {
|
|
374
|
+
throw new Error('Setting both icon/svgIcon and iconClass options at the same time is not supported.');
|
|
375
|
+
}
|
|
376
|
+
this._svgIcon = icon;
|
|
377
|
+
}
|
|
378
|
+
get svgIcon() {
|
|
379
|
+
return this._svgIcon;
|
|
380
|
+
}
|
|
354
381
|
/**
|
|
355
382
|
* When set to `true`, expands the PanelBar item ([see example]({% slug items_panelbar %}#toc-expanded-state)).
|
|
356
383
|
*/
|
|
@@ -442,10 +469,30 @@ class PanelBarItemComponent {
|
|
|
442
469
|
* @hidden
|
|
443
470
|
*/
|
|
444
471
|
get iconClasses() {
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
472
|
+
if (this.icon) {
|
|
473
|
+
return `${this.icon}`;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* @hidden
|
|
478
|
+
*/
|
|
479
|
+
get customIconClasses() {
|
|
480
|
+
if (this.iconClass) {
|
|
481
|
+
return `${this.iconClass}`;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* @hidden
|
|
486
|
+
*/
|
|
487
|
+
get dirInnerCssClasses() {
|
|
488
|
+
const dirClass = this.expanded ? 'k-panelbar-collapse' : 'k-panelbar-expand';
|
|
489
|
+
return `k-panelbar-toggle ${dirClass}`;
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* @hidden
|
|
493
|
+
*/
|
|
494
|
+
get arrowSVGIcon() {
|
|
495
|
+
return this.expanded ? this.arrowUpSVGIcon : this.arrowDownSVGIcon;
|
|
449
496
|
}
|
|
450
497
|
/**
|
|
451
498
|
* @hidden
|
|
@@ -458,6 +505,7 @@ class PanelBarItemComponent {
|
|
|
458
505
|
focused: this.focused,
|
|
459
506
|
icon: this.icon,
|
|
460
507
|
iconClass: this.iconClass,
|
|
508
|
+
svgIcon: this.svgIcon,
|
|
461
509
|
id: this.id,
|
|
462
510
|
imageUrl: this.imageUrl,
|
|
463
511
|
selected: this.selected,
|
|
@@ -520,7 +568,7 @@ class PanelBarItemComponent {
|
|
|
520
568
|
}
|
|
521
569
|
}
|
|
522
570
|
PanelBarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelBarItemComponent, deps: [{ token: PanelBarItemComponent, host: true, optional: true, skipSelf: true }, { token: PanelBarService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
523
|
-
PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: `
|
|
571
|
+
PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PanelBarItemComponent, selector: "kendo-panelbar-item", inputs: { title: "title", id: "id", icon: "icon", iconClass: "iconClass", svgIcon: "svgIcon", 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: `
|
|
524
572
|
<span
|
|
525
573
|
#header
|
|
526
574
|
[class.k-link]="true"
|
|
@@ -528,11 +576,14 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
528
576
|
[class.k-focus]="focused && wrapperFocused"
|
|
529
577
|
[class.k-disabled]="disabled"
|
|
530
578
|
(click)="onItemClick($event)">
|
|
531
|
-
<
|
|
532
|
-
*ngIf="icon || iconClass"
|
|
533
|
-
|
|
534
|
-
[
|
|
535
|
-
|
|
579
|
+
<kendo-icon-wrapper
|
|
580
|
+
*ngIf="icon || iconClass || svgIcon"
|
|
581
|
+
[name]="iconClasses"
|
|
582
|
+
[customFontClass]="customIconClasses"
|
|
583
|
+
[svgIcon]="svgIcon"
|
|
584
|
+
innerCssClass="k-panelbar-item-icon"
|
|
585
|
+
>
|
|
586
|
+
</kendo-icon-wrapper>
|
|
536
587
|
<img
|
|
537
588
|
*ngIf="imageUrl"
|
|
538
589
|
class="k-image k-panelbar-item-icon"
|
|
@@ -547,6 +598,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
547
598
|
id: id,
|
|
548
599
|
icon: icon,
|
|
549
600
|
iconClass: iconClass,
|
|
601
|
+
svgIcon: svgIcon,
|
|
550
602
|
imageUrl: imageUrl,
|
|
551
603
|
selected: selected,
|
|
552
604
|
expanded: expanded,
|
|
@@ -555,10 +607,13 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
555
607
|
content: content
|
|
556
608
|
}
|
|
557
609
|
}"></ng-template>
|
|
558
|
-
<
|
|
559
|
-
|
|
560
|
-
[
|
|
561
|
-
|
|
610
|
+
<kendo-icon-wrapper
|
|
611
|
+
*ngIf="hasChildItems || hasContent"
|
|
612
|
+
[name]="expanded ? 'arrow-chevron-up' : 'chevron-down'"
|
|
613
|
+
[svgIcon]="arrowSVGIcon"
|
|
614
|
+
[innerCssClass]="dirInnerCssClasses"
|
|
615
|
+
>
|
|
616
|
+
</kendo-icon-wrapper>
|
|
562
617
|
</span>
|
|
563
618
|
<div
|
|
564
619
|
#contentWrapper
|
|
@@ -604,6 +659,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
604
659
|
[id]="item.id"
|
|
605
660
|
[icon]="item.icon"
|
|
606
661
|
[iconClass]="item.iconClass"
|
|
662
|
+
[svgIcon]="item.svgIcon"
|
|
607
663
|
[imageUrl]="item.imageUrl"
|
|
608
664
|
[selected]="!!item.selected"
|
|
609
665
|
[expanded]="!!item.expanded"
|
|
@@ -634,7 +690,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
634
690
|
</ng-template>
|
|
635
691
|
<ng-template [ngIf]="!template">{{content}}</ng-template>
|
|
636
692
|
</div>
|
|
637
|
-
</div>`, isInline: true, components: [{ type: PanelBarItemComponent, selector: "kendo-panelbar-item", inputs: ["title", "id", "icon", "iconClass", "imageUrl", "disabled", "expanded", "selected", "content", "items", "template"], exportAs: ["kendoPanelbarItem"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.
|
|
693
|
+
</div>`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: PanelBarItemComponent, selector: "kendo-panelbar-item", inputs: ["title", "id", "icon", "iconClass", "svgIcon", "imageUrl", "disabled", "expanded", "selected", "content", "items", "template"], exportAs: ["kendoPanelbarItem"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [
|
|
638
694
|
trigger('toggle', [
|
|
639
695
|
state('inactive', style({ display: 'none' })),
|
|
640
696
|
transition('* => active', [
|
|
@@ -673,11 +729,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
673
729
|
[class.k-focus]="focused && wrapperFocused"
|
|
674
730
|
[class.k-disabled]="disabled"
|
|
675
731
|
(click)="onItemClick($event)">
|
|
676
|
-
<
|
|
677
|
-
*ngIf="icon || iconClass"
|
|
678
|
-
|
|
679
|
-
[
|
|
680
|
-
|
|
732
|
+
<kendo-icon-wrapper
|
|
733
|
+
*ngIf="icon || iconClass || svgIcon"
|
|
734
|
+
[name]="iconClasses"
|
|
735
|
+
[customFontClass]="customIconClasses"
|
|
736
|
+
[svgIcon]="svgIcon"
|
|
737
|
+
innerCssClass="k-panelbar-item-icon"
|
|
738
|
+
>
|
|
739
|
+
</kendo-icon-wrapper>
|
|
681
740
|
<img
|
|
682
741
|
*ngIf="imageUrl"
|
|
683
742
|
class="k-image k-panelbar-item-icon"
|
|
@@ -692,6 +751,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
692
751
|
id: id,
|
|
693
752
|
icon: icon,
|
|
694
753
|
iconClass: iconClass,
|
|
754
|
+
svgIcon: svgIcon,
|
|
695
755
|
imageUrl: imageUrl,
|
|
696
756
|
selected: selected,
|
|
697
757
|
expanded: expanded,
|
|
@@ -700,10 +760,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
700
760
|
content: content
|
|
701
761
|
}
|
|
702
762
|
}"></ng-template>
|
|
703
|
-
<
|
|
704
|
-
|
|
705
|
-
[
|
|
706
|
-
|
|
763
|
+
<kendo-icon-wrapper
|
|
764
|
+
*ngIf="hasChildItems || hasContent"
|
|
765
|
+
[name]="expanded ? 'arrow-chevron-up' : 'chevron-down'"
|
|
766
|
+
[svgIcon]="arrowSVGIcon"
|
|
767
|
+
[innerCssClass]="dirInnerCssClasses"
|
|
768
|
+
>
|
|
769
|
+
</kendo-icon-wrapper>
|
|
707
770
|
</span>
|
|
708
771
|
<div
|
|
709
772
|
#contentWrapper
|
|
@@ -749,6 +812,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
749
812
|
[id]="item.id"
|
|
750
813
|
[icon]="item.icon"
|
|
751
814
|
[iconClass]="item.iconClass"
|
|
815
|
+
[svgIcon]="item.svgIcon"
|
|
752
816
|
[imageUrl]="item.imageUrl"
|
|
753
817
|
[selected]="!!item.selected"
|
|
754
818
|
[expanded]="!!item.expanded"
|
|
@@ -795,6 +859,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
795
859
|
type: Input
|
|
796
860
|
}], iconClass: [{
|
|
797
861
|
type: Input
|
|
862
|
+
}], svgIcon: [{
|
|
863
|
+
type: Input
|
|
798
864
|
}], imageUrl: [{
|
|
799
865
|
type: Input
|
|
800
866
|
}], disabled: [{
|
|
@@ -1413,6 +1479,7 @@ PanelBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1413
1479
|
[id]="item.id"
|
|
1414
1480
|
[icon]="item.icon"
|
|
1415
1481
|
[iconClass]="item.iconClass"
|
|
1482
|
+
[svgIcon]="item.svgIcon"
|
|
1416
1483
|
[imageUrl]="item.imageUrl"
|
|
1417
1484
|
[selected]="!!item.selected"
|
|
1418
1485
|
[expanded]="!!item.expanded"
|
|
@@ -1424,7 +1491,7 @@ PanelBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1424
1491
|
</kendo-panelbar-item>
|
|
1425
1492
|
</ng-container>
|
|
1426
1493
|
</ng-template>
|
|
1427
|
-
`, isInline: true, components: [{ type: PanelBarItemComponent, selector: "kendo-panelbar-item", inputs: ["title", "id", "icon", "iconClass", "imageUrl", "disabled", "expanded", "selected", "content", "items", "template"], exportAs: ["kendoPanelbarItem"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1494
|
+
`, isInline: true, components: [{ type: PanelBarItemComponent, selector: "kendo-panelbar-item", inputs: ["title", "id", "icon", "iconClass", "svgIcon", "imageUrl", "disabled", "expanded", "selected", "content", "items", "template"], exportAs: ["kendoPanelbarItem"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1428
1495
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelBarComponent, decorators: [{
|
|
1429
1496
|
type: Component,
|
|
1430
1497
|
args: [{
|
|
@@ -1447,6 +1514,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1447
1514
|
[id]="item.id"
|
|
1448
1515
|
[icon]="item.icon"
|
|
1449
1516
|
[iconClass]="item.iconClass"
|
|
1517
|
+
[svgIcon]="item.svgIcon"
|
|
1450
1518
|
[imageUrl]="item.imageUrl"
|
|
1451
1519
|
[selected]="!!item.selected"
|
|
1452
1520
|
[expanded]="!!item.expanded"
|
|
@@ -1934,6 +2002,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1934
2002
|
type: Injectable
|
|
1935
2003
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
1936
2004
|
|
|
2005
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1937
2006
|
const stopPropagation = ({ originalEvent: event }) => {
|
|
1938
2007
|
event.stopPropagation();
|
|
1939
2008
|
event.preventDefault();
|
|
@@ -1951,11 +2020,11 @@ const createMoveStream = (draggable) => mouseDown => draggable.kendoDrag
|
|
|
1951
2020
|
* @hidden
|
|
1952
2021
|
*/
|
|
1953
2022
|
class SplitterBarComponent {
|
|
1954
|
-
constructor(draggable,
|
|
2023
|
+
constructor(draggable, localization, splitterService, element, renderer) {
|
|
1955
2024
|
this.draggable = draggable;
|
|
1956
|
-
this.element = element;
|
|
1957
|
-
this.splitterService = splitterService;
|
|
1958
2025
|
this.localization = localization;
|
|
2026
|
+
this.splitterService = splitterService;
|
|
2027
|
+
this.element = element;
|
|
1959
2028
|
this.renderer = renderer;
|
|
1960
2029
|
this.orientation = 'horizontal';
|
|
1961
2030
|
this.index = 0;
|
|
@@ -2045,26 +2114,60 @@ class SplitterBarComponent {
|
|
|
2045
2114
|
const isCollapsed = pane.collapsed;
|
|
2046
2115
|
const isHorizontal = this.orientation === 'horizontal';
|
|
2047
2116
|
return classFromObject({
|
|
2048
|
-
'
|
|
2049
|
-
'
|
|
2050
|
-
'
|
|
2051
|
-
'
|
|
2052
|
-
'k-i-caret-alt-down': isCollapsible && !isHorizontal && isCollapsed
|
|
2117
|
+
'caret-alt-left': isCollapsible && isHorizontal && !isCollapsed,
|
|
2118
|
+
'caret-alt-right': isCollapsible && isHorizontal && isCollapsed,
|
|
2119
|
+
'caret-alt-up': isCollapsible && !isHorizontal && !isCollapsed,
|
|
2120
|
+
'caret-alt-down': isCollapsible && !isHorizontal && isCollapsed
|
|
2053
2121
|
});
|
|
2054
2122
|
}
|
|
2123
|
+
previousSVGArrowClass() {
|
|
2124
|
+
const pane = this.splitterService.pane(this.index);
|
|
2125
|
+
const isCollapsible = pane.collapsible;
|
|
2126
|
+
const isCollapsed = pane.collapsed;
|
|
2127
|
+
const isHorizontal = this.orientation === 'horizontal';
|
|
2128
|
+
if (isCollapsible && isHorizontal && !isCollapsed) {
|
|
2129
|
+
return caretAltLeftIcon;
|
|
2130
|
+
}
|
|
2131
|
+
if (isCollapsible && isHorizontal && isCollapsed) {
|
|
2132
|
+
return caretAltRightIcon;
|
|
2133
|
+
}
|
|
2134
|
+
if (isCollapsible && !isHorizontal && !isCollapsed) {
|
|
2135
|
+
return caretAltUpIcon;
|
|
2136
|
+
}
|
|
2137
|
+
if (isCollapsible && !isHorizontal && isCollapsed) {
|
|
2138
|
+
return caretAltDownIcon;
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2055
2141
|
nextArrowClass() {
|
|
2056
2142
|
const pane = this.splitterService.pane(this.index + 1);
|
|
2057
2143
|
const isCollapsible = pane.collapsible;
|
|
2058
2144
|
const isCollapsed = pane.collapsed;
|
|
2059
2145
|
const isHorizontal = this.orientation === 'horizontal';
|
|
2060
2146
|
return classFromObject({
|
|
2061
|
-
'
|
|
2062
|
-
'
|
|
2063
|
-
'
|
|
2064
|
-
'
|
|
2065
|
-
'k-i-caret-alt-up': isCollapsible && !isHorizontal && isCollapsed
|
|
2147
|
+
'caret-alt-right': isCollapsible && isHorizontal && !isCollapsed,
|
|
2148
|
+
'caret-alt-left': isCollapsible && isHorizontal && isCollapsed,
|
|
2149
|
+
'caret-alt-down': isCollapsible && !isHorizontal && !isCollapsed,
|
|
2150
|
+
'caret-alt-up': isCollapsible && !isHorizontal && isCollapsed
|
|
2066
2151
|
});
|
|
2067
2152
|
}
|
|
2153
|
+
nextSVGArrowClass() {
|
|
2154
|
+
const pane = this.splitterService.pane(this.index + 1);
|
|
2155
|
+
const isCollapsible = pane.collapsible;
|
|
2156
|
+
const isCollapsed = pane.collapsed;
|
|
2157
|
+
const isHorizontal = this.orientation === 'horizontal';
|
|
2158
|
+
if (isCollapsible && isHorizontal && !isCollapsed) {
|
|
2159
|
+
return caretAltRightIcon;
|
|
2160
|
+
}
|
|
2161
|
+
if (isCollapsible && isHorizontal && isCollapsed) {
|
|
2162
|
+
return caretAltLeftIcon;
|
|
2163
|
+
}
|
|
2164
|
+
if (isCollapsible && !isHorizontal && !isCollapsed) {
|
|
2165
|
+
return caretAltDownIcon;
|
|
2166
|
+
}
|
|
2167
|
+
if (isCollapsible && !isHorizontal && isCollapsed) {
|
|
2168
|
+
return caretAltUpIcon;
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2068
2171
|
togglePane() {
|
|
2069
2172
|
if (this.expandLast) {
|
|
2070
2173
|
this.toggleNext();
|
|
@@ -2098,33 +2201,33 @@ class SplitterBarComponent {
|
|
|
2098
2201
|
}
|
|
2099
2202
|
}
|
|
2100
2203
|
}
|
|
2101
|
-
SplitterBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterBarComponent, deps: [{ token: i1$1.DraggableDirective, host: true }, { token:
|
|
2204
|
+
SplitterBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterBarComponent, deps: [{ token: i1$1.DraggableDirective, host: true }, { token: i1.LocalizationService }, { token: SplitterService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2102
2205
|
SplitterBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SplitterBarComponent, selector: "kendo-splitter-bar", inputs: { orientation: "orientation", index: "index" }, host: { 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: `
|
|
2103
2206
|
<div *ngIf="shouldShowIcon('prev')" [class]="collapseClass('prev')" (click)="togglePrevious()">
|
|
2104
|
-
<
|
|
2207
|
+
<kendo-icon-wrapper [name]="previousArrowClass()" [svgIcon]="previousSVGArrowClass()"></kendo-icon-wrapper>
|
|
2105
2208
|
</div>
|
|
2106
2209
|
<div class="k-resize-handle"></div>
|
|
2107
2210
|
<div *ngIf="shouldShowIcon('next')" [class]="collapseClass('next')" (click)="toggleNext()">
|
|
2108
|
-
<
|
|
2211
|
+
<kendo-icon-wrapper [name]="nextArrowClass()" [svgIcon]="nextSVGArrowClass()"></kendo-icon-wrapper>
|
|
2109
2212
|
</div>
|
|
2110
|
-
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2213
|
+
`, 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"] }] });
|
|
2111
2214
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterBarComponent, decorators: [{
|
|
2112
2215
|
type: Component,
|
|
2113
2216
|
args: [{
|
|
2114
2217
|
selector: 'kendo-splitter-bar',
|
|
2115
2218
|
template: `
|
|
2116
2219
|
<div *ngIf="shouldShowIcon('prev')" [class]="collapseClass('prev')" (click)="togglePrevious()">
|
|
2117
|
-
<
|
|
2220
|
+
<kendo-icon-wrapper [name]="previousArrowClass()" [svgIcon]="previousSVGArrowClass()"></kendo-icon-wrapper>
|
|
2118
2221
|
</div>
|
|
2119
2222
|
<div class="k-resize-handle"></div>
|
|
2120
2223
|
<div *ngIf="shouldShowIcon('next')" [class]="collapseClass('next')" (click)="toggleNext()">
|
|
2121
|
-
<
|
|
2224
|
+
<kendo-icon-wrapper [name]="nextArrowClass()" [svgIcon]="nextSVGArrowClass()"></kendo-icon-wrapper>
|
|
2122
2225
|
</div>
|
|
2123
2226
|
`
|
|
2124
2227
|
}]
|
|
2125
2228
|
}], ctorParameters: function () { return [{ type: i1$1.DraggableDirective, decorators: [{
|
|
2126
2229
|
type: Host
|
|
2127
|
-
}] }, { type:
|
|
2230
|
+
}] }, { type: i1.LocalizationService }, { type: SplitterService }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { orientation: [{
|
|
2128
2231
|
type: Input
|
|
2129
2232
|
}, {
|
|
2130
2233
|
type: HostBinding,
|
|
@@ -2499,7 +2602,7 @@ class TabStripTabComponent {
|
|
|
2499
2602
|
}
|
|
2500
2603
|
}
|
|
2501
2604
|
TabStripTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2502
|
-
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 });
|
|
2605
|
+
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 });
|
|
2503
2606
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripTabComponent, decorators: [{
|
|
2504
2607
|
type: Component,
|
|
2505
2608
|
args: [{
|
|
@@ -2521,6 +2624,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2521
2624
|
type: Input
|
|
2522
2625
|
}], closeIcon: [{
|
|
2523
2626
|
type: Input
|
|
2627
|
+
}], closeIconClass: [{
|
|
2628
|
+
type: Input
|
|
2629
|
+
}], closeSVGIcon: [{
|
|
2630
|
+
type: Input
|
|
2524
2631
|
}], _tabContent: [{
|
|
2525
2632
|
type: ContentChildren,
|
|
2526
2633
|
args: [TabContentDirective]
|
|
@@ -2828,10 +2935,10 @@ const HIDDEN_CLASS = 'k-hidden';
|
|
|
2828
2935
|
* @hidden
|
|
2829
2936
|
*/
|
|
2830
2937
|
const DIRECTION_CLASSES = {
|
|
2831
|
-
left: '
|
|
2832
|
-
right: '
|
|
2833
|
-
up: '
|
|
2834
|
-
down: '
|
|
2938
|
+
left: 'caret-alt-left',
|
|
2939
|
+
right: 'caret-alt-right',
|
|
2940
|
+
up: 'caret-alt-up',
|
|
2941
|
+
down: 'caret-alt-down'
|
|
2835
2942
|
};
|
|
2836
2943
|
/**
|
|
2837
2944
|
* @hidden
|
|
@@ -3011,14 +3118,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3011
3118
|
/**
|
|
3012
3119
|
* @hidden
|
|
3013
3120
|
*/
|
|
3014
|
-
const normalizeSettings = ({ enabled = true, scrollButtons = 'auto', mouseScroll = true, buttonScrollSpeed = BUTTON_SCROLL_SPEED, mouseScrollSpeed = MOUSE_SCROLL_SPEED, prevButtonIcon, nextButtonIcon }) => ({
|
|
3121
|
+
const normalizeSettings = ({ enabled = true, scrollButtons = 'auto', mouseScroll = true, buttonScrollSpeed = BUTTON_SCROLL_SPEED, mouseScrollSpeed = MOUSE_SCROLL_SPEED, prevButtonIcon, nextButtonIcon, prevSVGButtonIcon, nextSVGButtonIcon }) => ({
|
|
3015
3122
|
enabled,
|
|
3016
3123
|
scrollButtons,
|
|
3017
3124
|
mouseScroll,
|
|
3018
3125
|
buttonScrollSpeed,
|
|
3019
3126
|
mouseScrollSpeed,
|
|
3020
3127
|
prevButtonIcon,
|
|
3021
|
-
nextButtonIcon
|
|
3128
|
+
nextButtonIcon,
|
|
3129
|
+
prevSVGButtonIcon,
|
|
3130
|
+
nextSVGButtonIcon
|
|
3022
3131
|
});
|
|
3023
3132
|
/**
|
|
3024
3133
|
* @hidden
|
|
@@ -3040,6 +3149,7 @@ class TabScrollEvent extends PreventableEvent$1 {
|
|
|
3040
3149
|
}
|
|
3041
3150
|
}
|
|
3042
3151
|
|
|
3152
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3043
3153
|
/**
|
|
3044
3154
|
* @hidden
|
|
3045
3155
|
*/
|
|
@@ -3048,7 +3158,6 @@ class TabStripScrollableButtonComponent {
|
|
|
3048
3158
|
this.host = host;
|
|
3049
3159
|
this.renderer = renderer;
|
|
3050
3160
|
this.ngZone = ngZone;
|
|
3051
|
-
this.btnClasses = true;
|
|
3052
3161
|
this.prev = false;
|
|
3053
3162
|
this.tabScroll = new EventEmitter();
|
|
3054
3163
|
this.onClick = new EventEmitter();
|
|
@@ -3073,7 +3182,13 @@ class TabStripScrollableButtonComponent {
|
|
|
3073
3182
|
return this.host.nativeElement.getBoundingClientRect();
|
|
3074
3183
|
}
|
|
3075
3184
|
get iconClass() {
|
|
3076
|
-
return this.scrollButtonIconClass
|
|
3185
|
+
return this.scrollButtonIconClass;
|
|
3186
|
+
}
|
|
3187
|
+
get customIconClass() {
|
|
3188
|
+
return this.customScrollButtonIconClass;
|
|
3189
|
+
}
|
|
3190
|
+
get svgIcon() {
|
|
3191
|
+
return this.scrollButtonSVGIcon;
|
|
3077
3192
|
}
|
|
3078
3193
|
ngAfterViewInit() {
|
|
3079
3194
|
this.ngZone.runOutsideAngular(() => {
|
|
@@ -3090,11 +3205,36 @@ class TabStripScrollableButtonComponent {
|
|
|
3090
3205
|
const defaultPrevIcon = isTablistHorizontal(this.tabPosition) ? DIRECTION_CLASSES.left : DIRECTION_CLASSES.up;
|
|
3091
3206
|
const defaultNextIcon = isTablistHorizontal(this.tabPosition) ? DIRECTION_CLASSES.right : DIRECTION_CLASSES.down;
|
|
3092
3207
|
if (typeof this.scrollable === 'object') {
|
|
3093
|
-
const prevIcon = typeof this.scrollable.prevButtonIcon === 'undefined' ? defaultPrevIcon :
|
|
3094
|
-
const nextIcon = typeof this.scrollable.nextButtonIcon === 'undefined' ? defaultNextIcon :
|
|
3095
|
-
|
|
3208
|
+
const prevIcon = typeof this.scrollable.prevButtonIcon === 'undefined' ? defaultPrevIcon : '';
|
|
3209
|
+
const nextIcon = typeof this.scrollable.nextButtonIcon === 'undefined' ? defaultNextIcon : '';
|
|
3210
|
+
if (prevIcon && this.prev) {
|
|
3211
|
+
return prevIcon;
|
|
3212
|
+
}
|
|
3213
|
+
else if (nextIcon && !this.prev) {
|
|
3214
|
+
return nextIcon;
|
|
3215
|
+
}
|
|
3216
|
+
}
|
|
3217
|
+
}
|
|
3218
|
+
get customScrollButtonIconClass() {
|
|
3219
|
+
if (typeof this.scrollable === 'object') {
|
|
3220
|
+
const prevIcon = this.scrollable.prevButtonIcon;
|
|
3221
|
+
const nextIcon = this.scrollable.nextButtonIcon;
|
|
3222
|
+
if (prevIcon && this.prev) {
|
|
3223
|
+
return `k-icon ${prevIcon}`;
|
|
3224
|
+
}
|
|
3225
|
+
if (nextIcon && !this.prev) {
|
|
3226
|
+
return `k-icon ${nextIcon}`;
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
}
|
|
3230
|
+
get scrollButtonSVGIcon() {
|
|
3231
|
+
if (typeof this.scrollable === 'object') {
|
|
3232
|
+
const prevIcon = this.scrollable.prevSVGButtonIcon !== undefined ? this.scrollable.prevSVGButtonIcon : undefined;
|
|
3233
|
+
const nextIcon = this.scrollable.nextSVGButtonIcon !== undefined ? this.scrollable.nextSVGButtonIcon : undefined;
|
|
3234
|
+
if (prevIcon || nextIcon) {
|
|
3235
|
+
return this.prev ? prevIcon : nextIcon;
|
|
3236
|
+
}
|
|
3096
3237
|
}
|
|
3097
|
-
return { prevScrollButton: defaultPrevIcon, nextScrollButton: defaultNextIcon };
|
|
3098
3238
|
}
|
|
3099
3239
|
emitScrollEvent(event) {
|
|
3100
3240
|
const scrollEvent = new TabScrollEvent({
|
|
@@ -3105,37 +3245,31 @@ class TabStripScrollableButtonComponent {
|
|
|
3105
3245
|
}
|
|
3106
3246
|
}
|
|
3107
3247
|
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 });
|
|
3108
|
-
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-
|
|
3109
|
-
<
|
|
3110
|
-
|
|
3248
|
+
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: `
|
|
3249
|
+
<kendo-icon-wrapper
|
|
3250
|
+
[name]="iconClass"
|
|
3251
|
+
[customFontClass]="customIconClass"
|
|
3252
|
+
[svgIcon]="svgIcon"
|
|
3253
|
+
innerCssClass="k-button-icon"
|
|
3254
|
+
>
|
|
3255
|
+
</kendo-icon-wrapper>
|
|
3256
|
+
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }] });
|
|
3111
3257
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripScrollableButtonComponent, decorators: [{
|
|
3112
3258
|
type: Component,
|
|
3113
3259
|
args: [{
|
|
3114
3260
|
template: `
|
|
3115
|
-
<
|
|
3261
|
+
<kendo-icon-wrapper
|
|
3262
|
+
[name]="iconClass"
|
|
3263
|
+
[customFontClass]="customIconClass"
|
|
3264
|
+
[svgIcon]="svgIcon"
|
|
3265
|
+
innerCssClass="k-button-icon"
|
|
3266
|
+
>
|
|
3267
|
+
</kendo-icon-wrapper>
|
|
3116
3268
|
`,
|
|
3117
3269
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
3118
3270
|
selector: '[kendoTabStripScrollableButton]'
|
|
3119
3271
|
}]
|
|
3120
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: {
|
|
3121
|
-
type: HostBinding,
|
|
3122
|
-
args: ['class.k-button']
|
|
3123
|
-
}, {
|
|
3124
|
-
type: HostBinding,
|
|
3125
|
-
args: ['class.k-button-md']
|
|
3126
|
-
}, {
|
|
3127
|
-
type: HostBinding,
|
|
3128
|
-
args: ['class.k-icon-button']
|
|
3129
|
-
}, {
|
|
3130
|
-
type: HostBinding,
|
|
3131
|
-
args: ['class.k-rounded-md']
|
|
3132
|
-
}, {
|
|
3133
|
-
type: HostBinding,
|
|
3134
|
-
args: ['class.k-button-flat']
|
|
3135
|
-
}, {
|
|
3136
|
-
type: HostBinding,
|
|
3137
|
-
args: ['class.k-button-flat-base']
|
|
3138
|
-
}], prevClass: [{
|
|
3272
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { prevClass: [{
|
|
3139
3273
|
type: HostBinding,
|
|
3140
3274
|
args: ['class.k-tabstrip-prev']
|
|
3141
3275
|
}], nextClass: [{
|
|
@@ -3181,10 +3315,20 @@ class TabComponent {
|
|
|
3181
3315
|
return this.tabStripClosable;
|
|
3182
3316
|
}
|
|
3183
3317
|
get closeButtonClasses() {
|
|
3184
|
-
if (
|
|
3185
|
-
|
|
3318
|
+
if (!this.customTabstripCloseIcon && this.tabStripCloseIcon && !this.tab.closeIconClass) {
|
|
3319
|
+
if (this.tab.closeIcon) {
|
|
3320
|
+
return this.tab.closeIcon;
|
|
3321
|
+
}
|
|
3322
|
+
return this.tabStripCloseIcon;
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
get customCloseButtonClasses() {
|
|
3326
|
+
if (this.customTabstripCloseIcon || this.tab.closeIconClass) {
|
|
3327
|
+
if (this.tab.closeIconClass) {
|
|
3328
|
+
return this.tab.closeIconClass;
|
|
3329
|
+
}
|
|
3330
|
+
return this.customTabstripCloseIcon;
|
|
3186
3331
|
}
|
|
3187
|
-
return this.tabStripCloseIcon;
|
|
3188
3332
|
}
|
|
3189
3333
|
get closeButtonTitle() {
|
|
3190
3334
|
return this.localization.get('closeTitle');
|
|
@@ -3195,21 +3339,27 @@ class TabComponent {
|
|
|
3195
3339
|
}
|
|
3196
3340
|
}
|
|
3197
3341
|
TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3198
|
-
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: `
|
|
3342
|
+
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: `
|
|
3199
3343
|
<span class="k-link" *ngIf="!tab.tabTitle">{{ tab.title }}</span>
|
|
3200
3344
|
<span class="k-link" *ngIf="tab.tabTitle">
|
|
3201
3345
|
<ng-template [ngTemplateOutlet]="tab.tabTitle?.templateRef">
|
|
3202
3346
|
</ng-template>
|
|
3203
3347
|
</span>
|
|
3204
|
-
|
|
3348
|
+
|
|
3349
|
+
<button
|
|
3350
|
+
kendoButton
|
|
3351
|
+
*ngIf="tabClosable"
|
|
3205
3352
|
role="button"
|
|
3353
|
+
fillMode="flat"
|
|
3354
|
+
[icon]="closeButtonClasses"
|
|
3355
|
+
[iconClass]="customCloseButtonClasses"
|
|
3356
|
+
[svgIcon]="closeSVGIcon"
|
|
3206
3357
|
[title]="closeButtonTitle"
|
|
3207
3358
|
[attr.aria-label]="closeButtonTitle"
|
|
3208
3359
|
(click)="closeTab(index)"
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
3360
|
+
class="k-remove-tab k-icon-button"
|
|
3361
|
+
></button>
|
|
3362
|
+
`, isInline: true, components: [{ type: i2$1.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"] }] });
|
|
3213
3363
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabComponent, decorators: [{
|
|
3214
3364
|
type: Component,
|
|
3215
3365
|
args: [{
|
|
@@ -3221,14 +3371,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3221
3371
|
<ng-template [ngTemplateOutlet]="tab.tabTitle?.templateRef">
|
|
3222
3372
|
</ng-template>
|
|
3223
3373
|
</span>
|
|
3224
|
-
|
|
3374
|
+
|
|
3375
|
+
<button
|
|
3376
|
+
kendoButton
|
|
3377
|
+
*ngIf="tabClosable"
|
|
3225
3378
|
role="button"
|
|
3379
|
+
fillMode="flat"
|
|
3380
|
+
[icon]="closeButtonClasses"
|
|
3381
|
+
[iconClass]="customCloseButtonClasses"
|
|
3382
|
+
[svgIcon]="closeSVGIcon"
|
|
3226
3383
|
[title]="closeButtonTitle"
|
|
3227
3384
|
[attr.aria-label]="closeButtonTitle"
|
|
3228
3385
|
(click)="closeTab(index)"
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
</span>
|
|
3386
|
+
class="k-remove-tab k-icon-button"
|
|
3387
|
+
></button>
|
|
3232
3388
|
`
|
|
3233
3389
|
}]
|
|
3234
3390
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { tab: [{
|
|
@@ -3239,6 +3395,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3239
3395
|
type: Input
|
|
3240
3396
|
}], tabStripCloseIcon: [{
|
|
3241
3397
|
type: Input
|
|
3398
|
+
}], customTabstripCloseIcon: [{
|
|
3399
|
+
type: Input
|
|
3400
|
+
}], closeSVGIcon: [{
|
|
3401
|
+
type: Input
|
|
3242
3402
|
}], tabClose: [{
|
|
3243
3403
|
type: Output
|
|
3244
3404
|
}], hostClasses: [{
|
|
@@ -3355,10 +3515,9 @@ class TabStripComponent {
|
|
|
3355
3515
|
*/
|
|
3356
3516
|
this.closable = false;
|
|
3357
3517
|
/**
|
|
3358
|
-
*
|
|
3359
|
-
* Allows the usage of custom icons.
|
|
3518
|
+
* Defines the name for an existing font icon in the Kendo UI theme for the close icon.
|
|
3360
3519
|
*/
|
|
3361
|
-
this.closeIcon = '
|
|
3520
|
+
this.closeIcon = 'x';
|
|
3362
3521
|
/**
|
|
3363
3522
|
* Fires each time the user selects a tab ([see example]({% slug overview_tabstrip %}#toc-basic-usage)).
|
|
3364
3523
|
* The event data contains the index of the selected tab and its title.
|
|
@@ -3420,6 +3579,19 @@ class TabStripComponent {
|
|
|
3420
3579
|
get scrollable() {
|
|
3421
3580
|
return this._scrollableSettings;
|
|
3422
3581
|
}
|
|
3582
|
+
/**
|
|
3583
|
+
* Defines an SVGIcon to be rendered for the close icon.
|
|
3584
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
3585
|
+
*/
|
|
3586
|
+
set closeSVGIcon(icon) {
|
|
3587
|
+
if (isDevMode() && icon && this.closeIcon && this.closeIcon !== 'x') {
|
|
3588
|
+
throw new Error('Setting both closeIcon and svgIcon options at the same time is not supported.');
|
|
3589
|
+
}
|
|
3590
|
+
this._closeSVGIcon = icon;
|
|
3591
|
+
}
|
|
3592
|
+
get closeSVGIcon() {
|
|
3593
|
+
return this._closeSVGIcon;
|
|
3594
|
+
}
|
|
3423
3595
|
get tabsAtTop() {
|
|
3424
3596
|
return this.tabPosition === 'top';
|
|
3425
3597
|
}
|
|
@@ -3648,7 +3820,7 @@ class TabStripComponent {
|
|
|
3648
3820
|
}
|
|
3649
3821
|
}
|
|
3650
3822
|
TabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TabStripService }, { token: ScrollService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3651
|
-
TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: [
|
|
3823
|
+
TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabStripComponent, selector: "kendo-tabstrip", inputs: { height: "height", animate: "animate", tabAlignment: "tabAlignment", tabPosition: "tabPosition", keepTabContent: "keepTabContent", closable: "closable", scrollable: "scrollable", closeIcon: "closeIcon", closeIconClass: "closeIconClass", closeSVGIcon: "closeSVGIcon" }, 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: [
|
|
3652
3824
|
TabStripService,
|
|
3653
3825
|
ScrollService,
|
|
3654
3826
|
LocalizationService,
|
|
@@ -3693,6 +3865,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
3693
3865
|
[prev]="true"
|
|
3694
3866
|
[title]="localization.get('previousTabButton')"
|
|
3695
3867
|
(tabScroll)="tabScroll.emit($event)"
|
|
3868
|
+
class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
|
|
3696
3869
|
(onClick)="onScrollButtonClick($event)">
|
|
3697
3870
|
</span>
|
|
3698
3871
|
<ul role="tablist" #tablist
|
|
@@ -3713,6 +3886,8 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
3713
3886
|
role="tab"
|
|
3714
3887
|
[tabStripClosable]="closable"
|
|
3715
3888
|
[tabStripCloseIcon]="closeIcon"
|
|
3889
|
+
[customTabstripCloseIcon]="closeIconClass"
|
|
3890
|
+
[closeSVGIcon]="closeSVGIcon"
|
|
3716
3891
|
(tabClose)="tabClose.emit($event)"
|
|
3717
3892
|
(click)="onTabClick($event, i)"
|
|
3718
3893
|
[id]="'k-tabstrip-tab-' + i"
|
|
@@ -3729,6 +3904,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
3729
3904
|
[prev]="false"
|
|
3730
3905
|
[title]="localization.get('nextTabButton')"
|
|
3731
3906
|
(tabScroll)="tabScroll.emit($event)"
|
|
3907
|
+
class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
|
|
3732
3908
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
3733
3909
|
</div>
|
|
3734
3910
|
</ng-template>
|
|
@@ -3752,7 +3928,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
3752
3928
|
</ng-template>
|
|
3753
3929
|
</ng-template>
|
|
3754
3930
|
<kendo-resize-sensor *ngIf="isScrollable" (resize)="onResize()"></kendo-resize-sensor>
|
|
3755
|
-
`, isInline: true, components: [{ type: TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: ["prev", "tabPosition", "scrollable"], outputs: ["tabScroll", "onClick"] }, { type: TabComponent, selector: "[kendoTabStripTab]", inputs: ["tab", "index", "tabStripClosable", "tabStripCloseIcon"], outputs: ["tabClose"] }, { type: i1$1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedTabStripMessagesDirective, selector: "[kendoTabStripLocalizedMessages]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], animations: [
|
|
3931
|
+
`, isInline: true, components: [{ type: TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: ["prev", "tabPosition", "scrollable"], outputs: ["tabScroll", "onClick"] }, { type: TabComponent, selector: "[kendoTabStripTab]", inputs: ["tab", "index", "tabStripClosable", "tabStripCloseIcon", "customTabstripCloseIcon", "closeSVGIcon"], outputs: ["tabClose"] }, { type: i1$1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedTabStripMessagesDirective, selector: "[kendoTabStripLocalizedMessages]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], animations: [
|
|
3756
3932
|
trigger('state', [
|
|
3757
3933
|
state('active', style({ opacity: 1 })),
|
|
3758
3934
|
transition('* => active', [
|
|
@@ -3821,6 +3997,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3821
3997
|
[prev]="true"
|
|
3822
3998
|
[title]="localization.get('previousTabButton')"
|
|
3823
3999
|
(tabScroll)="tabScroll.emit($event)"
|
|
4000
|
+
class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
|
|
3824
4001
|
(onClick)="onScrollButtonClick($event)">
|
|
3825
4002
|
</span>
|
|
3826
4003
|
<ul role="tablist" #tablist
|
|
@@ -3841,6 +4018,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3841
4018
|
role="tab"
|
|
3842
4019
|
[tabStripClosable]="closable"
|
|
3843
4020
|
[tabStripCloseIcon]="closeIcon"
|
|
4021
|
+
[customTabstripCloseIcon]="closeIconClass"
|
|
4022
|
+
[closeSVGIcon]="closeSVGIcon"
|
|
3844
4023
|
(tabClose)="tabClose.emit($event)"
|
|
3845
4024
|
(click)="onTabClick($event, i)"
|
|
3846
4025
|
[id]="'k-tabstrip-tab-' + i"
|
|
@@ -3857,6 +4036,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3857
4036
|
[prev]="false"
|
|
3858
4037
|
[title]="localization.get('nextTabButton')"
|
|
3859
4038
|
(tabScroll)="tabScroll.emit($event)"
|
|
4039
|
+
class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
|
|
3860
4040
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
3861
4041
|
</div>
|
|
3862
4042
|
</ng-template>
|
|
@@ -3898,6 +4078,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3898
4078
|
type: Input
|
|
3899
4079
|
}], closeIcon: [{
|
|
3900
4080
|
type: Input
|
|
4081
|
+
}], closeIconClass: [{
|
|
4082
|
+
type: Input
|
|
4083
|
+
}], closeSVGIcon: [{
|
|
4084
|
+
type: Input
|
|
3901
4085
|
}], tabSelect: [{
|
|
3902
4086
|
type: Output
|
|
3903
4087
|
}], tabClose: [{
|
|
@@ -4334,6 +4518,7 @@ class DrawerListSelectEvent extends PreventableEvent$1 {
|
|
|
4334
4518
|
}
|
|
4335
4519
|
}
|
|
4336
4520
|
|
|
4521
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
4337
4522
|
/**
|
|
4338
4523
|
* @hidden
|
|
4339
4524
|
*/
|
|
@@ -4342,6 +4527,8 @@ class DrawerItemComponent {
|
|
|
4342
4527
|
this.drawerService = drawerService;
|
|
4343
4528
|
this.element = element;
|
|
4344
4529
|
this.renderer = renderer;
|
|
4530
|
+
this.arrowUpIcon = chevronUpIcon;
|
|
4531
|
+
this.arrowDownIcon = chevronDownIcon;
|
|
4345
4532
|
}
|
|
4346
4533
|
get disabledClass() {
|
|
4347
4534
|
return this.item.disabled;
|
|
@@ -4360,14 +4547,20 @@ class DrawerItemComponent {
|
|
|
4360
4547
|
}
|
|
4361
4548
|
}
|
|
4362
4549
|
get iconClasses() {
|
|
4363
|
-
const classes = [];
|
|
4364
4550
|
if (this.item.icon) {
|
|
4365
|
-
|
|
4551
|
+
const stripIcon = this.item.icon.replace('k-i-', '');
|
|
4552
|
+
return `${stripIcon}`;
|
|
4366
4553
|
}
|
|
4367
|
-
|
|
4368
|
-
|
|
4554
|
+
}
|
|
4555
|
+
get innerCssClasses() {
|
|
4556
|
+
if (this.item.iconClass && this.item.icon) {
|
|
4557
|
+
return `${this.item.iconClass}`;
|
|
4558
|
+
}
|
|
4559
|
+
}
|
|
4560
|
+
get customIconClasses() {
|
|
4561
|
+
if (!this.item.icon && this.item.iconClass) {
|
|
4562
|
+
return this.item.iconClass;
|
|
4369
4563
|
}
|
|
4370
|
-
return classes;
|
|
4371
4564
|
}
|
|
4372
4565
|
get item() {
|
|
4373
4566
|
return this.viewItem.item;
|
|
@@ -4387,19 +4580,34 @@ DrawerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4387
4580
|
|
|
4388
4581
|
<ng-template #defaultTemplate>
|
|
4389
4582
|
<ng-container *ngIf="expanded">
|
|
4390
|
-
<
|
|
4583
|
+
<kendo-icon-wrapper
|
|
4584
|
+
[name]="iconClasses"
|
|
4585
|
+
[customFontClass]="customIconClasses"
|
|
4586
|
+
[svgIcon]="item.svgIcon"
|
|
4587
|
+
[innerCssClass]="innerCssClasses"
|
|
4588
|
+
>
|
|
4589
|
+
</kendo-icon-wrapper>
|
|
4590
|
+
|
|
4391
4591
|
<span class="k-item-text">{{ item.text }}</span>
|
|
4392
|
-
<
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4592
|
+
<kendo-icon-wrapper
|
|
4593
|
+
*ngIf="viewItem.hasChildren"
|
|
4594
|
+
[name]="viewItem.isExpanded ? 'arrow-chevron-up' : 'arrow-chevron-down'"
|
|
4595
|
+
innerCssClass="k-drawer-toggle"
|
|
4596
|
+
[svgIcon]="viewItem.isExpanded ? arrowUpIcon : arrowDownIcon"
|
|
4597
|
+
>
|
|
4598
|
+
</kendo-icon-wrapper>
|
|
4397
4599
|
</ng-container>
|
|
4398
4600
|
<ng-container *ngIf="mini && !expanded">
|
|
4399
|
-
<
|
|
4601
|
+
<kendo-icon-wrapper
|
|
4602
|
+
[name]="iconClasses"
|
|
4603
|
+
[customFontClass]="customIconClasses"
|
|
4604
|
+
[svgIcon]="item.svgIcon"
|
|
4605
|
+
[innerCssClass]="innerCssClasses"
|
|
4606
|
+
>
|
|
4607
|
+
</kendo-icon-wrapper>
|
|
4400
4608
|
</ng-container>
|
|
4401
4609
|
</ng-template>
|
|
4402
|
-
`, isInline: true,
|
|
4610
|
+
`, 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.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
4403
4611
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerItemComponent, decorators: [{
|
|
4404
4612
|
type: Component,
|
|
4405
4613
|
args: [{
|
|
@@ -4418,16 +4626,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4418
4626
|
|
|
4419
4627
|
<ng-template #defaultTemplate>
|
|
4420
4628
|
<ng-container *ngIf="expanded">
|
|
4421
|
-
<
|
|
4629
|
+
<kendo-icon-wrapper
|
|
4630
|
+
[name]="iconClasses"
|
|
4631
|
+
[customFontClass]="customIconClasses"
|
|
4632
|
+
[svgIcon]="item.svgIcon"
|
|
4633
|
+
[innerCssClass]="innerCssClasses"
|
|
4634
|
+
>
|
|
4635
|
+
</kendo-icon-wrapper>
|
|
4636
|
+
|
|
4422
4637
|
<span class="k-item-text">{{ item.text }}</span>
|
|
4423
|
-
<
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4638
|
+
<kendo-icon-wrapper
|
|
4639
|
+
*ngIf="viewItem.hasChildren"
|
|
4640
|
+
[name]="viewItem.isExpanded ? 'arrow-chevron-up' : 'arrow-chevron-down'"
|
|
4641
|
+
innerCssClass="k-drawer-toggle"
|
|
4642
|
+
[svgIcon]="viewItem.isExpanded ? arrowUpIcon : arrowDownIcon"
|
|
4643
|
+
>
|
|
4644
|
+
</kendo-icon-wrapper>
|
|
4428
4645
|
</ng-container>
|
|
4429
4646
|
<ng-container *ngIf="mini && !expanded">
|
|
4430
|
-
<
|
|
4647
|
+
<kendo-icon-wrapper
|
|
4648
|
+
[name]="iconClasses"
|
|
4649
|
+
[customFontClass]="customIconClasses"
|
|
4650
|
+
[svgIcon]="item.svgIcon"
|
|
4651
|
+
[innerCssClass]="innerCssClasses"
|
|
4652
|
+
>
|
|
4653
|
+
</kendo-icon-wrapper>
|
|
4431
4654
|
</ng-container>
|
|
4432
4655
|
</ng-template>
|
|
4433
4656
|
`
|
|
@@ -4601,6 +4824,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4601
4824
|
args: [DrawerItemComponent, { read: ElementRef }]
|
|
4602
4825
|
}] } });
|
|
4603
4826
|
|
|
4827
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
4604
4828
|
const DEFAULT_ANIMATION = { type: 'slide', duration: 200 };
|
|
4605
4829
|
/**
|
|
4606
4830
|
* Represents the [Kendo UI Drawer component for Angular]({% slug overview_drawer %}).
|
|
@@ -5363,6 +5587,8 @@ class StepperStepComponent {
|
|
|
5363
5587
|
this.ngZone = ngZone;
|
|
5364
5588
|
this.isStepValid = undefined;
|
|
5365
5589
|
this.shouldCheckValidity = undefined;
|
|
5590
|
+
this.checkCircleIcon = checkCircleIcon;
|
|
5591
|
+
this.exclamationCircleIcon = exclamationCircleIcon;
|
|
5366
5592
|
validatePackage(packageMetadata);
|
|
5367
5593
|
this.subs = this.service.focusedStepChange.subscribe(() => {
|
|
5368
5594
|
this.onFocusedStepChange();
|
|
@@ -5410,16 +5636,48 @@ class StepperStepComponent {
|
|
|
5410
5636
|
const active = this.service.focusedStep || this.service.currentStep;
|
|
5411
5637
|
return this.index === active ? 0 : -1;
|
|
5412
5638
|
}
|
|
5413
|
-
get
|
|
5414
|
-
if (this.step.icon) {
|
|
5415
|
-
return
|
|
5639
|
+
get indicatorIconClass() {
|
|
5640
|
+
if (this.step.icon && !this.step.iconClass) {
|
|
5641
|
+
return `${this.step.icon}`;
|
|
5416
5642
|
}
|
|
5643
|
+
if (!this.step.icon && !this.step.iconClass && this.shouldCheckValidity) {
|
|
5644
|
+
return this.validationIconClasses;
|
|
5645
|
+
}
|
|
5646
|
+
}
|
|
5647
|
+
get customIndicatorIconClass() {
|
|
5417
5648
|
if (this.step.iconClass) {
|
|
5418
5649
|
return `${this.step.iconClass}`;
|
|
5419
5650
|
}
|
|
5420
|
-
|
|
5421
|
-
|
|
5651
|
+
const renderCustomValidationIcon = !this.step.icon && !this.step.iconClass && this.shouldCheckValidity;
|
|
5652
|
+
if (renderCustomValidationIcon) {
|
|
5653
|
+
return this.customValidationIconClasses;
|
|
5654
|
+
}
|
|
5655
|
+
}
|
|
5656
|
+
get SVGIndicatorIcon() {
|
|
5657
|
+
if (this.step.svgIcon) {
|
|
5658
|
+
return this.step.svgIcon;
|
|
5659
|
+
}
|
|
5660
|
+
if (!this.step.svgIcon && this.shouldCheckValidity) {
|
|
5661
|
+
return this.validationSVGIcon;
|
|
5662
|
+
}
|
|
5663
|
+
}
|
|
5664
|
+
get validationIconClasses() {
|
|
5665
|
+
if (this.isStepValid) {
|
|
5666
|
+
return !this.successIcon ? 'check-circle' : '';
|
|
5422
5667
|
}
|
|
5668
|
+
return !this.errorIcon ? 'exclamation-circle' : '';
|
|
5669
|
+
}
|
|
5670
|
+
get customValidationIconClasses() {
|
|
5671
|
+
if (this.isStepValid) {
|
|
5672
|
+
return this.successIcon ? this.successIcon : '';
|
|
5673
|
+
}
|
|
5674
|
+
return this.errorIcon ? this.errorIcon : '';
|
|
5675
|
+
}
|
|
5676
|
+
get validationSVGIcon() {
|
|
5677
|
+
if (this.isStepValid) {
|
|
5678
|
+
return this.successSVGIcon ? this.successSVGIcon : this.checkCircleIcon;
|
|
5679
|
+
}
|
|
5680
|
+
return this.errorSVGIcon ? this.errorSVGIcon : this.exclamationCircleIcon;
|
|
5423
5681
|
}
|
|
5424
5682
|
get showIndicatorIcon() {
|
|
5425
5683
|
if (this.shouldCheckValidity) {
|
|
@@ -5444,14 +5702,6 @@ class StepperStepComponent {
|
|
|
5444
5702
|
get showLabelText() {
|
|
5445
5703
|
return this.type === 'label' || this.type === 'full';
|
|
5446
5704
|
}
|
|
5447
|
-
get validationIconClasses() {
|
|
5448
|
-
if (this.isStepValid) {
|
|
5449
|
-
return this.successIcon ? `${this.successIcon}` : 'k-icon k-i-check-circle';
|
|
5450
|
-
}
|
|
5451
|
-
else {
|
|
5452
|
-
return this.errorIcon ? `${this.errorIcon}` : 'k-icon k-i-exclamation-circle';
|
|
5453
|
-
}
|
|
5454
|
-
}
|
|
5455
5705
|
get indicatorText() {
|
|
5456
5706
|
const text = this.step.text;
|
|
5457
5707
|
return text ? text : this.index + 1;
|
|
@@ -5500,7 +5750,7 @@ class StepperStepComponent {
|
|
|
5500
5750
|
}
|
|
5501
5751
|
}
|
|
5502
5752
|
StepperStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperStepComponent, deps: [{ token: StepperService }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
5503
|
-
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: `
|
|
5753
|
+
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: `
|
|
5504
5754
|
<a href='#' class='k-step-link' #stepLink
|
|
5505
5755
|
[attr.tabindex]='tabIndexAttr'
|
|
5506
5756
|
[attr.title]='step.label'
|
|
@@ -5525,7 +5775,14 @@ StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
5525
5775
|
</ng-template>
|
|
5526
5776
|
|
|
5527
5777
|
<ng-container *ngIf='!indicatorTemplate'>
|
|
5528
|
-
<
|
|
5778
|
+
<kendo-icon-wrapper
|
|
5779
|
+
*ngIf='showIndicatorIcon'
|
|
5780
|
+
[name]='indicatorIconClass'
|
|
5781
|
+
[customFontClass]='customIndicatorIconClass'
|
|
5782
|
+
[svgIcon]='SVGIndicatorIcon'
|
|
5783
|
+
innerCssClass='k-step-indicator-icon'
|
|
5784
|
+
>
|
|
5785
|
+
</kendo-icon-wrapper>
|
|
5529
5786
|
<span class='k-step-indicator-text' *ngIf='!showIndicatorIcon'>{{ indicatorText }}</span>
|
|
5530
5787
|
</ng-container>
|
|
5531
5788
|
</span>
|
|
@@ -5538,13 +5795,20 @@ StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
5538
5795
|
|
|
5539
5796
|
<ng-container *ngIf='!labelTemplate'>
|
|
5540
5797
|
<span class='k-step-text' *ngIf='showLabelText'>{{ step.label }}</span>
|
|
5541
|
-
<
|
|
5798
|
+
<kendo-icon-wrapper
|
|
5799
|
+
*ngIf='showLabelIcon'
|
|
5800
|
+
aria-hidden='true'
|
|
5801
|
+
[name]='validationIconClasses'
|
|
5802
|
+
[customFontClass]='customValidationIconClasses'
|
|
5803
|
+
[svgIcon]='validationSVGIcon'
|
|
5804
|
+
>
|
|
5805
|
+
</kendo-icon-wrapper>
|
|
5542
5806
|
<span class='k-step-label-optional' *ngIf='step.optional'>({{optionalText}})</span>
|
|
5543
5807
|
</ng-container>
|
|
5544
5808
|
</span>
|
|
5545
5809
|
</ng-container>
|
|
5546
5810
|
</a>
|
|
5547
|
-
`, isInline: true,
|
|
5811
|
+
`, 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.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
5548
5812
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperStepComponent, decorators: [{
|
|
5549
5813
|
type: Component,
|
|
5550
5814
|
args: [{
|
|
@@ -5575,7 +5839,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5575
5839
|
</ng-template>
|
|
5576
5840
|
|
|
5577
5841
|
<ng-container *ngIf='!indicatorTemplate'>
|
|
5578
|
-
<
|
|
5842
|
+
<kendo-icon-wrapper
|
|
5843
|
+
*ngIf='showIndicatorIcon'
|
|
5844
|
+
[name]='indicatorIconClass'
|
|
5845
|
+
[customFontClass]='customIndicatorIconClass'
|
|
5846
|
+
[svgIcon]='SVGIndicatorIcon'
|
|
5847
|
+
innerCssClass='k-step-indicator-icon'
|
|
5848
|
+
>
|
|
5849
|
+
</kendo-icon-wrapper>
|
|
5579
5850
|
<span class='k-step-indicator-text' *ngIf='!showIndicatorIcon'>{{ indicatorText }}</span>
|
|
5580
5851
|
</ng-container>
|
|
5581
5852
|
</span>
|
|
@@ -5588,7 +5859,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5588
5859
|
|
|
5589
5860
|
<ng-container *ngIf='!labelTemplate'>
|
|
5590
5861
|
<span class='k-step-text' *ngIf='showLabelText'>{{ step.label }}</span>
|
|
5591
|
-
<
|
|
5862
|
+
<kendo-icon-wrapper
|
|
5863
|
+
*ngIf='showLabelIcon'
|
|
5864
|
+
aria-hidden='true'
|
|
5865
|
+
[name]='validationIconClasses'
|
|
5866
|
+
[customFontClass]='customValidationIconClasses'
|
|
5867
|
+
[svgIcon]='validationSVGIcon'
|
|
5868
|
+
>
|
|
5869
|
+
</kendo-icon-wrapper>
|
|
5592
5870
|
<span class='k-step-label-optional' *ngIf='step.optional'>({{optionalText}})</span>
|
|
5593
5871
|
</ng-container>
|
|
5594
5872
|
</span>
|
|
@@ -5606,8 +5884,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5606
5884
|
type: Input
|
|
5607
5885
|
}], successIcon: [{
|
|
5608
5886
|
type: Input
|
|
5887
|
+
}], successSVGIcon: [{
|
|
5888
|
+
type: Input
|
|
5609
5889
|
}], errorIcon: [{
|
|
5610
5890
|
type: Input
|
|
5891
|
+
}], errorSVGIcon: [{
|
|
5892
|
+
type: Input
|
|
5893
|
+
}], svgIcon: [{
|
|
5894
|
+
type: Input
|
|
5611
5895
|
}], indicatorTemplate: [{
|
|
5612
5896
|
type: Input
|
|
5613
5897
|
}], labelTemplate: [{
|
|
@@ -5704,7 +5988,7 @@ class StepperListComponent {
|
|
|
5704
5988
|
}
|
|
5705
5989
|
}
|
|
5706
5990
|
StepperListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.NgZone }, { token: StepperService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5707
|
-
StepperListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: 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"] }] });
|
|
5991
|
+
StepperListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: StepperListComponent, selector: "[kendoStepperList]", inputs: { linear: "linear", stepType: "stepType", orientation: "orientation", currentStep: "currentStep", steps: "steps", successIcon: "successIcon", successSVGIcon: "successSVGIcon", errorIcon: "errorIcon", errorSVGIcon: "errorSVGIcon", svgIcon: "svgIcon", 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 [successSVGIcon]='successSVGIcon'\n [errorIcon]='errorIcon'\n [errorSVGIcon]='errorSVGIcon'\n [svgIcon]='svgIcon'\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: StepperStepComponent, selector: "[kendoStepperStep]", inputs: ["step", "index", "current", "type", "successIcon", "successSVGIcon", "errorIcon", "errorSVGIcon", "svgIcon", "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"] }] });
|
|
5708
5992
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperListComponent, decorators: [{
|
|
5709
5993
|
type: Component,
|
|
5710
5994
|
args: [{
|
|
@@ -5719,7 +6003,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5719
6003
|
[index]='idx'
|
|
5720
6004
|
[current]='currentStep'
|
|
5721
6005
|
[successIcon]='successIcon'
|
|
6006
|
+
[successSVGIcon]='successSVGIcon'
|
|
5722
6007
|
[errorIcon]='errorIcon'
|
|
6008
|
+
[errorSVGIcon]='errorSVGIcon'
|
|
6009
|
+
[svgIcon]='svgIcon'
|
|
5723
6010
|
[indicatorTemplate]='indicatorTemplate'
|
|
5724
6011
|
[labelTemplate]='labelTemplate'
|
|
5725
6012
|
[stepTemplate]='stepTemplate'
|
|
@@ -5752,8 +6039,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5752
6039
|
type: Input
|
|
5753
6040
|
}], successIcon: [{
|
|
5754
6041
|
type: Input
|
|
6042
|
+
}], successSVGIcon: [{
|
|
6043
|
+
type: Input
|
|
5755
6044
|
}], errorIcon: [{
|
|
5756
6045
|
type: Input
|
|
6046
|
+
}], errorSVGIcon: [{
|
|
6047
|
+
type: Input
|
|
6048
|
+
}], svgIcon: [{
|
|
6049
|
+
type: Input
|
|
5757
6050
|
}], indicatorTemplate: [{
|
|
5758
6051
|
type: Input
|
|
5759
6052
|
}], labelTemplate: [{
|
|
@@ -5916,6 +6209,16 @@ class StepperComponent {
|
|
|
5916
6209
|
get steps() {
|
|
5917
6210
|
return this._steps;
|
|
5918
6211
|
}
|
|
6212
|
+
/**
|
|
6213
|
+
* Defines an SVG icon to be rendered inside the step indicator instead of the default numeric or text content.
|
|
6214
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
6215
|
+
*/
|
|
6216
|
+
set svgIcon(icon) {
|
|
6217
|
+
this._svgIcon = icon;
|
|
6218
|
+
}
|
|
6219
|
+
get svgIcon() {
|
|
6220
|
+
return this._svgIcon;
|
|
6221
|
+
}
|
|
5919
6222
|
ngOnInit() {
|
|
5920
6223
|
this.applyHostStyling();
|
|
5921
6224
|
}
|
|
@@ -6019,7 +6322,7 @@ class StepperComponent {
|
|
|
6019
6322
|
}
|
|
6020
6323
|
}
|
|
6021
6324
|
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: StepperService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6022
|
-
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: [
|
|
6325
|
+
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: [
|
|
6023
6326
|
LocalizationService,
|
|
6024
6327
|
StepperService,
|
|
6025
6328
|
{
|
|
@@ -6039,7 +6342,10 @@ StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
6039
6342
|
[steps]='steps'
|
|
6040
6343
|
[currentStep]='currentStep'
|
|
6041
6344
|
[successIcon]='successIcon'
|
|
6345
|
+
[successSVGIcon]='successSVGIcon'
|
|
6042
6346
|
[errorIcon]='errorIcon'
|
|
6347
|
+
[errorSVGIcon]='errorSVGIcon'
|
|
6348
|
+
[svgIcon]="svgIcon"
|
|
6043
6349
|
[indicatorTemplate]='indicatorTemplate?.templateRef'
|
|
6044
6350
|
[labelTemplate]='labelTemplate?.templateRef'
|
|
6045
6351
|
[stepTemplate]='stepTemplate?.templateRef'
|
|
@@ -6061,7 +6367,7 @@ StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
6061
6367
|
[value]='currentStep'
|
|
6062
6368
|
[ngStyle]='progressBarStyling'>
|
|
6063
6369
|
</kendo-progressbar>
|
|
6064
|
-
`, isInline: true, components: [{ type: 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: LocalizedStepperMessagesDirective, selector: "\n [kendoStepperLocalizedMessages]\n " }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
6370
|
+
`, isInline: true, components: [{ type: 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: LocalizedStepperMessagesDirective, selector: "\n [kendoStepperLocalizedMessages]\n " }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
6065
6371
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperComponent, decorators: [{
|
|
6066
6372
|
type: Component,
|
|
6067
6373
|
args: [{
|
|
@@ -6088,7 +6394,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6088
6394
|
[steps]='steps'
|
|
6089
6395
|
[currentStep]='currentStep'
|
|
6090
6396
|
[successIcon]='successIcon'
|
|
6397
|
+
[successSVGIcon]='successSVGIcon'
|
|
6091
6398
|
[errorIcon]='errorIcon'
|
|
6399
|
+
[errorSVGIcon]='errorSVGIcon'
|
|
6400
|
+
[svgIcon]="svgIcon"
|
|
6092
6401
|
[indicatorTemplate]='indicatorTemplate?.templateRef'
|
|
6093
6402
|
[labelTemplate]='labelTemplate?.templateRef'
|
|
6094
6403
|
[stepTemplate]='stepTemplate?.templateRef'
|
|
@@ -6137,6 +6446,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6137
6446
|
type: Input
|
|
6138
6447
|
}], steps: [{
|
|
6139
6448
|
type: Input
|
|
6449
|
+
}], svgIcon: [{
|
|
6450
|
+
type: Input
|
|
6451
|
+
}], successSVGIcon: [{
|
|
6452
|
+
type: Input
|
|
6453
|
+
}], errorSVGIcon: [{
|
|
6454
|
+
type: Input
|
|
6140
6455
|
}], successIcon: [{
|
|
6141
6456
|
type: Input
|
|
6142
6457
|
}], errorIcon: [{
|
|
@@ -6354,6 +6669,19 @@ class AvatarComponent {
|
|
|
6354
6669
|
get avatarHeight() {
|
|
6355
6670
|
return this.height;
|
|
6356
6671
|
}
|
|
6672
|
+
/**
|
|
6673
|
+
* Defines an SVGIcon to be rendered.
|
|
6674
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
6675
|
+
*/
|
|
6676
|
+
set svgIcon(icon) {
|
|
6677
|
+
if (isDevMode() && icon && this.icon && this.iconClass) {
|
|
6678
|
+
throw new Error('Setting both icon/svgIcon and iconClass options at the same time is not supported.');
|
|
6679
|
+
}
|
|
6680
|
+
this._svgIcon = icon;
|
|
6681
|
+
}
|
|
6682
|
+
get svgIcon() {
|
|
6683
|
+
return this._svgIcon;
|
|
6684
|
+
}
|
|
6357
6685
|
ngOnInit() {
|
|
6358
6686
|
this.verifyProperties();
|
|
6359
6687
|
}
|
|
@@ -6364,17 +6692,6 @@ class AvatarComponent {
|
|
|
6364
6692
|
});
|
|
6365
6693
|
this.handleFillModeAndThemeColorClasses(this.fillMode, this.themeColor);
|
|
6366
6694
|
}
|
|
6367
|
-
/**
|
|
6368
|
-
* @hidden
|
|
6369
|
-
*/
|
|
6370
|
-
iconClasses() {
|
|
6371
|
-
if (this.icon) {
|
|
6372
|
-
return `k-icon k-i-${this.icon}`;
|
|
6373
|
-
}
|
|
6374
|
-
if (this.iconClass) {
|
|
6375
|
-
return `${this.iconClass}`;
|
|
6376
|
-
}
|
|
6377
|
-
}
|
|
6378
6695
|
/**
|
|
6379
6696
|
* @hidden
|
|
6380
6697
|
*/
|
|
@@ -6424,7 +6741,7 @@ class AvatarComponent {
|
|
|
6424
6741
|
}
|
|
6425
6742
|
}
|
|
6426
6743
|
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6427
|
-
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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" }, 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" } }, ngImport: i0, template: `
|
|
6744
|
+
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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" } }, ngImport: i0, template: `
|
|
6428
6745
|
<ng-content *ngIf="customAvatar"></ng-content>
|
|
6429
6746
|
|
|
6430
6747
|
<ng-container *ngIf="imageSrc">
|
|
@@ -6439,10 +6756,16 @@ AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
6439
6756
|
|
|
6440
6757
|
<ng-container *ngIf="icon || iconClass">
|
|
6441
6758
|
<span class="k-avatar-icon">
|
|
6442
|
-
<
|
|
6759
|
+
<kendo-icon-wrapper
|
|
6760
|
+
[ngStyle]="cssStyle"
|
|
6761
|
+
[name]="icon"
|
|
6762
|
+
[customFontClass]="iconClass"
|
|
6763
|
+
[svgIcon]="svgIcon"
|
|
6764
|
+
>
|
|
6765
|
+
</kendo-icon-wrapper>
|
|
6443
6766
|
</span>
|
|
6444
6767
|
</ng-container>
|
|
6445
|
-
`, isInline: true,
|
|
6768
|
+
`, 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"] }] });
|
|
6446
6769
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
6447
6770
|
type: Component,
|
|
6448
6771
|
args: [{
|
|
@@ -6462,7 +6785,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6462
6785
|
|
|
6463
6786
|
<ng-container *ngIf="icon || iconClass">
|
|
6464
6787
|
<span class="k-avatar-icon">
|
|
6465
|
-
<
|
|
6788
|
+
<kendo-icon-wrapper
|
|
6789
|
+
[ngStyle]="cssStyle"
|
|
6790
|
+
[name]="icon"
|
|
6791
|
+
[customFontClass]="iconClass"
|
|
6792
|
+
[svgIcon]="svgIcon"
|
|
6793
|
+
>
|
|
6794
|
+
</kendo-icon-wrapper>
|
|
6466
6795
|
</span>
|
|
6467
6796
|
</ng-container>
|
|
6468
6797
|
`
|
|
@@ -6510,6 +6839,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6510
6839
|
type: Input
|
|
6511
6840
|
}], imageSrc: [{
|
|
6512
6841
|
type: Input
|
|
6842
|
+
}], svgIcon: [{
|
|
6843
|
+
type: Input
|
|
6513
6844
|
}] } });
|
|
6514
6845
|
|
|
6515
6846
|
/**
|
|
@@ -7101,6 +7432,32 @@ class ExpansionPanelComponent {
|
|
|
7101
7432
|
get expanded() {
|
|
7102
7433
|
return this._expanded;
|
|
7103
7434
|
}
|
|
7435
|
+
/**
|
|
7436
|
+
* Defines an SVGIcon for the expanded state of the component.
|
|
7437
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
7438
|
+
*/
|
|
7439
|
+
set svgExpandIcon(icon) {
|
|
7440
|
+
if (isDevMode() && icon && this.expandIcon) {
|
|
7441
|
+
throw new Error('Setting both expandIcon/svgExpandIcon options at the same time is not supported.');
|
|
7442
|
+
}
|
|
7443
|
+
this._svgExpandIcon = icon;
|
|
7444
|
+
}
|
|
7445
|
+
get svgExpandIcon() {
|
|
7446
|
+
return this._svgExpandIcon;
|
|
7447
|
+
}
|
|
7448
|
+
/**
|
|
7449
|
+
* Defines an SVGIcon for the collapsed state of the component.
|
|
7450
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
7451
|
+
*/
|
|
7452
|
+
set svgCollapseIcon(icon) {
|
|
7453
|
+
if (isDevMode() && icon && this.collapseIcon) {
|
|
7454
|
+
throw new Error('Setting both collapseIcon/svgCollapseIcon options at the same time is not supported.');
|
|
7455
|
+
}
|
|
7456
|
+
this._svgCollapseIcon = icon;
|
|
7457
|
+
}
|
|
7458
|
+
get svgCollapseIcon() {
|
|
7459
|
+
return this._svgCollapseIcon;
|
|
7460
|
+
}
|
|
7104
7461
|
get expandedClass() {
|
|
7105
7462
|
return this.expanded && !this.disabled;
|
|
7106
7463
|
}
|
|
@@ -7184,12 +7541,34 @@ class ExpansionPanelComponent {
|
|
|
7184
7541
|
/**
|
|
7185
7542
|
* @hidden
|
|
7186
7543
|
*/
|
|
7187
|
-
get
|
|
7544
|
+
get expanderIndicatorClasses() {
|
|
7545
|
+
if (this.expanded) {
|
|
7546
|
+
return !this.collapseIcon ? `caret-alt-up` : '';
|
|
7547
|
+
}
|
|
7548
|
+
else {
|
|
7549
|
+
return !this.expandIcon ? `caret-alt-down` : '';
|
|
7550
|
+
}
|
|
7551
|
+
}
|
|
7552
|
+
/**
|
|
7553
|
+
* @hidden
|
|
7554
|
+
*/
|
|
7555
|
+
get customExpanderIndicatorClasses() {
|
|
7556
|
+
if (this.expanded) {
|
|
7557
|
+
return this.collapseIcon ? this.collapseIcon : '';
|
|
7558
|
+
}
|
|
7559
|
+
else {
|
|
7560
|
+
return this.expandIcon ? this.expandIcon : '';
|
|
7561
|
+
}
|
|
7562
|
+
}
|
|
7563
|
+
/**
|
|
7564
|
+
* @hidden
|
|
7565
|
+
*/
|
|
7566
|
+
get svgExpanderIndicatorClasses() {
|
|
7188
7567
|
if (this.expanded) {
|
|
7189
|
-
return this.
|
|
7568
|
+
return this.svgCollapseIcon ? this.svgCollapseIcon : undefined;
|
|
7190
7569
|
}
|
|
7191
7570
|
else {
|
|
7192
|
-
return this.
|
|
7571
|
+
return this.svgExpandIcon ? this.svgExpandIcon : undefined;
|
|
7193
7572
|
}
|
|
7194
7573
|
}
|
|
7195
7574
|
/**
|
|
@@ -7269,7 +7648,7 @@ class ExpansionPanelComponent {
|
|
|
7269
7648
|
}
|
|
7270
7649
|
}
|
|
7271
7650
|
ExpansionPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i1$2.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
7272
|
-
ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ExpansionPanelComponent, selector: "kendo-expansionpanel", inputs: { title: "title", subtitle: "subtitle", disabled: "disabled", expanded: "expanded", expandIcon: "expandIcon", collapseIcon: "collapseIcon", animation: "animation" }, outputs: { expandedChange: "expandedChange", action: "action", expand: "expand", collapse: "collapse" }, host: { properties: { "class.k-expander": "this.hostClass", "class.k-expanded": "this.expandedClass", "attr.dir": "this.direction" } }, providers: [
|
|
7651
|
+
ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ExpansionPanelComponent, selector: "kendo-expansionpanel", inputs: { title: "title", subtitle: "subtitle", disabled: "disabled", expanded: "expanded", svgExpandIcon: "svgExpandIcon", svgCollapseIcon: "svgCollapseIcon", expandIcon: "expandIcon", collapseIcon: "collapseIcon", animation: "animation" }, outputs: { expandedChange: "expandedChange", action: "action", expand: "expand", collapse: "collapse" }, host: { properties: { "class.k-expander": "this.hostClass", "class.k-expanded": "this.expandedClass", "attr.dir": "this.direction" } }, providers: [
|
|
7273
7652
|
LocalizationService,
|
|
7274
7653
|
{
|
|
7275
7654
|
provide: L10N_PREFIX,
|
|
@@ -7299,7 +7678,12 @@ ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
7299
7678
|
[ngTemplateOutlet]="titleTemplate?.templateRef">
|
|
7300
7679
|
</ng-template>
|
|
7301
7680
|
<span class="k-expander-indicator">
|
|
7302
|
-
<
|
|
7681
|
+
<kendo-icon-wrapper
|
|
7682
|
+
[name]="expanderIndicatorClasses"
|
|
7683
|
+
[customFontClass]="customExpanderIndicatorClasses"
|
|
7684
|
+
[svgIcon]="svgExpanderIndicatorClasses"
|
|
7685
|
+
>
|
|
7686
|
+
</kendo-icon-wrapper>
|
|
7303
7687
|
</span>
|
|
7304
7688
|
</div>
|
|
7305
7689
|
<div #content class="k-expander-content-wrapper">
|
|
@@ -7307,7 +7691,7 @@ ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
7307
7691
|
<ng-content></ng-content>
|
|
7308
7692
|
</div>
|
|
7309
7693
|
</div>
|
|
7310
|
-
`, isInline: true,
|
|
7694
|
+
`, 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.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
7311
7695
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelComponent, decorators: [{
|
|
7312
7696
|
type: Component,
|
|
7313
7697
|
args: [{
|
|
@@ -7344,7 +7728,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7344
7728
|
[ngTemplateOutlet]="titleTemplate?.templateRef">
|
|
7345
7729
|
</ng-template>
|
|
7346
7730
|
<span class="k-expander-indicator">
|
|
7347
|
-
<
|
|
7731
|
+
<kendo-icon-wrapper
|
|
7732
|
+
[name]="expanderIndicatorClasses"
|
|
7733
|
+
[customFontClass]="customExpanderIndicatorClasses"
|
|
7734
|
+
[svgIcon]="svgExpanderIndicatorClasses"
|
|
7735
|
+
>
|
|
7736
|
+
</kendo-icon-wrapper>
|
|
7348
7737
|
</span>
|
|
7349
7738
|
</div>
|
|
7350
7739
|
<div #content class="k-expander-content-wrapper">
|
|
@@ -7362,6 +7751,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7362
7751
|
type: Input
|
|
7363
7752
|
}], expanded: [{
|
|
7364
7753
|
type: Input
|
|
7754
|
+
}], svgExpandIcon: [{
|
|
7755
|
+
type: Input
|
|
7756
|
+
}], svgCollapseIcon: [{
|
|
7757
|
+
type: Input
|
|
7365
7758
|
}], expandIcon: [{
|
|
7366
7759
|
type: Input
|
|
7367
7760
|
}], collapseIcon: [{
|
|
@@ -8891,14 +9284,14 @@ const declarations$a = [
|
|
|
8891
9284
|
class AvatarModule {
|
|
8892
9285
|
}
|
|
8893
9286
|
AvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8894
|
-
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, declarations: [AvatarComponent], imports: [CommonModule], exports: [AvatarComponent] });
|
|
8895
|
-
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, imports: [[CommonModule]] });
|
|
9287
|
+
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, declarations: [AvatarComponent], imports: [CommonModule, IconsModule], exports: [AvatarComponent] });
|
|
9288
|
+
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, imports: [[CommonModule, IconsModule]] });
|
|
8896
9289
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, decorators: [{
|
|
8897
9290
|
type: NgModule,
|
|
8898
9291
|
args: [{
|
|
8899
9292
|
declarations: [declarations$a],
|
|
8900
9293
|
exports: [exportedModules$a],
|
|
8901
|
-
imports: [CommonModule]
|
|
9294
|
+
imports: [CommonModule, IconsModule]
|
|
8902
9295
|
}]
|
|
8903
9296
|
}] });
|
|
8904
9297
|
|
|
@@ -8979,19 +9372,19 @@ DrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
8979
9372
|
DrawerContentComponent, DrawerTemplateDirective,
|
|
8980
9373
|
DrawerHeaderTemplateDirective,
|
|
8981
9374
|
DrawerFooterTemplateDirective,
|
|
8982
|
-
DrawerItemTemplateDirective], imports: [CommonModule], exports: [DrawerComponent,
|
|
9375
|
+
DrawerItemTemplateDirective], imports: [CommonModule, IconsModule], exports: [DrawerComponent,
|
|
8983
9376
|
DrawerContainerComponent,
|
|
8984
9377
|
DrawerContentComponent, DrawerTemplateDirective,
|
|
8985
9378
|
DrawerHeaderTemplateDirective,
|
|
8986
9379
|
DrawerFooterTemplateDirective,
|
|
8987
9380
|
DrawerItemTemplateDirective] });
|
|
8988
|
-
DrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerModule, imports: [[CommonModule]] });
|
|
9381
|
+
DrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerModule, imports: [[CommonModule, IconsModule]] });
|
|
8989
9382
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerModule, decorators: [{
|
|
8990
9383
|
type: NgModule,
|
|
8991
9384
|
args: [{
|
|
8992
9385
|
declarations: [declarations$8],
|
|
8993
9386
|
exports: [exportedModules$8],
|
|
8994
|
-
imports: [CommonModule]
|
|
9387
|
+
imports: [CommonModule, IconsModule]
|
|
8995
9388
|
}]
|
|
8996
9389
|
}] });
|
|
8997
9390
|
|
|
@@ -9010,15 +9403,15 @@ class ExpansionPanelModule {
|
|
|
9010
9403
|
}
|
|
9011
9404
|
ExpansionPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9012
9405
|
ExpansionPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelModule, declarations: [ExpansionPanelComponent,
|
|
9013
|
-
ExpansionPanelTitleDirective], imports: [CommonModule, EventsModule], exports: [ExpansionPanelComponent,
|
|
9406
|
+
ExpansionPanelTitleDirective], imports: [CommonModule, EventsModule, IconsModule], exports: [ExpansionPanelComponent,
|
|
9014
9407
|
ExpansionPanelTitleDirective] });
|
|
9015
|
-
ExpansionPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelModule, imports: [[CommonModule, EventsModule]] });
|
|
9408
|
+
ExpansionPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelModule, imports: [[CommonModule, EventsModule, IconsModule]] });
|
|
9016
9409
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelModule, decorators: [{
|
|
9017
9410
|
type: NgModule,
|
|
9018
9411
|
args: [{
|
|
9019
9412
|
declarations: [declarations$7],
|
|
9020
9413
|
exports: [exportedModules$7],
|
|
9021
|
-
imports: [CommonModule, EventsModule]
|
|
9414
|
+
imports: [CommonModule, EventsModule, IconsModule]
|
|
9022
9415
|
}]
|
|
9023
9416
|
}] });
|
|
9024
9417
|
|
|
@@ -9050,18 +9443,18 @@ PanelBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9050
9443
|
PanelBarItemComponent,
|
|
9051
9444
|
PanelBarContentDirective,
|
|
9052
9445
|
PanelBarItemTemplateDirective,
|
|
9053
|
-
PanelBarItemTitleDirective], imports: [CommonModule], exports: [PanelBarComponent,
|
|
9446
|
+
PanelBarItemTitleDirective], imports: [CommonModule, IconsModule], exports: [PanelBarComponent,
|
|
9054
9447
|
PanelBarItemComponent,
|
|
9055
9448
|
PanelBarContentDirective,
|
|
9056
9449
|
PanelBarItemTemplateDirective,
|
|
9057
9450
|
PanelBarItemTitleDirective] });
|
|
9058
|
-
PanelBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelBarModule, imports: [[CommonModule]] });
|
|
9451
|
+
PanelBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelBarModule, imports: [[CommonModule, IconsModule]] });
|
|
9059
9452
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelBarModule, decorators: [{
|
|
9060
9453
|
type: NgModule,
|
|
9061
9454
|
args: [{
|
|
9062
9455
|
declarations: [declarations$6],
|
|
9063
9456
|
exports: [exportedModules$6],
|
|
9064
|
-
imports: [CommonModule]
|
|
9457
|
+
imports: [CommonModule, IconsModule]
|
|
9065
9458
|
}]
|
|
9066
9459
|
}] });
|
|
9067
9460
|
|
|
@@ -9086,11 +9479,13 @@ class SplitterModule {
|
|
|
9086
9479
|
SplitterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9087
9480
|
SplitterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterModule, declarations: [SplitterBarComponent, SplitterComponent,
|
|
9088
9481
|
SplitterPaneComponent], imports: [CommonModule,
|
|
9089
|
-
DraggableModule
|
|
9482
|
+
DraggableModule,
|
|
9483
|
+
IconsModule], exports: [SplitterComponent,
|
|
9090
9484
|
SplitterPaneComponent] });
|
|
9091
9485
|
SplitterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterModule, imports: [[
|
|
9092
9486
|
CommonModule,
|
|
9093
|
-
DraggableModule
|
|
9487
|
+
DraggableModule,
|
|
9488
|
+
IconsModule
|
|
9094
9489
|
]] });
|
|
9095
9490
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterModule, decorators: [{
|
|
9096
9491
|
type: NgModule,
|
|
@@ -9099,7 +9494,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9099
9494
|
exports: [exportedModules$5],
|
|
9100
9495
|
imports: [
|
|
9101
9496
|
CommonModule,
|
|
9102
|
-
DraggableModule
|
|
9497
|
+
DraggableModule,
|
|
9498
|
+
IconsModule
|
|
9103
9499
|
]
|
|
9104
9500
|
}]
|
|
9105
9501
|
}] });
|
|
@@ -9132,17 +9528,17 @@ StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9132
9528
|
LocalizedStepperMessagesDirective, StepperComponent,
|
|
9133
9529
|
StepperCustomMessagesComponent, StepperStepTemplateDirective,
|
|
9134
9530
|
StepperLabelTemplateDirective,
|
|
9135
|
-
StepperIndicatorTemplateDirective], imports: [CommonModule, ProgressBarModule], exports: [StepperComponent,
|
|
9531
|
+
StepperIndicatorTemplateDirective], imports: [CommonModule, ProgressBarModule, IconsModule], exports: [StepperComponent,
|
|
9136
9532
|
StepperCustomMessagesComponent, StepperStepTemplateDirective,
|
|
9137
9533
|
StepperLabelTemplateDirective,
|
|
9138
9534
|
StepperIndicatorTemplateDirective] });
|
|
9139
|
-
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperModule, imports: [[CommonModule, ProgressBarModule]] });
|
|
9535
|
+
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperModule, imports: [[CommonModule, ProgressBarModule, IconsModule]] });
|
|
9140
9536
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperModule, decorators: [{
|
|
9141
9537
|
type: NgModule,
|
|
9142
9538
|
args: [{
|
|
9143
9539
|
declarations: [declarations$4],
|
|
9144
9540
|
exports: [exportedModules$4],
|
|
9145
|
-
imports: [CommonModule, ProgressBarModule]
|
|
9541
|
+
imports: [CommonModule, ProgressBarModule, IconsModule]
|
|
9146
9542
|
}]
|
|
9147
9543
|
}] });
|
|
9148
9544
|
|
|
@@ -9178,20 +9574,20 @@ TabStripModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9178
9574
|
TabTitleDirective,
|
|
9179
9575
|
TabComponent,
|
|
9180
9576
|
TabStripCustomMessagesComponent,
|
|
9181
|
-
LocalizedTabStripMessagesDirective, TabStripScrollableButtonComponent], imports: [CommonModule, ResizeSensorModule], exports: [TabStripComponent,
|
|
9577
|
+
LocalizedTabStripMessagesDirective, TabStripScrollableButtonComponent], imports: [CommonModule, ResizeSensorModule, IconsModule, ButtonModule], exports: [TabStripComponent,
|
|
9182
9578
|
TabStripTabComponent,
|
|
9183
9579
|
TabContentDirective,
|
|
9184
9580
|
TabTitleDirective,
|
|
9185
9581
|
TabComponent,
|
|
9186
9582
|
TabStripCustomMessagesComponent,
|
|
9187
9583
|
LocalizedTabStripMessagesDirective] });
|
|
9188
|
-
TabStripModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripModule, imports: [[CommonModule, ResizeSensorModule]] });
|
|
9584
|
+
TabStripModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripModule, imports: [[CommonModule, ResizeSensorModule, IconsModule, ButtonModule]] });
|
|
9189
9585
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripModule, decorators: [{
|
|
9190
9586
|
type: NgModule,
|
|
9191
9587
|
args: [{
|
|
9192
9588
|
declarations: [declarations$3],
|
|
9193
9589
|
exports: [exportedModules$3],
|
|
9194
|
-
imports: [CommonModule, ResizeSensorModule]
|
|
9590
|
+
imports: [CommonModule, ResizeSensorModule, IconsModule, ButtonModule]
|
|
9195
9591
|
}]
|
|
9196
9592
|
}] });
|
|
9197
9593
|
|