@progress/kendo-angular-buttons 17.0.0-develop.3 → 17.0.0-develop.30
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/README.md +27 -106
- package/button/button.component.d.ts +3 -9
- package/button/selection-settings.d.ts +1 -1
- package/buttongroup/buttongroup.component.d.ts +2 -2
- package/chip/chip-list.component.d.ts +4 -4
- package/chip/chip.component.d.ts +4 -7
- package/chip/models/avatar-settings.interface.d.ts +33 -0
- package/chip/models/selection.d.ts +1 -1
- package/common/models/fillmode.d.ts +2 -2
- package/common/models/rounded.d.ts +2 -2
- package/common/models/size.d.ts +3 -3
- package/common/models/theme-color.d.ts +2 -2
- package/direction.d.ts +1 -1
- package/dropdownbutton/dropdownbutton.component.d.ts +7 -10
- package/{esm2020 → esm2022}/button/button.component.mjs +80 -108
- package/{esm2020 → esm2022}/button/button.module.mjs +4 -4
- package/{esm2020 → esm2022}/button/button.service.mjs +5 -7
- package/{esm2020 → esm2022}/buttongroup/buttongroup.component.mjs +79 -56
- package/{esm2020 → esm2022}/buttongroup/buttongroup.module.mjs +4 -4
- package/{esm2020 → esm2022}/buttons.module.mjs +4 -4
- package/{esm2020 → esm2022}/chip/chip-list.component.mjs +58 -48
- package/{esm2020 → esm2022}/chip/chip.component.mjs +155 -93
- package/{esm2020 → esm2022}/chip/chip.module.mjs +4 -4
- package/{esm2020 → esm2022}/dropdownbutton/dropdownbutton.component.mjs +130 -118
- package/{esm2020 → esm2022}/dropdownbutton/dropdownbutton.module.mjs +4 -4
- package/{esm2020 → esm2022}/floatingactionbutton/dial-item.component.mjs +21 -11
- package/{esm2020 → esm2022}/floatingactionbutton/dial-list.component.mjs +16 -11
- package/{esm2020 → esm2022}/floatingactionbutton/floatingactionbutton.component.mjs +145 -102
- package/{esm2020 → esm2022}/floatingactionbutton/floatingactionbutton.module.mjs +4 -4
- package/{esm2020 → esm2022}/floatingactionbutton/templates/dial-item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/floatingactionbutton/templates/fab-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/focusable/focus.service.mjs +5 -6
- package/{esm2020 → esm2022}/focusable/focusable.directive.mjs +8 -4
- package/{esm2020 → esm2022}/listbutton/button-item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/listbutton/container.service.mjs +5 -3
- package/{esm2020 → esm2022}/listbutton/list-button.mjs +88 -51
- package/{esm2020 → esm2022}/listbutton/list.component.mjs +13 -10
- package/{esm2020 → esm2022}/listbutton/list.module.mjs +8 -8
- package/esm2022/listbutton/popup-settings.mjs +5 -0
- package/{esm2020 → esm2022}/navigation/navigation.service.mjs +12 -11
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/splitbutton/localization/custom-messages.component.mjs +7 -6
- package/{esm2020 → esm2022}/splitbutton/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/splitbutton/localization/messages.mjs +45 -0
- package/{esm2020 → esm2022}/splitbutton/splitbutton.component.mjs +213 -189
- package/{esm2020 → esm2022}/splitbutton/splitbutton.module.mjs +4 -4
- package/{esm2020 → esm2022}/util.mjs +6 -0
- package/{fesm2020 → fesm2022}/progress-kendo-angular-buttons.mjs +1324 -1089
- package/floatingactionbutton/dial-item.component.d.ts +1 -1
- package/floatingactionbutton/dial-list.component.d.ts +1 -1
- package/floatingactionbutton/floatingactionbutton.component.d.ts +1 -1
- package/floatingactionbutton/models/position-mode.d.ts +1 -1
- package/focusable/focusable.directive.d.ts +1 -1
- package/index.d.ts +1 -0
- package/listbutton/list-button.d.ts +9 -4
- package/listbutton/list.component.d.ts +1 -1
- package/package.json +14 -20
- package/splitbutton/localization/messages.d.ts +1 -1
- package/splitbutton/splitbutton.component.d.ts +8 -16
- package/util.d.ts +6 -0
- package/esm2020/splitbutton/localization/messages.mjs +0 -23
- package/fesm2015/progress-kendo-angular-buttons.mjs +0 -5589
- /package/{esm2020 → esm2022}/button/selection-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/chip-content-click-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/chip-list-remove-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/chip-remove-event-args.interface.mjs +0 -0
- /package/{esm2020/chip/models/selection.mjs → esm2022/chip/models/avatar-settings.interface.mjs} +0 -0
- /package/{esm2020/common/models/arrow-settings.mjs → esm2022/chip/models/selection.mjs} +0 -0
- /package/{esm2020/common/models/fillmode.mjs → esm2022/common/models/arrow-settings.mjs} +0 -0
- /package/{esm2020/common/models/rounded.mjs → esm2022/common/models/fillmode.mjs} +0 -0
- /package/{esm2020/common/models/size.mjs → esm2022/common/models/rounded.mjs} +0 -0
- /package/{esm2020/common/models/styling-classes.mjs → esm2022/common/models/size.mjs} +0 -0
- /package/{esm2020/common/models/theme-color.mjs → esm2022/common/models/styling-classes.mjs} +0 -0
- /package/{esm2020/direction.mjs → esm2022/common/models/theme-color.mjs} +0 -0
- /package/{esm2020 → esm2022}/common/models.mjs +0 -0
- /package/{esm2020/floatingactionbutton/models/align.mjs → esm2022/direction.mjs} +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/animations/animations.mjs +0 -0
- /package/{esm2020/floatingactionbutton/models/item-animation.interface.mjs → esm2022/floatingactionbutton/models/align.mjs} +0 -0
- /package/{esm2020/floatingactionbutton/models/item-click.event.mjs → esm2022/floatingactionbutton/models/item-animation.interface.mjs} +0 -0
- /package/{esm2020/floatingactionbutton/models/item.interface.mjs → esm2022/floatingactionbutton/models/item-click.event.mjs} +0 -0
- /package/{esm2020/floatingactionbutton/models/offset.mjs → esm2022/floatingactionbutton/models/item.interface.mjs} +0 -0
- /package/{esm2020/floatingactionbutton/models/position-mode.mjs → esm2022/floatingactionbutton/models/offset.mjs} +0 -0
- /package/{esm2020/listbutton/list-item-model.mjs → esm2022/floatingactionbutton/models/position-mode.mjs} +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020/listbutton/popup-settings.mjs → esm2022/listbutton/list-item-model.mjs} +0 -0
- /package/{esm2020 → esm2022}/navigation/key-events.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-action.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-config.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-buttons.mjs +0 -0
|
@@ -32,5 +32,5 @@ export declare class DialItemComponent implements AfterViewInit {
|
|
|
32
32
|
ngAfterViewInit(): void;
|
|
33
33
|
private getTextDirectionClass;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialItemComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialItemComponent, "[kendoDialItem]", never, { "cssClass": "cssClass"; "cssStyle": "cssStyle"; "isFocused": "isFocused"; "index": "index"; "item": "item"; "dialItemTemplate": "dialItemTemplate"; "align": "align"; }, {}, never, never, true, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialItemComponent, "[kendoDialItem]", never, { "cssClass": { "alias": "cssClass"; "required": false; }; "cssStyle": { "alias": "cssStyle"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "index": { "alias": "index"; "required": false; }; "item": { "alias": "item"; "required": false; }; "dialItemTemplate": { "alias": "dialItemTemplate"; "required": false; }; "align": { "alias": "align"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
36
|
}
|
|
@@ -23,5 +23,5 @@ export declare class DialListComponent implements OnDestroy {
|
|
|
23
23
|
isFocused(index: number): boolean;
|
|
24
24
|
ngOnDestroy(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialListComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialListComponent, "[kendoDialList]", never, { "dialItems": "dialItems"; "dialItemTemplate": "dialItemTemplate"; "align": "align"; }, {}, never, never, true, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialListComponent, "[kendoDialList]", never, { "dialItems": { "alias": "dialItems"; "required": false; }; "dialItemTemplate": { "alias": "dialItemTemplate"; "required": false; }; "align": { "alias": "align"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
27
|
}
|
|
@@ -335,5 +335,5 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
|
|
|
335
335
|
private animationGap;
|
|
336
336
|
private animationDuration;
|
|
337
337
|
static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonComponent, never>;
|
|
338
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "kendo-floatingactionbutton", never, { "themeColor": "themeColor"; "size": "size"; "rounded": "rounded"; "disabled": "disabled"; "align": "align"; "offset": "offset"; "positionMode": "positionMode"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "buttonClass": "buttonClass"; "dialClass": "dialClass"; "text": "text"; "dialItemAnimation": "dialItemAnimation"; "tabIndex": "tabIndex"; "dialItems": "dialItems"; }, { "onBlur": "blur"; "onFocus": "focus"; "dialItemClick": "dialItemClick"; "open": "open"; "close": "close"; }, ["dialItemTemplate", "fabTemplate"], never, true, never>;
|
|
338
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "kendo-floatingactionbutton", never, { "themeColor": { "alias": "themeColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "align": { "alias": "align"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "positionMode": { "alias": "positionMode"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "dialClass": { "alias": "dialClass"; "required": false; }; "text": { "alias": "text"; "required": false; }; "dialItemAnimation": { "alias": "dialItemAnimation"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "dialItems": { "alias": "dialItems"; "required": false; }; }, { "onBlur": "blur"; "onFocus": "focus"; "dialItemClick": "dialItemClick"; "open": "open"; "close": "close"; }, ["dialItemTemplate", "fabTemplate"], never, true, never>;
|
|
339
339
|
}
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
* * `absolute`—Positions the FloatingActionButton absolutely to its first positioned parent element.
|
|
11
11
|
* * `fixed` (Default)—Positions the FloatingActionButton relative to the viewport. It always stays in the same place even if the page is scrolled.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type FabPositionMode = 'absolute' | 'fixed';
|
|
@@ -22,5 +22,5 @@ export declare class FocusableDirective implements OnInit, OnDestroy {
|
|
|
22
22
|
ngOnDestroy(): void;
|
|
23
23
|
private subscribeEvents;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<FocusableDirective, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableDirective, "[kendoButtonFocusable]", never, { "index": "index"; }, {}, never, never, true, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableDirective, "[kendoButtonFocusable]", never, { "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
26
|
}
|
package/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export { ChipModule } from './chip/chip.module';
|
|
|
25
25
|
export { ChipListSelection } from './chip/models/selection';
|
|
26
26
|
export { ChipRemoveEvent } from './chip/chip-remove-event-args.interface';
|
|
27
27
|
export { ChipListRemoveEvent } from './chip/chip-list-remove-event-args.interface';
|
|
28
|
+
export { ChipAvatarSettings } from './chip/models/avatar-settings.interface';
|
|
28
29
|
export { FloatingActionButtonModule } from './floatingactionbutton/floatingactionbutton.module';
|
|
29
30
|
export { FloatingActionButtonComponent } from './floatingactionbutton/floatingactionbutton.component';
|
|
30
31
|
export { FloatingActionButtonTemplateDirective } from './floatingactionbutton/templates/fab-template.directive';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2024 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 { EventEmitter, ElementRef, OnDestroy, NgZone, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
5
|
+
import { EventEmitter, ElementRef, OnDestroy, NgZone, ChangeDetectorRef, SimpleChanges, ViewContainerRef, TemplateRef } from '@angular/core';
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
import { PopupSettings } from './popup-settings';
|
|
8
8
|
import { FocusService } from './../focusable/focus.service';
|
|
@@ -14,6 +14,7 @@ import { PreventableEvent } from '../preventable-event';
|
|
|
14
14
|
import { Align, PopupRef, PopupService } from '@progress/kendo-angular-popup';
|
|
15
15
|
import { PopupContainerService } from './container.service';
|
|
16
16
|
import { MultiTabStop } from '@progress/kendo-angular-common';
|
|
17
|
+
import { ListComponent } from './list.component';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
/**
|
|
19
20
|
* @hidden
|
|
@@ -27,21 +28,25 @@ export declare class ListButton extends MultiTabStop implements OnDestroy {
|
|
|
27
28
|
private elRef;
|
|
28
29
|
protected cdr: ChangeDetectorRef;
|
|
29
30
|
protected containerService: PopupContainerService;
|
|
31
|
+
protected listId: string;
|
|
32
|
+
protected buttonId: string;
|
|
30
33
|
protected _data: any;
|
|
31
34
|
protected _open: boolean;
|
|
32
35
|
protected _disabled: boolean;
|
|
33
36
|
protected _active: boolean;
|
|
34
37
|
protected _popupSettings: PopupSettings;
|
|
35
|
-
protected listId: string;
|
|
36
38
|
protected _isFocused: boolean;
|
|
37
39
|
protected _itemClick: EventEmitter<any>;
|
|
38
40
|
protected _blur: EventEmitter<any>;
|
|
39
41
|
protected wrapper: HTMLElement;
|
|
40
|
-
protected button: ElementRef;
|
|
41
42
|
protected subs: Subscription;
|
|
42
43
|
protected direction: Direction;
|
|
43
44
|
protected popupRef: PopupRef;
|
|
44
45
|
private popupSubs;
|
|
46
|
+
button: ElementRef<HTMLButtonElement>;
|
|
47
|
+
buttonList: ListComponent;
|
|
48
|
+
popupTemplate: TemplateRef<any>;
|
|
49
|
+
container: ViewContainerRef;
|
|
45
50
|
/**
|
|
46
51
|
* Sets the disabled state of the DropDownButton.
|
|
47
52
|
*/
|
|
@@ -157,5 +162,5 @@ export declare class ListButton extends MultiTabStop implements OnDestroy {
|
|
|
157
162
|
private createPopup;
|
|
158
163
|
private destroyPopup;
|
|
159
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListButton, never>;
|
|
160
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListButton, "ng-component", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "buttonClass": "buttonClass"; "popupSettings": "popupSettings"; }, { "open": "open"; "close": "close"; "escape": "escape"; }, never, never, false, never>;
|
|
165
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListButton, "ng-component", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; }, { "open": "open"; "close": "close"; "escape": "escape"; }, never, never, false, never>;
|
|
161
166
|
}
|
|
@@ -24,5 +24,5 @@ export declare class ListComponent {
|
|
|
24
24
|
onClick(index: number): void;
|
|
25
25
|
onBlur(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "kendo-button-list", never, { "data": "data"; "textField": "textField"; "itemTemplate": "itemTemplate"; "size": "size"; }, { "onItemClick": "onItemClick"; "onItemBlur": "onItemBlur"; }, never, never, true, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "kendo-button-list", never, { "data": { "alias": "data"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "onItemClick": "onItemClick"; "onItemBlur": "onItemBlur"; }, never, never, true, never>;
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-buttons",
|
|
3
|
-
"version": "17.0.0-develop.
|
|
3
|
+
"version": "17.0.0-develop.30",
|
|
4
4
|
"description": "Buttons Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -20,28 +20,24 @@
|
|
|
20
20
|
"friendlyName": "Buttons"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@angular/animations": "
|
|
24
|
-
"@angular/common": "
|
|
25
|
-
"@angular/core": "
|
|
26
|
-
"@angular/platform-browser": "
|
|
23
|
+
"@angular/animations": "16 - 18",
|
|
24
|
+
"@angular/common": "16 - 18",
|
|
25
|
+
"@angular/core": "16 - 18",
|
|
26
|
+
"@angular/platform-browser": "16 - 18",
|
|
27
27
|
"@progress/kendo-licensing": "^1.0.2",
|
|
28
|
-
"@progress/kendo-angular-common": "17.0.0-develop.
|
|
29
|
-
"@progress/kendo-angular-l10n": "17.0.0-develop.
|
|
30
|
-
"@progress/kendo-angular-popup": "17.0.0-develop.
|
|
31
|
-
"@progress/kendo-angular-icons": "17.0.0-develop.
|
|
28
|
+
"@progress/kendo-angular-common": "17.0.0-develop.30",
|
|
29
|
+
"@progress/kendo-angular-l10n": "17.0.0-develop.30",
|
|
30
|
+
"@progress/kendo-angular-popup": "17.0.0-develop.30",
|
|
31
|
+
"@progress/kendo-angular-icons": "17.0.0-develop.30",
|
|
32
32
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": "^2.3.1",
|
|
36
|
-
"@progress/kendo-angular-schematics": "17.0.0-develop.
|
|
36
|
+
"@progress/kendo-angular-schematics": "17.0.0-develop.30",
|
|
37
37
|
"@progress/kendo-common": "^0.2.1"
|
|
38
38
|
},
|
|
39
39
|
"schematics": "./schematics/collection.json",
|
|
40
|
-
"module": "
|
|
41
|
-
"es2020": "fesm2020/progress-kendo-angular-buttons.mjs",
|
|
42
|
-
"esm2020": "esm2020/progress-kendo-angular-buttons.mjs",
|
|
43
|
-
"fesm2020": "fesm2020/progress-kendo-angular-buttons.mjs",
|
|
44
|
-
"fesm2015": "fesm2015/progress-kendo-angular-buttons.mjs",
|
|
40
|
+
"module": "fesm2022/progress-kendo-angular-buttons.mjs",
|
|
45
41
|
"typings": "index.d.ts",
|
|
46
42
|
"exports": {
|
|
47
43
|
"./package.json": {
|
|
@@ -49,11 +45,9 @@
|
|
|
49
45
|
},
|
|
50
46
|
".": {
|
|
51
47
|
"types": "./index.d.ts",
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"node": "./fesm2015/progress-kendo-angular-buttons.mjs",
|
|
56
|
-
"default": "./fesm2020/progress-kendo-angular-buttons.mjs"
|
|
48
|
+
"esm2022": "./esm2022/progress-kendo-angular-buttons.mjs",
|
|
49
|
+
"esm": "./esm2022/progress-kendo-angular-buttons.mjs",
|
|
50
|
+
"default": "./fesm2022/progress-kendo-angular-buttons.mjs"
|
|
57
51
|
}
|
|
58
52
|
},
|
|
59
53
|
"sideEffects": false
|
|
@@ -31,5 +31,5 @@ export declare class Messages extends ComponentMessages {
|
|
|
31
31
|
*/
|
|
32
32
|
splitButtonLabel: string;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-splitbutton-messages-base", never, { "splitButtonLabel": "splitButtonLabel"; }, {}, never, never, false, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-splitbutton-messages-base", never, { "splitButtonLabel": { "alias": "splitButtonLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
35
35
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef,
|
|
5
|
+
import { ElementRef, EventEmitter, AfterViewInit, OnChanges, SimpleChanges, NgZone, ChangeDetectorRef, Renderer2 } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { Align, PopupService
|
|
7
|
+
import { Align, PopupService } from '@progress/kendo-angular-popup';
|
|
8
8
|
import { ListButton } from './../listbutton/list-button';
|
|
9
9
|
import { PopupSettings } from './../listbutton/popup-settings';
|
|
10
10
|
import { ButtonItemTemplateDirective } from './../listbutton/button-item-template.directive';
|
|
@@ -174,11 +174,6 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
174
174
|
*/
|
|
175
175
|
set data(data: any);
|
|
176
176
|
get data(): any;
|
|
177
|
-
/**
|
|
178
|
-
* The CSS classes that will be rendered on the main button.
|
|
179
|
-
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
180
|
-
*/
|
|
181
|
-
buttonClass: any;
|
|
182
177
|
/**
|
|
183
178
|
* The CSS classes that will be rendered on the button which opens the popup.
|
|
184
179
|
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
@@ -275,15 +270,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
275
270
|
* An item template that helps to customize the item content.
|
|
276
271
|
*/
|
|
277
272
|
itemTemplate: ButtonItemTemplateDirective;
|
|
278
|
-
button: ElementRef<HTMLButtonElement>;
|
|
279
|
-
arrowButton: ElementRef<HTMLButtonElement>;
|
|
280
|
-
popupTemplate: TemplateRef<any>;
|
|
281
|
-
containerRef: ViewContainerRef;
|
|
282
|
-
/**
|
|
283
|
-
* @hidden
|
|
284
|
-
*/
|
|
285
273
|
activeArrow: boolean;
|
|
286
|
-
popupRef: PopupRef;
|
|
287
274
|
listId: string;
|
|
288
275
|
/**
|
|
289
276
|
* @hidden
|
|
@@ -302,6 +289,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
302
289
|
private _rounded;
|
|
303
290
|
private _fillMode;
|
|
304
291
|
private _buttonAttributes;
|
|
292
|
+
private documentMouseUpSub;
|
|
305
293
|
set isFocused(value: boolean);
|
|
306
294
|
get isFocused(): boolean;
|
|
307
295
|
get widgetClasses(): boolean;
|
|
@@ -350,6 +338,10 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
350
338
|
* @hidden
|
|
351
339
|
*/
|
|
352
340
|
ngOnChanges(changes: SimpleChanges): void;
|
|
341
|
+
/**
|
|
342
|
+
* @hidden
|
|
343
|
+
*/
|
|
344
|
+
ngOnDestroy(): void;
|
|
353
345
|
/**
|
|
354
346
|
* @hidden
|
|
355
347
|
*/
|
|
@@ -392,5 +384,5 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
392
384
|
private toggleButtonIconClass;
|
|
393
385
|
private handleButtonAttributes;
|
|
394
386
|
static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
|
|
395
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "kendo-splitbutton", ["kendoSplitButton"], { "text": "text"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "type": "type"; "imageUrl": "imageUrl"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "disabled": "disabled"; "popupSettings": "popupSettings"; "tabIndex": "tabIndex"; "textField": "textField"; "
|
|
387
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "kendo-splitbutton", ["kendoSplitButton"], { "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "type": { "alias": "type"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "data": { "alias": "data"; "required": false; }; "arrowButtonClass": { "alias": "arrowButtonClass"; "required": false; }; "arrowButtonIcon": { "alias": "arrowButtonIcon"; "required": false; }; "arrowButtonSvgIcon": { "alias": "arrowButtonSvgIcon"; "required": false; }; "buttonAttributes": { "alias": "buttonAttributes"; "required": false; }; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["itemTemplate"], ["*"], true, never>;
|
|
396
388
|
}
|
package/util.d.ts
CHANGED
|
@@ -39,3 +39,9 @@ export declare const getStylingClasses: (componentType: any, stylingOption: stri
|
|
|
39
39
|
* Returns the themeColor classes to be added and removed
|
|
40
40
|
*/
|
|
41
41
|
export declare const getThemeColorClasses: (componentType: any, prevFillMode: any, fillMode: any, previousValue: any, newValue: any) => ButtonStylingClasses;
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*
|
|
45
|
+
* Checks for an empty object - {}
|
|
46
|
+
*/
|
|
47
|
+
export declare const isObjectEmpty: (obj: any) => boolean;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input } from '@angular/core';
|
|
6
|
-
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export class Messages extends ComponentMessages {
|
|
12
|
-
}
|
|
13
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "kendo-splitbutton-messages-base", inputs: { splitButtonLabel: "splitButtonLabel" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
|
|
16
|
-
type: Directive,
|
|
17
|
-
args: [{
|
|
18
|
-
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
19
|
-
selector: 'kendo-splitbutton-messages-base'
|
|
20
|
-
}]
|
|
21
|
-
}], propDecorators: { splitButtonLabel: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}] } });
|