@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-layout",
3
- "version": "11.0.0-develop.99",
3
+ "version": "11.0.1-develop.1",
4
4
  "description": "Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -38,16 +38,18 @@
38
38
  "@angular/common": "13 - 15",
39
39
  "@angular/core": "13 - 15",
40
40
  "@angular/platform-browser": "13 - 15",
41
- "@progress/kendo-draggable": "^3.0.2",
42
41
  "@progress/kendo-licensing": "^1.0.2",
43
- "@progress/kendo-angular-common": "11.0.0-develop.99",
44
- "@progress/kendo-angular-l10n": "11.0.0-develop.99",
45
- "@progress/kendo-angular-progressbar": "11.0.0-develop.99",
46
- "@progress/kendo-angular-schematics": "11.0.0-develop.99",
42
+ "@progress/kendo-angular-common": "11.0.1-develop.1",
43
+ "@progress/kendo-angular-l10n": "11.0.1-develop.1",
44
+ "@progress/kendo-angular-progressbar": "11.0.1-develop.1",
45
+ "@progress/kendo-angular-icons": "11.0.1-develop.1",
46
+ "@progress/kendo-angular-buttons": "11.0.1-develop.1",
47
47
  "rxjs": "^6.5.3 || ^7.0.0"
48
48
  },
49
49
  "dependencies": {
50
- "tslib": "^2.3.1"
50
+ "tslib": "^2.3.1",
51
+ "@progress/kendo-angular-schematics": "11.0.1-develop.1",
52
+ "@progress/kendo-draggable": "^3.0.2"
51
53
  },
52
54
  "schematics": "./schematics/collection.json",
53
55
  "module": "fesm2015/progress-kendo-angular-layout.mjs",
@@ -2,6 +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 { SVGIcon } from "@progress/kendo-svg-icons";
5
6
  /**
6
7
  * Represents the items model of the PanelBar. These are the interface fields that the PanelBar items use.
7
8
  */
@@ -22,6 +23,11 @@ export interface PanelBarItemModel {
22
23
  * Defines the icon that will be rendered next to the title by using a custom CSS class.
23
24
  */
24
25
  iconClass: string;
26
+ /**
27
+ * Defines an SVGIcon to be rendered.
28
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
29
+ */
30
+ svgIcon?: SVGIcon;
25
31
  /**
26
32
  * Defines the location of the image that will be displayed next to the title.
27
33
  */
@@ -8,6 +8,7 @@ import { PanelBarContentDirective } from "./panelbar-content.directive";
8
8
  import { PanelBarItemTitleDirective } from "./panelbar-item-title.directive";
9
9
  import { PanelBarItemModel } from './panelbar-item-model';
10
10
  import { Subscription } from 'rxjs';
11
+ import { SVGIcon } from '@progress/kendo-svg-icons';
11
12
  import * as i0 from "@angular/core";
12
13
  /**
13
14
  * Represents the items of the PanelBar.
@@ -35,6 +36,12 @@ export declare class PanelBarItemComponent implements OnInit, AfterContentChecke
35
36
  * ([see example]({% slug items_panelbar %}#toc-title-icons)).
36
37
  */
37
38
  iconClass: string;
39
+ /**
40
+ * Defines an SVGIcon to be rendered.
41
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
42
+ */
43
+ set svgIcon(icon: SVGIcon);
44
+ get svgIcon(): SVGIcon;
38
45
  /**
39
46
  * Defines the location of the image that will be displayed next to the title
40
47
  * ([see example]({% slug items_panelbar %}#toc-title-images)).
@@ -97,11 +104,20 @@ export declare class PanelBarItemComponent implements OnInit, AfterContentChecke
97
104
  contentItems: QueryList<PanelBarItemComponent>;
98
105
  contentTemplate: QueryList<PanelBarContentDirective>;
99
106
  titleTemplates: QueryList<PanelBarItemTitleDirective>;
107
+ /**
108
+ * @hidden
109
+ */
110
+ arrowUpSVGIcon: SVGIcon;
111
+ /**
112
+ * @hidden
113
+ */
114
+ arrowDownSVGIcon: SVGIcon;
100
115
  focused: boolean;
101
116
  wrapperFocused: boolean;
102
117
  protected subscriptions: Subscription;
103
118
  private _expanded;
104
119
  private level;
120
+ private _svgIcon;
105
121
  constructor(parent: PanelBarItemComponent, eventService: PanelBarService, element: ElementRef, renderer: Renderer2);
106
122
  /**
107
123
  * @hidden
@@ -123,6 +139,18 @@ export declare class PanelBarItemComponent implements OnInit, AfterContentChecke
123
139
  * @hidden
124
140
  */
125
141
  get iconClasses(): any;
142
+ /**
143
+ * @hidden
144
+ */
145
+ get customIconClasses(): string;
146
+ /**
147
+ * @hidden
148
+ */
149
+ get dirInnerCssClasses(): string;
150
+ /**
151
+ * @hidden
152
+ */
153
+ get arrowSVGIcon(): SVGIcon;
126
154
  /**
127
155
  * @hidden
128
156
  */
@@ -149,5 +177,5 @@ export declare class PanelBarItemComponent implements OnInit, AfterContentChecke
149
177
  private addLevelClass;
150
178
  private onWrapperFocusChange;
151
179
  static ɵfac: i0.ɵɵFactoryDeclaration<PanelBarItemComponent, [{ optional: true; host: true; skipSelf: true; }, null, null, null]>;
152
- static ɵcmp: i0.ɵɵComponentDeclaration<PanelBarItemComponent, "kendo-panelbar-item", ["kendoPanelbarItem"], { "title": "title"; "id": "id"; "icon": "icon"; "iconClass": "iconClass"; "imageUrl": "imageUrl"; "disabled": "disabled"; "expanded": "expanded"; "selected": "selected"; "content": "content"; "items": "items"; "template": "template"; }, {}, ["contentItems", "contentTemplate", "titleTemplates"], ["kendo-panelbar-item"]>;
180
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelBarItemComponent, "kendo-panelbar-item", ["kendoPanelbarItem"], { "title": "title"; "id": "id"; "icon": "icon"; "iconClass": "iconClass"; "svgIcon": "svgIcon"; "imageUrl": "imageUrl"; "disabled": "disabled"; "expanded": "expanded"; "selected": "selected"; "content": "content"; "items": "items"; "template": "template"; }, {}, ["contentItems", "contentTemplate", "titleTemplates"], ["kendo-panelbar-item"]>;
153
181
  }
@@ -9,6 +9,7 @@ import * as i3 from "./panelbar/panelbar-content.directive";
9
9
  import * as i4 from "./panelbar/panelbar-item-template.directive";
10
10
  import * as i5 from "./panelbar/panelbar-item-title.directive";
11
11
  import * as i6 from "@angular/common";
12
+ import * as i7 from "@progress/kendo-angular-icons";
12
13
  /**
13
14
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
14
15
  * definition for the PanelBar component.
@@ -22,6 +23,6 @@ import * as i6 from "@angular/common";
22
23
  */
23
24
  export declare class PanelBarModule {
24
25
  static ɵfac: i0.ɵɵFactoryDeclaration<PanelBarModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<PanelBarModule, [typeof i1.PanelBarComponent, typeof i2.PanelBarItemComponent, typeof i3.PanelBarContentDirective, typeof i4.PanelBarItemTemplateDirective, typeof i5.PanelBarItemTitleDirective], [typeof i6.CommonModule], [typeof i1.PanelBarComponent, typeof i2.PanelBarItemComponent, typeof i3.PanelBarContentDirective, typeof i4.PanelBarItemTemplateDirective, typeof i5.PanelBarItemTitleDirective]>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PanelBarModule, [typeof i1.PanelBarComponent, typeof i2.PanelBarItemComponent, typeof i3.PanelBarContentDirective, typeof i4.PanelBarItemTemplateDirective, typeof i5.PanelBarItemTitleDirective], [typeof i6.CommonModule, typeof i7.IconsModule], [typeof i1.PanelBarComponent, typeof i2.PanelBarItemComponent, typeof i3.PanelBarContentDirective, typeof i4.PanelBarItemTemplateDirective, typeof i5.PanelBarItemTitleDirective]>;
26
27
  static ɵinj: i0.ɵɵInjectorDeclaration<PanelBarModule>;
27
28
  }
@@ -2,8 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
- const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'LayoutModule', package: 'layout' //package name, e.g grid
6
- });
5
+ const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'LayoutModule', package: 'layout', peerDependencies: {
6
+ // peer dep of the icons
7
+ '@progress/kendo-svg-icons': '^1.0.0'
8
+ } });
7
9
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
8
10
  }
9
11
  exports.default = default_1;
@@ -7,15 +7,16 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { Orientation } from '../common/orientation';
8
8
  import { DraggableDirective } from '@progress/kendo-angular-common';
9
9
  import { SplitterService } from './splitter.service';
10
+ import { SVGIcon } from '@progress/kendo-svg-icons';
10
11
  import * as i0 from "@angular/core";
11
12
  /**
12
13
  * @hidden
13
14
  */
14
15
  export declare class SplitterBarComponent implements OnInit, OnDestroy {
15
16
  draggable: DraggableDirective;
16
- element: ElementRef<HTMLElement>;
17
- private splitterService;
18
17
  private localization;
18
+ private splitterService;
19
+ element: ElementRef<HTMLElement>;
19
20
  private renderer;
20
21
  orientation: Orientation;
21
22
  get direction(): string;
@@ -27,15 +28,17 @@ export declare class SplitterBarComponent implements OnInit, OnDestroy {
27
28
  get hostClasses(): string;
28
29
  get order(): number;
29
30
  private get expandLast();
30
- constructor(draggable: DraggableDirective, element: ElementRef<HTMLElement>, splitterService: SplitterService, localization: LocalizationService, renderer: Renderer2);
31
+ constructor(draggable: DraggableDirective, localization: LocalizationService, splitterService: SplitterService, element: ElementRef<HTMLElement>, renderer: Renderer2);
31
32
  ngOnInit(): void;
32
33
  ngOnDestroy(): void;
33
34
  togglePrevious(): void;
34
35
  toggleNext(): void;
35
36
  shouldShowIcon(iconName: string): boolean;
36
37
  collapseClass(order: string): string;
37
- previousArrowClass(): string;
38
- nextArrowClass(): string;
38
+ previousArrowClass(): any;
39
+ previousSVGArrowClass(): SVGIcon;
40
+ nextArrowClass(): any;
41
+ nextSVGArrowClass(): SVGIcon;
39
42
  private togglePane;
40
43
  private onKeyDown;
41
44
  private tryToggleNearest;
@@ -8,6 +8,7 @@ import * as i2 from "./splitter/splitter.component";
8
8
  import * as i3 from "./splitter/splitter-pane.component";
9
9
  import * as i4 from "@angular/common";
10
10
  import * as i5 from "@progress/kendo-angular-common";
11
+ import * as i6 from "@progress/kendo-angular-icons";
11
12
  /**
12
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
13
14
  * definition for the Splitter component.
@@ -18,6 +19,6 @@ import * as i5 from "@progress/kendo-angular-common";
18
19
  */
19
20
  export declare class SplitterModule {
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<SplitterModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<SplitterModule, [typeof i1.SplitterBarComponent, typeof i2.SplitterComponent, typeof i3.SplitterPaneComponent], [typeof i4.CommonModule, typeof i5.DraggableModule], [typeof i2.SplitterComponent, typeof i3.SplitterPaneComponent]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SplitterModule, [typeof i1.SplitterBarComponent, typeof i2.SplitterComponent, typeof i3.SplitterPaneComponent], [typeof i4.CommonModule, typeof i5.DraggableModule, typeof i6.IconsModule], [typeof i2.SplitterComponent, typeof i3.SplitterPaneComponent]>;
22
23
  static ɵinj: i0.ɵɵInjectorDeclaration<SplitterModule>;
23
24
  }
@@ -6,6 +6,7 @@ import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2, Templat
6
6
  import { StepperOrientation } from './models/orientation';
7
7
  import { StepType } from './models/step-type';
8
8
  import { StepperService } from "./stepper.service";
9
+ import { SVGIcon } from "@progress/kendo-svg-icons";
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * @hidden
@@ -21,7 +22,10 @@ export declare class StepperListComponent implements OnInit, OnDestroy {
21
22
  currentStep: number;
22
23
  steps: any[];
23
24
  successIcon: string;
25
+ successSVGIcon: SVGIcon;
24
26
  errorIcon: string;
27
+ errorSVGIcon: SVGIcon;
28
+ svgIcon: SVGIcon;
25
29
  indicatorTemplate: TemplateRef<any>;
26
30
  labelTemplate: TemplateRef<any>;
27
31
  stepTemplate: TemplateRef<any>;
@@ -39,5 +43,5 @@ export declare class StepperListComponent implements OnInit, OnDestroy {
39
43
  private clickHandler;
40
44
  private getStepIndex;
41
45
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperListComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<StepperListComponent, "[kendoStepperList]", never, { "linear": "linear"; "stepType": "stepType"; "orientation": "orientation"; "currentStep": "currentStep"; "steps": "steps"; "successIcon": "successIcon"; "errorIcon": "errorIcon"; "indicatorTemplate": "indicatorTemplate"; "labelTemplate": "labelTemplate"; "stepTemplate": "stepTemplate"; }, { "listKeydown": "listKeydown"; "listClick": "listClick"; }, never, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepperListComponent, "[kendoStepperList]", never, { "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"; }, { "listKeydown": "listKeydown"; "listClick": "listClick"; }, never, never>;
43
47
  }
@@ -2,6 +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 { SVGIcon } from '@progress/kendo-svg-icons';
5
6
  import { StepPredicateFn } from './step-predicate';
6
7
  /**
7
8
  * An interface for the steps of the Stepper component.
@@ -44,6 +45,11 @@ export interface StepperStep {
44
45
  * Allows the usage of custom icons, rendered inside the step indicator instead of the default numeric or text content.
45
46
  */
46
47
  iconClass?: string;
48
+ /**
49
+ * Defines an SVG icon to be rendered inside the step indicator instead of the default numeric or text content.
50
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
51
+ */
52
+ svgIcon?: SVGIcon;
47
53
  /**
48
54
  * Specifies the text content of the step label.
49
55
  */
@@ -6,6 +6,7 @@ import { TemplateRef, OnInit, SimpleChanges, OnDestroy, OnChanges, NgZone, Eleme
6
6
  import { StepType } from './models/step-type';
7
7
  import { StepperService } from './stepper.service';
8
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
9
+ import { SVGIcon } from '@progress/kendo-svg-icons';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * @hidden
@@ -19,13 +20,18 @@ export declare class StepperStepComponent implements OnInit, OnChanges, OnDestro
19
20
  current: number;
20
21
  type: StepType;
21
22
  successIcon: string;
23
+ successSVGIcon: SVGIcon;
22
24
  errorIcon: string;
25
+ errorSVGIcon: SVGIcon;
26
+ svgIcon: SVGIcon;
23
27
  indicatorTemplate: TemplateRef<any>;
24
28
  labelTemplate: TemplateRef<any>;
25
29
  stepTemplate: TemplateRef<any>;
26
30
  stepLink: ElementRef;
27
31
  isStepValid: boolean;
28
32
  shouldCheckValidity: boolean;
33
+ checkCircleIcon: SVGIcon;
34
+ exclamationCircleIcon: SVGIcon;
29
35
  private subs;
30
36
  constructor(service: StepperService, localization: LocalizationService, ngZone: NgZone);
31
37
  get errorStepClass(): boolean;
@@ -36,11 +42,15 @@ export declare class StepperStepComponent implements OnInit, OnChanges, OnDestro
36
42
  onFocusedStepChange(): void;
37
43
  onFocus(): void;
38
44
  get tabIndexAttr(): number;
39
- get indicatorIconClasses(): string;
45
+ get indicatorIconClass(): string;
46
+ get customIndicatorIconClass(): string;
47
+ get SVGIndicatorIcon(): SVGIcon;
48
+ get validationIconClasses(): string;
49
+ get customValidationIconClasses(): string;
50
+ get validationSVGIcon(): SVGIcon;
40
51
  get showIndicatorIcon(): boolean;
41
52
  get showLabelIcon(): boolean;
42
53
  get showLabelText(): boolean;
43
- get validationIconClasses(): string;
44
54
  get indicatorText(): string;
45
55
  updateStepValidity(): boolean;
46
56
  get showIndicator(): boolean;
@@ -50,5 +60,5 @@ export declare class StepperStepComponent implements OnInit, OnChanges, OnDestro
50
60
  private _shouldCheckValidity;
51
61
  private handleValidityChecks;
52
62
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperStepComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<StepperStepComponent, "[kendoStepperStep]", never, { "step": "step"; "index": "index"; "current": "current"; "type": "type"; "successIcon": "successIcon"; "errorIcon": "errorIcon"; "indicatorTemplate": "indicatorTemplate"; "labelTemplate": "labelTemplate"; "stepTemplate": "stepTemplate"; }, {}, never, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepperStepComponent, "[kendoStepperStep]", never, { "step": "step"; "index": "index"; "current": "current"; "type": "type"; "successIcon": "successIcon"; "successSVGIcon": "successSVGIcon"; "errorIcon": "errorIcon"; "errorSVGIcon": "errorSVGIcon"; "svgIcon": "svgIcon"; "indicatorTemplate": "indicatorTemplate"; "labelTemplate": "labelTemplate"; "stepTemplate": "stepTemplate"; }, {}, never, never>;
54
64
  }
@@ -11,6 +11,7 @@ import { StepperLabelTemplateDirective } from './template-directives/label-templ
11
11
  import { StepperActivateEvent } from './events/activate-event';
12
12
  import { StepperIndicatorTemplateDirective } from './template-directives/indicator-template.directive';
13
13
  import { StepperService } from './stepper.service';
14
+ import { SVGIcon } from '@progress/kendo-svg-icons';
14
15
  import * as i0 from "@angular/core";
15
16
  /**
16
17
  * Represents the [Kendo UI Stepper component for Angular]({% slug overview_stepper %}).
@@ -76,6 +77,22 @@ export declare class StepperComponent implements OnChanges, OnDestroy {
76
77
  */
77
78
  set steps(steps: any[]);
78
79
  get steps(): any[];
80
+ /**
81
+ * Defines an SVG icon to be rendered inside the step indicator instead of the default numeric or text content.
82
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
83
+ */
84
+ set svgIcon(icon: SVGIcon);
85
+ get svgIcon(): SVGIcon;
86
+ /**
87
+ * Defines an SVGIcon to be rendered for the success icon.
88
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
89
+ */
90
+ successSVGIcon: SVGIcon;
91
+ /**
92
+ * Defines an SVGIcon to be rendered for the error icon.
93
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
94
+ */
95
+ errorSVGIcon: SVGIcon;
79
96
  /**
80
97
  * Specifies a custom icon that will be rendered inside the step
81
98
  * for valid previous steps.
@@ -119,6 +136,9 @@ export declare class StepperComponent implements OnChanges, OnDestroy {
119
136
  indicatorTemplate: StepperIndicatorTemplateDirective;
120
137
  private dynamicRTLSubscription;
121
138
  private _steps;
139
+ private _successSVGIcon;
140
+ private _errorSVGIcon;
141
+ private _svgIcon;
122
142
  constructor(renderer: Renderer2, elem: ElementRef, localization: LocalizationService, stepperService: StepperService);
123
143
  ngOnInit(): void;
124
144
  ngOnChanges(changes: SimpleChanges): void;
@@ -160,5 +180,5 @@ export declare class StepperComponent implements OnChanges, OnDestroy {
160
180
  */
161
181
  get isHorizontal(): boolean;
162
182
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
163
- static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "kendo-stepper", ["kendoStepper"], { "stepType": "stepType"; "linear": "linear"; "orientation": "orientation"; "currentStep": "currentStep"; "steps": "steps"; "successIcon": "successIcon"; "errorIcon": "errorIcon"; "animation": "animation"; }, { "activate": "activate"; "currentStepChange": "currentStepChange"; }, ["stepTemplate", "labelTemplate", "indicatorTemplate"], never>;
183
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "kendo-stepper", ["kendoStepper"], { "stepType": "stepType"; "linear": "linear"; "orientation": "orientation"; "currentStep": "currentStep"; "steps": "steps"; "svgIcon": "svgIcon"; "successSVGIcon": "successSVGIcon"; "errorSVGIcon": "errorSVGIcon"; "successIcon": "successIcon"; "errorIcon": "errorIcon"; "animation": "animation"; }, { "activate": "activate"; "currentStepChange": "currentStepChange"; }, ["stepTemplate", "labelTemplate", "indicatorTemplate"], never>;
164
184
  }
@@ -13,12 +13,13 @@ import * as i7 from "./stepper/template-directives/label-template.directive";
13
13
  import * as i8 from "./stepper/template-directives/indicator-template.directive";
14
14
  import * as i9 from "@angular/common";
15
15
  import * as i10 from "@progress/kendo-angular-progressbar";
16
+ import * as i11 from "@progress/kendo-angular-icons";
16
17
  /**
17
18
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
18
19
  * definition for the Stepper component.
19
20
  */
20
21
  export declare class StepperModule {
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<StepperModule, [typeof i1.StepperStepComponent, typeof i2.StepperListComponent, typeof i3.LocalizedStepperMessagesDirective, typeof i4.StepperComponent, typeof i5.StepperCustomMessagesComponent, typeof i6.StepperStepTemplateDirective, typeof i7.StepperLabelTemplateDirective, typeof i8.StepperIndicatorTemplateDirective], [typeof i9.CommonModule, typeof i10.ProgressBarModule], [typeof i4.StepperComponent, typeof i5.StepperCustomMessagesComponent, typeof i6.StepperStepTemplateDirective, typeof i7.StepperLabelTemplateDirective, typeof i8.StepperIndicatorTemplateDirective]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepperModule, [typeof i1.StepperStepComponent, typeof i2.StepperListComponent, typeof i3.LocalizedStepperMessagesDirective, typeof i4.StepperComponent, typeof i5.StepperCustomMessagesComponent, typeof i6.StepperStepTemplateDirective, typeof i7.StepperLabelTemplateDirective, typeof i8.StepperIndicatorTemplateDirective], [typeof i9.CommonModule, typeof i10.ProgressBarModule, typeof i11.IconsModule], [typeof i4.StepperComponent, typeof i5.StepperCustomMessagesComponent, typeof i6.StepperStepTemplateDirective, typeof i7.StepperLabelTemplateDirective, typeof i8.StepperIndicatorTemplateDirective]>;
23
24
  static ɵinj: i0.ɵɵInjectorDeclaration<StepperModule>;
24
25
  }
@@ -2,6 +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 { SVGIcon } from "@progress/kendo-svg-icons";
5
6
  import { TabStripScrollButtonsVisibility } from "./scroll-buttons-visibility";
6
7
  /**
7
8
  * The settings for the scrollable functionality of the TabStrip. ([see example]({% slug scrollable_tabstrip %}))
@@ -46,6 +47,16 @@ export interface TabStripScrollableSettings {
46
47
  * Allows the usage of custom icons.
47
48
  */
48
49
  nextButtonIcon?: string;
50
+ /**
51
+ * Defines an SVGIcon to be rendered for the previous button icon.
52
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
53
+ */
54
+ prevSVGButtonIcon?: SVGIcon;
55
+ /**
56
+ * Defines an SVGIcon to be rendered for the next button icon.
57
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
58
+ */
59
+ nextSVGButtonIcon?: SVGIcon;
49
60
  }
50
61
  /**
51
62
  * @hidden
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { QueryList } from '@angular/core';
6
+ import { SVGIcon } from '@progress/kendo-svg-icons';
6
7
  import { TabContentDirective } from '../directives/tab-content.directive';
7
8
  import { TabTitleDirective } from '../directives/tab-title.directive';
8
9
  import * as i0 from "@angular/core";
@@ -41,11 +42,20 @@ export declare class TabStripTabComponent {
41
42
  */
42
43
  closable: boolean;
43
44
  /**
44
- * Allows defining a custom CSS class, or multiple classes separated by spaces, which will be applied to the close button span element.
45
- * Allows the usage of custom icons.
45
+ * Defines the name for an existing font icon in the Kendo UI theme for the close icon.
46
46
  * This option overrides the value of the TabStrip `closeIcon` option.
47
47
  */
48
48
  closeIcon: string;
49
+ /**
50
+ * Allows the usage of custom icons by defining a custom CSS class, or multiple classes separated by spaces.
51
+ * This option overrides the value of the TabStrip `closeIcon` option.
52
+ */
53
+ closeIconClass: string;
54
+ /**
55
+ * Defines an SVGIcon to be rendered for the close icon.
56
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
57
+ */
58
+ closeSVGIcon: SVGIcon;
49
59
  get tabContent(): TabContentDirective;
50
60
  get tabTitle(): TabTitleDirective;
51
61
  _tabContent: QueryList<TabContentDirective>;
@@ -58,5 +68,5 @@ export declare class TabStripTabComponent {
58
68
  */
59
69
  focused: boolean;
60
70
  static ɵfac: i0.ɵɵFactoryDeclaration<TabStripTabComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<TabStripTabComponent, "kendo-tabstrip-tab", ["kendoTabStripTab"], { "title": "title"; "disabled": "disabled"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "selected": "selected"; "closable": "closable"; "closeIcon": "closeIcon"; }, {}, ["_tabContent", "_tabTitleDirective"], never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabStripTabComponent, "kendo-tabstrip-tab", ["kendoTabStripTab"], { "title": "title"; "disabled": "disabled"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "selected": "selected"; "closable": "closable"; "closeIcon": "closeIcon"; "closeIconClass": "closeIconClass"; "closeSVGIcon": "closeSVGIcon"; }, {}, ["_tabContent", "_tabTitleDirective"], never>;
62
72
  }
@@ -6,6 +6,7 @@ import { TabStripTabComponent } from '../models/tabstrip-tab.component';
6
6
  import { EventEmitter } from '@angular/core';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { TabCloseEvent } from '../events/tabclose-event';
9
+ import { SVGIcon } from '@progress/kendo-svg-icons';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * @hidden
@@ -16,6 +17,8 @@ export declare class TabComponent {
16
17
  index: number;
17
18
  tabStripClosable: boolean;
18
19
  tabStripCloseIcon: string;
20
+ customTabstripCloseIcon: string;
21
+ closeSVGIcon: SVGIcon;
19
22
  tabClose: EventEmitter<TabCloseEvent>;
20
23
  hostClasses: boolean;
21
24
  get activeClass(): boolean;
@@ -25,8 +28,9 @@ export declare class TabComponent {
25
28
  constructor(localization: LocalizationService);
26
29
  get tabClosable(): boolean;
27
30
  get closeButtonClasses(): string;
31
+ get customCloseButtonClasses(): string;
28
32
  get closeButtonTitle(): string;
29
33
  closeTab(index: number): void;
30
34
  static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "[kendoTabStripTab]", never, { "tab": "tab"; "index": "index"; "tabStripClosable": "tabStripClosable"; "tabStripCloseIcon": "tabStripCloseIcon"; }, { "tabClose": "tabClose"; }, never, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "[kendoTabStripTab]", never, { "tab": "tab"; "index": "index"; "tabStripClosable": "tabStripClosable"; "tabStripCloseIcon": "tabStripCloseIcon"; "customTabstripCloseIcon": "customTabstripCloseIcon"; "closeSVGIcon": "closeSVGIcon"; }, { "tabClose": "tabClose"; }, never, never>;
32
36
  }
@@ -7,6 +7,7 @@ import { TabPosition } from './models/tab-position';
7
7
  import { TabStripScrollableSettings } from './models/scrollable-settings';
8
8
  import { TabScrollEvent } from './events/tabscroll-event';
9
9
  import { ScrollButtonType } from './models/scroll-button-type';
10
+ import { SVGIcon } from '@progress/kendo-svg-icons';
10
11
  import * as i0 from "@angular/core";
11
12
  /**
12
13
  * @hidden
@@ -15,7 +16,6 @@ export declare class TabStripScrollableButtonComponent implements AfterViewInit,
15
16
  host: ElementRef;
16
17
  private renderer;
17
18
  private ngZone;
18
- btnClasses: boolean;
19
19
  get prevClass(): boolean;
20
20
  get nextClass(): boolean;
21
21
  prev: boolean;
@@ -25,6 +25,8 @@ export declare class TabStripScrollableButtonComponent implements AfterViewInit,
25
25
  onClick: EventEmitter<ScrollButtonType>;
26
26
  get hostBoundingClientRect(): any;
27
27
  get iconClass(): string;
28
+ get customIconClass(): string;
29
+ get svgIcon(): SVGIcon;
28
30
  private subs;
29
31
  constructor(host: ElementRef, renderer: Renderer2, ngZone: NgZone);
30
32
  ngAfterViewInit(): void;
@@ -32,6 +34,8 @@ export declare class TabStripScrollableButtonComponent implements AfterViewInit,
32
34
  toggle(show: boolean): void;
33
35
  private clickHandler;
34
36
  private get scrollButtonIconClass();
37
+ private get customScrollButtonIconClass();
38
+ private get scrollButtonSVGIcon();
35
39
  private emitScrollEvent;
36
40
  static ɵfac: i0.ɵɵFactoryDeclaration<TabStripScrollableButtonComponent, never>;
37
41
  static ɵcmp: i0.ɵɵComponentDeclaration<TabStripScrollableButtonComponent, "[kendoTabStripScrollableButton]", never, { "prev": "prev"; "tabPosition": "tabPosition"; "scrollable": "scrollable"; }, { "tabScroll": "tabScroll"; "onClick": "onClick"; }, never, never>;
@@ -15,6 +15,7 @@ import { TabStripScrollableSettings } from './models/scrollable-settings';
15
15
  import { TabScrollEvent } from './events/tabscroll-event';
16
16
  import { TabStripScrollableButtonComponent } from './scrollable-button.component';
17
17
  import { ScrollButtonType } from './models/scroll-button-type';
18
+ import { SVGIcon } from '@progress/kendo-svg-icons';
18
19
  import * as i0 from "@angular/core";
19
20
  /**
20
21
  * Represents the [Kendo UI TabStrip component for Angular]({% slug overview_tabstrip %}).
@@ -72,10 +73,19 @@ export declare class TabStripComponent implements AfterViewInit, OnDestroy {
72
73
  set scrollable(value: boolean | TabStripScrollableSettings);
73
74
  get scrollable(): boolean | TabStripScrollableSettings;
74
75
  /**
75
- * Allows defining a custom CSS class, or multiple classes separated by spaces, which will be applied to the close button span element.
76
- * Allows the usage of custom icons.
76
+ * Defines the name for an existing font icon in the Kendo UI theme for the close icon.
77
77
  */
78
78
  closeIcon: string;
79
+ /**
80
+ * Allows defining a custom CSS class, or multiple classes separated by spaces, which will be applied to the close button.
81
+ */
82
+ closeIconClass: string;
83
+ /**
84
+ * Defines an SVGIcon to be rendered for the close icon.
85
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
86
+ */
87
+ set closeSVGIcon(icon: SVGIcon);
88
+ get closeSVGIcon(): SVGIcon;
79
89
  /**
80
90
  * Fires each time the user selects a tab ([see example]({% slug overview_tabstrip %}#toc-basic-usage)).
81
91
  * The event data contains the index of the selected tab and its title.
@@ -126,6 +136,7 @@ export declare class TabStripComponent implements AfterViewInit, OnDestroy {
126
136
  private _scrollableSettings;
127
137
  private subscriptions;
128
138
  private subscriptionsArePresent;
139
+ private _closeSVGIcon;
129
140
  constructor(localization: LocalizationService, renderer: Renderer2, wrapper: ElementRef, tabstripService: TabStripService, scrollService: ScrollService, ngZone: NgZone);
130
141
  ngAfterViewInit(): void;
131
142
  ngOnChanges(changes: SimpleChanges): void;
@@ -183,5 +194,5 @@ export declare class TabStripComponent implements AfterViewInit, OnDestroy {
183
194
  private toggleScrollButtons;
184
195
  private attachWheelHandler;
185
196
  static ɵfac: i0.ɵɵFactoryDeclaration<TabStripComponent, never>;
186
- static ɵcmp: i0.ɵɵComponentDeclaration<TabStripComponent, "kendo-tabstrip", ["kendoTabStrip"], { "height": "height"; "animate": "animate"; "tabAlignment": "tabAlignment"; "tabPosition": "tabPosition"; "keepTabContent": "keepTabContent"; "closable": "closable"; "scrollable": "scrollable"; "closeIcon": "closeIcon"; }, { "tabSelect": "tabSelect"; "tabClose": "tabClose"; "tabScroll": "tabScroll"; }, ["tabs"], never>;
197
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabStripComponent, "kendo-tabstrip", ["kendoTabStrip"], { "height": "height"; "animate": "animate"; "tabAlignment": "tabAlignment"; "tabPosition": "tabPosition"; "keepTabContent": "keepTabContent"; "closable": "closable"; "scrollable": "scrollable"; "closeIcon": "closeIcon"; "closeIconClass": "closeIconClass"; "closeSVGIcon": "closeSVGIcon"; }, { "tabSelect": "tabSelect"; "tabClose": "tabClose"; "tabScroll": "tabScroll"; }, ["tabs"], never>;
187
198
  }
@@ -13,6 +13,8 @@ import * as i7 from "./tabstrip/localization/localized-messages.directive";
13
13
  import * as i8 from "./tabstrip/scrollable-button.component";
14
14
  import * as i9 from "@angular/common";
15
15
  import * as i10 from "@progress/kendo-angular-common";
16
+ import * as i11 from "@progress/kendo-angular-icons";
17
+ import * as i12 from "@progress/kendo-angular-buttons";
16
18
  /**
17
19
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
18
20
  * definition for the TabStrip component.
@@ -25,6 +27,6 @@ import * as i10 from "@progress/kendo-angular-common";
25
27
  */
26
28
  export declare class TabStripModule {
27
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TabStripModule, never>;
28
- static ɵmod: i0.ɵɵNgModuleDeclaration<TabStripModule, [typeof i1.TabStripComponent, typeof i2.TabStripTabComponent, typeof i3.TabContentDirective, typeof i4.TabTitleDirective, typeof i5.TabComponent, typeof i6.TabStripCustomMessagesComponent, typeof i7.LocalizedTabStripMessagesDirective, typeof i8.TabStripScrollableButtonComponent], [typeof i9.CommonModule, typeof i10.ResizeSensorModule], [typeof i1.TabStripComponent, typeof i2.TabStripTabComponent, typeof i3.TabContentDirective, typeof i4.TabTitleDirective, typeof i5.TabComponent, typeof i6.TabStripCustomMessagesComponent, typeof i7.LocalizedTabStripMessagesDirective]>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TabStripModule, [typeof i1.TabStripComponent, typeof i2.TabStripTabComponent, typeof i3.TabContentDirective, typeof i4.TabTitleDirective, typeof i5.TabComponent, typeof i6.TabStripCustomMessagesComponent, typeof i7.LocalizedTabStripMessagesDirective, typeof i8.TabStripScrollableButtonComponent], [typeof i9.CommonModule, typeof i10.ResizeSensorModule, typeof i11.IconsModule, typeof i12.ButtonModule], [typeof i1.TabStripComponent, typeof i2.TabStripTabComponent, typeof i3.TabContentDirective, typeof i4.TabTitleDirective, typeof i5.TabComponent, typeof i6.TabStripCustomMessagesComponent, typeof i7.LocalizedTabStripMessagesDirective]>;
29
31
  static ɵinj: i0.ɵɵInjectorDeclaration<TabStripModule>;
30
32
  }