@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
|
@@ -2,29 +2,33 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import
|
|
6
|
-
/* tslint:disable:no-access-missing-member */
|
|
7
|
-
import { Component, ContentChild, TemplateRef, ViewChild, ViewContainerRef, ElementRef, EventEmitter, HostBinding, HostListener, Input, Output, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
5
|
+
import { Component, ContentChild, ViewChild, ViewContainerRef, EventEmitter, HostBinding, HostListener, Input, Output } from '@angular/core';
|
|
8
6
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
10
7
|
import { isDocumentAvailable, guid, Keys, isChanged } from '@progress/kendo-angular-common';
|
|
11
8
|
import { ButtonItemTemplateDirective } from '../listbutton/button-item-template.directive';
|
|
12
9
|
import { isPresent, tick } from '../util';
|
|
13
10
|
import { ListButton } from '../listbutton/list-button';
|
|
14
|
-
import { ListComponent } from '../listbutton/list.component';
|
|
15
11
|
import { FocusService } from '../focusable/focus.service';
|
|
16
12
|
import { NavigationService } from '../navigation/navigation.service';
|
|
17
13
|
import { NAVIGATION_CONFIG } from '../navigation/navigation-config';
|
|
18
14
|
import { PreventableEvent } from '../preventable-event';
|
|
19
|
-
import { merge } from 'rxjs';
|
|
15
|
+
import { merge, Subscription } from 'rxjs';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
import * as i1 from "../focusable/focus.service";
|
|
18
|
+
import * as i2 from "../navigation/navigation.service";
|
|
19
|
+
import * as i3 from "@progress/kendo-angular-popup";
|
|
20
|
+
import * as i4 from "@progress/kendo-angular-l10n";
|
|
21
|
+
import * as i5 from "../listbutton/list.component";
|
|
22
|
+
import * as i6 from "../button/button.directive";
|
|
23
|
+
import * as i7 from "@angular/common";
|
|
20
24
|
const NAVIGATION_SETTINGS = {
|
|
21
25
|
useLeftRightArrows: true
|
|
22
26
|
};
|
|
23
|
-
const ɵ0 = NAVIGATION_SETTINGS;
|
|
24
27
|
const NAVIGATION_SETTINGS_PROVIDER = {
|
|
25
28
|
provide: NAVIGATION_CONFIG,
|
|
26
|
-
useValue:
|
|
29
|
+
useValue: NAVIGATION_SETTINGS
|
|
27
30
|
};
|
|
31
|
+
const DEFAULT_FILL_MODE = 'solid';
|
|
28
32
|
/**
|
|
29
33
|
* Represents the Kendo UI DropDownButton component for Angular.
|
|
30
34
|
*
|
|
@@ -53,7 +57,7 @@ const NAVIGATION_SETTINGS_PROVIDER = {
|
|
|
53
57
|
* }
|
|
54
58
|
* ```
|
|
55
59
|
*/
|
|
56
|
-
|
|
60
|
+
export class DropDownButtonComponent extends ListButton {
|
|
57
61
|
constructor(focusService, navigationService, wrapperRef, zone, popupService, elRef, localization, cdr) {
|
|
58
62
|
super(focusService, navigationService, wrapperRef, zone, localization, cdr);
|
|
59
63
|
this.popupService = popupService;
|
|
@@ -75,32 +79,22 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
|
|
|
75
79
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-size)).
|
|
76
80
|
*
|
|
77
81
|
* The possible values are:
|
|
78
|
-
* * `
|
|
79
|
-
* * `
|
|
80
|
-
* * `
|
|
81
|
-
* * `
|
|
82
|
+
* * `small`
|
|
83
|
+
* * `medium` (default)
|
|
84
|
+
* * `large`
|
|
85
|
+
* * `none`
|
|
82
86
|
*/
|
|
83
87
|
this.size = 'medium';
|
|
84
|
-
/**
|
|
85
|
-
* The shape property specifies if the DropDownButton will be a square or rectangle.
|
|
86
|
-
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-shape)).
|
|
87
|
-
*
|
|
88
|
-
* The possible values are:
|
|
89
|
-
* * `'rectangle'` (default)
|
|
90
|
-
* * `'square'`
|
|
91
|
-
* * `null`
|
|
92
|
-
*/
|
|
93
|
-
this.shape = 'rectangle';
|
|
94
88
|
/**
|
|
95
89
|
* The rounded property specifies the border radius of the DropDownButton
|
|
96
90
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-rounded)).
|
|
97
91
|
*
|
|
98
92
|
* The possible values are:
|
|
99
|
-
* * `
|
|
100
|
-
* * `
|
|
101
|
-
* * `
|
|
102
|
-
* * `
|
|
103
|
-
* * `
|
|
93
|
+
* * `small`
|
|
94
|
+
* * `medium` (default)
|
|
95
|
+
* * `large`
|
|
96
|
+
* * `full`
|
|
97
|
+
* * `none`
|
|
104
98
|
*/
|
|
105
99
|
this.rounded = 'medium';
|
|
106
100
|
/**
|
|
@@ -120,7 +114,7 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
|
|
|
120
114
|
* * `dark`— Applies coloring based on the `dark` theme color.
|
|
121
115
|
* * `light`— Applies coloring based on the `light` theme color.
|
|
122
116
|
* * `inverse`— Applies coloring based on the `inverse` theme color.
|
|
123
|
-
* * `
|
|
117
|
+
* * `none` —Removes the default CSS class (no class would be rendered).
|
|
124
118
|
*/
|
|
125
119
|
this.themeColor = 'base';
|
|
126
120
|
/**
|
|
@@ -144,13 +138,14 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
|
|
|
144
138
|
/**
|
|
145
139
|
* Fires each time the DropDownButton gets focused.
|
|
146
140
|
*/
|
|
147
|
-
this.onFocus = new EventEmitter();
|
|
141
|
+
this.onFocus = new EventEmitter();
|
|
148
142
|
/**
|
|
149
143
|
* Fires each time the DropDownButton gets blurred.
|
|
150
144
|
*/
|
|
151
|
-
this.onBlur = new EventEmitter();
|
|
145
|
+
this.onBlur = new EventEmitter();
|
|
152
146
|
this.listId = guid();
|
|
153
|
-
this._fillMode =
|
|
147
|
+
this._fillMode = DEFAULT_FILL_MODE;
|
|
148
|
+
this.popupSubs = new Subscription();
|
|
154
149
|
this._itemClick = this.itemClick;
|
|
155
150
|
this._blur = this.onBlur;
|
|
156
151
|
}
|
|
@@ -201,7 +196,7 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
|
|
|
201
196
|
* * `flat`
|
|
202
197
|
* * `outline`
|
|
203
198
|
* * `link`
|
|
204
|
-
* * `
|
|
199
|
+
* * `none`
|
|
205
200
|
*/
|
|
206
201
|
set fillMode(fillMode) {
|
|
207
202
|
this._fillMode = fillMode === 'clear' ? 'flat' : fillMode;
|
|
@@ -402,11 +397,11 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
|
|
|
402
397
|
|| (this.popupRef && this.popupRef.popupElement.contains(element));
|
|
403
398
|
}
|
|
404
399
|
subscribeNavigationEvents() {
|
|
405
|
-
this.
|
|
406
|
-
.subscribe(this.onArrowKeyNavigate.bind(this));
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
400
|
+
this.subs.add(this.navigationService.navigate
|
|
401
|
+
.subscribe(this.onArrowKeyNavigate.bind(this)));
|
|
402
|
+
this.subs.add(this.navigationService.enterup.subscribe(this.onNavigationEnterUp.bind(this)));
|
|
403
|
+
this.subs.add(this.navigationService.open.subscribe(this.onNavigationOpen.bind(this)));
|
|
404
|
+
this.subs.add(merge(this.navigationService.close, this.navigationService.esc).subscribe(this.onNavigationClose.bind(this)));
|
|
410
405
|
}
|
|
411
406
|
onNavigationEnterUp() {
|
|
412
407
|
if (!this._disabled && !this.openState) {
|
|
@@ -459,176 +454,86 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
|
|
|
459
454
|
popupAlign: this.popupAlign,
|
|
460
455
|
popupClass: this.popupClasses
|
|
461
456
|
});
|
|
462
|
-
this.popupRef.popupAnchorViewportLeave.subscribe(() => this.openState = false);
|
|
463
|
-
this.popupRef.popupOpen.subscribe(this.focusFirstItem.bind(this));
|
|
457
|
+
this.popupSubs.add(this.popupRef.popupAnchorViewportLeave.subscribe(() => this.openState = false));
|
|
458
|
+
this.popupSubs.add(this.popupRef.popupOpen.subscribe(this.focusFirstItem.bind(this)));
|
|
464
459
|
}
|
|
465
460
|
destroyPopup() {
|
|
466
461
|
if (this.popupRef) {
|
|
467
462
|
this.popupRef.close();
|
|
468
463
|
this.popupRef = null;
|
|
464
|
+
this.popupSubs.unsubscribe();
|
|
469
465
|
}
|
|
470
466
|
}
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
]
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
]
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
]
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
]
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
]
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
Output(),
|
|
542
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
543
|
-
], DropDownButtonComponent.prototype, "close", void 0);
|
|
544
|
-
tslib_1.__decorate([
|
|
545
|
-
Output('focus'),
|
|
546
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
547
|
-
], DropDownButtonComponent.prototype, "onFocus", void 0);
|
|
548
|
-
tslib_1.__decorate([
|
|
549
|
-
Output('blur'),
|
|
550
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
551
|
-
], DropDownButtonComponent.prototype, "onBlur", void 0);
|
|
552
|
-
tslib_1.__decorate([
|
|
553
|
-
HostBinding('class.k-focus'),
|
|
554
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
555
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
556
|
-
], DropDownButtonComponent.prototype, "focused", null);
|
|
557
|
-
tslib_1.__decorate([
|
|
558
|
-
HostBinding('class.k-dropdown-button'),
|
|
559
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
560
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
561
|
-
], DropDownButtonComponent.prototype, "widgetClasses", null);
|
|
562
|
-
tslib_1.__decorate([
|
|
563
|
-
HostBinding('attr.dir'),
|
|
564
|
-
tslib_1.__metadata("design:type", String),
|
|
565
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
566
|
-
], DropDownButtonComponent.prototype, "dir", null);
|
|
567
|
-
tslib_1.__decorate([
|
|
568
|
-
ContentChild(ButtonItemTemplateDirective, { static: false }),
|
|
569
|
-
tslib_1.__metadata("design:type", ButtonItemTemplateDirective)
|
|
570
|
-
], DropDownButtonComponent.prototype, "itemTemplate", void 0);
|
|
571
|
-
tslib_1.__decorate([
|
|
572
|
-
ViewChild('button', { static: true }),
|
|
573
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
574
|
-
], DropDownButtonComponent.prototype, "button", void 0);
|
|
575
|
-
tslib_1.__decorate([
|
|
576
|
-
ViewChild('buttonList', { static: false }),
|
|
577
|
-
tslib_1.__metadata("design:type", ListComponent)
|
|
578
|
-
], DropDownButtonComponent.prototype, "buttonList", void 0);
|
|
579
|
-
tslib_1.__decorate([
|
|
580
|
-
ViewChild('popupTemplate', { static: true }),
|
|
581
|
-
tslib_1.__metadata("design:type", TemplateRef)
|
|
582
|
-
], DropDownButtonComponent.prototype, "popupTemplate", void 0);
|
|
583
|
-
tslib_1.__decorate([
|
|
584
|
-
ViewChild('container', { read: ViewContainerRef, static: true }),
|
|
585
|
-
tslib_1.__metadata("design:type", ViewContainerRef)
|
|
586
|
-
], DropDownButtonComponent.prototype, "container", void 0);
|
|
587
|
-
tslib_1.__decorate([
|
|
588
|
-
HostListener('keydown', ['$event']),
|
|
589
|
-
tslib_1.__metadata("design:type", Function),
|
|
590
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
591
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
592
|
-
], DropDownButtonComponent.prototype, "keydown", null);
|
|
593
|
-
tslib_1.__decorate([
|
|
594
|
-
HostListener('keypress', ['$event']),
|
|
595
|
-
tslib_1.__metadata("design:type", Function),
|
|
596
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
597
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
598
|
-
], DropDownButtonComponent.prototype, "keypress", null);
|
|
599
|
-
tslib_1.__decorate([
|
|
600
|
-
HostListener('keyup', ['$event']),
|
|
601
|
-
tslib_1.__metadata("design:type", Function),
|
|
602
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
603
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
604
|
-
], DropDownButtonComponent.prototype, "keyup", null);
|
|
605
|
-
tslib_1.__decorate([
|
|
606
|
-
HostListener('mousedown', ['$event']),
|
|
607
|
-
tslib_1.__metadata("design:type", Function),
|
|
608
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
609
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
610
|
-
], DropDownButtonComponent.prototype, "mousedown", null);
|
|
611
|
-
tslib_1.__decorate([
|
|
612
|
-
HostListener('mouseup', ['$event']),
|
|
613
|
-
tslib_1.__metadata("design:type", Function),
|
|
614
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
615
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
616
|
-
], DropDownButtonComponent.prototype, "mouseup", null);
|
|
617
|
-
DropDownButtonComponent = tslib_1.__decorate([
|
|
618
|
-
Component({
|
|
619
|
-
exportAs: 'kendoDropDownButton',
|
|
620
|
-
providers: [
|
|
621
|
-
FocusService,
|
|
622
|
-
NavigationService,
|
|
623
|
-
NAVIGATION_SETTINGS_PROVIDER,
|
|
624
|
-
LocalizationService,
|
|
625
|
-
{
|
|
626
|
-
provide: L10N_PREFIX,
|
|
627
|
-
useValue: 'kendo.dropdownbutton'
|
|
628
|
-
}
|
|
629
|
-
],
|
|
630
|
-
selector: 'kendo-dropdownbutton',
|
|
631
|
-
template: `
|
|
467
|
+
}
|
|
468
|
+
DropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonComponent, deps: [{ token: i1.FocusService }, { token: i2.NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.PopupService }, { token: i0.ElementRef }, { token: i4.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
469
|
+
DropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: { icon: "icon", iconClass: "iconClass", imageUrl: "imageUrl", popupSettings: "popupSettings", textField: "textField", disabled: "disabled", data: "data", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", buttonClass: "buttonClass", tabIndex: "tabIndex" }, outputs: { itemClick: "itemClick", open: "open", close: "close", onFocus: "focus", onBlur: "blur" }, host: { listeners: { "keydown": "keydown($event)", "keypress": "keypress($event)", "keyup": "keyup($event)", "mousedown": "mousedown($event)", "mouseup": "mouseup($event)" }, properties: { "class.k-focus": "this.focused", "class.k-dropdown-button": "this.widgetClasses", "attr.dir": "this.dir" } }, providers: [
|
|
470
|
+
FocusService,
|
|
471
|
+
NavigationService,
|
|
472
|
+
NAVIGATION_SETTINGS_PROVIDER,
|
|
473
|
+
LocalizationService,
|
|
474
|
+
{
|
|
475
|
+
provide: L10N_PREFIX,
|
|
476
|
+
useValue: 'kendo.dropdownbutton'
|
|
477
|
+
}
|
|
478
|
+
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ButtonItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, static: true }, { propertyName: "buttonList", first: true, predicate: ["buttonList"], descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], exportAs: ["kendoDropDownButton"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
479
|
+
<button kendoButton #button
|
|
480
|
+
role="menu"
|
|
481
|
+
type="button"
|
|
482
|
+
[tabindex]="componentTabIndex"
|
|
483
|
+
[class.k-active]="active"
|
|
484
|
+
[disabled]="disabled"
|
|
485
|
+
[icon]="icon"
|
|
486
|
+
[iconClass]="iconClass"
|
|
487
|
+
[imageUrl]="imageUrl"
|
|
488
|
+
[ngClass]="buttonClass"
|
|
489
|
+
[size]="size"
|
|
490
|
+
[rounded]="rounded"
|
|
491
|
+
[fillMode]="fillMode"
|
|
492
|
+
[themeColor]="fillMode ? themeColor : null"
|
|
493
|
+
(click)="openPopup()"
|
|
494
|
+
(focus)="handleFocus()"
|
|
495
|
+
(blur)="onButtonBlur()"
|
|
496
|
+
[attr.aria-disabled]="disabled"
|
|
497
|
+
[attr.aria-expanded]="openState"
|
|
498
|
+
[attr.aria-haspopup]="true"
|
|
499
|
+
[attr.aria-owns]="listId"
|
|
500
|
+
>
|
|
501
|
+
<ng-content></ng-content>
|
|
502
|
+
</button>
|
|
503
|
+
<ng-template #popupTemplate>
|
|
504
|
+
<kendo-button-list
|
|
505
|
+
#buttonList
|
|
506
|
+
[id]="listId"
|
|
507
|
+
[data]="data"
|
|
508
|
+
[textField]="textField"
|
|
509
|
+
[itemTemplate]="itemTemplate"
|
|
510
|
+
(onItemClick)="onItemClick($event)"
|
|
511
|
+
(keydown)="keyDownHandler($event)"
|
|
512
|
+
(keypress)="keyPressHandler($event)"
|
|
513
|
+
(keyup)="keyUpHandler($event)"
|
|
514
|
+
[attr.dir]="dir"
|
|
515
|
+
[size]="size"
|
|
516
|
+
>
|
|
517
|
+
</kendo-button-list>
|
|
518
|
+
</ng-template>
|
|
519
|
+
<ng-container #container></ng-container>
|
|
520
|
+
`, isInline: true, components: [{ type: i5.ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }], directives: [{ type: i6.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonComponent, decorators: [{
|
|
522
|
+
type: Component,
|
|
523
|
+
args: [{
|
|
524
|
+
exportAs: 'kendoDropDownButton',
|
|
525
|
+
providers: [
|
|
526
|
+
FocusService,
|
|
527
|
+
NavigationService,
|
|
528
|
+
NAVIGATION_SETTINGS_PROVIDER,
|
|
529
|
+
LocalizationService,
|
|
530
|
+
{
|
|
531
|
+
provide: L10N_PREFIX,
|
|
532
|
+
useValue: 'kendo.dropdownbutton'
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
selector: 'kendo-dropdownbutton',
|
|
536
|
+
template: `
|
|
632
537
|
<button kendoButton #button
|
|
633
538
|
role="menu"
|
|
634
539
|
type="button"
|
|
@@ -640,7 +545,6 @@ DropDownButtonComponent = tslib_1.__decorate([
|
|
|
640
545
|
[imageUrl]="imageUrl"
|
|
641
546
|
[ngClass]="buttonClass"
|
|
642
547
|
[size]="size"
|
|
643
|
-
[shape]="shape"
|
|
644
548
|
[rounded]="rounded"
|
|
645
549
|
[fillMode]="fillMode"
|
|
646
550
|
[themeColor]="fillMode ? themeColor : null"
|
|
@@ -672,15 +576,82 @@ DropDownButtonComponent = tslib_1.__decorate([
|
|
|
672
576
|
</ng-template>
|
|
673
577
|
<ng-container #container></ng-container>
|
|
674
578
|
`
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
],
|
|
685
|
-
|
|
686
|
-
|
|
579
|
+
}]
|
|
580
|
+
}], ctorParameters: function () { return [{ type: i1.FocusService }, { type: i2.NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.PopupService }, { type: i0.ElementRef }, { type: i4.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
|
|
581
|
+
type: Input
|
|
582
|
+
}], iconClass: [{
|
|
583
|
+
type: Input
|
|
584
|
+
}], imageUrl: [{
|
|
585
|
+
type: Input
|
|
586
|
+
}], popupSettings: [{
|
|
587
|
+
type: Input
|
|
588
|
+
}], textField: [{
|
|
589
|
+
type: Input
|
|
590
|
+
}], disabled: [{
|
|
591
|
+
type: Input
|
|
592
|
+
}], data: [{
|
|
593
|
+
type: Input
|
|
594
|
+
}], size: [{
|
|
595
|
+
type: Input
|
|
596
|
+
}], rounded: [{
|
|
597
|
+
type: Input
|
|
598
|
+
}], fillMode: [{
|
|
599
|
+
type: Input
|
|
600
|
+
}], themeColor: [{
|
|
601
|
+
type: Input
|
|
602
|
+
}], buttonClass: [{
|
|
603
|
+
type: Input
|
|
604
|
+
}], tabIndex: [{
|
|
605
|
+
type: Input
|
|
606
|
+
}], itemClick: [{
|
|
607
|
+
type: Output
|
|
608
|
+
}], open: [{
|
|
609
|
+
type: Output
|
|
610
|
+
}], close: [{
|
|
611
|
+
type: Output
|
|
612
|
+
}], onFocus: [{
|
|
613
|
+
type: Output,
|
|
614
|
+
args: ['focus']
|
|
615
|
+
}], onBlur: [{
|
|
616
|
+
type: Output,
|
|
617
|
+
args: ['blur']
|
|
618
|
+
}], focused: [{
|
|
619
|
+
type: HostBinding,
|
|
620
|
+
args: ['class.k-focus']
|
|
621
|
+
}], widgetClasses: [{
|
|
622
|
+
type: HostBinding,
|
|
623
|
+
args: ['class.k-dropdown-button']
|
|
624
|
+
}], dir: [{
|
|
625
|
+
type: HostBinding,
|
|
626
|
+
args: ['attr.dir']
|
|
627
|
+
}], itemTemplate: [{
|
|
628
|
+
type: ContentChild,
|
|
629
|
+
args: [ButtonItemTemplateDirective, { static: false }]
|
|
630
|
+
}], button: [{
|
|
631
|
+
type: ViewChild,
|
|
632
|
+
args: ['button', { static: true }]
|
|
633
|
+
}], buttonList: [{
|
|
634
|
+
type: ViewChild,
|
|
635
|
+
args: ['buttonList', { static: false }]
|
|
636
|
+
}], popupTemplate: [{
|
|
637
|
+
type: ViewChild,
|
|
638
|
+
args: ['popupTemplate', { static: true }]
|
|
639
|
+
}], container: [{
|
|
640
|
+
type: ViewChild,
|
|
641
|
+
args: ['container', { read: ViewContainerRef, static: true }]
|
|
642
|
+
}], keydown: [{
|
|
643
|
+
type: HostListener,
|
|
644
|
+
args: ['keydown', ['$event']]
|
|
645
|
+
}], keypress: [{
|
|
646
|
+
type: HostListener,
|
|
647
|
+
args: ['keypress', ['$event']]
|
|
648
|
+
}], keyup: [{
|
|
649
|
+
type: HostListener,
|
|
650
|
+
args: ['keyup', ['$event']]
|
|
651
|
+
}], mousedown: [{
|
|
652
|
+
type: HostListener,
|
|
653
|
+
args: ['mousedown', ['$event']]
|
|
654
|
+
}], mouseup: [{
|
|
655
|
+
type: HostListener,
|
|
656
|
+
args: ['mouseup', ['$event']]
|
|
657
|
+
}] } });
|
|
@@ -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 { NgModule } from '@angular/core';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
8
|
+
import { ListModule } from '../listbutton/list.module';
|
|
9
|
+
import { ButtonModule } from '../button/button.module';
|
|
10
|
+
import { DropDownButtonComponent } from './dropdownbutton.component';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*
|
|
15
|
+
* The exported package module.
|
|
16
|
+
*
|
|
17
|
+
* The package exports:
|
|
18
|
+
* - `DropDownButtonComponent`—The DropDownButtonComponent component class.
|
|
19
|
+
*/
|
|
20
|
+
export class DropDownButtonModule {
|
|
21
|
+
}
|
|
22
|
+
DropDownButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
+
DropDownButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonModule, declarations: [DropDownButtonComponent], imports: [CommonModule, PopupModule, ListModule, ButtonModule], exports: [DropDownButtonComponent, ListModule] });
|
|
24
|
+
DropDownButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonModule, imports: [[CommonModule, PopupModule, ListModule, ButtonModule], ListModule] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
declarations: [DropDownButtonComponent],
|
|
29
|
+
exports: [DropDownButtonComponent, ListModule],
|
|
30
|
+
imports: [CommonModule, PopupModule, ListModule, ButtonModule]
|
|
31
|
+
}]
|
|
32
|
+
}] });
|
|
File without changes
|