@progress/kendo-angular-buttons 7.0.0-next.202111120840 → 7.0.2-dev.202201201235
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/LICENSE.md +1 -1
- package/NOTICE.txt +119 -79
- package/README.md +1 -1
- package/dist/cdn/js/kendo-angular-buttons.js +20 -0
- package/dist/cdn/main.js +5 -0
- package/dist/es/button/button.directive.js +769 -0
- package/{esm2015 → dist/es}/button/button.module.js +13 -13
- package/dist/es/button/button.service.js +24 -0
- package/{esm2015 → dist/es}/button/selection-settings.js +0 -1
- package/dist/es/buttongroup/buttongroup.component.js +353 -0
- package/dist/es/buttongroup/buttongroup.module.js +30 -0
- package/{esm2015 → dist/es}/buttons.module.js +12 -12
- package/{esm2015 → dist/es}/chip/chip-content-click-event-args.interface.js +0 -1
- package/{esm2015 → dist/es}/chip/chip-list-remove-event-args.interface.js +0 -1
- package/dist/es/chip/chip-list.component.js +214 -0
- package/{esm2015 → dist/es}/chip/chip-remove-event-args.interface.js +0 -1
- package/dist/es/chip/chip.component.js +449 -0
- package/dist/es/chip/chip.module.js +55 -0
- package/{esm2015 → dist/es}/chip/models/selection.js +0 -1
- package/dist/es/common/models/fillmode.js +4 -0
- package/dist/es/common/models/rounded.js +4 -0
- package/{esm2015 → dist/es}/common/models/shape.js +0 -1
- package/{esm2015 → dist/es}/common/models/size.js +0 -1
- package/dist/es/common/models/styling-classes.js +4 -0
- package/{esm2015 → dist/es}/common/models/theme-color.js +0 -1
- package/{esm2015/button-look.js → dist/es/common/models.js} +0 -1
- package/{esm2015 → dist/es}/direction.js +0 -1
- package/dist/es/dropdownbutton/dropdownbutton.component.js +704 -0
- package/dist/es/dropdownbutton/dropdownbutton.module.js +32 -0
- package/dist/es/floatingactionbutton/animations/animations.js +33 -0
- package/dist/es/floatingactionbutton/dial-item.component.js +143 -0
- package/dist/es/floatingactionbutton/dial-list.component.js +76 -0
- package/dist/es/floatingactionbutton/floatingactionbutton.component.js +903 -0
- package/dist/es/floatingactionbutton/floatingactionbutton.module.js +65 -0
- package/{esm2015 → dist/es}/floatingactionbutton/models/align.js +0 -1
- package/{esm2015 → dist/es}/floatingactionbutton/models/item-animation.interface.js +0 -1
- package/{esm2015 → dist/es}/floatingactionbutton/models/item-click.event.js +0 -1
- package/{esm2015 → dist/es}/floatingactionbutton/models/item.interface.js +0 -1
- package/{esm2015 → dist/es}/floatingactionbutton/models/offset.js +0 -1
- package/{esm2015 → dist/es}/floatingactionbutton/models/position-mode.js +0 -1
- package/dist/es/floatingactionbutton/templates/dial-item-template.directive.js +26 -0
- package/dist/es/floatingactionbutton/templates/fab-template.directive.js +26 -0
- package/dist/es/floatingactionbutton/utils.js +38 -0
- package/dist/es/focusable/focus.service.js +43 -0
- package/dist/es/focusable/focusable.directive.js +68 -0
- package/dist/es/index.js +22 -0
- package/dist/es/listbutton/button-item-template.directive.js +68 -0
- package/dist/es/listbutton/list-button.js +243 -0
- package/{esm2015 → dist/es}/listbutton/list-item-model.js +0 -1
- package/dist/es/listbutton/list.component.js +85 -0
- package/dist/es/listbutton/list.module.js +33 -0
- package/{esm2015 → dist/es}/listbutton/popup-settings.js +0 -1
- package/dist/es/listbutton/template-context.directive.js +40 -0
- package/{esm2015 → dist/es}/main.js +1 -5
- package/{esm2015 → dist/es}/navigation/key-events.js +0 -0
- package/{esm2015 → dist/es}/navigation/navigation-action.js +0 -0
- package/dist/es/navigation/navigation-config.js +9 -0
- package/dist/es/navigation/navigation.service.js +114 -0
- package/dist/es/package-metadata.js +15 -0
- package/dist/es/preventable-event.js +29 -0
- package/dist/es/splitbutton/localization/custom-messages.component.js +44 -0
- package/dist/es/splitbutton/localization/localized-messages.directive.js +35 -0
- package/dist/es/splitbutton/localization/messages.js +22 -0
- package/dist/es/splitbutton/splitbutton.component.js +830 -0
- package/dist/es/splitbutton/splitbutton.module.js +34 -0
- package/dist/es/util.js +97 -0
- package/{button → dist/es2015/button}/button.directive.d.ts +101 -46
- package/dist/es2015/button/button.directive.js +671 -0
- package/{button → dist/es2015/button}/button.module.d.ts +0 -5
- package/dist/es2015/button/button.module.js +47 -0
- package/{button → dist/es2015/button}/button.service.d.ts +1 -7
- package/dist/es2015/button/button.service.js +26 -0
- package/{button → dist/es2015/button}/selection-settings.d.ts +0 -0
- package/dist/es2015/button/selection-settings.js +4 -0
- package/{buttongroup → dist/es2015/buttongroup}/buttongroup.component.d.ts +9 -28
- package/{esm2015 → dist/es2015}/buttongroup/buttongroup.component.js +116 -121
- package/dist/es2015/buttongroup/buttongroup.module.d.ts +14 -0
- package/dist/es2015/buttongroup/buttongroup.module.js +27 -0
- package/{buttons.module.d.ts → dist/es2015/buttons.module.d.ts} +0 -10
- package/dist/es2015/buttons.module.js +51 -0
- package/{chip → dist/es2015/chip}/chip-content-click-event-args.interface.d.ts +0 -0
- package/dist/es2015/chip/chip-content-click-event-args.interface.js +4 -0
- package/{chip → dist/es2015/chip}/chip-list-remove-event-args.interface.d.ts +0 -0
- package/dist/es2015/chip/chip-list-remove-event-args.interface.js +4 -0
- package/{chip → dist/es2015/chip}/chip-list.component.d.ts +21 -8
- package/dist/es2015/chip/chip-list.component.js +197 -0
- package/{chip → dist/es2015/chip}/chip-remove-event-args.interface.d.ts +0 -0
- package/dist/es2015/chip/chip-remove-event-args.interface.js +4 -0
- package/{chip → dist/es2015/chip}/chip.component.d.ts +72 -38
- package/dist/es2015/chip/chip.component.js +431 -0
- package/{chip → dist/es2015/chip}/chip.module.d.ts +0 -7
- package/{esm2015 → dist/es2015}/chip/chip.module.js +11 -16
- package/{chip → dist/es2015/chip}/models/selection.d.ts +0 -0
- package/dist/es2015/chip/models/selection.js +4 -0
- package/{util.d.ts → dist/es2015/common/models/fillmode.d.ts} +4 -8
- package/dist/es2015/common/models/fillmode.js +4 -0
- package/dist/es2015/common/models/rounded.d.ts +12 -0
- package/dist/es2015/common/models/rounded.js +4 -0
- package/dist/es2015/common/models/shape.d.ts +9 -0
- package/dist/es2015/common/models/shape.js +4 -0
- package/dist/es2015/common/models/size.d.ts +17 -0
- package/dist/es2015/common/models/size.js +4 -0
- package/{esm2015/kendo-angular-buttons.js → dist/es2015/common/models/styling-classes.d.ts} +5 -2
- package/dist/es2015/common/models/styling-classes.js +4 -0
- package/{common → dist/es2015/common}/models/theme-color.d.ts +15 -4
- package/dist/es2015/common/models/theme-color.js +4 -0
- package/{common/models/size.d.ts → dist/es2015/common/models.d.ts} +6 -10
- package/dist/es2015/common/models.js +4 -0
- package/{direction.d.ts → dist/es2015/direction.d.ts} +0 -0
- package/dist/es2015/direction.js +4 -0
- package/{dropdownbutton → dist/es2015/dropdownbutton}/dropdownbutton.component.d.ts +74 -29
- package/{esm2015 → dist/es2015}/dropdownbutton/dropdownbutton.component.js +257 -179
- package/dist/es2015/dropdownbutton/dropdownbutton.module.d.ts +14 -0
- package/dist/es2015/dropdownbutton/dropdownbutton.module.js +29 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/animations/animations.d.ts +0 -0
- package/{esm2015 → dist/es2015}/floatingactionbutton/animations/animations.js +0 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/dial-item.component.d.ts +5 -8
- package/dist/es2015/floatingactionbutton/dial-item.component.js +133 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/dial-list.component.d.ts +2 -5
- package/dist/es2015/floatingactionbutton/dial-list.component.js +81 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/floatingactionbutton.component.d.ts +47 -49
- package/{esm2015 → dist/es2015}/floatingactionbutton/floatingactionbutton.component.js +212 -192
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/floatingactionbutton.module.d.ts +0 -13
- package/{esm2015 → dist/es2015}/floatingactionbutton/floatingactionbutton.module.js +11 -19
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/align.d.ts +0 -0
- package/dist/es2015/floatingactionbutton/models/align.js +4 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/item-animation.interface.d.ts +0 -0
- package/dist/es2015/floatingactionbutton/models/item-animation.interface.js +4 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/item-click.event.d.ts +0 -0
- package/dist/es2015/floatingactionbutton/models/item-click.event.js +4 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/item.interface.d.ts +0 -0
- package/dist/es2015/floatingactionbutton/models/item.interface.js +4 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/offset.d.ts +0 -0
- package/dist/es2015/floatingactionbutton/models/offset.js +4 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/position-mode.d.ts +0 -0
- package/dist/es2015/floatingactionbutton/models/position-mode.js +4 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/templates/dial-item-template.directive.d.ts +0 -3
- package/dist/es2015/floatingactionbutton/templates/dial-item-template.directive.js +25 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/templates/fab-template.directive.d.ts +0 -3
- package/dist/es2015/floatingactionbutton/templates/fab-template.directive.js +25 -0
- package/{floatingactionbutton → dist/es2015/floatingactionbutton}/utils.d.ts +0 -0
- package/{esm2015 → dist/es2015}/floatingactionbutton/utils.js +0 -0
- package/{focusable → dist/es2015/focusable}/focus.service.d.ts +1 -5
- package/{esm2015 → dist/es2015}/focusable/focus.service.js +10 -8
- package/{focusable → dist/es2015/focusable}/focusable.directive.d.ts +0 -3
- package/{esm2015 → dist/es2015}/focusable/focusable.directive.js +20 -19
- package/dist/es2015/index.d.ts +22 -0
- package/dist/es2015/index.js +22 -0
- package/dist/es2015/index.metadata.json +1 -0
- package/{listbutton → dist/es2015/listbutton}/button-item-template.directive.d.ts +0 -3
- package/{esm2015 → dist/es2015}/listbutton/button-item-template.directive.js +12 -13
- package/{listbutton → dist/es2015/listbutton}/list-button.d.ts +2 -6
- package/{esm2015 → dist/es2015}/listbutton/list-button.js +6 -16
- package/{listbutton → dist/es2015/listbutton}/list-item-model.d.ts +0 -0
- package/dist/es2015/listbutton/list-item-model.js +4 -0
- package/{listbutton → dist/es2015/listbutton}/list.component.d.ts +3 -3
- package/dist/es2015/listbutton/list.component.js +113 -0
- package/dist/es2015/listbutton/list.module.d.ts +9 -0
- package/dist/es2015/listbutton/list.module.js +30 -0
- package/{listbutton → dist/es2015/listbutton}/popup-settings.d.ts +0 -0
- package/dist/es2015/listbutton/popup-settings.js +4 -0
- package/{listbutton → dist/es2015/listbutton}/template-context.directive.d.ts +1 -4
- package/dist/es2015/listbutton/template-context.directive.js +35 -0
- package/{main.d.ts → dist/es2015/main.d.ts} +5 -9
- package/dist/es2015/main.js +22 -0
- package/{navigation → dist/es2015/navigation}/key-events.d.ts +0 -0
- package/dist/es2015/navigation/key-events.js +13 -0
- package/{navigation → dist/es2015/navigation}/navigation-action.d.ts +0 -0
- package/dist/es2015/navigation/navigation-action.js +19 -0
- package/{navigation → dist/es2015/navigation}/navigation-config.d.ts +0 -0
- package/{esm2015 → dist/es2015}/navigation/navigation-config.js +0 -0
- package/{navigation → dist/es2015/navigation}/navigation.service.d.ts +0 -3
- package/{esm2015 → dist/es2015}/navigation/navigation.service.js +9 -11
- package/{package-metadata.d.ts → dist/es2015/package-metadata.d.ts} +0 -0
- package/{esm2015 → dist/es2015}/package-metadata.js +1 -1
- package/{preventable-event.d.ts → dist/es2015/preventable-event.d.ts} +0 -0
- package/{esm2015 → dist/es2015}/preventable-event.js +0 -0
- package/dist/es2015/splitbutton/localization/custom-messages.component.d.ts +15 -0
- package/dist/es2015/splitbutton/localization/custom-messages.component.js +36 -0
- package/dist/es2015/splitbutton/localization/localized-messages.directive.d.ts +13 -0
- package/dist/es2015/splitbutton/localization/localized-messages.directive.js +31 -0
- package/dist/es2015/splitbutton/localization/messages.d.ts +32 -0
- package/dist/es2015/splitbutton/localization/messages.js +16 -0
- package/{splitbutton → dist/es2015/splitbutton}/splitbutton.component.d.ts +74 -34
- package/{esm2015 → dist/es2015}/splitbutton/splitbutton.component.js +288 -203
- package/dist/es2015/splitbutton/splitbutton.module.d.ts +14 -0
- package/dist/es2015/splitbutton/splitbutton.module.js +31 -0
- package/dist/es2015/util.d.ts +41 -0
- package/dist/es2015/util.js +95 -0
- package/{fesm2015/kendo-angular-buttons.js → dist/fesm2015/index.js} +2394 -1838
- package/dist/fesm5/index.js +5561 -0
- package/dist/npm/button/button.directive.js +771 -0
- package/dist/npm/button/button.module.js +52 -0
- package/dist/npm/button/button.service.js +26 -0
- package/dist/npm/button/selection-settings.js +6 -0
- package/dist/npm/buttongroup/buttongroup.component.js +355 -0
- package/dist/npm/buttongroup/buttongroup.module.js +32 -0
- package/dist/npm/buttons.module.js +56 -0
- package/dist/npm/chip/chip-content-click-event-args.interface.js +6 -0
- package/dist/npm/chip/chip-list-remove-event-args.interface.js +6 -0
- package/dist/npm/chip/chip-list.component.js +216 -0
- package/dist/npm/chip/chip-remove-event-args.interface.js +6 -0
- package/dist/npm/chip/chip.component.js +451 -0
- package/dist/npm/chip/chip.module.js +57 -0
- package/dist/npm/chip/models/selection.js +6 -0
- package/dist/npm/common/models/fillmode.js +6 -0
- package/dist/npm/common/models/rounded.js +6 -0
- package/dist/npm/common/models/shape.js +6 -0
- package/dist/npm/common/models/size.js +6 -0
- package/dist/npm/common/models/styling-classes.js +6 -0
- package/dist/npm/common/models/theme-color.js +6 -0
- package/dist/npm/common/models.js +6 -0
- package/dist/npm/direction.js +6 -0
- package/dist/npm/dropdownbutton/dropdownbutton.component.js +706 -0
- package/dist/npm/dropdownbutton/dropdownbutton.module.js +34 -0
- package/dist/npm/floatingactionbutton/animations/animations.js +37 -0
- package/dist/npm/floatingactionbutton/dial-item.component.js +145 -0
- package/dist/npm/floatingactionbutton/dial-list.component.js +78 -0
- package/dist/npm/floatingactionbutton/floatingactionbutton.component.js +905 -0
- package/dist/npm/floatingactionbutton/floatingactionbutton.module.js +67 -0
- package/dist/npm/floatingactionbutton/models/align.js +6 -0
- package/dist/npm/floatingactionbutton/models/item-animation.interface.js +6 -0
- package/dist/npm/floatingactionbutton/models/item-click.event.js +6 -0
- package/dist/npm/floatingactionbutton/models/item.interface.js +6 -0
- package/dist/npm/floatingactionbutton/models/offset.js +6 -0
- package/dist/npm/floatingactionbutton/models/position-mode.js +6 -0
- package/dist/npm/floatingactionbutton/templates/dial-item-template.directive.js +28 -0
- package/dist/npm/floatingactionbutton/templates/fab-template.directive.js +28 -0
- package/dist/npm/floatingactionbutton/utils.js +42 -0
- package/dist/npm/focusable/focus.service.js +45 -0
- package/dist/npm/focusable/focusable.directive.js +70 -0
- package/dist/npm/index.js +39 -0
- package/dist/npm/listbutton/button-item-template.directive.js +70 -0
- package/dist/npm/listbutton/list-button.js +245 -0
- package/dist/npm/listbutton/list-item-model.js +6 -0
- package/dist/npm/listbutton/list.component.js +87 -0
- package/dist/npm/listbutton/list.module.js +35 -0
- package/dist/npm/listbutton/popup-settings.js +6 -0
- package/dist/npm/listbutton/template-context.directive.js +42 -0
- package/dist/npm/main.js +45 -0
- package/dist/npm/navigation/key-events.js +15 -0
- package/dist/npm/navigation/navigation-action.js +21 -0
- package/dist/npm/navigation/navigation-config.js +11 -0
- package/dist/npm/navigation/navigation.service.js +116 -0
- package/dist/npm/package-metadata.js +17 -0
- package/dist/npm/preventable-event.js +31 -0
- package/dist/npm/splitbutton/localization/custom-messages.component.js +46 -0
- package/dist/npm/splitbutton/localization/localized-messages.directive.js +37 -0
- package/dist/npm/splitbutton/localization/messages.js +24 -0
- package/dist/npm/splitbutton/splitbutton.component.js +832 -0
- package/dist/npm/splitbutton/splitbutton.module.js +36 -0
- package/dist/npm/util.js +100 -0
- package/dist/systemjs/kendo-angular-buttons.js +5 -0
- package/package.json +110 -35
- package/schematics/ngAdd/index.js +2 -5
- package/schematics/ngAdd/index.js.map +1 -1
- package/bundles/kendo-angular-buttons.umd.js +0 -5
- package/button-look.d.ts +0 -21
- package/buttongroup/buttongroup.module.d.ts +0 -21
- package/chip/models/chip-look.d.ts +0 -18
- package/chip/models/type.d.ts +0 -21
- package/common/models/shape.d.ts +0 -16
- package/dropdownbutton/dropdownbutton.module.d.ts +0 -23
- package/esm2015/button/button.directive.js +0 -488
- package/esm2015/button/button.service.js +0 -28
- package/esm2015/buttongroup/buttongroup.module.js +0 -30
- package/esm2015/chip/chip-list.component.js +0 -145
- package/esm2015/chip/chip.component.js +0 -335
- package/esm2015/chip/models/chip-look.js +0 -5
- package/esm2015/chip/models/type.js +0 -5
- package/esm2015/dropdownbutton/dropdownbutton.module.js +0 -32
- package/esm2015/floatingactionbutton/dial-item.component.js +0 -126
- package/esm2015/floatingactionbutton/dial-list.component.js +0 -89
- package/esm2015/floatingactionbutton/templates/dial-item-template.directive.js +0 -27
- package/esm2015/floatingactionbutton/templates/fab-template.directive.js +0 -27
- package/esm2015/listbutton/list.component.js +0 -120
- package/esm2015/listbutton/list.module.js +0 -39
- package/esm2015/listbutton/template-context.directive.js +0 -33
- package/esm2015/splitbutton/splitbutton.module.js +0 -32
- package/esm2015/util.js +0 -39
- package/kendo-angular-buttons.d.ts +0 -9
- package/listbutton/list.module.d.ts +0 -18
- package/splitbutton/splitbutton.module.d.ts +0 -23
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
export declare class ListModule {
|
|
9
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 tslib_1 from "tslib";
|
|
6
|
+
import { NgModule } from '@angular/core';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
import { ListComponent } from './list.component';
|
|
9
|
+
import { FocusableDirective } from './../focusable/focusable.directive';
|
|
10
|
+
import { ButtonItemTemplateDirective } from './button-item-template.directive';
|
|
11
|
+
import { TemplateContextDirective } from './template-context.directive';
|
|
12
|
+
const EXPORTED_DIRECTIVES = [
|
|
13
|
+
ListComponent,
|
|
14
|
+
FocusableDirective,
|
|
15
|
+
ButtonItemTemplateDirective,
|
|
16
|
+
TemplateContextDirective
|
|
17
|
+
];
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
let ListModule = class ListModule {
|
|
22
|
+
};
|
|
23
|
+
ListModule = tslib_1.__decorate([
|
|
24
|
+
NgModule({
|
|
25
|
+
declarations: [EXPORTED_DIRECTIVES],
|
|
26
|
+
exports: [EXPORTED_DIRECTIVES],
|
|
27
|
+
imports: [CommonModule]
|
|
28
|
+
})
|
|
29
|
+
], ListModule);
|
|
30
|
+
export { ListModule };
|
|
File without changes
|
|
@@ -0,0 +1,4 @@
|
|
|
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
|
+
*-------------------------------------------------------------------------------------------*/
|
|
@@ -3,15 +3,12 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ViewContainerRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
6
|
/**
|
|
8
7
|
* @hidden
|
|
9
8
|
*/
|
|
10
9
|
export declare class TemplateContextDirective {
|
|
11
|
-
|
|
10
|
+
templateContext: any;
|
|
12
11
|
private insertedViewRef;
|
|
13
12
|
private viewContainerRef;
|
|
14
13
|
constructor(viewContainerRef: ViewContainerRef);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateContextDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateContextDirective, "[templateContext]", never, { "templateContext": "templateContext"; }, {}, never>;
|
|
17
14
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 tslib_1 from "tslib";
|
|
6
|
+
import { Directive, ViewContainerRef, Input } from '@angular/core';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
let TemplateContextDirective = class TemplateContextDirective {
|
|
11
|
+
constructor(viewContainerRef) {
|
|
12
|
+
this.viewContainerRef = viewContainerRef;
|
|
13
|
+
}
|
|
14
|
+
set templateContext(context) {
|
|
15
|
+
if (this.insertedViewRef) {
|
|
16
|
+
this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef));
|
|
17
|
+
this.insertedViewRef = undefined;
|
|
18
|
+
}
|
|
19
|
+
if (context.templateRef) {
|
|
20
|
+
this.insertedViewRef = this.viewContainerRef.createEmbeddedView(context.templateRef, context);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
tslib_1.__decorate([
|
|
25
|
+
Input(),
|
|
26
|
+
tslib_1.__metadata("design:type", Object),
|
|
27
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
28
|
+
], TemplateContextDirective.prototype, "templateContext", null);
|
|
29
|
+
TemplateContextDirective = tslib_1.__decorate([
|
|
30
|
+
Directive({
|
|
31
|
+
selector: '[templateContext]' // tslint:disable-line:directive-selector
|
|
32
|
+
}),
|
|
33
|
+
tslib_1.__metadata("design:paramtypes", [ViewContainerRef])
|
|
34
|
+
], TemplateContextDirective);
|
|
35
|
+
export { TemplateContextDirective };
|
|
@@ -9,22 +9,17 @@ export { ButtonModule } from './button/button.module';
|
|
|
9
9
|
export { ButtonsModule } from './buttons.module';
|
|
10
10
|
export { SplitButtonComponent, SplitButtonComponent as SplitButton } from './splitbutton/splitbutton.component';
|
|
11
11
|
export { SplitButtonModule } from './splitbutton/splitbutton.module';
|
|
12
|
+
export { SplitButtonCustomMessagesComponent } from './splitbutton/localization/custom-messages.component';
|
|
12
13
|
export { DropDownButtonComponent, DropDownButtonComponent as DropDownButton } from './dropdownbutton/dropdownbutton.component';
|
|
13
14
|
export { DropDownButtonModule } from './dropdownbutton/dropdownbutton.module';
|
|
14
|
-
export { ButtonLook } from './button-look';
|
|
15
15
|
export { ListItemModel } from './listbutton/list-item-model';
|
|
16
16
|
export { PopupSettings } from './listbutton/popup-settings';
|
|
17
|
-
export { ButtonItemTemplateDirective } from './listbutton/button-item-template.directive';
|
|
18
|
-
export { ListComponent } from './listbutton/list.component';
|
|
19
|
-
export { TemplateContextDirective } from './listbutton/template-context.directive';
|
|
20
|
-
export { ListModule } from './listbutton/list.module';
|
|
21
17
|
export { ChipComponent } from './chip/chip.component';
|
|
22
18
|
export { ChipListComponent } from './chip/chip-list.component';
|
|
23
19
|
export { ChipModule } from './chip/chip.module';
|
|
24
20
|
export { ChipListSelection } from './chip/models/selection';
|
|
25
21
|
export { ChipRemoveEvent } from './chip/chip-remove-event-args.interface';
|
|
26
22
|
export { ChipListRemoveEvent } from './chip/chip-list-remove-event-args.interface';
|
|
27
|
-
export { ChipType } from './chip/models/type';
|
|
28
23
|
export { FloatingActionButtonModule } from './floatingactionbutton/floatingactionbutton.module';
|
|
29
24
|
export { FloatingActionButtonComponent } from './floatingactionbutton/floatingactionbutton.component';
|
|
30
25
|
export { FloatingActionButtonTemplateDirective } from './floatingactionbutton/templates/fab-template.directive';
|
|
@@ -35,7 +30,8 @@ export { DialItemAnimation } from './floatingactionbutton/models/item-animation.
|
|
|
35
30
|
export { FabAlign } from './floatingactionbutton/models/align';
|
|
36
31
|
export { FabPositionMode } from './floatingactionbutton/models/position-mode';
|
|
37
32
|
export { FabOffset } from './floatingactionbutton/models/offset';
|
|
38
|
-
export { ButtonSize } from './common/models/size';
|
|
39
|
-
export {
|
|
33
|
+
export { ButtonSize, ChipSize } from './common/models/size';
|
|
34
|
+
export { ButtonRounded, ChipRounded } from './common/models/rounded';
|
|
35
|
+
export { ButtonFillMode, ChipFillMode } from './common/models/fillmode';
|
|
36
|
+
export { ButtonThemeColor, ChipThemeColor } from './common/models/theme-color';
|
|
40
37
|
export { ButtonShape } from './common/models/shape';
|
|
41
|
-
export { FocusableDirective } from './focusable/focusable.directive';
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
export { ButtonDirective, ButtonDirective as Button } from './button/button.directive';
|
|
6
|
+
export { ButtonGroupComponent, ButtonGroupComponent as ButtonGroup } from './buttongroup/buttongroup.component';
|
|
7
|
+
export { ButtonGroupModule } from './buttongroup/buttongroup.module';
|
|
8
|
+
export { ButtonModule } from './button/button.module';
|
|
9
|
+
export { ButtonsModule } from './buttons.module';
|
|
10
|
+
export { SplitButtonComponent, SplitButtonComponent as SplitButton } from './splitbutton/splitbutton.component';
|
|
11
|
+
export { SplitButtonModule } from './splitbutton/splitbutton.module';
|
|
12
|
+
export { SplitButtonCustomMessagesComponent } from './splitbutton/localization/custom-messages.component';
|
|
13
|
+
export { DropDownButtonComponent, DropDownButtonComponent as DropDownButton } from './dropdownbutton/dropdownbutton.component';
|
|
14
|
+
export { DropDownButtonModule } from './dropdownbutton/dropdownbutton.module';
|
|
15
|
+
export { ChipComponent } from './chip/chip.component';
|
|
16
|
+
export { ChipListComponent } from './chip/chip-list.component';
|
|
17
|
+
export { ChipModule } from './chip/chip.module';
|
|
18
|
+
// Floating Action Button
|
|
19
|
+
export { FloatingActionButtonModule } from './floatingactionbutton/floatingactionbutton.module';
|
|
20
|
+
export { FloatingActionButtonComponent } from './floatingactionbutton/floatingactionbutton.component';
|
|
21
|
+
export { FloatingActionButtonTemplateDirective } from './floatingactionbutton/templates/fab-template.directive';
|
|
22
|
+
export { DialItemTemplateDirective } from './floatingactionbutton/templates/dial-item-template.directive';
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
export var KeyEvents;
|
|
9
|
+
(function (KeyEvents) {
|
|
10
|
+
KeyEvents[KeyEvents["keydown"] = 0] = "keydown";
|
|
11
|
+
KeyEvents[KeyEvents["keypress"] = 1] = "keypress";
|
|
12
|
+
KeyEvents[KeyEvents["keyup"] = 2] = "keyup";
|
|
13
|
+
})(KeyEvents || (KeyEvents = {}));
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
export var NavigationAction;
|
|
9
|
+
(function (NavigationAction) {
|
|
10
|
+
NavigationAction[NavigationAction["Undefined"] = 0] = "Undefined";
|
|
11
|
+
NavigationAction[NavigationAction["Open"] = 1] = "Open";
|
|
12
|
+
NavigationAction[NavigationAction["Close"] = 2] = "Close";
|
|
13
|
+
NavigationAction[NavigationAction["Enter"] = 3] = "Enter";
|
|
14
|
+
NavigationAction[NavigationAction["EnterPress"] = 4] = "EnterPress";
|
|
15
|
+
NavigationAction[NavigationAction["EnterUp"] = 5] = "EnterUp";
|
|
16
|
+
NavigationAction[NavigationAction["Tab"] = 6] = "Tab";
|
|
17
|
+
NavigationAction[NavigationAction["Esc"] = 7] = "Esc";
|
|
18
|
+
NavigationAction[NavigationAction["Navigate"] = 8] = "Navigate";
|
|
19
|
+
})(NavigationAction || (NavigationAction = {}));
|
|
File without changes
|
|
File without changes
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
import { EventEmitter } from '@angular/core';
|
|
6
6
|
import { NavigationAction } from './navigation-action';
|
|
7
7
|
import { NavigationConfig } from './navigation-config';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
8
|
/**
|
|
10
9
|
* @hidden
|
|
11
10
|
*/
|
|
@@ -23,6 +22,4 @@ export declare class NavigationService {
|
|
|
23
22
|
process(args: any): NavigationAction;
|
|
24
23
|
private isEnter;
|
|
25
24
|
private next;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
28
25
|
}
|
|
@@ -2,17 +2,17 @@
|
|
|
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";
|
|
5
6
|
import { Injectable, Inject, EventEmitter } from '@angular/core';
|
|
6
7
|
import { isPresent } from './../util';
|
|
7
8
|
import { KeyEvents } from './key-events';
|
|
8
9
|
import { Keys } from '@progress/kendo-angular-common';
|
|
9
10
|
import { NavigationAction } from './navigation-action';
|
|
10
11
|
import { NAVIGATION_CONFIG } from './navigation-config';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
let NavigationService = class NavigationService {
|
|
16
16
|
constructor(config) {
|
|
17
17
|
this.navigate = new EventEmitter();
|
|
18
18
|
this.open = new EventEmitter();
|
|
@@ -104,12 +104,10 @@ export class NavigationService {
|
|
|
104
104
|
return args.current !== args.end ? args.current + args.step : args.end;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
}
|
|
108
|
-
NavigationService
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
args: [NAVIGATION_CONFIG]
|
|
115
|
-
}] }]; } });
|
|
107
|
+
};
|
|
108
|
+
NavigationService = tslib_1.__decorate([
|
|
109
|
+
Injectable(),
|
|
110
|
+
tslib_1.__param(0, Inject(NAVIGATION_CONFIG)),
|
|
111
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
112
|
+
], NavigationService);
|
|
113
|
+
export { NavigationService };
|
|
File without changes
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-buttons',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1642682008,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
/**
|
|
8
|
+
* Custom component messages override default component messages
|
|
9
|
+
* ([see example]({% slug rtl_buttons %}).
|
|
10
|
+
*/
|
|
11
|
+
export declare class SplitButtonCustomMessagesComponent extends Messages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
protected readonly override: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 tslib_1 from "tslib";
|
|
6
|
+
var SplitButtonCustomMessagesComponent_1;
|
|
7
|
+
import { Component, forwardRef } from '@angular/core';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { Messages } from './messages';
|
|
10
|
+
/**
|
|
11
|
+
* Custom component messages override default component messages
|
|
12
|
+
* ([see example]({% slug rtl_buttons %}).
|
|
13
|
+
*/
|
|
14
|
+
let SplitButtonCustomMessagesComponent = SplitButtonCustomMessagesComponent_1 = class SplitButtonCustomMessagesComponent extends Messages {
|
|
15
|
+
constructor(service) {
|
|
16
|
+
super();
|
|
17
|
+
this.service = service;
|
|
18
|
+
}
|
|
19
|
+
get override() {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
SplitButtonCustomMessagesComponent = SplitButtonCustomMessagesComponent_1 = tslib_1.__decorate([
|
|
24
|
+
Component({
|
|
25
|
+
providers: [
|
|
26
|
+
{
|
|
27
|
+
provide: Messages,
|
|
28
|
+
useExisting: forwardRef(() => SplitButtonCustomMessagesComponent_1)
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
selector: 'kendo-splitbutton-messages',
|
|
32
|
+
template: ``
|
|
33
|
+
}),
|
|
34
|
+
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
35
|
+
], SplitButtonCustomMessagesComponent);
|
|
36
|
+
export { SplitButtonCustomMessagesComponent };
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class LocalizedSplitButtonMessagesDirective extends Messages {
|
|
11
|
+
protected service: LocalizationService;
|
|
12
|
+
constructor(service: LocalizationService);
|
|
13
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 tslib_1 from "tslib";
|
|
6
|
+
var LocalizedSplitButtonMessagesDirective_1;
|
|
7
|
+
import { Directive, forwardRef } from '@angular/core';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { Messages } from './messages';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
let LocalizedSplitButtonMessagesDirective = LocalizedSplitButtonMessagesDirective_1 = class LocalizedSplitButtonMessagesDirective extends Messages {
|
|
14
|
+
constructor(service) {
|
|
15
|
+
super();
|
|
16
|
+
this.service = service;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
LocalizedSplitButtonMessagesDirective = LocalizedSplitButtonMessagesDirective_1 = tslib_1.__decorate([
|
|
20
|
+
Directive({
|
|
21
|
+
providers: [
|
|
22
|
+
{
|
|
23
|
+
provide: Messages,
|
|
24
|
+
useExisting: forwardRef(() => LocalizedSplitButtonMessagesDirective_1)
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
selector: '[kendoSplitButtonLocalizedMessages]'
|
|
28
|
+
}),
|
|
29
|
+
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
30
|
+
], LocalizedSplitButtonMessagesDirective);
|
|
31
|
+
export { LocalizedSplitButtonMessagesDirective };
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare class Messages extends ComponentMessages {
|
|
10
|
+
/**
|
|
11
|
+
* The text for the SplitButton aria-label.
|
|
12
|
+
*
|
|
13
|
+
* The text for the aria-label consists of a two-part message - the text of the SplitButton and a localizable string.
|
|
14
|
+
* For a SplitButton with text 'Reply', the default aria-label will be 'Reply splitbutton'.
|
|
15
|
+
*
|
|
16
|
+
* To allow reordering of the SplitButton text and the localizable part, the splitButtonLabel accepts a string with a
|
|
17
|
+
* placeholder for the button text - e.g. 'splitbutton for {buttonText}'. The '{buttonText}' placeholder will be replaced
|
|
18
|
+
* internally with the current SplitButton text, and the resulting aria-label will be rendered as 'splitbutton for Reply'.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
*
|
|
22
|
+
* ```ts-no-run
|
|
23
|
+
* <kendo-splitbutton>
|
|
24
|
+
* <kendo-splitbutton-messages
|
|
25
|
+
* splitButtonLabel="splitbutton for {buttonText}"
|
|
26
|
+
* >
|
|
27
|
+
* </kendo-splitbutton-messages>
|
|
28
|
+
* </kendo-splitbutton>
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
splitButtonLabel: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 tslib_1 from "tslib";
|
|
6
|
+
import { Input } from '@angular/core';
|
|
7
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class Messages extends ComponentMessages {
|
|
12
|
+
}
|
|
13
|
+
tslib_1.__decorate([
|
|
14
|
+
Input(),
|
|
15
|
+
tslib_1.__metadata("design:type", String)
|
|
16
|
+
], Messages.prototype, "splitButtonLabel", void 0);
|
|
@@ -2,7 +2,7 @@
|
|
|
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 { ElementRef, TemplateRef, EventEmitter, ViewContainerRef, AfterViewInit, OnChanges, SimpleChanges, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
5
|
+
import { ElementRef, TemplateRef, EventEmitter, ViewContainerRef, AfterViewInit, OnChanges, SimpleChanges, NgZone, ChangeDetectorRef, Renderer2 } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { Align, PopupService, PopupRef } from '@progress/kendo-angular-popup';
|
|
8
8
|
import { ListButton } from './../listbutton/list-button';
|
|
@@ -11,8 +11,7 @@ import { ButtonItemTemplateDirective } from './../listbutton/button-item-templat
|
|
|
11
11
|
import { FocusService } from './../focusable/focus.service';
|
|
12
12
|
import { NavigationService } from './../navigation/navigation.service';
|
|
13
13
|
import { PreventableEvent } from '../preventable-event';
|
|
14
|
-
import {
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
14
|
+
import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from '../common/models';
|
|
16
15
|
/**
|
|
17
16
|
* Represents the Kendo UI SplitButton component for Angular.
|
|
18
17
|
*
|
|
@@ -57,6 +56,8 @@ import * as i0 from "@angular/core";
|
|
|
57
56
|
export declare class SplitButtonComponent extends ListButton implements AfterViewInit, OnChanges {
|
|
58
57
|
private popupService;
|
|
59
58
|
private elRef;
|
|
59
|
+
private localization;
|
|
60
|
+
private renderer;
|
|
60
61
|
/**
|
|
61
62
|
* Sets the text of the SplitButton.
|
|
62
63
|
*/
|
|
@@ -81,19 +82,63 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
81
82
|
*/
|
|
82
83
|
imageUrl: string;
|
|
83
84
|
/**
|
|
84
|
-
*
|
|
85
|
+
* The size property specifies the padding of the SplitButton
|
|
86
|
+
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-size)).
|
|
87
|
+
*
|
|
88
|
+
* The possible values are:
|
|
89
|
+
* * `'small'`
|
|
90
|
+
* * `'medium'` (default)
|
|
91
|
+
* * `'large'`
|
|
92
|
+
* * `null`
|
|
93
|
+
*/
|
|
94
|
+
size: ButtonSize;
|
|
95
|
+
/**
|
|
96
|
+
* The rounded property specifies the border radius of the SplitButton
|
|
97
|
+
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-rounded)).
|
|
98
|
+
*
|
|
99
|
+
* The possible values are:
|
|
100
|
+
* * `'small'`
|
|
101
|
+
* * `'medium'` (default)
|
|
102
|
+
* * `'large'`
|
|
103
|
+
* * `'full'`
|
|
104
|
+
* * `null`
|
|
105
|
+
*/
|
|
106
|
+
rounded: ButtonRounded;
|
|
107
|
+
/**
|
|
108
|
+
* The fillMode property specifies the background and border styles of the SplitButton
|
|
109
|
+
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-fillMode)).
|
|
85
110
|
*
|
|
86
111
|
* The available values are:
|
|
112
|
+
* * `solid` (default)
|
|
87
113
|
* * `flat`
|
|
88
114
|
* * `outline`
|
|
115
|
+
* * `link`
|
|
89
116
|
*/
|
|
90
|
-
|
|
117
|
+
fillMode: ButtonFillMode;
|
|
118
|
+
/**
|
|
119
|
+
* The SplitButton allows you to specify predefined theme colors.
|
|
120
|
+
* The theme color will be applied as a background and border color while also amending the text color accordingly
|
|
121
|
+
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-themeColor)).
|
|
122
|
+
*
|
|
123
|
+
* The possible values are:
|
|
124
|
+
* * `base` —Applies coloring based on the `base` theme color. (default)
|
|
125
|
+
* * `primary` —Applies coloring based on the `primary` theme color.
|
|
126
|
+
* * `secondary`—Applies coloring based on the `secondary` theme color.
|
|
127
|
+
* * `tertiary`— Applies coloring based on the `tertiary` theme color.
|
|
128
|
+
* * `info`—Applies coloring based on the `info` theme color.
|
|
129
|
+
* * `success`— Applies coloring based on the `success` theme color.
|
|
130
|
+
* * `warning`— Applies coloring based on the `warning` theme color.
|
|
131
|
+
* * `error`— Applies coloring based on the `error` theme color.
|
|
132
|
+
* * `dark`— Applies coloring based on the `dark` theme color.
|
|
133
|
+
* * `light`— Applies coloring based on the `light` theme color.
|
|
134
|
+
* * `inverse`— Applies coloring based on the `inverse` theme color.
|
|
135
|
+
*/
|
|
136
|
+
themeColor: ButtonThemeColor;
|
|
91
137
|
/**
|
|
92
138
|
* When set to `true`, disables a SplitButton item
|
|
93
139
|
* ([see example]({% slug databinding_splitbutton %}#toc-arrays-of-complex-data)).
|
|
94
140
|
*/
|
|
95
|
-
|
|
96
|
-
get disabled(): boolean;
|
|
141
|
+
disabled: boolean;
|
|
97
142
|
/**
|
|
98
143
|
* Configures the popup of the SplitButton.
|
|
99
144
|
*
|
|
@@ -103,8 +148,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
103
148
|
* - `appendTo: "root" | "component" | ViewContainerRef`—Specifies the component to which the popup will be appended.
|
|
104
149
|
* - `align: "left" | "center" | "right"`—Specifies the alignment of the popup.
|
|
105
150
|
*/
|
|
106
|
-
|
|
107
|
-
get popupSettings(): PopupSettings;
|
|
151
|
+
popupSettings: PopupSettings;
|
|
108
152
|
/**
|
|
109
153
|
* Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
110
154
|
*/
|
|
@@ -118,8 +162,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
118
162
|
*
|
|
119
163
|
* > The data has to be provided in an array-like list.
|
|
120
164
|
*/
|
|
121
|
-
|
|
122
|
-
get data(): any;
|
|
165
|
+
data: any;
|
|
123
166
|
/**
|
|
124
167
|
* The CSS classes that will be rendered on the main button.
|
|
125
168
|
* Supports the type of values that are supported by [`ngClass`]({{ site.data.urls.angular['ngclassapi'] }}).
|
|
@@ -211,40 +254,38 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
211
254
|
arrowButton: ElementRef<HTMLButtonElement>;
|
|
212
255
|
popupTemplate: TemplateRef<any>;
|
|
213
256
|
containerRef: ViewContainerRef;
|
|
214
|
-
popupRef: PopupRef;
|
|
215
|
-
/**
|
|
216
|
-
* @hidden
|
|
217
|
-
*/
|
|
218
|
-
set openState(open: boolean);
|
|
219
257
|
/**
|
|
220
258
|
* @hidden
|
|
221
259
|
*/
|
|
222
|
-
|
|
260
|
+
activeArrow: boolean;
|
|
261
|
+
popupRef: PopupRef;
|
|
223
262
|
listId: string;
|
|
224
263
|
/**
|
|
225
264
|
* @hidden
|
|
226
265
|
*/
|
|
227
|
-
|
|
266
|
+
/**
|
|
267
|
+
* @hidden
|
|
268
|
+
*/
|
|
269
|
+
openState: boolean;
|
|
228
270
|
/**
|
|
229
271
|
* @hidden
|
|
230
272
|
*/
|
|
231
|
-
|
|
273
|
+
readonly active: boolean;
|
|
232
274
|
/**
|
|
233
275
|
* @hidden
|
|
234
276
|
*/
|
|
235
|
-
|
|
277
|
+
readonly componentTabIndex: number;
|
|
236
278
|
private buttonText;
|
|
237
279
|
private lockFocus;
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
get dir(): string;
|
|
280
|
+
private _rounded;
|
|
281
|
+
private _fillMode;
|
|
282
|
+
isFocused: boolean;
|
|
283
|
+
readonly widgetClasses: boolean;
|
|
284
|
+
readonly dir: string;
|
|
244
285
|
/**
|
|
245
286
|
* @hidden
|
|
246
287
|
*/
|
|
247
|
-
|
|
288
|
+
readonly ariaLabel: string;
|
|
248
289
|
/**
|
|
249
290
|
* @hidden
|
|
250
291
|
*/
|
|
@@ -300,11 +341,11 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
300
341
|
/**
|
|
301
342
|
* @hidden
|
|
302
343
|
*/
|
|
303
|
-
|
|
344
|
+
readonly anchorAlign: Align;
|
|
304
345
|
/**
|
|
305
346
|
* @hidden
|
|
306
347
|
*/
|
|
307
|
-
|
|
348
|
+
readonly popupAlign: Align;
|
|
308
349
|
/**
|
|
309
350
|
* Focuses the SplitButton component.
|
|
310
351
|
*/
|
|
@@ -313,7 +354,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
313
354
|
* Blurs the SplitButton component.
|
|
314
355
|
*/
|
|
315
356
|
blur(): void;
|
|
316
|
-
constructor(focusService: FocusService, navigationService: NavigationService, wrapperRef: ElementRef, zone: NgZone, popupService: PopupService, elRef: ElementRef, localization: LocalizationService, cdr: ChangeDetectorRef);
|
|
357
|
+
constructor(focusService: FocusService, navigationService: NavigationService, wrapperRef: ElementRef, zone: NgZone, popupService: PopupService, elRef: ElementRef, localization: LocalizationService, cdr: ChangeDetectorRef, renderer: Renderer2);
|
|
317
358
|
ngOnDestroy(): void;
|
|
318
359
|
/**
|
|
319
360
|
* Toggles the visibility of the popup.
|
|
@@ -325,13 +366,12 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
325
366
|
/**
|
|
326
367
|
* Returns the current open state of the popup.
|
|
327
368
|
*/
|
|
328
|
-
|
|
369
|
+
readonly isOpen: boolean;
|
|
329
370
|
protected enterHandler(): void;
|
|
330
371
|
private updateButtonText;
|
|
331
|
-
private
|
|
372
|
+
private readonly appendTo;
|
|
332
373
|
private _toggle;
|
|
333
374
|
private createPopup;
|
|
334
375
|
private destroyPopup;
|
|
335
|
-
|
|
336
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "kendo-splitbutton", ["kendoSplitButton"], { "text": "text"; "icon": "icon"; "iconClass": "iconClass"; "type": "type"; "imageUrl": "imageUrl"; "look": "look"; "disabled": "disabled"; "popupSettings": "popupSettings"; "tabIndex": "tabIndex"; "textField": "textField"; "data": "data"; "buttonClass": "buttonClass"; "arrowButtonClass": "arrowButtonClass"; "arrowButtonIcon": "arrowButtonIcon"; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["itemTemplate"], ["*"]>;
|
|
376
|
+
private handleClasses;
|
|
337
377
|
}
|