@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
|
@@ -2,13 +2,16 @@
|
|
|
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
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
6
|
+
import { AnimationBuilder } from '@angular/animations';
|
|
7
|
+
import { Component, ElementRef, EventEmitter, HostBinding, Input, Output, NgZone, Renderer2, ViewChild, ContentChild, TemplateRef } from '@angular/core';
|
|
6
8
|
import { merge, Subscription } from 'rxjs';
|
|
7
9
|
import { take } from 'rxjs/operators';
|
|
8
10
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
12
|
import { packageMetadata } from '../package-metadata';
|
|
11
13
|
import { guid, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
14
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
12
15
|
import { FocusService } from '../focusable/focus.service';
|
|
13
16
|
import { NavigationAction } from '../navigation/navigation-action';
|
|
14
17
|
import { NAVIGATION_CONFIG } from '../navigation/navigation-config';
|
|
@@ -19,21 +22,13 @@ import { closeAnimation, openAnimation } from './animations/animations';
|
|
|
19
22
|
import { PreventableEvent } from '../preventable-event';
|
|
20
23
|
import { DialItemTemplateDirective } from './templates/dial-item-template.directive';
|
|
21
24
|
import { FloatingActionButtonTemplateDirective } from './templates/fab-template.directive';
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
import * as i1 from "../focusable/focus.service";
|
|
24
|
-
import * as i2 from "../navigation/navigation.service";
|
|
25
|
-
import * as i3 from "@progress/kendo-angular-popup";
|
|
26
|
-
import * as i4 from "@angular/animations";
|
|
27
|
-
import * as i5 from "@progress/kendo-angular-l10n";
|
|
28
|
-
import * as i6 from "./dial-list.component";
|
|
29
|
-
import * as i7 from "@angular/common";
|
|
30
|
-
import * as i8 from "@progress/kendo-angular-common";
|
|
31
25
|
const NAVIGATION_SETTINGS = {
|
|
32
26
|
useLeftRightArrows: false
|
|
33
27
|
};
|
|
28
|
+
const ɵ0 = NAVIGATION_SETTINGS;
|
|
34
29
|
const NAVIGATION_SETTINGS_PROVIDER = {
|
|
35
30
|
provide: NAVIGATION_CONFIG,
|
|
36
|
-
useValue:
|
|
31
|
+
useValue: ɵ0
|
|
37
32
|
};
|
|
38
33
|
const SIZE_CLASSES = {
|
|
39
34
|
small: 'k-fab-sm',
|
|
@@ -41,12 +36,16 @@ const SIZE_CLASSES = {
|
|
|
41
36
|
large: 'k-fab-lg'
|
|
42
37
|
};
|
|
43
38
|
const SHAPE_CLASSES = {
|
|
44
|
-
pill: 'k-fab-pill',
|
|
45
|
-
circle: 'k-fab-circle',
|
|
46
39
|
rectangle: 'k-fab-rectangle',
|
|
47
|
-
square: 'k-fab-square'
|
|
48
|
-
rounded: 'k-fab-rounded'
|
|
40
|
+
square: 'k-fab-square'
|
|
49
41
|
};
|
|
42
|
+
const ROUNDED_CLASSES = {
|
|
43
|
+
small: 'k-rounded-sm',
|
|
44
|
+
medium: 'k-rounded-md',
|
|
45
|
+
large: 'k-rounded-lg',
|
|
46
|
+
full: 'k-rounded-full'
|
|
47
|
+
};
|
|
48
|
+
const FILLMODE_CLASS = 'k-fab-solid';
|
|
50
49
|
const DEFAULT_DURATION = 180;
|
|
51
50
|
const DEFAULT_ITEM_GAP = 90;
|
|
52
51
|
const DEFAULT_OFFSET = '16px';
|
|
@@ -56,7 +55,7 @@ const DEFAULT_OFFSET = '16px';
|
|
|
56
55
|
* Used to specify the primary or the most common action in an application.
|
|
57
56
|
*
|
|
58
57
|
*/
|
|
59
|
-
|
|
58
|
+
let FloatingActionButtonComponent = class FloatingActionButtonComponent {
|
|
60
59
|
constructor(renderer, element, focusService, navigationService, ngZone, popupService, builder, localizationService) {
|
|
61
60
|
this.renderer = renderer;
|
|
62
61
|
this.element = element;
|
|
@@ -126,13 +125,15 @@ export class FloatingActionButtonComponent {
|
|
|
126
125
|
this.id = `k-${guid()}`;
|
|
127
126
|
this._themeColor = 'primary';
|
|
128
127
|
this._size = 'medium';
|
|
129
|
-
this._shape = '
|
|
128
|
+
this._shape = 'rectangle';
|
|
130
129
|
this._disabled = false;
|
|
131
130
|
this._align = { horizontal: 'end', vertical: 'bottom' };
|
|
132
131
|
this._offset = { x: DEFAULT_OFFSET, y: DEFAULT_OFFSET };
|
|
132
|
+
this._rounded = 'full';
|
|
133
133
|
this.subscriptions = new Subscription();
|
|
134
134
|
this.rtl = false;
|
|
135
135
|
this.animationEnd = new EventEmitter();
|
|
136
|
+
this.initialSetup = true;
|
|
136
137
|
validatePackage(packageMetadata);
|
|
137
138
|
this.subscribeNavigationEvents();
|
|
138
139
|
this.subscriptions.add(this.localizationService.changes.subscribe(({ rtl }) => {
|
|
@@ -152,18 +153,16 @@ export class FloatingActionButtonComponent {
|
|
|
152
153
|
* The theme color will be applied as background color of the component.
|
|
153
154
|
*
|
|
154
155
|
* The possible values are:
|
|
155
|
-
* * `primary` (Default)—Applies coloring based on the `primary` theme color.
|
|
156
|
-
* * `secondary`—Applies coloring based on the `secondary` theme color.
|
|
157
|
-
* * `tertiary`— Applies coloring based on the `tertiary` theme color.
|
|
158
|
-
* * `
|
|
159
|
-
* * `
|
|
160
|
-
* * `
|
|
161
|
-
* * `
|
|
162
|
-
* * `
|
|
163
|
-
* * `
|
|
164
|
-
* * `
|
|
165
|
-
* * `inverse`— Applies coloring based on the `inverse` theme color.
|
|
166
|
-
*
|
|
156
|
+
* * `'primary'` (Default)—Applies coloring based on the `primary` theme color.
|
|
157
|
+
* * `'secondary'`—Applies coloring based on the `secondary` theme color.
|
|
158
|
+
* * `'tertiary'`— Applies coloring based on the `tertiary` theme color.
|
|
159
|
+
* * `'info'`—Applies coloring based on the `info` theme color.
|
|
160
|
+
* * `'success'`— Applies coloring based on the `success` theme color.
|
|
161
|
+
* * `'warning'`— Applies coloring based on the `warning` theme color.
|
|
162
|
+
* * `'error'`— Applies coloring based on the `error` theme color.
|
|
163
|
+
* * `'dark'`— Applies coloring based on the `dark` theme color.
|
|
164
|
+
* * `'light'`— Applies coloring based on the `light` theme color.
|
|
165
|
+
* * `'inverse'`— Applies coloring based on the `inverse` theme color.
|
|
167
166
|
*/
|
|
168
167
|
set themeColor(themeColor) {
|
|
169
168
|
this.handleClasses(themeColor, 'themeColor');
|
|
@@ -177,10 +176,9 @@ export class FloatingActionButtonComponent {
|
|
|
177
176
|
* ([see example]({% slug appearance_floatingactionbutton %}#toc-size)).
|
|
178
177
|
*
|
|
179
178
|
* The possible values are:
|
|
180
|
-
* * `small`
|
|
181
|
-
* * `medium` (Default)
|
|
182
|
-
* * `large`
|
|
183
|
-
*
|
|
179
|
+
* * `'small'`
|
|
180
|
+
* * `'medium'` (Default)
|
|
181
|
+
* * `'large'`
|
|
184
182
|
*/
|
|
185
183
|
set size(size) {
|
|
186
184
|
this.handleClasses(size, 'size');
|
|
@@ -189,15 +187,29 @@ export class FloatingActionButtonComponent {
|
|
|
189
187
|
get size() {
|
|
190
188
|
return this._size;
|
|
191
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* The rounded property specifies the border radius of the FloatingActionButton.
|
|
192
|
+
*
|
|
193
|
+
* The possible values are:
|
|
194
|
+
* * `'small'`
|
|
195
|
+
* * `'medium'`
|
|
196
|
+
* * `'large'`
|
|
197
|
+
* * `'full'` (default)
|
|
198
|
+
* * `null`
|
|
199
|
+
*/
|
|
200
|
+
set rounded(rounded) {
|
|
201
|
+
this.handleClasses(rounded, 'rounded');
|
|
202
|
+
this._rounded = rounded;
|
|
203
|
+
}
|
|
204
|
+
get rounded() {
|
|
205
|
+
return this._rounded;
|
|
206
|
+
}
|
|
192
207
|
/**
|
|
193
208
|
* Specifies the shape of the FloatingActionButton
|
|
194
209
|
* ([see example]({% slug appearance_floatingactionbutton %}#toc-shape)).
|
|
195
210
|
*
|
|
196
211
|
* The possible values are:
|
|
197
|
-
* * `
|
|
198
|
-
* * `circle`—Applies circle shape on the FloatingActionButton.
|
|
199
|
-
* * `rectangle`—Applies rectangular shape on the FloatingActionButton.
|
|
200
|
-
* * `rounded`—Applies rounded shape on the FloatingActionButton.
|
|
212
|
+
* * `rectangle` (Default)—Applies rectangular shape on the FloatingActionButton.
|
|
201
213
|
* * `square`—Applies square shape on the FloatingActionButton.
|
|
202
214
|
*
|
|
203
215
|
*/
|
|
@@ -255,8 +267,10 @@ export class FloatingActionButtonComponent {
|
|
|
255
267
|
return this.disabled ? (-1) : this.tabIndex;
|
|
256
268
|
}
|
|
257
269
|
ngAfterViewInit() {
|
|
258
|
-
this.
|
|
270
|
+
['shape', 'size', 'rounded', 'themeColor'].forEach(option => this.handleClasses(this[option], option));
|
|
271
|
+
this.renderer.addClass(this.element.nativeElement, this.alignClass());
|
|
259
272
|
this.offsetStyles();
|
|
273
|
+
this.initialSetup = false;
|
|
260
274
|
}
|
|
261
275
|
ngOnDestroy() {
|
|
262
276
|
this.subscriptions.unsubscribe();
|
|
@@ -398,20 +412,24 @@ export class FloatingActionButtonComponent {
|
|
|
398
412
|
this.toggleDialWithEvents(false);
|
|
399
413
|
}
|
|
400
414
|
handleClasses(inputValue, input) {
|
|
401
|
-
if (isPresent(this.button) && (this[input] !== inputValue)) {
|
|
415
|
+
if (isPresent(this.button) && (this[input] !== inputValue || this.initialSetup)) {
|
|
402
416
|
const button = this.button.nativeElement;
|
|
403
417
|
const classesToRemove = {
|
|
404
|
-
themeColor:
|
|
418
|
+
themeColor: `${FILLMODE_CLASS}-${this.themeColor}`,
|
|
405
419
|
size: SIZE_CLASSES[this.size],
|
|
406
|
-
shape: SHAPE_CLASSES[this.shape]
|
|
420
|
+
shape: SHAPE_CLASSES[this.shape],
|
|
421
|
+
rounded: ROUNDED_CLASSES[this.rounded]
|
|
407
422
|
};
|
|
408
423
|
const classesToAdd = {
|
|
409
|
-
themeColor:
|
|
424
|
+
themeColor: inputValue ? `${FILLMODE_CLASS}-${inputValue}` : null,
|
|
410
425
|
size: SIZE_CLASSES[inputValue],
|
|
411
|
-
shape: SHAPE_CLASSES[inputValue]
|
|
426
|
+
shape: SHAPE_CLASSES[inputValue],
|
|
427
|
+
rounded: ROUNDED_CLASSES[inputValue]
|
|
412
428
|
};
|
|
413
429
|
this.renderer.removeClass(button, classesToRemove[input]);
|
|
414
|
-
|
|
430
|
+
if (classesToAdd[input]) {
|
|
431
|
+
this.renderer.addClass(button, classesToAdd[input]);
|
|
432
|
+
}
|
|
415
433
|
}
|
|
416
434
|
}
|
|
417
435
|
onEnterPressed() {
|
|
@@ -466,14 +484,6 @@ export class FloatingActionButtonComponent {
|
|
|
466
484
|
alignClass() {
|
|
467
485
|
return `k-pos-${this.align.vertical}-${this.align.horizontal}`;
|
|
468
486
|
}
|
|
469
|
-
applyClasses() {
|
|
470
|
-
const hostElement = this.element.nativeElement;
|
|
471
|
-
const button = this.button.nativeElement;
|
|
472
|
-
this.renderer.addClass(button, SHAPE_CLASSES[this.shape]);
|
|
473
|
-
this.renderer.addClass(button, `k-fab-${this.themeColor}`);
|
|
474
|
-
this.renderer.addClass(button, SIZE_CLASSES[this.size]);
|
|
475
|
-
this.renderer.addClass(hostElement, this.alignClass());
|
|
476
|
-
}
|
|
477
487
|
toggleDialWithEvents(open) {
|
|
478
488
|
if (open === this.isOpen) {
|
|
479
489
|
return;
|
|
@@ -652,86 +662,150 @@ export class FloatingActionButtonComponent {
|
|
|
652
662
|
}
|
|
653
663
|
return DEFAULT_DURATION;
|
|
654
664
|
}
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
665
|
+
};
|
|
666
|
+
tslib_1.__decorate([
|
|
667
|
+
HostBinding('class.k-pos-fixed'),
|
|
668
|
+
tslib_1.__metadata("design:type", Boolean),
|
|
669
|
+
tslib_1.__metadata("design:paramtypes", [])
|
|
670
|
+
], FloatingActionButtonComponent.prototype, "fixedClass", null);
|
|
671
|
+
tslib_1.__decorate([
|
|
672
|
+
HostBinding('class.k-pos-absolute'),
|
|
673
|
+
tslib_1.__metadata("design:type", Boolean),
|
|
674
|
+
tslib_1.__metadata("design:paramtypes", [])
|
|
675
|
+
], FloatingActionButtonComponent.prototype, "absoluteClass", null);
|
|
676
|
+
tslib_1.__decorate([
|
|
677
|
+
HostBinding('attr.dir'),
|
|
678
|
+
tslib_1.__metadata("design:type", String)
|
|
679
|
+
], FloatingActionButtonComponent.prototype, "direction", void 0);
|
|
680
|
+
tslib_1.__decorate([
|
|
681
|
+
ViewChild('button', { static: true }),
|
|
682
|
+
tslib_1.__metadata("design:type", ElementRef)
|
|
683
|
+
], FloatingActionButtonComponent.prototype, "button", void 0);
|
|
684
|
+
tslib_1.__decorate([
|
|
685
|
+
ViewChild('popupTemplate', { static: true }),
|
|
686
|
+
tslib_1.__metadata("design:type", TemplateRef)
|
|
687
|
+
], FloatingActionButtonComponent.prototype, "popupTemplate", void 0);
|
|
688
|
+
tslib_1.__decorate([
|
|
689
|
+
ContentChild(DialItemTemplateDirective, { static: true }),
|
|
690
|
+
tslib_1.__metadata("design:type", DialItemTemplateDirective)
|
|
691
|
+
], FloatingActionButtonComponent.prototype, "dialItemTemplate", void 0);
|
|
692
|
+
tslib_1.__decorate([
|
|
693
|
+
ContentChild(FloatingActionButtonTemplateDirective, { static: true }),
|
|
694
|
+
tslib_1.__metadata("design:type", FloatingActionButtonTemplateDirective)
|
|
695
|
+
], FloatingActionButtonComponent.prototype, "fabTemplate", void 0);
|
|
696
|
+
tslib_1.__decorate([
|
|
697
|
+
Input(),
|
|
698
|
+
tslib_1.__metadata("design:type", String),
|
|
699
|
+
tslib_1.__metadata("design:paramtypes", [String])
|
|
700
|
+
], FloatingActionButtonComponent.prototype, "themeColor", null);
|
|
701
|
+
tslib_1.__decorate([
|
|
702
|
+
Input(),
|
|
703
|
+
tslib_1.__metadata("design:type", String),
|
|
704
|
+
tslib_1.__metadata("design:paramtypes", [String])
|
|
705
|
+
], FloatingActionButtonComponent.prototype, "size", null);
|
|
706
|
+
tslib_1.__decorate([
|
|
707
|
+
Input(),
|
|
708
|
+
tslib_1.__metadata("design:type", String),
|
|
709
|
+
tslib_1.__metadata("design:paramtypes", [String])
|
|
710
|
+
], FloatingActionButtonComponent.prototype, "rounded", null);
|
|
711
|
+
tslib_1.__decorate([
|
|
712
|
+
Input(),
|
|
713
|
+
tslib_1.__metadata("design:type", String),
|
|
714
|
+
tslib_1.__metadata("design:paramtypes", [String])
|
|
715
|
+
], FloatingActionButtonComponent.prototype, "shape", null);
|
|
716
|
+
tslib_1.__decorate([
|
|
717
|
+
Input(),
|
|
718
|
+
tslib_1.__metadata("design:type", Boolean),
|
|
719
|
+
tslib_1.__metadata("design:paramtypes", [Boolean])
|
|
720
|
+
], FloatingActionButtonComponent.prototype, "disabled", null);
|
|
721
|
+
tslib_1.__decorate([
|
|
722
|
+
Input(),
|
|
723
|
+
tslib_1.__metadata("design:type", Object),
|
|
724
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
725
|
+
], FloatingActionButtonComponent.prototype, "align", null);
|
|
726
|
+
tslib_1.__decorate([
|
|
727
|
+
Input(),
|
|
728
|
+
tslib_1.__metadata("design:type", Object),
|
|
729
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
730
|
+
], FloatingActionButtonComponent.prototype, "offset", null);
|
|
731
|
+
tslib_1.__decorate([
|
|
732
|
+
Input(),
|
|
733
|
+
tslib_1.__metadata("design:type", String)
|
|
734
|
+
], FloatingActionButtonComponent.prototype, "positionMode", void 0);
|
|
735
|
+
tslib_1.__decorate([
|
|
736
|
+
Input(),
|
|
737
|
+
tslib_1.__metadata("design:type", String)
|
|
738
|
+
], FloatingActionButtonComponent.prototype, "icon", void 0);
|
|
739
|
+
tslib_1.__decorate([
|
|
740
|
+
Input(),
|
|
741
|
+
tslib_1.__metadata("design:type", String)
|
|
742
|
+
], FloatingActionButtonComponent.prototype, "iconClass", void 0);
|
|
743
|
+
tslib_1.__decorate([
|
|
744
|
+
Input(),
|
|
745
|
+
tslib_1.__metadata("design:type", Object)
|
|
746
|
+
], FloatingActionButtonComponent.prototype, "buttonClass", void 0);
|
|
747
|
+
tslib_1.__decorate([
|
|
748
|
+
Input(),
|
|
749
|
+
tslib_1.__metadata("design:type", Object)
|
|
750
|
+
], FloatingActionButtonComponent.prototype, "dialClass", void 0);
|
|
751
|
+
tslib_1.__decorate([
|
|
752
|
+
Input(),
|
|
753
|
+
tslib_1.__metadata("design:type", String)
|
|
754
|
+
], FloatingActionButtonComponent.prototype, "text", void 0);
|
|
755
|
+
tslib_1.__decorate([
|
|
756
|
+
Input(),
|
|
757
|
+
tslib_1.__metadata("design:type", Object)
|
|
758
|
+
], FloatingActionButtonComponent.prototype, "dialItemAnimation", void 0);
|
|
759
|
+
tslib_1.__decorate([
|
|
760
|
+
Input(),
|
|
761
|
+
tslib_1.__metadata("design:type", Number)
|
|
762
|
+
], FloatingActionButtonComponent.prototype, "tabIndex", void 0);
|
|
763
|
+
tslib_1.__decorate([
|
|
764
|
+
Input(),
|
|
765
|
+
tslib_1.__metadata("design:type", Array)
|
|
766
|
+
], FloatingActionButtonComponent.prototype, "dialItems", void 0);
|
|
767
|
+
tslib_1.__decorate([
|
|
768
|
+
Output('blur'),
|
|
769
|
+
tslib_1.__metadata("design:type", EventEmitter)
|
|
770
|
+
], FloatingActionButtonComponent.prototype, "onBlur", void 0);
|
|
771
|
+
tslib_1.__decorate([
|
|
772
|
+
Output('focus'),
|
|
773
|
+
tslib_1.__metadata("design:type", EventEmitter)
|
|
774
|
+
], FloatingActionButtonComponent.prototype, "onFocus", void 0);
|
|
775
|
+
tslib_1.__decorate([
|
|
776
|
+
Output('dialItemClick'),
|
|
777
|
+
tslib_1.__metadata("design:type", EventEmitter)
|
|
778
|
+
], FloatingActionButtonComponent.prototype, "dialItemClick", void 0);
|
|
779
|
+
tslib_1.__decorate([
|
|
780
|
+
Output(),
|
|
781
|
+
tslib_1.__metadata("design:type", EventEmitter)
|
|
782
|
+
], FloatingActionButtonComponent.prototype, "open", void 0);
|
|
783
|
+
tslib_1.__decorate([
|
|
784
|
+
Output(),
|
|
785
|
+
tslib_1.__metadata("design:type", EventEmitter)
|
|
786
|
+
], FloatingActionButtonComponent.prototype, "close", void 0);
|
|
787
|
+
FloatingActionButtonComponent = tslib_1.__decorate([
|
|
788
|
+
Component({
|
|
789
|
+
selector: 'kendo-floatingactionbutton',
|
|
790
|
+
providers: [
|
|
791
|
+
FocusService,
|
|
792
|
+
NavigationService,
|
|
793
|
+
NAVIGATION_SETTINGS_PROVIDER,
|
|
794
|
+
LocalizationService,
|
|
795
|
+
{
|
|
796
|
+
provide: L10N_PREFIX,
|
|
797
|
+
useValue: 'kendo.floatingactionbutton'
|
|
798
|
+
}
|
|
799
|
+
],
|
|
800
|
+
template: `
|
|
727
801
|
<button
|
|
728
802
|
#button
|
|
729
803
|
[attr.id]="id"
|
|
730
804
|
[attr.role]="role"
|
|
731
805
|
[tabIndex]="componentTabIndex"
|
|
732
806
|
type="button"
|
|
733
|
-
|
|
734
|
-
[class.k-
|
|
807
|
+
class="k-fab k-fab-solid"
|
|
808
|
+
[class.k-disabled]="disabled"
|
|
735
809
|
[ngClass]="buttonClass"
|
|
736
810
|
[disabled]="disabled"
|
|
737
811
|
[attr.aria-disabled]="disabled"
|
|
@@ -769,69 +843,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
769
843
|
</ul>
|
|
770
844
|
</ng-template>
|
|
771
845
|
`
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
args: ['button', { static: true }]
|
|
785
|
-
}], popupTemplate: [{
|
|
786
|
-
type: ViewChild,
|
|
787
|
-
args: ['popupTemplate', { static: true }]
|
|
788
|
-
}], dialItemTemplate: [{
|
|
789
|
-
type: ContentChild,
|
|
790
|
-
args: [DialItemTemplateDirective, { static: true }]
|
|
791
|
-
}], fabTemplate: [{
|
|
792
|
-
type: ContentChild,
|
|
793
|
-
args: [FloatingActionButtonTemplateDirective, { static: true }]
|
|
794
|
-
}], themeColor: [{
|
|
795
|
-
type: Input
|
|
796
|
-
}], size: [{
|
|
797
|
-
type: Input
|
|
798
|
-
}], shape: [{
|
|
799
|
-
type: Input
|
|
800
|
-
}], disabled: [{
|
|
801
|
-
type: Input
|
|
802
|
-
}], align: [{
|
|
803
|
-
type: Input
|
|
804
|
-
}], offset: [{
|
|
805
|
-
type: Input
|
|
806
|
-
}], positionMode: [{
|
|
807
|
-
type: Input
|
|
808
|
-
}], icon: [{
|
|
809
|
-
type: Input
|
|
810
|
-
}], iconClass: [{
|
|
811
|
-
type: Input
|
|
812
|
-
}], buttonClass: [{
|
|
813
|
-
type: Input
|
|
814
|
-
}], dialClass: [{
|
|
815
|
-
type: Input
|
|
816
|
-
}], text: [{
|
|
817
|
-
type: Input
|
|
818
|
-
}], dialItemAnimation: [{
|
|
819
|
-
type: Input
|
|
820
|
-
}], tabIndex: [{
|
|
821
|
-
type: Input
|
|
822
|
-
}], dialItems: [{
|
|
823
|
-
type: Input
|
|
824
|
-
}], onBlur: [{
|
|
825
|
-
type: Output,
|
|
826
|
-
args: ['blur']
|
|
827
|
-
}], onFocus: [{
|
|
828
|
-
type: Output,
|
|
829
|
-
args: ['focus']
|
|
830
|
-
}], dialItemClick: [{
|
|
831
|
-
type: Output,
|
|
832
|
-
args: ['dialItemClick']
|
|
833
|
-
}], open: [{
|
|
834
|
-
type: Output
|
|
835
|
-
}], close: [{
|
|
836
|
-
type: Output
|
|
837
|
-
}] } });
|
|
846
|
+
}),
|
|
847
|
+
tslib_1.__metadata("design:paramtypes", [Renderer2,
|
|
848
|
+
ElementRef,
|
|
849
|
+
FocusService,
|
|
850
|
+
NavigationService,
|
|
851
|
+
NgZone,
|
|
852
|
+
PopupService,
|
|
853
|
+
AnimationBuilder,
|
|
854
|
+
LocalizationService])
|
|
855
|
+
], FloatingActionButtonComponent);
|
|
856
|
+
export { FloatingActionButtonComponent };
|
|
857
|
+
export { ɵ0 };
|
package/{floatingactionbutton → dist/es2015/floatingactionbutton}/floatingactionbutton.module.d.ts
RENAMED
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./floatingactionbutton.component";
|
|
7
|
-
import * as i2 from "./templates/dial-item-template.directive";
|
|
8
|
-
import * as i3 from "./templates/fab-template.directive";
|
|
9
|
-
import * as i4 from "./dial-list.component";
|
|
10
|
-
import * as i5 from "./dial-item.component";
|
|
11
|
-
import * as i6 from "@angular/common";
|
|
12
|
-
import * as i7 from "@progress/kendo-angular-popup";
|
|
13
|
-
import * as i8 from "../listbutton/list.module";
|
|
14
|
-
import * as i9 from "@progress/kendo-angular-common";
|
|
15
5
|
/**
|
|
16
6
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
17
7
|
* definition for the FloatingActionButton component.
|
|
@@ -41,7 +31,4 @@ import * as i9 from "@progress/kendo-angular-common";
|
|
|
41
31
|
* ```
|
|
42
32
|
*/
|
|
43
33
|
export declare class FloatingActionButtonModule {
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonModule, never>;
|
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FloatingActionButtonModule, [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective, typeof i4.DialListComponent, typeof i5.DialItemComponent], [typeof i6.CommonModule, typeof i7.PopupModule, typeof i8.ListModule, typeof i9.EventsModule], [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective]>;
|
|
46
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FloatingActionButtonModule>;
|
|
47
34
|
}
|
|
@@ -2,6 +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 * as tslib_1 from "tslib";
|
|
5
6
|
import { NgModule } from '@angular/core';
|
|
6
7
|
import { CommonModule } from '@angular/common';
|
|
7
8
|
import { FloatingActionButtonComponent } from './floatingactionbutton.component';
|
|
@@ -12,7 +13,6 @@ import { DialItemComponent } from './dial-item.component';
|
|
|
12
13
|
import { ListModule } from '../listbutton/list.module';
|
|
13
14
|
import { EventsModule } from '@progress/kendo-angular-common';
|
|
14
15
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
16
|
const exportedModules = [
|
|
17
17
|
FloatingActionButtonComponent,
|
|
18
18
|
DialItemTemplateDirective,
|
|
@@ -51,21 +51,13 @@ const declarations = [
|
|
|
51
51
|
*
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
FloatingActionButtonModule
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FloatingActionButtonModule, decorators: [{
|
|
65
|
-
type: NgModule,
|
|
66
|
-
args: [{
|
|
67
|
-
declarations: [declarations],
|
|
68
|
-
exports: [exportedModules],
|
|
69
|
-
imports: [CommonModule, PopupModule, ListModule, EventsModule]
|
|
70
|
-
}]
|
|
71
|
-
}] });
|
|
54
|
+
let FloatingActionButtonModule = class FloatingActionButtonModule {
|
|
55
|
+
};
|
|
56
|
+
FloatingActionButtonModule = tslib_1.__decorate([
|
|
57
|
+
NgModule({
|
|
58
|
+
declarations: [declarations],
|
|
59
|
+
exports: [exportedModules],
|
|
60
|
+
imports: [CommonModule, PopupModule, ListModule, EventsModule]
|
|
61
|
+
})
|
|
62
|
+
], FloatingActionButtonModule);
|
|
63
|
+
export { FloatingActionButtonModule };
|
|
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
|
+
*-------------------------------------------------------------------------------------------*/
|
|
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
|
+
*-------------------------------------------------------------------------------------------*/
|
package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/item-click.event.d.ts
RENAMED
|
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
|
+
*-------------------------------------------------------------------------------------------*/
|
package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/item.interface.d.ts
RENAMED
|
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
|
+
*-------------------------------------------------------------------------------------------*/
|
|
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
|
+
*-------------------------------------------------------------------------------------------*/
|
|
File without changes
|