@progress/kendo-angular-buttons 17.0.0-develop.21 → 17.0.0-develop.22
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/button/button.component.d.ts +1 -1
- package/button/selection-settings.d.ts +1 -1
- package/buttongroup/buttongroup.component.d.ts +1 -1
- package/chip/chip-list.component.d.ts +1 -1
- package/chip/chip.component.d.ts +1 -1
- package/chip/models/selection.d.ts +1 -1
- package/common/models/fillmode.d.ts +2 -2
- package/common/models/rounded.d.ts +2 -2
- package/common/models/size.d.ts +3 -3
- package/common/models/theme-color.d.ts +2 -2
- package/direction.d.ts +1 -1
- package/dropdownbutton/dropdownbutton.component.d.ts +2 -9
- package/{esm2020 → esm2022}/button/button.component.mjs +63 -49
- package/{esm2020 → esm2022}/button/button.module.mjs +4 -4
- package/{esm2020 → esm2022}/button/button.service.mjs +5 -7
- package/{esm2020 → esm2022}/buttongroup/buttongroup.component.mjs +76 -51
- package/{esm2020 → esm2022}/buttongroup/buttongroup.module.mjs +4 -4
- package/{esm2020 → esm2022}/buttons.module.mjs +4 -4
- package/{esm2020 → esm2022}/chip/chip-list.component.mjs +55 -45
- package/{esm2020 → esm2022}/chip/chip.component.mjs +123 -70
- package/{esm2020 → esm2022}/chip/chip.module.mjs +4 -4
- package/{esm2020 → esm2022}/dropdownbutton/dropdownbutton.component.mjs +109 -111
- package/{esm2020 → esm2022}/dropdownbutton/dropdownbutton.module.mjs +4 -4
- package/{esm2020 → esm2022}/floatingactionbutton/dial-item.component.mjs +21 -11
- package/{esm2020 → esm2022}/floatingactionbutton/dial-list.component.mjs +16 -11
- package/{esm2020 → esm2022}/floatingactionbutton/floatingactionbutton.component.mjs +145 -102
- package/{esm2020 → esm2022}/floatingactionbutton/floatingactionbutton.module.mjs +4 -4
- package/{esm2020 → esm2022}/floatingactionbutton/templates/dial-item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/floatingactionbutton/templates/fab-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/focusable/focus.service.mjs +5 -6
- package/{esm2020 → esm2022}/focusable/focusable.directive.mjs +8 -4
- package/{esm2020 → esm2022}/listbutton/button-item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/listbutton/container.service.mjs +5 -3
- package/{esm2020 → esm2022}/listbutton/list-button.mjs +88 -51
- package/{esm2020 → esm2022}/listbutton/list.component.mjs +13 -10
- package/{esm2020 → esm2022}/listbutton/list.module.mjs +8 -8
- package/{esm2020 → esm2022}/navigation/navigation.service.mjs +12 -11
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/splitbutton/localization/custom-messages.component.mjs +7 -6
- package/{esm2020 → esm2022}/splitbutton/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/splitbutton/localization/messages.mjs +45 -0
- package/{esm2020 → esm2022}/splitbutton/splitbutton.component.mjs +189 -182
- package/{esm2020 → esm2022}/splitbutton/splitbutton.module.mjs +4 -4
- package/{fesm2020 → fesm2022}/progress-kendo-angular-buttons.mjs +1246 -1013
- package/floatingactionbutton/dial-item.component.d.ts +1 -1
- package/floatingactionbutton/dial-list.component.d.ts +1 -1
- package/floatingactionbutton/floatingactionbutton.component.d.ts +1 -1
- package/floatingactionbutton/models/position-mode.d.ts +1 -1
- package/focusable/focusable.directive.d.ts +1 -1
- package/listbutton/list-button.d.ts +9 -4
- package/listbutton/list.component.d.ts +1 -1
- package/package.json +14 -20
- package/splitbutton/localization/messages.d.ts +1 -1
- package/splitbutton/splitbutton.component.d.ts +3 -16
- package/esm2020/splitbutton/localization/messages.mjs +0 -23
- package/fesm2015/progress-kendo-angular-buttons.mjs +0 -5560
- /package/{esm2020 → esm2022}/button/selection-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/chip-content-click-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/chip-list-remove-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/chip-remove-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/models/avatar-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/models/selection.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/arrow-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/fillmode.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/rounded.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/size.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/styling-classes.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/theme-color.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models.mjs +0 -0
- /package/{esm2020 → esm2022}/direction.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/animations/animations.mjs +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/models/align.mjs +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/models/item-animation.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/models/item-click.event.mjs +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/models/item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/models/offset.mjs +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/models/position-mode.mjs +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/listbutton/list-item-model.mjs +0 -0
- /package/{esm2020 → esm2022}/listbutton/popup-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/key-events.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-action.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-config.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-buttons.mjs +0 -0
- /package/{esm2020 → esm2022}/util.mjs +0 -0
|
@@ -206,5 +206,5 @@ export declare class ButtonComponent implements OnDestroy, AfterViewInit {
|
|
|
206
206
|
private handleClasses;
|
|
207
207
|
private handleThemeColor;
|
|
208
208
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [null, null, { optional: true; }, null, null]>;
|
|
209
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[kendoButton]", ["kendoButton"], { "arrowIcon": "arrowIcon"; "toggleable": "toggleable"; "togglable": "togglable"; "selected": "selected"; "tabIndex": "tabIndex"; "imageUrl": "imageUrl"; "iconClass": "iconClass"; "icon": "icon"; "disabled": "disabled"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "svgIcon": "svgIcon"; "primary": "primary"; "look": "look"; }, { "selectedChange": "selectedChange"; "click": "click"; }, never, ["*"], true, never>;
|
|
209
|
+
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; }; "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; }; "primary": { "alias": "primary"; "required": false; }; "look": { "alias": "look"; "required": false; }; }, { "selectedChange": "selectedChange"; "click": "click"; }, never, ["*"], true, never>;
|
|
210
210
|
}
|
|
@@ -90,5 +90,5 @@ export declare class ButtonGroupComponent implements OnInit, OnDestroy, AfterCon
|
|
|
90
90
|
private handleSubs;
|
|
91
91
|
private focusHandler;
|
|
92
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "kendo-buttongroup", ["kendoButtonGroup"], { "disabled": "disabled"; "selection": "selection"; "width": "width"; "tabIndex": "tabIndex"; "navigable": "navigable"; }, { "navigate": "navigate"; }, ["buttons"], ["[kendoButton]"], true, never>;
|
|
93
|
+
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>;
|
|
94
94
|
}
|
|
@@ -91,5 +91,5 @@ export declare class ChipListComponent implements OnInit, AfterViewInit, AfterCo
|
|
|
91
91
|
private updateChips;
|
|
92
92
|
private normalizeActiveIndex;
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipListComponent, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipListComponent, "kendo-chiplist, kendo-chip-list", never, { "selection": "selection"; "size": "size"; "role": "role"; "navigable": "navigable"; }, { "selectedChange": "selectedChange"; "remove": "remove"; }, ["chips"], ["*"], true, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipListComponent, "kendo-chiplist, kendo-chip-list", never, { "selection": { "alias": "selection"; "required": false; }; "size": { "alias": "size"; "required": false; }; "role": { "alias": "role"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; }, { "selectedChange": "selectedChange"; "remove": "remove"; }, ["chips"], ["*"], true, never>;
|
|
95
95
|
}
|
package/chip/chip.component.d.ts
CHANGED
|
@@ -216,5 +216,5 @@ export declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
|
|
|
216
216
|
private handleThemeColor;
|
|
217
217
|
private keyDownHandler;
|
|
218
218
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>;
|
|
219
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "kendo-chip", never, { "label": "label"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "avatarSettings": "avatarSettings"; "selected": "selected"; "removable": "removable"; "removeIcon": "removeIcon"; "removeSvgIcon": "removeSvgIcon"; "hasMenu": "hasMenu"; "menuIcon": "menuIcon"; "menuSvgIcon": "menuSvgIcon"; "disabled": "disabled"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; }, { "remove": "remove"; "menuToggle": "menuToggle"; "contentClick": "contentClick"; }, never, ["*"], true, never>;
|
|
219
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "kendo-chip", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "avatarSettings": { "alias": "avatarSettings"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "removeIcon": { "alias": "removeIcon"; "required": false; }; "removeSvgIcon": { "alias": "removeSvgIcon"; "required": false; }; "hasMenu": { "alias": "hasMenu"; "required": false; }; "menuIcon": { "alias": "menuIcon"; "required": false; }; "menuSvgIcon": { "alias": "menuSvgIcon"; "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; }; }, { "remove": "remove"; "menuToggle": "menuToggle"; "contentClick": "contentClick"; }, never, ["*"], true, never>;
|
|
220
220
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* Represents the possible fillMode options of the buttons.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type ButtonFillMode = 'solid' | 'flat' | 'outline' | 'link' | 'clear' | 'none';
|
|
9
9
|
/**
|
|
10
10
|
* Represents the possible fillMode options of the Chip.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type ChipFillMode = 'solid' | 'outline' | 'none';
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* Represents the possible rounded options of the buttons.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type ButtonRounded = 'small' | 'medium' | 'large' | 'full' | 'none';
|
|
9
9
|
/**
|
|
10
10
|
* Represents the possible rounded options of the Chip.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type ChipRounded = 'small' | 'medium' | 'large' | 'full' | 'none';
|
package/common/models/size.d.ts
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
* Specifies the possible sizes of the buttons.
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type ButtonSize = 'small' | 'medium' | 'large' | 'none';
|
|
10
10
|
/**
|
|
11
11
|
* Specifies the possible sizes of the Chip.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ChipSize = 'small' | 'medium' | 'large' | 'none';
|
|
14
14
|
/**
|
|
15
15
|
* Specifies the possible gap between Chips in a ChipList.
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export type ChipListSize = 'small' | 'medium' | 'large' | 'none';
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* * `inverse`— Applies coloring based on the `inverse` theme color.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
22
|
+
export type ButtonThemeColor = 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse' | 'none';
|
|
23
23
|
/**
|
|
24
24
|
* Specifies the possible theme colors of the Chip.
|
|
25
25
|
*
|
|
@@ -30,4 +30,4 @@ export declare type ButtonThemeColor = 'base' | 'primary' | 'secondary' | 'terti
|
|
|
30
30
|
* * `warning`— Applies coloring based on the `warning` theme color.
|
|
31
31
|
* * `error`— Applies coloring based on the `error` theme color.
|
|
32
32
|
*/
|
|
33
|
-
export
|
|
33
|
+
export type ChipThemeColor = 'base' | 'info' | 'success' | 'warning' | 'error' | 'none';
|
package/direction.d.ts
CHANGED
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import {
|
|
5
|
+
import { ElementRef, EventEmitter, NgZone, ChangeDetectorRef, AfterViewInit, Renderer2 } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
8
|
import { ButtonItemTemplateDirective } from '../listbutton/button-item-template.directive';
|
|
9
9
|
import { Direction } from '../direction';
|
|
10
10
|
import { ListButton } from '../listbutton/list-button';
|
|
11
|
-
import { ListComponent } from '../listbutton/list.component';
|
|
12
11
|
import { FocusService } from '../focusable/focus.service';
|
|
13
12
|
import { NavigationService } from '../navigation/navigation.service';
|
|
14
13
|
import { ArrowIconSettings, ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from '../common/models';
|
|
@@ -163,12 +162,6 @@ export declare class DropDownButtonComponent extends ListButton implements After
|
|
|
163
162
|
*/
|
|
164
163
|
get active(): boolean;
|
|
165
164
|
itemTemplate: ButtonItemTemplateDirective;
|
|
166
|
-
button: ElementRef<HTMLButtonElement>;
|
|
167
|
-
buttonList: ListComponent;
|
|
168
|
-
popupTemplate: TemplateRef<any>;
|
|
169
|
-
container: ViewContainerRef;
|
|
170
|
-
listId: string;
|
|
171
|
-
buttonId: string;
|
|
172
165
|
private _fillMode;
|
|
173
166
|
private _buttonAttributes;
|
|
174
167
|
/**
|
|
@@ -215,5 +208,5 @@ export declare class DropDownButtonComponent extends ListButton implements After
|
|
|
215
208
|
wrapperContains(element: any): boolean;
|
|
216
209
|
private handleButtonAttributes;
|
|
217
210
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownButtonComponent, never>;
|
|
218
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownButtonComponent, "kendo-dropdownbutton", ["kendoDropDownButton"], { "arrowIcon": "arrowIcon"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "imageUrl": "imageUrl"; "textField": "textField"; "data": "data"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "buttonAttributes": "buttonAttributes"; }, { "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; }, ["itemTemplate"], ["*"], true, never>;
|
|
211
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownButtonComponent, "kendo-dropdownbutton", ["kendoDropDownButton"], { "arrowIcon": { "alias": "arrowIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "data": { "alias": "data"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "buttonAttributes": { "alias": "buttonAttributes"; "required": false; }; }, { "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; }, ["itemTemplate"], ["*"], true, never>;
|
|
219
212
|
}
|
|
@@ -27,45 +27,21 @@ const DEFAULT_FILL_MODE = 'solid';
|
|
|
27
27
|
* Please use the `button[kendoButton]` selector only.
|
|
28
28
|
*/
|
|
29
29
|
export class ButtonComponent {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
this.toggleable = false;
|
|
46
|
-
/**
|
|
47
|
-
* Fires each time the selected state of a toggleable button is changed.
|
|
48
|
-
*
|
|
49
|
-
* The event argument is the new selected state (boolean).
|
|
50
|
-
*/
|
|
51
|
-
this.selectedChange = new EventEmitter();
|
|
52
|
-
/**
|
|
53
|
-
* Fires each time the user clicks the button.
|
|
54
|
-
*/
|
|
55
|
-
this.click = new EventEmitter();
|
|
56
|
-
this.isDisabled = false;
|
|
57
|
-
this.caretAltDownIcon = caretAltDownIcon;
|
|
58
|
-
this._size = DEFAULT_SIZE;
|
|
59
|
-
this._rounded = DEFAULT_ROUNDED;
|
|
60
|
-
this._fillMode = DEFAULT_FILL_MODE;
|
|
61
|
-
this._themeColor = DEFAULT_THEME_COLOR;
|
|
62
|
-
this._focused = false;
|
|
63
|
-
this.subs = new Subscription();
|
|
64
|
-
validatePackage(packageMetadata);
|
|
65
|
-
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
66
|
-
this.subs.add(localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
|
|
67
|
-
this.element = element.nativeElement;
|
|
68
|
-
}
|
|
30
|
+
renderer;
|
|
31
|
+
service;
|
|
32
|
+
ngZone;
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
* @default false
|
|
36
|
+
* required for DropDownButton arrow icon.
|
|
37
|
+
*/
|
|
38
|
+
arrowIcon = false;
|
|
39
|
+
/**
|
|
40
|
+
* Provides visual styling that indicates if the Button is active.
|
|
41
|
+
*
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
toggleable = false;
|
|
69
45
|
/**
|
|
70
46
|
* Backwards-compatible alias
|
|
71
47
|
*
|
|
@@ -100,6 +76,11 @@ export class ButtonComponent {
|
|
|
100
76
|
get tabIndex() {
|
|
101
77
|
return this.element.tabIndex;
|
|
102
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* Defines a URL which is used for an `img` element inside the Button.
|
|
81
|
+
* The URL can be relative or absolute. If relative, it is evaluated with relation to the web page URL.
|
|
82
|
+
*/
|
|
83
|
+
imageUrl;
|
|
103
84
|
/**
|
|
104
85
|
* Defines a CSS class—or multiple classes separated by spaces—
|
|
105
86
|
* which are applied to a `span` element inside the Button. Allows the usage of custom icons.
|
|
@@ -210,6 +191,30 @@ export class ButtonComponent {
|
|
|
210
191
|
get svgIcon() {
|
|
211
192
|
return this._svgIcon;
|
|
212
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* Fires each time the selected state of a toggleable button is changed.
|
|
196
|
+
*
|
|
197
|
+
* The event argument is the new selected state (boolean).
|
|
198
|
+
*/
|
|
199
|
+
selectedChange = new EventEmitter();
|
|
200
|
+
/**
|
|
201
|
+
* Fires each time the user clicks the button.
|
|
202
|
+
*/
|
|
203
|
+
click = new EventEmitter();
|
|
204
|
+
element;
|
|
205
|
+
isDisabled = false;
|
|
206
|
+
caretAltDownIcon = caretAltDownIcon;
|
|
207
|
+
_size = DEFAULT_SIZE;
|
|
208
|
+
_rounded = DEFAULT_ROUNDED;
|
|
209
|
+
_fillMode = DEFAULT_FILL_MODE;
|
|
210
|
+
_themeColor = DEFAULT_THEME_COLOR;
|
|
211
|
+
_focused = false;
|
|
212
|
+
direction;
|
|
213
|
+
_selected;
|
|
214
|
+
subs = new Subscription();
|
|
215
|
+
_iconClass;
|
|
216
|
+
_icon;
|
|
217
|
+
_svgIcon;
|
|
213
218
|
set isFocused(isFocused) {
|
|
214
219
|
this.toggleClass('k-focus', isFocused);
|
|
215
220
|
this._focused = isFocused;
|
|
@@ -276,6 +281,15 @@ export class ButtonComponent {
|
|
|
276
281
|
get nativeElement() {
|
|
277
282
|
return this.element;
|
|
278
283
|
}
|
|
284
|
+
constructor(element, renderer, service, localization, ngZone) {
|
|
285
|
+
this.renderer = renderer;
|
|
286
|
+
this.service = service;
|
|
287
|
+
this.ngZone = ngZone;
|
|
288
|
+
validatePackage(packageMetadata);
|
|
289
|
+
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
290
|
+
this.subs.add(localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
|
|
291
|
+
this.element = element.nativeElement;
|
|
292
|
+
}
|
|
279
293
|
ngOnInit() {
|
|
280
294
|
if (!this.element.hasAttribute('role') && this.togglable) {
|
|
281
295
|
this.toggleAriaPressed(this.toggleable);
|
|
@@ -411,15 +425,14 @@ export class ButtonComponent {
|
|
|
411
425
|
}
|
|
412
426
|
}
|
|
413
427
|
}
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
], exportAs: ["kendoButton"], usesOnChanges: true, ngImport: i0, template: `
|
|
428
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.KendoButtonService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
429
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon", primary: "primary", look: "look" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-button": "this.classButton", "class.k-toggle-button": "this.isToggleable", "class.k-icon-button": "this.iconButtonClass", "attr.aria-disabled": "this.classDisabled", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
|
|
430
|
+
LocalizationService,
|
|
431
|
+
{
|
|
432
|
+
provide: L10N_PREFIX,
|
|
433
|
+
useValue: 'kendo.button'
|
|
434
|
+
}
|
|
435
|
+
], exportAs: ["kendoButton"], usesOnChanges: true, ngImport: i0, template: `
|
|
423
436
|
<kendo-icon-wrapper
|
|
424
437
|
*ngIf="icon || svgIcon"
|
|
425
438
|
innerCssClass="k-button-icon"
|
|
@@ -438,7 +451,8 @@ ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
438
451
|
</span>
|
|
439
452
|
|
|
440
453
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
441
|
-
|
|
454
|
+
}
|
|
455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
442
456
|
type: Component,
|
|
443
457
|
args: [{
|
|
444
458
|
exportAs: 'kendoButton',
|
|
@@ -39,11 +39,11 @@ import * as i0 from "@angular/core";
|
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
export class ButtonModule {
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
43
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ButtonModule, imports: [ButtonComponent], exports: [ButtonComponent] });
|
|
44
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonModule, providers: [IconsService], imports: [ButtonComponent] });
|
|
42
45
|
}
|
|
43
|
-
|
|
44
|
-
ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ButtonModule, imports: [ButtonComponent], exports: [ButtonComponent] });
|
|
45
|
-
ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonModule, providers: [IconsService], imports: [ButtonComponent] });
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonModule, decorators: [{
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonModule, decorators: [{
|
|
47
47
|
type: NgModule,
|
|
48
48
|
args: [{
|
|
49
49
|
imports: [ButtonComponent],
|
|
@@ -9,16 +9,14 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
11
|
export class KendoButtonService {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this.buttonClicked$ = this.buttonClicked.asObservable();
|
|
15
|
-
}
|
|
12
|
+
buttonClicked = new Subject();
|
|
13
|
+
buttonClicked$ = this.buttonClicked.asObservable();
|
|
16
14
|
click(button) {
|
|
17
15
|
this.buttonClicked.next(button);
|
|
18
16
|
}
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KendoButtonService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KendoButtonService });
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
KendoButtonService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: KendoButtonService });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: KendoButtonService, decorators: [{
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KendoButtonService, decorators: [{
|
|
23
21
|
type: Injectable
|
|
24
22
|
}] });
|
|
@@ -24,46 +24,34 @@ const tabindex = 'tabindex';
|
|
|
24
24
|
* Represents the Kendo UI ButtonGroup component for Angular.
|
|
25
25
|
*/
|
|
26
26
|
export class ButtonGroupComponent {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
this.focusHandler = () => {
|
|
56
|
-
this.currentTabIndex = -1;
|
|
57
|
-
this.defocus(this.buttons.toArray());
|
|
58
|
-
const firstFocusableIndex = this.buttons.toArray().findIndex(current => !current.disabled);
|
|
59
|
-
const index = this.lastFocusedIndex === -1 ? firstFocusableIndex : this.lastFocusedIndex;
|
|
60
|
-
this.focus(this.buttons.filter((_current, i) => {
|
|
61
|
-
return i === index;
|
|
62
|
-
}));
|
|
63
|
-
};
|
|
64
|
-
validatePackage(packageMetadata);
|
|
65
|
-
this.subs.add(localization.changes.subscribe(({ rtl }) => this.direction = rtl ? 'rtl' : 'ltr'));
|
|
66
|
-
}
|
|
27
|
+
service;
|
|
28
|
+
renderer;
|
|
29
|
+
element;
|
|
30
|
+
/**
|
|
31
|
+
* By default, the ButtonGroup is enabled.
|
|
32
|
+
* To disable the whole group of buttons, set its `disabled` attribute to `true`.
|
|
33
|
+
*
|
|
34
|
+
* To disable a specific button, set its own `disabled` attribute to `true`
|
|
35
|
+
* and leave the `disabled` attribute of the ButtonGroup undefined.
|
|
36
|
+
* If you define the `disabled` attribute of the ButtonGroup, it will take
|
|
37
|
+
* precedence over the `disabled` attributes of the underlying buttons and they will be ignored.
|
|
38
|
+
*
|
|
39
|
+
* For more information on how to configure the Button, refer to
|
|
40
|
+
* its [API documentation]({% slug api_buttons_buttoncomponent %}).
|
|
41
|
+
*/
|
|
42
|
+
disabled;
|
|
43
|
+
/**
|
|
44
|
+
* The selection mode of the ButtonGroup.
|
|
45
|
+
* @default 'multiple'
|
|
46
|
+
*/
|
|
47
|
+
selection = 'multiple';
|
|
48
|
+
/**
|
|
49
|
+
* Sets the width of the ButtonGroup.
|
|
50
|
+
* If the width of the ButtonGroup is set:
|
|
51
|
+
* - The buttons resize automatically to fill the full width of the group wrapper.
|
|
52
|
+
* - The buttons acquire the same width.
|
|
53
|
+
*/
|
|
54
|
+
width;
|
|
67
55
|
/**
|
|
68
56
|
* Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
69
57
|
*/
|
|
@@ -74,12 +62,33 @@ export class ButtonGroupComponent {
|
|
|
74
62
|
get tabIndex() {
|
|
75
63
|
return this._tabIndex;
|
|
76
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* When this option is set to `true` (default), the component is a single tab-stop,
|
|
67
|
+
* and focus is moved through the inner buttons via the arrow keys.
|
|
68
|
+
*
|
|
69
|
+
* When the option is set to `false`, the inner buttons are part of the natural tab sequence of the page.
|
|
70
|
+
*
|
|
71
|
+
* @default true
|
|
72
|
+
*/
|
|
73
|
+
navigable = true;
|
|
74
|
+
/**
|
|
75
|
+
* Fires every time keyboard navigation occurs.
|
|
76
|
+
*/
|
|
77
|
+
navigate = new EventEmitter();
|
|
78
|
+
buttons;
|
|
79
|
+
_tabIndex = 0;
|
|
80
|
+
currentTabIndex = 0;
|
|
81
|
+
lastFocusedIndex = -1;
|
|
82
|
+
direction;
|
|
83
|
+
subs = new Subscription();
|
|
84
|
+
wrapperClasses = true;
|
|
77
85
|
get disabledClass() {
|
|
78
86
|
return this.disabled;
|
|
79
87
|
}
|
|
80
88
|
get stretchedClass() {
|
|
81
89
|
return !!this.width;
|
|
82
90
|
}
|
|
91
|
+
role = 'group';
|
|
83
92
|
get dir() {
|
|
84
93
|
return this.direction;
|
|
85
94
|
}
|
|
@@ -92,6 +101,13 @@ export class ButtonGroupComponent {
|
|
|
92
101
|
get wrapperTabIndex() {
|
|
93
102
|
return this.disabled ? undefined : this.navigable ? this.currentTabIndex : undefined;
|
|
94
103
|
}
|
|
104
|
+
constructor(service, localization, renderer, element) {
|
|
105
|
+
this.service = service;
|
|
106
|
+
this.renderer = renderer;
|
|
107
|
+
this.element = element;
|
|
108
|
+
validatePackage(packageMetadata);
|
|
109
|
+
this.subs.add(localization.changes.subscribe(({ rtl }) => this.direction = rtl ? 'rtl' : 'ltr'));
|
|
110
|
+
}
|
|
95
111
|
ngOnInit() {
|
|
96
112
|
this.subs.add(this.service.buttonClicked$.subscribe((button) => {
|
|
97
113
|
let newSelectionValue;
|
|
@@ -232,19 +248,28 @@ export class ButtonGroupComponent {
|
|
|
232
248
|
.pipe(filter(predicate))
|
|
233
249
|
.subscribe(handler));
|
|
234
250
|
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
{
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
251
|
+
focusHandler = () => {
|
|
252
|
+
this.currentTabIndex = -1;
|
|
253
|
+
this.defocus(this.buttons.toArray());
|
|
254
|
+
const firstFocusableIndex = this.buttons.toArray().findIndex(current => !current.disabled);
|
|
255
|
+
const index = this.lastFocusedIndex === -1 ? firstFocusableIndex : this.lastFocusedIndex;
|
|
256
|
+
this.focus(this.buttons.filter((_current, i) => {
|
|
257
|
+
return i === index;
|
|
258
|
+
}));
|
|
259
|
+
};
|
|
260
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonGroupComponent, deps: [{ token: i1.KendoButtonService }, { token: i2.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
261
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonGroupComponent, isStandalone: true, selector: "kendo-buttongroup", inputs: { disabled: "disabled", selection: "selection", width: "width", tabIndex: "tabIndex", navigable: "navigable" }, outputs: { navigate: "navigate" }, host: { properties: { "class.k-button-group": "this.wrapperClasses", "class.k-disabled": "this.disabledClass", "class.k-button-group-stretched": "this.stretchedClass", "attr.role": "this.role", "attr.dir": "this.dir", "attr.aria-disabled": "this.ariaDisabled", "style.width": "this.wrapperWidth", "attr.tabindex": "this.wrapperTabIndex" } }, providers: [
|
|
262
|
+
KendoButtonService,
|
|
263
|
+
LocalizationService,
|
|
264
|
+
{
|
|
265
|
+
provide: L10N_PREFIX,
|
|
266
|
+
useValue: 'kendo.buttongroup'
|
|
267
|
+
}
|
|
268
|
+
], queries: [{ propertyName: "buttons", predicate: ButtonComponent }], exportAs: ["kendoButtonGroup"], usesOnChanges: true, ngImport: i0, template: `
|
|
245
269
|
<ng-content select="[kendoButton]"></ng-content>
|
|
246
270
|
`, isInline: true });
|
|
247
|
-
|
|
271
|
+
}
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonGroupComponent, decorators: [{
|
|
248
273
|
type: Component,
|
|
249
274
|
args: [{
|
|
250
275
|
exportAs: 'kendoButtonGroup',
|
|
@@ -18,11 +18,11 @@ import * as i2 from "./buttongroup.component";
|
|
|
18
18
|
* - `ButtonComponent`—The Button component class.
|
|
19
19
|
*/
|
|
20
20
|
export class ButtonGroupModule {
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ButtonGroupModule, imports: [i1.ButtonComponent, i2.ButtonGroupComponent], exports: [i1.ButtonComponent, i2.ButtonGroupComponent] });
|
|
23
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonGroupModule, providers: [IconsService], imports: [i1.ButtonComponent] });
|
|
21
24
|
}
|
|
22
|
-
|
|
23
|
-
ButtonGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupModule, imports: [i1.ButtonComponent, i2.ButtonGroupComponent], exports: [i1.ButtonComponent, i2.ButtonGroupComponent] });
|
|
24
|
-
ButtonGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupModule, providers: [IconsService], imports: [KENDO_BUTTONGROUP] });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupModule, decorators: [{
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonGroupModule, decorators: [{
|
|
26
26
|
type: NgModule,
|
|
27
27
|
args: [{
|
|
28
28
|
exports: [...KENDO_BUTTONGROUP],
|
|
@@ -52,11 +52,11 @@ import * as i11 from "./splitbutton/localization/custom-messages.component";
|
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
54
54
|
export class ButtonsModule {
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
56
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ButtonsModule, imports: [i1.ButtonComponent, i1.ButtonComponent, i2.ButtonGroupComponent, i3.DropDownButtonComponent, i4.ButtonItemTemplateDirective, i5.ChipComponent, i5.ChipComponent, i6.ChipListComponent, i7.FloatingActionButtonComponent, i8.DialItemTemplateDirective, i9.FloatingActionButtonTemplateDirective, i10.SplitButtonComponent, i11.SplitButtonCustomMessagesComponent], exports: [i1.ButtonComponent, i1.ButtonComponent, i2.ButtonGroupComponent, i3.DropDownButtonComponent, i4.ButtonItemTemplateDirective, i5.ChipComponent, i5.ChipComponent, i6.ChipListComponent, i7.FloatingActionButtonComponent, i8.DialItemTemplateDirective, i9.FloatingActionButtonTemplateDirective, i10.SplitButtonComponent, i11.SplitButtonCustomMessagesComponent] });
|
|
57
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonsModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [i1.ButtonComponent, i1.ButtonComponent, i3.DropDownButtonComponent, i5.ChipComponent, i5.ChipComponent, i7.FloatingActionButtonComponent, i10.SplitButtonComponent] });
|
|
55
58
|
}
|
|
56
|
-
|
|
57
|
-
ButtonsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ButtonsModule, imports: [i1.ButtonComponent, i1.ButtonComponent, i2.ButtonGroupComponent, i3.DropDownButtonComponent, i4.ButtonItemTemplateDirective, i5.ChipComponent, i5.ChipComponent, i6.ChipListComponent, i7.FloatingActionButtonComponent, i8.DialItemTemplateDirective, i9.FloatingActionButtonTemplateDirective, i10.SplitButtonComponent, i11.SplitButtonCustomMessagesComponent], exports: [i1.ButtonComponent, i1.ButtonComponent, i2.ButtonGroupComponent, i3.DropDownButtonComponent, i4.ButtonItemTemplateDirective, i5.ChipComponent, i5.ChipComponent, i6.ChipListComponent, i7.FloatingActionButtonComponent, i8.DialItemTemplateDirective, i9.FloatingActionButtonTemplateDirective, i10.SplitButtonComponent, i11.SplitButtonCustomMessagesComponent] });
|
|
58
|
-
ButtonsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonsModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [i1.ButtonComponent, i1.ButtonComponent, i2.ButtonGroupComponent, i3.DropDownButtonComponent, i5.ChipComponent, i5.ChipComponent, i6.ChipListComponent, i7.FloatingActionButtonComponent, i10.SplitButtonComponent, i11.SplitButtonCustomMessagesComponent] });
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonsModule, decorators: [{
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonsModule, decorators: [{
|
|
60
60
|
type: NgModule,
|
|
61
61
|
args: [{
|
|
62
62
|
imports: [...KENDO_BUTTONS],
|