@progress/kendo-angular-toolbar 24.2.2 → 25.0.0-develop.2
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/fesm2022/progress-kendo-angular-toolbar.mjs +60 -60
- package/index.d.ts +1529 -21
- package/package-metadata.mjs +2 -2
- package/package.json +13 -13
- package/common/fillmode.d.ts +0 -8
- package/common/overflow-mode.d.ts +0 -8
- package/common/overflow-settings.d.ts +0 -45
- package/common/preventable-event.d.ts +0 -21
- package/common/renderer-click.d.ts +0 -12
- package/common/scroll-buttons.d.ts +0 -22
- package/common/size.d.ts +0 -8
- package/direction.d.ts +0 -8
- package/directives.d.ts +0 -35
- package/display-mode.d.ts +0 -16
- package/group-selection-settings.d.ts +0 -9
- package/localization/custom-messages.component.d.ts +0 -30
- package/localization/localized-toolbar-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -25
- package/navigation.service.d.ts +0 -36
- package/package-metadata.d.ts +0 -9
- package/popup-settings.d.ts +0 -60
- package/refresh.service.d.ts +0 -16
- package/render-location.d.ts +0 -8
- package/renderer.component.d.ts +0 -47
- package/renderer.service.d.ts +0 -24
- package/scroll.service.d.ts +0 -43
- package/scrollable-button.component.d.ts +0 -40
- package/tool-options.d.ts +0 -15
- package/toolbar.component.d.ts +0 -316
- package/toolbar.module.d.ts +0 -32
- package/tools/toolbar-button.component.d.ts +0 -198
- package/tools/toolbar-buttongroup.component.d.ts +0 -117
- package/tools/toolbar-dropdownbutton.component.d.ts +0 -195
- package/tools/toolbar-separator.component.d.ts +0 -40
- package/tools/toolbar-spacer.component.d.ts +0 -43
- package/tools/toolbar-splitbutton.component.d.ts +0 -194
- package/tools/toolbar-tool.component.d.ts +0 -77
- package/tools/tools.service.d.ts +0 -21
- package/util.d.ts +0 -115
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef, EventEmitter, OnInit, QueryList, Renderer2, NgZone } from '@angular/core';
|
|
6
|
-
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
7
|
-
import { PopupSettings } from '../popup-settings';
|
|
8
|
-
import { ArrowIconSettings, ButtonFillMode, ButtonThemeColor, DropDownButtonComponent } from '@progress/kendo-angular-buttons';
|
|
9
|
-
import { DisplayMode } from '../display-mode';
|
|
10
|
-
import { ToolOptions } from '../tool-options';
|
|
11
|
-
import { PreventableEvent } from '@progress/kendo-angular-buttons';
|
|
12
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
13
|
-
import { ToolBarComponent } from '../toolbar.component';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/**
|
|
16
|
-
* Represents the [Kendo UI ToolBar DropDownButton for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons).
|
|
17
|
-
*
|
|
18
|
-
* Use this component to add a button that opens a popup with a list of items in the ToolBar.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-toolbar>
|
|
23
|
-
* <kendo-toolbar-dropdownbutton text="Paste Variations" [data]="data">
|
|
24
|
-
* </kendo-toolbar-dropdownbutton>
|
|
25
|
-
* </kendo-toolbar>
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent implements OnInit {
|
|
30
|
-
private zone;
|
|
31
|
-
private renderer;
|
|
32
|
-
private host;
|
|
33
|
-
/**
|
|
34
|
-
* Shows the default arrow icon or lets you provide a custom one.
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
arrowIcon: boolean | ArrowIconSettings;
|
|
38
|
-
/**
|
|
39
|
-
* Sets the `title` attribute of the underlying button element.
|
|
40
|
-
* @default ''
|
|
41
|
-
*
|
|
42
|
-
* @remarks
|
|
43
|
-
* This property is related to accessibility.
|
|
44
|
-
*/
|
|
45
|
-
title: string;
|
|
46
|
-
/**
|
|
47
|
-
* Controls the button text visibility.
|
|
48
|
-
* @default 'always'
|
|
49
|
-
*/
|
|
50
|
-
set showText(value: DisplayMode);
|
|
51
|
-
get showText(): DisplayMode;
|
|
52
|
-
/**
|
|
53
|
-
* Controls the button icon visibility.
|
|
54
|
-
* @default 'always'
|
|
55
|
-
*/
|
|
56
|
-
set showIcon(value: DisplayMode);
|
|
57
|
-
get showIcon(): DisplayMode;
|
|
58
|
-
/**
|
|
59
|
-
* Sets the text of the DropDownButton
|
|
60
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons)).
|
|
61
|
-
*/
|
|
62
|
-
set text(text: string);
|
|
63
|
-
get text(): string;
|
|
64
|
-
/**
|
|
65
|
-
* Sets the icon rendered next to the button text.
|
|
66
|
-
*/
|
|
67
|
-
set icon(icon: string);
|
|
68
|
-
/**
|
|
69
|
-
* Sets the `SVGIcon` rendered in the button.
|
|
70
|
-
* Accepts an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
71
|
-
*/
|
|
72
|
-
set svgIcon(icon: SVGIcon);
|
|
73
|
-
/**
|
|
74
|
-
* Sets a custom CSS class icon rendered next to the button text.
|
|
75
|
-
*/
|
|
76
|
-
set iconClass(iconClass: string);
|
|
77
|
-
/**
|
|
78
|
-
* Sets a URL for the image displayed next to the button text.
|
|
79
|
-
*/
|
|
80
|
-
set imageUrl(imageUrl: string);
|
|
81
|
-
/**
|
|
82
|
-
* Configures the popup of the DropDownButton.
|
|
83
|
-
* Accepts a `PopupSettings` object that allows you to customize the popup behavior and appearance.
|
|
84
|
-
*/
|
|
85
|
-
set popupSettings(settings: PopupSettings);
|
|
86
|
-
get popupSettings(): PopupSettings;
|
|
87
|
-
/**
|
|
88
|
-
* @hidden
|
|
89
|
-
*/
|
|
90
|
-
set look(look: 'default' | 'flat' | 'outline');
|
|
91
|
-
/**
|
|
92
|
-
* @hidden
|
|
93
|
-
*/
|
|
94
|
-
set primary(primary: boolean);
|
|
95
|
-
/**
|
|
96
|
-
* Sets the fill mode for the button.
|
|
97
|
-
* The fill mode represents the background and border styles. The default value is set by the Kendo theme.
|
|
98
|
-
*/
|
|
99
|
-
fillMode: ButtonFillMode;
|
|
100
|
-
/**
|
|
101
|
-
* Sets the predefined theme color for the button.
|
|
102
|
-
* The theme color applies to the background, border, and text
|
|
103
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/dropdownbuttoncomponent#themecolor)). The default value is set by the Kendo theme.
|
|
104
|
-
*/
|
|
105
|
-
themeColor: ButtonThemeColor;
|
|
106
|
-
/**
|
|
107
|
-
* Sets the CSS classes for the main button.
|
|
108
|
-
* Accepts values supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
109
|
-
*/
|
|
110
|
-
buttonClass: string;
|
|
111
|
-
/**
|
|
112
|
-
* Sets the data item field that repesents the item text.
|
|
113
|
-
* If the data contains only primitive values, do not set this property.
|
|
114
|
-
*/
|
|
115
|
-
textField: string;
|
|
116
|
-
/**
|
|
117
|
-
* When `true`, disables the DropDownButton.
|
|
118
|
-
*/
|
|
119
|
-
disabled: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Sets the data of the DropDownButton
|
|
122
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons)).
|
|
123
|
-
*
|
|
124
|
-
* > Provide the data as an array-like list.
|
|
125
|
-
*/
|
|
126
|
-
set data(data: any[]);
|
|
127
|
-
get data(): any[];
|
|
128
|
-
/**
|
|
129
|
-
* Fires each time the user clicks a DropDownButton item.
|
|
130
|
-
* The event data contains the clicked item's data.
|
|
131
|
-
*/
|
|
132
|
-
itemClick: EventEmitter<any>;
|
|
133
|
-
/**
|
|
134
|
-
* Fires when the popup is about to open.
|
|
135
|
-
* This event is preventable. If you cancel the event, the popup stays closed.
|
|
136
|
-
*/
|
|
137
|
-
open: EventEmitter<PreventableEvent>;
|
|
138
|
-
/**
|
|
139
|
-
* Fires when the popup is about to close.
|
|
140
|
-
* This event is preventable. If you cancel the event, the popup stays open.
|
|
141
|
-
*/
|
|
142
|
-
close: EventEmitter<PreventableEvent>;
|
|
143
|
-
dropdownButton: ElementRef;
|
|
144
|
-
toolbarDropDownButton: DropDownButtonComponent;
|
|
145
|
-
sectionDropDownButton: DropDownButtonComponent;
|
|
146
|
-
overflowListItems: QueryList<ElementRef>;
|
|
147
|
-
toolbarOptions: ToolOptions;
|
|
148
|
-
overflowOptions: ToolOptions;
|
|
149
|
-
private get overflowButtons();
|
|
150
|
-
private _data;
|
|
151
|
-
private _popupSettings;
|
|
152
|
-
private focusedIndex;
|
|
153
|
-
private _showText;
|
|
154
|
-
private _showIcon;
|
|
155
|
-
private _text;
|
|
156
|
-
private propertyChangeSub;
|
|
157
|
-
private getNextKey;
|
|
158
|
-
private getPrevKey;
|
|
159
|
-
constructor(zone: NgZone, renderer: Renderer2, host: ToolBarComponent);
|
|
160
|
-
ngOnInit(): void;
|
|
161
|
-
ngOnDestroy(): void;
|
|
162
|
-
ngAfterViewInit(): void;
|
|
163
|
-
/**
|
|
164
|
-
* @hidden
|
|
165
|
-
*/
|
|
166
|
-
onButtonListClick(ev: MouseEvent): void;
|
|
167
|
-
/**
|
|
168
|
-
* @hidden
|
|
169
|
-
*/
|
|
170
|
-
get size(): any;
|
|
171
|
-
/**
|
|
172
|
-
* @hidden
|
|
173
|
-
*/
|
|
174
|
-
canFocus(): boolean;
|
|
175
|
-
/**
|
|
176
|
-
* @hidden
|
|
177
|
-
*/
|
|
178
|
-
focus(ev?: Partial<Event>): void;
|
|
179
|
-
/**
|
|
180
|
-
* @hidden
|
|
181
|
-
*/
|
|
182
|
-
handleKey(ev: any): boolean;
|
|
183
|
-
/**
|
|
184
|
-
* @hidden
|
|
185
|
-
*/
|
|
186
|
-
getText(dataItem: any): any;
|
|
187
|
-
/**
|
|
188
|
-
* @hidden
|
|
189
|
-
*/
|
|
190
|
-
handleClick(ev: any, item: any, index: number): void;
|
|
191
|
-
private focusButton;
|
|
192
|
-
private setTextDisplayMode;
|
|
193
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarDropDownButtonComponent, never>;
|
|
194
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarDropDownButtonComponent, "kendo-toolbar-dropdownbutton", ["kendoToolBarDropDownButton"], { "arrowIcon": { "alias": "arrowIcon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "look": { "alias": "look"; "required": false; }; "primary": { "alias": "primary"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "itemClick": "itemClick"; "open": "open"; "close": "close"; }, never, never, true, never>;
|
|
195
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
6
|
-
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the [Kendo UI ToolBar Separator for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#separators).
|
|
10
|
-
*
|
|
11
|
-
* Use this component to add a visual separator between ToolBar tools.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-toolbar>
|
|
16
|
-
* <kendo-toolbar-button text="Button 1"></kendo-toolbar-button>
|
|
17
|
-
* <kendo-toolbar-separator></kendo-toolbar-separator>
|
|
18
|
-
* <kendo-toolbar-button text="Button 2"></kendo-toolbar-button>
|
|
19
|
-
* </kendo-toolbar>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare class ToolBarSeparatorComponent extends ToolBarToolComponent implements AfterViewInit {
|
|
23
|
-
separator: ElementRef;
|
|
24
|
-
constructor();
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
canFocus(): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
focus(): void;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
handleKey(): boolean;
|
|
37
|
-
ngAfterViewInit(): void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarSeparatorComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSeparatorComponent, "kendo-toolbar-separator", ["kendoToolBarSeparator"], {}, {}, never, never, true, never>;
|
|
40
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { AfterViewInit } from '@angular/core';
|
|
6
|
-
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the [Kendo UI ToolBar Spacer for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#separators).
|
|
10
|
-
*
|
|
11
|
-
* Use the ToolBar Spacer to add flexible space between ToolBar tools.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-toolbar>
|
|
16
|
-
* <kendo-toolbar-button text="Button 1"></kendo-toolbar-button>
|
|
17
|
-
* <kendo-toolbar-spacer></kendo-toolbar-spacer>
|
|
18
|
-
* <kendo-toolbar-button text="Button 2"></kendo-toolbar-button>
|
|
19
|
-
* </kendo-toolbar>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare class ToolBarSpacerComponent extends ToolBarToolComponent implements AfterViewInit {
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
readonly __isSpacer = true;
|
|
27
|
-
constructor();
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
canFocus(): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
focus(): void;
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
handleKey(): boolean;
|
|
40
|
-
ngAfterViewInit(): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarSpacerComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSpacerComponent, "kendo-toolbar-spacer", ["kendoToolBarSpacer"], {}, {}, never, never, true, never>;
|
|
43
|
-
}
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
6
|
-
import { ButtonFillMode, ButtonThemeColor } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
8
|
-
import { PopupSettings } from '../popup-settings';
|
|
9
|
-
import { DisplayMode } from '../display-mode';
|
|
10
|
-
import { ToolOptions } from '../tool-options';
|
|
11
|
-
import { PreventableEvent } from '@progress/kendo-angular-buttons';
|
|
12
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
13
|
-
import { ToolBarComponent } from '../toolbar.component';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/**
|
|
16
|
-
* Represents the [Kendo UI ToolBar SplitButton for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons).
|
|
17
|
-
*
|
|
18
|
-
* Use the ToolBar SplitButton to create a split button with a main button and a drop-down list of actions in the ToolBar.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-toolbar>
|
|
23
|
-
* <kendo-toolbar-splitbutton text="Paste" [data]="data">
|
|
24
|
-
* </kendo-toolbar-splitbutton>
|
|
25
|
-
* </kendo-toolbar>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent implements OnInit {
|
|
29
|
-
private host;
|
|
30
|
-
/**
|
|
31
|
-
* Controls the button text visibility.
|
|
32
|
-
* @default 'always'
|
|
33
|
-
*/
|
|
34
|
-
set showText(value: DisplayMode);
|
|
35
|
-
get showText(): DisplayMode;
|
|
36
|
-
/**
|
|
37
|
-
* Controls the button icon visibility.
|
|
38
|
-
* @default 'always'
|
|
39
|
-
*/
|
|
40
|
-
set showIcon(value: DisplayMode);
|
|
41
|
-
get showIcon(): DisplayMode;
|
|
42
|
-
/**
|
|
43
|
-
* Sets the text of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
44
|
-
*/
|
|
45
|
-
set text(text: string);
|
|
46
|
-
get text(): string;
|
|
47
|
-
/**
|
|
48
|
-
* Sets the icon rendered next to the button text
|
|
49
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
50
|
-
*/
|
|
51
|
-
set icon(icon: string);
|
|
52
|
-
/**
|
|
53
|
-
* Sets the `SVGIcon` rendered in the main button.
|
|
54
|
-
* Accepts an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
55
|
-
*/
|
|
56
|
-
set svgIcon(icon: SVGIcon);
|
|
57
|
-
/**
|
|
58
|
-
* Sets a custom CSS class icon rendered next to the button text.
|
|
59
|
-
*/
|
|
60
|
-
set iconClass(iconClass: string);
|
|
61
|
-
/**
|
|
62
|
-
* Sets a URL for the image displayed next to the button text.
|
|
63
|
-
*/
|
|
64
|
-
set imageUrl(imageUrl: string);
|
|
65
|
-
/**
|
|
66
|
-
* When `true`, disables a SplitButton item.
|
|
67
|
-
*/
|
|
68
|
-
disabled: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Configures the popup of the SplitButton.
|
|
71
|
-
* Accepts a `PopupSettings` object that allows you to customize the popup behavior and appearance.
|
|
72
|
-
|
|
73
|
-
*/
|
|
74
|
-
set popupSettings(value: PopupSettings);
|
|
75
|
-
get popupSettings(): PopupSettings;
|
|
76
|
-
/**
|
|
77
|
-
* Sets the fill mode for the button.
|
|
78
|
-
* The fill mode represents the background and border styles. The default value is set by the Kendo theme.
|
|
79
|
-
*/
|
|
80
|
-
fillMode: ButtonFillMode;
|
|
81
|
-
/**
|
|
82
|
-
* Sets the predefined theme color for the button.
|
|
83
|
-
* The theme color applies to the background, border, and text. The default value is set by the Kendo theme.
|
|
84
|
-
*/
|
|
85
|
-
themeColor: ButtonThemeColor;
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
set look(look: 'default' | 'flat' | 'outline');
|
|
90
|
-
/**
|
|
91
|
-
* Sets the CSS classes for the main button.
|
|
92
|
-
* Accepts values supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
93
|
-
*/
|
|
94
|
-
buttonClass: string;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the CSS classes for the arrow button that opens the popup.
|
|
97
|
-
* Accepts values supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
98
|
-
*/
|
|
99
|
-
arrowButtonClass: any;
|
|
100
|
-
/**
|
|
101
|
-
* Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list) for the arrow button.
|
|
102
|
-
*/
|
|
103
|
-
arrowButtonIcon: string;
|
|
104
|
-
/**
|
|
105
|
-
* Sets the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) for the arrow button.
|
|
106
|
-
*/
|
|
107
|
-
arrowButtonSvgIcon: SVGIcon;
|
|
108
|
-
/**
|
|
109
|
-
* Sets the text field for the button-list popup.
|
|
110
|
-
* @default 'text'
|
|
111
|
-
*/
|
|
112
|
-
textField: string;
|
|
113
|
-
/**
|
|
114
|
-
* Sets the data of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
115
|
-
*
|
|
116
|
-
* > Provide the data as an array-like list.
|
|
117
|
-
*/
|
|
118
|
-
set data(data: any[]);
|
|
119
|
-
get data(): any[];
|
|
120
|
-
/**
|
|
121
|
-
* Fires when the user clicks the main button.
|
|
122
|
-
*/
|
|
123
|
-
buttonClick: EventEmitter<any>;
|
|
124
|
-
/**
|
|
125
|
-
* Fires when the user clicks a drop-down list item.
|
|
126
|
-
* The event data contains the clicked item's data.
|
|
127
|
-
*/
|
|
128
|
-
itemClick: EventEmitter<any>;
|
|
129
|
-
/**
|
|
130
|
-
* Fires when the popup is about to open.
|
|
131
|
-
* This event is preventable. If you cancel the event, the popup stays closed.
|
|
132
|
-
*/
|
|
133
|
-
open: EventEmitter<PreventableEvent>;
|
|
134
|
-
/**
|
|
135
|
-
* Fires when the popup is about to close.
|
|
136
|
-
* This event is preventable. If you cancel the event, the popup stays open.
|
|
137
|
-
*/
|
|
138
|
-
close: EventEmitter<PreventableEvent>;
|
|
139
|
-
toolbarOptions: ToolOptions;
|
|
140
|
-
overflowOptions: ToolOptions;
|
|
141
|
-
ngOnInit(): void;
|
|
142
|
-
ngOnDestroy(): void;
|
|
143
|
-
private get overflowButtons();
|
|
144
|
-
private _data;
|
|
145
|
-
private _popupSettings;
|
|
146
|
-
private focusedIndex;
|
|
147
|
-
private _showText;
|
|
148
|
-
private _showIcon;
|
|
149
|
-
private _text;
|
|
150
|
-
private propertyChangeSub;
|
|
151
|
-
private getNextKey;
|
|
152
|
-
private getPrevKey;
|
|
153
|
-
private toolbarSplitButton;
|
|
154
|
-
private sectionSplitButton;
|
|
155
|
-
private overflowMainButton;
|
|
156
|
-
overflowListItems: QueryList<ElementRef>;
|
|
157
|
-
constructor(host: ToolBarComponent);
|
|
158
|
-
/**
|
|
159
|
-
* @hidden
|
|
160
|
-
*/
|
|
161
|
-
onButtonListClick(ev: MouseEvent): void;
|
|
162
|
-
/**
|
|
163
|
-
* @hidden
|
|
164
|
-
*/
|
|
165
|
-
onMainButtonClick(ev: MouseEvent): void;
|
|
166
|
-
/**
|
|
167
|
-
* @hidden
|
|
168
|
-
*/
|
|
169
|
-
canFocus(): boolean;
|
|
170
|
-
/**
|
|
171
|
-
* @hidden
|
|
172
|
-
*/
|
|
173
|
-
get size(): any;
|
|
174
|
-
/**
|
|
175
|
-
* @hidden
|
|
176
|
-
*/
|
|
177
|
-
focus(ev?: Partial<Event>): void;
|
|
178
|
-
/**
|
|
179
|
-
* @hidden
|
|
180
|
-
*/
|
|
181
|
-
handleKey(ev: any): boolean;
|
|
182
|
-
/**
|
|
183
|
-
* @hidden
|
|
184
|
-
*/
|
|
185
|
-
getText(dataItem: any): any;
|
|
186
|
-
/**
|
|
187
|
-
* @hidden
|
|
188
|
-
*/
|
|
189
|
-
handleClick(ev: any, item: any, index: number): void;
|
|
190
|
-
private focusButton;
|
|
191
|
-
private setTextDisplayMode;
|
|
192
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarSplitButtonComponent, never>;
|
|
193
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSplitButtonComponent, "kendo-toolbar-splitbutton", ["kendoToolBarSplitButton"], { "showText": { "alias": "showText"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "look": { "alias": "look"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "arrowButtonClass": { "alias": "arrowButtonClass"; "required": false; }; "arrowButtonIcon": { "alias": "arrowButtonIcon"; "required": false; }; "arrowButtonSvgIcon": { "alias": "arrowButtonSvgIcon"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "open": "open"; "close": "close"; }, never, never, true, never>;
|
|
194
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef, ElementRef } from '@angular/core';
|
|
6
|
-
import { RenderLocation } from '../render-location';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the base ToolBar Tool component for Angular.
|
|
10
|
-
*
|
|
11
|
-
* Extend this class to create a custom tool for the ToolBar.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import { Component } from '@angular/core';
|
|
16
|
-
* import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
|
|
17
|
-
*
|
|
18
|
-
* @Component({
|
|
19
|
-
* providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => CustomToolComponent) }],
|
|
20
|
-
* selector: 'custom-tool',
|
|
21
|
-
* })
|
|
22
|
-
*
|
|
23
|
-
* export class CustomToolComponent extends ToolBarToolComponent {
|
|
24
|
-
*
|
|
25
|
-
* constructor() {
|
|
26
|
-
* super();
|
|
27
|
-
* }
|
|
28
|
-
* }
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export declare class ToolBarToolComponent {
|
|
32
|
-
toolbarTemplate: TemplateRef<any>;
|
|
33
|
-
sectionTemplate: TemplateRef<any>;
|
|
34
|
-
popupTemplate: TemplateRef<any>;
|
|
35
|
-
tabIndex: number;
|
|
36
|
-
overflows: boolean;
|
|
37
|
-
visibility: string;
|
|
38
|
-
element: ElementRef;
|
|
39
|
-
isBuiltInTool: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
isHidden: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* @hidden
|
|
46
|
-
*/
|
|
47
|
-
location: RenderLocation;
|
|
48
|
-
constructor();
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
responsive: boolean;
|
|
53
|
-
get toolbarDisplay(): string;
|
|
54
|
-
get overflowDisplay(): string;
|
|
55
|
-
/**
|
|
56
|
-
* Determines if the tool can receive focus.
|
|
57
|
-
* Returns `true` if the tool participates in keyboard navigation.
|
|
58
|
-
* @returns `true` if the tool is focusable.
|
|
59
|
-
*/
|
|
60
|
-
canFocus(): boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Called when the tool receives focus.
|
|
63
|
-
* Accepts the original browser event, which can be a `KeyboardEvent`, `MouseEvent`, or `FocusEvent`.
|
|
64
|
-
* @param {Event} _ev - The event that triggers focus for the tool.
|
|
65
|
-
*/
|
|
66
|
-
focus(_ev?: Event): void;
|
|
67
|
-
/**
|
|
68
|
-
* Called when the tool is focused and an arrow key is pressed.
|
|
69
|
-
* Returns a boolean value that determines if the `ToolBarComponent` moves focus to the next or previous tool
|
|
70
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/custom-control-types#adding-keyboard-navigation)).
|
|
71
|
-
* @param {KeyboardEvent} _ev - The last pressed arrow key.
|
|
72
|
-
* @returns `true` if focus moves to another tool.
|
|
73
|
-
*/
|
|
74
|
-
handleKey(_ev: KeyboardEvent): boolean;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarToolComponent, never>;
|
|
76
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolBarToolComponent, never, never, { "responsive": { "alias": "responsive"; "required": false; }; }, {}, never, never, true, never>;
|
|
77
|
-
}
|
package/tools/tools.service.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ToolBarRendererComponent } from '../renderer.component';
|
|
6
|
-
import { Subject } from 'rxjs';
|
|
7
|
-
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class ToolbarToolsService {
|
|
13
|
-
renderedToolsChange: Subject<ToolBarRendererComponent[]>;
|
|
14
|
-
overflowToolsChange: Subject<ToolBarRendererComponent[]>;
|
|
15
|
-
renderedTools: ToolBarRendererComponent[];
|
|
16
|
-
overflowTools: ToolBarRendererComponent[];
|
|
17
|
-
allTools: ToolBarToolComponent[];
|
|
18
|
-
reset(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarToolsService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarToolsService>;
|
|
21
|
-
}
|