@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.
Files changed (52) hide show
  1. package/NOTICE.txt +17 -17
  2. package/avatar/avatar.component.d.ts +9 -5
  3. package/avatar.module.d.ts +2 -1
  4. package/drawer/item.component.d.ts +6 -1
  5. package/drawer/models/drawer-item.interface.d.ts +11 -1
  6. package/drawer.module.d.ts +2 -1
  7. package/esm2020/avatar/avatar.component.mjs +33 -16
  8. package/esm2020/avatar.module.mjs +4 -3
  9. package/esm2020/drawer/drawer.component.mjs +1 -0
  10. package/esm2020/drawer/item.component.mjs +62 -21
  11. package/esm2020/drawer.module.mjs +4 -3
  12. package/esm2020/expansionpanel/expansionpanel.component.mjs +72 -9
  13. package/esm2020/expansionpanel.module.mjs +4 -3
  14. package/esm2020/package-metadata.mjs +2 -2
  15. package/esm2020/panelbar/panelbar-item.component.mjs +88 -25
  16. package/esm2020/panelbar/panelbar.component.mjs +3 -1
  17. package/esm2020/panelbar.module.mjs +4 -3
  18. package/esm2020/splitter/splitter-bar.component.mjs +60 -23
  19. package/esm2020/splitter.module.mjs +7 -3
  20. package/esm2020/stepper/list.component.mjs +10 -1
  21. package/esm2020/stepper/step.component.mjs +82 -20
  22. package/esm2020/stepper/stepper.component.mjs +24 -2
  23. package/esm2020/stepper.module.mjs +4 -3
  24. package/esm2020/tabstrip/constants.mjs +4 -4
  25. package/esm2020/tabstrip/models/scrollable-settings.mjs +4 -2
  26. package/esm2020/tabstrip/models/tabstrip-tab.component.mjs +5 -1
  27. package/esm2020/tabstrip/rendering/tab.component.mjs +41 -15
  28. package/esm2020/tabstrip/scrollable-button.component.mjs +55 -30
  29. package/esm2020/tabstrip/tabstrip.component.mjs +30 -6
  30. package/esm2020/tabstrip.module.mjs +5 -3
  31. package/expansionpanel/expansionpanel.component.d.ts +25 -2
  32. package/expansionpanel.module.d.ts +2 -1
  33. package/fesm2015/progress-kendo-angular-layout.mjs +582 -186
  34. package/fesm2020/progress-kendo-angular-layout.mjs +582 -186
  35. package/package.json +9 -7
  36. package/panelbar/panelbar-item-model.d.ts +6 -0
  37. package/panelbar/panelbar-item.component.d.ts +29 -1
  38. package/panelbar.module.d.ts +2 -1
  39. package/schematics/ngAdd/index.js +4 -2
  40. package/splitter/splitter-bar.component.d.ts +8 -5
  41. package/splitter.module.d.ts +2 -1
  42. package/stepper/list.component.d.ts +5 -1
  43. package/stepper/models/stepper-step.interface.d.ts +6 -0
  44. package/stepper/step.component.d.ts +13 -3
  45. package/stepper/stepper.component.d.ts +21 -1
  46. package/stepper.module.d.ts +2 -1
  47. package/tabstrip/models/scrollable-settings.d.ts +11 -0
  48. package/tabstrip/models/tabstrip-tab.component.d.ts +13 -3
  49. package/tabstrip/rendering/tab.component.d.ts +5 -1
  50. package/tabstrip/scrollable-button.component.d.ts +5 -1
  51. package/tabstrip/tabstrip.component.d.ts +14 -3
  52. package/tabstrip.module.d.ts +3 -1
@@ -2,13 +2,14 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
6
  import { Component, ElementRef, HostBinding, Input, Renderer2, NgZone, Output, EventEmitter } from '@angular/core';
6
7
  import { Subscription } from 'rxjs';
7
8
  import { DIRECTION_CLASSES, HIDDEN_CLASS } from './constants';
8
9
  import { isTablistHorizontal } from './util';
9
10
  import { TabScrollEvent } from './events/tabscroll-event';
10
11
  import * as i0 from "@angular/core";
11
- import * as i1 from "@angular/common";
12
+ import * as i1 from "@progress/kendo-angular-icons";
12
13
  /**
13
14
  * @hidden
14
15
  */
@@ -17,7 +18,6 @@ export class TabStripScrollableButtonComponent {
17
18
  this.host = host;
18
19
  this.renderer = renderer;
19
20
  this.ngZone = ngZone;
20
- this.btnClasses = true;
21
21
  this.prev = false;
22
22
  this.tabScroll = new EventEmitter();
23
23
  this.onClick = new EventEmitter();
@@ -42,7 +42,13 @@ export class TabStripScrollableButtonComponent {
42
42
  return this.host.nativeElement.getBoundingClientRect();
43
43
  }
44
44
  get iconClass() {
45
- return this.scrollButtonIconClass[this.prev ? 'prevScrollButton' : 'nextScrollButton'];
45
+ return this.scrollButtonIconClass;
46
+ }
47
+ get customIconClass() {
48
+ return this.customScrollButtonIconClass;
49
+ }
50
+ get svgIcon() {
51
+ return this.scrollButtonSVGIcon;
46
52
  }
47
53
  ngAfterViewInit() {
48
54
  this.ngZone.runOutsideAngular(() => {
@@ -59,11 +65,36 @@ export class TabStripScrollableButtonComponent {
59
65
  const defaultPrevIcon = isTablistHorizontal(this.tabPosition) ? DIRECTION_CLASSES.left : DIRECTION_CLASSES.up;
60
66
  const defaultNextIcon = isTablistHorizontal(this.tabPosition) ? DIRECTION_CLASSES.right : DIRECTION_CLASSES.down;
61
67
  if (typeof this.scrollable === 'object') {
62
- const prevIcon = typeof this.scrollable.prevButtonIcon === 'undefined' ? defaultPrevIcon : this.scrollable.prevButtonIcon;
63
- const nextIcon = typeof this.scrollable.nextButtonIcon === 'undefined' ? defaultNextIcon : this.scrollable.nextButtonIcon;
64
- return { prevScrollButton: prevIcon, nextScrollButton: nextIcon };
68
+ const prevIcon = typeof this.scrollable.prevButtonIcon === 'undefined' ? defaultPrevIcon : '';
69
+ const nextIcon = typeof this.scrollable.nextButtonIcon === 'undefined' ? defaultNextIcon : '';
70
+ if (prevIcon && this.prev) {
71
+ return prevIcon;
72
+ }
73
+ else if (nextIcon && !this.prev) {
74
+ return nextIcon;
75
+ }
76
+ }
77
+ }
78
+ get customScrollButtonIconClass() {
79
+ if (typeof this.scrollable === 'object') {
80
+ const prevIcon = this.scrollable.prevButtonIcon;
81
+ const nextIcon = this.scrollable.nextButtonIcon;
82
+ if (prevIcon && this.prev) {
83
+ return `k-icon ${prevIcon}`;
84
+ }
85
+ if (nextIcon && !this.prev) {
86
+ return `k-icon ${nextIcon}`;
87
+ }
88
+ }
89
+ }
90
+ get scrollButtonSVGIcon() {
91
+ if (typeof this.scrollable === 'object') {
92
+ const prevIcon = this.scrollable.prevSVGButtonIcon !== undefined ? this.scrollable.prevSVGButtonIcon : undefined;
93
+ const nextIcon = this.scrollable.nextSVGButtonIcon !== undefined ? this.scrollable.nextSVGButtonIcon : undefined;
94
+ if (prevIcon || nextIcon) {
95
+ return this.prev ? prevIcon : nextIcon;
96
+ }
65
97
  }
66
- return { prevScrollButton: defaultPrevIcon, nextScrollButton: defaultNextIcon };
67
98
  }
68
99
  emitScrollEvent(event) {
69
100
  const scrollEvent = new TabScrollEvent({
@@ -74,37 +105,31 @@ export class TabStripScrollableButtonComponent {
74
105
  }
75
106
  }
76
107
  TabStripScrollableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripScrollableButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
77
- TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: { prev: "prev", tabPosition: "tabPosition", scrollable: "scrollable" }, outputs: { tabScroll: "tabScroll", onClick: "onClick" }, host: { properties: { "class.k-button": "this.btnClasses", "class.k-button-md": "this.btnClasses", "class.k-icon-button": "this.btnClasses", "class.k-rounded-md": "this.btnClasses", "class.k-button-flat": "this.btnClasses", "class.k-button-flat-base": "this.btnClasses", "class.k-tabstrip-prev": "this.prevClass", "class.k-tabstrip-next": "this.nextClass" } }, ngImport: i0, template: `
78
- <span class="k-icon k-button-icon" [ngClass]="iconClass"></span>
79
- `, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
108
+ TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: { prev: "prev", tabPosition: "tabPosition", scrollable: "scrollable" }, outputs: { tabScroll: "tabScroll", onClick: "onClick" }, host: { properties: { "class.k-tabstrip-prev": "this.prevClass", "class.k-tabstrip-next": "this.nextClass" } }, ngImport: i0, template: `
109
+ <kendo-icon-wrapper
110
+ [name]="iconClass"
111
+ [customFontClass]="customIconClass"
112
+ [svgIcon]="svgIcon"
113
+ innerCssClass="k-button-icon"
114
+ >
115
+ </kendo-icon-wrapper>
116
+ `, isInline: true, components: [{ type: i1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }] });
80
117
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripScrollableButtonComponent, decorators: [{
81
118
  type: Component,
82
119
  args: [{
83
120
  template: `
84
- <span class="k-icon k-button-icon" [ngClass]="iconClass"></span>
121
+ <kendo-icon-wrapper
122
+ [name]="iconClass"
123
+ [customFontClass]="customIconClass"
124
+ [svgIcon]="svgIcon"
125
+ innerCssClass="k-button-icon"
126
+ >
127
+ </kendo-icon-wrapper>
85
128
  `,
86
129
  // eslint-disable-next-line @angular-eslint/component-selector
87
130
  selector: '[kendoTabStripScrollableButton]'
88
131
  }]
89
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { btnClasses: [{
90
- type: HostBinding,
91
- args: ['class.k-button']
92
- }, {
93
- type: HostBinding,
94
- args: ['class.k-button-md']
95
- }, {
96
- type: HostBinding,
97
- args: ['class.k-icon-button']
98
- }, {
99
- type: HostBinding,
100
- args: ['class.k-rounded-md']
101
- }, {
102
- type: HostBinding,
103
- args: ['class.k-button-flat']
104
- }, {
105
- type: HostBinding,
106
- args: ['class.k-button-flat-base']
107
- }], prevClass: [{
132
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { prevClass: [{
108
133
  type: HostBinding,
109
134
  args: ['class.k-tabstrip-prev']
110
135
  }], nextClass: [{
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, ContentChildren, ElementRef, EventEmitter, HostBinding, Input, Output, QueryList, ViewChild, ViewChildren, Renderer2, NgZone } from '@angular/core';
5
+ import { Component, ContentChildren, ElementRef, EventEmitter, HostBinding, Input, Output, QueryList, ViewChild, ViewChildren, Renderer2, NgZone, isDevMode } from '@angular/core';
6
6
  import { animate, state, style, transition, trigger } from '@angular/animations';
7
7
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
8
8
  import { validatePackage } from '@progress/kendo-licensing';
@@ -66,10 +66,9 @@ export class TabStripComponent {
66
66
  */
67
67
  this.closable = false;
68
68
  /**
69
- * Allows defining a custom CSS class, or multiple classes separated by spaces, which will be applied to the close button span element.
70
- * Allows the usage of custom icons.
69
+ * Defines the name for an existing font icon in the Kendo UI theme for the close icon.
71
70
  */
72
- this.closeIcon = 'k-icon k-i-x';
71
+ this.closeIcon = 'x';
73
72
  /**
74
73
  * Fires each time the user selects a tab ([see example]({% slug overview_tabstrip %}#toc-basic-usage)).
75
74
  * The event data contains the index of the selected tab and its title.
@@ -131,6 +130,19 @@ export class TabStripComponent {
131
130
  get scrollable() {
132
131
  return this._scrollableSettings;
133
132
  }
133
+ /**
134
+ * Defines an SVGIcon to be rendered for the close icon.
135
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
136
+ */
137
+ set closeSVGIcon(icon) {
138
+ if (isDevMode() && icon && this.closeIcon && this.closeIcon !== 'x') {
139
+ throw new Error('Setting both closeIcon and svgIcon options at the same time is not supported.');
140
+ }
141
+ this._closeSVGIcon = icon;
142
+ }
143
+ get closeSVGIcon() {
144
+ return this._closeSVGIcon;
145
+ }
134
146
  get tabsAtTop() {
135
147
  return this.tabPosition === 'top';
136
148
  }
@@ -359,7 +371,7 @@ export class TabStripComponent {
359
371
  }
360
372
  }
361
373
  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: i2.TabStripService }, { token: i3.ScrollService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
362
- 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: [
374
+ 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: [
363
375
  TabStripService,
364
376
  ScrollService,
365
377
  LocalizationService,
@@ -404,6 +416,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
404
416
  [prev]="true"
405
417
  [title]="localization.get('previousTabButton')"
406
418
  (tabScroll)="tabScroll.emit($event)"
419
+ class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
407
420
  (onClick)="onScrollButtonClick($event)">
408
421
  </span>
409
422
  <ul role="tablist" #tablist
@@ -424,6 +437,8 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
424
437
  role="tab"
425
438
  [tabStripClosable]="closable"
426
439
  [tabStripCloseIcon]="closeIcon"
440
+ [customTabstripCloseIcon]="closeIconClass"
441
+ [closeSVGIcon]="closeSVGIcon"
427
442
  (tabClose)="tabClose.emit($event)"
428
443
  (click)="onTabClick($event, i)"
429
444
  [id]="'k-tabstrip-tab-' + i"
@@ -440,6 +455,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
440
455
  [prev]="false"
441
456
  [title]="localization.get('nextTabButton')"
442
457
  (tabScroll)="tabScroll.emit($event)"
458
+ class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
443
459
  (onClick)="onScrollButtonClick($event)"></span>
444
460
  </div>
445
461
  </ng-template>
@@ -463,7 +479,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
463
479
  </ng-template>
464
480
  </ng-template>
465
481
  <kendo-resize-sensor *ngIf="isScrollable" (resize)="onResize()"></kendo-resize-sensor>
466
- `, isInline: true, components: [{ type: i4.TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: ["prev", "tabPosition", "scrollable"], outputs: ["tabScroll", "onClick"] }, { type: i5.TabComponent, selector: "[kendoTabStripTab]", inputs: ["tab", "index", "tabStripClosable", "tabStripCloseIcon"], outputs: ["tabClose"] }, { type: i6.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i7.LocalizedTabStripMessagesDirective, selector: "[kendoTabStripLocalizedMessages]" }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], animations: [
482
+ `, isInline: true, components: [{ type: i4.TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: ["prev", "tabPosition", "scrollable"], outputs: ["tabScroll", "onClick"] }, { type: i5.TabComponent, selector: "[kendoTabStripTab]", inputs: ["tab", "index", "tabStripClosable", "tabStripCloseIcon", "customTabstripCloseIcon", "closeSVGIcon"], outputs: ["tabClose"] }, { type: i6.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i7.LocalizedTabStripMessagesDirective, selector: "[kendoTabStripLocalizedMessages]" }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], animations: [
467
483
  trigger('state', [
468
484
  state('active', style({ opacity: 1 })),
469
485
  transition('* => active', [
@@ -532,6 +548,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
532
548
  [prev]="true"
533
549
  [title]="localization.get('previousTabButton')"
534
550
  (tabScroll)="tabScroll.emit($event)"
551
+ class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
535
552
  (onClick)="onScrollButtonClick($event)">
536
553
  </span>
537
554
  <ul role="tablist" #tablist
@@ -552,6 +569,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
552
569
  role="tab"
553
570
  [tabStripClosable]="closable"
554
571
  [tabStripCloseIcon]="closeIcon"
572
+ [customTabstripCloseIcon]="closeIconClass"
573
+ [closeSVGIcon]="closeSVGIcon"
555
574
  (tabClose)="tabClose.emit($event)"
556
575
  (click)="onTabClick($event, i)"
557
576
  [id]="'k-tabstrip-tab-' + i"
@@ -568,6 +587,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
568
587
  [prev]="false"
569
588
  [title]="localization.get('nextTabButton')"
570
589
  (tabScroll)="tabScroll.emit($event)"
590
+ class="k-icon-button k-button k-button-md k-rounded-md k-button-flat k-button-flat-base"
571
591
  (onClick)="onScrollButtonClick($event)"></span>
572
592
  </div>
573
593
  </ng-template>
@@ -609,6 +629,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
609
629
  type: Input
610
630
  }], closeIcon: [{
611
631
  type: Input
632
+ }], closeIconClass: [{
633
+ type: Input
634
+ }], closeSVGIcon: [{
635
+ type: Input
612
636
  }], tabSelect: [{
613
637
  type: Output
614
638
  }], tabClose: [{
@@ -13,6 +13,8 @@ import { TabStripCustomMessagesComponent } from './tabstrip/localization/custom-
13
13
  import { LocalizedTabStripMessagesDirective } from './tabstrip/localization/localized-messages.directive';
14
14
  import { ResizeSensorModule } from '@progress/kendo-angular-common';
15
15
  import { TabStripScrollableButtonComponent } from './tabstrip/scrollable-button.component';
16
+ import { IconsModule } from '@progress/kendo-angular-icons';
17
+ import { ButtonModule } from '@progress/kendo-angular-buttons';
16
18
  import * as i0 from "@angular/core";
17
19
  const exportedModules = [
18
20
  TabStripComponent,
@@ -46,19 +48,19 @@ TabStripModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
46
48
  TabTitleDirective,
47
49
  TabComponent,
48
50
  TabStripCustomMessagesComponent,
49
- LocalizedTabStripMessagesDirective, TabStripScrollableButtonComponent], imports: [CommonModule, ResizeSensorModule], exports: [TabStripComponent,
51
+ LocalizedTabStripMessagesDirective, TabStripScrollableButtonComponent], imports: [CommonModule, ResizeSensorModule, IconsModule, ButtonModule], exports: [TabStripComponent,
50
52
  TabStripTabComponent,
51
53
  TabContentDirective,
52
54
  TabTitleDirective,
53
55
  TabComponent,
54
56
  TabStripCustomMessagesComponent,
55
57
  LocalizedTabStripMessagesDirective] });
56
- TabStripModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripModule, imports: [[CommonModule, ResizeSensorModule]] });
58
+ TabStripModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripModule, imports: [[CommonModule, ResizeSensorModule, IconsModule, ButtonModule]] });
57
59
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabStripModule, decorators: [{
58
60
  type: NgModule,
59
61
  args: [{
60
62
  declarations: [declarations],
61
63
  exports: [exportedModules],
62
- imports: [CommonModule, ResizeSensorModule]
64
+ imports: [CommonModule, ResizeSensorModule, IconsModule, ButtonModule]
63
65
  }]
64
66
  }] });
@@ -7,6 +7,7 @@ import { EventEmitter, ElementRef, Renderer2, NgZone, OnDestroy, OnInit, AfterVi
7
7
  import { ExpansionPanelTitleDirective } from './expansionpanel-title.directive';
8
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
9
9
  import { ExpansionPanelActionEvent } from './events/action-event';
10
+ import { SVGIcon } from '@progress/kendo-svg-icons';
10
11
  import * as i0 from "@angular/core";
11
12
  /**
12
13
  * Represents the [Kendo UI ExpansionPanel component for Angular]({% slug overview_expansionpanel %}).
@@ -55,6 +56,18 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
55
56
  */
56
57
  set expanded(value: boolean);
57
58
  get expanded(): boolean;
59
+ /**
60
+ * Defines an SVGIcon for the expanded state of the component.
61
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
62
+ */
63
+ set svgExpandIcon(icon: SVGIcon);
64
+ get svgExpandIcon(): SVGIcon;
65
+ /**
66
+ * Defines an SVGIcon for the collapsed state of the component.
67
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
68
+ */
69
+ set svgCollapseIcon(icon: SVGIcon);
70
+ get svgCollapseIcon(): SVGIcon;
58
71
  /**
59
72
  * Sets a custom icon via css class(es), for the collapsed state of the component
60
73
  * ([see example]({% slug icons_expansionpanel %}#toc-icons)).
@@ -113,6 +126,8 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
113
126
  private animationEnd;
114
127
  private subscriptions;
115
128
  private _expanded;
129
+ private _svgExpandIcon;
130
+ private _svgCollapseIcon;
116
131
  constructor(renderer: Renderer2, hostElement: ElementRef, ngZone: NgZone, localizationService: LocalizationService, builder: AnimationBuilder);
117
132
  ngOnInit(): void;
118
133
  ngAfterViewInit(): void;
@@ -136,7 +151,15 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
136
151
  /**
137
152
  * @hidden
138
153
  */
139
- get indicatorClasses(): string;
154
+ get expanderIndicatorClasses(): string;
155
+ /**
156
+ * @hidden
157
+ */
158
+ get customExpanderIndicatorClasses(): string;
159
+ /**
160
+ * @hidden
161
+ */
162
+ get svgExpanderIndicatorClasses(): SVGIcon;
140
163
  /**
141
164
  * Toggles the visibility of the ExpansionPanel
142
165
  * ([see example]({% slug interaction_expansionpanel %}#toc-toggling-the-content)).
@@ -153,5 +176,5 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
153
176
  private addContentHiddenClass;
154
177
  private removeContentHiddenClass;
155
178
  static ɵfac: i0.ɵɵFactoryDeclaration<ExpansionPanelComponent, never>;
156
- static ɵcmp: i0.ɵɵComponentDeclaration<ExpansionPanelComponent, "kendo-expansionpanel", ["kendoExpansionPanel"], { "title": "title"; "subtitle": "subtitle"; "disabled": "disabled"; "expanded": "expanded"; "expandIcon": "expandIcon"; "collapseIcon": "collapseIcon"; "animation": "animation"; }, { "expandedChange": "expandedChange"; "action": "action"; "expand": "expand"; "collapse": "collapse"; }, ["titleTemplate"], ["*"]>;
179
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExpansionPanelComponent, "kendo-expansionpanel", ["kendoExpansionPanel"], { "title": "title"; "subtitle": "subtitle"; "disabled": "disabled"; "expanded": "expanded"; "svgExpandIcon": "svgExpandIcon"; "svgCollapseIcon": "svgCollapseIcon"; "expandIcon": "expandIcon"; "collapseIcon": "collapseIcon"; "animation": "animation"; }, { "expandedChange": "expandedChange"; "action": "action"; "expand": "expand"; "collapse": "collapse"; }, ["titleTemplate"], ["*"]>;
157
180
  }
@@ -7,12 +7,13 @@ import * as i1 from "./expansionpanel/expansionpanel.component";
7
7
  import * as i2 from "./expansionpanel/expansionpanel-title.directive";
8
8
  import * as i3 from "@angular/common";
9
9
  import * as i4 from "@progress/kendo-angular-common";
10
+ import * as i5 from "@progress/kendo-angular-icons";
10
11
  /**
11
12
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
12
13
  * definition for the ExpansionPanel component.
13
14
  */
14
15
  export declare class ExpansionPanelModule {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ExpansionPanelModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<ExpansionPanelModule, [typeof i1.ExpansionPanelComponent, typeof i2.ExpansionPanelTitleDirective], [typeof i3.CommonModule, typeof i4.EventsModule], [typeof i1.ExpansionPanelComponent, typeof i2.ExpansionPanelTitleDirective]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ExpansionPanelModule, [typeof i1.ExpansionPanelComponent, typeof i2.ExpansionPanelTitleDirective], [typeof i3.CommonModule, typeof i4.EventsModule, typeof i5.IconsModule], [typeof i1.ExpansionPanelComponent, typeof i2.ExpansionPanelTitleDirective]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<ExpansionPanelModule>;
18
19
  }