@progress/kendo-angular-toolbar 5.0.4-dev.202204180802 → 6.0.0-dev.202204180857

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 +153 -126
  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} +1010 -881
  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} +24 -17
  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 -648
  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 -2672
  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 -650
  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,68 @@
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 { Component, forwardRef, ViewChild } from '@angular/core';
6
+ import { ToolBarToolComponent } from './toolbar-tool.component';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * Represents the [Kendo UI ToolBar Separator for Angular]({% slug controltypes_toolbar %}#toc-separators).
10
+ */
11
+ export class ToolBarSeparatorComponent extends ToolBarToolComponent {
12
+ constructor() {
13
+ super();
14
+ }
15
+ /**
16
+ * @hidden
17
+ */
18
+ canFocus() {
19
+ return false;
20
+ }
21
+ // If this is not here, the docs display info from its parent(ToolBarToolComponent).
22
+ /**
23
+ * @hidden
24
+ */
25
+ focus() {
26
+ /* noop */
27
+ }
28
+ // If this is not here, the docs display info from its parent(ToolBarToolComponent).
29
+ /**
30
+ * @hidden
31
+ */
32
+ handleKey() {
33
+ return false;
34
+ }
35
+ ngAfterViewInit() {
36
+ if (!this.popupTemplate) {
37
+ this.popupTemplate = this.toolbarTemplate;
38
+ }
39
+ }
40
+ }
41
+ ToolBarSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolBarSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
+ ToolBarSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ToolBarSeparatorComponent, selector: "kendo-toolbar-separator", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSeparatorComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "separator", first: true, predicate: ["separator"], descendants: true }], exportAs: ["kendoToolBarSeparator"], usesInheritance: true, ngImport: i0, template: `
43
+ <ng-template #toolbarTemplate>
44
+ <div class="k-separator"></div>
45
+ </ng-template>
46
+ `, isInline: true });
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolBarSeparatorComponent, decorators: [{
48
+ type: Component,
49
+ args: [{
50
+ exportAs: 'kendoToolBarSeparator',
51
+ providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSeparatorComponent) }],
52
+ selector: 'kendo-toolbar-separator',
53
+ template: `
54
+ <ng-template #toolbarTemplate>
55
+ <div class="k-separator"></div>
56
+ </ng-template>
57
+ `
58
+ }]
59
+ }], ctorParameters: function () { return []; }, propDecorators: { toolbarTemplate: [{
60
+ type: ViewChild,
61
+ args: ['toolbarTemplate', { static: true }]
62
+ }], popupTemplate: [{
63
+ type: ViewChild,
64
+ args: ['popupTemplate', { static: true }]
65
+ }], separator: [{
66
+ type: ViewChild,
67
+ args: ['separator', { static: false }]
68
+ }] } });
@@ -2,17 +2,17 @@
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 * as tslib_1 from "tslib";
6
- var ToolBarSplitButtonComponent_1;
7
- import { Component, TemplateRef, forwardRef, ViewChild, Input, ElementRef, Output, EventEmitter } from '@angular/core';
8
- import { SplitButtonComponent } from '@progress/kendo-angular-buttons';
5
+ import { Component, forwardRef, ViewChild, Input, ElementRef, Output, EventEmitter } from '@angular/core';
9
6
  import { ToolBarToolComponent } from './toolbar-tool.component';
10
- import { ToolBarButtonListComponent } from './toolbar-buttonlist.component';
11
7
  import { getValueForLocation, makePeeker, getIndexOfFocused, getPrevKey, getNextKey, seekFocusedIndex, areEqual } from '../util';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@progress/kendo-angular-buttons";
10
+ import * as i2 from "./toolbar-buttonlist.component";
11
+ import * as i3 from "@angular/common";
12
12
  /**
13
13
  * Represents the [Kendo UI ToolBar SplitButton for Angular]({% slug controltypes_toolbar %}#toc-splitbuttons).
14
14
  */
15
- let ToolBarSplitButtonComponent = ToolBarSplitButtonComponent_1 = class ToolBarSplitButtonComponent extends ToolBarToolComponent {
15
+ export class ToolBarSplitButtonComponent extends ToolBarToolComponent {
16
16
  constructor() {
17
17
  super();
18
18
  // showText and showIcon showIcon should be declared first
@@ -222,121 +222,72 @@ let ToolBarSplitButtonComponent = ToolBarSplitButtonComponent_1 = class ToolBarS
222
222
  this.overflowButtons[index].nativeElement.focus();
223
223
  }
224
224
  }
225
- };
226
- tslib_1.__decorate([
227
- Input(),
228
- tslib_1.__metadata("design:type", String)
229
- ], ToolBarSplitButtonComponent.prototype, "showText", void 0);
230
- tslib_1.__decorate([
231
- Input(),
232
- tslib_1.__metadata("design:type", String)
233
- ], ToolBarSplitButtonComponent.prototype, "showIcon", void 0);
234
- tslib_1.__decorate([
235
- Input(),
236
- tslib_1.__metadata("design:type", String),
237
- tslib_1.__metadata("design:paramtypes", [String])
238
- ], ToolBarSplitButtonComponent.prototype, "text", null);
239
- tslib_1.__decorate([
240
- Input(),
241
- tslib_1.__metadata("design:type", String),
242
- tslib_1.__metadata("design:paramtypes", [String])
243
- ], ToolBarSplitButtonComponent.prototype, "icon", null);
244
- tslib_1.__decorate([
245
- Input(),
246
- tslib_1.__metadata("design:type", String),
247
- tslib_1.__metadata("design:paramtypes", [String])
248
- ], ToolBarSplitButtonComponent.prototype, "iconClass", null);
249
- tslib_1.__decorate([
250
- Input(),
251
- tslib_1.__metadata("design:type", String),
252
- tslib_1.__metadata("design:paramtypes", [String])
253
- ], ToolBarSplitButtonComponent.prototype, "imageUrl", null);
254
- tslib_1.__decorate([
255
- Input(),
256
- tslib_1.__metadata("design:type", Boolean)
257
- ], ToolBarSplitButtonComponent.prototype, "disabled", void 0);
258
- tslib_1.__decorate([
259
- Input(),
260
- tslib_1.__metadata("design:type", Object),
261
- tslib_1.__metadata("design:paramtypes", [Object])
262
- ], ToolBarSplitButtonComponent.prototype, "popupSettings", null);
263
- tslib_1.__decorate([
264
- Input(),
265
- tslib_1.__metadata("design:type", String)
266
- ], ToolBarSplitButtonComponent.prototype, "fillMode", void 0);
267
- tslib_1.__decorate([
268
- Input(),
269
- tslib_1.__metadata("design:type", String)
270
- ], ToolBarSplitButtonComponent.prototype, "themeColor", void 0);
271
- tslib_1.__decorate([
272
- Input(),
273
- tslib_1.__metadata("design:type", String),
274
- tslib_1.__metadata("design:paramtypes", [String])
275
- ], ToolBarSplitButtonComponent.prototype, "look", null);
276
- tslib_1.__decorate([
277
- Input(),
278
- tslib_1.__metadata("design:type", String)
279
- ], ToolBarSplitButtonComponent.prototype, "buttonClass", void 0);
280
- tslib_1.__decorate([
281
- Input(),
282
- tslib_1.__metadata("design:type", Object)
283
- ], ToolBarSplitButtonComponent.prototype, "arrowButtonClass", void 0);
284
- tslib_1.__decorate([
285
- Input(),
286
- tslib_1.__metadata("design:type", String)
287
- ], ToolBarSplitButtonComponent.prototype, "arrowButtonIcon", void 0);
288
- tslib_1.__decorate([
289
- Input(),
290
- tslib_1.__metadata("design:type", String)
291
- ], ToolBarSplitButtonComponent.prototype, "textField", void 0);
292
- tslib_1.__decorate([
293
- Input(),
294
- tslib_1.__metadata("design:type", Array),
295
- tslib_1.__metadata("design:paramtypes", [Array])
296
- ], ToolBarSplitButtonComponent.prototype, "data", null);
297
- tslib_1.__decorate([
298
- Output(),
299
- tslib_1.__metadata("design:type", EventEmitter)
300
- ], ToolBarSplitButtonComponent.prototype, "buttonClick", void 0);
301
- tslib_1.__decorate([
302
- Output(),
303
- tslib_1.__metadata("design:type", EventEmitter)
304
- ], ToolBarSplitButtonComponent.prototype, "itemClick", void 0);
305
- tslib_1.__decorate([
306
- Output(),
307
- tslib_1.__metadata("design:type", EventEmitter)
308
- ], ToolBarSplitButtonComponent.prototype, "open", void 0);
309
- tslib_1.__decorate([
310
- Output(),
311
- tslib_1.__metadata("design:type", EventEmitter)
312
- ], ToolBarSplitButtonComponent.prototype, "close", void 0);
313
- tslib_1.__decorate([
314
- ViewChild('toolbarTemplate', { static: true }),
315
- tslib_1.__metadata("design:type", TemplateRef)
316
- ], ToolBarSplitButtonComponent.prototype, "toolbarTemplate", void 0);
317
- tslib_1.__decorate([
318
- ViewChild('popupTemplate', { static: true }),
319
- tslib_1.__metadata("design:type", TemplateRef)
320
- ], ToolBarSplitButtonComponent.prototype, "popupTemplate", void 0);
321
- tslib_1.__decorate([
322
- ViewChild('toolbarSplitButton', { static: false }),
323
- tslib_1.__metadata("design:type", SplitButtonComponent)
324
- ], ToolBarSplitButtonComponent.prototype, "toolbarSplitButton", void 0);
325
- tslib_1.__decorate([
326
- ViewChild('overflowSplitButton', { read: ElementRef, static: false }),
327
- tslib_1.__metadata("design:type", ElementRef)
328
- ], ToolBarSplitButtonComponent.prototype, "overflowSplitButton", void 0);
329
- tslib_1.__decorate([
330
- ViewChild('overflowSplitButtonButtonList', { static: false }),
331
- tslib_1.__metadata("design:type", ToolBarButtonListComponent)
332
- ], ToolBarSplitButtonComponent.prototype, "overflowSplitButtonButtonList", void 0);
333
- ToolBarSplitButtonComponent = ToolBarSplitButtonComponent_1 = tslib_1.__decorate([
334
- Component({
335
- exportAs: 'kendoToolBarSplitButton',
336
- // tslint:disable-next-line:no-forward-ref
337
- providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSplitButtonComponent_1) }],
338
- selector: 'kendo-toolbar-splitbutton',
339
- template: `
225
+ }
226
+ ToolBarSplitButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolBarSplitButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
227
+ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ToolBarSplitButtonComponent, selector: "kendo-toolbar-splitbutton", inputs: { 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" }, outputs: { buttonClick: "buttonClick", itemClick: "itemClick", open: "open", close: "close" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSplitButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarSplitButton", first: true, predicate: ["toolbarSplitButton"], descendants: true }, { propertyName: "overflowSplitButton", first: true, predicate: ["overflowSplitButton"], descendants: true, read: ElementRef }, { propertyName: "overflowSplitButtonButtonList", first: true, predicate: ["overflowSplitButtonButtonList"], descendants: true }], exportAs: ["kendoToolBarSplitButton"], usesInheritance: true, ngImport: i0, template: `
228
+ <ng-template #toolbarTemplate>
229
+ <kendo-splitbutton
230
+ #toolbarSplitButton
231
+ [data]="data"
232
+ [text]="toolbarOptions.text"
233
+ [icon]="toolbarOptions.icon"
234
+ [iconClass]="toolbarOptions.iconClass"
235
+ [imageUrl]="toolbarOptions.imageUrl"
236
+ [buttonClass]="buttonClass"
237
+ [arrowButtonClass]="arrowButtonClass"
238
+ [arrowButtonIcon]="arrowButtonIcon"
239
+ [disabled]="disabled"
240
+ [tabIndex]="-1"
241
+ [textField]="textField"
242
+ [popupSettings]="popupSettings"
243
+ [fillMode]="fillMode"
244
+ [themeColor]="fillMode ? themeColor : null"
245
+ (buttonClick)="buttonClick.emit($event)"
246
+ (open)="open.emit($event)"
247
+ (close)="close.emit($event)"
248
+ (itemClick)="itemClick.emit($event)"
249
+ >
250
+ </kendo-splitbutton>
251
+ </ng-template>
252
+ <ng-template #popupTemplate>
253
+ <button
254
+ #overflowSplitButton
255
+ type="button"
256
+ tabindex="-1"
257
+ [fillMode]="fillMode"
258
+ [themeColor]="fillMode ? themeColor : null"
259
+ kendoButton
260
+ class="k-overflow-button"
261
+ [disabled]="disabled"
262
+ [icon]="overflowOptions.icon"
263
+ [iconClass]="overflowOptions.iconClass"
264
+ [imageUrl]="overflowOptions.imageUrl"
265
+ [ngClass]="buttonClass"
266
+ (click)="buttonClick.emit($event)"
267
+ (click)="onMainButtonClick($event)"
268
+ >
269
+ {{ overflowOptions.text }}
270
+ </button>
271
+ <kendo-toolbar-buttonlist
272
+ #overflowSplitButtonButtonList
273
+ [data]="data"
274
+ [disabled]="disabled"
275
+ [fillMode]="fillMode"
276
+ [themeColor]="fillMode ? themeColor : null"
277
+ [textField]="textField"
278
+ (itemClick)="itemClick.emit($event)"
279
+ (click)="onButtonListClick($event)"
280
+ >
281
+ </kendo-toolbar-buttonlist>
282
+ </ng-template>
283
+ `, isInline: true, components: [{ type: i1.SplitButtonComponent, selector: "kendo-splitbutton", inputs: ["text", "icon", "iconClass", "type", "imageUrl", "size", "rounded", "fillMode", "themeColor", "disabled", "popupSettings", "tabIndex", "textField", "data", "buttonClass", "arrowButtonClass", "arrowButtonIcon"], outputs: ["buttonClick", "itemClick", "focus", "blur", "open", "close"], exportAs: ["kendoSplitButton"] }, { type: i2.ToolBarButtonListComponent, selector: "kendo-toolbar-buttonlist", inputs: ["data", "textField", "disabled", "fillMode", "themeColor"], outputs: ["itemClick"] }], directives: [{ type: i1.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolBarSplitButtonComponent, decorators: [{
285
+ type: Component,
286
+ args: [{
287
+ exportAs: 'kendoToolBarSplitButton',
288
+ providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSplitButtonComponent) }],
289
+ selector: 'kendo-toolbar-splitbutton',
290
+ template: `
340
291
  <ng-template #toolbarTemplate>
341
292
  <kendo-splitbutton
342
293
  #toolbarSplitButton
@@ -393,7 +344,60 @@ ToolBarSplitButtonComponent = ToolBarSplitButtonComponent_1 = tslib_1.__decorate
393
344
  </kendo-toolbar-buttonlist>
394
345
  </ng-template>
395
346
  `
396
- }),
397
- tslib_1.__metadata("design:paramtypes", [])
398
- ], ToolBarSplitButtonComponent);
399
- export { ToolBarSplitButtonComponent };
347
+ }]
348
+ }], ctorParameters: function () { return []; }, propDecorators: { showText: [{
349
+ type: Input
350
+ }], showIcon: [{
351
+ type: Input
352
+ }], text: [{
353
+ type: Input
354
+ }], icon: [{
355
+ type: Input
356
+ }], iconClass: [{
357
+ type: Input
358
+ }], imageUrl: [{
359
+ type: Input
360
+ }], disabled: [{
361
+ type: Input
362
+ }], popupSettings: [{
363
+ type: Input
364
+ }], fillMode: [{
365
+ type: Input
366
+ }], themeColor: [{
367
+ type: Input
368
+ }], look: [{
369
+ type: Input
370
+ }], buttonClass: [{
371
+ type: Input
372
+ }], arrowButtonClass: [{
373
+ type: Input
374
+ }], arrowButtonIcon: [{
375
+ type: Input
376
+ }], textField: [{
377
+ type: Input
378
+ }], data: [{
379
+ type: Input
380
+ }], buttonClick: [{
381
+ type: Output
382
+ }], itemClick: [{
383
+ type: Output
384
+ }], open: [{
385
+ type: Output
386
+ }], close: [{
387
+ type: Output
388
+ }], toolbarTemplate: [{
389
+ type: ViewChild,
390
+ args: ['toolbarTemplate', { static: true }]
391
+ }], popupTemplate: [{
392
+ type: ViewChild,
393
+ args: ['popupTemplate', { static: true }]
394
+ }], toolbarSplitButton: [{
395
+ type: ViewChild,
396
+ args: ['toolbarSplitButton', { static: false }]
397
+ }], overflowSplitButton: [{
398
+ type: ViewChild,
399
+ args: ['overflowSplitButton', { read: ElementRef, static: false }]
400
+ }], overflowSplitButtonButtonList: [{
401
+ type: ViewChild,
402
+ args: ['overflowSplitButtonButtonList', { static: false }]
403
+ }] } });
@@ -2,17 +2,13 @@
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 * as tslib_1 from "tslib";
6
5
  import { Component, Input } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Represents the Base ToolBar Tool component for Angular.
9
9
  * Extend this class to create custom tools.
10
10
  */
11
- let ToolBarToolComponent = class ToolBarToolComponent {
12
- /**
13
- * Represents the Base ToolBar Tool component for Angular.
14
- * Extend this class to create custom tools.
15
- */
11
+ export class ToolBarToolComponent {
16
12
  constructor() {
17
13
  this.tabIndex = -1; //Focus movement inside the toolbar is managed using roving tabindex.
18
14
  this.overflows = true;
@@ -56,16 +52,16 @@ let ToolBarToolComponent = class ToolBarToolComponent {
56
52
  handleKey(ev) {
57
53
  return false;
58
54
  }
59
- };
60
- tslib_1.__decorate([
61
- Input(),
62
- tslib_1.__metadata("design:type", Boolean)
63
- ], ToolBarToolComponent.prototype, "responsive", void 0);
64
- ToolBarToolComponent = tslib_1.__decorate([
65
- Component({
66
- // tslint:disable-next-line:component-selector
67
- selector: 'toolbar-tool',
68
- template: ``
69
- })
70
- ], ToolBarToolComponent);
71
- export { ToolBarToolComponent };
55
+ }
56
+ ToolBarToolComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolBarToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
57
+ ToolBarToolComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ToolBarToolComponent, selector: "toolbar-tool", inputs: { responsive: "responsive" }, ngImport: i0, template: ``, isInline: true });
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolBarToolComponent, decorators: [{
59
+ type: Component,
60
+ args: [{
61
+ // eslint-disable-next-line @angular-eslint/component-selector
62
+ selector: 'toolbar-tool',
63
+ template: ``
64
+ }]
65
+ }], propDecorators: { responsive: [{
66
+ type: Input
67
+ }] } });
File without changes