@progress/kendo-angular-buttons 7.0.2 → 8.0.0-next.202202081332
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/kendo-angular-buttons.umd.js +5 -0
- package/{dist/es2015/button → button}/button.directive.d.ts +36 -23
- package/{dist/es2015/button → button}/button.module.d.ts +5 -0
- package/{dist/es2015/button → button}/button.service.d.ts +3 -0
- package/{dist/es2015/button → button}/selection-settings.d.ts +0 -0
- package/{dist/es2015/buttongroup → buttongroup}/buttongroup.component.d.ts +13 -9
- package/{dist/es2015/buttongroup → buttongroup}/buttongroup.module.d.ts +7 -0
- package/{dist/es2015/buttons.module.d.ts → buttons.module.d.ts} +10 -0
- package/{dist/es2015/chip → chip}/chip-content-click-event-args.interface.d.ts +0 -0
- package/{dist/es2015/chip → chip}/chip-list-remove-event-args.interface.d.ts +0 -0
- package/{dist/es2015/chip → chip}/chip-list.component.d.ts +7 -3
- package/{dist/es2015/chip → chip}/chip-remove-event-args.interface.d.ts +0 -0
- package/{dist/es2015/chip → chip}/chip.component.d.ts +20 -13
- package/{dist/es2015/chip → chip}/chip.module.d.ts +7 -0
- package/{dist/es2015/chip → chip}/models/selection.d.ts +0 -0
- package/{dist/es2015/common → common}/models/fillmode.d.ts +0 -0
- package/{dist/es2015/common → common}/models/rounded.d.ts +0 -0
- package/{dist/es2015/common → common}/models/shape.d.ts +0 -0
- package/{dist/es2015/common → common}/models/size.d.ts +0 -0
- package/{dist/es2015/common → common}/models/styling-classes.d.ts +0 -0
- package/{dist/es2015/common → common}/models/theme-color.d.ts +0 -0
- package/{dist/es2015/common → common}/models.d.ts +0 -0
- package/{dist/es2015/direction.d.ts → direction.d.ts} +0 -0
- package/{dist/es2015/dropdownbutton → dropdownbutton}/dropdownbutton.component.d.ts +24 -16
- package/dropdownbutton/dropdownbutton.module.d.ts +23 -0
- package/{dist/es2015 → esm2015}/button/button.directive.js +92 -153
- package/{dist/es2015 → esm2015}/button/button.module.js +13 -10
- package/{dist/es2015 → esm2015}/button/button.service.js +8 -10
- package/{dist/es → esm2015}/button/selection-settings.js +1 -0
- package/{dist/es2015 → esm2015}/buttongroup/buttongroup.component.js +82 -106
- package/esm2015/buttongroup/buttongroup.module.js +30 -0
- package/{dist/es → esm2015}/buttons.module.js +12 -12
- package/{dist/es2015 → esm2015}/chip/chip-content-click-event-args.interface.js +1 -0
- package/{dist/es2015 → esm2015}/chip/chip-list-remove-event-args.interface.js +1 -0
- package/{dist/es2015 → esm2015}/chip/chip-list.component.js +58 -70
- package/{dist/es2015 → esm2015}/chip/chip-remove-event-args.interface.js +1 -0
- package/{dist/es2015 → esm2015}/chip/chip.component.js +124 -120
- package/{dist/es2015 → esm2015}/chip/chip.module.js +16 -11
- package/{dist/es → esm2015}/chip/models/selection.js +1 -0
- package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
- package/{dist/es → esm2015}/common/models/rounded.js +1 -0
- package/{dist/es → esm2015}/common/models/shape.js +1 -0
- package/{dist/es → esm2015}/common/models/size.js +1 -0
- package/{dist/es → esm2015}/common/models/styling-classes.js +1 -0
- package/{dist/es → esm2015}/common/models/theme-color.js +1 -0
- package/{dist/es → esm2015}/common/models.js +6 -0
- package/{dist/es → esm2015}/direction.js +1 -0
- package/{dist/es2015 → esm2015}/dropdownbutton/dropdownbutton.component.js +166 -183
- package/esm2015/dropdownbutton/dropdownbutton.module.js +32 -0
- package/{dist/es2015 → esm2015}/floatingactionbutton/animations/animations.js +0 -0
- package/esm2015/floatingactionbutton/dial-item.component.js +126 -0
- package/esm2015/floatingactionbutton/dial-list.component.js +89 -0
- package/{dist/es2015 → esm2015}/floatingactionbutton/floatingactionbutton.component.js +152 -155
- package/{dist/es2015 → esm2015}/floatingactionbutton/floatingactionbutton.module.js +19 -11
- package/{dist/es → esm2015}/floatingactionbutton/models/align.js +1 -0
- package/{dist/es → esm2015}/floatingactionbutton/models/item-animation.interface.js +1 -0
- package/{dist/es → esm2015}/floatingactionbutton/models/item-click.event.js +1 -0
- package/{dist/es → esm2015}/floatingactionbutton/models/item.interface.js +1 -0
- package/{dist/es → esm2015}/floatingactionbutton/models/offset.js +1 -0
- package/{dist/es → esm2015}/floatingactionbutton/models/position-mode.js +1 -0
- package/esm2015/floatingactionbutton/templates/dial-item-template.directive.js +27 -0
- package/esm2015/floatingactionbutton/templates/fab-template.directive.js +27 -0
- package/{dist/es2015 → esm2015}/floatingactionbutton/utils.js +0 -0
- package/{dist/es2015 → esm2015}/focusable/focus.service.js +8 -10
- package/{dist/es2015 → esm2015}/focusable/focusable.directive.js +15 -16
- package/{dist/es2015/listbutton/list.module.d.ts → esm2015/kendo-angular-buttons.js} +2 -3
- package/{dist/es2015 → esm2015}/listbutton/button-item-template.directive.js +13 -12
- package/{dist/es2015 → esm2015}/listbutton/list-button.js +15 -2
- package/{dist/es → esm2015}/listbutton/list-item-model.js +1 -0
- package/esm2015/listbutton/list.component.js +136 -0
- package/esm2015/listbutton/list.module.js +39 -0
- package/{dist/es → esm2015}/listbutton/popup-settings.js +1 -0
- package/esm2015/listbutton/template-context.directive.js +33 -0
- package/{dist/es → esm2015}/main.js +6 -0
- package/{dist/es → esm2015}/navigation/key-events.js +0 -0
- package/{dist/es → esm2015}/navigation/navigation-action.js +0 -0
- package/{dist/es2015 → esm2015}/navigation/navigation-config.js +0 -0
- package/{dist/es2015 → esm2015}/navigation/navigation.service.js +11 -9
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/preventable-event.js +0 -0
- package/esm2015/splitbutton/localization/custom-messages.component.js +37 -0
- package/esm2015/splitbutton/localization/localized-messages.directive.js +36 -0
- package/esm2015/splitbutton/localization/messages.js +22 -0
- package/{dist/es2015 → esm2015}/splitbutton/splitbutton.component.js +198 -189
- package/esm2015/splitbutton/splitbutton.module.js +34 -0
- package/{dist/es2015 → esm2015}/util.js +2 -2
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-buttons.js} +1673 -1687
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/animations/animations.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/dial-item.component.d.ts +8 -5
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/dial-list.component.d.ts +5 -2
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/floatingactionbutton.component.d.ts +30 -20
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/floatingactionbutton.module.d.ts +13 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/align.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item-animation.interface.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item-click.event.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item.interface.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/offset.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/position-mode.d.ts +0 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/templates/dial-item-template.directive.d.ts +3 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/templates/fab-template.directive.d.ts +3 -0
- package/{dist/es2015/floatingactionbutton → floatingactionbutton}/utils.d.ts +0 -0
- package/{dist/es2015/focusable → focusable}/focus.service.d.ts +5 -1
- package/{dist/es2015/focusable → focusable}/focusable.directive.d.ts +3 -0
- package/kendo-angular-buttons.d.ts +9 -0
- package/{dist/es2015/listbutton → listbutton}/button-item-template.directive.d.ts +3 -0
- package/{dist/es2015/listbutton → listbutton}/list-button.d.ts +6 -2
- package/{dist/es2015/listbutton → listbutton}/list-item-model.d.ts +0 -0
- package/{dist/es2015/listbutton → listbutton}/list.component.d.ts +4 -1
- package/listbutton/list.module.d.ts +18 -0
- package/{dist/es2015/listbutton → listbutton}/popup-settings.d.ts +0 -0
- package/{dist/es2015/listbutton → listbutton}/template-context.directive.d.ts +4 -1
- package/{dist/es2015/main.d.ts → main.d.ts} +6 -0
- package/{dist/es2015/navigation → navigation}/key-events.d.ts +0 -0
- package/{dist/es2015/navigation → navigation}/navigation-action.d.ts +0 -0
- package/{dist/es2015/navigation → navigation}/navigation-config.d.ts +0 -0
- package/{dist/es2015/navigation → navigation}/navigation.service.d.ts +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +35 -110
- package/{dist/es2015/preventable-event.d.ts → preventable-event.d.ts} +0 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/splitbutton → splitbutton}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/splitbutton → splitbutton}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/splitbutton → splitbutton}/localization/messages.d.ts +3 -0
- package/{dist/es2015/splitbutton → splitbutton}/splitbutton.component.d.ts +28 -18
- package/splitbutton/splitbutton.module.d.ts +25 -0
- package/{dist/es2015/util.d.ts → util.d.ts} +0 -0
- package/dist/cdn/js/kendo-angular-buttons.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/button/button.directive.js +0 -769
- package/dist/es/button/button.module.js +0 -50
- package/dist/es/button/button.service.js +0 -24
- package/dist/es/buttongroup/buttongroup.component.js +0 -353
- package/dist/es/buttongroup/buttongroup.module.js +0 -30
- package/dist/es/chip/chip-content-click-event-args.interface.js +0 -4
- package/dist/es/chip/chip-list-remove-event-args.interface.js +0 -4
- package/dist/es/chip/chip-list.component.js +0 -214
- package/dist/es/chip/chip-remove-event-args.interface.js +0 -4
- package/dist/es/chip/chip.component.js +0 -449
- package/dist/es/chip/chip.module.js +0 -55
- package/dist/es/dropdownbutton/dropdownbutton.component.js +0 -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/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 -97
- package/dist/es2015/button/selection-settings.js +0 -4
- package/dist/es2015/buttongroup/buttongroup.module.js +0 -27
- package/dist/es2015/buttons.module.js +0 -51
- package/dist/es2015/chip/models/selection.js +0 -4
- package/dist/es2015/common/models/fillmode.js +0 -4
- package/dist/es2015/common/models/rounded.js +0 -4
- package/dist/es2015/common/models/shape.js +0 -4
- package/dist/es2015/common/models/size.js +0 -4
- package/dist/es2015/common/models/styling-classes.js +0 -4
- package/dist/es2015/common/models/theme-color.js +0 -4
- package/dist/es2015/common/models.js +0 -4
- package/dist/es2015/direction.js +0 -4
- package/dist/es2015/dropdownbutton/dropdownbutton.module.d.ts +0 -14
- package/dist/es2015/dropdownbutton/dropdownbutton.module.js +0 -29
- package/dist/es2015/floatingactionbutton/dial-item.component.js +0 -133
- package/dist/es2015/floatingactionbutton/dial-list.component.js +0 -81
- package/dist/es2015/floatingactionbutton/models/align.js +0 -4
- package/dist/es2015/floatingactionbutton/models/item-animation.interface.js +0 -4
- package/dist/es2015/floatingactionbutton/models/item-click.event.js +0 -4
- package/dist/es2015/floatingactionbutton/models/item.interface.js +0 -4
- package/dist/es2015/floatingactionbutton/models/offset.js +0 -4
- package/dist/es2015/floatingactionbutton/models/position-mode.js +0 -4
- package/dist/es2015/floatingactionbutton/templates/dial-item-template.directive.js +0 -25
- package/dist/es2015/floatingactionbutton/templates/fab-template.directive.js +0 -25
- package/dist/es2015/index.d.ts +0 -22
- package/dist/es2015/index.js +0 -22
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/listbutton/list-item-model.js +0 -4
- package/dist/es2015/listbutton/list.component.js +0 -113
- package/dist/es2015/listbutton/list.module.js +0 -30
- package/dist/es2015/listbutton/popup-settings.js +0 -4
- package/dist/es2015/listbutton/template-context.directive.js +0 -35
- package/dist/es2015/main.js +0 -22
- package/dist/es2015/navigation/key-events.js +0 -13
- package/dist/es2015/navigation/navigation-action.js +0 -19
- package/dist/es2015/splitbutton/localization/custom-messages.component.js +0 -36
- package/dist/es2015/splitbutton/localization/localized-messages.directive.js +0 -31
- package/dist/es2015/splitbutton/localization/messages.js +0 -16
- package/dist/es2015/splitbutton/splitbutton.module.d.ts +0 -14
- package/dist/es2015/splitbutton/splitbutton.module.js +0 -31
- package/dist/fesm5/index.js +0 -5561
- package/dist/npm/button/button.directive.js +0 -771
- 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 -100
- package/dist/systemjs/kendo-angular-buttons.js +0 -5
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { Component, ElementRef, TemplateRef, Input, Output, HostBinding, HostListener, EventEmitter, ContentChild, ViewChild, ViewContainerRef, NgZone, ChangeDetectorRef, Renderer2 } from '@angular/core';
|
|
5
|
+
/* eslint-disable no-access-missing-member */
|
|
6
|
+
import { Component, ElementRef, Input, Output, HostBinding, HostListener, EventEmitter, ContentChild, ViewChild, ViewContainerRef } from '@angular/core';
|
|
8
7
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
10
8
|
import { ListButton } from './../listbutton/list-button';
|
|
11
9
|
import { ButtonItemTemplateDirective } from './../listbutton/button-item-template.directive';
|
|
12
10
|
import { FocusService } from './../focusable/focus.service';
|
|
@@ -17,13 +15,21 @@ import { isPresent, tick } from './../util';
|
|
|
17
15
|
import { PreventableEvent } from '../preventable-event';
|
|
18
16
|
import { Keys } from '@progress/kendo-angular-common';
|
|
19
17
|
import { replaceMessagePlaceholder, getStylingClasses } from '../util';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
import * as i1 from "./../focusable/focus.service";
|
|
20
|
+
import * as i2 from "./../navigation/navigation.service";
|
|
21
|
+
import * as i3 from "@progress/kendo-angular-popup";
|
|
22
|
+
import * as i4 from "@progress/kendo-angular-l10n";
|
|
23
|
+
import * as i5 from "../listbutton/list.component";
|
|
24
|
+
import * as i6 from "./localization/localized-messages.directive";
|
|
25
|
+
import * as i7 from "../button/button.directive";
|
|
26
|
+
import * as i8 from "@angular/common";
|
|
20
27
|
const NAVIGATION_SETTINGS = {
|
|
21
28
|
useLeftRightArrows: true
|
|
22
29
|
};
|
|
23
|
-
const ɵ0 = NAVIGATION_SETTINGS;
|
|
24
30
|
const NAVIGATION_SETTINGS_PROVIDER = {
|
|
25
31
|
provide: NAVIGATION_CONFIG,
|
|
26
|
-
useValue:
|
|
32
|
+
useValue: NAVIGATION_SETTINGS
|
|
27
33
|
};
|
|
28
34
|
/**
|
|
29
35
|
* Represents the Kendo UI SplitButton component for Angular.
|
|
@@ -66,7 +72,7 @@ const NAVIGATION_SETTINGS_PROVIDER = {
|
|
|
66
72
|
* }
|
|
67
73
|
* ```
|
|
68
74
|
*/
|
|
69
|
-
|
|
75
|
+
export class SplitButtonComponent extends ListButton {
|
|
70
76
|
constructor(focusService, navigationService, wrapperRef, zone, popupService, elRef, localization, cdr, renderer) {
|
|
71
77
|
super(focusService, navigationService, wrapperRef, zone, localization, cdr);
|
|
72
78
|
this.popupService = popupService;
|
|
@@ -188,11 +194,11 @@ let SplitButtonComponent = class SplitButtonComponent extends ListButton {
|
|
|
188
194
|
/**
|
|
189
195
|
* Fires each time the SplitButton gets focused.
|
|
190
196
|
*/
|
|
191
|
-
this.onFocus = new EventEmitter(); //
|
|
197
|
+
this.onFocus = new EventEmitter(); //eslint-disable-line no-output-rename
|
|
192
198
|
/**
|
|
193
199
|
* Fires each time the SplitButton gets blurred.
|
|
194
200
|
*/
|
|
195
|
-
this.onBlur = new EventEmitter(); //
|
|
201
|
+
this.onBlur = new EventEmitter(); //eslint-disable-line no-output-rename
|
|
196
202
|
/**
|
|
197
203
|
* Fires each time the popup is about to open.
|
|
198
204
|
* This event is preventable. If you cancel the event, the popup will remain closed.
|
|
@@ -578,173 +584,103 @@ let SplitButtonComponent = class SplitButtonComponent extends ListButton {
|
|
|
578
584
|
this.renderer.addClass(elem, classes.toAdd);
|
|
579
585
|
}
|
|
580
586
|
}
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
]
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
]
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
]
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
]
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
]
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
]
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
]
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
], SplitButtonComponent.prototype, "close", void 0);
|
|
679
|
-
tslib_1.__decorate([
|
|
680
|
-
ContentChild(ButtonItemTemplateDirective, { static: false }),
|
|
681
|
-
tslib_1.__metadata("design:type", ButtonItemTemplateDirective)
|
|
682
|
-
], SplitButtonComponent.prototype, "itemTemplate", void 0);
|
|
683
|
-
tslib_1.__decorate([
|
|
684
|
-
ViewChild('button', { static: true }),
|
|
685
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
686
|
-
], SplitButtonComponent.prototype, "button", void 0);
|
|
687
|
-
tslib_1.__decorate([
|
|
688
|
-
ViewChild('arrowButton', { static: true, read: ElementRef }),
|
|
689
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
690
|
-
], SplitButtonComponent.prototype, "arrowButton", void 0);
|
|
691
|
-
tslib_1.__decorate([
|
|
692
|
-
ViewChild('popupTemplate', { static: true }),
|
|
693
|
-
tslib_1.__metadata("design:type", TemplateRef)
|
|
694
|
-
], SplitButtonComponent.prototype, "popupTemplate", void 0);
|
|
695
|
-
tslib_1.__decorate([
|
|
696
|
-
ViewChild('container', { read: ViewContainerRef, static: true }),
|
|
697
|
-
tslib_1.__metadata("design:type", ViewContainerRef)
|
|
698
|
-
], SplitButtonComponent.prototype, "containerRef", void 0);
|
|
699
|
-
tslib_1.__decorate([
|
|
700
|
-
HostBinding('class.k-focus'),
|
|
701
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
702
|
-
tslib_1.__metadata("design:paramtypes", [Boolean])
|
|
703
|
-
], SplitButtonComponent.prototype, "isFocused", null);
|
|
704
|
-
tslib_1.__decorate([
|
|
705
|
-
HostBinding('class.k-split-button'),
|
|
706
|
-
HostBinding('class.k-button-group'),
|
|
707
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
708
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
709
|
-
], SplitButtonComponent.prototype, "widgetClasses", null);
|
|
710
|
-
tslib_1.__decorate([
|
|
711
|
-
HostBinding('attr.dir'),
|
|
712
|
-
tslib_1.__metadata("design:type", String),
|
|
713
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
714
|
-
], SplitButtonComponent.prototype, "dir", null);
|
|
715
|
-
tslib_1.__decorate([
|
|
716
|
-
HostListener('keydown', ['$event']),
|
|
717
|
-
tslib_1.__metadata("design:type", Function),
|
|
718
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
719
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
720
|
-
], SplitButtonComponent.prototype, "keydown", null);
|
|
721
|
-
tslib_1.__decorate([
|
|
722
|
-
HostListener('keypress', ['$event']),
|
|
723
|
-
tslib_1.__metadata("design:type", Function),
|
|
724
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
725
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
726
|
-
], SplitButtonComponent.prototype, "keypress", null);
|
|
727
|
-
tslib_1.__decorate([
|
|
728
|
-
HostListener('keyup', ['$event']),
|
|
729
|
-
tslib_1.__metadata("design:type", Function),
|
|
730
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
731
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
732
|
-
], SplitButtonComponent.prototype, "keyup", null);
|
|
733
|
-
SplitButtonComponent = tslib_1.__decorate([
|
|
734
|
-
Component({
|
|
735
|
-
exportAs: 'kendoSplitButton',
|
|
736
|
-
providers: [
|
|
737
|
-
FocusService,
|
|
738
|
-
NavigationService,
|
|
739
|
-
NAVIGATION_SETTINGS_PROVIDER,
|
|
740
|
-
LocalizationService,
|
|
741
|
-
{
|
|
742
|
-
provide: L10N_PREFIX,
|
|
743
|
-
useValue: 'kendo.splitbutton'
|
|
744
|
-
}
|
|
745
|
-
],
|
|
746
|
-
selector: 'kendo-splitbutton',
|
|
747
|
-
template: `
|
|
587
|
+
}
|
|
588
|
+
SplitButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitButtonComponent, 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 }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
589
|
+
SplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SplitButtonComponent, selector: "kendo-splitbutton", inputs: { text: "text", icon: "icon", iconClass: "iconClass", type: "type", imageUrl: "imageUrl", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", disabled: "disabled", popupSettings: "popupSettings", tabIndex: "tabIndex", textField: "textField", data: "data", buttonClass: "buttonClass", arrowButtonClass: "arrowButtonClass", arrowButtonIcon: "arrowButtonIcon" }, outputs: { buttonClick: "buttonClick", itemClick: "itemClick", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { listeners: { "keydown": "keydown($event)", "keypress": "keypress($event)", "keyup": "keyup($event)" }, properties: { "class.k-focus": "this.isFocused", "class.k-split-button": "this.widgetClasses", "class.k-button-group": "this.widgetClasses", "attr.dir": "this.dir" } }, providers: [
|
|
590
|
+
FocusService,
|
|
591
|
+
NavigationService,
|
|
592
|
+
NAVIGATION_SETTINGS_PROVIDER,
|
|
593
|
+
LocalizationService,
|
|
594
|
+
{
|
|
595
|
+
provide: L10N_PREFIX,
|
|
596
|
+
useValue: 'kendo.splitbutton'
|
|
597
|
+
}
|
|
598
|
+
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ButtonItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, static: true }, { propertyName: "arrowButton", first: true, predicate: ["arrowButton"], descendants: true, read: ElementRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], exportAs: ["kendoSplitButton"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
599
|
+
<ng-container kendoSplitButtonLocalizedMessages
|
|
600
|
+
i18n-splitButtonLabel="kendo.splitbutton.splitButtonLabel|The text for the SplitButton aria-label"
|
|
601
|
+
splitButtonLabel="{{ '{buttonText} splitbutton' }}">
|
|
602
|
+
</ng-container>
|
|
603
|
+
<button
|
|
604
|
+
kendoButton
|
|
605
|
+
#button
|
|
606
|
+
[type]="type"
|
|
607
|
+
[tabindex]="componentTabIndex"
|
|
608
|
+
[disabled]="disabled"
|
|
609
|
+
[size]="size"
|
|
610
|
+
[rounded]="rounded"
|
|
611
|
+
[fillMode]="fillMode"
|
|
612
|
+
[themeColor]="themeColor"
|
|
613
|
+
[icon]="icon"
|
|
614
|
+
[class.k-active]="active"
|
|
615
|
+
[class.k-icon-button]="!text && icon"
|
|
616
|
+
[iconClass]="iconClass"
|
|
617
|
+
[imageUrl]="imageUrl"
|
|
618
|
+
[ngClass]="buttonClass"
|
|
619
|
+
(focus)="onButtonFocus()"
|
|
620
|
+
(click)="onButtonClick()"
|
|
621
|
+
(blur)="onButtonBlur()"
|
|
622
|
+
(mousedown)="toggleButtonActiveState(true)"
|
|
623
|
+
(mouseup)="toggleButtonActiveState(false)"
|
|
624
|
+
[attr.aria-disabled]="disabled"
|
|
625
|
+
[attr.aria-expanded]="openState"
|
|
626
|
+
[attr.aria-haspopup]="true"
|
|
627
|
+
[attr.aria-owns]="listId"
|
|
628
|
+
[attr.aria-label]="ariaLabel"
|
|
629
|
+
>
|
|
630
|
+
<span *ngIf="text" class="k-button-text">
|
|
631
|
+
{{ text }}
|
|
632
|
+
</span><ng-content></ng-content>
|
|
633
|
+
</button>
|
|
634
|
+
<button
|
|
635
|
+
kendoButton
|
|
636
|
+
#arrowButton
|
|
637
|
+
type="button"
|
|
638
|
+
[class.k-active]="activeArrow"
|
|
639
|
+
[disabled]="disabled"
|
|
640
|
+
[icon]="arrowButtonIcon"
|
|
641
|
+
[size]="size"
|
|
642
|
+
[rounded]="rounded"
|
|
643
|
+
[fillMode]="fillMode"
|
|
644
|
+
[themeColor]="fillMode ? themeColor : null"
|
|
645
|
+
[tabindex]="-1"
|
|
646
|
+
[ngClass]="arrowButtonClass"
|
|
647
|
+
(click)="onArrowButtonClick()"
|
|
648
|
+
(mousedown)="toggleArrowButtonActiveState(true)"
|
|
649
|
+
(mouseup)="toggleArrowButtonActiveState(false)"
|
|
650
|
+
></button>
|
|
651
|
+
<ng-template #popupTemplate>
|
|
652
|
+
<kendo-button-list
|
|
653
|
+
[id]="listId"
|
|
654
|
+
[data]="data"
|
|
655
|
+
[textField]="textField"
|
|
656
|
+
[itemTemplate]="itemTemplate"
|
|
657
|
+
(onItemClick)="onItemClick($event)"
|
|
658
|
+
(keydown)="keyDownHandler($event)"
|
|
659
|
+
(keypress)="keyPressHandler($event)"
|
|
660
|
+
(keyup)="keyUpHandler($event)"
|
|
661
|
+
[attr.dir]="dir"
|
|
662
|
+
[size]="size"
|
|
663
|
+
>
|
|
664
|
+
</kendo-button-list>
|
|
665
|
+
</ng-template>
|
|
666
|
+
<ng-container #container></ng-container>
|
|
667
|
+
`, isInline: true, components: [{ type: i5.ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }], directives: [{ type: i6.LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { type: i7.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "shape", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
669
|
+
type: Component,
|
|
670
|
+
args: [{
|
|
671
|
+
exportAs: 'kendoSplitButton',
|
|
672
|
+
providers: [
|
|
673
|
+
FocusService,
|
|
674
|
+
NavigationService,
|
|
675
|
+
NAVIGATION_SETTINGS_PROVIDER,
|
|
676
|
+
LocalizationService,
|
|
677
|
+
{
|
|
678
|
+
provide: L10N_PREFIX,
|
|
679
|
+
useValue: 'kendo.splitbutton'
|
|
680
|
+
}
|
|
681
|
+
],
|
|
682
|
+
selector: 'kendo-splitbutton',
|
|
683
|
+
template: `
|
|
748
684
|
<ng-container kendoSplitButtonLocalizedMessages
|
|
749
685
|
i18n-splitButtonLabel="kendo.splitbutton.splitButtonLabel|The text for the SplitButton aria-label"
|
|
750
686
|
splitButtonLabel="{{ '{buttonText} splitbutton' }}">
|
|
@@ -814,16 +750,89 @@ SplitButtonComponent = tslib_1.__decorate([
|
|
|
814
750
|
</ng-template>
|
|
815
751
|
<ng-container #container></ng-container>
|
|
816
752
|
`
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
753
|
+
}]
|
|
754
|
+
}], 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 }, { type: i0.Renderer2 }]; }, propDecorators: { text: [{
|
|
755
|
+
type: Input
|
|
756
|
+
}], icon: [{
|
|
757
|
+
type: Input
|
|
758
|
+
}], iconClass: [{
|
|
759
|
+
type: Input
|
|
760
|
+
}], type: [{
|
|
761
|
+
type: Input
|
|
762
|
+
}], imageUrl: [{
|
|
763
|
+
type: Input
|
|
764
|
+
}], size: [{
|
|
765
|
+
type: Input
|
|
766
|
+
}], rounded: [{
|
|
767
|
+
type: Input
|
|
768
|
+
}], fillMode: [{
|
|
769
|
+
type: Input
|
|
770
|
+
}], themeColor: [{
|
|
771
|
+
type: Input
|
|
772
|
+
}], disabled: [{
|
|
773
|
+
type: Input
|
|
774
|
+
}], popupSettings: [{
|
|
775
|
+
type: Input
|
|
776
|
+
}], tabIndex: [{
|
|
777
|
+
type: Input
|
|
778
|
+
}], textField: [{
|
|
779
|
+
type: Input
|
|
780
|
+
}], data: [{
|
|
781
|
+
type: Input
|
|
782
|
+
}], buttonClass: [{
|
|
783
|
+
type: Input
|
|
784
|
+
}], arrowButtonClass: [{
|
|
785
|
+
type: Input
|
|
786
|
+
}], arrowButtonIcon: [{
|
|
787
|
+
type: Input
|
|
788
|
+
}], buttonClick: [{
|
|
789
|
+
type: Output
|
|
790
|
+
}], itemClick: [{
|
|
791
|
+
type: Output
|
|
792
|
+
}], onFocus: [{
|
|
793
|
+
type: Output,
|
|
794
|
+
args: ['focus']
|
|
795
|
+
}], onBlur: [{
|
|
796
|
+
type: Output,
|
|
797
|
+
args: ['blur']
|
|
798
|
+
}], open: [{
|
|
799
|
+
type: Output
|
|
800
|
+
}], close: [{
|
|
801
|
+
type: Output
|
|
802
|
+
}], itemTemplate: [{
|
|
803
|
+
type: ContentChild,
|
|
804
|
+
args: [ButtonItemTemplateDirective, { static: false }]
|
|
805
|
+
}], button: [{
|
|
806
|
+
type: ViewChild,
|
|
807
|
+
args: ['button', { static: true }]
|
|
808
|
+
}], arrowButton: [{
|
|
809
|
+
type: ViewChild,
|
|
810
|
+
args: ['arrowButton', { static: true, read: ElementRef }]
|
|
811
|
+
}], popupTemplate: [{
|
|
812
|
+
type: ViewChild,
|
|
813
|
+
args: ['popupTemplate', { static: true }]
|
|
814
|
+
}], containerRef: [{
|
|
815
|
+
type: ViewChild,
|
|
816
|
+
args: ['container', { read: ViewContainerRef, static: true }]
|
|
817
|
+
}], isFocused: [{
|
|
818
|
+
type: HostBinding,
|
|
819
|
+
args: ['class.k-focus']
|
|
820
|
+
}], widgetClasses: [{
|
|
821
|
+
type: HostBinding,
|
|
822
|
+
args: ['class.k-split-button']
|
|
823
|
+
}, {
|
|
824
|
+
type: HostBinding,
|
|
825
|
+
args: ['class.k-button-group']
|
|
826
|
+
}], dir: [{
|
|
827
|
+
type: HostBinding,
|
|
828
|
+
args: ['attr.dir']
|
|
829
|
+
}], keydown: [{
|
|
830
|
+
type: HostListener,
|
|
831
|
+
args: ['keydown', ['$event']]
|
|
832
|
+
}], keypress: [{
|
|
833
|
+
type: HostListener,
|
|
834
|
+
args: ['keypress', ['$event']]
|
|
835
|
+
}], keyup: [{
|
|
836
|
+
type: HostListener,
|
|
837
|
+
args: ['keyup', ['$event']]
|
|
838
|
+
}] } });
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { ButtonModule } from './../button/button.module';
|
|
9
|
+
import { ListModule } from './../listbutton/list.module';
|
|
10
|
+
import { SplitButtonComponent } from './splitbutton.component';
|
|
11
|
+
import { LocalizedSplitButtonMessagesDirective } from './localization/localized-messages.directive';
|
|
12
|
+
import { SplitButtonCustomMessagesComponent } from './localization/custom-messages.component';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*
|
|
17
|
+
* The exported package module.
|
|
18
|
+
*
|
|
19
|
+
* The package exports:
|
|
20
|
+
* - `SplitButtonComponent`—The SplitButtonComponent component class.
|
|
21
|
+
*/
|
|
22
|
+
export class SplitButtonModule {
|
|
23
|
+
}
|
|
24
|
+
SplitButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
25
|
+
SplitButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitButtonModule, declarations: [SplitButtonComponent, LocalizedSplitButtonMessagesDirective, SplitButtonCustomMessagesComponent], imports: [CommonModule, PopupModule, ButtonModule, ListModule], exports: [SplitButtonComponent, ListModule, LocalizedSplitButtonMessagesDirective, SplitButtonCustomMessagesComponent] });
|
|
26
|
+
SplitButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitButtonModule, imports: [[CommonModule, PopupModule, ButtonModule, ListModule], ListModule] });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitButtonModule, decorators: [{
|
|
28
|
+
type: NgModule,
|
|
29
|
+
args: [{
|
|
30
|
+
declarations: [SplitButtonComponent, LocalizedSplitButtonMessagesDirective, SplitButtonCustomMessagesComponent],
|
|
31
|
+
exports: [SplitButtonComponent, ListModule, LocalizedSplitButtonMessagesDirective, SplitButtonCustomMessagesComponent],
|
|
32
|
+
imports: [CommonModule, PopupModule, ButtonModule, ListModule]
|
|
33
|
+
}]
|
|
34
|
+
}] });
|
|
@@ -2,8 +2,8 @@
|
|
|
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
|
-
/*
|
|
6
|
-
/*
|
|
5
|
+
/* eslint-disable no-null-keyword */
|
|
6
|
+
/* eslint-disable no-bitwise */
|
|
7
7
|
const resolvedPromise = Promise.resolve(null);
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|