@progress/kendo-angular-buttons 24.2.2-develop.9 → 25.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/progress-kendo-angular-buttons.mjs +117 -117
- package/index.d.ts +3280 -52
- package/package-metadata.mjs +2 -2
- package/package.json +11 -11
- package/button/button-settings.d.ts +0 -39
- package/button/button.component.d.ts +0 -200
- package/button/button.module.d.ts +0 -32
- package/button/button.service.d.ts +0 -17
- package/button/selection-settings.d.ts +0 -11
- package/buttongroup/buttongroup.component.d.ts +0 -103
- package/buttongroup/buttongroup.module.d.ts +0 -37
- package/buttons.module.d.ts +0 -46
- package/chip/chip-content-click-event-args.interface.d.ts +0 -18
- package/chip/chip-list-remove-event-args.interface.d.ts +0 -23
- package/chip/chip-list.component.d.ts +0 -105
- package/chip/chip-remove-event-args.interface.d.ts +0 -18
- package/chip/chip.component.d.ts +0 -204
- package/chip/chip.module.d.ts +0 -33
- package/chip/models/avatar-settings.interface.d.ts +0 -39
- package/chip/models/selection.d.ts +0 -13
- package/common/models/arrow-settings.d.ts +0 -22
- package/common/models/fillmode.d.ts +0 -12
- package/common/models/icon-position.d.ts +0 -10
- package/common/models/rounded.d.ts +0 -12
- package/common/models/size.d.ts +0 -24
- package/common/models/styling-classes.d.ts +0 -11
- package/common/models/theme-color.d.ts +0 -40
- package/common/models.d.ts +0 -11
- package/direction.d.ts +0 -8
- package/directives.d.ts +0 -173
- package/dropdownbutton/dropdownbutton.component.d.ts +0 -176
- package/dropdownbutton/dropdownbutton.module.d.ts +0 -36
- package/floatingactionbutton/animations/animations.d.ts +0 -13
- package/floatingactionbutton/dial-item.component.d.ts +0 -36
- package/floatingactionbutton/dial-list.component.d.ts +0 -27
- package/floatingactionbutton/floatingactionbutton.component.d.ts +0 -296
- package/floatingactionbutton/floatingactionbutton.module.d.ts +0 -34
- package/floatingactionbutton/models/align.d.ts +0 -33
- package/floatingactionbutton/models/item-animation.interface.d.ts +0 -25
- package/floatingactionbutton/models/item-click.event.d.ts +0 -25
- package/floatingactionbutton/models/item.interface.d.ts +0 -51
- package/floatingactionbutton/models/offset.d.ts +0 -23
- package/floatingactionbutton/models/position-mode.d.ts +0 -13
- package/floatingactionbutton/templates/dial-item-template.directive.d.ts +0 -26
- package/floatingactionbutton/templates/fab-template.directive.d.ts +0 -27
- package/floatingactionbutton/utils.d.ts +0 -12
- package/focusable/focus.service.d.ts +0 -20
- package/focusable/focusable.directive.d.ts +0 -26
- package/listbutton/button-item-template.directive.d.ts +0 -38
- package/listbutton/container.service.d.ts +0 -15
- package/listbutton/list-button.d.ts +0 -164
- package/listbutton/list-item-model.d.ts +0 -75
- package/listbutton/list.component.d.ts +0 -28
- package/listbutton/popup-settings.d.ts +0 -52
- package/navigation/key-events.d.ts +0 -12
- package/navigation/navigation-action.d.ts +0 -18
- package/navigation/navigation-config.d.ts +0 -15
- package/navigation/navigation.service.d.ts +0 -28
- package/package-metadata.d.ts +0 -9
- package/preventable-event.d.ts +0 -21
- package/segmentedcontrol/models.d.ts +0 -41
- package/segmentedcontrol/segmented-control.component.d.ts +0 -81
- package/segmentedcontrol/segmented-control.module.d.ts +0 -19
- package/smartpastebutton/models/form-field.d.ts +0 -40
- package/smartpastebutton/models/index.d.ts +0 -6
- package/smartpastebutton/models/service-settings.d.ts +0 -114
- package/smartpastebutton/smartpastebutton.component.d.ts +0 -175
- package/smartpastebutton/smartpastebutton.module.d.ts +0 -27
- package/smartpastebutton/utils.d.ts +0 -50
- package/speechtotextbutton/models/error-event.d.ts +0 -13
- package/speechtotextbutton/models/integration-mode.d.ts +0 -11
- package/speechtotextbutton/models/result-event.d.ts +0 -18
- package/speechtotextbutton/models/speechtotextbutton-settings.d.ts +0 -61
- package/speechtotextbutton/speechtotextbutton.component.d.ts +0 -187
- package/speechtotextbutton/speechtotextbutton.module.d.ts +0 -19
- package/splitbutton/localization/custom-messages.component.d.ts +0 -18
- package/splitbutton/localization/localized-messages.directive.d.ts +0 -16
- package/splitbutton/localization/messages.d.ts +0 -38
- package/splitbutton/splitbutton.component.d.ts +0 -284
- package/splitbutton/splitbutton.module.d.ts +0 -23
- package/util.d.ts +0 -49
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1783679760,
|
|
11
|
+
"version": "25.0.0-develop.1",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-buttons",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0-develop.1",
|
|
4
4
|
"description": "Buttons Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -56,25 +56,25 @@
|
|
|
56
56
|
"package": {
|
|
57
57
|
"productName": "Kendo UI for Angular",
|
|
58
58
|
"productCode": "KENDOUIANGULAR",
|
|
59
|
-
"publishDate":
|
|
59
|
+
"publishDate": 1783679760,
|
|
60
60
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@angular/animations": "
|
|
65
|
-
"@angular/common": "
|
|
66
|
-
"@angular/core": "
|
|
67
|
-
"@angular/platform-browser": "
|
|
64
|
+
"@angular/animations": "20 - 22",
|
|
65
|
+
"@angular/common": "20 - 22",
|
|
66
|
+
"@angular/core": "20 - 22",
|
|
67
|
+
"@angular/platform-browser": "20 - 22",
|
|
68
68
|
"@progress/kendo-licensing": "^1.11.0",
|
|
69
|
-
"@progress/kendo-angular-common": "
|
|
70
|
-
"@progress/kendo-angular-l10n": "
|
|
71
|
-
"@progress/kendo-angular-popup": "
|
|
72
|
-
"@progress/kendo-angular-icons": "
|
|
69
|
+
"@progress/kendo-angular-common": "25.0.0-develop.1",
|
|
70
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.1",
|
|
71
|
+
"@progress/kendo-angular-popup": "25.0.0-develop.1",
|
|
72
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.1",
|
|
73
73
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"tslib": "^2.3.1",
|
|
77
|
-
"@progress/kendo-angular-schematics": "
|
|
77
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.1",
|
|
78
78
|
"@progress/kendo-common": "^1.0.1",
|
|
79
79
|
"@progress/kendo-webspeech-common": "1.0.1",
|
|
80
80
|
"@progress/kendo-smartpaste-common": "1.0.0"
|
|
@@ -1,39 +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 { SVGIcon } from "@progress/kendo-svg-icons";
|
|
6
|
-
import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from "../common/models";
|
|
7
|
-
/**
|
|
8
|
-
* Defines the settings for the Button.
|
|
9
|
-
*/
|
|
10
|
-
export interface ButtonSettings {
|
|
11
|
-
/**
|
|
12
|
-
* When `true`, disables the Button and prevents user interaction.
|
|
13
|
-
*/
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Sets the background and border styles of the Button.
|
|
17
|
-
*/
|
|
18
|
-
fillMode?: ButtonFillMode;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the border radius of the Button.
|
|
21
|
-
*/
|
|
22
|
-
rounded?: ButtonRounded;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the padding of the Button.
|
|
25
|
-
*/
|
|
26
|
-
size?: ButtonSize;
|
|
27
|
-
/**
|
|
28
|
-
* Sets a predefined theme color for the Button. The theme color applies as a background and border color and adjusts the text color.
|
|
29
|
-
*/
|
|
30
|
-
themeColor?: ButtonThemeColor;
|
|
31
|
-
/**
|
|
32
|
-
* Sets the name of an existing font icon in the Kendo UI theme.
|
|
33
|
-
*/
|
|
34
|
-
icon?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Sets an SVG icon to display inside the Button.
|
|
37
|
-
*/
|
|
38
|
-
svgIcon?: SVGIcon;
|
|
39
|
-
}
|
|
@@ -1,200 +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 { SimpleChanges, ElementRef, EventEmitter, Renderer2, OnDestroy, NgZone, OnInit, OnChanges } from '@angular/core';
|
|
6
|
-
import { KendoButtonService } from './button.service';
|
|
7
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { ButtonFillMode, ButtonIconPosition, ButtonRounded, ButtonSize, ButtonThemeColor } from '../common/models';
|
|
10
|
-
import { ArrowIconSettings } from '../common/models/arrow-settings';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Represents the Kendo UI Button component for Angular.
|
|
14
|
-
*
|
|
15
|
-
* As of package v17, the `span[kendoButton]` and `kendo-button` selectors are removed.
|
|
16
|
-
* Use the `button[kendoButton]` selector only.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```html
|
|
20
|
-
* <button kendoButton [icon]="'save'" [themeColor]="'primary'">Save</button>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare class ButtonComponent implements OnInit, OnDestroy, OnChanges {
|
|
24
|
-
renderer: Renderer2;
|
|
25
|
-
private service;
|
|
26
|
-
private ngZone;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
* @default false
|
|
30
|
-
* required for DropDownButton arrow icon.
|
|
31
|
-
*/
|
|
32
|
-
arrowIcon: boolean | ArrowIconSettings;
|
|
33
|
-
/**
|
|
34
|
-
* Adds visual styling to indicate when the Button is active.
|
|
35
|
-
*
|
|
36
|
-
* @default false
|
|
37
|
-
*/
|
|
38
|
-
toggleable: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Backwards-compatible alias
|
|
41
|
-
*
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
get togglable(): boolean;
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
set togglable(value: boolean);
|
|
49
|
-
/**
|
|
50
|
-
* Sets the selected state of the Button.
|
|
51
|
-
* Use with the `toggleable` property.
|
|
52
|
-
*
|
|
53
|
-
* @default false
|
|
54
|
-
*/
|
|
55
|
-
get selected(): boolean;
|
|
56
|
-
set selected(value: boolean);
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
set tabIndex(index: number);
|
|
61
|
-
get tabIndex(): number;
|
|
62
|
-
/**
|
|
63
|
-
* Specifies a URL for an `img` element inside the Button.
|
|
64
|
-
* The URL can be relative or absolute. If relative, it is evaluated with relation to the web page URL.
|
|
65
|
-
*/
|
|
66
|
-
imageUrl: string;
|
|
67
|
-
/**
|
|
68
|
-
* Sets the icon position relative to the button text.
|
|
69
|
-
* @hidden
|
|
70
|
-
* @default 'start'
|
|
71
|
-
*/
|
|
72
|
-
iconPosition: ButtonIconPosition;
|
|
73
|
-
/**
|
|
74
|
-
* Defines a CSS class, or multiple classes separated by spaces applied to a `span` element inside the Button. Use the `iconClass` to add custom icons.
|
|
75
|
-
*/
|
|
76
|
-
set iconClass(value: string);
|
|
77
|
-
get iconClass(): string;
|
|
78
|
-
/**
|
|
79
|
-
* Sets the name of an existing font icon in the Kendo UI theme.
|
|
80
|
-
*/
|
|
81
|
-
set icon(name: string);
|
|
82
|
-
get icon(): string;
|
|
83
|
-
/**
|
|
84
|
-
* When `true`, disables the Button and prevents user interaction.
|
|
85
|
-
*
|
|
86
|
-
* @default false
|
|
87
|
-
*/
|
|
88
|
-
set disabled(disabled: boolean);
|
|
89
|
-
get disabled(): boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Sets the padding of the Button.
|
|
92
|
-
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#size). The default value is set by the Kendo theme.
|
|
93
|
-
*/
|
|
94
|
-
set size(size: ButtonSize);
|
|
95
|
-
get size(): ButtonSize;
|
|
96
|
-
/**
|
|
97
|
-
* Sets the border radius of the Button.
|
|
98
|
-
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#roundness). The default value is set by the Kendo theme.
|
|
99
|
-
*/
|
|
100
|
-
set rounded(rounded: ButtonRounded);
|
|
101
|
-
get rounded(): ButtonRounded;
|
|
102
|
-
/**
|
|
103
|
-
* Sets the background and border styles of the Button.
|
|
104
|
-
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#fill-mode). The default value is set by the Kendo theme.
|
|
105
|
-
*/
|
|
106
|
-
set fillMode(fillMode: ButtonFillMode);
|
|
107
|
-
get fillMode(): ButtonFillMode;
|
|
108
|
-
/**
|
|
109
|
-
* Sets a predefined theme color for the Button.
|
|
110
|
-
* The theme color applies as a background and border color and adjusts the text color.
|
|
111
|
-
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#theme-colors). The default value is set by the Kendo theme.
|
|
112
|
-
*/
|
|
113
|
-
set themeColor(themeColor: ButtonThemeColor);
|
|
114
|
-
get themeColor(): ButtonThemeColor;
|
|
115
|
-
/**
|
|
116
|
-
* Sets an SVG icon to display inside the Button.
|
|
117
|
-
*/
|
|
118
|
-
set svgIcon(icon: SVGIcon);
|
|
119
|
-
get svgIcon(): SVGIcon;
|
|
120
|
-
/**
|
|
121
|
-
* Fires when the selected state of a toggleable button changes.
|
|
122
|
-
* The event argument is the new selected state (`boolean`).
|
|
123
|
-
*/
|
|
124
|
-
selectedChange: EventEmitter<any>;
|
|
125
|
-
/**
|
|
126
|
-
* Fires when the user clicks the Button.
|
|
127
|
-
*/
|
|
128
|
-
click: EventEmitter<any>;
|
|
129
|
-
element: HTMLElement;
|
|
130
|
-
isDisabled: boolean;
|
|
131
|
-
chevronDownIcon: SVGIcon;
|
|
132
|
-
private _size;
|
|
133
|
-
private _rounded;
|
|
134
|
-
private _fillMode;
|
|
135
|
-
private _themeColor;
|
|
136
|
-
private _focused;
|
|
137
|
-
private direction;
|
|
138
|
-
private _selected;
|
|
139
|
-
private subs;
|
|
140
|
-
private _iconClass;
|
|
141
|
-
private _icon;
|
|
142
|
-
private _svgIcon;
|
|
143
|
-
set isFocused(isFocused: boolean);
|
|
144
|
-
get isFocused(): boolean;
|
|
145
|
-
get iconButtonClass(): boolean;
|
|
146
|
-
get classDisabled(): boolean;
|
|
147
|
-
get classActive(): boolean;
|
|
148
|
-
get getDirection(): string;
|
|
149
|
-
/**
|
|
150
|
-
* @hidden
|
|
151
|
-
*/
|
|
152
|
-
onFocus(): void;
|
|
153
|
-
/**
|
|
154
|
-
* @hidden
|
|
155
|
-
*/
|
|
156
|
-
onBlur(): void;
|
|
157
|
-
/**
|
|
158
|
-
* Alias for ElementRef.nativeElement to workaround
|
|
159
|
-
* ViewChild() selectors that used to return the host element before v11.
|
|
160
|
-
*
|
|
161
|
-
* @hidden
|
|
162
|
-
*/
|
|
163
|
-
get nativeElement(): any;
|
|
164
|
-
constructor(element: ElementRef, renderer: Renderer2, service: KendoButtonService, localization: LocalizationService, ngZone: NgZone);
|
|
165
|
-
ngOnInit(): void;
|
|
166
|
-
ngOnChanges(change: SimpleChanges): void;
|
|
167
|
-
ngOnDestroy(): void;
|
|
168
|
-
/**
|
|
169
|
-
* @hidden
|
|
170
|
-
*/
|
|
171
|
-
get hasText(): boolean;
|
|
172
|
-
/**
|
|
173
|
-
* Focuses the Button component.
|
|
174
|
-
*/
|
|
175
|
-
focus(): void;
|
|
176
|
-
/**
|
|
177
|
-
* Removes focus from the Button component.
|
|
178
|
-
*/
|
|
179
|
-
blur(): void;
|
|
180
|
-
/**
|
|
181
|
-
* @hidden
|
|
182
|
-
*/
|
|
183
|
-
setAttribute(attribute: string, value: string): void;
|
|
184
|
-
/**
|
|
185
|
-
* @hidden
|
|
186
|
-
*/
|
|
187
|
-
removeAttribute(attribute: string): void;
|
|
188
|
-
/**
|
|
189
|
-
* @hidden
|
|
190
|
-
*
|
|
191
|
-
* Internal setter that triggers selectedChange
|
|
192
|
-
*/
|
|
193
|
-
setSelected(value: boolean): void;
|
|
194
|
-
private toggleAriaPressed;
|
|
195
|
-
private _onButtonClick;
|
|
196
|
-
private handleClasses;
|
|
197
|
-
private handleThemeColor;
|
|
198
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [null, null, { optional: true; }, null, null]>;
|
|
199
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[kendoButton]", ["kendoButton"], { "arrowIcon": { "alias": "arrowIcon"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "togglable": { "alias": "togglable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; }, { "selectedChange": "selectedChange"; "click": "click"; }, never, ["*"], true, never>;
|
|
200
|
-
}
|
|
@@ -1,32 +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 * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./button.component";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
9
|
-
* definition for the Button directive.
|
|
10
|
-
*
|
|
11
|
-
* Required for adding Button features in NgModule-based Angular applications.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
16
|
-
* import { NgModule } from '@angular/core';
|
|
17
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
18
|
-
* import { AppComponent } from './app.component';
|
|
19
|
-
*
|
|
20
|
-
* @NgModule({
|
|
21
|
-
* declarations: [AppComponent],
|
|
22
|
-
* imports: [BrowserModule, ButtonModule],
|
|
23
|
-
* bootstrap: [AppComponent]
|
|
24
|
-
* })
|
|
25
|
-
* export class AppModule {}
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare class ButtonModule {
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, never, [typeof i1.ButtonComponent], [typeof i1.ButtonComponent]>;
|
|
31
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
|
|
32
|
-
}
|
|
@@ -1,17 +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 { Observable, Subject } from 'rxjs';
|
|
6
|
-
import { ButtonComponent } from "./button.component";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class KendoButtonService {
|
|
12
|
-
buttonClicked: Subject<ButtonComponent>;
|
|
13
|
-
buttonClicked$: Observable<ButtonComponent>;
|
|
14
|
-
click(button: ButtonComponent): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KendoButtonService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KendoButtonService>;
|
|
17
|
-
}
|
|
@@ -1,11 +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
|
-
/**
|
|
6
|
-
* Specifies the selection mode of the [ButtonGroup](https://www.telerik.com/kendo-angular-ui/components/buttons/api/buttongroupcomponent).
|
|
7
|
-
*
|
|
8
|
-
* - Use `'single'` to allow only one button to be selected at a time.
|
|
9
|
-
* - Use `'multiple'` to allow multiple buttons to be selected at the same time.
|
|
10
|
-
*/
|
|
11
|
-
export type ButtonGroupSelection = 'single' | 'multiple';
|
|
@@ -1,103 +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 { ButtonComponent } from '../button/button.component';
|
|
6
|
-
import { EventEmitter, QueryList, OnInit, OnDestroy, AfterContentChecked, AfterViewChecked, AfterContentInit, ElementRef, SimpleChanges, Renderer2 } from '@angular/core';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { ButtonGroupSelection } from '../button/selection-settings';
|
|
9
|
-
import { KendoButtonService } from '../button/button.service';
|
|
10
|
-
import { PreventableEvent } from '../preventable-event';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Represents the Kendo UI ButtonGroup component for Angular.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <kendo-buttongroup>
|
|
18
|
-
* <button kendoButton>Left</button>
|
|
19
|
-
* <button kendoButton>Middle</button>
|
|
20
|
-
* <button kendoButton>Right</button>
|
|
21
|
-
* </kendo-buttongroup>
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* Supported children components are: {@link ButtonComponent}.
|
|
26
|
-
*/
|
|
27
|
-
export declare class ButtonGroupComponent implements OnInit, OnDestroy, AfterContentChecked, AfterViewChecked, AfterContentInit {
|
|
28
|
-
private service;
|
|
29
|
-
private renderer;
|
|
30
|
-
private element;
|
|
31
|
-
/**
|
|
32
|
-
* To disable a specific button, set **only** its `disabled` property to `true`.
|
|
33
|
-
* If you also set the ButtonGroup `disabled` property, it takes precedence over
|
|
34
|
-
* the `disabled` properties of the underlying buttons and they are ignored.
|
|
35
|
-
*/
|
|
36
|
-
disabled: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Sets the selection mode of the ButtonGroup.
|
|
39
|
-
*
|
|
40
|
-
* @default 'multiple'
|
|
41
|
-
*/
|
|
42
|
-
selection: ButtonGroupSelection;
|
|
43
|
-
/**
|
|
44
|
-
* Sets the width of the ButtonGroup.
|
|
45
|
-
* When set, the buttons resize automatically to fill the full width of the group wrapper and acquire the same width.
|
|
46
|
-
*/
|
|
47
|
-
width: string;
|
|
48
|
-
/**
|
|
49
|
-
* Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
50
|
-
*
|
|
51
|
-
* @default 0
|
|
52
|
-
*/
|
|
53
|
-
set tabIndex(value: number);
|
|
54
|
-
get tabIndex(): number;
|
|
55
|
-
/**
|
|
56
|
-
* When set to `true`, the component is a single tab-stop,
|
|
57
|
-
* and focus moves through the inner buttons using the arrow keys.
|
|
58
|
-
*
|
|
59
|
-
* When set to `false`, the inner buttons are part of the natural tab sequence of the page.
|
|
60
|
-
*
|
|
61
|
-
* @default true
|
|
62
|
-
*
|
|
63
|
-
* @remarks
|
|
64
|
-
* This property is related to accessibility.
|
|
65
|
-
*/
|
|
66
|
-
navigable: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Fires every time keyboard navigation occurs within the ButtonGroup.
|
|
69
|
-
*/
|
|
70
|
-
navigate: EventEmitter<PreventableEvent>;
|
|
71
|
-
buttons: QueryList<ButtonComponent>;
|
|
72
|
-
private _tabIndex;
|
|
73
|
-
private currentTabIndex;
|
|
74
|
-
private lastFocusedIndex;
|
|
75
|
-
private direction;
|
|
76
|
-
private subs;
|
|
77
|
-
wrapperClasses: boolean;
|
|
78
|
-
get disabledClass(): boolean;
|
|
79
|
-
get stretchedClass(): boolean;
|
|
80
|
-
role: string;
|
|
81
|
-
get dir(): string;
|
|
82
|
-
get ariaDisabled(): boolean;
|
|
83
|
-
get wrapperWidth(): string;
|
|
84
|
-
get wrapperTabIndex(): number;
|
|
85
|
-
constructor(service: KendoButtonService, localization: LocalizationService, renderer: Renderer2, element: ElementRef);
|
|
86
|
-
ngOnInit(): void;
|
|
87
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
88
|
-
ngAfterContentInit(): void;
|
|
89
|
-
ngAfterViewChecked(): void;
|
|
90
|
-
ngOnDestroy(): void;
|
|
91
|
-
ngAfterContentChecked(): void;
|
|
92
|
-
protected navigateFocus(event: KeyboardEvent): void;
|
|
93
|
-
protected deactivate(buttons: Array<ButtonComponent>): void;
|
|
94
|
-
protected activate(buttons: Array<ButtonComponent>): void;
|
|
95
|
-
protected defocus(buttons: Array<ButtonComponent>): void;
|
|
96
|
-
protected focus(buttons: Array<ButtonComponent>): void;
|
|
97
|
-
private verifySettings;
|
|
98
|
-
private isSelectionSingle;
|
|
99
|
-
private handleSubs;
|
|
100
|
-
private focusHandler;
|
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "kendo-buttongroup", ["kendoButtonGroup"], { "disabled": { "alias": "disabled"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "width": { "alias": "width"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; }, { "navigate": "navigate"; }, ["buttons"], ["[kendoButton]"], true, never>;
|
|
103
|
-
}
|
|
@@ -1,37 +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 * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../button/button.component";
|
|
7
|
-
import * as i2 from "./buttongroup.component";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
10
|
-
* definition for the ButtonGroup directive.
|
|
11
|
-
*
|
|
12
|
-
* Required for adding ButtonGroup features in NgModule-based Angular applications.
|
|
13
|
-
*
|
|
14
|
-
* The package exports:
|
|
15
|
-
* - `ButtonGroupComponent`—The ButtonGroup component class.
|
|
16
|
-
* - `ButtonComponent`—The Button component class.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import { ButtonGroupModule } from '@progress/kendo-angular-buttons';
|
|
21
|
-
* import { NgModule } from '@angular/core';
|
|
22
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
23
|
-
* import { AppComponent } from './app.component';
|
|
24
|
-
*
|
|
25
|
-
* @NgModule({
|
|
26
|
-
* declarations: [AppComponent],
|
|
27
|
-
* imports: [BrowserModule, ButtonGroupModule],
|
|
28
|
-
* bootstrap: [AppComponent]
|
|
29
|
-
* })
|
|
30
|
-
* export class AppModule {}
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare class ButtonGroupModule {
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupModule, never>;
|
|
35
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonGroupModule, never, [typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent], [typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent]>;
|
|
36
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonGroupModule>;
|
|
37
|
-
}
|
package/buttons.module.d.ts
DELETED
|
@@ -1,46 +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 * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./button/button.component";
|
|
7
|
-
import * as i2 from "./buttongroup/buttongroup.component";
|
|
8
|
-
import * as i3 from "./dropdownbutton/dropdownbutton.component";
|
|
9
|
-
import * as i4 from "./listbutton/button-item-template.directive";
|
|
10
|
-
import * as i5 from "./chip/chip.component";
|
|
11
|
-
import * as i6 from "./chip/chip-list.component";
|
|
12
|
-
import * as i7 from "./floatingactionbutton/floatingactionbutton.component";
|
|
13
|
-
import * as i8 from "./floatingactionbutton/templates/dial-item-template.directive";
|
|
14
|
-
import * as i9 from "./floatingactionbutton/templates/fab-template.directive";
|
|
15
|
-
import * as i10 from "./splitbutton/splitbutton.component";
|
|
16
|
-
import * as i11 from "./splitbutton/localization/custom-messages.component";
|
|
17
|
-
import * as i12 from "@progress/kendo-angular-common";
|
|
18
|
-
import * as i13 from "./speechtotextbutton/speechtotextbutton.component";
|
|
19
|
-
import * as i14 from "./smartpastebutton/smartpastebutton.component";
|
|
20
|
-
import * as i15 from "./segmentedcontrol/segmented-control.component";
|
|
21
|
-
/**
|
|
22
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
23
|
-
* definition for the Buttons components.
|
|
24
|
-
*
|
|
25
|
-
* Required for adding all Button features in NgModule-based Angular applications.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
*
|
|
29
|
-
* ```ts-no-run
|
|
30
|
-
* import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
31
|
-
* import { NgModule } from '@angular/core';
|
|
32
|
-
* import { AppComponent } from './app.component';
|
|
33
|
-
*
|
|
34
|
-
* @NgModule({
|
|
35
|
-
* declarations: [AppComponent], // declare app component
|
|
36
|
-
* imports: [BrowserModule, ButtonsModule], // import Buttons module
|
|
37
|
-
* bootstrap: [AppComponent]
|
|
38
|
-
* })
|
|
39
|
-
* export class AppModule {}
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
export declare class ButtonsModule {
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonsModule, never>;
|
|
44
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonsModule, never, [typeof i1.ButtonComponent, typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.DropDownButtonComponent, typeof i4.ButtonItemTemplateDirective, typeof i5.ChipComponent, typeof i5.ChipComponent, typeof i6.ChipListComponent, typeof i7.FloatingActionButtonComponent, typeof i8.DialItemTemplateDirective, typeof i9.FloatingActionButtonTemplateDirective, typeof i10.SplitButtonComponent, typeof i11.SplitButtonCustomMessagesComponent, typeof i12.ToggleButtonTabStopDirective, typeof i4.ButtonItemTemplateDirective, typeof i13.SpeechToTextButtonComponent, typeof i14.SmartPasteButtonComponent, typeof i15.SegmentedControlComponent, typeof i12.ToggleButtonTabStopDirective], [typeof i1.ButtonComponent, typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.DropDownButtonComponent, typeof i4.ButtonItemTemplateDirective, typeof i5.ChipComponent, typeof i5.ChipComponent, typeof i6.ChipListComponent, typeof i7.FloatingActionButtonComponent, typeof i8.DialItemTemplateDirective, typeof i9.FloatingActionButtonTemplateDirective, typeof i10.SplitButtonComponent, typeof i11.SplitButtonCustomMessagesComponent, typeof i12.ToggleButtonTabStopDirective, typeof i4.ButtonItemTemplateDirective, typeof i13.SpeechToTextButtonComponent, typeof i14.SmartPasteButtonComponent, typeof i15.SegmentedControlComponent, typeof i12.ToggleButtonTabStopDirective]>;
|
|
45
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonsModule>;
|
|
46
|
-
}
|
|
@@ -1,18 +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 { ChipComponent } from './chip.component';
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the `contentClick` event of the Chip.
|
|
8
|
-
*/
|
|
9
|
-
export interface ChipContentClickEvent {
|
|
10
|
-
/**
|
|
11
|
-
* The `ChipComponent` instance.
|
|
12
|
-
*/
|
|
13
|
-
sender: ChipComponent;
|
|
14
|
-
/**
|
|
15
|
-
* The DOM event that triggered the `contentClick` event of the Chip.
|
|
16
|
-
*/
|
|
17
|
-
originalEvent: any;
|
|
18
|
-
}
|
|
@@ -1,23 +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 { ChipListComponent } from './chip-list.component';
|
|
6
|
-
import { ChipComponent } from './chip.component';
|
|
7
|
-
/**
|
|
8
|
-
* Arguments for the `remove` event of the ChipList.
|
|
9
|
-
*/
|
|
10
|
-
export interface ChipListRemoveEvent {
|
|
11
|
-
/**
|
|
12
|
-
* The `ChipListComponent` instance.
|
|
13
|
-
*/
|
|
14
|
-
sender: ChipListComponent;
|
|
15
|
-
/**
|
|
16
|
-
* The DOM event that triggered the `remove` event of the ChipList.
|
|
17
|
-
*/
|
|
18
|
-
originalEvent: any;
|
|
19
|
-
/**
|
|
20
|
-
* The removed `ChipComponent` instance.
|
|
21
|
-
*/
|
|
22
|
-
removedChip: ChipComponent;
|
|
23
|
-
}
|