@progress/kendo-angular-toolbar 6.1.1-dev.202210141232 → 6.1.1
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-toolbar.umd.js +1 -1
- package/esm2015/navigation.service.js +31 -2
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/toolbar.component.js +40 -11
- package/esm2015/toolbar.module.js +1 -1
- package/esm2015/tools/toolbar-buttongroup.component.js +2 -1
- package/esm2015/tools/toolbar-dropdownbutton.component.js +17 -10
- package/esm2015/tools/toolbar-splitbutton.component.js +17 -9
- package/fesm2015/kendo-angular-toolbar.js +110 -37
- package/navigation.service.d.ts +1 -0
- package/package.json +1 -1
- package/toolbar.component.d.ts +9 -1
- package/toolbar.module.d.ts +1 -1
- package/tools/toolbar-dropdownbutton.component.d.ts +9 -5
- package/tools/toolbar-splitbutton.component.d.ts +10 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-toolbar",
|
|
3
|
-
"version": "6.1.1
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "Kendo UI Angular Toolbar component - a single UI element that organizes buttons and other navigation elements",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
package/toolbar.component.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export declare class ToolBarComponent {
|
|
|
92
92
|
* @hidden
|
|
93
93
|
*/
|
|
94
94
|
onFocusOut(event: any): void;
|
|
95
|
-
|
|
95
|
+
role: string;
|
|
96
96
|
get getDir(): string;
|
|
97
97
|
get resizableClass(): boolean;
|
|
98
98
|
constructor(localization: LocalizationService, popupService: PopupService, refreshService: RefreshService, navigationService: NavigationService, element: ElementRef, zone: NgZone, renderer: Renderer2, _cdr: ChangeDetectorRef);
|
|
@@ -132,6 +132,14 @@ export declare class ToolBarComponent {
|
|
|
132
132
|
* @hidden
|
|
133
133
|
*/
|
|
134
134
|
onPopupClose(): void;
|
|
135
|
+
/**
|
|
136
|
+
* @hidden
|
|
137
|
+
*/
|
|
138
|
+
overflowBtnId: string;
|
|
139
|
+
/**
|
|
140
|
+
* @hidden
|
|
141
|
+
*/
|
|
142
|
+
popupId: string;
|
|
135
143
|
private displayAnchor;
|
|
136
144
|
private get popupWidth();
|
|
137
145
|
private get popupHeight();
|
package/toolbar.module.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import * as i14 from "@progress/kendo-angular-buttons";
|
|
|
20
20
|
import * as i15 from "@progress/kendo-angular-popup";
|
|
21
21
|
import * as i16 from "@progress/kendo-angular-common";
|
|
22
22
|
/**
|
|
23
|
-
* Represents the [NgModule](
|
|
23
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the ToolBar component.
|
|
24
24
|
*
|
|
25
25
|
* The package exports:
|
|
26
26
|
* - `ToolBarComponent`—The ToolBarComponent class.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef, TemplateRef, EventEmitter } from '@angular/core';
|
|
5
|
+
import { ElementRef, TemplateRef, EventEmitter, OnInit } from '@angular/core';
|
|
6
6
|
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
7
7
|
import { PopupSettings } from '../popup-settings';
|
|
8
8
|
import { ButtonFillMode, ButtonThemeColor, DropDownButtonComponent } from '@progress/kendo-angular-buttons';
|
|
@@ -13,11 +13,12 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
/**
|
|
14
14
|
* Represents the [Kendo UI ToolBar DropDownButton for Angular]({% slug controltypes_toolbar %}#toc-dropdownbuttons).
|
|
15
15
|
*/
|
|
16
|
-
export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
16
|
+
export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent implements OnInit {
|
|
17
17
|
/**
|
|
18
18
|
* Defines the location of the button text that will be displayed.
|
|
19
19
|
*/
|
|
20
|
-
showText: DisplayMode;
|
|
20
|
+
set showText(value: DisplayMode);
|
|
21
|
+
get showText(): DisplayMode;
|
|
21
22
|
/**
|
|
22
23
|
* Defines the location of the button icon that will be displayed.
|
|
23
24
|
*/
|
|
@@ -26,7 +27,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
26
27
|
* Sets the text of the DropDownButton
|
|
27
28
|
* ([see example]({% slug controltypes_toolbar %}#toc-dropdownbuttons).
|
|
28
29
|
*/
|
|
29
|
-
|
|
30
|
+
text: string;
|
|
30
31
|
/**
|
|
31
32
|
* Defines an icon that will be rendered next to the button text.
|
|
32
33
|
*/
|
|
@@ -89,7 +90,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
89
90
|
themeColor: ButtonThemeColor;
|
|
90
91
|
/**
|
|
91
92
|
* The CSS classes that will be rendered on the main button.
|
|
92
|
-
* Supports the type of values that are supported by [`ngClass`](
|
|
93
|
+
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
93
94
|
*/
|
|
94
95
|
buttonClass: string;
|
|
95
96
|
/**
|
|
@@ -130,12 +131,14 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
130
131
|
dropDownButtonComponent: DropDownButtonComponent;
|
|
131
132
|
toolbarOptions: ToolOptions;
|
|
132
133
|
overflowOptions: ToolOptions;
|
|
134
|
+
ngOnInit(): void;
|
|
133
135
|
private get overflowButtons();
|
|
134
136
|
private toolbarDropDownButton;
|
|
135
137
|
private overflowDropDownButtonButtonList;
|
|
136
138
|
private _data;
|
|
137
139
|
private _popupSettings;
|
|
138
140
|
private focusedIndex;
|
|
141
|
+
private _showText;
|
|
139
142
|
private getNextKey;
|
|
140
143
|
private getPrevKey;
|
|
141
144
|
constructor();
|
|
@@ -156,6 +159,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
156
159
|
*/
|
|
157
160
|
handleKey(ev: any): boolean;
|
|
158
161
|
private focusButton;
|
|
162
|
+
private setTextDisplayMode;
|
|
159
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarDropDownButtonComponent, never>;
|
|
160
164
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarDropDownButtonComponent, "kendo-toolbar-dropdownbutton", ["kendoToolBarDropDownButton"], { "showText": "showText"; "showIcon": "showIcon"; "text": "text"; "icon": "icon"; "iconClass": "iconClass"; "imageUrl": "imageUrl"; "popupSettings": "popupSettings"; "look": "look"; "primary": "primary"; "fillMode": "fillMode"; "themeColor": "themeColor"; "buttonClass": "buttonClass"; "textField": "textField"; "disabled": "disabled"; "data": "data"; }, { "itemClick": "itemClick"; "open": "open"; "close": "close"; }, never, never>;
|
|
161
165
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef, EventEmitter } from '@angular/core';
|
|
5
|
+
import { TemplateRef, EventEmitter, OnInit } from '@angular/core';
|
|
6
6
|
import { ButtonFillMode, ButtonThemeColor } from '@progress/kendo-angular-buttons';
|
|
7
7
|
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
8
8
|
import { PopupSettings } from '../popup-settings';
|
|
@@ -13,11 +13,12 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
/**
|
|
14
14
|
* Represents the [Kendo UI ToolBar SplitButton for Angular]({% slug controltypes_toolbar %}#toc-splitbuttons).
|
|
15
15
|
*/
|
|
16
|
-
export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
16
|
+
export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent implements OnInit {
|
|
17
17
|
/**
|
|
18
18
|
* Specifies where button text should be displayed
|
|
19
19
|
*/
|
|
20
|
-
showText: DisplayMode;
|
|
20
|
+
set showText(value: DisplayMode);
|
|
21
|
+
get showText(): DisplayMode;
|
|
21
22
|
/**
|
|
22
23
|
* Specifies where button icon should be displayed
|
|
23
24
|
*/
|
|
@@ -25,7 +26,7 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
25
26
|
/**
|
|
26
27
|
* Sets the text of the SplitButton ([see example]({% slug controltypes_toolbar %}#toc-splitbuttons).
|
|
27
28
|
*/
|
|
28
|
-
|
|
29
|
+
text: string;
|
|
29
30
|
/**
|
|
30
31
|
* Defines the icon that will be rendered next to the button text
|
|
31
32
|
* ([see example]({% slug controltypes_toolbar %}#toc-splitbuttons)).
|
|
@@ -88,12 +89,12 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
88
89
|
set look(look: 'default' | 'flat' | 'outline');
|
|
89
90
|
/**
|
|
90
91
|
* The CSS classes that will be rendered on the main button.
|
|
91
|
-
* Supports the type of values that are supported by [`ngClass`](
|
|
92
|
+
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
92
93
|
*/
|
|
93
94
|
buttonClass: string;
|
|
94
95
|
/**
|
|
95
96
|
* The CSS classes that will be rendered on the button which opens the popup.
|
|
96
|
-
* Supports the type of values that are supported by [`ngClass`](
|
|
97
|
+
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
97
98
|
*/
|
|
98
99
|
arrowButtonClass: any;
|
|
99
100
|
/**
|
|
@@ -135,10 +136,12 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
135
136
|
popupTemplate: TemplateRef<any>;
|
|
136
137
|
toolbarOptions: ToolOptions;
|
|
137
138
|
overflowOptions: ToolOptions;
|
|
139
|
+
ngOnInit(): void;
|
|
138
140
|
private get overflowButtons();
|
|
139
141
|
private _data;
|
|
140
142
|
private _popupSettings;
|
|
141
143
|
private focusedIndex;
|
|
144
|
+
private _showText;
|
|
142
145
|
private getNextKey;
|
|
143
146
|
private getPrevKey;
|
|
144
147
|
private toolbarSplitButton;
|
|
@@ -166,6 +169,7 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
166
169
|
*/
|
|
167
170
|
handleKey(ev: any): boolean;
|
|
168
171
|
private focusButton;
|
|
172
|
+
private setTextDisplayMode;
|
|
169
173
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarSplitButtonComponent, never>;
|
|
170
174
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSplitButtonComponent, "kendo-toolbar-splitbutton", ["kendoToolBarSplitButton"], { "showText": "showText"; "showIcon": "showIcon"; "text": "text"; "icon": "icon"; "iconClass": "iconClass"; "imageUrl": "imageUrl"; "disabled": "disabled"; "popupSettings": "popupSettings"; "fillMode": "fillMode"; "themeColor": "themeColor"; "look": "look"; "buttonClass": "buttonClass"; "arrowButtonClass": "arrowButtonClass"; "arrowButtonIcon": "arrowButtonIcon"; "textField": "textField"; "data": "data"; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "open": "open"; "close": "close"; }, never, never>;
|
|
171
175
|
}
|