@progress/kendo-angular-buttons 7.0.1-dev.202201191229 → 8.0.0-next.202202081332
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/bundles/kendo-angular-buttons.umd.js +5 -0
- package/{dist/es2015/button → button}/button.directive.d.ts +42 -28
- package/{dist/es2015/button → button}/button.module.d.ts +5 -0
- package/{dist/es2015/button → button}/button.service.d.ts +3 -0
- package/{dist/es2015/button → button}/selection-settings.d.ts +0 -0
- package/{dist/es2015/buttongroup → buttongroup}/buttongroup.component.d.ts +13 -9
- package/{dist/es2015/buttongroup → buttongroup}/buttongroup.module.d.ts +7 -0
- package/{dist/es2015/buttons.module.d.ts → buttons.module.d.ts} +10 -0
- package/{dist/es2015/chip → chip}/chip-content-click-event-args.interface.d.ts +0 -0
- package/{dist/es2015/chip → chip}/chip-list-remove-event-args.interface.d.ts +0 -0
- package/{dist/es2015/chip → chip}/chip-list.component.d.ts +7 -3
- package/{dist/es2015/chip → chip}/chip-remove-event-args.interface.d.ts +0 -0
- package/{dist/es2015/chip → chip}/chip.component.d.ts +20 -13
- package/{dist/es2015/chip → chip}/chip.module.d.ts +7 -0
- package/{dist/es2015/chip → chip}/models/selection.d.ts +0 -0
- package/{dist/es2015/common → common}/models/fillmode.d.ts +0 -0
- package/{dist/es2015/common → common}/models/rounded.d.ts +0 -0
- package/{dist/es2015/common → common}/models/shape.d.ts +0 -0
- package/{dist/es2015/common → common}/models/size.d.ts +0 -0
- package/{dist/es2015/common → common}/models/styling-classes.d.ts +0 -0
- package/{dist/es2015/common → common}/models/theme-color.d.ts +0 -0
- package/{dist/es2015/common → common}/models.d.ts +0 -0
- package/{dist/es2015/direction.d.ts → direction.d.ts} +0 -0
- package/{dist/es2015/dropdownbutton → dropdownbutton}/dropdownbutton.component.d.ts +24 -16
- package/dropdownbutton/dropdownbutton.module.d.ts +23 -0
- package/{dist/es2015 → esm2015}/button/button.directive.js +98 -158
- package/{dist/es2015 → esm2015}/button/button.module.js +13 -10
- package/{dist/es2015 → esm2015}/button/button.service.js +8 -10
- package/{dist/es → esm2015}/button/selection-settings.js +1 -0
- package/{dist/es2015 → esm2015}/buttongroup/buttongroup.component.js +82 -106
- package/esm2015/buttongroup/buttongroup.module.js +30 -0
- package/{dist/es → esm2015}/buttons.module.js +12 -12
- package/{dist/es2015 → esm2015}/chip/chip-content-click-event-args.interface.js +1 -0
- package/{dist/es2015 → esm2015}/chip/chip-list-remove-event-args.interface.js +1 -0
- package/{dist/es2015 → esm2015}/chip/chip-list.component.js +58 -70
- package/{dist/es2015 → esm2015}/chip/chip-remove-event-args.interface.js +1 -0
- package/{dist/es2015 → esm2015}/chip/chip.component.js +124 -120
- package/{dist/es2015 → esm2015}/chip/chip.module.js +16 -11
- package/{dist/es → esm2015}/chip/models/selection.js +1 -0
- package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
- package/{dist/es → esm2015}/common/models/rounded.js +1 -0
- package/{dist/es → esm2015}/common/models/shape.js +1 -0
- package/{dist/es → esm2015}/common/models/size.js +1 -0
- package/{dist/es → esm2015}/common/models/styling-classes.js +1 -0
- package/{dist/es → esm2015}/common/models/theme-color.js +1 -0
- package/{dist/es → esm2015}/common/models.js +6 -0
- package/{dist/es → esm2015}/direction.js +1 -0
- package/{dist/es2015 → esm2015}/dropdownbutton/dropdownbutton.component.js +166 -184
- package/esm2015/dropdownbutton/dropdownbutton.module.js +32 -0
- package/{dist/es2015 → esm2015}/floatingactionbutton/animations/animations.js +0 -0
- package/esm2015/floatingactionbutton/dial-item.component.js +126 -0
- package/esm2015/floatingactionbutton/dial-list.component.js +89 -0
- package/{dist/es2015 → esm2015}/floatingactionbutton/floatingactionbutton.component.js +152 -155
- package/{dist/es2015 → esm2015}/floatingactionbutton/floatingactionbutton.module.js +19 -11
- package/{dist/es → esm2015}/floatingactionbutton/models/align.js +1 -0
- package/{dist/es → esm2015}/floatingactionbutton/models/item-animation.interface.js +1 -0
- package/{dist/es → esm2015}/floatingactionbutton/models/item-click.event.js +1 -0
- package/{dist/es → esm2015}/floatingactionbutton/models/item.interface.js +1 -0
- package/{dist/es → esm2015}/floatingactionbutton/models/offset.js +1 -0
- package/{dist/es → esm2015}/floatingactionbutton/models/position-mode.js +1 -0
- package/esm2015/floatingactionbutton/templates/dial-item-template.directive.js +27 -0
- package/esm2015/floatingactionbutton/templates/fab-template.directive.js +27 -0
- package/{dist/es2015 → esm2015}/floatingactionbutton/utils.js +0 -0
- package/{dist/es2015 → esm2015}/focusable/focus.service.js +8 -10
- package/{dist/es2015 → esm2015}/focusable/focusable.directive.js +15 -16
- package/{dist/es2015/listbutton/list.module.d.ts → esm2015/kendo-angular-buttons.js} +2 -3
- package/{dist/es2015 → esm2015}/listbutton/button-item-template.directive.js +13 -12
- package/{dist/es2015 → esm2015}/listbutton/list-button.js +15 -2
- package/{dist/es → esm2015}/listbutton/list-item-model.js +1 -0
- package/esm2015/listbutton/list.component.js +136 -0
- package/esm2015/listbutton/list.module.js +39 -0
- package/{dist/es → esm2015}/listbutton/popup-settings.js +1 -0
- package/esm2015/listbutton/template-context.directive.js +33 -0
- package/{dist/es → esm2015}/main.js +6 -0
- package/{dist/es → esm2015}/navigation/key-events.js +0 -0
- package/{dist/es → esm2015}/navigation/navigation-action.js +0 -0
- package/{dist/es2015 → esm2015}/navigation/navigation-config.js +0 -0
- package/{dist/es2015 → esm2015}/navigation/navigation.service.js +11 -9
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/preventable-event.js +0 -0
- package/esm2015/splitbutton/localization/custom-messages.component.js +37 -0
- package/esm2015/splitbutton/localization/localized-messages.directive.js +36 -0
- package/esm2015/splitbutton/localization/messages.js +22 -0
- package/{dist/es2015 → esm2015}/splitbutton/splitbutton.component.js +198 -190
- package/esm2015/splitbutton/splitbutton.module.js +34 -0
- package/{dist/es2015 → esm2015}/util.js +2 -2
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-buttons.js} +1679 -1694
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/animations/animations.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/dial-item.component.d.ts +8 -5
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/dial-list.component.d.ts +5 -2
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/floatingactionbutton.component.d.ts +30 -20
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/floatingactionbutton.module.d.ts +13 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/align.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item-animation.interface.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item-click.event.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item.interface.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/offset.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/position-mode.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/templates/dial-item-template.directive.d.ts +3 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/templates/fab-template.directive.d.ts +3 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/utils.d.ts +0 -0
- package/{dist/es2015/focusable → focusable}/focus.service.d.ts +5 -1
- package/{dist/es2015/focusable → focusable}/focusable.directive.d.ts +3 -0
- package/kendo-angular-buttons.d.ts +9 -0
- package/{dist/es2015/listbutton → listbutton}/button-item-template.directive.d.ts +3 -0
- package/{dist/es2015/listbutton → listbutton}/list-button.d.ts +6 -2
- package/{dist/es2015/listbutton → listbutton}/list-item-model.d.ts +0 -0
- package/{dist/es2015/listbutton → listbutton}/list.component.d.ts +4 -1
- package/listbutton/list.module.d.ts +18 -0
- package/{dist/es2015/listbutton → listbutton}/popup-settings.d.ts +0 -0
- package/{dist/es2015/listbutton → listbutton}/template-context.directive.d.ts +4 -1
- package/{dist/es2015/main.d.ts → main.d.ts} +6 -0
- package/{dist/es2015/navigation → navigation}/key-events.d.ts +0 -0
- package/{dist/es2015/navigation → navigation}/navigation-action.d.ts +0 -0
- package/{dist/es2015/navigation → navigation}/navigation-config.d.ts +0 -0
- package/{dist/es2015/navigation → navigation}/navigation.service.d.ts +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +35 -110
- package/{dist/es2015/preventable-event.d.ts → preventable-event.d.ts} +0 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/splitbutton → splitbutton}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/splitbutton → splitbutton}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/splitbutton → splitbutton}/localization/messages.d.ts +3 -0
- package/{dist/es2015/splitbutton → splitbutton}/splitbutton.component.d.ts +28 -18
- package/splitbutton/splitbutton.module.d.ts +25 -0
- package/{dist/es2015/util.d.ts → util.d.ts} +0 -0
- package/dist/cdn/js/kendo-angular-buttons.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/button/button.directive.js +0 -768
- package/dist/es/button/button.module.js +0 -50
- package/dist/es/button/button.service.js +0 -24
- package/dist/es/buttongroup/buttongroup.component.js +0 -353
- package/dist/es/buttongroup/buttongroup.module.js +0 -30
- package/dist/es/chip/chip-content-click-event-args.interface.js +0 -4
- package/dist/es/chip/chip-list-remove-event-args.interface.js +0 -4
- package/dist/es/chip/chip-list.component.js +0 -214
- package/dist/es/chip/chip-remove-event-args.interface.js +0 -4
- package/dist/es/chip/chip.component.js +0 -449
- package/dist/es/chip/chip.module.js +0 -55
- package/dist/es/dropdownbutton/dropdownbutton.component.js +0 -705
- package/dist/es/dropdownbutton/dropdownbutton.module.js +0 -32
- package/dist/es/floatingactionbutton/animations/animations.js +0 -33
- package/dist/es/floatingactionbutton/dial-item.component.js +0 -143
- package/dist/es/floatingactionbutton/dial-list.component.js +0 -76
- package/dist/es/floatingactionbutton/floatingactionbutton.component.js +0 -903
- package/dist/es/floatingactionbutton/floatingactionbutton.module.js +0 -65
- package/dist/es/floatingactionbutton/templates/dial-item-template.directive.js +0 -26
- package/dist/es/floatingactionbutton/templates/fab-template.directive.js +0 -26
- package/dist/es/floatingactionbutton/utils.js +0 -38
- package/dist/es/focusable/focus.service.js +0 -43
- package/dist/es/focusable/focusable.directive.js +0 -68
- package/dist/es/index.js +0 -22
- package/dist/es/listbutton/button-item-template.directive.js +0 -68
- package/dist/es/listbutton/list-button.js +0 -243
- package/dist/es/listbutton/list.component.js +0 -85
- package/dist/es/listbutton/list.module.js +0 -33
- package/dist/es/listbutton/template-context.directive.js +0 -40
- package/dist/es/navigation/navigation-config.js +0 -9
- package/dist/es/navigation/navigation.service.js +0 -114
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/preventable-event.js +0 -29
- package/dist/es/splitbutton/localization/custom-messages.component.js +0 -44
- package/dist/es/splitbutton/localization/localized-messages.directive.js +0 -35
- package/dist/es/splitbutton/localization/messages.js +0 -22
- package/dist/es/splitbutton/splitbutton.component.js +0 -831
- package/dist/es/splitbutton/splitbutton.module.js +0 -34
- package/dist/es/util.js +0 -97
- package/dist/es2015/button/selection-settings.js +0 -4
- package/dist/es2015/buttongroup/buttongroup.module.js +0 -27
- package/dist/es2015/buttons.module.js +0 -51
- package/dist/es2015/chip/models/selection.js +0 -4
- package/dist/es2015/common/models/fillmode.js +0 -4
- package/dist/es2015/common/models/rounded.js +0 -4
- package/dist/es2015/common/models/shape.js +0 -4
- package/dist/es2015/common/models/size.js +0 -4
- package/dist/es2015/common/models/styling-classes.js +0 -4
- package/dist/es2015/common/models/theme-color.js +0 -4
- package/dist/es2015/common/models.js +0 -4
- package/dist/es2015/direction.js +0 -4
- package/dist/es2015/dropdownbutton/dropdownbutton.module.d.ts +0 -14
- package/dist/es2015/dropdownbutton/dropdownbutton.module.js +0 -29
- package/dist/es2015/floatingactionbutton/dial-item.component.js +0 -133
- package/dist/es2015/floatingactionbutton/dial-list.component.js +0 -81
- package/dist/es2015/floatingactionbutton/models/align.js +0 -4
- package/dist/es2015/floatingactionbutton/models/item-animation.interface.js +0 -4
- package/dist/es2015/floatingactionbutton/models/item-click.event.js +0 -4
- package/dist/es2015/floatingactionbutton/models/item.interface.js +0 -4
- package/dist/es2015/floatingactionbutton/models/offset.js +0 -4
- package/dist/es2015/floatingactionbutton/models/position-mode.js +0 -4
- package/dist/es2015/floatingactionbutton/templates/dial-item-template.directive.js +0 -25
- package/dist/es2015/floatingactionbutton/templates/fab-template.directive.js +0 -25
- package/dist/es2015/index.d.ts +0 -22
- package/dist/es2015/index.js +0 -22
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/listbutton/list-item-model.js +0 -4
- package/dist/es2015/listbutton/list.component.js +0 -113
- package/dist/es2015/listbutton/list.module.js +0 -30
- package/dist/es2015/listbutton/popup-settings.js +0 -4
- package/dist/es2015/listbutton/template-context.directive.js +0 -35
- package/dist/es2015/main.js +0 -22
- package/dist/es2015/navigation/key-events.js +0 -13
- package/dist/es2015/navigation/navigation-action.js +0 -19
- package/dist/es2015/splitbutton/localization/custom-messages.component.js +0 -36
- package/dist/es2015/splitbutton/localization/localized-messages.directive.js +0 -31
- package/dist/es2015/splitbutton/localization/messages.js +0 -16
- package/dist/es2015/splitbutton/splitbutton.module.d.ts +0 -14
- package/dist/es2015/splitbutton/splitbutton.module.js +0 -31
- package/dist/fesm5/index.js +0 -5562
- package/dist/npm/button/button.directive.js +0 -770
- package/dist/npm/button/button.module.js +0 -52
- package/dist/npm/button/button.service.js +0 -26
- package/dist/npm/button/selection-settings.js +0 -6
- package/dist/npm/buttongroup/buttongroup.component.js +0 -355
- package/dist/npm/buttongroup/buttongroup.module.js +0 -32
- package/dist/npm/buttons.module.js +0 -56
- package/dist/npm/chip/chip-content-click-event-args.interface.js +0 -6
- package/dist/npm/chip/chip-list-remove-event-args.interface.js +0 -6
- package/dist/npm/chip/chip-list.component.js +0 -216
- package/dist/npm/chip/chip-remove-event-args.interface.js +0 -6
- package/dist/npm/chip/chip.component.js +0 -451
- package/dist/npm/chip/chip.module.js +0 -57
- package/dist/npm/chip/models/selection.js +0 -6
- package/dist/npm/common/models/fillmode.js +0 -6
- package/dist/npm/common/models/rounded.js +0 -6
- package/dist/npm/common/models/shape.js +0 -6
- package/dist/npm/common/models/size.js +0 -6
- package/dist/npm/common/models/styling-classes.js +0 -6
- package/dist/npm/common/models/theme-color.js +0 -6
- package/dist/npm/common/models.js +0 -6
- package/dist/npm/direction.js +0 -6
- package/dist/npm/dropdownbutton/dropdownbutton.component.js +0 -707
- package/dist/npm/dropdownbutton/dropdownbutton.module.js +0 -34
- package/dist/npm/floatingactionbutton/animations/animations.js +0 -37
- package/dist/npm/floatingactionbutton/dial-item.component.js +0 -145
- package/dist/npm/floatingactionbutton/dial-list.component.js +0 -78
- package/dist/npm/floatingactionbutton/floatingactionbutton.component.js +0 -905
- package/dist/npm/floatingactionbutton/floatingactionbutton.module.js +0 -67
- package/dist/npm/floatingactionbutton/models/align.js +0 -6
- package/dist/npm/floatingactionbutton/models/item-animation.interface.js +0 -6
- package/dist/npm/floatingactionbutton/models/item-click.event.js +0 -6
- package/dist/npm/floatingactionbutton/models/item.interface.js +0 -6
- package/dist/npm/floatingactionbutton/models/offset.js +0 -6
- package/dist/npm/floatingactionbutton/models/position-mode.js +0 -6
- package/dist/npm/floatingactionbutton/templates/dial-item-template.directive.js +0 -28
- package/dist/npm/floatingactionbutton/templates/fab-template.directive.js +0 -28
- package/dist/npm/floatingactionbutton/utils.js +0 -42
- package/dist/npm/focusable/focus.service.js +0 -45
- package/dist/npm/focusable/focusable.directive.js +0 -70
- package/dist/npm/index.js +0 -39
- package/dist/npm/listbutton/button-item-template.directive.js +0 -70
- package/dist/npm/listbutton/list-button.js +0 -245
- package/dist/npm/listbutton/list-item-model.js +0 -6
- package/dist/npm/listbutton/list.component.js +0 -87
- package/dist/npm/listbutton/list.module.js +0 -35
- package/dist/npm/listbutton/popup-settings.js +0 -6
- package/dist/npm/listbutton/template-context.directive.js +0 -42
- package/dist/npm/main.js +0 -45
- package/dist/npm/navigation/key-events.js +0 -15
- package/dist/npm/navigation/navigation-action.js +0 -21
- package/dist/npm/navigation/navigation-config.js +0 -11
- package/dist/npm/navigation/navigation.service.js +0 -116
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/preventable-event.js +0 -31
- package/dist/npm/splitbutton/localization/custom-messages.component.js +0 -46
- package/dist/npm/splitbutton/localization/localized-messages.directive.js +0 -37
- package/dist/npm/splitbutton/localization/messages.js +0 -24
- package/dist/npm/splitbutton/splitbutton.component.js +0 -833
- package/dist/npm/splitbutton/splitbutton.module.js +0 -36
- package/dist/npm/util.js +0 -100
- package/dist/systemjs/kendo-angular-buttons.js +0 -5
|
@@ -8,6 +8,7 @@ import { ChipComponent } from './chip.component';
|
|
|
8
8
|
import { ChipListSelection } from './models/selection';
|
|
9
9
|
import { ChipListRemoveEvent } from './chip-list-remove-event-args.interface';
|
|
10
10
|
import { ChipListSize } from '../common/models';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class ChipListComponent implements OnInit, AfterViewInit, AfterContentInit, OnDestroy {
|
|
12
13
|
private localizationService;
|
|
13
14
|
private renderer;
|
|
@@ -36,7 +37,8 @@ export declare class ChipListComponent implements OnInit, AfterViewInit, AfterCo
|
|
|
36
37
|
* * `'large'`
|
|
37
38
|
* * `null`
|
|
38
39
|
*/
|
|
39
|
-
size: ChipListSize;
|
|
40
|
+
set size(size: ChipListSize);
|
|
41
|
+
get size(): ChipListSize;
|
|
40
42
|
/**
|
|
41
43
|
* Fires each time when the ChipList selection is changed.
|
|
42
44
|
*/
|
|
@@ -46,8 +48,8 @@ export declare class ChipListComponent implements OnInit, AfterViewInit, AfterCo
|
|
|
46
48
|
*/
|
|
47
49
|
remove: EventEmitter<ChipListRemoveEvent>;
|
|
48
50
|
chips: QueryList<ChipComponent>;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
+
get single(): boolean;
|
|
52
|
+
get multiple(): boolean;
|
|
51
53
|
role: string;
|
|
52
54
|
private dynamicRTLSubscription;
|
|
53
55
|
private _size;
|
|
@@ -67,4 +69,6 @@ export declare class ChipListComponent implements OnInit, AfterViewInit, AfterCo
|
|
|
67
69
|
private setSelection;
|
|
68
70
|
private clearSelection;
|
|
69
71
|
private handleClasses;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipListComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipListComponent, "kendo-chiplist, kendo-chip-list", never, { "selection": "selection"; "size": "size"; }, { "selectedChange": "selectedChange"; "remove": "remove"; }, ["chips"], ["*"]>;
|
|
70
74
|
}
|
|
File without changes
|
|
@@ -7,6 +7,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
7
7
|
import { ChipRemoveEvent } from './chip-remove-event-args.interface';
|
|
8
8
|
import { ChipContentClickEvent } from './chip-content-click-event-args.interface';
|
|
9
9
|
import { ChipFillMode, ChipRounded, ChipSize, ChipThemeColor } from '../common/models';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* Displays a Chip that represents an input, attribute or an action.
|
|
12
13
|
*/
|
|
@@ -65,7 +66,8 @@ export declare class ChipComponent implements OnInit, AfterViewInit {
|
|
|
65
66
|
* * `'large'`
|
|
66
67
|
* * `null`
|
|
67
68
|
*/
|
|
68
|
-
size: ChipSize;
|
|
69
|
+
set size(size: ChipSize);
|
|
70
|
+
get size(): ChipSize;
|
|
69
71
|
/**
|
|
70
72
|
* The rounded property specifies the border radius of the Chip
|
|
71
73
|
* ([see example]({% slug appearance_chip %}#toc-rounded)).
|
|
@@ -77,7 +79,8 @@ export declare class ChipComponent implements OnInit, AfterViewInit {
|
|
|
77
79
|
* * `'full'`
|
|
78
80
|
* * `null`
|
|
79
81
|
*/
|
|
80
|
-
rounded: ChipRounded;
|
|
82
|
+
set rounded(rounded: ChipRounded);
|
|
83
|
+
get rounded(): ChipRounded;
|
|
81
84
|
/**
|
|
82
85
|
* The fillMode property specifies the background and border styles of the Chip
|
|
83
86
|
* ([see example]({% slug appearance_chip %}#toc-fillMode)).
|
|
@@ -87,7 +90,8 @@ export declare class ChipComponent implements OnInit, AfterViewInit {
|
|
|
87
90
|
* * `'outline'`
|
|
88
91
|
* * `null`
|
|
89
92
|
*/
|
|
90
|
-
fillMode: ChipFillMode;
|
|
93
|
+
set fillMode(fillMode: ChipFillMode);
|
|
94
|
+
get fillMode(): ChipFillMode;
|
|
91
95
|
/**
|
|
92
96
|
* The Chip allows you to specify predefined theme colors.
|
|
93
97
|
* The theme color will be applied as a background and border color while also amending the text color accordingly
|
|
@@ -101,7 +105,8 @@ export declare class ChipComponent implements OnInit, AfterViewInit {
|
|
|
101
105
|
* * `'error'`
|
|
102
106
|
* * `null`
|
|
103
107
|
*/
|
|
104
|
-
themeColor: ChipThemeColor;
|
|
108
|
+
set themeColor(themeColor: ChipThemeColor);
|
|
109
|
+
get themeColor(): ChipThemeColor;
|
|
105
110
|
/**
|
|
106
111
|
* Fires each time the user clicks the remove icon of the Chip.
|
|
107
112
|
*/
|
|
@@ -111,12 +116,12 @@ export declare class ChipComponent implements OnInit, AfterViewInit {
|
|
|
111
116
|
*/
|
|
112
117
|
contentClick: EventEmitter<ChipContentClickEvent>;
|
|
113
118
|
tabIndex: number;
|
|
114
|
-
|
|
119
|
+
get ariaChecked(): boolean;
|
|
115
120
|
hostClass: boolean;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
121
|
+
get hasIconClass(): boolean;
|
|
122
|
+
get disabledClass(): boolean;
|
|
123
|
+
get selectedClass(): boolean;
|
|
124
|
+
get focusedClass(): boolean;
|
|
120
125
|
/**
|
|
121
126
|
* @hidden
|
|
122
127
|
*/
|
|
@@ -135,19 +140,19 @@ export declare class ChipComponent implements OnInit, AfterViewInit {
|
|
|
135
140
|
/**
|
|
136
141
|
* @hidden
|
|
137
142
|
*/
|
|
138
|
-
|
|
143
|
+
get kendoIconClass(): string;
|
|
139
144
|
/**
|
|
140
145
|
* @hidden
|
|
141
146
|
*/
|
|
142
|
-
|
|
147
|
+
get customIconClass(): string;
|
|
143
148
|
/**
|
|
144
149
|
* @hidden
|
|
145
150
|
*/
|
|
146
|
-
|
|
151
|
+
get chipAvatarClass(): string;
|
|
147
152
|
/**
|
|
148
153
|
* @hidden
|
|
149
154
|
*/
|
|
150
|
-
|
|
155
|
+
get removeIconClass(): string;
|
|
151
156
|
/**
|
|
152
157
|
* Focuses the Chip component.
|
|
153
158
|
*/
|
|
@@ -167,4 +172,6 @@ export declare class ChipComponent implements OnInit, AfterViewInit {
|
|
|
167
172
|
private verifyIconSettings;
|
|
168
173
|
private handleClasses;
|
|
169
174
|
private handleThemeColor;
|
|
175
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>;
|
|
176
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "kendo-chip", never, { "label": "label"; "icon": "icon"; "iconClass": "iconClass"; "avatarClass": "avatarClass"; "selected": "selected"; "removable": "removable"; "removeIcon": "removeIcon"; "disabled": "disabled"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; }, { "remove": "remove"; "contentClick": "contentClick"; }, never, ["*"]>;
|
|
170
177
|
}
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
* Copyright © 2021 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 * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./chip.component";
|
|
7
|
+
import * as i2 from "./chip-list.component";
|
|
8
|
+
import * as i3 from "@angular/common";
|
|
5
9
|
/**
|
|
6
10
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
7
11
|
* definition for the Chip and ChipList components.
|
|
@@ -31,4 +35,7 @@
|
|
|
31
35
|
* ```
|
|
32
36
|
*/
|
|
33
37
|
export declare class ChipModule {
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipModule, never>;
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ChipModule, [typeof i1.ChipComponent, typeof i2.ChipListComponent], [typeof i3.CommonModule], [typeof i1.ChipComponent, typeof i2.ChipListComponent]>;
|
|
40
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ChipModule>;
|
|
34
41
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -14,6 +14,7 @@ import { FocusService } from '../focusable/focus.service';
|
|
|
14
14
|
import { NavigationService } from '../navigation/navigation.service';
|
|
15
15
|
import { PreventableEvent } from '../preventable-event';
|
|
16
16
|
import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor, ButtonShape } from '../common/models';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
17
18
|
/**
|
|
18
19
|
* Represents the Kendo UI DropDownButton component for Angular.
|
|
19
20
|
*
|
|
@@ -66,7 +67,8 @@ export declare class DropDownButtonComponent extends ListButton implements OnCha
|
|
|
66
67
|
* - `appendTo: "root" | "component" | ViewContainerRef`—Specifies the component to which the popup will be appended.
|
|
67
68
|
* - `align: "left" | "center" | "right"`—Specifies the alignment of the popup.
|
|
68
69
|
*/
|
|
69
|
-
popupSettings: PopupSettings;
|
|
70
|
+
set popupSettings(settings: PopupSettings);
|
|
71
|
+
get popupSettings(): PopupSettings;
|
|
70
72
|
/**
|
|
71
73
|
* Sets the data item field that represents the item text.
|
|
72
74
|
* If the data contains only primitive values, do not define it.
|
|
@@ -75,13 +77,15 @@ export declare class DropDownButtonComponent extends ListButton implements OnCha
|
|
|
75
77
|
/**
|
|
76
78
|
* Sets the disabled state of the DropDownButton.
|
|
77
79
|
*/
|
|
78
|
-
disabled: boolean;
|
|
80
|
+
set disabled(value: boolean);
|
|
81
|
+
get disabled(): boolean;
|
|
79
82
|
/**
|
|
80
83
|
* Sets or gets the data of the DropDownButton.
|
|
81
84
|
*
|
|
82
85
|
* > The data has to be provided in an array-like list.
|
|
83
86
|
*/
|
|
84
|
-
data: any;
|
|
87
|
+
set data(data: any);
|
|
88
|
+
get data(): any;
|
|
85
89
|
/**
|
|
86
90
|
* The size property specifies the padding of the DropDownButton
|
|
87
91
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-size)).
|
|
@@ -126,7 +130,8 @@ export declare class DropDownButtonComponent extends ListButton implements OnCha
|
|
|
126
130
|
* * `link`
|
|
127
131
|
* * `null`
|
|
128
132
|
*/
|
|
129
|
-
fillMode: ButtonFillMode;
|
|
133
|
+
set fillMode(fillMode: ButtonFillMode);
|
|
134
|
+
get fillMode(): ButtonFillMode;
|
|
130
135
|
/**
|
|
131
136
|
* The DropDownButton allows you to specify predefined theme colors.
|
|
132
137
|
* The theme color will be applied as a background and border color while also amending the text color accordingly
|
|
@@ -155,15 +160,16 @@ export declare class DropDownButtonComponent extends ListButton implements OnCha
|
|
|
155
160
|
/**
|
|
156
161
|
* @hidden
|
|
157
162
|
*/
|
|
163
|
+
set openState(open: boolean);
|
|
158
164
|
/**
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
openState: boolean;
|
|
165
|
+
* @hidden
|
|
166
|
+
*/
|
|
167
|
+
get openState(): boolean;
|
|
162
168
|
/**
|
|
163
169
|
* @hidden
|
|
164
170
|
*/
|
|
165
|
-
|
|
166
|
-
private
|
|
171
|
+
get componentTabIndex(): number;
|
|
172
|
+
private get appendTo();
|
|
167
173
|
/**
|
|
168
174
|
* Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
169
175
|
*/
|
|
@@ -190,13 +196,13 @@ export declare class DropDownButtonComponent extends ListButton implements OnCha
|
|
|
190
196
|
* Fires each time the DropDownButton gets blurred.
|
|
191
197
|
*/
|
|
192
198
|
onBlur: EventEmitter<any>;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
199
|
+
get focused(): boolean;
|
|
200
|
+
get widgetClasses(): boolean;
|
|
201
|
+
get dir(): Direction;
|
|
196
202
|
/**
|
|
197
203
|
* @hidden
|
|
198
204
|
*/
|
|
199
|
-
|
|
205
|
+
get active(): boolean;
|
|
200
206
|
itemTemplate: ButtonItemTemplateDirective;
|
|
201
207
|
button: ElementRef<HTMLButtonElement>;
|
|
202
208
|
buttonList: ListComponent;
|
|
@@ -236,11 +242,11 @@ export declare class DropDownButtonComponent extends ListButton implements OnCha
|
|
|
236
242
|
/**
|
|
237
243
|
* @hidden
|
|
238
244
|
*/
|
|
239
|
-
|
|
245
|
+
get anchorAlign(): Align;
|
|
240
246
|
/**
|
|
241
247
|
* @hidden
|
|
242
248
|
*/
|
|
243
|
-
|
|
249
|
+
get popupAlign(): Align;
|
|
244
250
|
/**
|
|
245
251
|
* Focuses the DropDownButton component.
|
|
246
252
|
*/
|
|
@@ -262,7 +268,7 @@ export declare class DropDownButtonComponent extends ListButton implements OnCha
|
|
|
262
268
|
/**
|
|
263
269
|
* Returns the current open state of the popup.
|
|
264
270
|
*/
|
|
265
|
-
|
|
271
|
+
get isOpen(): boolean;
|
|
266
272
|
/**
|
|
267
273
|
* @hidden
|
|
268
274
|
*/
|
|
@@ -279,4 +285,6 @@ export declare class DropDownButtonComponent extends ListButton implements OnCha
|
|
|
279
285
|
private _toggle;
|
|
280
286
|
private createPopup;
|
|
281
287
|
private destroyPopup;
|
|
288
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownButtonComponent, never>;
|
|
289
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownButtonComponent, "kendo-dropdownbutton", ["kendoDropDownButton"], { "icon": "icon"; "iconClass": "iconClass"; "imageUrl": "imageUrl"; "popupSettings": "popupSettings"; "textField": "textField"; "disabled": "disabled"; "data": "data"; "size": "size"; "shape": "shape"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "buttonClass": "buttonClass"; "tabIndex": "tabIndex"; }, { "itemClick": "itemClick"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; }, ["itemTemplate"], ["*"]>;
|
|
282
290
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 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 "./dropdownbutton.component";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@progress/kendo-angular-popup";
|
|
9
|
+
import * as i4 from "../listbutton/list.module";
|
|
10
|
+
import * as i5 from "../button/button.module";
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*
|
|
14
|
+
* The exported package module.
|
|
15
|
+
*
|
|
16
|
+
* The package exports:
|
|
17
|
+
* - `DropDownButtonComponent`—The DropDownButtonComponent component class.
|
|
18
|
+
*/
|
|
19
|
+
export declare class DropDownButtonModule {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownButtonModule, never>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DropDownButtonModule, [typeof i1.DropDownButtonComponent], [typeof i2.CommonModule, typeof i3.PopupModule, typeof i4.ListModule, typeof i5.ButtonModule], [typeof i1.DropDownButtonComponent, typeof i4.ListModule]>;
|
|
22
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DropDownButtonModule>;
|
|
23
|
+
}
|
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
* Copyright © 2021 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
|
|
6
|
-
import { Directive, ElementRef, EventEmitter, HostBinding, HostListener, Input, Renderer2 as Renderer, Output, Optional, NgZone } from '@angular/core';
|
|
7
|
-
import { KendoButtonService } from './button.service';
|
|
5
|
+
import { Directive, EventEmitter, HostBinding, HostListener, Input, Output, Optional } from '@angular/core';
|
|
8
6
|
import { isDocumentAvailable, isChanged, hasObservers, Keys } from '@progress/kendo-angular-common';
|
|
9
7
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
10
8
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
9
|
import { packageMetadata } from '../package-metadata';
|
|
12
10
|
import { getStylingClasses, getThemeColorClasses } from '../util';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "./button.service";
|
|
13
|
+
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
14
|
const SPAN_TAG_NAME = 'SPAN';
|
|
14
15
|
/**
|
|
15
16
|
* Represents the Kendo UI Button component for Angular.
|
|
16
17
|
*/
|
|
17
|
-
|
|
18
|
+
export class ButtonDirective {
|
|
18
19
|
constructor(element, renderer, service, localization, ngZone) {
|
|
19
20
|
this.service = service;
|
|
20
21
|
this.ngZone = ngZone;
|
|
@@ -143,7 +144,7 @@ let ButtonDirective = class ButtonDirective {
|
|
|
143
144
|
}
|
|
144
145
|
/**
|
|
145
146
|
* The size property specifies the padding of the Button
|
|
146
|
-
* ([see example]({% slug
|
|
147
|
+
* ([see example]({% slug appearance_button %}#toc-size)).
|
|
147
148
|
*
|
|
148
149
|
* The possible values are:
|
|
149
150
|
* * `'small'`
|
|
@@ -160,7 +161,7 @@ let ButtonDirective = class ButtonDirective {
|
|
|
160
161
|
}
|
|
161
162
|
/**
|
|
162
163
|
* The rounded property specifies the border radius of the Button
|
|
163
|
-
* ([see example]({% slug
|
|
164
|
+
* ([see example]({% slug appearance_button %}#toc-rounded)).
|
|
164
165
|
*
|
|
165
166
|
* The possible values are:
|
|
166
167
|
* * `'small'`
|
|
@@ -178,12 +179,13 @@ let ButtonDirective = class ButtonDirective {
|
|
|
178
179
|
}
|
|
179
180
|
/**
|
|
180
181
|
* The fillMode property specifies the background and border styles of the Button
|
|
181
|
-
* ([see example]({% slug
|
|
182
|
+
* ([see example]({% slug appearance_button %}#toc-fillMode)).
|
|
182
183
|
*
|
|
183
184
|
* The possible values are:
|
|
184
185
|
* * `'flat'`
|
|
185
186
|
* * `'solid'` (default)
|
|
186
187
|
* * `'outline'`
|
|
188
|
+
* * `'clear'`
|
|
187
189
|
* * `'link'`
|
|
188
190
|
* * `null`
|
|
189
191
|
*/
|
|
@@ -197,7 +199,7 @@ let ButtonDirective = class ButtonDirective {
|
|
|
197
199
|
/**
|
|
198
200
|
* The Button allows you to specify predefined theme colors.
|
|
199
201
|
* The theme color will be applied as a background and border color while also amending the text color accordingly
|
|
200
|
-
* ([see example]({% slug
|
|
202
|
+
* ([see example]({% slug appearance_button %}#toc-themeColor)).
|
|
201
203
|
*
|
|
202
204
|
* The possible values are:
|
|
203
205
|
* * `'base'` (default)
|
|
@@ -221,7 +223,7 @@ let ButtonDirective = class ButtonDirective {
|
|
|
221
223
|
}
|
|
222
224
|
/**
|
|
223
225
|
* The shape property specifies if the Button will form a rectangle or square.
|
|
224
|
-
* ([see example]({% slug
|
|
226
|
+
* ([see example]({% slug appearance_button %}#toc-shape)).
|
|
225
227
|
*
|
|
226
228
|
* The possible values are:
|
|
227
229
|
* * `'square'`
|
|
@@ -518,153 +520,91 @@ let ButtonDirective = class ButtonDirective {
|
|
|
518
520
|
}
|
|
519
521
|
}
|
|
520
522
|
}
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
525
|
-
], ButtonDirective.prototype, "toggleable", void 0);
|
|
526
|
-
tslib_1.__decorate([
|
|
527
|
-
Input(),
|
|
528
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
529
|
-
tslib_1.__metadata("design:paramtypes", [Boolean])
|
|
530
|
-
], ButtonDirective.prototype, "togglable", null);
|
|
531
|
-
tslib_1.__decorate([
|
|
532
|
-
Input(),
|
|
533
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
534
|
-
tslib_1.__metadata("design:paramtypes", [Boolean])
|
|
535
|
-
], ButtonDirective.prototype, "selected", null);
|
|
536
|
-
tslib_1.__decorate([
|
|
537
|
-
Input(),
|
|
538
|
-
tslib_1.__metadata("design:type", Number),
|
|
539
|
-
tslib_1.__metadata("design:paramtypes", [Number])
|
|
540
|
-
], ButtonDirective.prototype, "tabIndex", null);
|
|
541
|
-
tslib_1.__decorate([
|
|
542
|
-
Input(),
|
|
543
|
-
tslib_1.__metadata("design:type", String),
|
|
544
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
545
|
-
], ButtonDirective.prototype, "icon", null);
|
|
546
|
-
tslib_1.__decorate([
|
|
547
|
-
Input(),
|
|
548
|
-
tslib_1.__metadata("design:type", String),
|
|
549
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
550
|
-
], ButtonDirective.prototype, "iconClass", null);
|
|
551
|
-
tslib_1.__decorate([
|
|
552
|
-
Input(),
|
|
553
|
-
tslib_1.__metadata("design:type", String),
|
|
554
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
555
|
-
], ButtonDirective.prototype, "imageUrl", null);
|
|
556
|
-
tslib_1.__decorate([
|
|
557
|
-
Input(),
|
|
558
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
559
|
-
tslib_1.__metadata("design:paramtypes", [Boolean])
|
|
560
|
-
], ButtonDirective.prototype, "disabled", null);
|
|
561
|
-
tslib_1.__decorate([
|
|
562
|
-
Input(),
|
|
563
|
-
tslib_1.__metadata("design:type", String),
|
|
564
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
565
|
-
], ButtonDirective.prototype, "size", null);
|
|
566
|
-
tslib_1.__decorate([
|
|
567
|
-
Input(),
|
|
568
|
-
tslib_1.__metadata("design:type", String),
|
|
569
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
570
|
-
], ButtonDirective.prototype, "rounded", null);
|
|
571
|
-
tslib_1.__decorate([
|
|
572
|
-
Input(),
|
|
573
|
-
tslib_1.__metadata("design:type", String),
|
|
574
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
575
|
-
], ButtonDirective.prototype, "fillMode", null);
|
|
576
|
-
tslib_1.__decorate([
|
|
577
|
-
Input(),
|
|
578
|
-
tslib_1.__metadata("design:type", String),
|
|
579
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
580
|
-
], ButtonDirective.prototype, "themeColor", null);
|
|
581
|
-
tslib_1.__decorate([
|
|
582
|
-
Input(),
|
|
583
|
-
tslib_1.__metadata("design:type", String),
|
|
584
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
585
|
-
], ButtonDirective.prototype, "shape", null);
|
|
586
|
-
tslib_1.__decorate([
|
|
587
|
-
Input(),
|
|
588
|
-
tslib_1.__metadata("design:type", String)
|
|
589
|
-
], ButtonDirective.prototype, "role", void 0);
|
|
590
|
-
tslib_1.__decorate([
|
|
591
|
-
Output(),
|
|
592
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
593
|
-
], ButtonDirective.prototype, "selectedChange", void 0);
|
|
594
|
-
tslib_1.__decorate([
|
|
595
|
-
Output(),
|
|
596
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
597
|
-
], ButtonDirective.prototype, "click", void 0);
|
|
598
|
-
tslib_1.__decorate([
|
|
599
|
-
HostBinding('class.k-button'),
|
|
600
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
601
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
602
|
-
], ButtonDirective.prototype, "classButton", null);
|
|
603
|
-
tslib_1.__decorate([
|
|
604
|
-
HostBinding('class.k-toggle-button'),
|
|
605
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
606
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
607
|
-
], ButtonDirective.prototype, "isToggleable", null);
|
|
608
|
-
tslib_1.__decorate([
|
|
609
|
-
HostBinding('attr.role'),
|
|
610
|
-
tslib_1.__metadata("design:type", String),
|
|
611
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
612
|
-
], ButtonDirective.prototype, "roleSetter", null);
|
|
613
|
-
tslib_1.__decorate([
|
|
614
|
-
HostBinding('attr.aria-disabled'),
|
|
615
|
-
HostBinding('class.k-disabled'),
|
|
616
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
617
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
618
|
-
], ButtonDirective.prototype, "classDisabled", null);
|
|
619
|
-
tslib_1.__decorate([
|
|
620
|
-
HostBinding('class.k-selected'),
|
|
621
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
622
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
623
|
-
], ButtonDirective.prototype, "classActive", null);
|
|
624
|
-
tslib_1.__decorate([
|
|
625
|
-
HostBinding('attr.dir'),
|
|
626
|
-
tslib_1.__metadata("design:type", String),
|
|
627
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
628
|
-
], ButtonDirective.prototype, "getDirection", null);
|
|
629
|
-
tslib_1.__decorate([
|
|
630
|
-
HostListener('focus'),
|
|
631
|
-
tslib_1.__metadata("design:type", Function),
|
|
632
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
633
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
634
|
-
], ButtonDirective.prototype, "onFocus", null);
|
|
635
|
-
tslib_1.__decorate([
|
|
636
|
-
HostListener('blur'),
|
|
637
|
-
tslib_1.__metadata("design:type", Function),
|
|
638
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
639
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
640
|
-
], ButtonDirective.prototype, "onBlur", null);
|
|
641
|
-
tslib_1.__decorate([
|
|
642
|
-
Input(),
|
|
643
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
644
|
-
tslib_1.__metadata("design:paramtypes", [Boolean])
|
|
645
|
-
], ButtonDirective.prototype, "primary", null);
|
|
646
|
-
tslib_1.__decorate([
|
|
647
|
-
Input(),
|
|
648
|
-
tslib_1.__metadata("design:type", String),
|
|
649
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
650
|
-
], ButtonDirective.prototype, "look", null);
|
|
651
|
-
ButtonDirective = tslib_1.__decorate([
|
|
652
|
-
Directive({
|
|
653
|
-
exportAs: 'kendoButton',
|
|
654
|
-
providers: [
|
|
655
|
-
LocalizationService,
|
|
656
|
-
{
|
|
657
|
-
provide: L10N_PREFIX,
|
|
658
|
-
useValue: 'kendo.button'
|
|
659
|
-
}
|
|
660
|
-
],
|
|
661
|
-
selector: 'button[kendoButton], span[kendoButton]',
|
|
662
|
-
}),
|
|
663
|
-
tslib_1.__param(2, Optional()),
|
|
664
|
-
tslib_1.__metadata("design:paramtypes", [ElementRef,
|
|
665
|
-
Renderer,
|
|
666
|
-
KendoButtonService,
|
|
523
|
+
}
|
|
524
|
+
ButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ButtonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.KendoButtonService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
525
|
+
ButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: { toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", icon: "icon", iconClass: "iconClass", imageUrl: "imageUrl", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", shape: "shape", role: "role", 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", "attr.role": "this.roleSetter", "attr.aria-disabled": "this.classDisabled", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
|
|
667
526
|
LocalizationService,
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
527
|
+
{
|
|
528
|
+
provide: L10N_PREFIX,
|
|
529
|
+
useValue: 'kendo.button'
|
|
530
|
+
}
|
|
531
|
+
], exportAs: ["kendoButton"], usesOnChanges: true, ngImport: i0 });
|
|
532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ButtonDirective, decorators: [{
|
|
533
|
+
type: Directive,
|
|
534
|
+
args: [{
|
|
535
|
+
exportAs: 'kendoButton',
|
|
536
|
+
providers: [
|
|
537
|
+
LocalizationService,
|
|
538
|
+
{
|
|
539
|
+
provide: L10N_PREFIX,
|
|
540
|
+
useValue: 'kendo.button'
|
|
541
|
+
}
|
|
542
|
+
],
|
|
543
|
+
selector: 'button[kendoButton], span[kendoButton]' // eslint-disable-line
|
|
544
|
+
}]
|
|
545
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.KendoButtonService, decorators: [{
|
|
546
|
+
type: Optional
|
|
547
|
+
}] }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { toggleable: [{
|
|
548
|
+
type: Input
|
|
549
|
+
}], togglable: [{
|
|
550
|
+
type: Input
|
|
551
|
+
}], selected: [{
|
|
552
|
+
type: Input
|
|
553
|
+
}], tabIndex: [{
|
|
554
|
+
type: Input
|
|
555
|
+
}], icon: [{
|
|
556
|
+
type: Input
|
|
557
|
+
}], iconClass: [{
|
|
558
|
+
type: Input
|
|
559
|
+
}], imageUrl: [{
|
|
560
|
+
type: Input
|
|
561
|
+
}], disabled: [{
|
|
562
|
+
type: Input
|
|
563
|
+
}], size: [{
|
|
564
|
+
type: Input
|
|
565
|
+
}], rounded: [{
|
|
566
|
+
type: Input
|
|
567
|
+
}], fillMode: [{
|
|
568
|
+
type: Input
|
|
569
|
+
}], themeColor: [{
|
|
570
|
+
type: Input
|
|
571
|
+
}], shape: [{
|
|
572
|
+
type: Input
|
|
573
|
+
}], role: [{
|
|
574
|
+
type: Input
|
|
575
|
+
}], selectedChange: [{
|
|
576
|
+
type: Output
|
|
577
|
+
}], click: [{
|
|
578
|
+
type: Output
|
|
579
|
+
}], classButton: [{
|
|
580
|
+
type: HostBinding,
|
|
581
|
+
args: ['class.k-button']
|
|
582
|
+
}], isToggleable: [{
|
|
583
|
+
type: HostBinding,
|
|
584
|
+
args: ['class.k-toggle-button']
|
|
585
|
+
}], roleSetter: [{
|
|
586
|
+
type: HostBinding,
|
|
587
|
+
args: ['attr.role']
|
|
588
|
+
}], classDisabled: [{
|
|
589
|
+
type: HostBinding,
|
|
590
|
+
args: ['attr.aria-disabled']
|
|
591
|
+
}, {
|
|
592
|
+
type: HostBinding,
|
|
593
|
+
args: ['class.k-disabled']
|
|
594
|
+
}], classActive: [{
|
|
595
|
+
type: HostBinding,
|
|
596
|
+
args: ['class.k-selected']
|
|
597
|
+
}], getDirection: [{
|
|
598
|
+
type: HostBinding,
|
|
599
|
+
args: ['attr.dir']
|
|
600
|
+
}], onFocus: [{
|
|
601
|
+
type: HostListener,
|
|
602
|
+
args: ['focus']
|
|
603
|
+
}], onBlur: [{
|
|
604
|
+
type: HostListener,
|
|
605
|
+
args: ['blur']
|
|
606
|
+
}], primary: [{
|
|
607
|
+
type: Input
|
|
608
|
+
}], look: [{
|
|
609
|
+
type: Input
|
|
610
|
+
}] } });
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Copyright © 2021 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 * as tslib_1 from "tslib";
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
6
|
import { ButtonDirective } from './button.directive';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmodules'] }})
|
|
10
10
|
* definition for the Button directive.
|
|
@@ -36,12 +36,15 @@ import { ButtonDirective } from './button.directive';
|
|
|
36
36
|
*
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
ButtonModule =
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
39
|
+
export class ButtonModule {
|
|
40
|
+
}
|
|
41
|
+
ButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
42
|
+
ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ButtonModule, declarations: [ButtonDirective], exports: [ButtonDirective] });
|
|
43
|
+
ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ButtonModule });
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ButtonModule, decorators: [{
|
|
45
|
+
type: NgModule,
|
|
46
|
+
args: [{
|
|
47
|
+
declarations: [ButtonDirective],
|
|
48
|
+
exports: [ButtonDirective]
|
|
49
|
+
}]
|
|
50
|
+
}] });
|