@progress/kendo-angular-buttons 7.0.6 → 8.0.0-dev.202204190655
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 +64 -62
- 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 +14 -11
- 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 +8 -4
- package/{dist/es2015/chip → chip}/chip-remove-event-args.interface.d.ts +0 -0
- package/{dist/es2015/chip → chip}/chip.component.d.ts +39 -33
- 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 +2 -2
- package/{dist/es2015/common → common}/models/rounded.d.ts +2 -2
- package/{dist/es2015/common → common}/models/size.d.ts +3 -3
- package/{dist/es2015/common → common}/models/styling-classes.d.ts +0 -0
- package/{dist/es2015/common → common}/models/theme-color.d.ts +3 -3
- package/{dist/es2015/common → common}/models.d.ts +0 -1
- package/{dist/es2015/direction.d.ts → direction.d.ts} +0 -0
- package/{dist/es2015/dropdownbutton → dropdownbutton}/dropdownbutton.component.d.ts +37 -38
- package/dropdownbutton/dropdownbutton.module.d.ts +23 -0
- package/{dist/es2015 → esm2015}/button/button.directive.js +145 -215
- 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 +88 -111
- 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 +62 -73
- package/{dist/es2015 → esm2015}/chip/chip-remove-event-args.interface.js +1 -0
- package/{dist/es2015 → esm2015}/chip/chip.component.js +171 -167
- 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/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 +5 -0
- package/{dist/es → esm2015}/direction.js +1 -0
- package/{dist/es2015 → esm2015}/dropdownbutton/dropdownbutton.component.js +185 -214
- 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 +127 -0
- package/esm2015/floatingactionbutton/dial-list.component.js +90 -0
- package/{dist/es2015 → esm2015}/floatingactionbutton/floatingactionbutton.component.js +205 -210
- 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 +20 -27
- 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 +12 -12
- package/{dist/es2015 → esm2015}/listbutton/list-button.js +30 -37
- package/{dist/es → esm2015}/listbutton/list-item-model.js +1 -0
- package/esm2015/listbutton/list.component.js +140 -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 +34 -0
- package/{dist/es2015 → esm2015}/main.js +7 -0
- package/{dist/es → esm2015}/navigation/key-events.js +0 -0
- package/{dist/es2015 → esm2015}/navigation/navigation-action.js +1 -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 +23 -0
- package/{dist/es2015 → esm2015}/splitbutton/splitbutton.component.js +221 -209
- package/esm2015/splitbutton/splitbutton.module.js +34 -0
- package/{dist/es2015 → esm2015}/util.js +7 -7
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-buttons.js} +1885 -1941
- 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 +50 -51
- 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 +4 -2
- package/{dist/es2015/common/models/shape.d.ts → kendo-angular-buttons.d.ts} +3 -3
- package/{dist/es2015/listbutton → listbutton}/button-item-template.directive.d.ts +3 -0
- package/{dist/es2015/listbutton → listbutton}/list-button.d.ts +7 -13
- 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} +7 -1
- 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 +38 -113
- 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 +39 -27
- 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 -775
- 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/common/models/shape.js +0 -4
- package/dist/es/dropdownbutton/dropdownbutton.component.js +0 -704
- 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/main.js +0 -22
- package/dist/es/navigation/navigation-action.js +0 -19
- 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 -830
- package/dist/es/splitbutton/splitbutton.module.js +0 -34
- package/dist/es/util.js +0 -108
- 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 -115
- 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/navigation/key-events.js +0 -13
- 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 -5577
- package/dist/npm/button/button.directive.js +0 -777
- 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 -706
- 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 -832
- package/dist/npm/splitbutton/splitbutton.module.js +0 -36
- package/dist/npm/util.js +0 -111
- package/dist/systemjs/kendo-angular-buttons.js +0 -5
|
@@ -1,67 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
var common_1 = require("@angular/common");
|
|
10
|
-
var floatingactionbutton_component_1 = require("./floatingactionbutton.component");
|
|
11
|
-
var dial_item_template_directive_1 = require("./templates/dial-item-template.directive");
|
|
12
|
-
var fab_template_directive_1 = require("./templates/fab-template.directive");
|
|
13
|
-
var dial_list_component_1 = require("./dial-list.component");
|
|
14
|
-
var dial_item_component_1 = require("./dial-item.component");
|
|
15
|
-
var list_module_1 = require("../listbutton/list.module");
|
|
16
|
-
var kendo_angular_common_1 = require("@progress/kendo-angular-common");
|
|
17
|
-
var kendo_angular_popup_1 = require("@progress/kendo-angular-popup");
|
|
18
|
-
var exportedModules = [
|
|
19
|
-
floatingactionbutton_component_1.FloatingActionButtonComponent,
|
|
20
|
-
dial_item_template_directive_1.DialItemTemplateDirective,
|
|
21
|
-
fab_template_directive_1.FloatingActionButtonTemplateDirective
|
|
22
|
-
];
|
|
23
|
-
var declarations = exportedModules.concat([
|
|
24
|
-
dial_list_component_1.DialListComponent,
|
|
25
|
-
dial_item_component_1.DialItemComponent
|
|
26
|
-
]);
|
|
27
|
-
/**
|
|
28
|
-
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
29
|
-
* definition for the FloatingActionButton component.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
*
|
|
33
|
-
* ```ts-no-run
|
|
34
|
-
* // Import the FloatingActionButton module
|
|
35
|
-
* import { FloatingActionButtonModule } from '@progress/kendo-angular-buttons';
|
|
36
|
-
*
|
|
37
|
-
* // The browser platform with a compiler
|
|
38
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
39
|
-
*
|
|
40
|
-
* import { NgModule } from '@angular/core';
|
|
41
|
-
*
|
|
42
|
-
* // Import the app component
|
|
43
|
-
* import { AppComponent } from './app.component';
|
|
44
|
-
*
|
|
45
|
-
* // Define the app module
|
|
46
|
-
* _@NgModule({
|
|
47
|
-
* declarations: [AppComponent], // declare app component
|
|
48
|
-
* imports: [BrowserModule, FloatingActionButtonModule], // import FloatingActionButton module
|
|
49
|
-
* bootstrap: [AppComponent]
|
|
50
|
-
* })
|
|
51
|
-
* export class AppModule {}
|
|
52
|
-
*
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
var FloatingActionButtonModule = /** @class */ (function () {
|
|
56
|
-
function FloatingActionButtonModule() {
|
|
57
|
-
}
|
|
58
|
-
FloatingActionButtonModule = tslib_1.__decorate([
|
|
59
|
-
core_1.NgModule({
|
|
60
|
-
declarations: [declarations],
|
|
61
|
-
exports: [exportedModules],
|
|
62
|
-
imports: [common_1.CommonModule, kendo_angular_popup_1.PopupModule, list_module_1.ListModule, kendo_angular_common_1.EventsModule]
|
|
63
|
-
})
|
|
64
|
-
], FloatingActionButtonModule);
|
|
65
|
-
return FloatingActionButtonModule;
|
|
66
|
-
}());
|
|
67
|
-
exports.FloatingActionButtonModule = FloatingActionButtonModule;
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
/**
|
|
10
|
-
* Represents a template that defines the content of the whole dial item.
|
|
11
|
-
* To define the template, nest an `<ng-template>` tag
|
|
12
|
-
* with the `kendoDialItemTemplate` directive inside the `<kendo-floatingactionbutton>` tag
|
|
13
|
-
* ([see example]({% slug templates_floatingactionbutton %}#toc-dial-item-template)).
|
|
14
|
-
*/
|
|
15
|
-
var DialItemTemplateDirective = /** @class */ (function () {
|
|
16
|
-
function DialItemTemplateDirective(templateRef) {
|
|
17
|
-
this.templateRef = templateRef;
|
|
18
|
-
}
|
|
19
|
-
DialItemTemplateDirective = tslib_1.__decorate([
|
|
20
|
-
core_1.Directive({
|
|
21
|
-
selector: '[kendoDialItemTemplate]'
|
|
22
|
-
}),
|
|
23
|
-
tslib_1.__param(0, core_1.Optional()),
|
|
24
|
-
tslib_1.__metadata("design:paramtypes", [core_1.TemplateRef])
|
|
25
|
-
], DialItemTemplateDirective);
|
|
26
|
-
return DialItemTemplateDirective;
|
|
27
|
-
}());
|
|
28
|
-
exports.DialItemTemplateDirective = DialItemTemplateDirective;
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
/**
|
|
10
|
-
* Represents a template that defines the content of the FloatingActionButton.
|
|
11
|
-
* To define the template, nest an `<ng-template>` tag
|
|
12
|
-
* with the `kendoFloatingActionButtonTemplate` directive inside the `<kendo-floatingactionbutton>` tag
|
|
13
|
-
* ([see example]({% slug templates_floatingactionbutton %}#toc-floatingactionbutton-template)).
|
|
14
|
-
*/
|
|
15
|
-
var FloatingActionButtonTemplateDirective = /** @class */ (function () {
|
|
16
|
-
function FloatingActionButtonTemplateDirective(templateRef) {
|
|
17
|
-
this.templateRef = templateRef;
|
|
18
|
-
}
|
|
19
|
-
FloatingActionButtonTemplateDirective = tslib_1.__decorate([
|
|
20
|
-
core_1.Directive({
|
|
21
|
-
selector: '[kendoFloatingActionButtonTemplate]'
|
|
22
|
-
}),
|
|
23
|
-
tslib_1.__param(0, core_1.Optional()),
|
|
24
|
-
tslib_1.__metadata("design:paramtypes", [core_1.TemplateRef])
|
|
25
|
-
], FloatingActionButtonTemplateDirective);
|
|
26
|
-
return FloatingActionButtonTemplateDirective;
|
|
27
|
-
}());
|
|
28
|
-
exports.FloatingActionButtonTemplateDirective = FloatingActionButtonTemplateDirective;
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
function getAnchorAlign(fabAlign, rtl) {
|
|
11
|
-
var align = { horizontal: (rtl ? 'right' : 'left'), vertical: 'bottom' };
|
|
12
|
-
if (fabAlign.horizontal === 'end') {
|
|
13
|
-
align.horizontal = rtl ? 'left' : 'right';
|
|
14
|
-
}
|
|
15
|
-
if (fabAlign.vertical === 'bottom') {
|
|
16
|
-
align.vertical = 'top';
|
|
17
|
-
}
|
|
18
|
-
if (fabAlign.vertical === 'bottom' && fabAlign.horizontal === 'end') {
|
|
19
|
-
align.horizontal = rtl ? 'left' : 'right';
|
|
20
|
-
align.vertical = 'top';
|
|
21
|
-
}
|
|
22
|
-
return align;
|
|
23
|
-
}
|
|
24
|
-
exports.getAnchorAlign = getAnchorAlign;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
function getPopupAlign(fabAlign, rtl) {
|
|
29
|
-
var align = { horizontal: (rtl ? 'right' : 'left'), vertical: 'top' };
|
|
30
|
-
if (fabAlign.horizontal === 'end') {
|
|
31
|
-
align.horizontal = rtl ? 'left' : 'right';
|
|
32
|
-
}
|
|
33
|
-
if (fabAlign.vertical === 'bottom') {
|
|
34
|
-
align.vertical = 'bottom';
|
|
35
|
-
}
|
|
36
|
-
if (fabAlign.vertical === 'bottom' && fabAlign.horizontal === 'end') {
|
|
37
|
-
align.horizontal = rtl ? 'left' : 'right';
|
|
38
|
-
align.vertical = 'bottom';
|
|
39
|
-
}
|
|
40
|
-
return align;
|
|
41
|
-
}
|
|
42
|
-
exports.getPopupAlign = getPopupAlign;
|
|
@@ -1,45 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
var FocusService = /** @class */ (function () {
|
|
13
|
-
function FocusService() {
|
|
14
|
-
this.onFocus = new core_1.EventEmitter();
|
|
15
|
-
}
|
|
16
|
-
FocusService.prototype.isFocused = function (index) {
|
|
17
|
-
return index === this.focused;
|
|
18
|
-
};
|
|
19
|
-
FocusService.prototype.focus = function (index) {
|
|
20
|
-
if (this.isFocused(index)) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
this.focused = index;
|
|
24
|
-
this.onFocus.emit(index);
|
|
25
|
-
};
|
|
26
|
-
FocusService.prototype.resetFocus = function () {
|
|
27
|
-
this.focused = -1;
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(FocusService.prototype, "focused", {
|
|
30
|
-
get: function () {
|
|
31
|
-
return this.focusedIndex;
|
|
32
|
-
},
|
|
33
|
-
set: function (index) {
|
|
34
|
-
this.focusedIndex = index;
|
|
35
|
-
this.onFocus.emit(index);
|
|
36
|
-
},
|
|
37
|
-
enumerable: true,
|
|
38
|
-
configurable: true
|
|
39
|
-
});
|
|
40
|
-
FocusService = tslib_1.__decorate([
|
|
41
|
-
core_1.Injectable()
|
|
42
|
-
], FocusService);
|
|
43
|
-
return FocusService;
|
|
44
|
-
}());
|
|
45
|
-
exports.FocusService = FocusService;
|
|
@@ -1,70 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
var focus_service_1 = require("./focus.service");
|
|
10
|
-
var kendo_angular_common_1 = require("@progress/kendo-angular-common");
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
var FocusableDirective = /** @class */ (function () {
|
|
15
|
-
function FocusableDirective(focusService, elementRef, renderer) {
|
|
16
|
-
this.focusService = focusService;
|
|
17
|
-
this.renderer = renderer;
|
|
18
|
-
this.element = elementRef.nativeElement;
|
|
19
|
-
this.subscribeEvents();
|
|
20
|
-
}
|
|
21
|
-
FocusableDirective.prototype.ngOnInit = function () {
|
|
22
|
-
if (this.index === this.focusService.focused) {
|
|
23
|
-
this.renderer.addClass(this.element, 'k-focus');
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
this.renderer.removeClass(this.element, 'k-focus');
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
FocusableDirective.prototype.ngOnDestroy = function () {
|
|
33
|
-
this.unsubscribeEvents();
|
|
34
|
-
};
|
|
35
|
-
FocusableDirective.prototype.subscribeEvents = function () {
|
|
36
|
-
var _this = this;
|
|
37
|
-
if (!kendo_angular_common_1.isDocumentAvailable()) {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
this.focusSubscription = this.focusService.onFocus.subscribe(function (index) {
|
|
41
|
-
if (_this.index === index) {
|
|
42
|
-
_this.renderer.addClass(_this.element, 'k-focus');
|
|
43
|
-
_this.element.focus();
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
_this.renderer.removeClass(_this.element, 'k-focus');
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
};
|
|
50
|
-
FocusableDirective.prototype.unsubscribeEvents = function () {
|
|
51
|
-
if (!kendo_angular_common_1.isDocumentAvailable()) {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
if (this.focusSubscription) {
|
|
55
|
-
this.focusSubscription.unsubscribe();
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
tslib_1.__decorate([
|
|
59
|
-
core_1.Input(),
|
|
60
|
-
tslib_1.__metadata("design:type", Number)
|
|
61
|
-
], FocusableDirective.prototype, "index", void 0);
|
|
62
|
-
FocusableDirective = tslib_1.__decorate([
|
|
63
|
-
core_1.Directive({
|
|
64
|
-
selector: '[kendoButtonFocusable]'
|
|
65
|
-
}),
|
|
66
|
-
tslib_1.__metadata("design:paramtypes", [focus_service_1.FocusService, core_1.ElementRef, core_1.Renderer2])
|
|
67
|
-
], FocusableDirective);
|
|
68
|
-
return FocusableDirective;
|
|
69
|
-
}());
|
|
70
|
-
exports.FocusableDirective = FocusableDirective;
|
package/dist/npm/index.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
/**
|
|
7
|
-
* Generated bundle index. Do not edit.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var tslib_1 = require("tslib");
|
|
11
|
-
tslib_1.__exportStar(require("./main"), exports);
|
|
12
|
-
var button_service_1 = require("./button/button.service");
|
|
13
|
-
exports.KendoButtonService = button_service_1.KendoButtonService
|
|
14
|
-
var dial_item_component_1 = require("./floatingactionbutton/dial-item.component");
|
|
15
|
-
exports.DialItemComponent = dial_item_component_1.DialItemComponent
|
|
16
|
-
var dial_list_component_1 = require("./floatingactionbutton/dial-list.component");
|
|
17
|
-
exports.DialListComponent = dial_list_component_1.DialListComponent
|
|
18
|
-
var focus_service_1 = require("./focusable/focus.service");
|
|
19
|
-
exports.FocusService = focus_service_1.FocusService
|
|
20
|
-
var focusable_directive_1 = require("./focusable/focusable.directive");
|
|
21
|
-
exports.FocusableDirective = focusable_directive_1.FocusableDirective
|
|
22
|
-
var button_item_template_directive_1 = require("./listbutton/button-item-template.directive");
|
|
23
|
-
exports.ButtonItemTemplateDirective = button_item_template_directive_1.ButtonItemTemplateDirective
|
|
24
|
-
var list_button_1 = require("./listbutton/list-button");
|
|
25
|
-
exports.ListButton = list_button_1.ListButton
|
|
26
|
-
var list_component_1 = require("./listbutton/list.component");
|
|
27
|
-
exports.ListComponent = list_component_1.ListComponent
|
|
28
|
-
var list_module_1 = require("./listbutton/list.module");
|
|
29
|
-
exports.ListModule = list_module_1.ListModule
|
|
30
|
-
var template_context_directive_1 = require("./listbutton/template-context.directive");
|
|
31
|
-
exports.TemplateContextDirective = template_context_directive_1.TemplateContextDirective
|
|
32
|
-
var navigation_config_1 = require("./navigation/navigation-config");
|
|
33
|
-
exports.NAVIGATION_CONFIG = navigation_config_1.NAVIGATION_CONFIG
|
|
34
|
-
var navigation_service_1 = require("./navigation/navigation.service");
|
|
35
|
-
exports.NavigationService = navigation_service_1.NavigationService
|
|
36
|
-
var localized_messages_directive_1 = require("./splitbutton/localization/localized-messages.directive");
|
|
37
|
-
exports.LocalizedSplitButtonMessagesDirective = localized_messages_directive_1.LocalizedSplitButtonMessagesDirective
|
|
38
|
-
var messages_1 = require("./splitbutton/localization/messages");
|
|
39
|
-
exports.Messages = messages_1.Messages
|
|
@@ -1,70 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
/* tslint:disable:directive-selector-name */
|
|
9
|
-
var core_1 = require("@angular/core");
|
|
10
|
-
/**
|
|
11
|
-
* Used for rendering the list item content.
|
|
12
|
-
*
|
|
13
|
-
* To define the item template, nest a `<ng-template>` tag with the `kendo<ComponentName>ItemTemplate` directive inside the component tag.
|
|
14
|
-
*
|
|
15
|
-
* For the DropDownButton, use the `kendoDropDownButtonItemTemplate` directive.
|
|
16
|
-
* For the SplitButton, use the `kendoSplitButtonItemTemplate` directive.
|
|
17
|
-
*
|
|
18
|
-
* The template context is set to the current component. To get a reference to the current data item, use the `let-dataItem` directive.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```ts
|
|
22
|
-
* _@Component({
|
|
23
|
-
* selector: 'my-app',
|
|
24
|
-
* template: `
|
|
25
|
-
* <kendo-splitbutton [data]="listItems">
|
|
26
|
-
* <ng-template kendoSplitButtonItemTemplate let-dataItem>
|
|
27
|
-
* <span>{{dataItem}} option</span>
|
|
28
|
-
* </ng-template>
|
|
29
|
-
* </kendo-splitbutton>
|
|
30
|
-
* <kendo-dropdownbutton [data]="listItems">
|
|
31
|
-
* <ng-template kendoDropDownButtonItemTemplate let-dataItem>
|
|
32
|
-
* <span>{{dataItem}} option</span>
|
|
33
|
-
* </ng-template>
|
|
34
|
-
* </kendo-dropdownbutton>
|
|
35
|
-
* `
|
|
36
|
-
* })
|
|
37
|
-
* class AppComponent {
|
|
38
|
-
* public listItems: Array<any> = [{
|
|
39
|
-
* text: 'item1',
|
|
40
|
-
* icon: 'refresh',
|
|
41
|
-
* disabled: false,
|
|
42
|
-
* click: (dataItem: any) => {
|
|
43
|
-
* //action
|
|
44
|
-
* }
|
|
45
|
-
* }, {
|
|
46
|
-
* text: 'item2',
|
|
47
|
-
* icon: 'refresh',
|
|
48
|
-
* disabled: false,
|
|
49
|
-
* click: (dataItem: any) => {
|
|
50
|
-
* //action
|
|
51
|
-
* }
|
|
52
|
-
* }]
|
|
53
|
-
* }
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* For more examples, refer to the article on the [DropDownList templates]({% slug overview_ddl %}#templates).
|
|
57
|
-
*/
|
|
58
|
-
var ButtonItemTemplateDirective = /** @class */ (function () {
|
|
59
|
-
function ButtonItemTemplateDirective(templateRef) {
|
|
60
|
-
this.templateRef = templateRef;
|
|
61
|
-
}
|
|
62
|
-
ButtonItemTemplateDirective = tslib_1.__decorate([
|
|
63
|
-
core_1.Directive({
|
|
64
|
-
selector: '[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]'
|
|
65
|
-
}),
|
|
66
|
-
tslib_1.__metadata("design:paramtypes", [core_1.TemplateRef])
|
|
67
|
-
], ButtonItemTemplateDirective);
|
|
68
|
-
return ButtonItemTemplateDirective;
|
|
69
|
-
}());
|
|
70
|
-
exports.ButtonItemTemplateDirective = ButtonItemTemplateDirective;
|