@progress/kendo-angular-toolbar 5.0.1 → 6.0.0-next.202203091208
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 +5 -0
- package/{dist/es2015/common → common}/constants.d.ts +0 -0
- package/{dist/es2015/common → common}/preventable-event.d.ts +0 -0
- package/{dist/es2015/common → common}/renderer-click.d.ts +0 -0
- package/{dist/es2015/direction.d.ts → direction.d.ts} +0 -0
- package/{dist/es2015/display-mode.d.ts → display-mode.d.ts} +0 -0
- package/{dist/es2015 → esm2015}/common/constants.js +0 -0
- package/{dist/es2015 → esm2015}/common/preventable-event.js +0 -0
- package/{dist/es → esm2015}/common/renderer-click.js +1 -0
- package/{dist/es2015 → esm2015}/direction.js +1 -0
- package/{dist/es2015 → esm2015}/display-mode.js +1 -0
- package/{dist/es2015 → esm2015}/group-selection-settings.js +1 -0
- package/{dist/es/common/constants.js → esm2015/kendo-angular-toolbar.js} +2 -2
- package/esm2015/localization/custom-messages.component.js +40 -0
- package/esm2015/localization/localized-toolbar-messages.directive.js +36 -0
- package/esm2015/localization/messages.js +22 -0
- package/{dist/es → esm2015}/main.js +0 -0
- package/{dist/es2015 → esm2015}/navigation.service.js +9 -9
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es → esm2015}/popup-settings.js +1 -0
- package/{dist/es2015 → esm2015}/refresh.service.js +8 -10
- package/{dist/es → esm2015}/render-location.js +1 -0
- package/{dist/es2015 → esm2015}/renderer.component.js +36 -41
- package/{dist/es2015 → esm2015}/renderer.service.js +8 -7
- package/{dist/es → esm2015}/tool-options.js +1 -0
- package/{dist/es2015 → esm2015}/toolbar.component.js +141 -124
- package/{dist/es2015 → esm2015}/toolbar.module.js +27 -11
- package/{dist/es2015 → esm2015}/tools/toolbar-button.component.js +118 -114
- package/esm2015/tools/toolbar-buttongroup.component.js +268 -0
- package/esm2015/tools/toolbar-buttonlist.component.js +94 -0
- package/{dist/es2015 → esm2015}/tools/toolbar-dropdownbutton.component.js +120 -121
- package/esm2015/tools/toolbar-separator.component.js +69 -0
- package/{dist/es2015 → esm2015}/tools/toolbar-splitbutton.component.js +130 -125
- package/{dist/es2015 → esm2015}/tools/toolbar-tool.component.js +15 -19
- package/{dist/es2015 → esm2015}/util.js +0 -0
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-toolbar.js} +1001 -878
- package/{dist/es2015/group-selection-settings.d.ts → group-selection-settings.d.ts} +0 -0
- package/kendo-angular-toolbar.d.ts +9 -0
- package/{dist/es2015/localization → localization}/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/localization → localization}/localized-toolbar-messages.directive.d.ts +3 -0
- package/{dist/es2015/localization → localization}/messages.d.ts +3 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
- package/{dist/es2015/navigation.service.d.ts → navigation.service.d.ts} +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +32 -101
- package/{dist/es2015/popup-settings.d.ts → popup-settings.d.ts} +0 -0
- package/{dist/es2015/refresh.service.d.ts → refresh.service.d.ts} +3 -0
- package/{dist/es2015/render-location.d.ts → render-location.d.ts} +0 -0
- package/{dist/es2015/renderer.component.d.ts → renderer.component.d.ts} +4 -1
- package/{dist/es2015/renderer.service.d.ts → renderer.service.d.ts} +3 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/tool-options.d.ts → tool-options.d.ts} +0 -0
- package/{dist/es2015/toolbar.component.d.ts → toolbar.component.d.ts} +23 -16
- package/toolbar.module.d.ts +37 -0
- package/{dist/es2015/tools → tools}/toolbar-button.component.d.ts +10 -6
- package/{dist/es2015/tools → tools}/toolbar-buttongroup.component.d.ts +7 -5
- package/{dist/es2015/tools → tools}/toolbar-buttonlist.component.d.ts +3 -0
- package/{dist/es2015/tools → tools}/toolbar-dropdownbutton.component.d.ts +15 -10
- package/{dist/es2015/tools → tools}/toolbar-separator.component.d.ts +3 -0
- package/{dist/es2015/tools → tools}/toolbar-splitbutton.component.d.ts +14 -9
- package/{dist/es2015/tools → tools}/toolbar-tool.component.d.ts +5 -2
- package/{dist/es2015/util.d.ts → util.d.ts} +0 -0
- package/dist/cdn/js/kendo-angular-toolbar.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/common/preventable-event.js +0 -29
- package/dist/es/direction.js +0 -4
- package/dist/es/display-mode.js +0 -4
- package/dist/es/group-selection-settings.js +0 -4
- package/dist/es/index.js +0 -14
- package/dist/es/localization/custom-messages.component.js +0 -43
- package/dist/es/localization/localized-toolbar-messages.directive.js +0 -35
- package/dist/es/localization/messages.js +0 -22
- package/dist/es/navigation.service.js +0 -130
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/refresh.service.js +0 -22
- package/dist/es/renderer.component.js +0 -132
- package/dist/es/renderer.service.js +0 -52
- package/dist/es/toolbar.component.js +0 -627
- package/dist/es/toolbar.module.js +0 -60
- package/dist/es/tools/toolbar-button.component.js +0 -310
- package/dist/es/tools/toolbar-buttongroup.component.js +0 -165
- package/dist/es/tools/toolbar-buttonlist.component.js +0 -66
- package/dist/es/tools/toolbar-dropdownbutton.component.js +0 -368
- package/dist/es/tools/toolbar-separator.component.js +0 -67
- package/dist/es/tools/toolbar-splitbutton.component.js +0 -380
- package/dist/es/tools/toolbar-tool.component.js +0 -76
- package/dist/es/util.js +0 -204
- package/dist/es2015/common/renderer-click.js +0 -4
- package/dist/es2015/index.d.ts +0 -14
- package/dist/es2015/index.js +0 -14
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/localization/custom-messages.component.js +0 -35
- package/dist/es2015/localization/localized-toolbar-messages.directive.js +0 -31
- package/dist/es2015/localization/messages.js +0 -16
- package/dist/es2015/main.js +0 -14
- package/dist/es2015/popup-settings.js +0 -4
- package/dist/es2015/render-location.js +0 -4
- package/dist/es2015/tool-options.js +0 -4
- package/dist/es2015/toolbar.module.d.ts +0 -18
- package/dist/es2015/tools/toolbar-buttongroup.component.js +0 -216
- package/dist/es2015/tools/toolbar-buttonlist.component.js +0 -87
- package/dist/es2015/tools/toolbar-separator.component.js +0 -68
- package/dist/fesm5/index.js +0 -2651
- package/dist/npm/common/constants.js +0 -10
- package/dist/npm/common/preventable-event.js +0 -31
- package/dist/npm/common/renderer-click.js +0 -6
- package/dist/npm/direction.js +0 -6
- package/dist/npm/display-mode.js +0 -6
- package/dist/npm/group-selection-settings.js +0 -6
- package/dist/npm/index.js +0 -23
- package/dist/npm/localization/custom-messages.component.js +0 -45
- package/dist/npm/localization/localized-toolbar-messages.directive.js +0 -37
- package/dist/npm/localization/messages.js +0 -24
- package/dist/npm/main.js +0 -26
- package/dist/npm/navigation.service.js +0 -132
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/popup-settings.js +0 -6
- package/dist/npm/refresh.service.js +0 -24
- package/dist/npm/render-location.js +0 -6
- package/dist/npm/renderer.component.js +0 -134
- package/dist/npm/renderer.service.js +0 -54
- package/dist/npm/tool-options.js +0 -6
- package/dist/npm/toolbar.component.js +0 -629
- package/dist/npm/toolbar.module.js +0 -62
- package/dist/npm/tools/toolbar-button.component.js +0 -312
- package/dist/npm/tools/toolbar-buttongroup.component.js +0 -167
- package/dist/npm/tools/toolbar-buttonlist.component.js +0 -68
- package/dist/npm/tools/toolbar-dropdownbutton.component.js +0 -370
- package/dist/npm/tools/toolbar-separator.component.js +0 -69
- package/dist/npm/tools/toolbar-splitbutton.component.js +0 -382
- package/dist/npm/tools/toolbar-tool.component.js +0 -78
- package/dist/npm/util.js +0 -209
- package/dist/systemjs/kendo-angular-toolbar.js +0 -5
|
@@ -8,7 +8,8 @@ import { PopupSettings } from '../popup-settings';
|
|
|
8
8
|
import { ButtonFillMode, ButtonThemeColor, DropDownButtonComponent } from '@progress/kendo-angular-buttons';
|
|
9
9
|
import { DisplayMode } from '../display-mode';
|
|
10
10
|
import { ToolOptions } from '../tool-options';
|
|
11
|
-
import { PreventableEvent } from '
|
|
11
|
+
import { PreventableEvent } from '@progress/kendo-angular-buttons/preventable-event';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* Represents the [Kendo UI ToolBar DropDownButton for Angular]({% slug controltypes_toolbar %}#toc-dropdownbuttons).
|
|
14
15
|
*/
|
|
@@ -25,19 +26,19 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
25
26
|
* Sets the text of the DropDownButton
|
|
26
27
|
* ([see example]({% slug controltypes_toolbar %}#toc-dropdownbuttons).
|
|
27
28
|
*/
|
|
28
|
-
text: string;
|
|
29
|
+
set text(text: string);
|
|
29
30
|
/**
|
|
30
31
|
* Defines an icon that will be rendered next to the button text.
|
|
31
32
|
*/
|
|
32
|
-
icon: string;
|
|
33
|
+
set icon(icon: string);
|
|
33
34
|
/**
|
|
34
35
|
* Defines an icon with a custom CSS class that will be rendered next to the button text.
|
|
35
36
|
*/
|
|
36
|
-
iconClass: string;
|
|
37
|
+
set iconClass(iconClass: string);
|
|
37
38
|
/**
|
|
38
39
|
* Defines the location of an image that will be displayed next to the button text.
|
|
39
40
|
*/
|
|
40
|
-
imageUrl: string;
|
|
41
|
+
set imageUrl(imageUrl: string);
|
|
41
42
|
/**
|
|
42
43
|
* Configures the popup of the DropDownButton.
|
|
43
44
|
*
|
|
@@ -45,15 +46,16 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
45
46
|
* - `animate:Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
46
47
|
* - `popupClass:String`—Specifies a list of CSS classes that are used to style the popup.
|
|
47
48
|
*/
|
|
48
|
-
popupSettings: PopupSettings;
|
|
49
|
+
set popupSettings(settings: PopupSettings);
|
|
50
|
+
get popupSettings(): PopupSettings;
|
|
49
51
|
/**
|
|
50
52
|
* @hidden
|
|
51
53
|
*/
|
|
52
|
-
look: 'default' | 'flat' | 'outline';
|
|
54
|
+
set look(look: 'default' | 'flat' | 'outline');
|
|
53
55
|
/**
|
|
54
56
|
* @hidden
|
|
55
57
|
*/
|
|
56
|
-
primary: boolean;
|
|
58
|
+
set primary(primary: boolean);
|
|
57
59
|
/**
|
|
58
60
|
* The fillMode property specifies the background and border styles of the Button.
|
|
59
61
|
*
|
|
@@ -105,7 +107,8 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
105
107
|
*
|
|
106
108
|
* > The data has to be provided in an array-like list.
|
|
107
109
|
*/
|
|
108
|
-
data: any[];
|
|
110
|
+
set data(data: any[]);
|
|
111
|
+
get data(): any[];
|
|
109
112
|
/**
|
|
110
113
|
* Fires each time the user clicks a DropDownButton item.
|
|
111
114
|
* The event data contains the data item that is bound to the clicked list item.
|
|
@@ -127,7 +130,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
127
130
|
dropDownButtonComponent: DropDownButtonComponent;
|
|
128
131
|
toolbarOptions: ToolOptions;
|
|
129
132
|
overflowOptions: ToolOptions;
|
|
130
|
-
private
|
|
133
|
+
private get overflowButtons();
|
|
131
134
|
private toolbarDropDownButton;
|
|
132
135
|
private overflowDropDownButtonButtonList;
|
|
133
136
|
private _data;
|
|
@@ -153,4 +156,6 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
153
156
|
*/
|
|
154
157
|
handleKey(ev: any): boolean;
|
|
155
158
|
private focusButton;
|
|
159
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarDropDownButtonComponent, never>;
|
|
160
|
+
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>;
|
|
156
161
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { TemplateRef, ElementRef, AfterViewInit } from '@angular/core';
|
|
6
6
|
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Represents the [Kendo UI ToolBar Separator for Angular]({% slug controltypes_toolbar %}#toc-separators).
|
|
9
10
|
*/
|
|
@@ -25,4 +26,6 @@ export declare class ToolBarSeparatorComponent extends ToolBarToolComponent impl
|
|
|
25
26
|
*/
|
|
26
27
|
handleKey(): boolean;
|
|
27
28
|
ngAfterViewInit(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarSeparatorComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSeparatorComponent, "kendo-toolbar-separator", ["kendoToolBarSeparator"], {}, {}, never, never>;
|
|
28
31
|
}
|
|
@@ -8,7 +8,8 @@ import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
|
8
8
|
import { PopupSettings } from '../popup-settings';
|
|
9
9
|
import { DisplayMode } from '../display-mode';
|
|
10
10
|
import { ToolOptions } from '../tool-options';
|
|
11
|
-
import { PreventableEvent } from '
|
|
11
|
+
import { PreventableEvent } from '@progress/kendo-angular-buttons/preventable-event';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* Represents the [Kendo UI ToolBar SplitButton for Angular]({% slug controltypes_toolbar %}#toc-splitbuttons).
|
|
14
15
|
*/
|
|
@@ -24,20 +25,20 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
24
25
|
/**
|
|
25
26
|
* Sets the text of the SplitButton ([see example]({% slug controltypes_toolbar %}#toc-splitbuttons).
|
|
26
27
|
*/
|
|
27
|
-
text: string;
|
|
28
|
+
set text(text: string);
|
|
28
29
|
/**
|
|
29
30
|
* Defines the icon that will be rendered next to the button text
|
|
30
31
|
* ([see example]({% slug controltypes_toolbar %}#toc-splitbuttons)).
|
|
31
32
|
*/
|
|
32
|
-
icon: string;
|
|
33
|
+
set icon(icon: string);
|
|
33
34
|
/**
|
|
34
35
|
* Defines an icon with a custom CSS class that will be rendered next to the button text.
|
|
35
36
|
*/
|
|
36
|
-
iconClass: string;
|
|
37
|
+
set iconClass(iconClass: string);
|
|
37
38
|
/**
|
|
38
39
|
* Defines the location of an image that will be displayed next to the button text.
|
|
39
40
|
*/
|
|
40
|
-
imageUrl: string;
|
|
41
|
+
set imageUrl(imageUrl: string);
|
|
41
42
|
/**
|
|
42
43
|
* When set to `true`, disables a SplitButton item.
|
|
43
44
|
*/
|
|
@@ -49,7 +50,8 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
49
50
|
* - `animate:Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
50
51
|
* - `popupClass:String`—Specifies a list of CSS classes that are used to style the popup.
|
|
51
52
|
*/
|
|
52
|
-
popupSettings: PopupSettings;
|
|
53
|
+
set popupSettings(value: PopupSettings);
|
|
54
|
+
get popupSettings(): PopupSettings;
|
|
53
55
|
/**
|
|
54
56
|
* The fillMode property specifies the background and border styles of the Button.
|
|
55
57
|
*
|
|
@@ -83,7 +85,7 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
83
85
|
/**
|
|
84
86
|
* @hidden
|
|
85
87
|
*/
|
|
86
|
-
look: 'default' | 'flat' | 'outline';
|
|
88
|
+
set look(look: 'default' | 'flat' | 'outline');
|
|
87
89
|
/**
|
|
88
90
|
* The CSS classes that will be rendered on the main button.
|
|
89
91
|
* Supports the type of values that are supported by [`ngClass`]({{ site.data.urls.angular['ngclassapi'] }}).
|
|
@@ -108,7 +110,8 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
108
110
|
*
|
|
109
111
|
* > The data has to be provided in an array-like list.
|
|
110
112
|
*/
|
|
111
|
-
data: any[];
|
|
113
|
+
set data(data: any[]);
|
|
114
|
+
get data(): any[];
|
|
112
115
|
/**
|
|
113
116
|
* Fires each time the user clicks the main button.
|
|
114
117
|
*/
|
|
@@ -132,7 +135,7 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
132
135
|
popupTemplate: TemplateRef<any>;
|
|
133
136
|
toolbarOptions: ToolOptions;
|
|
134
137
|
overflowOptions: ToolOptions;
|
|
135
|
-
private
|
|
138
|
+
private get overflowButtons();
|
|
136
139
|
private _data;
|
|
137
140
|
private _popupSettings;
|
|
138
141
|
private focusedIndex;
|
|
@@ -163,4 +166,6 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
163
166
|
*/
|
|
164
167
|
handleKey(ev: any): boolean;
|
|
165
168
|
private focusButton;
|
|
169
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarSplitButtonComponent, never>;
|
|
170
|
+
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>;
|
|
166
171
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* Represents the Base ToolBar Tool component for Angular.
|
|
8
9
|
* Extend this class to create custom tools.
|
|
@@ -17,8 +18,8 @@ export declare class ToolBarToolComponent {
|
|
|
17
18
|
* @hidden
|
|
18
19
|
*/
|
|
19
20
|
responsive: boolean;
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
get toolbarDisplay(): string;
|
|
22
|
+
get overflowDisplay(): string;
|
|
22
23
|
/**
|
|
23
24
|
* Determines if the tool can be focused.
|
|
24
25
|
* If the returned value is `false`, the tool will not be part of the keyboard navigation.
|
|
@@ -39,4 +40,6 @@ export declare class ToolBarToolComponent {
|
|
|
39
40
|
* @returns
|
|
40
41
|
*/
|
|
41
42
|
handleKey(ev: KeyboardEvent): boolean;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarToolComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarToolComponent, "toolbar-tool", never, { "responsive": "responsive"; }, {}, never, never>;
|
|
42
45
|
}
|
|
File without changes
|