@progress/kendo-angular-buttons 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-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
|
@@ -1,15 +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, ViewContainerRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class PopupContainerService {
|
|
11
|
-
container: ViewContainerRef;
|
|
12
|
-
template: TemplateRef<any>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopupContainerService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PopupContainerService>;
|
|
15
|
-
}
|
|
@@ -1,164 +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 { EventEmitter, ElementRef, OnDestroy, NgZone, ChangeDetectorRef, SimpleChanges, ViewContainerRef, TemplateRef } from '@angular/core';
|
|
6
|
-
import { Subscription } from 'rxjs';
|
|
7
|
-
import { PopupSettings } from './popup-settings';
|
|
8
|
-
import { FocusService } from './../focusable/focus.service';
|
|
9
|
-
import { KeyEvents } from './../navigation/key-events';
|
|
10
|
-
import { NavigationService } from './../navigation/navigation.service';
|
|
11
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
12
|
-
import { Direction } from '../direction';
|
|
13
|
-
import { PreventableEvent } from '../preventable-event';
|
|
14
|
-
import { Align, PopupRef, PopupService } from '@progress/kendo-angular-popup';
|
|
15
|
-
import { PopupContainerService } from './container.service';
|
|
16
|
-
import { MultiTabStop } from '@progress/kendo-angular-common';
|
|
17
|
-
import { ListComponent } from './list.component';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
export declare class ListButton extends MultiTabStop implements OnDestroy {
|
|
23
|
-
protected focusService: FocusService;
|
|
24
|
-
protected navigationService: NavigationService;
|
|
25
|
-
protected wrapperRef: ElementRef;
|
|
26
|
-
private _zone;
|
|
27
|
-
private popupService;
|
|
28
|
-
private elRef;
|
|
29
|
-
protected cdr: ChangeDetectorRef;
|
|
30
|
-
protected containerService: PopupContainerService;
|
|
31
|
-
protected listId: string;
|
|
32
|
-
protected buttonId: string;
|
|
33
|
-
protected _data: any;
|
|
34
|
-
protected _open: boolean;
|
|
35
|
-
protected _disabled: boolean;
|
|
36
|
-
protected _active: boolean;
|
|
37
|
-
protected _popupSettings: PopupSettings;
|
|
38
|
-
protected _isFocused: boolean;
|
|
39
|
-
protected _itemClick: EventEmitter<any>;
|
|
40
|
-
protected _blur: EventEmitter<any>;
|
|
41
|
-
protected wrapper: HTMLElement;
|
|
42
|
-
protected subs: Subscription;
|
|
43
|
-
protected direction: Direction;
|
|
44
|
-
protected popupRef: PopupRef;
|
|
45
|
-
private popupSubs;
|
|
46
|
-
button: ElementRef<HTMLButtonElement>;
|
|
47
|
-
buttonList: ListComponent;
|
|
48
|
-
popupTemplate: TemplateRef<any>;
|
|
49
|
-
container: ViewContainerRef;
|
|
50
|
-
/**
|
|
51
|
-
* Sets the disabled state of the DropDownButton.
|
|
52
|
-
* When `true`, the button is disabled and cannot be interacted with.
|
|
53
|
-
*/
|
|
54
|
-
set disabled(value: boolean);
|
|
55
|
-
get disabled(): boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
58
|
-
* Determines the order of focus when navigating with the keyboard.
|
|
59
|
-
*
|
|
60
|
-
* @default 0
|
|
61
|
-
*/
|
|
62
|
-
tabIndex: number;
|
|
63
|
-
/**
|
|
64
|
-
* The CSS classes applied to the main button.
|
|
65
|
-
* Supports the same values as [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
66
|
-
*/
|
|
67
|
-
buttonClass: any;
|
|
68
|
-
/**
|
|
69
|
-
* Fires when the popup is about to open.
|
|
70
|
-
* This event is preventable. Canceling the event keeps the popup closed.
|
|
71
|
-
*/
|
|
72
|
-
open: EventEmitter<PreventableEvent>;
|
|
73
|
-
/**
|
|
74
|
-
* Fires when the popup is about to close.
|
|
75
|
-
* This event is preventable. Canceling the event keeps the popup open.
|
|
76
|
-
*/
|
|
77
|
-
close: EventEmitter<PreventableEvent>;
|
|
78
|
-
/**
|
|
79
|
-
* Needed by the kendoToggleButtonTabStop directive
|
|
80
|
-
*
|
|
81
|
-
* @hidden
|
|
82
|
-
*/
|
|
83
|
-
escape: EventEmitter<any>;
|
|
84
|
-
/**
|
|
85
|
-
* @hidden
|
|
86
|
-
*/
|
|
87
|
-
get componentTabIndex(): number;
|
|
88
|
-
private get appendTo();
|
|
89
|
-
/**
|
|
90
|
-
* Configures the popup of the DropDownButton.
|
|
91
|
-
*/
|
|
92
|
-
set popupSettings(settings: PopupSettings);
|
|
93
|
-
get popupSettings(): PopupSettings;
|
|
94
|
-
/**
|
|
95
|
-
* @hidden
|
|
96
|
-
*/
|
|
97
|
-
get anchorAlign(): Align;
|
|
98
|
-
/**
|
|
99
|
-
* @hidden
|
|
100
|
-
*/
|
|
101
|
-
get popupAlign(): Align;
|
|
102
|
-
protected isClosePrevented: boolean;
|
|
103
|
-
constructor(focusService: FocusService, navigationService: NavigationService, wrapperRef: ElementRef, _zone: NgZone, popupService: PopupService, elRef: ElementRef, localization: LocalizationService, cdr: ChangeDetectorRef, containerService: PopupContainerService);
|
|
104
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
105
|
-
get popupClasses(): string;
|
|
106
|
-
get openState(): boolean;
|
|
107
|
-
/**
|
|
108
|
-
* @hidden
|
|
109
|
-
*/
|
|
110
|
-
set openState(open: boolean);
|
|
111
|
-
/**
|
|
112
|
-
* Returns the current open state of the popup.
|
|
113
|
-
*/
|
|
114
|
-
get isOpen(): boolean;
|
|
115
|
-
/**
|
|
116
|
-
* @hidden
|
|
117
|
-
*/
|
|
118
|
-
togglePopupVisibility(): void;
|
|
119
|
-
/**
|
|
120
|
-
* @hidden
|
|
121
|
-
*/
|
|
122
|
-
onItemClick(index: number): void;
|
|
123
|
-
ngOnDestroy(): void;
|
|
124
|
-
protected subscribeEvents(): void;
|
|
125
|
-
protected subscribeListItemFocusEvent(): void;
|
|
126
|
-
protected subscribeComponentBlurredEvent(): void;
|
|
127
|
-
protected subscribeNavigationEvents(): void;
|
|
128
|
-
/**
|
|
129
|
-
* Toggles the visibility of the popup.
|
|
130
|
-
* If the `toggle` method is used, the `open` and `close` events are not fired.
|
|
131
|
-
*
|
|
132
|
-
* @param open - The desired state of the popup.
|
|
133
|
-
*/
|
|
134
|
-
toggle(open: boolean): void;
|
|
135
|
-
/**
|
|
136
|
-
* @hidden
|
|
137
|
-
*/
|
|
138
|
-
keyDownHandler(event: any, isHost?: boolean): void;
|
|
139
|
-
/**
|
|
140
|
-
* @hidden
|
|
141
|
-
*/
|
|
142
|
-
keyUpHandler(event: any): void;
|
|
143
|
-
/**
|
|
144
|
-
* @hidden
|
|
145
|
-
*/
|
|
146
|
-
keyHandler(event: KeyboardEvent, keyEvent?: KeyEvents, isHost?: boolean): void;
|
|
147
|
-
protected emitItemClickHandler(index: number): void;
|
|
148
|
-
protected focusWrapper(): void;
|
|
149
|
-
protected wrapperContains(element: any): boolean;
|
|
150
|
-
protected blurWrapper(emit?: boolean): void;
|
|
151
|
-
protected focusButton(): void;
|
|
152
|
-
protected handleTab(): void;
|
|
153
|
-
protected onNavigationEnterUp(_args?: any): void;
|
|
154
|
-
protected onNavigationOpen(): void;
|
|
155
|
-
protected onNavigationClose(e?: any): void;
|
|
156
|
-
protected onArrowKeyNavigate({ index }: {
|
|
157
|
-
index: any;
|
|
158
|
-
}): void;
|
|
159
|
-
private _toggle;
|
|
160
|
-
private createPopup;
|
|
161
|
-
private destroyPopup;
|
|
162
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListButton, never>;
|
|
163
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListButton, "ng-component", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; }, { "open": "open"; "close": "close"; "escape": "escape"; }, never, never, true, never>;
|
|
164
|
-
}
|
|
@@ -1,75 +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
|
-
/**
|
|
7
|
-
* Represents the item models of the Kendo UI DropDownButton and SplitButton components. These are the interface fields that the items use.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* @Component({
|
|
13
|
-
* selector: 'my-app',
|
|
14
|
-
* template: `
|
|
15
|
-
* <kendo-splitbutton [data]="items">SplitButton</kendo-splitbutton>
|
|
16
|
-
* `
|
|
17
|
-
* })
|
|
18
|
-
* class AppComponent {
|
|
19
|
-
* public items: ListItemModel[] = [{
|
|
20
|
-
* text: 'item1',
|
|
21
|
-
* icon: 'arrow-rotate-cw',
|
|
22
|
-
* click: (dataItem: any) => {
|
|
23
|
-
* //action
|
|
24
|
-
* }
|
|
25
|
-
* }, {
|
|
26
|
-
* text: 'item2',
|
|
27
|
-
* iconClass: 'test icon class',
|
|
28
|
-
* click: (dataItem: any) => {
|
|
29
|
-
* //action
|
|
30
|
-
* }
|
|
31
|
-
* }]
|
|
32
|
-
* }
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export interface ListItemModel {
|
|
36
|
-
/**
|
|
37
|
-
* Sets the text of the item.
|
|
38
|
-
*/
|
|
39
|
-
text?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Defines an icon rendered next to the title.
|
|
42
|
-
*/
|
|
43
|
-
icon?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Defines an [SVGIcon](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) rendered next to the title.
|
|
46
|
-
*/
|
|
47
|
-
svgIcon?: SVGIcon;
|
|
48
|
-
/**
|
|
49
|
-
* Defines an icon with a custom CSS class rendered next to the title.
|
|
50
|
-
*/
|
|
51
|
-
iconClass?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Specifies the location of an image displayed next to the title.
|
|
54
|
-
*/
|
|
55
|
-
imageUrl?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Specifies the value of the image element `alt` attribute.
|
|
58
|
-
*
|
|
59
|
-
* @remarks
|
|
60
|
-
* This option is related to accessibility.
|
|
61
|
-
*/
|
|
62
|
-
imageAlt?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Disables the button list item when set to `true`.
|
|
65
|
-
*/
|
|
66
|
-
disabled?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Specifies the CSS classes rendered on the item element. Supports the same values as `ngClass`.
|
|
69
|
-
*/
|
|
70
|
-
cssClass?: any;
|
|
71
|
-
/**
|
|
72
|
-
* Emits an event when the item is clicked.
|
|
73
|
-
*/
|
|
74
|
-
click?: (dataItem?: any) => void;
|
|
75
|
-
}
|
|
@@ -1,28 +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 { EventEmitter } from '@angular/core';
|
|
6
|
-
import { ListItemModel } from './list-item-model';
|
|
7
|
-
import { ButtonItemTemplateDirective } from './button-item-template.directive';
|
|
8
|
-
import { ButtonSize } from '../common/models';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class ListComponent {
|
|
14
|
-
data: Array<ListItemModel>;
|
|
15
|
-
textField: string;
|
|
16
|
-
itemTemplate: ButtonItemTemplateDirective;
|
|
17
|
-
onItemClick: EventEmitter<number>;
|
|
18
|
-
onItemBlur: EventEmitter<any>;
|
|
19
|
-
set size(size: ButtonSize);
|
|
20
|
-
sizeClass: string;
|
|
21
|
-
constructor();
|
|
22
|
-
getText(dataItem: any): any;
|
|
23
|
-
getIconClasses(dataItem: ListItemModel): any;
|
|
24
|
-
onClick(index: number): void;
|
|
25
|
-
onBlur(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "kendo-button-list", never, { "data": { "alias": "data"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "onItemClick": "onItemClick"; "onItemBlur": "onItemBlur"; }, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1,52 +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 { ViewContainerRef } from '@angular/core';
|
|
6
|
-
/**
|
|
7
|
-
* Configures the popup settings.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* @Component({
|
|
12
|
-
* selector: 'my-app',
|
|
13
|
-
* template: `
|
|
14
|
-
* <kendo-splitbutton [data]="items" [popupSettings]="popupSettings">
|
|
15
|
-
* SplitButton
|
|
16
|
-
* </kendo-splitbutton>
|
|
17
|
-
* `
|
|
18
|
-
* })
|
|
19
|
-
* class AppComponent {
|
|
20
|
-
* public popupSettings: PopupSettings = {
|
|
21
|
-
* popupClass: 'customClass',
|
|
22
|
-
* align: 'center',
|
|
23
|
-
* };
|
|
24
|
-
* public items: Array<any> = [{
|
|
25
|
-
* text: 'item1'
|
|
26
|
-
* }, {
|
|
27
|
-
* text: 'item2'
|
|
28
|
-
* }];
|
|
29
|
-
* }
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export interface PopupSettings {
|
|
33
|
-
/**
|
|
34
|
-
* Enables or disables the popup animation.
|
|
35
|
-
* By default, the open and close animations are enabled.
|
|
36
|
-
*/
|
|
37
|
-
animate?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Specifies CSS classes for styling the popup.
|
|
40
|
-
*/
|
|
41
|
-
popupClass?: string | string[] | object | Set<string>;
|
|
42
|
-
/**
|
|
43
|
-
* Specifies the container for the popup.
|
|
44
|
-
* By default, the popup is appended to the root component.
|
|
45
|
-
*/
|
|
46
|
-
appendTo?: 'root' | 'component' | ViewContainerRef;
|
|
47
|
-
/**
|
|
48
|
-
* Specifies the alignment of the popup.
|
|
49
|
-
* By default, the popup is left-aligned.
|
|
50
|
-
*/
|
|
51
|
-
align?: 'left' | 'center' | 'right';
|
|
52
|
-
}
|
|
@@ -1,12 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare enum KeyEvents {
|
|
9
|
-
keydown = 0,
|
|
10
|
-
keypress = 1,
|
|
11
|
-
keyup = 2
|
|
12
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare enum NavigationAction {
|
|
9
|
-
Undefined = 0,
|
|
10
|
-
Open = 1,
|
|
11
|
-
Close = 2,
|
|
12
|
-
Enter = 3,
|
|
13
|
-
EnterPress = 4,
|
|
14
|
-
EnterUp = 5,
|
|
15
|
-
Tab = 6,
|
|
16
|
-
Esc = 7,
|
|
17
|
-
Navigate = 8
|
|
18
|
-
}
|
|
@@ -1,15 +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 { InjectionToken } from '@angular/core';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export interface NavigationConfig {
|
|
10
|
-
useLeftRightArrows: boolean;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export declare const NAVIGATION_CONFIG: InjectionToken<string>;
|
|
@@ -1,28 +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 { EventEmitter } from '@angular/core';
|
|
6
|
-
import { NavigationAction } from './navigation-action';
|
|
7
|
-
import { NavigationConfig } from './navigation-config';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class NavigationService {
|
|
13
|
-
navigate: EventEmitter<number>;
|
|
14
|
-
open: EventEmitter<any>;
|
|
15
|
-
close: EventEmitter<any>;
|
|
16
|
-
enter: EventEmitter<any>;
|
|
17
|
-
enterpress: EventEmitter<any>;
|
|
18
|
-
enterup: EventEmitter<any>;
|
|
19
|
-
tab: EventEmitter<any>;
|
|
20
|
-
esc: EventEmitter<any>;
|
|
21
|
-
useLeftRightArrows: boolean;
|
|
22
|
-
constructor(config: NavigationConfig);
|
|
23
|
-
process(args: any): NavigationAction;
|
|
24
|
-
private isEnterOrSpace;
|
|
25
|
-
private next;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
28
|
-
}
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +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 { type PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|
package/preventable-event.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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare class PreventableEvent {
|
|
9
|
-
private prevented;
|
|
10
|
-
/**
|
|
11
|
-
* Prevents the default action for a specified event.
|
|
12
|
-
* In this way, the source component suppresses the built-in behavior that follows the event.
|
|
13
|
-
*/
|
|
14
|
-
preventDefault(): void;
|
|
15
|
-
/**
|
|
16
|
-
* If the event is prevented by any of its subscribers, returns `true`.
|
|
17
|
-
*
|
|
18
|
-
* @returns `true` if the default action was prevented. Otherwise, returns `false`.
|
|
19
|
-
*/
|
|
20
|
-
isDefaultPrevented(): boolean;
|
|
21
|
-
}
|
|
@@ -1,41 +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
|
-
/**
|
|
7
|
-
* Specifies how the items are sized within the SegmentedControl.
|
|
8
|
-
* - `compact`—Items take up only the space they need.
|
|
9
|
-
* - `stretch`—Items stretch to fill the full width of the control.
|
|
10
|
-
*/
|
|
11
|
-
export type SegmentedControlLayout = 'compact' | 'stretch';
|
|
12
|
-
/**
|
|
13
|
-
* Specifies the possible sizes of the SegmentedControl.
|
|
14
|
-
*/
|
|
15
|
-
export type SegmentedControlSize = 'small' | 'medium' | 'large';
|
|
16
|
-
/**
|
|
17
|
-
* Represents the settings for an item in the `SegmentedControlComponent`.
|
|
18
|
-
*/
|
|
19
|
-
export interface SegmentedItemSettings {
|
|
20
|
-
/**
|
|
21
|
-
* Specifies the name of an existing font icon in the Kendo UI theme.
|
|
22
|
-
*/
|
|
23
|
-
icon?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Defines the SVG icon to render inside the button.
|
|
26
|
-
*/
|
|
27
|
-
svgIcon?: SVGIcon;
|
|
28
|
-
/**
|
|
29
|
-
* Specifies the text content of the button.
|
|
30
|
-
*/
|
|
31
|
-
text?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Determines whether the button is disabled.
|
|
34
|
-
*/
|
|
35
|
-
disabled?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Sets the `title` attribute of the button. When no `text` is provided,
|
|
38
|
-
* the `title` value also renders as the `aria-label` attribute.
|
|
39
|
-
*/
|
|
40
|
-
title?: string;
|
|
41
|
-
}
|
|
@@ -1,81 +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, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
|
6
|
-
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { SegmentedItemSettings, SegmentedControlLayout, SegmentedControlSize } from './models';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Represents the Kendo UI SegmentedControl component for Angular.
|
|
12
|
-
*
|
|
13
|
-
* Renders a group of buttons where only one can be selected at a time,
|
|
14
|
-
* with a sliding selection indicator.
|
|
15
|
-
*/
|
|
16
|
-
export declare class SegmentedControlComponent implements AfterViewInit, OnDestroy {
|
|
17
|
-
private renderer;
|
|
18
|
-
private wrapper;
|
|
19
|
-
private zone;
|
|
20
|
-
hostClass: boolean;
|
|
21
|
-
get stretchedClass(): boolean;
|
|
22
|
-
get direction(): string;
|
|
23
|
-
hostRole: string;
|
|
24
|
-
thumb: ElementRef;
|
|
25
|
-
resizeSensor: ResizeSensorComponent;
|
|
26
|
-
/**
|
|
27
|
-
* Specifies the collection of items to render in the SegmentedControl.
|
|
28
|
-
*/
|
|
29
|
-
set items(value: Array<SegmentedItemSettings>);
|
|
30
|
-
get items(): Array<SegmentedItemSettings>;
|
|
31
|
-
/**
|
|
32
|
-
* Specifies the layout mode of the SegmentedControl.
|
|
33
|
-
*
|
|
34
|
-
* @default 'compact'
|
|
35
|
-
*/
|
|
36
|
-
set layoutMode(value: SegmentedControlLayout);
|
|
37
|
-
get layoutMode(): SegmentedControlLayout;
|
|
38
|
-
/**
|
|
39
|
-
* Specifies the size of the SegmentedControl.
|
|
40
|
-
*/
|
|
41
|
-
set size(size: SegmentedControlSize);
|
|
42
|
-
get size(): SegmentedControlSize;
|
|
43
|
-
/**
|
|
44
|
-
* Specifies the index of the selected button in the `items` array.
|
|
45
|
-
*
|
|
46
|
-
* @default 0
|
|
47
|
-
*/
|
|
48
|
-
set selected(value: number);
|
|
49
|
-
get selected(): number;
|
|
50
|
-
/**
|
|
51
|
-
* Fires when the selected button changes. Emits the index of the selected button.
|
|
52
|
-
*/
|
|
53
|
-
selectedChange: EventEmitter<number>;
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
selectedButtonIndex: number;
|
|
58
|
-
private _items;
|
|
59
|
-
private _size;
|
|
60
|
-
private _layoutMode;
|
|
61
|
-
private _direction;
|
|
62
|
-
private subs;
|
|
63
|
-
constructor(renderer: Renderer2, wrapper: ElementRef, zone: NgZone, localization: LocalizationService);
|
|
64
|
-
ngAfterViewInit(): void;
|
|
65
|
-
ngOnDestroy(): void;
|
|
66
|
-
/**
|
|
67
|
-
* @hidden
|
|
68
|
-
*/
|
|
69
|
-
handleClick(button: SegmentedItemSettings, index: number): void;
|
|
70
|
-
/**
|
|
71
|
-
* @hidden
|
|
72
|
-
*/
|
|
73
|
-
handleKeydown(event: KeyboardEvent, button: SegmentedItemSettings): void;
|
|
74
|
-
private handleSizeClass;
|
|
75
|
-
/**
|
|
76
|
-
* Updates the thumb position to reflect the currently selected button.
|
|
77
|
-
*/
|
|
78
|
-
private showSelectionIndicator;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedControlComponent, "kendo-segmented-control", never, { "items": { "alias": "items"; "required": false; }; "layoutMode": { "alias": "layoutMode"; "required": false; }; "size": { "alias": "size"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
81
|
-
}
|
|
@@ -1,19 +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 "./segmented-control.component";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the exported package module.
|
|
9
|
-
*
|
|
10
|
-
* Required for adding SegmentedControl features in NgModule-based Angular applications.
|
|
11
|
-
*
|
|
12
|
-
* The package exports:
|
|
13
|
-
* - `SegmentedControlComponent`—The SegmentedControl component class.
|
|
14
|
-
*/
|
|
15
|
-
export declare class SegmentedControlModule {
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SegmentedControlModule, never, [typeof i1.SegmentedControlComponent], [typeof i1.SegmentedControlComponent]>;
|
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SegmentedControlModule>;
|
|
19
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Represents a form field configuration for Smart Paste.
|
|
7
|
-
*/
|
|
8
|
-
export interface SmartPasteFormField {
|
|
9
|
-
/**
|
|
10
|
-
* Sets the name or identifier of the form field.
|
|
11
|
-
*/
|
|
12
|
-
field: string;
|
|
13
|
-
/**
|
|
14
|
-
* Sets the data type of the form field.
|
|
15
|
-
*/
|
|
16
|
-
type: SmartPasteType;
|
|
17
|
-
/**
|
|
18
|
-
* Sets the description of the form field.
|
|
19
|
-
* Helps the AI understand the purpose and expected content of the field.
|
|
20
|
-
*/
|
|
21
|
-
description: string;
|
|
22
|
-
/**
|
|
23
|
-
* Sets the allowed values for enum-type fields.
|
|
24
|
-
* Use this for fields with a fixed set of options like select or radio buttons.
|
|
25
|
-
*/
|
|
26
|
-
allowedValues?: string[];
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
export interface SmartPasteFormFieldInternal extends SmartPasteFormField {
|
|
32
|
-
/**
|
|
33
|
-
* The DOM element associated with the form field.
|
|
34
|
-
*/
|
|
35
|
-
element: Element | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Defines the data type for a Smart Paste form field.
|
|
39
|
-
*/
|
|
40
|
-
export type SmartPasteType = 'string' | 'boolean' | 'number' | 'fixed-choices' | 'kendo-input';
|
|
@@ -1,6 +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
|
-
export * from './form-field';
|
|
6
|
-
export * from './service-settings';
|