@progress/kendo-angular-toolbar 5.0.4 → 6.0.0-dev.202204190531
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 +23 -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 +164 -131
- package/{dist/es2015 → esm2015}/toolbar.module.js +27 -11
- package/{dist/es2015 → esm2015}/tools/toolbar-button.component.js +117 -114
- package/esm2015/tools/toolbar-buttongroup.component.js +267 -0
- package/esm2015/tools/toolbar-buttonlist.component.js +94 -0
- package/{dist/es2015 → esm2015}/tools/toolbar-dropdownbutton.component.js +119 -121
- package/esm2015/tools/toolbar-separator.component.js +68 -0
- package/{dist/es2015 → esm2015}/tools/toolbar-splitbutton.component.js +128 -126
- 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} +1012 -879
- 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 +34 -102
- 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} +26 -17
- 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 -648
- 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 -2672
- 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 -650
- 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
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Generated bundle index. Do not edit.
|
|
7
|
+
*/
|
|
8
|
+
/// <amd-module name="@progress/kendo-angular-toolbar" />
|
|
9
|
+
export * from './main';
|
|
@@ -4,11 +4,14 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
6
|
import { ToolbarMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Custom component messages override default component messages.
|
|
9
10
|
*/
|
|
10
11
|
export declare class ToolbarCustomMessagesComponent extends ToolbarMessages {
|
|
11
12
|
protected service: LocalizationService;
|
|
12
13
|
constructor(service: LocalizationService);
|
|
13
|
-
protected
|
|
14
|
+
protected get override(): boolean;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarCustomMessagesComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarCustomMessagesComponent, "kendo-toolbar-messages", never, {}, {}, never, never>;
|
|
14
17
|
}
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
6
|
import { ToolbarMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
10
11
|
export declare class LocalizedToolbarMessagesDirective extends ToolbarMessages {
|
|
11
12
|
protected service: LocalizationService;
|
|
12
13
|
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedToolbarMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedToolbarMessagesDirective, "[kendoToolbarLocalizedMessages]", never, {}, {}, never>;
|
|
13
16
|
}
|
|
@@ -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 { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @hidden
|
|
8
9
|
*/
|
|
@@ -11,4 +12,6 @@ export declare class ToolbarMessages extends ComponentMessages {
|
|
|
11
12
|
* The title of the **more tools** button in a responsive ToolBar
|
|
12
13
|
*/
|
|
13
14
|
moreToolsTitle: string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarMessages, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarMessages, "kendo-toolbar-messages-base", never, { "moreToolsTitle": "moreToolsTitle"; }, {}, never>;
|
|
14
17
|
}
|
|
File without changes
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { ElementRef, NgZone } from '@angular/core';
|
|
6
6
|
import { ToolBarRendererComponent } from './renderer.component';
|
|
7
7
|
import { RendererClickPayload } from './common/renderer-click';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*/
|
|
@@ -29,4 +30,6 @@ export declare class NavigationService {
|
|
|
29
30
|
private blurOverflowButton;
|
|
30
31
|
private focusOverflowButton;
|
|
31
32
|
private isOverflowButtonVisible;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
32
35
|
}
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,32 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-toolbar",
|
|
3
|
+
"version": "6.0.0-dev.202204190531",
|
|
3
4
|
"description": "Kendo UI Angular Toolbar component - a single UI element that organizes buttons and other navigation elements",
|
|
4
|
-
"author": "Progress",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"jsdelivr": "dist/cdn/main.js",
|
|
15
|
-
"unpkg": "dist/cdn/main.js",
|
|
16
|
-
"sideEffects": false,
|
|
17
|
-
"scripts": {
|
|
18
|
-
"test": "ci-angular-test",
|
|
19
|
-
"test:watch": "jest --watch --env=jsdom",
|
|
20
|
-
"test:ci": "ci-angular-test",
|
|
21
|
-
"start": "gulp start",
|
|
22
|
-
"e2e": "gulp e2e",
|
|
23
|
-
"e2e:ci": "ci-angular-e2e",
|
|
24
|
-
"lint": "gulp lint && gulp lint-docs",
|
|
25
|
-
"api-check": "gulp api-check",
|
|
26
|
-
"build-package": "gulp build-package",
|
|
27
|
-
"semantic-release": "semantic-release pre && semantic-prerelease publish --public && semantic-release post"
|
|
6
|
+
"author": "Progress",
|
|
7
|
+
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/telerik/kendo-angular-toolbar.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/telerik/kendo-angular"
|
|
28
14
|
},
|
|
29
15
|
"keywords": [
|
|
16
|
+
"Angular",
|
|
30
17
|
"Kendo UI",
|
|
31
18
|
"Progress",
|
|
32
19
|
"Angular",
|
|
@@ -37,68 +24,22 @@
|
|
|
37
24
|
"navbar",
|
|
38
25
|
"navigation-bar"
|
|
39
26
|
],
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"@angular/core": "8 - 13",
|
|
43
|
-
"@progress/kendo-angular-buttons": "^7.0.0",
|
|
44
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
45
|
-
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
46
|
-
"@progress/kendo-angular-popup": "^4.0.0",
|
|
47
|
-
"@progress/kendo-licensing": "^1.0.2",
|
|
48
|
-
"rxjs": "^6.4.0 || ^7.0.0"
|
|
27
|
+
"@progress": {
|
|
28
|
+
"friendlyName": "ToolBar"
|
|
49
29
|
},
|
|
50
30
|
"dependencies": {
|
|
51
|
-
"@progress/kendo-schematics": "^
|
|
52
|
-
"tslib": "^
|
|
31
|
+
"@progress/kendo-schematics": "^3.0.0",
|
|
32
|
+
"tslib": "^2.3.1"
|
|
53
33
|
},
|
|
54
|
-
"
|
|
55
|
-
"@angular
|
|
56
|
-
"@angular
|
|
57
|
-
"@angular
|
|
58
|
-
"@angular
|
|
59
|
-
"@angular
|
|
60
|
-
"@
|
|
61
|
-
"@angular/core": "^8.2.0",
|
|
62
|
-
"@angular/forms": "^8.2.0",
|
|
63
|
-
"@angular/platform-browser": "^8.2.0",
|
|
64
|
-
"@angular/platform-browser-dynamic": "^8.2.0",
|
|
65
|
-
"@angular/platform-server": "^8.2.0",
|
|
66
|
-
"@angular/router": "^8.2.0",
|
|
67
|
-
"@progress/kendo-angular-buttons": "^7.0.0",
|
|
68
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
69
|
-
"@progress/kendo-angular-dialog": "^6.0.0",
|
|
70
|
-
"@progress/kendo-angular-dropdowns": "^6.0.0",
|
|
71
|
-
"@progress/kendo-angular-e2e": "^3.3.0",
|
|
72
|
-
"@progress/kendo-angular-jest-preset": "latest",
|
|
73
|
-
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
74
|
-
"@progress/kendo-angular-popup": "^4.0.0",
|
|
75
|
-
"@progress/kendo-angular-tasks": "^19.3.3",
|
|
76
|
-
"@progress/kendo-angular-treeview": "^6.0.0",
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"@angular/common": "^12.0.0 || ^13.0.0",
|
|
36
|
+
"@angular/core": "^12.0.0 || ^13.0.0",
|
|
37
|
+
"@progress/kendo-angular-buttons": ">8.0.0-next",
|
|
38
|
+
"@progress/kendo-angular-common": ">3.0.0-next",
|
|
39
|
+
"@progress/kendo-angular-l10n": ">4.0.0-next",
|
|
40
|
+
"@progress/kendo-angular-popup": ">5.0.0-next",
|
|
77
41
|
"@progress/kendo-licensing": "^1.0.2",
|
|
78
|
-
"
|
|
79
|
-
"@progress/kendo-theme-bootstrap": "^5.0.0",
|
|
80
|
-
"@progress/kendo-theme-default": "^5.0.0",
|
|
81
|
-
"@progress/kendo-theme-material": "^5.0.0",
|
|
82
|
-
"@telerik/semantic-prerelease": "^1.0.0",
|
|
83
|
-
"@types/jest": "^24.9.0",
|
|
84
|
-
"@types/node": "ts3.4",
|
|
85
|
-
"@types/zone.js": "0.0.27",
|
|
86
|
-
"codelyzer": "^5.0.0",
|
|
87
|
-
"core-js": "^2.2.2",
|
|
88
|
-
"cz-conventional-changelog": "^1.1.5",
|
|
89
|
-
"ghooks": "^1.0.3",
|
|
90
|
-
"gulp": "^4.0.0",
|
|
91
|
-
"jest": "^24.9.0",
|
|
92
|
-
"jest-cli": "^24.9.0",
|
|
93
|
-
"jest-environment-jsdom": "^24.9.0",
|
|
94
|
-
"jest-junit": "^12.2.0",
|
|
95
|
-
"rxjs": "~6.4.0",
|
|
96
|
-
"rxjs-tslint-rules": "^4.23.1",
|
|
97
|
-
"semantic-release": "^6.3.6",
|
|
98
|
-
"tslint": "^5.20.1",
|
|
99
|
-
"typescript": "~3.4.5",
|
|
100
|
-
"validate-commit-msg": "^1.1.1",
|
|
101
|
-
"zone.js": "~0.9.1"
|
|
42
|
+
"rxjs": "^6.5.3 || ^7.0.0"
|
|
102
43
|
},
|
|
103
44
|
"config": {
|
|
104
45
|
"commitizen": {
|
|
@@ -123,27 +64,16 @@
|
|
|
123
64
|
"maxSubjectLength": 100
|
|
124
65
|
}
|
|
125
66
|
},
|
|
126
|
-
"
|
|
127
|
-
"friendlyName": "ToolBar"
|
|
128
|
-
},
|
|
129
|
-
"homepage": "https://www.telerik.com/kendo-angular-ui/toolbar",
|
|
130
|
-
"jest": {
|
|
131
|
-
"preset": "@progress/kendo-angular-jest-preset"
|
|
132
|
-
},
|
|
133
|
-
"repository": {
|
|
134
|
-
"type": "git",
|
|
135
|
-
"url": "https://github.com/telerik/kendo-angular-toolbar.git"
|
|
136
|
-
},
|
|
137
|
-
"bugs": {
|
|
138
|
-
"url": "https://github.com/telerik/kendo-angular"
|
|
139
|
-
},
|
|
67
|
+
"schematics": "./schematics/collection.json",
|
|
140
68
|
"release": {
|
|
141
69
|
"debug": false,
|
|
142
70
|
"branchTags": {
|
|
143
|
-
"develop": "dev"
|
|
71
|
+
"develop": "dev",
|
|
72
|
+
"ng12-update": "next"
|
|
144
73
|
},
|
|
145
74
|
"fallbackTags": {
|
|
146
|
-
"dev": "latest"
|
|
75
|
+
"dev": "latest",
|
|
76
|
+
"next": "latest"
|
|
147
77
|
},
|
|
148
78
|
"analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
|
|
149
79
|
"generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
|
|
@@ -151,9 +81,11 @@
|
|
|
151
81
|
"verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
|
|
152
82
|
"verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
|
|
153
83
|
},
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
84
|
+
"main": "bundles/kendo-angular-toolbar.umd.js",
|
|
85
|
+
"module": "fesm2015/kendo-angular-toolbar.js",
|
|
86
|
+
"es2015": "fesm2015/kendo-angular-toolbar.js",
|
|
87
|
+
"esm2015": "esm2015/kendo-angular-toolbar.js",
|
|
88
|
+
"fesm2015": "fesm2015/kendo-angular-toolbar.js",
|
|
89
|
+
"typings": "kendo-angular-toolbar.d.ts",
|
|
90
|
+
"sideEffects": false
|
|
159
91
|
}
|
|
File without changes
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EventEmitter } from '@angular/core';
|
|
6
6
|
import { ToolBarToolComponent } from './tools/toolbar-tool.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
10
11
|
export declare class RefreshService {
|
|
11
12
|
onRefresh: EventEmitter<any>;
|
|
12
13
|
refresh(tool: ToolBarToolComponent): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RefreshService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RefreshService>;
|
|
13
16
|
}
|
|
File without changes
|
|
@@ -8,6 +8,7 @@ import { ToolBarToolComponent } from './tools/toolbar-tool.component';
|
|
|
8
8
|
import { RefreshService } from './refresh.service';
|
|
9
9
|
import { RendererService } from './renderer.service';
|
|
10
10
|
import { RendererClickPayload } from './common/renderer-click';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
@@ -39,7 +40,7 @@ export declare class ToolBarRendererComponent implements OnInit, OnDestroy {
|
|
|
39
40
|
/**
|
|
40
41
|
* @hidden
|
|
41
42
|
*/
|
|
42
|
-
|
|
43
|
+
get width(): number;
|
|
43
44
|
/**
|
|
44
45
|
* @hidden
|
|
45
46
|
*/
|
|
@@ -52,4 +53,6 @@ export declare class ToolBarRendererComponent implements OnInit, OnDestroy {
|
|
|
52
53
|
* @hidden
|
|
53
54
|
*/
|
|
54
55
|
setAttribute(element: HTMLElement, attr: string, value: string): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarRendererComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarRendererComponent, "kendo-toolbar-renderer", ["kendoToolBarRenderer"], { "tool": "tool"; "location": "location"; "resizable": "resizable"; }, { "rendererClick": "rendererClick"; }, never, never>;
|
|
55
58
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ElementRef } from '@angular/core';
|
|
6
6
|
import { ToolBarRendererComponent } from './renderer.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
@@ -18,4 +19,6 @@ export declare class RendererService {
|
|
|
18
19
|
findNextFocusableSibling(element?: HTMLElement): HTMLElement;
|
|
19
20
|
findPrevFocusableSibling(element?: HTMLElement): HTMLElement;
|
|
20
21
|
setAttribute(element: HTMLElement, attr: string, value: string): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RendererService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RendererService>;
|
|
21
24
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
1
5
|
"use strict";
|
|
2
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
7
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
4
8
|
function default_1(options) {
|
|
5
|
-
const finalOptions = Object.assign({}, options, { mainNgModule: 'ToolBarModule', package: 'toolbar' //package name, e.g grid
|
|
9
|
+
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'ToolBarModule', package: 'toolbar' //package name, e.g grid
|
|
6
10
|
});
|
|
7
11
|
return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
|
|
8
12
|
}
|
|
9
13
|
exports.default = default_1;
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,eAAe,EAC7B,OAAO,EAAE,SAAS,CAAC,wBAAwB;OAC9C,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
|
|
File without changes
|
|
@@ -14,6 +14,7 @@ import { PreventableEvent } from './common/preventable-event';
|
|
|
14
14
|
import { ToolBarRendererComponent } from './renderer.component';
|
|
15
15
|
import { Direction } from './direction';
|
|
16
16
|
import { RendererClickPayload } from './common/renderer-click';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
17
18
|
/**
|
|
18
19
|
* Represents the [Kendo UI ToolBar component for Angular]({% slug overview_toolbar %}).
|
|
19
20
|
*/
|
|
@@ -33,7 +34,8 @@ export declare class ToolBarComponent {
|
|
|
33
34
|
/**
|
|
34
35
|
* @hidden
|
|
35
36
|
*/
|
|
36
|
-
resizable: boolean;
|
|
37
|
+
set resizable(value: boolean);
|
|
38
|
+
get resizable(): boolean;
|
|
37
39
|
/**
|
|
38
40
|
* Configures the popup of the ToolBar drop-down list.
|
|
39
41
|
*
|
|
@@ -41,7 +43,8 @@ export declare class ToolBarComponent {
|
|
|
41
43
|
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
42
44
|
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
43
45
|
*/
|
|
44
|
-
popupSettings: PopupSettings;
|
|
46
|
+
set popupSettings(settings: PopupSettings);
|
|
47
|
+
get popupSettings(): PopupSettings;
|
|
45
48
|
/**
|
|
46
49
|
* Specifies the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the ToolBar.
|
|
47
50
|
*/
|
|
@@ -49,7 +52,8 @@ export declare class ToolBarComponent {
|
|
|
49
52
|
/**
|
|
50
53
|
* @hidden
|
|
51
54
|
*/
|
|
52
|
-
tabIndex: number;
|
|
55
|
+
set tabIndex(tabIndex: number);
|
|
56
|
+
get tabIndex(): number;
|
|
53
57
|
/**
|
|
54
58
|
* Fires when the overflow popup of the ToolBar is opened.
|
|
55
59
|
*/
|
|
@@ -67,8 +71,9 @@ export declare class ToolBarComponent {
|
|
|
67
71
|
overflowRenderedTools: QueryList<ToolBarRendererComponent>;
|
|
68
72
|
popupRef: PopupRef;
|
|
69
73
|
direction: Direction;
|
|
70
|
-
|
|
71
|
-
popupOpen: boolean;
|
|
74
|
+
get appendTo(): ViewContainerRef;
|
|
75
|
+
set popupOpen(open: boolean);
|
|
76
|
+
get popupOpen(): boolean;
|
|
72
77
|
hostClasses: boolean;
|
|
73
78
|
private _popupSettings;
|
|
74
79
|
private cachedOverflowAnchorWidth;
|
|
@@ -78,6 +83,7 @@ export declare class ToolBarComponent {
|
|
|
78
83
|
private cancelRenderedToolsSubscription$;
|
|
79
84
|
private cachedGap;
|
|
80
85
|
private subscriptions;
|
|
86
|
+
private popupSubs;
|
|
81
87
|
/**
|
|
82
88
|
* @hidden
|
|
83
89
|
*/
|
|
@@ -86,9 +92,9 @@ export declare class ToolBarComponent {
|
|
|
86
92
|
* @hidden
|
|
87
93
|
*/
|
|
88
94
|
onFocusOut(event: any): void;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
95
|
+
get getRole(): string;
|
|
96
|
+
get getDir(): string;
|
|
97
|
+
get resizableClass(): boolean;
|
|
92
98
|
constructor(localization: LocalizationService, popupService: PopupService, refreshService: RefreshService, navigationService: NavigationService, element: ElementRef, zone: NgZone, renderer: Renderer2, _cdr: ChangeDetectorRef);
|
|
93
99
|
ngAfterViewInit(): void;
|
|
94
100
|
ngOnInit(): void;
|
|
@@ -97,11 +103,11 @@ export declare class ToolBarComponent {
|
|
|
97
103
|
/**
|
|
98
104
|
* @hidden
|
|
99
105
|
*/
|
|
100
|
-
|
|
106
|
+
get moreToolsTitle(): string;
|
|
101
107
|
/**
|
|
102
108
|
* @hidden
|
|
103
109
|
*/
|
|
104
|
-
|
|
110
|
+
get cdr(): ChangeDetectorRef;
|
|
105
111
|
/**
|
|
106
112
|
* @hidden
|
|
107
113
|
*/
|
|
@@ -127,16 +133,19 @@ export declare class ToolBarComponent {
|
|
|
127
133
|
*/
|
|
128
134
|
onPopupClose(): void;
|
|
129
135
|
private displayAnchor;
|
|
130
|
-
private
|
|
131
|
-
private
|
|
132
|
-
private
|
|
133
|
-
private
|
|
134
|
-
private
|
|
135
|
-
private
|
|
136
|
-
private
|
|
136
|
+
private get popupWidth();
|
|
137
|
+
private get popupHeight();
|
|
138
|
+
private get overflowAnchorWidth();
|
|
139
|
+
private get gap();
|
|
140
|
+
private get childrenWidth();
|
|
141
|
+
private get visibleTools();
|
|
142
|
+
private get overflowTools();
|
|
137
143
|
private shrink;
|
|
138
144
|
private stretch;
|
|
139
145
|
private hideLastVisibleTool;
|
|
140
146
|
private showFirstHiddenTool;
|
|
141
147
|
private setPopupContentDimensions;
|
|
148
|
+
private destroyPopup;
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarComponent, never>;
|
|
150
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarComponent, "kendo-toolbar", ["kendoToolBar"], { "overflow": "overflow"; "resizable": "resizable"; "popupSettings": "popupSettings"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; }, { "open": "open"; "close": "close"; }, ["allTools"], never>;
|
|
142
151
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./toolbar.component";
|
|
7
|
+
import * as i2 from "./tools/toolbar-tool.component";
|
|
8
|
+
import * as i3 from "./tools/toolbar-button.component";
|
|
9
|
+
import * as i4 from "./tools/toolbar-buttongroup.component";
|
|
10
|
+
import * as i5 from "./tools/toolbar-dropdownbutton.component";
|
|
11
|
+
import * as i6 from "./tools/toolbar-splitbutton.component";
|
|
12
|
+
import * as i7 from "./tools/toolbar-separator.component";
|
|
13
|
+
import * as i8 from "./renderer.component";
|
|
14
|
+
import * as i9 from "./tools/toolbar-buttonlist.component";
|
|
15
|
+
import * as i10 from "./localization/custom-messages.component";
|
|
16
|
+
import * as i11 from "./localization/localized-toolbar-messages.directive";
|
|
17
|
+
import * as i12 from "@angular/common";
|
|
18
|
+
import * as i13 from "@progress/kendo-angular-buttons";
|
|
19
|
+
import * as i14 from "@progress/kendo-angular-popup";
|
|
20
|
+
import * as i15 from "@progress/kendo-angular-common";
|
|
21
|
+
/**
|
|
22
|
+
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }}) definition for the ToolBar component.
|
|
23
|
+
*
|
|
24
|
+
* The package exports:
|
|
25
|
+
* - `ToolBarComponent`—The ToolBarComponent class.
|
|
26
|
+
* - `ToolBarToolComponent`—The base Tool component class.
|
|
27
|
+
* - `ToolBarButtonComponent`—The Button Tool component class.
|
|
28
|
+
* - `ToolBarButtonGroupComponent`—The ButtonGroup Tool component class.
|
|
29
|
+
* - `ToolBarDropDownButtonComponent`—The DropDownButton Tool component class.
|
|
30
|
+
* - `ToolBarSplitButtonComponent`—The SplitButton Tool component class.
|
|
31
|
+
* - `ToolBarSeparatorComponent`—The Separator Tool component class.
|
|
32
|
+
*/
|
|
33
|
+
export declare class ToolBarModule {
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarModule, never>;
|
|
35
|
+
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.ToolBarRendererComponent, typeof i9.ToolBarButtonListComponent, typeof i10.ToolbarCustomMessagesComponent, typeof i11.LocalizedToolbarMessagesDirective], [typeof i12.CommonModule, typeof i13.ButtonsModule, typeof i14.PopupModule, typeof i15.ResizeSensorModule], [typeof i1.ToolBarComponent, typeof i2.ToolBarToolComponent, typeof i3.ToolBarButtonComponent, typeof i4.ToolBarButtonGroupComponent, typeof i5.ToolBarDropDownButtonComponent, typeof i6.ToolBarSplitButtonComponent, typeof i7.ToolBarSeparatorComponent, typeof i10.ToolbarCustomMessagesComponent, typeof i11.LocalizedToolbarMessagesDirective]>;
|
|
36
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToolBarModule>;
|
|
37
|
+
}
|
|
@@ -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 * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* Represents the [Kendo UI ToolBar Button tool for Angular]({% slug controltypes_toolbar %}#toc-buttons).
|
|
12
13
|
*/
|
|
@@ -22,7 +23,7 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
22
23
|
/**
|
|
23
24
|
* Specifies the text of the Button ([see example]({% slug controltypes_toolbar %}#toc-buttons)).
|
|
24
25
|
*/
|
|
25
|
-
text: string;
|
|
26
|
+
set text(text: string);
|
|
26
27
|
/**
|
|
27
28
|
* Specifies custom inline CSS styles of the Button.
|
|
28
29
|
*/
|
|
@@ -53,11 +54,12 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
53
54
|
/**
|
|
54
55
|
* @hidden
|
|
55
56
|
*/
|
|
56
|
-
look: 'default' | 'flat' | 'outline';
|
|
57
|
+
set look(look: 'default' | 'flat' | 'outline');
|
|
57
58
|
/**
|
|
58
59
|
* @hidden
|
|
59
60
|
*/
|
|
60
|
-
togglable: boolean;
|
|
61
|
+
get togglable(): boolean;
|
|
62
|
+
set togglable(value: boolean);
|
|
61
63
|
/**
|
|
62
64
|
* Sets the selected state of the Button.
|
|
63
65
|
*/
|
|
@@ -98,17 +100,17 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
98
100
|
* ([see example]({% slug controltypes_toolbar %}#toc-buttons)).
|
|
99
101
|
* The icon is rendered inside the Button by a `span.k-icon` element.
|
|
100
102
|
*/
|
|
101
|
-
icon: string;
|
|
103
|
+
set icon(icon: string);
|
|
102
104
|
/**
|
|
103
105
|
* Defines a CSS class—or multiple classes separated by spaces—
|
|
104
106
|
* which are applied to a `span` element inside the Button. Allows the usage of custom icons.
|
|
105
107
|
*/
|
|
106
|
-
iconClass: string;
|
|
108
|
+
set iconClass(iconClass: string);
|
|
107
109
|
/**
|
|
108
110
|
* Defines a URL which is used for an `img` element inside the Button.
|
|
109
111
|
* The URL can be relative or absolute. If relative, it is evaluated with relation to the web page URL.
|
|
110
112
|
*/
|
|
111
|
-
imageUrl: string;
|
|
113
|
+
set imageUrl(imageUrl: string);
|
|
112
114
|
/**
|
|
113
115
|
* Fires each time the Button is clicked.
|
|
114
116
|
*/
|
|
@@ -146,4 +148,6 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
146
148
|
*/
|
|
147
149
|
handleKey(): boolean;
|
|
148
150
|
private getButton;
|
|
151
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarButtonComponent, never>;
|
|
152
|
+
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>;
|
|
149
153
|
}
|
|
@@ -6,9 +6,9 @@ import { TemplateRef, QueryList } from '@angular/core';
|
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
8
8
|
import { ToolBarButtonComponent } from './toolbar-button.component';
|
|
9
|
-
import { ButtonDirective } from '@progress/kendo-angular-buttons';
|
|
10
9
|
import { ButtonGroupSelection } from '../group-selection-settings';
|
|
11
|
-
import { PreventableEvent } from '
|
|
10
|
+
import { PreventableEvent } from '@progress/kendo-angular-buttons/preventable-event';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* Represents the Kendo UI Toolbar ButtonGroup for Angular.
|
|
14
14
|
*/
|
|
@@ -37,11 +37,11 @@ export declare class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
37
37
|
/**
|
|
38
38
|
* @hidden
|
|
39
39
|
*/
|
|
40
|
-
look: 'default' | 'flat' | 'outline';
|
|
40
|
+
set look(look: 'default' | 'flat' | 'outline');
|
|
41
41
|
toolbarTemplate: TemplateRef<any>;
|
|
42
42
|
popupTemplate: TemplateRef<any>;
|
|
43
43
|
buttonComponents: QueryList<ToolBarButtonComponent>;
|
|
44
|
-
private
|
|
44
|
+
private get buttonElements();
|
|
45
45
|
private toolbarButtonGroup;
|
|
46
46
|
private overflowButtonGroup;
|
|
47
47
|
private focusedIndex;
|
|
@@ -59,7 +59,7 @@ export declare class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
59
59
|
/**
|
|
60
60
|
* @hidden
|
|
61
61
|
*/
|
|
62
|
-
selectedChangeHandler(state: boolean, button:
|
|
62
|
+
selectedChangeHandler(state: boolean, button: ToolBarButtonComponent): void;
|
|
63
63
|
/**
|
|
64
64
|
* @hidden
|
|
65
65
|
*/
|
|
@@ -78,4 +78,6 @@ export declare class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
78
78
|
handleKey(ev: any): boolean;
|
|
79
79
|
private getButtonGroup;
|
|
80
80
|
private focusButton;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarButtonGroupComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarButtonGroupComponent, "kendo-toolbar-buttongroup", ["kendoToolBarButtonGroup"], { "disabled": "disabled"; "selection": "selection"; "width": "width"; "look": "look"; }, {}, ["buttonComponents"], never>;
|
|
81
83
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ElementRef, EventEmitter, QueryList } from '@angular/core';
|
|
6
6
|
import { ButtonFillMode, ButtonThemeColor } from '@progress/kendo-angular-buttons';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
@@ -17,4 +18,6 @@ export declare class ToolBarButtonListComponent {
|
|
|
17
18
|
buttons: QueryList<ElementRef>;
|
|
18
19
|
getText(dataItem: any): any;
|
|
19
20
|
onClick(item: any, index: number): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarButtonListComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarButtonListComponent, "kendo-toolbar-buttonlist", never, { "data": "data"; "textField": "textField"; "disabled": "disabled"; "fillMode": "fillMode"; "themeColor": "themeColor"; }, { "itemClick": "itemClick"; }, never, never>;
|
|
20
23
|
}
|