@progress/kendo-angular-toolbar 5.0.2 → 6.0.0-dev.202204131416

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.
Files changed (134) hide show
  1. package/bundles/kendo-angular-toolbar.umd.js +5 -0
  2. package/{dist/es2015/common → common}/constants.d.ts +0 -0
  3. package/{dist/es2015/common → common}/preventable-event.d.ts +0 -0
  4. package/{dist/es2015/common → common}/renderer-click.d.ts +0 -0
  5. package/{dist/es2015/direction.d.ts → direction.d.ts} +0 -0
  6. package/{dist/es2015/display-mode.d.ts → display-mode.d.ts} +0 -0
  7. package/{dist/es2015 → esm2015}/common/constants.js +0 -0
  8. package/{dist/es2015 → esm2015}/common/preventable-event.js +0 -0
  9. package/{dist/es → esm2015}/common/renderer-click.js +1 -0
  10. package/{dist/es2015 → esm2015}/direction.js +1 -0
  11. package/{dist/es2015 → esm2015}/display-mode.js +1 -0
  12. package/{dist/es2015 → esm2015}/group-selection-settings.js +1 -0
  13. package/{dist/es/common/constants.js → esm2015/kendo-angular-toolbar.js} +2 -2
  14. package/esm2015/localization/custom-messages.component.js +40 -0
  15. package/esm2015/localization/localized-toolbar-messages.directive.js +36 -0
  16. package/esm2015/localization/messages.js +23 -0
  17. package/{dist/es → esm2015}/main.js +0 -0
  18. package/{dist/es2015 → esm2015}/navigation.service.js +9 -9
  19. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  20. package/{dist/es → esm2015}/popup-settings.js +1 -0
  21. package/{dist/es2015 → esm2015}/refresh.service.js +8 -10
  22. package/{dist/es → esm2015}/render-location.js +1 -0
  23. package/{dist/es2015 → esm2015}/renderer.component.js +36 -41
  24. package/{dist/es2015 → esm2015}/renderer.service.js +8 -7
  25. package/{dist/es → esm2015}/tool-options.js +1 -0
  26. package/{dist/es2015 → esm2015}/toolbar.component.js +166 -135
  27. package/{dist/es2015 → esm2015}/toolbar.module.js +27 -11
  28. package/{dist/es2015 → esm2015}/tools/toolbar-button.component.js +117 -114
  29. package/esm2015/tools/toolbar-buttongroup.component.js +267 -0
  30. package/esm2015/tools/toolbar-buttonlist.component.js +94 -0
  31. package/{dist/es2015 → esm2015}/tools/toolbar-dropdownbutton.component.js +119 -121
  32. package/esm2015/tools/toolbar-separator.component.js +68 -0
  33. package/{dist/es2015 → esm2015}/tools/toolbar-splitbutton.component.js +129 -125
  34. package/{dist/es2015 → esm2015}/tools/toolbar-tool.component.js +15 -19
  35. package/{dist/es2015 → esm2015}/util.js +0 -0
  36. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-toolbar.js} +1019 -886
  37. package/{dist/es2015/group-selection-settings.d.ts → group-selection-settings.d.ts} +0 -0
  38. package/kendo-angular-toolbar.d.ts +9 -0
  39. package/{dist/es2015/localization → localization}/custom-messages.component.d.ts +4 -1
  40. package/{dist/es2015/localization → localization}/localized-toolbar-messages.directive.d.ts +3 -0
  41. package/{dist/es2015/localization → localization}/messages.d.ts +3 -0
  42. package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
  43. package/{dist/es2015/navigation.service.d.ts → navigation.service.d.ts} +3 -0
  44. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  45. package/package.json +34 -102
  46. package/{dist/es2015/popup-settings.d.ts → popup-settings.d.ts} +0 -0
  47. package/{dist/es2015/refresh.service.d.ts → refresh.service.d.ts} +3 -0
  48. package/{dist/es2015/render-location.d.ts → render-location.d.ts} +0 -0
  49. package/{dist/es2015/renderer.component.d.ts → renderer.component.d.ts} +4 -1
  50. package/{dist/es2015/renderer.service.d.ts → renderer.service.d.ts} +3 -0
  51. package/schematics/ngAdd/index.js +5 -2
  52. package/schematics/ngAdd/index.js.map +1 -1
  53. package/{dist/es2015/tool-options.d.ts → tool-options.d.ts} +0 -0
  54. package/{dist/es2015/toolbar.component.d.ts → toolbar.component.d.ts} +30 -18
  55. package/toolbar.module.d.ts +37 -0
  56. package/{dist/es2015/tools → tools}/toolbar-button.component.d.ts +10 -6
  57. package/{dist/es2015/tools → tools}/toolbar-buttongroup.component.d.ts +7 -5
  58. package/{dist/es2015/tools → tools}/toolbar-buttonlist.component.d.ts +3 -0
  59. package/{dist/es2015/tools → tools}/toolbar-dropdownbutton.component.d.ts +15 -10
  60. package/{dist/es2015/tools → tools}/toolbar-separator.component.d.ts +3 -0
  61. package/{dist/es2015/tools → tools}/toolbar-splitbutton.component.d.ts +14 -9
  62. package/{dist/es2015/tools → tools}/toolbar-tool.component.d.ts +5 -2
  63. package/{dist/es2015/util.d.ts → util.d.ts} +0 -0
  64. package/dist/cdn/js/kendo-angular-toolbar.js +0 -20
  65. package/dist/cdn/main.js +0 -5
  66. package/dist/es/common/preventable-event.js +0 -29
  67. package/dist/es/direction.js +0 -4
  68. package/dist/es/display-mode.js +0 -4
  69. package/dist/es/group-selection-settings.js +0 -4
  70. package/dist/es/index.js +0 -14
  71. package/dist/es/localization/custom-messages.component.js +0 -43
  72. package/dist/es/localization/localized-toolbar-messages.directive.js +0 -35
  73. package/dist/es/localization/messages.js +0 -22
  74. package/dist/es/navigation.service.js +0 -130
  75. package/dist/es/package-metadata.js +0 -15
  76. package/dist/es/refresh.service.js +0 -22
  77. package/dist/es/renderer.component.js +0 -132
  78. package/dist/es/renderer.service.js +0 -52
  79. package/dist/es/toolbar.component.js +0 -641
  80. package/dist/es/toolbar.module.js +0 -60
  81. package/dist/es/tools/toolbar-button.component.js +0 -310
  82. package/dist/es/tools/toolbar-buttongroup.component.js +0 -165
  83. package/dist/es/tools/toolbar-buttonlist.component.js +0 -66
  84. package/dist/es/tools/toolbar-dropdownbutton.component.js +0 -368
  85. package/dist/es/tools/toolbar-separator.component.js +0 -67
  86. package/dist/es/tools/toolbar-splitbutton.component.js +0 -380
  87. package/dist/es/tools/toolbar-tool.component.js +0 -76
  88. package/dist/es/util.js +0 -204
  89. package/dist/es2015/common/renderer-click.js +0 -4
  90. package/dist/es2015/index.d.ts +0 -14
  91. package/dist/es2015/index.js +0 -14
  92. package/dist/es2015/index.metadata.json +0 -1
  93. package/dist/es2015/localization/custom-messages.component.js +0 -35
  94. package/dist/es2015/localization/localized-toolbar-messages.directive.js +0 -31
  95. package/dist/es2015/localization/messages.js +0 -16
  96. package/dist/es2015/main.js +0 -14
  97. package/dist/es2015/popup-settings.js +0 -4
  98. package/dist/es2015/render-location.js +0 -4
  99. package/dist/es2015/tool-options.js +0 -4
  100. package/dist/es2015/toolbar.module.d.ts +0 -18
  101. package/dist/es2015/tools/toolbar-buttongroup.component.js +0 -216
  102. package/dist/es2015/tools/toolbar-buttonlist.component.js +0 -87
  103. package/dist/es2015/tools/toolbar-separator.component.js +0 -68
  104. package/dist/fesm5/index.js +0 -2665
  105. package/dist/npm/common/constants.js +0 -10
  106. package/dist/npm/common/preventable-event.js +0 -31
  107. package/dist/npm/common/renderer-click.js +0 -6
  108. package/dist/npm/direction.js +0 -6
  109. package/dist/npm/display-mode.js +0 -6
  110. package/dist/npm/group-selection-settings.js +0 -6
  111. package/dist/npm/index.js +0 -23
  112. package/dist/npm/localization/custom-messages.component.js +0 -45
  113. package/dist/npm/localization/localized-toolbar-messages.directive.js +0 -37
  114. package/dist/npm/localization/messages.js +0 -24
  115. package/dist/npm/main.js +0 -26
  116. package/dist/npm/navigation.service.js +0 -132
  117. package/dist/npm/package-metadata.js +0 -17
  118. package/dist/npm/popup-settings.js +0 -6
  119. package/dist/npm/refresh.service.js +0 -24
  120. package/dist/npm/render-location.js +0 -6
  121. package/dist/npm/renderer.component.js +0 -134
  122. package/dist/npm/renderer.service.js +0 -54
  123. package/dist/npm/tool-options.js +0 -6
  124. package/dist/npm/toolbar.component.js +0 -643
  125. package/dist/npm/toolbar.module.js +0 -62
  126. package/dist/npm/tools/toolbar-button.component.js +0 -312
  127. package/dist/npm/tools/toolbar-buttongroup.component.js +0 -167
  128. package/dist/npm/tools/toolbar-buttonlist.component.js +0 -68
  129. package/dist/npm/tools/toolbar-dropdownbutton.component.js +0 -370
  130. package/dist/npm/tools/toolbar-separator.component.js +0 -69
  131. package/dist/npm/tools/toolbar-splitbutton.component.js +0 -382
  132. package/dist/npm/tools/toolbar-tool.component.js +0 -78
  133. package/dist/npm/util.js +0 -209
  134. package/dist/systemjs/kendo-angular-toolbar.js +0 -5
@@ -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 readonly override: boolean;
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
  }
package/package.json CHANGED
@@ -1,32 +1,19 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-toolbar",
3
+ "version": "6.0.0-dev.202204131416",
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
- "version": "5.0.2",
7
- "main": "dist/npm/index.js",
8
- "module": "dist/fesm5/index.js",
9
- "es2015": "dist/fesm2015/index.js",
10
- "esm5": "dist/es/index.js",
11
- "esm2015": "dist/es2015/index.js",
12
- "jsnext:main": "dist/es/index.js",
13
- "typings": "dist/es2015/index.d.ts",
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
- "peerDependencies": {
41
- "@angular/common": "8 - 13",
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": "^2.0.0",
52
- "tslib": "^1.9.0"
31
+ "@progress/kendo-schematics": "^3.0.0",
32
+ "tslib": "^2.3.1"
53
33
  },
54
- "devDependencies": {
55
- "@angular-devkit/core": "^8.2.0",
56
- "@angular-devkit/schematics": "^8.2.0",
57
- "@angular/animations": "^8.2.0",
58
- "@angular/common": "^8.2.0",
59
- "@angular/compiler": "^8.2.0",
60
- "@angular/compiler-cli": "^8.2.0",
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
- "@progress/kendo-e2e": "latest",
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
- "@progress": {
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
- "schematics": "./schematics/collection.json",
155
- "files": [
156
- "dist",
157
- "schematics"
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
  }
@@ -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
  }
@@ -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
- readonly width: number;
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,qBACX,OAAO,IACV,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"}
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"}
@@ -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, ElementRef, QueryList, EventEmitter, ViewContainerRef, NgZone, Renderer2, SimpleChanges } from '@angular/core';
5
+ import { TemplateRef, ElementRef, QueryList, EventEmitter, ViewContainerRef, NgZone, Renderer2, SimpleChanges, ChangeDetectorRef } from '@angular/core';
6
6
  import { PopupService, PopupRef } from '@progress/kendo-angular-popup';
7
7
  import { ResizeSensorComponent } from '@progress/kendo-angular-common';
8
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
@@ -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
  */
@@ -25,6 +26,7 @@ export declare class ToolBarComponent {
25
26
  private element;
26
27
  private zone;
27
28
  private renderer;
29
+ private _cdr;
28
30
  /**
29
31
  * Hides the overflowing tools in a popup.
30
32
  */
@@ -32,7 +34,8 @@ export declare class ToolBarComponent {
32
34
  /**
33
35
  * @hidden
34
36
  */
35
- resizable: boolean;
37
+ set resizable(value: boolean);
38
+ get resizable(): boolean;
36
39
  /**
37
40
  * Configures the popup of the ToolBar drop-down list.
38
41
  *
@@ -40,7 +43,8 @@ export declare class ToolBarComponent {
40
43
  * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
41
44
  * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
42
45
  */
43
- popupSettings: PopupSettings;
46
+ set popupSettings(settings: PopupSettings);
47
+ get popupSettings(): PopupSettings;
44
48
  /**
45
49
  * Specifies the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the ToolBar.
46
50
  */
@@ -48,7 +52,8 @@ export declare class ToolBarComponent {
48
52
  /**
49
53
  * @hidden
50
54
  */
51
- tabIndex: number;
55
+ set tabIndex(tabIndex: number);
56
+ get tabIndex(): number;
52
57
  /**
53
58
  * Fires when the overflow popup of the ToolBar is opened.
54
59
  */
@@ -66,8 +71,9 @@ export declare class ToolBarComponent {
66
71
  overflowRenderedTools: QueryList<ToolBarRendererComponent>;
67
72
  popupRef: PopupRef;
68
73
  direction: Direction;
69
- readonly appendTo: ViewContainerRef;
70
- popupOpen: boolean;
74
+ get appendTo(): ViewContainerRef;
75
+ set popupOpen(open: boolean);
76
+ get popupOpen(): boolean;
71
77
  hostClasses: boolean;
72
78
  private _popupSettings;
73
79
  private cachedOverflowAnchorWidth;
@@ -85,10 +91,10 @@ export declare class ToolBarComponent {
85
91
  * @hidden
86
92
  */
87
93
  onFocusOut(event: any): void;
88
- readonly getRole: string;
89
- readonly getDir: string;
90
- readonly resizableClass: boolean;
91
- constructor(localization: LocalizationService, popupService: PopupService, refreshService: RefreshService, navigationService: NavigationService, element: ElementRef, zone: NgZone, renderer: Renderer2);
94
+ get getRole(): string;
95
+ get getDir(): string;
96
+ get resizableClass(): boolean;
97
+ constructor(localization: LocalizationService, popupService: PopupService, refreshService: RefreshService, navigationService: NavigationService, element: ElementRef, zone: NgZone, renderer: Renderer2, _cdr: ChangeDetectorRef);
92
98
  ngAfterViewInit(): void;
93
99
  ngOnInit(): void;
94
100
  ngOnChanges(changes: SimpleChanges): void;
@@ -96,7 +102,11 @@ export declare class ToolBarComponent {
96
102
  /**
97
103
  * @hidden
98
104
  */
99
- readonly moreToolsTitle: string;
105
+ get moreToolsTitle(): string;
106
+ /**
107
+ * @hidden
108
+ */
109
+ get cdr(): ChangeDetectorRef;
100
110
  /**
101
111
  * @hidden
102
112
  */
@@ -122,16 +132,18 @@ export declare class ToolBarComponent {
122
132
  */
123
133
  onPopupClose(): void;
124
134
  private displayAnchor;
125
- private readonly popupWidth;
126
- private readonly popupHeight;
127
- private readonly overflowAnchorWidth;
128
- private readonly gap;
129
- private readonly childrenWidth;
130
- private readonly visibleTools;
131
- private readonly overflowTools;
135
+ private get popupWidth();
136
+ private get popupHeight();
137
+ private get overflowAnchorWidth();
138
+ private get gap();
139
+ private get childrenWidth();
140
+ private get visibleTools();
141
+ private get overflowTools();
132
142
  private shrink;
133
143
  private stretch;
134
144
  private hideLastVisibleTool;
135
145
  private showFirstHiddenTool;
136
146
  private setPopupContentDimensions;
147
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarComponent, never>;
148
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarComponent, "kendo-toolbar", ["kendoToolBar"], { "overflow": "overflow"; "resizable": "resizable"; "popupSettings": "popupSettings"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; }, { "open": "open"; "close": "close"; }, ["allTools"], never>;
137
149
  }
@@ -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`&mdash;The ToolBarComponent class.
26
+ * - `ToolBarToolComponent`&mdash;The base Tool component class.
27
+ * - `ToolBarButtonComponent`&mdash;The Button Tool component class.
28
+ * - `ToolBarButtonGroupComponent`&mdash;The ButtonGroup Tool component class.
29
+ * - `ToolBarDropDownButtonComponent`&mdash;The DropDownButton Tool component class.
30
+ * - `ToolBarSplitButtonComponent`&mdash;The SplitButton Tool component class.
31
+ * - `ToolBarSeparatorComponent`&mdash;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&mdash;or multiple classes separated by spaces&mdash;
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 '../common/preventable-event';
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 readonly buttonElements;
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: ButtonDirective): void;
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
  }