@progress/kendo-angular-toolbar 19.0.0-develop.3 → 19.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/codemods/template-transformer/index.js +94 -0
- package/codemods/utils.js +553 -0
- package/codemods/v19/toolbar-button-showicon.js +53 -0
- package/codemods/v19/toolbar-button-showtext.js +53 -0
- package/display-mode.d.ts +9 -3
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/renderer.component.mjs +38 -9
- package/esm2022/toolbar.component.mjs +36 -4
- package/esm2022/tools/toolbar-button.component.mjs +24 -10
- package/esm2022/tools/toolbar-dropdownbutton.component.mjs +23 -14
- package/esm2022/tools/toolbar-splitbutton.component.mjs +33 -12
- package/esm2022/tools/toolbar-tool.component.mjs +4 -0
- package/esm2022/util.mjs +3 -1
- package/fesm2022/progress-kendo-angular-toolbar.mjs +156 -53
- package/package.json +29 -8
- package/renderer.component.d.ts +1 -0
- package/toolbar.component.d.ts +21 -2
- package/tools/toolbar-button.component.d.ts +12 -5
- package/tools/toolbar-dropdownbutton.component.d.ts +8 -4
- package/tools/toolbar-splitbutton.component.d.ts +8 -4
- package/tools/toolbar-tool.component.d.ts +4 -0
|
@@ -10,6 +10,7 @@ import { DisplayMode } from '../display-mode';
|
|
|
10
10
|
import { ToolOptions } from '../tool-options';
|
|
11
11
|
import { PreventableEvent } from '@progress/kendo-angular-buttons';
|
|
12
12
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
13
|
+
import { ToolBarComponent } from '../toolbar.component';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
/**
|
|
15
16
|
* Represents the [Kendo UI ToolBar DropDownButton for Angular](slug:controltypes_toolbar#drop-down-buttons).
|
|
@@ -17,6 +18,7 @@ import * as i0 from "@angular/core";
|
|
|
17
18
|
export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent implements OnInit {
|
|
18
19
|
private zone;
|
|
19
20
|
private renderer;
|
|
21
|
+
private host;
|
|
20
22
|
/**
|
|
21
23
|
* Allows showing the default arrow icon or providing alternative one instead.
|
|
22
24
|
* @default false
|
|
@@ -28,14 +30,15 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
28
30
|
*/
|
|
29
31
|
title: string;
|
|
30
32
|
/**
|
|
31
|
-
*
|
|
33
|
+
* Specifies the button text visibility.
|
|
32
34
|
*/
|
|
33
35
|
set showText(value: DisplayMode);
|
|
34
36
|
get showText(): DisplayMode;
|
|
35
37
|
/**
|
|
36
|
-
*
|
|
38
|
+
* Specifies the button icon visibility.
|
|
37
39
|
*/
|
|
38
|
-
showIcon: DisplayMode;
|
|
40
|
+
set showIcon(value: DisplayMode);
|
|
41
|
+
get showIcon(): DisplayMode;
|
|
39
42
|
/**
|
|
40
43
|
* Sets the text of the DropDownButton
|
|
41
44
|
* ([see example](slug:controltypes_toolbar#toc-drop-down-buttons)).
|
|
@@ -155,10 +158,11 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
155
158
|
private _popupSettings;
|
|
156
159
|
private focusedIndex;
|
|
157
160
|
private _showText;
|
|
161
|
+
private _showIcon;
|
|
158
162
|
private _text;
|
|
159
163
|
private getNextKey;
|
|
160
164
|
private getPrevKey;
|
|
161
|
-
constructor(zone: NgZone, renderer: Renderer2);
|
|
165
|
+
constructor(zone: NgZone, renderer: Renderer2, host: ToolBarComponent);
|
|
162
166
|
ngOnInit(): void;
|
|
163
167
|
ngAfterViewInit(): void;
|
|
164
168
|
/**
|
|
@@ -10,20 +10,23 @@ import { DisplayMode } from '../display-mode';
|
|
|
10
10
|
import { ToolOptions } from '../tool-options';
|
|
11
11
|
import { PreventableEvent } from '@progress/kendo-angular-buttons';
|
|
12
12
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
13
|
+
import { ToolBarComponent } from '../toolbar.component';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
/**
|
|
15
16
|
* Represents the [Kendo UI ToolBar SplitButton for Angular](slug:controltypes_toolbar#toc-split-buttons).
|
|
16
17
|
*/
|
|
17
18
|
export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent implements OnInit {
|
|
19
|
+
private host;
|
|
18
20
|
/**
|
|
19
|
-
* Specifies
|
|
21
|
+
* Specifies the button text visibility.
|
|
20
22
|
*/
|
|
21
23
|
set showText(value: DisplayMode);
|
|
22
24
|
get showText(): DisplayMode;
|
|
23
25
|
/**
|
|
24
|
-
* Specifies
|
|
26
|
+
* Specifies the button icon visibility.
|
|
25
27
|
*/
|
|
26
|
-
showIcon: DisplayMode;
|
|
28
|
+
set showIcon(value: DisplayMode);
|
|
29
|
+
get showIcon(): DisplayMode;
|
|
27
30
|
/**
|
|
28
31
|
* Sets the text of the SplitButton ([see example](slug:controltypes_toolbar#toc-split-buttons)).
|
|
29
32
|
*/
|
|
@@ -152,6 +155,7 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
152
155
|
private _popupSettings;
|
|
153
156
|
private focusedIndex;
|
|
154
157
|
private _showText;
|
|
158
|
+
private _showIcon;
|
|
155
159
|
private _text;
|
|
156
160
|
private getNextKey;
|
|
157
161
|
private getPrevKey;
|
|
@@ -159,7 +163,7 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
159
163
|
private sectionSplitButton;
|
|
160
164
|
private overflowMainButton;
|
|
161
165
|
overflowListItems: QueryList<ElementRef>;
|
|
162
|
-
constructor();
|
|
166
|
+
constructor(host: ToolBarComponent);
|
|
163
167
|
/**
|
|
164
168
|
* @hidden
|
|
165
169
|
*/
|