@progress/kendo-angular-toolbar 5.0.0-dev.202201190923 → 6.0.0-next.202203010923

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 +22 -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 +141 -124
  27. package/{dist/es2015 → esm2015}/toolbar.module.js +27 -11
  28. package/{dist/es2015 → esm2015}/tools/toolbar-button.component.js +118 -114
  29. package/esm2015/tools/toolbar-buttongroup.component.js +268 -0
  30. package/esm2015/tools/toolbar-buttonlist.component.js +94 -0
  31. package/{dist/es2015 → esm2015}/tools/toolbar-dropdownbutton.component.js +120 -121
  32. package/esm2015/tools/toolbar-separator.component.js +69 -0
  33. package/{dist/es2015 → esm2015}/tools/toolbar-splitbutton.component.js +130 -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} +1001 -878
  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 +32 -97
  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} +23 -16
  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 -627
  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 -2651
  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 -629
  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,69 @@
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
+ // eslint-disable-next-line no-forward-ref
52
+ providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSeparatorComponent) }],
53
+ selector: 'kendo-toolbar-separator',
54
+ template: `
55
+ <ng-template #toolbarTemplate>
56
+ <div class="k-separator"></div>
57
+ </ng-template>
58
+ `
59
+ }]
60
+ }], ctorParameters: function () { return []; }, propDecorators: { toolbarTemplate: [{
61
+ type: ViewChild,
62
+ args: ['toolbarTemplate', { static: true }]
63
+ }], popupTemplate: [{
64
+ type: ViewChild,
65
+ args: ['popupTemplate', { static: true }]
66
+ }], separator: [{
67
+ type: ViewChild,
68
+ args: ['separator', { static: false }]
69
+ }] } });
@@ -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,73 @@ 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", "shape", "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
+ // eslint-disable-next-line no-forward-ref
289
+ providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSplitButtonComponent) }],
290
+ selector: 'kendo-toolbar-splitbutton',
291
+ template: `
340
292
  <ng-template #toolbarTemplate>
341
293
  <kendo-splitbutton
342
294
  #toolbarSplitButton
@@ -393,7 +345,60 @@ ToolBarSplitButtonComponent = ToolBarSplitButtonComponent_1 = tslib_1.__decorate
393
345
  </kendo-toolbar-buttonlist>
394
346
  </ng-template>
395
347
  `
396
- }),
397
- tslib_1.__metadata("design:paramtypes", [])
398
- ], ToolBarSplitButtonComponent);
399
- export { ToolBarSplitButtonComponent };
348
+ }]
349
+ }], ctorParameters: function () { return []; }, propDecorators: { showText: [{
350
+ type: Input
351
+ }], showIcon: [{
352
+ type: Input
353
+ }], text: [{
354
+ type: Input
355
+ }], icon: [{
356
+ type: Input
357
+ }], iconClass: [{
358
+ type: Input
359
+ }], imageUrl: [{
360
+ type: Input
361
+ }], disabled: [{
362
+ type: Input
363
+ }], popupSettings: [{
364
+ type: Input
365
+ }], fillMode: [{
366
+ type: Input
367
+ }], themeColor: [{
368
+ type: Input
369
+ }], look: [{
370
+ type: Input
371
+ }], buttonClass: [{
372
+ type: Input
373
+ }], arrowButtonClass: [{
374
+ type: Input
375
+ }], arrowButtonIcon: [{
376
+ type: Input
377
+ }], textField: [{
378
+ type: Input
379
+ }], data: [{
380
+ type: Input
381
+ }], buttonClick: [{
382
+ type: Output
383
+ }], itemClick: [{
384
+ type: Output
385
+ }], open: [{
386
+ type: Output
387
+ }], close: [{
388
+ type: Output
389
+ }], toolbarTemplate: [{
390
+ type: ViewChild,
391
+ args: ['toolbarTemplate', { static: true }]
392
+ }], popupTemplate: [{
393
+ type: ViewChild,
394
+ args: ['popupTemplate', { static: true }]
395
+ }], toolbarSplitButton: [{
396
+ type: ViewChild,
397
+ args: ['toolbarSplitButton', { static: false }]
398
+ }], overflowSplitButton: [{
399
+ type: ViewChild,
400
+ args: ['overflowSplitButton', { read: ElementRef, static: false }]
401
+ }], overflowSplitButtonButtonList: [{
402
+ type: ViewChild,
403
+ args: ['overflowSplitButtonButtonList', { static: false }]
404
+ }] } });
@@ -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