@progress/kendo-angular-toolbar 19.1.0 → 19.1.1-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/common/fillmode.d.ts +1 -1
- package/common/overflow-mode.d.ts +1 -1
- package/common/overflow-settings.d.ts +8 -16
- package/common/scroll-buttons.d.ts +12 -2
- package/common/size.d.ts +1 -1
- package/display-mode.d.ts +5 -5
- package/esm2022/localization/custom-messages.component.mjs +14 -1
- package/esm2022/localization/messages.mjs +3 -3
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/toolbar.component.mjs +28 -22
- package/esm2022/toolbar.module.mjs +2 -2
- package/esm2022/tools/toolbar-button.component.mjs +38 -39
- package/esm2022/tools/toolbar-buttongroup.component.mjs +20 -11
- package/esm2022/tools/toolbar-dropdownbutton.component.mjs +39 -47
- package/esm2022/tools/toolbar-separator.component.mjs +11 -0
- package/esm2022/tools/toolbar-spacer.component.mjs +11 -0
- package/esm2022/tools/toolbar-splitbutton.component.mjs +45 -54
- package/esm2022/tools/toolbar-tool.component.mjs +31 -12
- package/fesm2022/progress-kendo-angular-toolbar.mjs +244 -193
- package/group-selection-settings.d.ts +2 -2
- package/localization/custom-messages.component.d.ts +14 -1
- package/localization/messages.d.ts +3 -3
- package/package.json +9 -9
- package/popup-settings.d.ts +23 -20
- package/toolbar.component.d.ts +28 -22
- package/toolbar.module.d.ts +2 -2
- package/tools/toolbar-button.component.d.ts +38 -39
- package/tools/toolbar-buttongroup.component.d.ts +20 -11
- package/tools/toolbar-dropdownbutton.component.d.ts +39 -47
- package/tools/toolbar-separator.component.d.ts +11 -0
- package/tools/toolbar-spacer.component.d.ts +11 -0
- package/tools/toolbar-splitbutton.component.d.ts +45 -54
- package/tools/toolbar-tool.component.d.ts +31 -12
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* [`ToolBarButtonGroupComponent`]({% slug api_toolbar_toolbarbuttongroupcomponent %}).
|
|
6
|
+
* Тhe selection mode for the ToolBar ButtonGroup.
|
|
7
|
+
* For more information, see [`ToolBarButtonGroupComponent`]({% slug api_toolbar_toolbarbuttongroupcomponent %}).
|
|
8
8
|
*/
|
|
9
9
|
export type ButtonGroupSelection = "single" | "multiple";
|
|
@@ -6,7 +6,20 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
6
6
|
import { ToolbarMessages } from './messages';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Represents the custom messages component of the ToolBar.
|
|
10
|
+
*
|
|
11
|
+
* Use this component to override default messages for the ToolBar.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```html
|
|
15
|
+
* <kendo-toolbar>
|
|
16
|
+
* <kendo-toolbar-messages
|
|
17
|
+
* moreToolsTitle="More options"
|
|
18
|
+
* previousToolButton="Previous"
|
|
19
|
+
* nextToolButton="Next">
|
|
20
|
+
* </kendo-toolbar-messages>
|
|
21
|
+
* </kendo-toolbar>
|
|
22
|
+
* ```
|
|
10
23
|
*/
|
|
11
24
|
export declare class ToolbarCustomMessagesComponent extends ToolbarMessages {
|
|
12
25
|
protected service: LocalizationService;
|
|
@@ -9,15 +9,15 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class ToolbarMessages extends ComponentMessages {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Sets the title of the **More Tools** button in a responsive ToolBar.
|
|
13
13
|
*/
|
|
14
14
|
moreToolsTitle: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Sets the title for the **Previous Tool** button when the ToolBar is scrollable.
|
|
17
17
|
*/
|
|
18
18
|
previousToolButton: string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Sets the title for the **Next Tool** button when the ToolBar is scrollable.
|
|
21
21
|
*/
|
|
22
22
|
nextToolButton: string;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarMessages, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-toolbar",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.1-develop.2",
|
|
4
4
|
"description": "Kendo UI Angular Toolbar component - a single UI element that organizes buttons and other navigation elements",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"package": {
|
|
46
46
|
"productName": "Kendo UI for Angular",
|
|
47
47
|
"productCode": "KENDOUIANGULAR",
|
|
48
|
-
"publishDate":
|
|
48
|
+
"publishDate": 1749196669,
|
|
49
49
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
"@angular/core": "16 - 20",
|
|
56
56
|
"@angular/platform-browser": "16 - 20",
|
|
57
57
|
"@progress/kendo-licensing": "^1.5.0",
|
|
58
|
-
"@progress/kendo-angular-buttons": "19.1.
|
|
59
|
-
"@progress/kendo-angular-common": "19.1.
|
|
60
|
-
"@progress/kendo-angular-l10n": "19.1.
|
|
61
|
-
"@progress/kendo-angular-icons": "19.1.
|
|
62
|
-
"@progress/kendo-angular-indicators": "19.1.
|
|
63
|
-
"@progress/kendo-angular-popup": "19.1.
|
|
58
|
+
"@progress/kendo-angular-buttons": "19.1.1-develop.2",
|
|
59
|
+
"@progress/kendo-angular-common": "19.1.1-develop.2",
|
|
60
|
+
"@progress/kendo-angular-l10n": "19.1.1-develop.2",
|
|
61
|
+
"@progress/kendo-angular-icons": "19.1.1-develop.2",
|
|
62
|
+
"@progress/kendo-angular-indicators": "19.1.1-develop.2",
|
|
63
|
+
"@progress/kendo-angular-popup": "19.1.1-develop.2",
|
|
64
64
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"tslib": "^2.3.1",
|
|
68
|
-
"@progress/kendo-angular-schematics": "19.1.
|
|
68
|
+
"@progress/kendo-angular-schematics": "19.1.1-develop.2"
|
|
69
69
|
},
|
|
70
70
|
"schematics": "./schematics/collection.json",
|
|
71
71
|
"module": "fesm2022/progress-kendo-angular-toolbar.mjs",
|
package/popup-settings.d.ts
CHANGED
|
@@ -5,53 +5,56 @@
|
|
|
5
5
|
import { ViewContainerRef } from '@angular/core';
|
|
6
6
|
import { Align } from '@progress/kendo-angular-popup';
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Configures the options for the popup container.
|
|
9
|
+
*
|
|
10
|
+
* Represents the Kendo UI for Angular ToolBar popup settings.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
11
13
|
* ```ts
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
14
|
+
* @Component({
|
|
15
|
+
* selector: 'my-app',
|
|
16
|
+
* template: `
|
|
17
|
+
* <kendo-toolbar [overflow]="true" [popupSettings]="{ animate: false }">
|
|
18
|
+
* <kendo-toolbar-button text="my button"></kendo-toolbar-button>
|
|
19
|
+
* </kendo-toolbar>
|
|
20
|
+
* `
|
|
19
21
|
* })
|
|
20
22
|
* class AppComponent { }
|
|
21
|
-
*
|
|
22
23
|
* ```
|
|
23
24
|
*/
|
|
24
25
|
export interface PopupSettings {
|
|
25
26
|
/**
|
|
26
|
-
* Controls the popup animation.
|
|
27
|
+
* Controls the popup animation.
|
|
28
|
+
* By default, the open and close animations are enabled.
|
|
27
29
|
*/
|
|
28
30
|
animate?: boolean;
|
|
29
31
|
/**
|
|
30
|
-
* Controls the popup container.
|
|
32
|
+
* Controls the popup container.
|
|
33
|
+
* By default, the popup is appended to the root component.
|
|
31
34
|
*/
|
|
32
35
|
appendTo?: 'root' | 'component' | ViewContainerRef;
|
|
33
36
|
/**
|
|
34
|
-
*
|
|
37
|
+
* Sets CSS classes for styling the popup.
|
|
35
38
|
*/
|
|
36
39
|
popupClass?: string;
|
|
37
40
|
/**
|
|
38
|
-
*
|
|
41
|
+
* Sets the anchor pivot point.
|
|
39
42
|
*/
|
|
40
43
|
anchorAlign?: Align;
|
|
41
44
|
/**
|
|
42
|
-
*
|
|
45
|
+
* Sets the popup pivot point.
|
|
43
46
|
*/
|
|
44
47
|
popupAlign?: Align;
|
|
45
48
|
/**
|
|
46
|
-
* Sets the popup width.
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
+
* Sets the popup width.
|
|
50
|
+
* The default value is `150` pixels.
|
|
51
|
+
* Use a number for pixels or a string for arbitrary units like `"50%"`.
|
|
49
52
|
*/
|
|
50
53
|
width?: number | string;
|
|
51
54
|
/**
|
|
52
|
-
* Sets the popup height.
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
+
* Sets the popup height.
|
|
56
|
+
* By default, the popup height matches its content.
|
|
57
|
+
* Use a number for pixels or a string for arbitrary units like `"50%"`.
|
|
55
58
|
*/
|
|
56
59
|
height?: number | string;
|
|
57
60
|
}
|
package/toolbar.component.d.ts
CHANGED
|
@@ -25,6 +25,13 @@ import { DisplayMode } from './display-mode';
|
|
|
25
25
|
import * as i0 from "@angular/core";
|
|
26
26
|
/**
|
|
27
27
|
* Represents the [Kendo UI ToolBar component for Angular]({% slug overview_toolbar %}).
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```html
|
|
31
|
+
* <kendo-toolbar>
|
|
32
|
+
* <kendo-toolbar-button text="Button"></kendo-toolbar-button>
|
|
33
|
+
* </kendo-toolbar>
|
|
34
|
+
* ```
|
|
28
35
|
*/
|
|
29
36
|
export declare class ToolBarComponent {
|
|
30
37
|
localization: LocalizationService;
|
|
@@ -39,7 +46,8 @@ export declare class ToolBarComponent {
|
|
|
39
46
|
private scrollService;
|
|
40
47
|
get overflowClass(): string;
|
|
41
48
|
/**
|
|
42
|
-
*
|
|
49
|
+
* Sets the overflow mode for the ToolBar.
|
|
50
|
+
* Use this property to control how tools render when their total size is greater than the ToolBar container.
|
|
43
51
|
* @default false
|
|
44
52
|
*/
|
|
45
53
|
set overflow(overflow: boolean | OverflowMode | ToolbarOverflowSettings);
|
|
@@ -70,34 +78,30 @@ export declare class ToolBarComponent {
|
|
|
70
78
|
*/
|
|
71
79
|
get overflowEnabled(): boolean;
|
|
72
80
|
/**
|
|
73
|
-
* Configures the popup
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
77
|
-
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
81
|
+
* Configures the popup for the ToolBar overflow button.
|
|
82
|
+
* Use this property to customize the overflow popup appearance and behavior
|
|
83
|
+
* ([see example](slug:responsive_toolbar#customizing-the-popup)).
|
|
78
84
|
*/
|
|
79
85
|
set popupSettings(settings: PopupSettings);
|
|
80
86
|
get popupSettings(): PopupSettings;
|
|
81
87
|
/**
|
|
82
|
-
*
|
|
88
|
+
* Sets the fill mode for the ToolBar.
|
|
89
|
+
* This property controls the background and border styles of the ToolBar
|
|
83
90
|
* ([see example](slug:appearance_toolbar#toc-fill-mode)).
|
|
84
|
-
*
|
|
85
91
|
* @default 'solid'
|
|
86
92
|
*/
|
|
87
93
|
set fillMode(fillMode: ToolbarFillMode);
|
|
88
94
|
get fillMode(): ToolbarFillMode;
|
|
89
95
|
/**
|
|
90
|
-
*
|
|
96
|
+
* Sets the `tabindex` attribute of the ToolBar.
|
|
97
|
+
* Use this property to control the tab order of the ToolBar component.
|
|
98
|
+
* @default 0
|
|
91
99
|
*/
|
|
92
100
|
tabindex: number;
|
|
93
101
|
/**
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* * `small`
|
|
98
|
-
* * `medium` (default)
|
|
99
|
-
* * `large`
|
|
100
|
-
* * `none`
|
|
102
|
+
* Sets the size for all ToolBar elements.
|
|
103
|
+
* Use this property to control the padding of the ToolBar elements.
|
|
104
|
+
* @default 'medium'
|
|
101
105
|
*/
|
|
102
106
|
set size(size: ToolbarSize);
|
|
103
107
|
get size(): ToolbarSize;
|
|
@@ -107,21 +111,23 @@ export declare class ToolBarComponent {
|
|
|
107
111
|
set tabIndex(tabIndex: number);
|
|
108
112
|
get tabIndex(): number;
|
|
109
113
|
/**
|
|
110
|
-
*
|
|
111
|
-
*
|
|
114
|
+
* Sets the icon visibility for all tools in the ToolBar.
|
|
115
|
+
* You can override this property for each tool using the `showIcon` property of the tool.
|
|
116
|
+
* @default 'always'
|
|
112
117
|
*/
|
|
113
118
|
set showIcon(value: DisplayMode | boolean);
|
|
114
119
|
/**
|
|
115
|
-
*
|
|
116
|
-
*
|
|
120
|
+
* Sets the text visibility for all tools in the ToolBar.
|
|
121
|
+
* You can override this property for each tool using the `showText` property of the tool.
|
|
122
|
+
* @default 'always'
|
|
117
123
|
*/
|
|
118
124
|
set showText(value: DisplayMode | boolean);
|
|
119
125
|
/**
|
|
120
|
-
*
|
|
126
|
+
* Emits when the overflow popup of the ToolBar opens.
|
|
121
127
|
*/
|
|
122
128
|
open: EventEmitter<PreventableEvent>;
|
|
123
129
|
/**
|
|
124
|
-
*
|
|
130
|
+
* Emits when the overflow popup of the ToolBar closes.
|
|
125
131
|
*/
|
|
126
132
|
close: EventEmitter<PreventableEvent>;
|
|
127
133
|
allTools: QueryList<ToolBarToolComponent>;
|
package/toolbar.module.d.ts
CHANGED
|
@@ -13,10 +13,10 @@ import * as i7 from "./tools/toolbar-spacer.component";
|
|
|
13
13
|
import * as i8 from "./tools/toolbar-splitbutton.component";
|
|
14
14
|
import * as i9 from "./tools/toolbar-tool.component";
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the ToolBar component.
|
|
17
17
|
*
|
|
18
18
|
* The package exports:
|
|
19
|
-
* - `ToolBarComponent`—The
|
|
19
|
+
* - `ToolBarComponent`—The ToolBar component class.
|
|
20
20
|
* - `ToolBarToolComponent`—The base Tool component class.
|
|
21
21
|
* - `ToolBarButtonComponent`—The Button Tool component class.
|
|
22
22
|
* - `ToolBarButtonGroupComponent`—The ButtonGroup Tool component class.
|
|
@@ -12,6 +12,16 @@ import { ToolBarComponent } from '../toolbar.component';
|
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
14
|
* Represents the [Kendo UI ToolBar Button tool for Angular]({% slug controltypes_toolbar %}#toc-buttons).
|
|
15
|
+
*
|
|
16
|
+
* Use this component to render a button inside the ToolBar.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```html
|
|
20
|
+
* <kendo-toolbar>
|
|
21
|
+
* <kendo-toolbar-button text="Button"></kendo-toolbar-button>
|
|
22
|
+
* </kendo-toolbar>
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
15
25
|
*/
|
|
16
26
|
export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
17
27
|
element: ElementRef;
|
|
@@ -19,16 +29,21 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
19
29
|
host: ToolBarComponent;
|
|
20
30
|
/**
|
|
21
31
|
* Specifies the button text visibility.
|
|
32
|
+
* Accepts a `DisplayMode` value.
|
|
33
|
+
* @default 'always'
|
|
22
34
|
*/
|
|
23
35
|
set showText(value: DisplayMode);
|
|
24
36
|
get showText(): DisplayMode;
|
|
25
37
|
/**
|
|
26
38
|
* Specifies the button icon visibility.
|
|
39
|
+
* Accepts a `DisplayMode` value.
|
|
40
|
+
* @default 'always'
|
|
27
41
|
*/
|
|
28
42
|
set showIcon(value: DisplayMode);
|
|
29
43
|
get showIcon(): DisplayMode;
|
|
30
44
|
/**
|
|
31
|
-
* Specifies the text of the Button
|
|
45
|
+
* Specifies the text of the Button
|
|
46
|
+
* ([see example]({% slug controltypes_toolbar %}#toc-buttons)).
|
|
32
47
|
*/
|
|
33
48
|
set text(text: string);
|
|
34
49
|
get text(): string;
|
|
@@ -37,30 +52,31 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
37
52
|
*/
|
|
38
53
|
get size(): any;
|
|
39
54
|
/**
|
|
40
|
-
* Specifies custom inline CSS styles
|
|
55
|
+
* Specifies custom inline CSS styles for the Button.
|
|
41
56
|
*/
|
|
42
57
|
style: {
|
|
43
58
|
[key: string]: string | number;
|
|
44
59
|
};
|
|
45
60
|
/**
|
|
46
|
-
* Specifies custom CSS class names
|
|
61
|
+
* Specifies custom CSS class names to be added to the Button.
|
|
47
62
|
*/
|
|
48
63
|
className: string | Array<string> | {
|
|
49
64
|
[key: string]: boolean;
|
|
50
65
|
};
|
|
51
66
|
/**
|
|
52
|
-
* Specifies the title of the Button.
|
|
67
|
+
* Specifies the `title` attribute of the Button.
|
|
53
68
|
*/
|
|
54
69
|
title: string;
|
|
55
70
|
/**
|
|
56
|
-
*
|
|
71
|
+
* Disables the Button when set to `true`
|
|
57
72
|
* ([see example]({% slug controltypes_toolbar %}#toc-buttons)).
|
|
58
73
|
*/
|
|
59
74
|
disabled: boolean;
|
|
60
75
|
/**
|
|
61
|
-
* Provides visual styling
|
|
76
|
+
* Provides visual styling to indicate if the Button is active
|
|
62
77
|
* ([see example]({% slug controltypes_toolbar %}#toc-toggle-buttons)).
|
|
63
|
-
*
|
|
78
|
+
* For toggleable buttons, set this to `true`.
|
|
79
|
+
* @default false
|
|
64
80
|
*/
|
|
65
81
|
toggleable: boolean;
|
|
66
82
|
/**
|
|
@@ -74,37 +90,20 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
74
90
|
set togglable(value: boolean);
|
|
75
91
|
/**
|
|
76
92
|
* Sets the selected state of the Button.
|
|
93
|
+
* Use with the `toggleable` property.
|
|
94
|
+
* @default false
|
|
77
95
|
*/
|
|
78
96
|
selected: boolean;
|
|
79
97
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* * `solid` (default)
|
|
84
|
-
* * `flat`
|
|
85
|
-
* * `outline`
|
|
86
|
-
* * `link`
|
|
87
|
-
* * `null`
|
|
98
|
+
* Specifies the background and border styles of the Button.
|
|
99
|
+
* Accepts a `ButtonFillMode` value.
|
|
100
|
+
* @default 'solid'
|
|
88
101
|
*/
|
|
89
102
|
fillMode: ButtonFillMode;
|
|
90
103
|
/**
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* The possible values are:
|
|
96
|
-
* * `base` —Applies coloring based on the `base` theme color. (default)
|
|
97
|
-
* * `primary` —Applies coloring based on the `primary` theme color.
|
|
98
|
-
* * `secondary`—Applies coloring based on the `secondary` theme color.
|
|
99
|
-
* * `tertiary`— Applies coloring based on the `tertiary` theme color.
|
|
100
|
-
* * `info`—Applies coloring based on the `info` theme color.
|
|
101
|
-
* * `success`— Applies coloring based on the `success` theme color.
|
|
102
|
-
* * `warning`— Applies coloring based on the `warning` theme color.
|
|
103
|
-
* * `error`— Applies coloring based on the `error` theme color.
|
|
104
|
-
* * `dark`— Applies coloring based on the `dark` theme color.
|
|
105
|
-
* * `light`— Applies coloring based on the `light` theme color.
|
|
106
|
-
* * `inverse`— Applies coloring based on the `inverse` theme color.
|
|
107
|
-
* * `null` —Removes the default CSS class (no class would be rendered).
|
|
104
|
+
* Specifies the predefined theme color of the Button.
|
|
105
|
+
* Accepts a `ButtonThemeColor` value.
|
|
106
|
+
* @default 'base'
|
|
108
107
|
*/
|
|
109
108
|
themeColor: ButtonThemeColor;
|
|
110
109
|
/**
|
|
@@ -114,18 +113,18 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
114
113
|
*/
|
|
115
114
|
set icon(icon: string);
|
|
116
115
|
/**
|
|
117
|
-
* Defines a CSS class
|
|
118
|
-
*
|
|
116
|
+
* Defines a CSS class or multiple classes to be applied to a `span` element inside the Button.
|
|
117
|
+
* Allows the usage of custom icons.
|
|
119
118
|
*/
|
|
120
119
|
set iconClass(iconClass: string);
|
|
121
120
|
/**
|
|
122
121
|
* Defines an SVGIcon to be rendered within the button.
|
|
123
|
-
*
|
|
122
|
+
* Accepts either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
124
123
|
*/
|
|
125
124
|
set svgIcon(icon: SVGIcon);
|
|
126
125
|
/**
|
|
127
|
-
* Defines a URL
|
|
128
|
-
* The URL can be relative or absolute.
|
|
126
|
+
* Defines a URL for an image to be rendered inside the Button.
|
|
127
|
+
* The URL can be relative or absolute.
|
|
129
128
|
*/
|
|
130
129
|
set imageUrl(imageUrl: string);
|
|
131
130
|
/**
|
|
@@ -133,11 +132,11 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
133
132
|
*/
|
|
134
133
|
click: EventEmitter<any>;
|
|
135
134
|
/**
|
|
136
|
-
* Fires when the Button
|
|
135
|
+
* Fires when the Button's `pointerdown` event is triggered.
|
|
137
136
|
*/
|
|
138
137
|
pointerdown: EventEmitter<any>;
|
|
139
138
|
/**
|
|
140
|
-
* Fires each time the selected state of a
|
|
139
|
+
* Fires each time the selected state of a toggleable Button is changed.
|
|
141
140
|
* The event argument is the new selected state (Boolean).
|
|
142
141
|
*/
|
|
143
142
|
selectedChange: EventEmitter<any>;
|
|
@@ -11,35 +11,44 @@ import { PreventableEvent } from '@progress/kendo-angular-buttons';
|
|
|
11
11
|
import { ToolBarComponent } from '../toolbar.component';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
|
-
* Represents the Kendo UI Toolbar ButtonGroup for Angular.
|
|
14
|
+
* Represents the [Kendo UI Toolbar ButtonGroup for Angular](slug:controltypes_toolbar#button-groups).
|
|
15
|
+
*
|
|
16
|
+
* Use this component to group buttons in a ButtonGroup inside the ToolBar.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```html
|
|
20
|
+
* <kendo-toolbar>
|
|
21
|
+
* <kendo-toolbar-buttongroup>
|
|
22
|
+
* <kendo-toolbar-button text="Bold"></kendo-toolbar-button>
|
|
23
|
+
* <kendo-toolbar-button text="Underline"></kendo-toolbar-button>
|
|
24
|
+
* <kendo-toolbar-button text="Italic"></kendo-toolbar-button>
|
|
25
|
+
* </kendo-toolbar-buttongroup>
|
|
26
|
+
* </kendo-toolbar>
|
|
27
|
+
* ```
|
|
15
28
|
*/
|
|
16
29
|
export declare class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
17
30
|
private localization;
|
|
18
31
|
private host;
|
|
19
32
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* `true` and leave the `disabled` attribute of the ButtonGroup undefined. If you define the `disabled`
|
|
23
|
-
* attribute of the ButtonGroup, it will take precedence over the `disabled` attributes of the underlying
|
|
24
|
-
* buttons and they will be ignored.
|
|
33
|
+
* When `true`, disables the whole group of buttons.
|
|
34
|
+
* If you set the `disabled` property of the group, it overrides the `disabled` property of individual buttons.
|
|
25
35
|
*/
|
|
26
36
|
disabled: boolean;
|
|
27
37
|
/**
|
|
28
38
|
* @hidden
|
|
29
39
|
*
|
|
30
40
|
* Used to set different fillmode in Spreadsheet and Toolbar to comply with referent rendering.
|
|
41
|
+
* @default 'solid'
|
|
31
42
|
*/
|
|
32
43
|
fillMode: 'solid' | 'flat';
|
|
33
44
|
/**
|
|
34
|
-
*
|
|
45
|
+
* Sets the selection mode of the ButtonGroup.
|
|
46
|
+
* @default 'multiple'
|
|
35
47
|
*/
|
|
36
48
|
selection: ButtonGroupSelection;
|
|
37
49
|
/**
|
|
38
50
|
* Sets the width of the ButtonGroup.
|
|
39
|
-
*
|
|
40
|
-
* If the width of the ButtonGroup is set:
|
|
41
|
-
* - The buttons resize automatically to fill the full width of the group wrapper.
|
|
42
|
-
* - The buttons acquire the same width.
|
|
51
|
+
* When you set the width of the ButtonGroup, the buttons have the same width and resize to fill the group wrapper.
|
|
43
52
|
*/
|
|
44
53
|
width: string;
|
|
45
54
|
/**
|