@progress/kendo-angular-toolbar 11.0.0-develop.105 → 11.0.0-develop.107
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/esm2020/package-metadata.mjs +1 -1
- package/esm2020/toolbar.component.mjs +19 -10
- package/esm2020/toolbar.module.mjs +4 -3
- package/esm2020/tools/toolbar-button.component.mjs +41 -19
- package/esm2020/tools/toolbar-buttongroup.component.mjs +26 -8
- package/esm2020/tools/toolbar-buttonlist.component.mjs +2 -0
- package/esm2020/tools/toolbar-dropdownbutton.component.mjs +39 -31
- package/esm2020/tools/toolbar-splitbutton.component.mjs +43 -31
- package/fesm2015/progress-kendo-angular-toolbar.mjs +171 -103
- package/fesm2020/progress-kendo-angular-toolbar.mjs +171 -103
- package/package.json +7 -6
- package/schematics/ngAdd/index.js +4 -2
- package/tool-options.d.ts +2 -0
- package/toolbar.component.d.ts +2 -0
- package/toolbar.module.d.ts +2 -1
- package/tools/toolbar-button.component.d.ts +7 -5
- package/tools/toolbar-dropdownbutton.component.d.ts +0 -4
- package/tools/toolbar-splitbutton.component.d.ts +0 -4
- package/util.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-toolbar",
|
|
3
|
-
"version": "11.0.0-develop.
|
|
3
|
+
"version": "11.0.0-develop.107",
|
|
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",
|
|
@@ -29,11 +29,12 @@
|
|
|
29
29
|
"@angular/core": "13 - 15",
|
|
30
30
|
"@angular/platform-browser": "13 - 15",
|
|
31
31
|
"@progress/kendo-licensing": "^1.0.2",
|
|
32
|
-
"@progress/kendo-angular-buttons": "11.0.0-develop.
|
|
33
|
-
"@progress/kendo-angular-common": "11.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-l10n": "11.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-
|
|
36
|
-
"@progress/kendo-angular-
|
|
32
|
+
"@progress/kendo-angular-buttons": "11.0.0-develop.107",
|
|
33
|
+
"@progress/kendo-angular-common": "11.0.0-develop.107",
|
|
34
|
+
"@progress/kendo-angular-l10n": "11.0.0-develop.107",
|
|
35
|
+
"@progress/kendo-angular-icons": "11.0.0-develop.107",
|
|
36
|
+
"@progress/kendo-angular-popup": "11.0.0-develop.107",
|
|
37
|
+
"@progress/kendo-angular-schematics": "11.0.0-develop.107",
|
|
37
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
4
4
|
function default_1(options) {
|
|
5
|
-
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'ToolBarModule', package: 'toolbar'
|
|
6
|
-
|
|
5
|
+
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'ToolBarModule', package: 'toolbar', peerDependencies: {
|
|
6
|
+
// peer dep of the icons
|
|
7
|
+
'@progress/kendo-svg-icons': '^1.0.0'
|
|
8
|
+
} });
|
|
7
9
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
8
10
|
}
|
|
9
11
|
exports.default = default_1;
|
package/tool-options.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright © 2023 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 { SVGIcon } from "@progress/kendo-svg-icons";
|
|
5
6
|
/**
|
|
6
7
|
* @hidden
|
|
7
8
|
*/
|
|
@@ -9,5 +10,6 @@ export interface ToolOptions {
|
|
|
9
10
|
text: string;
|
|
10
11
|
icon: string;
|
|
11
12
|
iconClass: string;
|
|
13
|
+
svgIcon: SVGIcon;
|
|
12
14
|
imageUrl: string;
|
|
13
15
|
}
|
package/toolbar.component.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { PreventableEvent } from './common/preventable-event';
|
|
|
15
15
|
import { ToolBarRendererComponent } from './renderer.component';
|
|
16
16
|
import { Direction } from './direction';
|
|
17
17
|
import { RendererClickPayload } from './common/renderer-click';
|
|
18
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
18
19
|
import * as i0 from "@angular/core";
|
|
19
20
|
/**
|
|
20
21
|
* Represents the [Kendo UI ToolBar component for Angular]({% slug overview_toolbar %}).
|
|
@@ -109,6 +110,7 @@ export declare class ToolBarComponent {
|
|
|
109
110
|
role: string;
|
|
110
111
|
get getDir(): string;
|
|
111
112
|
get resizableClass(): boolean;
|
|
113
|
+
moreVerticalIcon: SVGIcon;
|
|
112
114
|
constructor(localization: LocalizationService, popupService: PopupService, refreshService: RefreshService, navigationService: NavigationService, element: ElementRef, zone: NgZone, renderer: Renderer2, _cdr: ChangeDetectorRef);
|
|
113
115
|
ngAfterViewInit(): void;
|
|
114
116
|
ngOnInit(): void;
|
package/toolbar.module.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import * as i13 from "@angular/common";
|
|
|
19
19
|
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
|
+
import * as i17 from "@progress/kendo-angular-icons";
|
|
22
23
|
/**
|
|
23
24
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the ToolBar component.
|
|
24
25
|
*
|
|
@@ -33,6 +34,6 @@ import * as i16 from "@progress/kendo-angular-common";
|
|
|
33
34
|
*/
|
|
34
35
|
export declare class ToolBarModule {
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolBarModule, [typeof i1.ToolBarComponent, typeof i2.ToolBarToolComponent, typeof i3.ToolBarButtonComponent, typeof i4.ToolBarButtonGroupComponent, typeof i5.ToolBarDropDownButtonComponent, typeof i6.ToolBarSplitButtonComponent, typeof i7.ToolBarSeparatorComponent, typeof i8.ToolBarSpacerComponent, typeof i9.ToolBarRendererComponent, typeof i10.ToolBarButtonListComponent, typeof i11.ToolbarCustomMessagesComponent, typeof i12.LocalizedToolbarMessagesDirective], [typeof i13.CommonModule, typeof i14.ButtonsModule, typeof i15.PopupModule, typeof i16.ResizeSensorModule], [typeof i1.ToolBarComponent, typeof i2.ToolBarToolComponent, typeof i3.ToolBarButtonComponent, typeof i4.ToolBarButtonGroupComponent, typeof i5.ToolBarDropDownButtonComponent, typeof i6.ToolBarSplitButtonComponent, typeof i7.ToolBarSeparatorComponent, typeof i8.ToolBarSpacerComponent, typeof i11.ToolbarCustomMessagesComponent, typeof i12.LocalizedToolbarMessagesDirective]>;
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolBarModule, [typeof i1.ToolBarComponent, typeof i2.ToolBarToolComponent, typeof i3.ToolBarButtonComponent, typeof i4.ToolBarButtonGroupComponent, typeof i5.ToolBarDropDownButtonComponent, typeof i6.ToolBarSplitButtonComponent, typeof i7.ToolBarSeparatorComponent, typeof i8.ToolBarSpacerComponent, typeof i9.ToolBarRendererComponent, typeof i10.ToolBarButtonListComponent, typeof i11.ToolbarCustomMessagesComponent, typeof i12.LocalizedToolbarMessagesDirective], [typeof i13.CommonModule, typeof i14.ButtonsModule, typeof i15.PopupModule, typeof i16.ResizeSensorModule, typeof i17.IconsModule], [typeof i1.ToolBarComponent, typeof i2.ToolBarToolComponent, typeof i3.ToolBarButtonComponent, typeof i4.ToolBarButtonGroupComponent, typeof i5.ToolBarDropDownButtonComponent, typeof i6.ToolBarSplitButtonComponent, typeof i7.ToolBarSeparatorComponent, typeof i8.ToolBarSpacerComponent, typeof i11.ToolbarCustomMessagesComponent, typeof i12.LocalizedToolbarMessagesDirective]>;
|
|
37
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<ToolBarModule>;
|
|
38
39
|
}
|
|
@@ -7,6 +7,7 @@ import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
|
7
7
|
import { DisplayMode } from '../display-mode';
|
|
8
8
|
import { ToolOptions } from '../tool-options';
|
|
9
9
|
import { ButtonFillMode, ButtonThemeColor } from '@progress/kendo-angular-buttons';
|
|
10
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* Represents the [Kendo UI ToolBar Button tool for Angular]({% slug controltypes_toolbar %}#toc-buttons).
|
|
@@ -108,6 +109,11 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
108
109
|
* which are applied to a `span` element inside the Button. Allows the usage of custom icons.
|
|
109
110
|
*/
|
|
110
111
|
set iconClass(iconClass: string);
|
|
112
|
+
/**
|
|
113
|
+
* Defines an SVGIcon to be rendered within the button.
|
|
114
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
115
|
+
*/
|
|
116
|
+
set svgIcon(icon: SVGIcon);
|
|
111
117
|
/**
|
|
112
118
|
* Defines a URL which is used for an `img` element inside the Button.
|
|
113
119
|
* The URL can be relative or absolute. If relative, it is evaluated with relation to the web page URL.
|
|
@@ -159,10 +165,6 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
159
165
|
* @hidden
|
|
160
166
|
*/
|
|
161
167
|
handleClick(ev: Event): void;
|
|
162
|
-
/**
|
|
163
|
-
* @hidden
|
|
164
|
-
*/
|
|
165
|
-
getIconClasses(): string;
|
|
166
168
|
/**
|
|
167
169
|
* @hidden
|
|
168
170
|
*/
|
|
@@ -170,5 +172,5 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
170
172
|
private getButton;
|
|
171
173
|
private setTextDisplayMode;
|
|
172
174
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarButtonComponent, never>;
|
|
173
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarButtonComponent, "kendo-toolbar-button", ["kendoToolBarButton"], { "showText": "showText"; "showIcon": "showIcon"; "text": "text"; "style": "style"; "className": "className"; "title": "title"; "disabled": "disabled"; "toggleable": "toggleable"; "look": "look"; "togglable": "togglable"; "selected": "selected"; "fillMode": "fillMode"; "themeColor": "themeColor"; "icon": "icon"; "iconClass": "iconClass"; "imageUrl": "imageUrl"; }, { "click": "click"; "pointerdown": "pointerdown"; "selectedChange": "selectedChange"; }, never, never>;
|
|
175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarButtonComponent, "kendo-toolbar-button", ["kendoToolBarButton"], { "showText": "showText"; "showIcon": "showIcon"; "text": "text"; "style": "style"; "className": "className"; "title": "title"; "disabled": "disabled"; "toggleable": "toggleable"; "look": "look"; "togglable": "togglable"; "selected": "selected"; "fillMode": "fillMode"; "themeColor": "themeColor"; "icon": "icon"; "iconClass": "iconClass"; "svgIcon": "svgIcon"; "imageUrl": "imageUrl"; }, { "click": "click"; "pointerdown": "pointerdown"; "selectedChange": "selectedChange"; }, never, never>;
|
|
174
176
|
}
|
package/util.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export declare const getPrevKey: (rtl?: boolean) => (overflows?: boolean) => Key
|
|
|
82
82
|
/**
|
|
83
83
|
* @hidden
|
|
84
84
|
*/
|
|
85
|
-
export declare const getValueForLocation: (property:
|
|
85
|
+
export declare const getValueForLocation: (property: any, displayMode: DisplayMode, overflows: boolean) => any;
|
|
86
86
|
/**
|
|
87
87
|
* @hidden
|
|
88
88
|
*/
|