@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
|
|
|
@@ -296,6 +301,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
296
301
|
type: Injectable
|
|
297
302
|
}], ctorParameters: function () { return []; } });
|
|
298
303
|
|
|
304
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
299
305
|
/**
|
|
300
306
|
* @hidden
|
|
301
307
|
*/
|
|
@@ -344,6 +350,14 @@ class PanelBarItemComponent {
|
|
|
344
350
|
this.role = "treeitem";
|
|
345
351
|
this.titleAttribute = null; // eslint-disable-line
|
|
346
352
|
this.kItemClass = true;
|
|
353
|
+
/**
|
|
354
|
+
* @hidden
|
|
355
|
+
*/
|
|
356
|
+
this.arrowUpSVGIcon = arrowUpIcon;
|
|
357
|
+
/**
|
|
358
|
+
* @hidden
|
|
359
|
+
*/
|
|
360
|
+
this.arrowDownSVGIcon = arrowDownIcon;
|
|
347
361
|
this.focused = false;
|
|
348
362
|
this.wrapperFocused = false;
|
|
349
363
|
this.subscriptions = new Subscription(() => { });
|
|
@@ -353,6 +367,19 @@ class PanelBarItemComponent {
|
|
|
353
367
|
this.wrapperFocused = parent ? parent.focused : false;
|
|
354
368
|
this.level = this.parent ? this.parent.level + 1 : 0;
|
|
355
369
|
}
|
|
370
|
+
/**
|
|
371
|
+
* Defines an SVGIcon to be rendered.
|
|
372
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
373
|
+
*/
|
|
374
|
+
set svgIcon(icon) {
|
|
375
|
+
if (isDevMode() && icon && this.icon && this.iconClass) {
|
|
376
|
+
throw new Error('Setting both icon/svgIcon and iconClass options at the same time is not supported.');
|
|
377
|
+
}
|
|
378
|
+
this._svgIcon = icon;
|
|
379
|
+
}
|
|
380
|
+
get svgIcon() {
|
|
381
|
+
return this._svgIcon;
|
|
382
|
+
}
|
|
356
383
|
/**
|
|
357
384
|
* When set to `true`, expands the PanelBar item ([see example]({% slug items_panelbar %}#toc-expanded-state)).
|
|
358
385
|
*/
|
|
@@ -444,10 +471,30 @@ class PanelBarItemComponent {
|
|
|
444
471
|
* @hidden
|
|
445
472
|
*/
|
|
446
473
|
get iconClasses() {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
474
|
+
if (this.icon) {
|
|
475
|
+
return `${this.icon}`;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* @hidden
|
|
480
|
+
*/
|
|
481
|
+
get customIconClasses() {
|
|
482
|
+
if (this.iconClass) {
|
|
483
|
+
return `${this.iconClass}`;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* @hidden
|
|
488
|
+
*/
|
|
489
|
+
get dirInnerCssClasses() {
|
|
490
|
+
const dirClass = this.expanded ? 'k-panelbar-collapse' : 'k-panelbar-expand';
|
|
491
|
+
return `k-panelbar-toggle ${dirClass}`;
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* @hidden
|
|
495
|
+
*/
|
|
496
|
+
get arrowSVGIcon() {
|
|
497
|
+
return this.expanded ? this.arrowUpSVGIcon : this.arrowDownSVGIcon;
|
|
451
498
|
}
|
|
452
499
|
/**
|
|
453
500
|
* @hidden
|
|
@@ -460,6 +507,7 @@ class PanelBarItemComponent {
|
|
|
460
507
|
focused: this.focused,
|
|
461
508
|
icon: this.icon,
|
|
462
509
|
iconClass: this.iconClass,
|
|
510
|
+
svgIcon: this.svgIcon,
|
|
463
511
|
id: this.id,
|
|
464
512
|
imageUrl: this.imageUrl,
|
|
465
513
|
selected: this.selected,
|
|
@@ -522,7 +570,7 @@ class PanelBarItemComponent {
|
|
|
522
570
|
}
|
|
523
571
|
}
|
|
524
572
|
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 });
|
|
525
|
-
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: `
|
|
573
|
+
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: `
|
|
526
574
|
<span
|
|
527
575
|
#header
|
|
528
576
|
[class.k-link]="true"
|
|
@@ -530,11 +578,14 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
530
578
|
[class.k-focus]="focused && wrapperFocused"
|
|
531
579
|
[class.k-disabled]="disabled"
|
|
532
580
|
(click)="onItemClick($event)">
|
|
533
|
-
<
|
|
534
|
-
*ngIf="icon || iconClass"
|
|
535
|
-
|
|
536
|
-
[
|
|
537
|
-
|
|
581
|
+
<kendo-icon-wrapper
|
|
582
|
+
*ngIf="icon || iconClass || svgIcon"
|
|
583
|
+
[name]="iconClasses"
|
|
584
|
+
[customFontClass]="customIconClasses"
|
|
585
|
+
[svgIcon]="svgIcon"
|
|
586
|
+
innerCssClass="k-panelbar-item-icon"
|
|
587
|
+
>
|
|
588
|
+
</kendo-icon-wrapper>
|
|
538
589
|
<img
|
|
539
590
|
*ngIf="imageUrl"
|
|
540
591
|
class="k-image k-panelbar-item-icon"
|
|
@@ -549,6 +600,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
549
600
|
id: id,
|
|
550
601
|
icon: icon,
|
|
551
602
|
iconClass: iconClass,
|
|
603
|
+
svgIcon: svgIcon,
|
|
552
604
|
imageUrl: imageUrl,
|
|
553
605
|
selected: selected,
|
|
554
606
|
expanded: expanded,
|
|
@@ -557,10 +609,13 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
557
609
|
content: content
|
|
558
610
|
}
|
|
559
611
|
}"></ng-template>
|
|
560
|
-
<
|
|
561
|
-
|
|
562
|
-
[
|
|
563
|
-
|
|
612
|
+
<kendo-icon-wrapper
|
|
613
|
+
*ngIf="hasChildItems || hasContent"
|
|
614
|
+
[name]="expanded ? 'arrow-chevron-up' : 'chevron-down'"
|
|
615
|
+
[svgIcon]="arrowSVGIcon"
|
|
616
|
+
[innerCssClass]="dirInnerCssClasses"
|
|
617
|
+
>
|
|
618
|
+
</kendo-icon-wrapper>
|
|
564
619
|
</span>
|
|
565
620
|
<div
|
|
566
621
|
#contentWrapper
|
|
@@ -606,6 +661,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
606
661
|
[id]="item.id"
|
|
607
662
|
[icon]="item.icon"
|
|
608
663
|
[iconClass]="item.iconClass"
|
|
664
|
+
[svgIcon]="item.svgIcon"
|
|
609
665
|
[imageUrl]="item.imageUrl"
|
|
610
666
|
[selected]="!!item.selected"
|
|
611
667
|
[expanded]="!!item.expanded"
|
|
@@ -636,7 +692,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
636
692
|
</ng-template>
|
|
637
693
|
<ng-template [ngIf]="!template">{{content}}</ng-template>
|
|
638
694
|
</div>
|
|
639
|
-
</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.
|
|
695
|
+
</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: [
|
|
640
696
|
trigger('toggle', [
|
|
641
697
|
state('inactive', style({ display: 'none' })),
|
|
642
698
|
transition('* => active', [
|
|
@@ -675,11 +731,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
675
731
|
[class.k-focus]="focused && wrapperFocused"
|
|
676
732
|
[class.k-disabled]="disabled"
|
|
677
733
|
(click)="onItemClick($event)">
|
|
678
|
-
<
|
|
679
|
-
*ngIf="icon || iconClass"
|
|
680
|
-
|
|
681
|
-
[
|
|
682
|
-
|
|
734
|
+
<kendo-icon-wrapper
|
|
735
|
+
*ngIf="icon || iconClass || svgIcon"
|
|
736
|
+
[name]="iconClasses"
|
|
737
|
+
[customFontClass]="customIconClasses"
|
|
738
|
+
[svgIcon]="svgIcon"
|
|
739
|
+
innerCssClass="k-panelbar-item-icon"
|
|
740
|
+
>
|
|
741
|
+
</kendo-icon-wrapper>
|
|
683
742
|
<img
|
|
684
743
|
*ngIf="imageUrl"
|
|
685
744
|
class="k-image k-panelbar-item-icon"
|
|
@@ -694,6 +753,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
694
753
|
id: id,
|
|
695
754
|
icon: icon,
|
|
696
755
|
iconClass: iconClass,
|
|
756
|
+
svgIcon: svgIcon,
|
|
697
757
|
imageUrl: imageUrl,
|
|
698
758
|
selected: selected,
|
|
699
759
|
expanded: expanded,
|
|
@@ -702,10 +762,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
702
762
|
content: content
|
|
703
763
|
}
|
|
704
764
|
}"></ng-template>
|
|
705
|
-
<
|
|
706
|
-
|
|
707
|
-
[
|
|
708
|
-
|
|
765
|
+
<kendo-icon-wrapper
|
|
766
|
+
*ngIf="hasChildItems || hasContent"
|
|
767
|
+
[name]="expanded ? 'arrow-chevron-up' : 'chevron-down'"
|
|
768
|
+
[svgIcon]="arrowSVGIcon"
|
|
769
|
+
[innerCssClass]="dirInnerCssClasses"
|
|
770
|
+
>
|
|
771
|
+
</kendo-icon-wrapper>
|
|
709
772
|
</span>
|
|
710
773
|
<div
|
|
711
774
|
#contentWrapper
|
|
@@ -751,6 +814,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
751
814
|
[id]="item.id"
|
|
752
815
|
[icon]="item.icon"
|
|
753
816
|
[iconClass]="item.iconClass"
|
|
817
|
+
[svgIcon]="item.svgIcon"
|
|
754
818
|
[imageUrl]="item.imageUrl"
|
|
755
819
|
[selected]="!!item.selected"
|
|
756
820
|
[expanded]="!!item.expanded"
|
|
@@ -799,6 +863,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
799
863
|
type: Input
|
|
800
864
|
}], iconClass: [{
|
|
801
865
|
type: Input
|
|
866
|
+
}], svgIcon: [{
|
|
867
|
+
type: Input
|
|
802
868
|
}], imageUrl: [{
|
|
803
869
|
type: Input
|
|
804
870
|
}], disabled: [{
|
|
@@ -1419,6 +1485,7 @@ PanelBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1419
1485
|
[id]="item.id"
|
|
1420
1486
|
[icon]="item.icon"
|
|
1421
1487
|
[iconClass]="item.iconClass"
|
|
1488
|
+
[svgIcon]="item.svgIcon"
|
|
1422
1489
|
[imageUrl]="item.imageUrl"
|
|
1423
1490
|
[selected]="!!item.selected"
|
|
1424
1491
|
[expanded]="!!item.expanded"
|
|
@@ -1430,7 +1497,7 @@ PanelBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1430
1497
|
</kendo-panelbar-item>
|
|
1431
1498
|
</ng-container>
|
|
1432
1499
|
</ng-template>
|
|
1433
|
-
`, 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"] }] });
|
|
1500
|
+
`, 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"] }] });
|
|
1434
1501
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelBarComponent, decorators: [{
|
|
1435
1502
|
type: Component,
|
|
1436
1503
|
args: [{
|
|
@@ -1453,6 +1520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1453
1520
|
[id]="item.id"
|
|
1454
1521
|
[icon]="item.icon"
|
|
1455
1522
|
[iconClass]="item.iconClass"
|
|
1523
|
+
[svgIcon]="item.svgIcon"
|
|
1456
1524
|
[imageUrl]="item.imageUrl"
|
|
1457
1525
|
[selected]="!!item.selected"
|
|
1458
1526
|
[expanded]="!!item.expanded"
|
|
@@ -1940,6 +2008,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1940
2008
|
type: Injectable
|
|
1941
2009
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
1942
2010
|
|
|
2011
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1943
2012
|
const stopPropagation = ({ originalEvent: event }) => {
|
|
1944
2013
|
event.stopPropagation();
|
|
1945
2014
|
event.preventDefault();
|
|
@@ -1957,11 +2026,11 @@ const createMoveStream = (draggable) => mouseDown => draggable.kendoDrag
|
|
|
1957
2026
|
* @hidden
|
|
1958
2027
|
*/
|
|
1959
2028
|
class SplitterBarComponent {
|
|
1960
|
-
constructor(draggable,
|
|
2029
|
+
constructor(draggable, localization, splitterService, element, renderer) {
|
|
1961
2030
|
this.draggable = draggable;
|
|
1962
|
-
this.element = element;
|
|
1963
|
-
this.splitterService = splitterService;
|
|
1964
2031
|
this.localization = localization;
|
|
2032
|
+
this.splitterService = splitterService;
|
|
2033
|
+
this.element = element;
|
|
1965
2034
|
this.renderer = renderer;
|
|
1966
2035
|
this.orientation = 'horizontal';
|
|
1967
2036
|
this.index = 0;
|
|
@@ -2051,26 +2120,60 @@ class SplitterBarComponent {
|
|
|
2051
2120
|
const isCollapsed = pane.collapsed;
|
|
2052
2121
|
const isHorizontal = this.orientation === 'horizontal';
|
|
2053
2122
|
return classFromObject({
|
|
2054
|
-
'
|
|
2055
|
-
'
|
|
2056
|
-
'
|
|
2057
|
-
'
|
|
2058
|
-
'k-i-caret-alt-down': isCollapsible && !isHorizontal && isCollapsed
|
|
2123
|
+
'caret-alt-left': isCollapsible && isHorizontal && !isCollapsed,
|
|
2124
|
+
'caret-alt-right': isCollapsible && isHorizontal && isCollapsed,
|
|
2125
|
+
'caret-alt-up': isCollapsible && !isHorizontal && !isCollapsed,
|
|
2126
|
+
'caret-alt-down': isCollapsible && !isHorizontal && isCollapsed
|
|
2059
2127
|
});
|
|
2060
2128
|
}
|
|
2129
|
+
previousSVGArrowClass() {
|
|
2130
|
+
const pane = this.splitterService.pane(this.index);
|
|
2131
|
+
const isCollapsible = pane.collapsible;
|
|
2132
|
+
const isCollapsed = pane.collapsed;
|
|
2133
|
+
const isHorizontal = this.orientation === 'horizontal';
|
|
2134
|
+
if (isCollapsible && isHorizontal && !isCollapsed) {
|
|
2135
|
+
return caretAltLeftIcon;
|
|
2136
|
+
}
|
|
2137
|
+
if (isCollapsible && isHorizontal && isCollapsed) {
|
|
2138
|
+
return caretAltRightIcon;
|
|
2139
|
+
}
|
|
2140
|
+
if (isCollapsible && !isHorizontal && !isCollapsed) {
|
|
2141
|
+
return caretAltUpIcon;
|
|
2142
|
+
}
|
|
2143
|
+
if (isCollapsible && !isHorizontal && isCollapsed) {
|
|
2144
|
+
return caretAltDownIcon;
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2061
2147
|
nextArrowClass() {
|
|
2062
2148
|
const pane = this.splitterService.pane(this.index + 1);
|
|
2063
2149
|
const isCollapsible = pane.collapsible;
|
|
2064
2150
|
const isCollapsed = pane.collapsed;
|
|
2065
2151
|
const isHorizontal = this.orientation === 'horizontal';
|
|
2066
2152
|
return classFromObject({
|
|
2067
|
-
'
|
|
2068
|
-
'
|
|
2069
|
-
'
|
|
2070
|
-
'
|
|
2071
|
-
'k-i-caret-alt-up': isCollapsible && !isHorizontal && isCollapsed
|
|
2153
|
+
'caret-alt-right': isCollapsible && isHorizontal && !isCollapsed,
|
|
2154
|
+
'caret-alt-left': isCollapsible && isHorizontal && isCollapsed,
|
|
2155
|
+
'caret-alt-down': isCollapsible && !isHorizontal && !isCollapsed,
|
|
2156
|
+
'caret-alt-up': isCollapsible && !isHorizontal && isCollapsed
|
|
2072
2157
|
});
|
|
2073
2158
|
}
|
|
2159
|
+
nextSVGArrowClass() {
|
|
2160
|
+
const pane = this.splitterService.pane(this.index + 1);
|
|
2161
|
+
const isCollapsible = pane.collapsible;
|
|
2162
|
+
const isCollapsed = pane.collapsed;
|
|
2163
|
+
const isHorizontal = this.orientation === 'horizontal';
|
|
2164
|
+
if (isCollapsible && isHorizontal && !isCollapsed) {
|
|
2165
|
+
return caretAltRightIcon;
|
|
2166
|
+
}
|
|
2167
|
+
if (isCollapsible && isHorizontal && isCollapsed) {
|
|
2168
|
+
return caretAltLeftIcon;
|
|
2169
|
+
}
|
|
2170
|
+
if (isCollapsible && !isHorizontal && !isCollapsed) {
|
|
2171
|
+
return caretAltDownIcon;
|
|
2172
|
+
}
|
|
2173
|
+
if (isCollapsible && !isHorizontal && isCollapsed) {
|
|
2174
|
+
return caretAltUpIcon;
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2074
2177
|
togglePane() {
|
|
2075
2178
|
if (this.expandLast) {
|
|
2076
2179
|
this.toggleNext();
|
|
@@ -2104,34 +2207,34 @@ class SplitterBarComponent {
|
|
|
2104
2207
|
}
|
|
2105
2208
|
}
|
|
2106
2209
|
}
|
|
2107
|
-
SplitterBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterBarComponent, deps: [{ token: i1$1.DraggableDirective, host: true }, { token:
|
|
2210
|
+
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 });
|
|
2108
2211
|
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: `
|
|
2109
2212
|
<div *ngIf="shouldShowIcon('prev')" [class]="collapseClass('prev')" (click)="togglePrevious()">
|
|
2110
|
-
<
|
|
2213
|
+
<kendo-icon-wrapper [name]="previousArrowClass()" [svgIcon]="previousSVGArrowClass()"></kendo-icon-wrapper>
|
|
2111
2214
|
</div>
|
|
2112
2215
|
<div class="k-resize-handle"></div>
|
|
2113
2216
|
<div *ngIf="shouldShowIcon('next')" [class]="collapseClass('next')" (click)="toggleNext()">
|
|
2114
|
-
<
|
|
2217
|
+
<kendo-icon-wrapper [name]="nextArrowClass()" [svgIcon]="nextSVGArrowClass()"></kendo-icon-wrapper>
|
|
2115
2218
|
</div>
|
|
2116
|
-
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2219
|
+
`, 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"] }] });
|
|
2117
2220
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterBarComponent, decorators: [{
|
|
2118
2221
|
type: Component,
|
|
2119
2222
|
args: [{
|
|
2120
2223
|
selector: 'kendo-splitter-bar',
|
|
2121
2224
|
template: `
|
|
2122
2225
|
<div *ngIf="shouldShowIcon('prev')" [class]="collapseClass('prev')" (click)="togglePrevious()">
|
|
2123
|
-
<
|
|
2226
|
+
<kendo-icon-wrapper [name]="previousArrowClass()" [svgIcon]="previousSVGArrowClass()"></kendo-icon-wrapper>
|
|
2124
2227
|
</div>
|
|
2125
2228
|
<div class="k-resize-handle"></div>
|
|
2126
2229
|
<div *ngIf="shouldShowIcon('next')" [class]="collapseClass('next')" (click)="toggleNext()">
|
|
2127
|
-
<
|
|
2230
|
+
<kendo-icon-wrapper [name]="nextArrowClass()" [svgIcon]="nextSVGArrowClass()"></kendo-icon-wrapper>
|
|
2128
2231
|
</div>
|
|
2129
2232
|
`
|
|
2130
2233
|
}]
|
|
2131
2234
|
}], ctorParameters: function () {
|
|
2132
2235
|
return [{ type: i1$1.DraggableDirective, decorators: [{
|
|
2133
2236
|
type: Host
|
|
2134
|
-
}] }, { type:
|
|
2237
|
+
}] }, { type: i1.LocalizationService }, { type: SplitterService }, { type: i0.ElementRef }, { type: i0.Renderer2 }];
|
|
2135
2238
|
}, propDecorators: { orientation: [{
|
|
2136
2239
|
type: Input
|
|
2137
2240
|
}, {
|
|
@@ -2509,7 +2612,7 @@ class TabStripTabComponent {
|
|
|
2509
2612
|
}
|
|
2510
2613
|
}
|
|
2511
2614
|
TabStripTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2512
|
-
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 });
|
|
2615
|
+
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 });
|
|
2513
2616
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripTabComponent, decorators: [{
|
|
2514
2617
|
type: Component,
|
|
2515
2618
|
args: [{
|
|
@@ -2531,6 +2634,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2531
2634
|
type: Input
|
|
2532
2635
|
}], closeIcon: [{
|
|
2533
2636
|
type: Input
|
|
2637
|
+
}], closeIconClass: [{
|
|
2638
|
+
type: Input
|
|
2639
|
+
}], closeSVGIcon: [{
|
|
2640
|
+
type: Input
|
|
2534
2641
|
}], _tabContent: [{
|
|
2535
2642
|
type: ContentChildren,
|
|
2536
2643
|
args: [TabContentDirective]
|
|
@@ -2838,10 +2945,10 @@ const HIDDEN_CLASS = 'k-hidden';
|
|
|
2838
2945
|
* @hidden
|
|
2839
2946
|
*/
|
|
2840
2947
|
const DIRECTION_CLASSES = {
|
|
2841
|
-
left: '
|
|
2842
|
-
right: '
|
|
2843
|
-
up: '
|
|
2844
|
-
down: '
|
|
2948
|
+
left: 'caret-alt-left',
|
|
2949
|
+
right: 'caret-alt-right',
|
|
2950
|
+
up: 'caret-alt-up',
|
|
2951
|
+
down: 'caret-alt-down'
|
|
2845
2952
|
};
|
|
2846
2953
|
/**
|
|
2847
2954
|
* @hidden
|
|
@@ -3021,14 +3128,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3021
3128
|
/**
|
|
3022
3129
|
* @hidden
|
|
3023
3130
|
*/
|
|
3024
|
-
const normalizeSettings = ({ enabled = true, scrollButtons = 'auto', mouseScroll = true, buttonScrollSpeed = BUTTON_SCROLL_SPEED, mouseScrollSpeed = MOUSE_SCROLL_SPEED, prevButtonIcon, nextButtonIcon }) => ({
|
|
3131
|
+
const normalizeSettings = ({ enabled = true, scrollButtons = 'auto', mouseScroll = true, buttonScrollSpeed = BUTTON_SCROLL_SPEED, mouseScrollSpeed = MOUSE_SCROLL_SPEED, prevButtonIcon, nextButtonIcon, prevSVGButtonIcon, nextSVGButtonIcon }) => ({
|
|
3025
3132
|
enabled,
|
|
3026
3133
|
scrollButtons,
|
|
3027
3134
|
mouseScroll,
|
|
3028
3135
|
buttonScrollSpeed,
|
|
3029
3136
|
mouseScrollSpeed,
|
|
3030
3137
|
prevButtonIcon,
|
|
3031
|
-
nextButtonIcon
|
|
3138
|
+
nextButtonIcon,
|
|
3139
|
+
prevSVGButtonIcon,
|
|
3140
|
+
nextSVGButtonIcon
|
|
3032
3141
|
});
|
|
3033
3142
|
/**
|
|
3034
3143
|
* @hidden
|
|
@@ -3050,6 +3159,7 @@ class TabScrollEvent extends PreventableEvent$1 {
|
|
|
3050
3159
|
}
|
|
3051
3160
|
}
|
|
3052
3161
|
|
|
3162
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3053
3163
|
/**
|
|
3054
3164
|
* @hidden
|
|
3055
3165
|
*/
|
|
@@ -3058,7 +3168,6 @@ class TabStripScrollableButtonComponent {
|
|
|
3058
3168
|
this.host = host;
|
|
3059
3169
|
this.renderer = renderer;
|
|
3060
3170
|
this.ngZone = ngZone;
|
|
3061
|
-
this.btnClasses = true;
|
|
3062
3171
|
this.prev = false;
|
|
3063
3172
|
this.tabScroll = new EventEmitter();
|
|
3064
3173
|
this.onClick = new EventEmitter();
|
|
@@ -3083,7 +3192,13 @@ class TabStripScrollableButtonComponent {
|
|
|
3083
3192
|
return this.host.nativeElement.getBoundingClientRect();
|
|
3084
3193
|
}
|
|
3085
3194
|
get iconClass() {
|
|
3086
|
-
return this.scrollButtonIconClass
|
|
3195
|
+
return this.scrollButtonIconClass;
|
|
3196
|
+
}
|
|
3197
|
+
get customIconClass() {
|
|
3198
|
+
return this.customScrollButtonIconClass;
|
|
3199
|
+
}
|
|
3200
|
+
get svgIcon() {
|
|
3201
|
+
return this.scrollButtonSVGIcon;
|
|
3087
3202
|
}
|
|
3088
3203
|
ngAfterViewInit() {
|
|
3089
3204
|
this.ngZone.runOutsideAngular(() => {
|
|
@@ -3100,11 +3215,36 @@ class TabStripScrollableButtonComponent {
|
|
|
3100
3215
|
const defaultPrevIcon = isTablistHorizontal(this.tabPosition) ? DIRECTION_CLASSES.left : DIRECTION_CLASSES.up;
|
|
3101
3216
|
const defaultNextIcon = isTablistHorizontal(this.tabPosition) ? DIRECTION_CLASSES.right : DIRECTION_CLASSES.down;
|
|
3102
3217
|
if (typeof this.scrollable === 'object') {
|
|
3103
|
-
const prevIcon = typeof this.scrollable.prevButtonIcon === 'undefined' ? defaultPrevIcon :
|
|
3104
|
-
const nextIcon = typeof this.scrollable.nextButtonIcon === 'undefined' ? defaultNextIcon :
|
|
3105
|
-
|
|
3218
|
+
const prevIcon = typeof this.scrollable.prevButtonIcon === 'undefined' ? defaultPrevIcon : '';
|
|
3219
|
+
const nextIcon = typeof this.scrollable.nextButtonIcon === 'undefined' ? defaultNextIcon : '';
|
|
3220
|
+
if (prevIcon && this.prev) {
|
|
3221
|
+
return prevIcon;
|
|
3222
|
+
}
|
|
3223
|
+
else if (nextIcon && !this.prev) {
|
|
3224
|
+
return nextIcon;
|
|
3225
|
+
}
|
|
3226
|
+
}
|
|
3227
|
+
}
|
|
3228
|
+
get customScrollButtonIconClass() {
|
|
3229
|
+
if (typeof this.scrollable === 'object') {
|
|
3230
|
+
const prevIcon = this.scrollable.prevButtonIcon;
|
|
3231
|
+
const nextIcon = this.scrollable.nextButtonIcon;
|
|
3232
|
+
if (prevIcon && this.prev) {
|
|
3233
|
+
return `k-icon ${prevIcon}`;
|
|
3234
|
+
}
|
|
3235
|
+
if (nextIcon && !this.prev) {
|
|
3236
|
+
return `k-icon ${nextIcon}`;
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
get scrollButtonSVGIcon() {
|
|
3241
|
+
if (typeof this.scrollable === 'object') {
|
|
3242
|
+
const prevIcon = this.scrollable.prevSVGButtonIcon !== undefined ? this.scrollable.prevSVGButtonIcon : undefined;
|
|
3243
|
+
const nextIcon = this.scrollable.nextSVGButtonIcon !== undefined ? this.scrollable.nextSVGButtonIcon : undefined;
|
|
3244
|
+
if (prevIcon || nextIcon) {
|
|
3245
|
+
return this.prev ? prevIcon : nextIcon;
|
|
3246
|
+
}
|
|
3106
3247
|
}
|
|
3107
|
-
return { prevScrollButton: defaultPrevIcon, nextScrollButton: defaultNextIcon };
|
|
3108
3248
|
}
|
|
3109
3249
|
emitScrollEvent(event) {
|
|
3110
3250
|
const scrollEvent = new TabScrollEvent({
|
|
@@ -3115,37 +3255,31 @@ class TabStripScrollableButtonComponent {
|
|
|
3115
3255
|
}
|
|
3116
3256
|
}
|
|
3117
3257
|
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 });
|
|
3118
|
-
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-
|
|
3119
|
-
<
|
|
3120
|
-
|
|
3258
|
+
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: `
|
|
3259
|
+
<kendo-icon-wrapper
|
|
3260
|
+
[name]="iconClass"
|
|
3261
|
+
[customFontClass]="customIconClass"
|
|
3262
|
+
[svgIcon]="svgIcon"
|
|
3263
|
+
innerCssClass="k-button-icon"
|
|
3264
|
+
>
|
|
3265
|
+
</kendo-icon-wrapper>
|
|
3266
|
+
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }] });
|
|
3121
3267
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripScrollableButtonComponent, decorators: [{
|
|
3122
3268
|
type: Component,
|
|
3123
3269
|
args: [{
|
|
3124
3270
|
template: `
|
|
3125
|
-
<
|
|
3271
|
+
<kendo-icon-wrapper
|
|
3272
|
+
[name]="iconClass"
|
|
3273
|
+
[customFontClass]="customIconClass"
|
|
3274
|
+
[svgIcon]="svgIcon"
|
|
3275
|
+
innerCssClass="k-button-icon"
|
|
3276
|
+
>
|
|
3277
|
+
</kendo-icon-wrapper>
|
|
3126
3278
|
`,
|
|
3127
3279
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
3128
3280
|
selector: '[kendoTabStripScrollableButton]'
|
|
3129
3281
|
}]
|
|
3130
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: {
|
|
3131
|
-
type: HostBinding,
|
|
3132
|
-
args: ['class.k-button']
|
|
3133
|
-
}, {
|
|
3134
|
-
type: HostBinding,
|
|
3135
|
-
args: ['class.k-button-md']
|
|
3136
|
-
}, {
|
|
3137
|
-
type: HostBinding,
|
|
3138
|
-
args: ['class.k-icon-button']
|
|
3139
|
-
}, {
|
|
3140
|
-
type: HostBinding,
|
|
3141
|
-
args: ['class.k-rounded-md']
|
|
3142
|
-
}, {
|
|
3143
|
-
type: HostBinding,
|
|
3144
|
-
args: ['class.k-button-flat']
|
|
3145
|
-
}, {
|
|
3146
|
-
type: HostBinding,
|
|
3147
|
-
args: ['class.k-button-flat-base']
|
|
3148
|
-
}], prevClass: [{
|
|
3282
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { prevClass: [{
|
|
3149
3283
|
type: HostBinding,
|
|
3150
3284
|
args: ['class.k-tabstrip-prev']
|
|
3151
3285
|
}], nextClass: [{
|
|
@@ -3191,10 +3325,20 @@ class TabComponent {
|
|
|
3191
3325
|
return this.tabStripClosable;
|
|
3192
3326
|
}
|
|
3193
3327
|
get closeButtonClasses() {
|
|
3194
|
-
if (
|
|
3195
|
-
|
|
3328
|
+
if (!this.customTabstripCloseIcon && this.tabStripCloseIcon && !this.tab.closeIconClass) {
|
|
3329
|
+
if (this.tab.closeIcon) {
|
|
3330
|
+
return this.tab.closeIcon;
|
|
3331
|
+
}
|
|
3332
|
+
return this.tabStripCloseIcon;
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
get customCloseButtonClasses() {
|
|
3336
|
+
if (this.customTabstripCloseIcon || this.tab.closeIconClass) {
|
|
3337
|
+
if (this.tab.closeIconClass) {
|
|
3338
|
+
return this.tab.closeIconClass;
|
|
3339
|
+
}
|
|
3340
|
+
return this.customTabstripCloseIcon;
|
|
3196
3341
|
}
|
|
3197
|
-
return this.tabStripCloseIcon;
|
|
3198
3342
|
}
|
|
3199
3343
|
get closeButtonTitle() {
|
|
3200
3344
|
return this.localization.get('closeTitle');
|
|
@@ -3205,21 +3349,27 @@ class TabComponent {
|
|
|
3205
3349
|
}
|
|
3206
3350
|
}
|
|
3207
3351
|
TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3208
|
-
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: `
|
|
3352
|
+
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: `
|
|
3209
3353
|
<span class="k-link" *ngIf="!tab.tabTitle">{{ tab.title }}</span>
|
|
3210
3354
|
<span class="k-link" *ngIf="tab.tabTitle">
|
|
3211
3355
|
<ng-template [ngTemplateOutlet]="tab.tabTitle?.templateRef">
|
|
3212
3356
|
</ng-template>
|
|
3213
3357
|
</span>
|
|
3214
|
-
|
|
3358
|
+
|
|
3359
|
+
<button
|
|
3360
|
+
kendoButton
|
|
3361
|
+
*ngIf="tabClosable"
|
|
3215
3362
|
role="button"
|
|
3363
|
+
fillMode="flat"
|
|
3364
|
+
[icon]="closeButtonClasses"
|
|
3365
|
+
[iconClass]="customCloseButtonClasses"
|
|
3366
|
+
[svgIcon]="closeSVGIcon"
|
|
3216
3367
|
[title]="closeButtonTitle"
|
|
3217
3368
|
[attr.aria-label]="closeButtonTitle"
|
|
3218
3369
|
(click)="closeTab(index)"
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
`, 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"] }] });
|
|
3370
|
+
class="k-remove-tab k-icon-button"
|
|
3371
|
+
></button>
|
|
3372
|
+
`, 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"] }] });
|
|
3223
3373
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabComponent, decorators: [{
|
|
3224
3374
|
type: Component,
|
|
3225
3375
|
args: [{
|
|
@@ -3231,14 +3381,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3231
3381
|
<ng-template [ngTemplateOutlet]="tab.tabTitle?.templateRef">
|
|
3232
3382
|
</ng-template>
|
|
3233
3383
|
</span>
|
|
3234
|
-
|
|
3384
|
+
|
|
3385
|
+
<button
|
|
3386
|
+
kendoButton
|
|
3387
|
+
*ngIf="tabClosable"
|
|
3235
3388
|
role="button"
|
|
3389
|
+
fillMode="flat"
|
|
3390
|
+
[icon]="closeButtonClasses"
|
|
3391
|
+
[iconClass]="customCloseButtonClasses"
|
|
3392
|
+
[svgIcon]="closeSVGIcon"
|
|
3236
3393
|
[title]="closeButtonTitle"
|
|
3237
3394
|
[attr.aria-label]="closeButtonTitle"
|
|
3238
3395
|
(click)="closeTab(index)"
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
</span>
|
|
3396
|
+
class="k-remove-tab k-icon-button"
|
|
3397
|
+
></button>
|
|
3242
3398
|
`
|
|
3243
3399
|
}]
|
|
3244
3400
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { tab: [{
|
|
@@ -3249,6 +3405,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3249
3405
|
type: Input
|
|
3250
3406
|
}], tabStripCloseIcon: [{
|
|
3251
3407
|
type: Input
|
|
3408
|
+
}], customTabstripCloseIcon: [{
|
|
3409
|
+
type: Input
|
|
3410
|
+
}], closeSVGIcon: [{
|
|
3411
|
+
type: Input
|
|
3252
3412
|
}], tabClose: [{
|
|
3253
3413
|
type: Output
|
|
3254
3414
|
}], hostClasses: [{
|
|
@@ -3365,10 +3525,9 @@ class TabStripComponent {
|
|
|
3365
3525
|
*/
|
|
3366
3526
|
this.closable = false;
|
|
3367
3527
|
/**
|
|
3368
|
-
*
|
|
3369
|
-
* Allows the usage of custom icons.
|
|
3528
|
+
* Defines the name for an existing font icon in the Kendo UI theme for the close icon.
|
|
3370
3529
|
*/
|
|
3371
|
-
this.closeIcon = '
|
|
3530
|
+
this.closeIcon = 'x';
|
|
3372
3531
|
/**
|
|
3373
3532
|
* Fires each time the user selects a tab ([see example]({% slug overview_tabstrip %}#toc-basic-usage)).
|
|
3374
3533
|
* The event data contains the index of the selected tab and its title.
|
|
@@ -3430,6 +3589,19 @@ class TabStripComponent {
|
|
|
3430
3589
|
get scrollable() {
|
|
3431
3590
|
return this._scrollableSettings;
|
|
3432
3591
|
}
|
|
3592
|
+
/**
|
|
3593
|
+
* Defines an SVGIcon to be rendered for the close icon.
|
|
3594
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
3595
|
+
*/
|
|
3596
|
+
set closeSVGIcon(icon) {
|
|
3597
|
+
if (isDevMode() && icon && this.closeIcon && this.closeIcon !== 'x') {
|
|
3598
|
+
throw new Error('Setting both closeIcon and svgIcon options at the same time is not supported.');
|
|
3599
|
+
}
|
|
3600
|
+
this._closeSVGIcon = icon;
|
|
3601
|
+
}
|
|
3602
|
+
get closeSVGIcon() {
|
|
3603
|
+
return this._closeSVGIcon;
|
|
3604
|
+
}
|
|
3433
3605
|
get tabsAtTop() {
|
|
3434
3606
|
return this.tabPosition === 'top';
|
|
3435
3607
|
}
|
|
@@ -3658,7 +3830,7 @@ class TabStripComponent {
|
|
|
3658
3830
|
}
|
|
3659
3831
|
}
|
|
3660
3832
|
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 });
|
|
3661
|
-
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: [
|
|
3833
|
+
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: [
|
|
3662
3834
|
TabStripService,
|
|
3663
3835
|
ScrollService,
|
|
3664
3836
|
LocalizationService,
|
|
@@ -3703,6 +3875,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
3703
3875
|
[prev]="true"
|
|
3704
3876
|
[title]="localization.get('previousTabButton')"
|
|
3705
3877
|
(tabScroll)="tabScroll.emit($event)"
|
|
3878
|
+
class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
|
|
3706
3879
|
(onClick)="onScrollButtonClick($event)">
|
|
3707
3880
|
</span>
|
|
3708
3881
|
<ul role="tablist" #tablist
|
|
@@ -3723,6 +3896,8 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
3723
3896
|
role="tab"
|
|
3724
3897
|
[tabStripClosable]="closable"
|
|
3725
3898
|
[tabStripCloseIcon]="closeIcon"
|
|
3899
|
+
[customTabstripCloseIcon]="closeIconClass"
|
|
3900
|
+
[closeSVGIcon]="closeSVGIcon"
|
|
3726
3901
|
(tabClose)="tabClose.emit($event)"
|
|
3727
3902
|
(click)="onTabClick($event, i)"
|
|
3728
3903
|
[id]="'k-tabstrip-tab-' + i"
|
|
@@ -3739,6 +3914,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
3739
3914
|
[prev]="false"
|
|
3740
3915
|
[title]="localization.get('nextTabButton')"
|
|
3741
3916
|
(tabScroll)="tabScroll.emit($event)"
|
|
3917
|
+
class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
|
|
3742
3918
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
3743
3919
|
</div>
|
|
3744
3920
|
</ng-template>
|
|
@@ -3762,7 +3938,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
3762
3938
|
</ng-template>
|
|
3763
3939
|
</ng-template>
|
|
3764
3940
|
<kendo-resize-sensor *ngIf="isScrollable" (resize)="onResize()"></kendo-resize-sensor>
|
|
3765
|
-
`, 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: [
|
|
3941
|
+
`, 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: [
|
|
3766
3942
|
trigger('state', [
|
|
3767
3943
|
state('active', style({ opacity: 1 })),
|
|
3768
3944
|
transition('* => active', [
|
|
@@ -3831,6 +4007,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3831
4007
|
[prev]="true"
|
|
3832
4008
|
[title]="localization.get('previousTabButton')"
|
|
3833
4009
|
(tabScroll)="tabScroll.emit($event)"
|
|
4010
|
+
class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
|
|
3834
4011
|
(onClick)="onScrollButtonClick($event)">
|
|
3835
4012
|
</span>
|
|
3836
4013
|
<ul role="tablist" #tablist
|
|
@@ -3851,6 +4028,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3851
4028
|
role="tab"
|
|
3852
4029
|
[tabStripClosable]="closable"
|
|
3853
4030
|
[tabStripCloseIcon]="closeIcon"
|
|
4031
|
+
[customTabstripCloseIcon]="closeIconClass"
|
|
4032
|
+
[closeSVGIcon]="closeSVGIcon"
|
|
3854
4033
|
(tabClose)="tabClose.emit($event)"
|
|
3855
4034
|
(click)="onTabClick($event, i)"
|
|
3856
4035
|
[id]="'k-tabstrip-tab-' + i"
|
|
@@ -3867,6 +4046,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3867
4046
|
[prev]="false"
|
|
3868
4047
|
[title]="localization.get('nextTabButton')"
|
|
3869
4048
|
(tabScroll)="tabScroll.emit($event)"
|
|
4049
|
+
class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
|
|
3870
4050
|
(onClick)="onScrollButtonClick($event)"></span>
|
|
3871
4051
|
</div>
|
|
3872
4052
|
</ng-template>
|
|
@@ -3908,6 +4088,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3908
4088
|
type: Input
|
|
3909
4089
|
}], closeIcon: [{
|
|
3910
4090
|
type: Input
|
|
4091
|
+
}], closeIconClass: [{
|
|
4092
|
+
type: Input
|
|
4093
|
+
}], closeSVGIcon: [{
|
|
4094
|
+
type: Input
|
|
3911
4095
|
}], tabSelect: [{
|
|
3912
4096
|
type: Output
|
|
3913
4097
|
}], tabClose: [{
|
|
@@ -4352,6 +4536,7 @@ class DrawerListSelectEvent extends PreventableEvent$1 {
|
|
|
4352
4536
|
}
|
|
4353
4537
|
}
|
|
4354
4538
|
|
|
4539
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
4355
4540
|
/**
|
|
4356
4541
|
* @hidden
|
|
4357
4542
|
*/
|
|
@@ -4360,6 +4545,8 @@ class DrawerItemComponent {
|
|
|
4360
4545
|
this.drawerService = drawerService;
|
|
4361
4546
|
this.element = element;
|
|
4362
4547
|
this.renderer = renderer;
|
|
4548
|
+
this.arrowUpIcon = chevronUpIcon;
|
|
4549
|
+
this.arrowDownIcon = chevronDownIcon;
|
|
4363
4550
|
}
|
|
4364
4551
|
get disabledClass() {
|
|
4365
4552
|
return this.item.disabled;
|
|
@@ -4378,14 +4565,20 @@ class DrawerItemComponent {
|
|
|
4378
4565
|
}
|
|
4379
4566
|
}
|
|
4380
4567
|
get iconClasses() {
|
|
4381
|
-
const classes = [];
|
|
4382
4568
|
if (this.item.icon) {
|
|
4383
|
-
|
|
4569
|
+
const stripIcon = this.item.icon.replace('k-i-', '');
|
|
4570
|
+
return `${stripIcon}`;
|
|
4384
4571
|
}
|
|
4385
|
-
|
|
4386
|
-
|
|
4572
|
+
}
|
|
4573
|
+
get innerCssClasses() {
|
|
4574
|
+
if (this.item.iconClass && this.item.icon) {
|
|
4575
|
+
return `${this.item.iconClass}`;
|
|
4576
|
+
}
|
|
4577
|
+
}
|
|
4578
|
+
get customIconClasses() {
|
|
4579
|
+
if (!this.item.icon && this.item.iconClass) {
|
|
4580
|
+
return this.item.iconClass;
|
|
4387
4581
|
}
|
|
4388
|
-
return classes;
|
|
4389
4582
|
}
|
|
4390
4583
|
get item() {
|
|
4391
4584
|
return this.viewItem.item;
|
|
@@ -4405,19 +4598,34 @@ DrawerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4405
4598
|
|
|
4406
4599
|
<ng-template #defaultTemplate>
|
|
4407
4600
|
<ng-container *ngIf="expanded">
|
|
4408
|
-
<
|
|
4601
|
+
<kendo-icon-wrapper
|
|
4602
|
+
[name]="iconClasses"
|
|
4603
|
+
[customFontClass]="customIconClasses"
|
|
4604
|
+
[svgIcon]="item.svgIcon"
|
|
4605
|
+
[innerCssClass]="innerCssClasses"
|
|
4606
|
+
>
|
|
4607
|
+
</kendo-icon-wrapper>
|
|
4608
|
+
|
|
4409
4609
|
<span class="k-item-text">{{ item.text }}</span>
|
|
4410
|
-
<
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4610
|
+
<kendo-icon-wrapper
|
|
4611
|
+
*ngIf="viewItem.hasChildren"
|
|
4612
|
+
[name]="viewItem.isExpanded ? 'arrow-chevron-up' : 'arrow-chevron-down'"
|
|
4613
|
+
innerCssClass="k-drawer-toggle"
|
|
4614
|
+
[svgIcon]="viewItem.isExpanded ? arrowUpIcon : arrowDownIcon"
|
|
4615
|
+
>
|
|
4616
|
+
</kendo-icon-wrapper>
|
|
4415
4617
|
</ng-container>
|
|
4416
4618
|
<ng-container *ngIf="mini && !expanded">
|
|
4417
|
-
<
|
|
4619
|
+
<kendo-icon-wrapper
|
|
4620
|
+
[name]="iconClasses"
|
|
4621
|
+
[customFontClass]="customIconClasses"
|
|
4622
|
+
[svgIcon]="item.svgIcon"
|
|
4623
|
+
[innerCssClass]="innerCssClasses"
|
|
4624
|
+
>
|
|
4625
|
+
</kendo-icon-wrapper>
|
|
4418
4626
|
</ng-container>
|
|
4419
4627
|
</ng-template>
|
|
4420
|
-
`, isInline: true,
|
|
4628
|
+
`, 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"] }] });
|
|
4421
4629
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerItemComponent, decorators: [{
|
|
4422
4630
|
type: Component,
|
|
4423
4631
|
args: [{
|
|
@@ -4436,16 +4644,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4436
4644
|
|
|
4437
4645
|
<ng-template #defaultTemplate>
|
|
4438
4646
|
<ng-container *ngIf="expanded">
|
|
4439
|
-
<
|
|
4647
|
+
<kendo-icon-wrapper
|
|
4648
|
+
[name]="iconClasses"
|
|
4649
|
+
[customFontClass]="customIconClasses"
|
|
4650
|
+
[svgIcon]="item.svgIcon"
|
|
4651
|
+
[innerCssClass]="innerCssClasses"
|
|
4652
|
+
>
|
|
4653
|
+
</kendo-icon-wrapper>
|
|
4654
|
+
|
|
4440
4655
|
<span class="k-item-text">{{ item.text }}</span>
|
|
4441
|
-
<
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4656
|
+
<kendo-icon-wrapper
|
|
4657
|
+
*ngIf="viewItem.hasChildren"
|
|
4658
|
+
[name]="viewItem.isExpanded ? 'arrow-chevron-up' : 'arrow-chevron-down'"
|
|
4659
|
+
innerCssClass="k-drawer-toggle"
|
|
4660
|
+
[svgIcon]="viewItem.isExpanded ? arrowUpIcon : arrowDownIcon"
|
|
4661
|
+
>
|
|
4662
|
+
</kendo-icon-wrapper>
|
|
4446
4663
|
</ng-container>
|
|
4447
4664
|
<ng-container *ngIf="mini && !expanded">
|
|
4448
|
-
<
|
|
4665
|
+
<kendo-icon-wrapper
|
|
4666
|
+
[name]="iconClasses"
|
|
4667
|
+
[customFontClass]="customIconClasses"
|
|
4668
|
+
[svgIcon]="item.svgIcon"
|
|
4669
|
+
[innerCssClass]="innerCssClasses"
|
|
4670
|
+
>
|
|
4671
|
+
</kendo-icon-wrapper>
|
|
4449
4672
|
</ng-container>
|
|
4450
4673
|
</ng-template>
|
|
4451
4674
|
`
|
|
@@ -4620,6 +4843,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4620
4843
|
args: [DrawerItemComponent, { read: ElementRef }]
|
|
4621
4844
|
}] } });
|
|
4622
4845
|
|
|
4846
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
4623
4847
|
const DEFAULT_ANIMATION = { type: 'slide', duration: 200 };
|
|
4624
4848
|
/**
|
|
4625
4849
|
* Represents the [Kendo UI Drawer component for Angular]({% slug overview_drawer %}).
|
|
@@ -5388,6 +5612,8 @@ class StepperStepComponent {
|
|
|
5388
5612
|
this.ngZone = ngZone;
|
|
5389
5613
|
this.isStepValid = undefined;
|
|
5390
5614
|
this.shouldCheckValidity = undefined;
|
|
5615
|
+
this.checkCircleIcon = checkCircleIcon;
|
|
5616
|
+
this.exclamationCircleIcon = exclamationCircleIcon;
|
|
5391
5617
|
validatePackage(packageMetadata);
|
|
5392
5618
|
this.subs = this.service.focusedStepChange.subscribe(() => {
|
|
5393
5619
|
this.onFocusedStepChange();
|
|
@@ -5435,16 +5661,48 @@ class StepperStepComponent {
|
|
|
5435
5661
|
const active = this.service.focusedStep || this.service.currentStep;
|
|
5436
5662
|
return this.index === active ? 0 : -1;
|
|
5437
5663
|
}
|
|
5438
|
-
get
|
|
5439
|
-
if (this.step.icon) {
|
|
5440
|
-
return
|
|
5664
|
+
get indicatorIconClass() {
|
|
5665
|
+
if (this.step.icon && !this.step.iconClass) {
|
|
5666
|
+
return `${this.step.icon}`;
|
|
5441
5667
|
}
|
|
5668
|
+
if (!this.step.icon && !this.step.iconClass && this.shouldCheckValidity) {
|
|
5669
|
+
return this.validationIconClasses;
|
|
5670
|
+
}
|
|
5671
|
+
}
|
|
5672
|
+
get customIndicatorIconClass() {
|
|
5442
5673
|
if (this.step.iconClass) {
|
|
5443
5674
|
return `${this.step.iconClass}`;
|
|
5444
5675
|
}
|
|
5445
|
-
|
|
5446
|
-
|
|
5676
|
+
const renderCustomValidationIcon = !this.step.icon && !this.step.iconClass && this.shouldCheckValidity;
|
|
5677
|
+
if (renderCustomValidationIcon) {
|
|
5678
|
+
return this.customValidationIconClasses;
|
|
5679
|
+
}
|
|
5680
|
+
}
|
|
5681
|
+
get SVGIndicatorIcon() {
|
|
5682
|
+
if (this.step.svgIcon) {
|
|
5683
|
+
return this.step.svgIcon;
|
|
5684
|
+
}
|
|
5685
|
+
if (!this.step.svgIcon && this.shouldCheckValidity) {
|
|
5686
|
+
return this.validationSVGIcon;
|
|
5687
|
+
}
|
|
5688
|
+
}
|
|
5689
|
+
get validationIconClasses() {
|
|
5690
|
+
if (this.isStepValid) {
|
|
5691
|
+
return !this.successIcon ? 'check-circle' : '';
|
|
5447
5692
|
}
|
|
5693
|
+
return !this.errorIcon ? 'exclamation-circle' : '';
|
|
5694
|
+
}
|
|
5695
|
+
get customValidationIconClasses() {
|
|
5696
|
+
if (this.isStepValid) {
|
|
5697
|
+
return this.successIcon ? this.successIcon : '';
|
|
5698
|
+
}
|
|
5699
|
+
return this.errorIcon ? this.errorIcon : '';
|
|
5700
|
+
}
|
|
5701
|
+
get validationSVGIcon() {
|
|
5702
|
+
if (this.isStepValid) {
|
|
5703
|
+
return this.successSVGIcon ? this.successSVGIcon : this.checkCircleIcon;
|
|
5704
|
+
}
|
|
5705
|
+
return this.errorSVGIcon ? this.errorSVGIcon : this.exclamationCircleIcon;
|
|
5448
5706
|
}
|
|
5449
5707
|
get showIndicatorIcon() {
|
|
5450
5708
|
if (this.shouldCheckValidity) {
|
|
@@ -5469,14 +5727,6 @@ class StepperStepComponent {
|
|
|
5469
5727
|
get showLabelText() {
|
|
5470
5728
|
return this.type === 'label' || this.type === 'full';
|
|
5471
5729
|
}
|
|
5472
|
-
get validationIconClasses() {
|
|
5473
|
-
if (this.isStepValid) {
|
|
5474
|
-
return this.successIcon ? `${this.successIcon}` : 'k-icon k-i-check-circle';
|
|
5475
|
-
}
|
|
5476
|
-
else {
|
|
5477
|
-
return this.errorIcon ? `${this.errorIcon}` : 'k-icon k-i-exclamation-circle';
|
|
5478
|
-
}
|
|
5479
|
-
}
|
|
5480
5730
|
get indicatorText() {
|
|
5481
5731
|
const text = this.step.text;
|
|
5482
5732
|
return text ? text : this.index + 1;
|
|
@@ -5525,7 +5775,7 @@ class StepperStepComponent {
|
|
|
5525
5775
|
}
|
|
5526
5776
|
}
|
|
5527
5777
|
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 });
|
|
5528
|
-
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: `
|
|
5778
|
+
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: `
|
|
5529
5779
|
<a href='#' class='k-step-link' #stepLink
|
|
5530
5780
|
[attr.tabindex]='tabIndexAttr'
|
|
5531
5781
|
[attr.title]='step.label'
|
|
@@ -5550,7 +5800,14 @@ StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
5550
5800
|
</ng-template>
|
|
5551
5801
|
|
|
5552
5802
|
<ng-container *ngIf='!indicatorTemplate'>
|
|
5553
|
-
<
|
|
5803
|
+
<kendo-icon-wrapper
|
|
5804
|
+
*ngIf='showIndicatorIcon'
|
|
5805
|
+
[name]='indicatorIconClass'
|
|
5806
|
+
[customFontClass]='customIndicatorIconClass'
|
|
5807
|
+
[svgIcon]='SVGIndicatorIcon'
|
|
5808
|
+
innerCssClass='k-step-indicator-icon'
|
|
5809
|
+
>
|
|
5810
|
+
</kendo-icon-wrapper>
|
|
5554
5811
|
<span class='k-step-indicator-text' *ngIf='!showIndicatorIcon'>{{ indicatorText }}</span>
|
|
5555
5812
|
</ng-container>
|
|
5556
5813
|
</span>
|
|
@@ -5563,13 +5820,20 @@ StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
5563
5820
|
|
|
5564
5821
|
<ng-container *ngIf='!labelTemplate'>
|
|
5565
5822
|
<span class='k-step-text' *ngIf='showLabelText'>{{ step.label }}</span>
|
|
5566
|
-
<
|
|
5823
|
+
<kendo-icon-wrapper
|
|
5824
|
+
*ngIf='showLabelIcon'
|
|
5825
|
+
aria-hidden='true'
|
|
5826
|
+
[name]='validationIconClasses'
|
|
5827
|
+
[customFontClass]='customValidationIconClasses'
|
|
5828
|
+
[svgIcon]='validationSVGIcon'
|
|
5829
|
+
>
|
|
5830
|
+
</kendo-icon-wrapper>
|
|
5567
5831
|
<span class='k-step-label-optional' *ngIf='step.optional'>({{optionalText}})</span>
|
|
5568
5832
|
</ng-container>
|
|
5569
5833
|
</span>
|
|
5570
5834
|
</ng-container>
|
|
5571
5835
|
</a>
|
|
5572
|
-
`, isInline: true,
|
|
5836
|
+
`, 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"] }] });
|
|
5573
5837
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperStepComponent, decorators: [{
|
|
5574
5838
|
type: Component,
|
|
5575
5839
|
args: [{
|
|
@@ -5600,7 +5864,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5600
5864
|
</ng-template>
|
|
5601
5865
|
|
|
5602
5866
|
<ng-container *ngIf='!indicatorTemplate'>
|
|
5603
|
-
<
|
|
5867
|
+
<kendo-icon-wrapper
|
|
5868
|
+
*ngIf='showIndicatorIcon'
|
|
5869
|
+
[name]='indicatorIconClass'
|
|
5870
|
+
[customFontClass]='customIndicatorIconClass'
|
|
5871
|
+
[svgIcon]='SVGIndicatorIcon'
|
|
5872
|
+
innerCssClass='k-step-indicator-icon'
|
|
5873
|
+
>
|
|
5874
|
+
</kendo-icon-wrapper>
|
|
5604
5875
|
<span class='k-step-indicator-text' *ngIf='!showIndicatorIcon'>{{ indicatorText }}</span>
|
|
5605
5876
|
</ng-container>
|
|
5606
5877
|
</span>
|
|
@@ -5613,7 +5884,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5613
5884
|
|
|
5614
5885
|
<ng-container *ngIf='!labelTemplate'>
|
|
5615
5886
|
<span class='k-step-text' *ngIf='showLabelText'>{{ step.label }}</span>
|
|
5616
|
-
<
|
|
5887
|
+
<kendo-icon-wrapper
|
|
5888
|
+
*ngIf='showLabelIcon'
|
|
5889
|
+
aria-hidden='true'
|
|
5890
|
+
[name]='validationIconClasses'
|
|
5891
|
+
[customFontClass]='customValidationIconClasses'
|
|
5892
|
+
[svgIcon]='validationSVGIcon'
|
|
5893
|
+
>
|
|
5894
|
+
</kendo-icon-wrapper>
|
|
5617
5895
|
<span class='k-step-label-optional' *ngIf='step.optional'>({{optionalText}})</span>
|
|
5618
5896
|
</ng-container>
|
|
5619
5897
|
</span>
|
|
@@ -5631,8 +5909,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5631
5909
|
type: Input
|
|
5632
5910
|
}], successIcon: [{
|
|
5633
5911
|
type: Input
|
|
5912
|
+
}], successSVGIcon: [{
|
|
5913
|
+
type: Input
|
|
5634
5914
|
}], errorIcon: [{
|
|
5635
5915
|
type: Input
|
|
5916
|
+
}], errorSVGIcon: [{
|
|
5917
|
+
type: Input
|
|
5918
|
+
}], svgIcon: [{
|
|
5919
|
+
type: Input
|
|
5636
5920
|
}], indicatorTemplate: [{
|
|
5637
5921
|
type: Input
|
|
5638
5922
|
}], labelTemplate: [{
|
|
@@ -5729,7 +6013,7 @@ class StepperListComponent {
|
|
|
5729
6013
|
}
|
|
5730
6014
|
}
|
|
5731
6015
|
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 });
|
|
5732
|
-
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"] }] });
|
|
6016
|
+
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"] }] });
|
|
5733
6017
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperListComponent, decorators: [{
|
|
5734
6018
|
type: Component,
|
|
5735
6019
|
args: [{
|
|
@@ -5744,7 +6028,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5744
6028
|
[index]='idx'
|
|
5745
6029
|
[current]='currentStep'
|
|
5746
6030
|
[successIcon]='successIcon'
|
|
6031
|
+
[successSVGIcon]='successSVGIcon'
|
|
5747
6032
|
[errorIcon]='errorIcon'
|
|
6033
|
+
[errorSVGIcon]='errorSVGIcon'
|
|
6034
|
+
[svgIcon]='svgIcon'
|
|
5748
6035
|
[indicatorTemplate]='indicatorTemplate'
|
|
5749
6036
|
[labelTemplate]='labelTemplate'
|
|
5750
6037
|
[stepTemplate]='stepTemplate'
|
|
@@ -5777,8 +6064,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5777
6064
|
type: Input
|
|
5778
6065
|
}], successIcon: [{
|
|
5779
6066
|
type: Input
|
|
6067
|
+
}], successSVGIcon: [{
|
|
6068
|
+
type: Input
|
|
5780
6069
|
}], errorIcon: [{
|
|
5781
6070
|
type: Input
|
|
6071
|
+
}], errorSVGIcon: [{
|
|
6072
|
+
type: Input
|
|
6073
|
+
}], svgIcon: [{
|
|
6074
|
+
type: Input
|
|
5782
6075
|
}], indicatorTemplate: [{
|
|
5783
6076
|
type: Input
|
|
5784
6077
|
}], labelTemplate: [{
|
|
@@ -5941,6 +6234,16 @@ class StepperComponent {
|
|
|
5941
6234
|
get steps() {
|
|
5942
6235
|
return this._steps;
|
|
5943
6236
|
}
|
|
6237
|
+
/**
|
|
6238
|
+
* Defines an SVG icon to be rendered inside the step indicator instead of the default numeric or text content.
|
|
6239
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
6240
|
+
*/
|
|
6241
|
+
set svgIcon(icon) {
|
|
6242
|
+
this._svgIcon = icon;
|
|
6243
|
+
}
|
|
6244
|
+
get svgIcon() {
|
|
6245
|
+
return this._svgIcon;
|
|
6246
|
+
}
|
|
5944
6247
|
ngOnInit() {
|
|
5945
6248
|
this.applyHostStyling();
|
|
5946
6249
|
}
|
|
@@ -6044,7 +6347,7 @@ class StepperComponent {
|
|
|
6044
6347
|
}
|
|
6045
6348
|
}
|
|
6046
6349
|
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 });
|
|
6047
|
-
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: [
|
|
6350
|
+
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: [
|
|
6048
6351
|
LocalizationService,
|
|
6049
6352
|
StepperService,
|
|
6050
6353
|
{
|
|
@@ -6064,7 +6367,10 @@ StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
6064
6367
|
[steps]='steps'
|
|
6065
6368
|
[currentStep]='currentStep'
|
|
6066
6369
|
[successIcon]='successIcon'
|
|
6370
|
+
[successSVGIcon]='successSVGIcon'
|
|
6067
6371
|
[errorIcon]='errorIcon'
|
|
6372
|
+
[errorSVGIcon]='errorSVGIcon'
|
|
6373
|
+
[svgIcon]="svgIcon"
|
|
6068
6374
|
[indicatorTemplate]='indicatorTemplate?.templateRef'
|
|
6069
6375
|
[labelTemplate]='labelTemplate?.templateRef'
|
|
6070
6376
|
[stepTemplate]='stepTemplate?.templateRef'
|
|
@@ -6086,7 +6392,7 @@ StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
6086
6392
|
[value]='currentStep'
|
|
6087
6393
|
[ngStyle]='progressBarStyling'>
|
|
6088
6394
|
</kendo-progressbar>
|
|
6089
|
-
`, 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"] }] });
|
|
6395
|
+
`, 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"] }] });
|
|
6090
6396
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperComponent, decorators: [{
|
|
6091
6397
|
type: Component,
|
|
6092
6398
|
args: [{
|
|
@@ -6113,7 +6419,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6113
6419
|
[steps]='steps'
|
|
6114
6420
|
[currentStep]='currentStep'
|
|
6115
6421
|
[successIcon]='successIcon'
|
|
6422
|
+
[successSVGIcon]='successSVGIcon'
|
|
6116
6423
|
[errorIcon]='errorIcon'
|
|
6424
|
+
[errorSVGIcon]='errorSVGIcon'
|
|
6425
|
+
[svgIcon]="svgIcon"
|
|
6117
6426
|
[indicatorTemplate]='indicatorTemplate?.templateRef'
|
|
6118
6427
|
[labelTemplate]='labelTemplate?.templateRef'
|
|
6119
6428
|
[stepTemplate]='stepTemplate?.templateRef'
|
|
@@ -6162,6 +6471,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6162
6471
|
type: Input
|
|
6163
6472
|
}], steps: [{
|
|
6164
6473
|
type: Input
|
|
6474
|
+
}], svgIcon: [{
|
|
6475
|
+
type: Input
|
|
6476
|
+
}], successSVGIcon: [{
|
|
6477
|
+
type: Input
|
|
6478
|
+
}], errorSVGIcon: [{
|
|
6479
|
+
type: Input
|
|
6165
6480
|
}], successIcon: [{
|
|
6166
6481
|
type: Input
|
|
6167
6482
|
}], errorIcon: [{
|
|
@@ -6379,6 +6694,19 @@ class AvatarComponent {
|
|
|
6379
6694
|
get avatarHeight() {
|
|
6380
6695
|
return this.height;
|
|
6381
6696
|
}
|
|
6697
|
+
/**
|
|
6698
|
+
* Defines an SVGIcon to be rendered.
|
|
6699
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
6700
|
+
*/
|
|
6701
|
+
set svgIcon(icon) {
|
|
6702
|
+
if (isDevMode() && icon && this.icon && this.iconClass) {
|
|
6703
|
+
throw new Error('Setting both icon/svgIcon and iconClass options at the same time is not supported.');
|
|
6704
|
+
}
|
|
6705
|
+
this._svgIcon = icon;
|
|
6706
|
+
}
|
|
6707
|
+
get svgIcon() {
|
|
6708
|
+
return this._svgIcon;
|
|
6709
|
+
}
|
|
6382
6710
|
ngOnInit() {
|
|
6383
6711
|
this.verifyProperties();
|
|
6384
6712
|
}
|
|
@@ -6389,17 +6717,6 @@ class AvatarComponent {
|
|
|
6389
6717
|
});
|
|
6390
6718
|
this.handleFillModeAndThemeColorClasses(this.fillMode, this.themeColor);
|
|
6391
6719
|
}
|
|
6392
|
-
/**
|
|
6393
|
-
* @hidden
|
|
6394
|
-
*/
|
|
6395
|
-
iconClasses() {
|
|
6396
|
-
if (this.icon) {
|
|
6397
|
-
return `k-icon k-i-${this.icon}`;
|
|
6398
|
-
}
|
|
6399
|
-
if (this.iconClass) {
|
|
6400
|
-
return `${this.iconClass}`;
|
|
6401
|
-
}
|
|
6402
|
-
}
|
|
6403
6720
|
/**
|
|
6404
6721
|
* @hidden
|
|
6405
6722
|
*/
|
|
@@ -6449,7 +6766,7 @@ class AvatarComponent {
|
|
|
6449
6766
|
}
|
|
6450
6767
|
}
|
|
6451
6768
|
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 });
|
|
6452
|
-
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: `
|
|
6769
|
+
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: `
|
|
6453
6770
|
<ng-content *ngIf="customAvatar"></ng-content>
|
|
6454
6771
|
|
|
6455
6772
|
<ng-container *ngIf="imageSrc">
|
|
@@ -6464,10 +6781,16 @@ AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
6464
6781
|
|
|
6465
6782
|
<ng-container *ngIf="icon || iconClass">
|
|
6466
6783
|
<span class="k-avatar-icon">
|
|
6467
|
-
<
|
|
6784
|
+
<kendo-icon-wrapper
|
|
6785
|
+
[ngStyle]="cssStyle"
|
|
6786
|
+
[name]="icon"
|
|
6787
|
+
[customFontClass]="iconClass"
|
|
6788
|
+
[svgIcon]="svgIcon"
|
|
6789
|
+
>
|
|
6790
|
+
</kendo-icon-wrapper>
|
|
6468
6791
|
</span>
|
|
6469
6792
|
</ng-container>
|
|
6470
|
-
`, isInline: true,
|
|
6793
|
+
`, 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"] }] });
|
|
6471
6794
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
6472
6795
|
type: Component,
|
|
6473
6796
|
args: [{
|
|
@@ -6487,7 +6810,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6487
6810
|
|
|
6488
6811
|
<ng-container *ngIf="icon || iconClass">
|
|
6489
6812
|
<span class="k-avatar-icon">
|
|
6490
|
-
<
|
|
6813
|
+
<kendo-icon-wrapper
|
|
6814
|
+
[ngStyle]="cssStyle"
|
|
6815
|
+
[name]="icon"
|
|
6816
|
+
[customFontClass]="iconClass"
|
|
6817
|
+
[svgIcon]="svgIcon"
|
|
6818
|
+
>
|
|
6819
|
+
</kendo-icon-wrapper>
|
|
6491
6820
|
</span>
|
|
6492
6821
|
</ng-container>
|
|
6493
6822
|
`
|
|
@@ -6535,6 +6864,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6535
6864
|
type: Input
|
|
6536
6865
|
}], imageSrc: [{
|
|
6537
6866
|
type: Input
|
|
6867
|
+
}], svgIcon: [{
|
|
6868
|
+
type: Input
|
|
6538
6869
|
}] } });
|
|
6539
6870
|
|
|
6540
6871
|
/**
|
|
@@ -7128,6 +7459,32 @@ class ExpansionPanelComponent {
|
|
|
7128
7459
|
get expanded() {
|
|
7129
7460
|
return this._expanded;
|
|
7130
7461
|
}
|
|
7462
|
+
/**
|
|
7463
|
+
* Defines an SVGIcon for the expanded state of the component.
|
|
7464
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
7465
|
+
*/
|
|
7466
|
+
set svgExpandIcon(icon) {
|
|
7467
|
+
if (isDevMode() && icon && this.expandIcon) {
|
|
7468
|
+
throw new Error('Setting both expandIcon/svgExpandIcon options at the same time is not supported.');
|
|
7469
|
+
}
|
|
7470
|
+
this._svgExpandIcon = icon;
|
|
7471
|
+
}
|
|
7472
|
+
get svgExpandIcon() {
|
|
7473
|
+
return this._svgExpandIcon;
|
|
7474
|
+
}
|
|
7475
|
+
/**
|
|
7476
|
+
* Defines an SVGIcon for the collapsed state of the component.
|
|
7477
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
7478
|
+
*/
|
|
7479
|
+
set svgCollapseIcon(icon) {
|
|
7480
|
+
if (isDevMode() && icon && this.collapseIcon) {
|
|
7481
|
+
throw new Error('Setting both collapseIcon/svgCollapseIcon options at the same time is not supported.');
|
|
7482
|
+
}
|
|
7483
|
+
this._svgCollapseIcon = icon;
|
|
7484
|
+
}
|
|
7485
|
+
get svgCollapseIcon() {
|
|
7486
|
+
return this._svgCollapseIcon;
|
|
7487
|
+
}
|
|
7131
7488
|
get expandedClass() {
|
|
7132
7489
|
return this.expanded && !this.disabled;
|
|
7133
7490
|
}
|
|
@@ -7211,12 +7568,34 @@ class ExpansionPanelComponent {
|
|
|
7211
7568
|
/**
|
|
7212
7569
|
* @hidden
|
|
7213
7570
|
*/
|
|
7214
|
-
get
|
|
7571
|
+
get expanderIndicatorClasses() {
|
|
7572
|
+
if (this.expanded) {
|
|
7573
|
+
return !this.collapseIcon ? `caret-alt-up` : '';
|
|
7574
|
+
}
|
|
7575
|
+
else {
|
|
7576
|
+
return !this.expandIcon ? `caret-alt-down` : '';
|
|
7577
|
+
}
|
|
7578
|
+
}
|
|
7579
|
+
/**
|
|
7580
|
+
* @hidden
|
|
7581
|
+
*/
|
|
7582
|
+
get customExpanderIndicatorClasses() {
|
|
7583
|
+
if (this.expanded) {
|
|
7584
|
+
return this.collapseIcon ? this.collapseIcon : '';
|
|
7585
|
+
}
|
|
7586
|
+
else {
|
|
7587
|
+
return this.expandIcon ? this.expandIcon : '';
|
|
7588
|
+
}
|
|
7589
|
+
}
|
|
7590
|
+
/**
|
|
7591
|
+
* @hidden
|
|
7592
|
+
*/
|
|
7593
|
+
get svgExpanderIndicatorClasses() {
|
|
7215
7594
|
if (this.expanded) {
|
|
7216
|
-
return this.
|
|
7595
|
+
return this.svgCollapseIcon ? this.svgCollapseIcon : undefined;
|
|
7217
7596
|
}
|
|
7218
7597
|
else {
|
|
7219
|
-
return this.
|
|
7598
|
+
return this.svgExpandIcon ? this.svgExpandIcon : undefined;
|
|
7220
7599
|
}
|
|
7221
7600
|
}
|
|
7222
7601
|
/**
|
|
@@ -7296,7 +7675,7 @@ class ExpansionPanelComponent {
|
|
|
7296
7675
|
}
|
|
7297
7676
|
}
|
|
7298
7677
|
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 });
|
|
7299
|
-
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: [
|
|
7678
|
+
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: [
|
|
7300
7679
|
LocalizationService,
|
|
7301
7680
|
{
|
|
7302
7681
|
provide: L10N_PREFIX,
|
|
@@ -7326,7 +7705,12 @@ ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
7326
7705
|
[ngTemplateOutlet]="titleTemplate?.templateRef">
|
|
7327
7706
|
</ng-template>
|
|
7328
7707
|
<span class="k-expander-indicator">
|
|
7329
|
-
<
|
|
7708
|
+
<kendo-icon-wrapper
|
|
7709
|
+
[name]="expanderIndicatorClasses"
|
|
7710
|
+
[customFontClass]="customExpanderIndicatorClasses"
|
|
7711
|
+
[svgIcon]="svgExpanderIndicatorClasses"
|
|
7712
|
+
>
|
|
7713
|
+
</kendo-icon-wrapper>
|
|
7330
7714
|
</span>
|
|
7331
7715
|
</div>
|
|
7332
7716
|
<div #content class="k-expander-content-wrapper">
|
|
@@ -7334,7 +7718,7 @@ ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
7334
7718
|
<ng-content></ng-content>
|
|
7335
7719
|
</div>
|
|
7336
7720
|
</div>
|
|
7337
|
-
`, isInline: true,
|
|
7721
|
+
`, 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"] }] });
|
|
7338
7722
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelComponent, decorators: [{
|
|
7339
7723
|
type: Component,
|
|
7340
7724
|
args: [{
|
|
@@ -7371,7 +7755,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7371
7755
|
[ngTemplateOutlet]="titleTemplate?.templateRef">
|
|
7372
7756
|
</ng-template>
|
|
7373
7757
|
<span class="k-expander-indicator">
|
|
7374
|
-
<
|
|
7758
|
+
<kendo-icon-wrapper
|
|
7759
|
+
[name]="expanderIndicatorClasses"
|
|
7760
|
+
[customFontClass]="customExpanderIndicatorClasses"
|
|
7761
|
+
[svgIcon]="svgExpanderIndicatorClasses"
|
|
7762
|
+
>
|
|
7763
|
+
</kendo-icon-wrapper>
|
|
7375
7764
|
</span>
|
|
7376
7765
|
</div>
|
|
7377
7766
|
<div #content class="k-expander-content-wrapper">
|
|
@@ -7389,6 +7778,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7389
7778
|
type: Input
|
|
7390
7779
|
}], expanded: [{
|
|
7391
7780
|
type: Input
|
|
7781
|
+
}], svgExpandIcon: [{
|
|
7782
|
+
type: Input
|
|
7783
|
+
}], svgCollapseIcon: [{
|
|
7784
|
+
type: Input
|
|
7392
7785
|
}], expandIcon: [{
|
|
7393
7786
|
type: Input
|
|
7394
7787
|
}], collapseIcon: [{
|
|
@@ -8920,14 +9313,14 @@ const declarations$a = [
|
|
|
8920
9313
|
class AvatarModule {
|
|
8921
9314
|
}
|
|
8922
9315
|
AvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8923
|
-
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, declarations: [AvatarComponent], imports: [CommonModule], exports: [AvatarComponent] });
|
|
8924
|
-
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, imports: [[CommonModule]] });
|
|
9316
|
+
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, declarations: [AvatarComponent], imports: [CommonModule, IconsModule], exports: [AvatarComponent] });
|
|
9317
|
+
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, imports: [[CommonModule, IconsModule]] });
|
|
8925
9318
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AvatarModule, decorators: [{
|
|
8926
9319
|
type: NgModule,
|
|
8927
9320
|
args: [{
|
|
8928
9321
|
declarations: [declarations$a],
|
|
8929
9322
|
exports: [exportedModules$a],
|
|
8930
|
-
imports: [CommonModule]
|
|
9323
|
+
imports: [CommonModule, IconsModule]
|
|
8931
9324
|
}]
|
|
8932
9325
|
}] });
|
|
8933
9326
|
|
|
@@ -9008,19 +9401,19 @@ DrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
9008
9401
|
DrawerContentComponent, DrawerTemplateDirective,
|
|
9009
9402
|
DrawerHeaderTemplateDirective,
|
|
9010
9403
|
DrawerFooterTemplateDirective,
|
|
9011
|
-
DrawerItemTemplateDirective], imports: [CommonModule], exports: [DrawerComponent,
|
|
9404
|
+
DrawerItemTemplateDirective], imports: [CommonModule, IconsModule], exports: [DrawerComponent,
|
|
9012
9405
|
DrawerContainerComponent,
|
|
9013
9406
|
DrawerContentComponent, DrawerTemplateDirective,
|
|
9014
9407
|
DrawerHeaderTemplateDirective,
|
|
9015
9408
|
DrawerFooterTemplateDirective,
|
|
9016
9409
|
DrawerItemTemplateDirective] });
|
|
9017
|
-
DrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerModule, imports: [[CommonModule]] });
|
|
9410
|
+
DrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerModule, imports: [[CommonModule, IconsModule]] });
|
|
9018
9411
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DrawerModule, decorators: [{
|
|
9019
9412
|
type: NgModule,
|
|
9020
9413
|
args: [{
|
|
9021
9414
|
declarations: [declarations$8],
|
|
9022
9415
|
exports: [exportedModules$8],
|
|
9023
|
-
imports: [CommonModule]
|
|
9416
|
+
imports: [CommonModule, IconsModule]
|
|
9024
9417
|
}]
|
|
9025
9418
|
}] });
|
|
9026
9419
|
|
|
@@ -9039,15 +9432,15 @@ class ExpansionPanelModule {
|
|
|
9039
9432
|
}
|
|
9040
9433
|
ExpansionPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9041
9434
|
ExpansionPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelModule, declarations: [ExpansionPanelComponent,
|
|
9042
|
-
ExpansionPanelTitleDirective], imports: [CommonModule, EventsModule], exports: [ExpansionPanelComponent,
|
|
9435
|
+
ExpansionPanelTitleDirective], imports: [CommonModule, EventsModule, IconsModule], exports: [ExpansionPanelComponent,
|
|
9043
9436
|
ExpansionPanelTitleDirective] });
|
|
9044
|
-
ExpansionPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelModule, imports: [[CommonModule, EventsModule]] });
|
|
9437
|
+
ExpansionPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelModule, imports: [[CommonModule, EventsModule, IconsModule]] });
|
|
9045
9438
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpansionPanelModule, decorators: [{
|
|
9046
9439
|
type: NgModule,
|
|
9047
9440
|
args: [{
|
|
9048
9441
|
declarations: [declarations$7],
|
|
9049
9442
|
exports: [exportedModules$7],
|
|
9050
|
-
imports: [CommonModule, EventsModule]
|
|
9443
|
+
imports: [CommonModule, EventsModule, IconsModule]
|
|
9051
9444
|
}]
|
|
9052
9445
|
}] });
|
|
9053
9446
|
|
|
@@ -9079,18 +9472,18 @@ PanelBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9079
9472
|
PanelBarItemComponent,
|
|
9080
9473
|
PanelBarContentDirective,
|
|
9081
9474
|
PanelBarItemTemplateDirective,
|
|
9082
|
-
PanelBarItemTitleDirective], imports: [CommonModule], exports: [PanelBarComponent,
|
|
9475
|
+
PanelBarItemTitleDirective], imports: [CommonModule, IconsModule], exports: [PanelBarComponent,
|
|
9083
9476
|
PanelBarItemComponent,
|
|
9084
9477
|
PanelBarContentDirective,
|
|
9085
9478
|
PanelBarItemTemplateDirective,
|
|
9086
9479
|
PanelBarItemTitleDirective] });
|
|
9087
|
-
PanelBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelBarModule, imports: [[CommonModule]] });
|
|
9480
|
+
PanelBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelBarModule, imports: [[CommonModule, IconsModule]] });
|
|
9088
9481
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelBarModule, decorators: [{
|
|
9089
9482
|
type: NgModule,
|
|
9090
9483
|
args: [{
|
|
9091
9484
|
declarations: [declarations$6],
|
|
9092
9485
|
exports: [exportedModules$6],
|
|
9093
|
-
imports: [CommonModule]
|
|
9486
|
+
imports: [CommonModule, IconsModule]
|
|
9094
9487
|
}]
|
|
9095
9488
|
}] });
|
|
9096
9489
|
|
|
@@ -9115,11 +9508,13 @@ class SplitterModule {
|
|
|
9115
9508
|
SplitterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9116
9509
|
SplitterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterModule, declarations: [SplitterBarComponent, SplitterComponent,
|
|
9117
9510
|
SplitterPaneComponent], imports: [CommonModule,
|
|
9118
|
-
DraggableModule
|
|
9511
|
+
DraggableModule,
|
|
9512
|
+
IconsModule], exports: [SplitterComponent,
|
|
9119
9513
|
SplitterPaneComponent] });
|
|
9120
9514
|
SplitterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterModule, imports: [[
|
|
9121
9515
|
CommonModule,
|
|
9122
|
-
DraggableModule
|
|
9516
|
+
DraggableModule,
|
|
9517
|
+
IconsModule
|
|
9123
9518
|
]] });
|
|
9124
9519
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SplitterModule, decorators: [{
|
|
9125
9520
|
type: NgModule,
|
|
@@ -9128,7 +9523,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9128
9523
|
exports: [exportedModules$5],
|
|
9129
9524
|
imports: [
|
|
9130
9525
|
CommonModule,
|
|
9131
|
-
DraggableModule
|
|
9526
|
+
DraggableModule,
|
|
9527
|
+
IconsModule
|
|
9132
9528
|
]
|
|
9133
9529
|
}]
|
|
9134
9530
|
}] });
|
|
@@ -9161,17 +9557,17 @@ StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9161
9557
|
LocalizedStepperMessagesDirective, StepperComponent,
|
|
9162
9558
|
StepperCustomMessagesComponent, StepperStepTemplateDirective,
|
|
9163
9559
|
StepperLabelTemplateDirective,
|
|
9164
|
-
StepperIndicatorTemplateDirective], imports: [CommonModule, ProgressBarModule], exports: [StepperComponent,
|
|
9560
|
+
StepperIndicatorTemplateDirective], imports: [CommonModule, ProgressBarModule, IconsModule], exports: [StepperComponent,
|
|
9165
9561
|
StepperCustomMessagesComponent, StepperStepTemplateDirective,
|
|
9166
9562
|
StepperLabelTemplateDirective,
|
|
9167
9563
|
StepperIndicatorTemplateDirective] });
|
|
9168
|
-
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperModule, imports: [[CommonModule, ProgressBarModule]] });
|
|
9564
|
+
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperModule, imports: [[CommonModule, ProgressBarModule, IconsModule]] });
|
|
9169
9565
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StepperModule, decorators: [{
|
|
9170
9566
|
type: NgModule,
|
|
9171
9567
|
args: [{
|
|
9172
9568
|
declarations: [declarations$4],
|
|
9173
9569
|
exports: [exportedModules$4],
|
|
9174
|
-
imports: [CommonModule, ProgressBarModule]
|
|
9570
|
+
imports: [CommonModule, ProgressBarModule, IconsModule]
|
|
9175
9571
|
}]
|
|
9176
9572
|
}] });
|
|
9177
9573
|
|
|
@@ -9207,20 +9603,20 @@ TabStripModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9207
9603
|
TabTitleDirective,
|
|
9208
9604
|
TabComponent,
|
|
9209
9605
|
TabStripCustomMessagesComponent,
|
|
9210
|
-
LocalizedTabStripMessagesDirective, TabStripScrollableButtonComponent], imports: [CommonModule, ResizeSensorModule], exports: [TabStripComponent,
|
|
9606
|
+
LocalizedTabStripMessagesDirective, TabStripScrollableButtonComponent], imports: [CommonModule, ResizeSensorModule, IconsModule, ButtonModule], exports: [TabStripComponent,
|
|
9211
9607
|
TabStripTabComponent,
|
|
9212
9608
|
TabContentDirective,
|
|
9213
9609
|
TabTitleDirective,
|
|
9214
9610
|
TabComponent,
|
|
9215
9611
|
TabStripCustomMessagesComponent,
|
|
9216
9612
|
LocalizedTabStripMessagesDirective] });
|
|
9217
|
-
TabStripModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripModule, imports: [[CommonModule, ResizeSensorModule]] });
|
|
9613
|
+
TabStripModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripModule, imports: [[CommonModule, ResizeSensorModule, IconsModule, ButtonModule]] });
|
|
9218
9614
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripModule, decorators: [{
|
|
9219
9615
|
type: NgModule,
|
|
9220
9616
|
args: [{
|
|
9221
9617
|
declarations: [declarations$3],
|
|
9222
9618
|
exports: [exportedModules$3],
|
|
9223
|
-
imports: [CommonModule, ResizeSensorModule]
|
|
9619
|
+
imports: [CommonModule, ResizeSensorModule, IconsModule, ButtonModule]
|
|
9224
9620
|
}]
|
|
9225
9621
|
}] });
|
|
9226
9622
|
|