@progress/kendo-angular-toolbar 4.1.3 → 5.0.1-dev.202202251425

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 (33) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/README.md +1 -1
  4. package/dist/cdn/js/kendo-angular-toolbar.js +2 -2
  5. package/dist/cdn/main.js +1 -1
  6. package/dist/es/package-metadata.js +1 -1
  7. package/dist/es/tools/toolbar-button.component.js +47 -14
  8. package/dist/es/tools/toolbar-buttongroup.component.js +16 -13
  9. package/dist/es/tools/toolbar-buttonlist.component.js +8 -3
  10. package/dist/es/tools/toolbar-dropdownbutton.component.js +64 -14
  11. package/dist/es/tools/toolbar-splitbutton.component.js +50 -9
  12. package/dist/es2015/index.metadata.json +1 -1
  13. package/dist/es2015/package-metadata.js +1 -1
  14. package/dist/es2015/tools/toolbar-button.component.d.ts +31 -11
  15. package/dist/es2015/tools/toolbar-button.component.js +46 -17
  16. package/dist/es2015/tools/toolbar-buttongroup.component.d.ts +3 -9
  17. package/dist/es2015/tools/toolbar-buttongroup.component.js +15 -16
  18. package/dist/es2015/tools/toolbar-buttonlist.component.d.ts +3 -2
  19. package/dist/es2015/tools/toolbar-buttonlist.component.js +9 -3
  20. package/dist/es2015/tools/toolbar-dropdownbutton.component.d.ts +40 -14
  21. package/dist/es2015/tools/toolbar-dropdownbutton.component.js +57 -15
  22. package/dist/es2015/tools/toolbar-splitbutton.component.d.ts +34 -10
  23. package/dist/es2015/tools/toolbar-splitbutton.component.js +51 -11
  24. package/dist/fesm2015/index.js +179 -63
  25. package/dist/fesm5/index.js +186 -54
  26. package/dist/npm/package-metadata.js +1 -1
  27. package/dist/npm/tools/toolbar-button.component.js +47 -14
  28. package/dist/npm/tools/toolbar-buttongroup.component.js +16 -13
  29. package/dist/npm/tools/toolbar-buttonlist.component.js +8 -3
  30. package/dist/npm/tools/toolbar-dropdownbutton.component.js +64 -14
  31. package/dist/npm/tools/toolbar-splitbutton.component.js +50 -9
  32. package/dist/systemjs/kendo-angular-toolbar.js +1 -1
  33. package/package.json +11 -11
@@ -20,7 +20,7 @@ var packageMetadata = {
20
20
  name: '@progress/kendo-angular-toolbar',
21
21
  productName: 'Kendo UI for Angular',
22
22
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
23
- publishDate: 1635939564,
23
+ publishDate: 1645799035,
24
24
  version: '',
25
25
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
26
26
  };
@@ -1080,24 +1080,40 @@ var ToolBarButtonComponent = /** @class */ (function (_super) {
1080
1080
  */
1081
1081
  _this.toggleable = false;
1082
1082
  /**
1083
- * Adds visual weight to the Button and makes it primary
1084
- * ([see example]({% slug controltypes_toolbar %}#toc-buttons)).
1083
+ * Sets the selected state of the Button.
1085
1084
  */
1086
- _this.primary = false;
1085
+ _this.selected = false;
1087
1086
  /**
1088
- * Changes the visual appearance by using alternative styling options
1089
- * ([see example]({% slug controltypes_toolbar %}#toc-buttons)).
1087
+ * The fillMode property specifies the background and border styles of the Button.
1090
1088
  *
1091
1089
  * The available values are:
1092
- * * `bare`
1090
+ * * `solid` (default)
1093
1091
  * * `flat`
1094
1092
  * * `outline`
1093
+ * * `link`
1094
+ * * `null`
1095
1095
  */
1096
- _this.look = 'default';
1096
+ _this.fillMode = 'solid';
1097
1097
  /**
1098
- * Sets the selected state of the Button.
1098
+ * The Button allows you to specify predefined theme colors.
1099
+ * The theme color will be applied as a background and border color while also amending the text color accordingly
1100
+ * ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-themeColor)).
1101
+ *
1102
+ * The possible values are:
1103
+ * * `base` —Applies coloring based on the `base` theme color. (default)
1104
+ * * `primary` —Applies coloring based on the `primary` theme color.
1105
+ * * `secondary`—Applies coloring based on the `secondary` theme color.
1106
+ * * `tertiary`— Applies coloring based on the `tertiary` theme color.
1107
+ * * `info`—Applies coloring based on the `info` theme color.
1108
+ * * `success`— Applies coloring based on the `success` theme color.
1109
+ * * `warning`— Applies coloring based on the `warning` theme color.
1110
+ * * `error`— Applies coloring based on the `error` theme color.
1111
+ * * `dark`— Applies coloring based on the `dark` theme color.
1112
+ * * `light`— Applies coloring based on the `light` theme color.
1113
+ * * `inverse`— Applies coloring based on the `inverse` theme color.
1114
+ * * `null` —Removes the default CSS class (no class would be rendered).
1099
1115
  */
1100
- _this.selected = false;
1116
+ _this.themeColor = 'base';
1101
1117
  /**
1102
1118
  * Fires each time the Button is clicked.
1103
1119
  */
@@ -1137,6 +1153,18 @@ var ToolBarButtonComponent = /** @class */ (function (_super) {
1137
1153
  enumerable: true,
1138
1154
  configurable: true
1139
1155
  });
1156
+ Object.defineProperty(ToolBarButtonComponent.prototype, "look", {
1157
+ /**
1158
+ * @hidden
1159
+ */
1160
+ set: function (look) {
1161
+ if (look) {
1162
+ this.fillMode = look === 'default' ? 'solid' : look;
1163
+ }
1164
+ },
1165
+ enumerable: true,
1166
+ configurable: true
1167
+ });
1140
1168
  Object.defineProperty(ToolBarButtonComponent.prototype, "togglable", {
1141
1169
  /**
1142
1170
  * @hidden
@@ -1253,6 +1281,11 @@ var ToolBarButtonComponent = /** @class */ (function (_super) {
1253
1281
  Input(),
1254
1282
  __metadata("design:type", Boolean)
1255
1283
  ], ToolBarButtonComponent.prototype, "toggleable", void 0);
1284
+ __decorate([
1285
+ Input(),
1286
+ __metadata("design:type", String),
1287
+ __metadata("design:paramtypes", [String])
1288
+ ], ToolBarButtonComponent.prototype, "look", null);
1256
1289
  __decorate([
1257
1290
  Input(),
1258
1291
  __metadata("design:type", Boolean),
@@ -1261,15 +1294,15 @@ var ToolBarButtonComponent = /** @class */ (function (_super) {
1261
1294
  __decorate([
1262
1295
  Input(),
1263
1296
  __metadata("design:type", Boolean)
1264
- ], ToolBarButtonComponent.prototype, "primary", void 0);
1297
+ ], ToolBarButtonComponent.prototype, "selected", void 0);
1265
1298
  __decorate([
1266
1299
  Input(),
1267
1300
  __metadata("design:type", String)
1268
- ], ToolBarButtonComponent.prototype, "look", void 0);
1301
+ ], ToolBarButtonComponent.prototype, "fillMode", void 0);
1269
1302
  __decorate([
1270
1303
  Input(),
1271
- __metadata("design:type", Boolean)
1272
- ], ToolBarButtonComponent.prototype, "selected", void 0);
1304
+ __metadata("design:type", String)
1305
+ ], ToolBarButtonComponent.prototype, "themeColor", void 0);
1273
1306
  __decorate([
1274
1307
  Input(),
1275
1308
  __metadata("design:type", String),
@@ -1319,7 +1352,7 @@ var ToolBarButtonComponent = /** @class */ (function (_super) {
1319
1352
  // tslint:disable-next-line:no-forward-ref
1320
1353
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(function () { return ToolBarButtonComponent_1; }) }],
1321
1354
  selector: 'kendo-toolbar-button',
1322
- template: "\n <ng-template #toolbarTemplate>\n <button\n #toolbarButton\n [tabindex]=\"tabIndex\"\n type=\"button\"\n kendoButton\n [ngStyle]=\"style\"\n [ngClass]=\"className\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [toggleable]=\"toggleable\"\n [primary]=\"primary\"\n [selected]=\"selected\"\n [icon]=\"toolbarOptions.icon\"\n [iconClass]=\"toolbarOptions.iconClass\"\n [imageUrl]=\"toolbarOptions.imageUrl\"\n [look]=\"look\"\n (click)=\"click.emit($event)\"\n (pointerdown)=\"pointerdown.emit($event)\"\n (selectedChange)=\"selectedChange.emit($event)\"\n (blur)=\"onBlur()\"\n >\n {{ toolbarOptions.text }}\n </button>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n #overflowButton\n tabindex=\"-1\"\n type=\"button\"\n kendoButton\n class=\"k-overflow-button\"\n [ngStyle]=\"style\"\n [ngClass]=\"className\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [toggleable]=\"toggleable\"\n [primary]=\"primary\"\n [selected]=\"selected\"\n [icon]=\"overflowOptions.icon\"\n [iconClass]=\"overflowOptions.iconClass\"\n [imageUrl]=\"overflowOptions.imageUrl\"\n [look]=\"look\"\n (click)=\"click.emit($event)\"\n (selectedChange)=\"selectedChange.emit($event)\"\n >\n {{ overflowOptions.text }}\n </button>\n </ng-template>\n "
1355
+ template: "\n <ng-template #toolbarTemplate>\n <button\n #toolbarButton\n [tabindex]=\"tabIndex\"\n type=\"button\"\n kendoButton\n [ngStyle]=\"style\"\n [ngClass]=\"className\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [toggleable]=\"toggleable\"\n [fillMode]=\"fillMode\"\n [themeColor]=\"fillMode ? themeColor : null\"\n [selected]=\"selected\"\n [icon]=\"toolbarOptions.icon\"\n [iconClass]=\"toolbarOptions.iconClass\"\n [imageUrl]=\"toolbarOptions.imageUrl\"\n (click)=\"click.emit($event)\"\n (pointerdown)=\"pointerdown.emit($event)\"\n (selectedChange)=\"selectedChange.emit($event)\"\n (blur)=\"onBlur()\"\n >\n {{ toolbarOptions.text }}\n </button>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n #overflowButton\n tabindex=\"-1\"\n type=\"button\"\n kendoButton\n class=\"k-overflow-button\"\n [ngStyle]=\"style\"\n [ngClass]=\"className\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [toggleable]=\"toggleable\"\n [fillMode]=\"fillMode\"\n [themeColor]=\"fillMode ? themeColor : null\"\n [selected]=\"selected\"\n [icon]=\"overflowOptions.icon\"\n [iconClass]=\"overflowOptions.iconClass\"\n [imageUrl]=\"overflowOptions.imageUrl\"\n (click)=\"click.emit($event)\"\n (selectedChange)=\"selectedChange.emit($event)\"\n >\n {{ overflowOptions.text }}\n </button>\n </ng-template>\n "
1323
1356
  }),
1324
1357
  __metadata("design:paramtypes", [])
1325
1358
  ], ToolBarButtonComponent);
@@ -1338,22 +1371,24 @@ var ToolBarButtonGroupComponent = /** @class */ (function (_super) {
1338
1371
  * By default, the selection mode of the ButtonGroup is set to `multiple`.
1339
1372
  */
1340
1373
  _this.selection = 'multiple';
1341
- /**
1342
- * Changes the visual appearance by using alternative styling options.
1343
- * Setting the `look` property on individual buttons inside the ToolBarButtonGroupComponent is not supported.
1344
- *
1345
- * The available values are:
1346
- * * `bare`
1347
- * * `flat`
1348
- * * `outline`
1349
- */
1350
- _this.look = 'default';
1351
1374
  _this.focusedIndex = -1;
1352
1375
  _this.getNextKey = getNextKey(_this.localization.rtl);
1353
1376
  _this.getPrevKey = getPrevKey(_this.localization.rtl);
1354
1377
  return _this;
1355
1378
  }
1356
1379
  ToolBarButtonGroupComponent_1 = ToolBarButtonGroupComponent;
1380
+ Object.defineProperty(ToolBarButtonGroupComponent.prototype, "look", {
1381
+ /**
1382
+ * @hidden
1383
+ */
1384
+ set: function (look) {
1385
+ if (look) {
1386
+ this.buttonComponents.forEach(function (b) { return b.fillMode = look === 'default' ? 'solid' : look; });
1387
+ }
1388
+ },
1389
+ enumerable: true,
1390
+ configurable: true
1391
+ });
1357
1392
  Object.defineProperty(ToolBarButtonGroupComponent.prototype, "buttonElements", {
1358
1393
  get: function () {
1359
1394
  return this.getButtonGroup()
@@ -1442,8 +1477,9 @@ var ToolBarButtonGroupComponent = /** @class */ (function (_super) {
1442
1477
  ], ToolBarButtonGroupComponent.prototype, "width", void 0);
1443
1478
  __decorate([
1444
1479
  Input(),
1445
- __metadata("design:type", String)
1446
- ], ToolBarButtonGroupComponent.prototype, "look", void 0);
1480
+ __metadata("design:type", String),
1481
+ __metadata("design:paramtypes", [String])
1482
+ ], ToolBarButtonGroupComponent.prototype, "look", null);
1447
1483
  __decorate([
1448
1484
  ViewChild('toolbarTemplate', { static: true }),
1449
1485
  __metadata("design:type", TemplateRef)
@@ -1470,7 +1506,7 @@ var ToolBarButtonGroupComponent = /** @class */ (function (_super) {
1470
1506
  // tslint:disable-next-line:no-forward-ref
1471
1507
  providers: [LocalizationService, { provide: ToolBarToolComponent, useExisting: forwardRef(function () { return ToolBarButtonGroupComponent_1; }) }],
1472
1508
  selector: 'kendo-toolbar-buttongroup',
1473
- template: "\n <ng-template #toolbarTemplate>\n <kendo-buttongroup\n #toolbarButtonGroup\n [tabIndex]=\"-1\"\n [selection]=\"selection\"\n [disabled]=\"disabled\"\n [look]=\"look\"\n [width]=\"width\"\n (navigate)=\"onNavigate($event)\"\n (focus)=\"onFocus()\"\n >\n <span\n kendoButton\n *ngFor=\"let button of buttonComponents\"\n [ngStyle]=\"button.style\"\n [ngClass]=\"button.className\"\n [attr.title]=\"button.title\"\n [disabled]=\"button.disabled\"\n [togglable]=\"button.togglable\"\n [primary]=\"button.primary\"\n [selected]=\"button.selected\"\n [icon]=\"button.toolbarOptions.icon\"\n [iconClass]=\"button.toolbarOptions.iconClass\"\n [imageUrl]=\"button.toolbarOptions.imageUrl\"\n (click)=\"button.click.emit($event); onButtonClick($event)\"\n (pointerdown)=\"button.pointerdown.emit($event)\"\n (selectedChange)=\"selectedChangeHandler($event, button)\"\n >\n {{ button.toolbarOptions.text }}\n </span>\n </kendo-buttongroup>\n </ng-template>\n <ng-template #popupTemplate>\n <kendo-buttongroup\n #overflowButtonGroup\n class=\"k-overflow-button\"\n [tabIndex]=\"-1\"\n [selection]=\"selection\"\n [disabled]=\"disabled\"\n [look]=\"look\"\n [width]=\"width\"\n >\n <span\n kendoButton\n class=\"k-overflow-button\"\n *ngFor=\"let button of buttonComponents\"\n [ngStyle]=\"button.style\"\n [ngClass]=\"button.className\"\n [attr.title]=\"button.title\"\n [disabled]=\"button.disabled\"\n [togglable]=\"button.togglable\"\n [primary]=\"button.primary\"\n [selected]=\"button.selected\"\n [icon]=\"button.overflowOptions.icon\"\n [iconClass]=\"button.overflowOptions.iconClass\"\n [imageUrl]=\"button.overflowOptions.imageUrl\"\n (click)=\"button.click.emit($event); onButtonClick($event)\"\n (selectedChange)=\"selectedChangeHandler($event, button)\"\n >\n {{ button.overflowOptions.text }}\n </span>\n </kendo-buttongroup>\n </ng-template>\n "
1509
+ template: "\n <ng-template #toolbarTemplate>\n <kendo-buttongroup\n #toolbarButtonGroup\n [tabIndex]=\"-1\"\n [selection]=\"selection\"\n [disabled]=\"disabled\"\n [width]=\"width\"\n (navigate)=\"onNavigate($event)\"\n (focus)=\"onFocus()\"\n >\n <span\n kendoButton\n *ngFor=\"let button of buttonComponents\"\n [ngStyle]=\"button.style\"\n [ngClass]=\"button.className\"\n [attr.title]=\"button.title\"\n [disabled]=\"button.disabled\"\n [togglable]=\"button.togglable\"\n [selected]=\"button.selected\"\n [fillMode]=\"button.fillMode\"\n [themeColor]=\"button.fillMode ? button.themeColor : null\"\n [icon]=\"button.toolbarOptions.icon\"\n [iconClass]=\"button.toolbarOptions.iconClass\"\n [imageUrl]=\"button.toolbarOptions.imageUrl\"\n (click)=\"button.click.emit($event); onButtonClick($event)\"\n (pointerdown)=\"button.pointerdown.emit($event)\"\n (selectedChange)=\"selectedChangeHandler($event, button)\"\n >\n {{ button.toolbarOptions.text }}\n </span>\n </kendo-buttongroup>\n </ng-template>\n <ng-template #popupTemplate>\n <kendo-buttongroup\n #overflowButtonGroup\n class=\"k-overflow-button\"\n [tabIndex]=\"-1\"\n [selection]=\"selection\"\n [disabled]=\"disabled\"\n [width]=\"width\"\n >\n <span\n kendoButton\n class=\"k-overflow-button\"\n *ngFor=\"let button of buttonComponents\"\n [ngStyle]=\"button.style\"\n [ngClass]=\"button.className\"\n [attr.title]=\"button.title\"\n [disabled]=\"button.disabled\"\n [togglable]=\"button.togglable\"\n [selected]=\"button.selected\"\n [fillMode]=\"button.fillMode\"\n [themeColor]=\"button.fillMode ? button.themeColor : null\"\n [icon]=\"button.overflowOptions.icon\"\n [iconClass]=\"button.overflowOptions.iconClass\"\n [imageUrl]=\"button.overflowOptions.imageUrl\"\n (click)=\"button.click.emit($event); onButtonClick($event)\"\n (selectedChange)=\"selectedChangeHandler($event, button)\"\n >\n {{ button.overflowOptions.text }}\n </span>\n </kendo-buttongroup>\n </ng-template>\n "
1474
1510
  }),
1475
1511
  __metadata("design:paramtypes", [LocalizationService])
1476
1512
  ], ToolBarButtonGroupComponent);
@@ -1483,7 +1519,8 @@ var ToolBarButtonGroupComponent = /** @class */ (function (_super) {
1483
1519
  var ToolBarButtonListComponent = /** @class */ (function () {
1484
1520
  function ToolBarButtonListComponent() {
1485
1521
  this.disabled = false;
1486
- this.look = 'default';
1522
+ this.fillMode = 'solid';
1523
+ this.themeColor = 'base';
1487
1524
  this.itemClick = new EventEmitter();
1488
1525
  }
1489
1526
  ToolBarButtonListComponent.prototype.getText = function (dataItem) {
@@ -1514,7 +1551,11 @@ var ToolBarButtonListComponent = /** @class */ (function () {
1514
1551
  __decorate([
1515
1552
  Input(),
1516
1553
  __metadata("design:type", String)
1517
- ], ToolBarButtonListComponent.prototype, "look", void 0);
1554
+ ], ToolBarButtonListComponent.prototype, "fillMode", void 0);
1555
+ __decorate([
1556
+ Input(),
1557
+ __metadata("design:type", String)
1558
+ ], ToolBarButtonListComponent.prototype, "themeColor", void 0);
1518
1559
  __decorate([
1519
1560
  Output(),
1520
1561
  __metadata("design:type", EventEmitter)
@@ -1526,7 +1567,7 @@ var ToolBarButtonListComponent = /** @class */ (function () {
1526
1567
  ToolBarButtonListComponent = __decorate([
1527
1568
  Component({
1528
1569
  selector: 'kendo-toolbar-buttonlist',
1529
- template: "\n <button\n #button\n type=\"button\"\n tabindex=\"-1\"\n kendoButton\n style=\"padding-left: 16px\"\n class=\"k-overflow-button\"\n *ngFor=\"let item of data; let i = index\"\n [disabled]=\"disabled || item.disabled\"\n [icon]=\"item.icon\"\n [iconClass]=\"item.iconClass\"\n [imageUrl]=\"item.imageUrl\"\n [look]=\"look\"\n (click)=\"onClick(item, i)\"\n >\n {{ getText(item) }}\n </button>\n "
1570
+ template: "\n <button\n #button\n type=\"button\"\n tabindex=\"-1\"\n kendoButton\n style=\"padding-left: 16px\"\n class=\"k-overflow-button\"\n *ngFor=\"let item of data; let i = index\"\n [disabled]=\"disabled || item.disabled\"\n [icon]=\"item.icon\"\n [iconClass]=\"item.iconClass\"\n [imageUrl]=\"item.imageUrl\"\n [fillMode]=\"fillMode\"\n [themeColor]=\"fillMode ? themeColor : null\"\n (click)=\"onClick(item, i)\"\n >\n {{ getText(item) }}\n </button>\n "
1530
1571
  })
1531
1572
  ], ToolBarButtonListComponent);
1532
1573
  return ToolBarButtonListComponent;
@@ -1549,18 +1590,36 @@ var ToolBarDropDownButtonComponent = /** @class */ (function (_super) {
1549
1590
  */
1550
1591
  _this.showIcon = 'both';
1551
1592
  /**
1552
- * Changes the visual appearance by using alternative styling options.
1553
- * ([see example]({% slug controltypes_toolbar %}#toc-split-buttons)).
1593
+ * The fillMode property specifies the background and border styles of the Button.
1554
1594
  *
1555
1595
  * The available values are:
1596
+ * * `solid` (default)
1556
1597
  * * `flat`
1557
1598
  * * `outline`
1599
+ * * `link`
1600
+ * * `null`
1558
1601
  */
1559
- _this.look = 'default';
1602
+ _this.fillMode = 'solid';
1560
1603
  /**
1561
- * Adds visual weight to the default button and makes it primary.
1604
+ * The Button allows you to specify predefined theme colors.
1605
+ * The theme color will be applied as a background and border color while also amending the text color accordingly
1606
+ * ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-themeColor)).
1607
+ *
1608
+ * The possible values are:
1609
+ * * `base` &mdash;Applies coloring based on the `base` theme color. (default)
1610
+ * * `primary` &mdash;Applies coloring based on the `primary` theme color.
1611
+ * * `secondary`&mdash;Applies coloring based on the `secondary` theme color.
1612
+ * * `tertiary`&mdash; Applies coloring based on the `tertiary` theme color.
1613
+ * * `info`&mdash;Applies coloring based on the `info` theme color.
1614
+ * * `success`&mdash; Applies coloring based on the `success` theme color.
1615
+ * * `warning`&mdash; Applies coloring based on the `warning` theme color.
1616
+ * * `error`&mdash; Applies coloring based on the `error` theme color.
1617
+ * * `dark`&mdash; Applies coloring based on the `dark` theme color.
1618
+ * * `light`&mdash; Applies coloring based on the `light` theme color.
1619
+ * * `inverse`&mdash; Applies coloring based on the `inverse` theme color.
1620
+ * * `null` &mdash;Removes the default CSS class (no class would be rendered).
1562
1621
  */
1563
- _this.primary = false;
1622
+ _this.themeColor = 'base';
1564
1623
  /**
1565
1624
  * Fires each time the user clicks a DropDownButton item.
1566
1625
  * The event data contains the data item that is bound to the clicked list item.
@@ -1657,6 +1716,28 @@ var ToolBarDropDownButtonComponent = /** @class */ (function (_super) {
1657
1716
  enumerable: true,
1658
1717
  configurable: true
1659
1718
  });
1719
+ Object.defineProperty(ToolBarDropDownButtonComponent.prototype, "look", {
1720
+ /**
1721
+ * @hidden
1722
+ */
1723
+ set: function (look) {
1724
+ if (look) {
1725
+ this.fillMode = look === 'default' ? 'solid' : look;
1726
+ }
1727
+ },
1728
+ enumerable: true,
1729
+ configurable: true
1730
+ });
1731
+ Object.defineProperty(ToolBarDropDownButtonComponent.prototype, "primary", {
1732
+ /**
1733
+ * @hidden
1734
+ */
1735
+ set: function (primary) {
1736
+ this.themeColor = primary ? 'primary' : 'base';
1737
+ },
1738
+ enumerable: true,
1739
+ configurable: true
1740
+ });
1660
1741
  Object.defineProperty(ToolBarDropDownButtonComponent.prototype, "data", {
1661
1742
  get: function () {
1662
1743
  if (!this._data) {
@@ -1766,6 +1847,24 @@ var ToolBarDropDownButtonComponent = /** @class */ (function (_super) {
1766
1847
  __metadata("design:type", Object),
1767
1848
  __metadata("design:paramtypes", [Object])
1768
1849
  ], ToolBarDropDownButtonComponent.prototype, "popupSettings", null);
1850
+ __decorate([
1851
+ Input(),
1852
+ __metadata("design:type", String),
1853
+ __metadata("design:paramtypes", [String])
1854
+ ], ToolBarDropDownButtonComponent.prototype, "look", null);
1855
+ __decorate([
1856
+ Input(),
1857
+ __metadata("design:type", Boolean),
1858
+ __metadata("design:paramtypes", [Boolean])
1859
+ ], ToolBarDropDownButtonComponent.prototype, "primary", null);
1860
+ __decorate([
1861
+ Input(),
1862
+ __metadata("design:type", String)
1863
+ ], ToolBarDropDownButtonComponent.prototype, "fillMode", void 0);
1864
+ __decorate([
1865
+ Input(),
1866
+ __metadata("design:type", String)
1867
+ ], ToolBarDropDownButtonComponent.prototype, "themeColor", void 0);
1769
1868
  __decorate([
1770
1869
  Input(),
1771
1870
  __metadata("design:type", String)
@@ -1778,19 +1877,11 @@ var ToolBarDropDownButtonComponent = /** @class */ (function (_super) {
1778
1877
  Input(),
1779
1878
  __metadata("design:type", Boolean)
1780
1879
  ], ToolBarDropDownButtonComponent.prototype, "disabled", void 0);
1781
- __decorate([
1782
- Input(),
1783
- __metadata("design:type", String)
1784
- ], ToolBarDropDownButtonComponent.prototype, "look", void 0);
1785
1880
  __decorate([
1786
1881
  Input(),
1787
1882
  __metadata("design:type", Array),
1788
1883
  __metadata("design:paramtypes", [Array])
1789
1884
  ], ToolBarDropDownButtonComponent.prototype, "data", null);
1790
- __decorate([
1791
- Input(),
1792
- __metadata("design:type", Boolean)
1793
- ], ToolBarDropDownButtonComponent.prototype, "primary", void 0);
1794
1885
  __decorate([
1795
1886
  Output(),
1796
1887
  __metadata("design:type", EventEmitter)
@@ -1833,7 +1924,7 @@ var ToolBarDropDownButtonComponent = /** @class */ (function (_super) {
1833
1924
  // tslint:disable-next-line:no-forward-ref
1834
1925
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(function () { return ToolBarDropDownButtonComponent_1; }) }],
1835
1926
  selector: 'kendo-toolbar-dropdownbutton',
1836
- template: "\n <ng-template #toolbarTemplate>\n <kendo-dropdownbutton\n #toolbarDropDownButton\n [icon]=\"toolbarOptions.icon\"\n [iconClass]=\"toolbarOptions.iconClass\"\n [imageUrl]=\"toolbarOptions.imageUrl\"\n [buttonClass]=\"buttonClass\"\n [disabled]=\"disabled\"\n [tabIndex]=\"-1\"\n [data]=\"data\"\n [textField]=\"textField\"\n [popupSettings]=\"popupSettings\"\n [look]=\"look\"\n [primary]=\"primary\"\n (open)=\"open.emit($event)\"\n (close)=\"close.emit($event)\"\n (itemClick)=\"itemClick.emit($event)\"\n >\n {{ toolbarOptions.text }}\n </kendo-dropdownbutton>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n type=\"button\"\n tabindex=\"-1\"\n kendoButton\n class=\"k-overflow-button\"\n [disabled]=\"true\"\n [icon]=\"overflowOptions.icon\"\n [iconClass]=\"overflowOptions.iconClass\"\n [imageUrl]=\"overflowOptions.imageUrl\"\n [ngClass]=\"buttonClass\"\n (click)=\"itemClick.emit($event)\"\n >\n {{ overflowOptions.text }}\n </button>\n <kendo-toolbar-buttonlist\n #overflowDropDownButtonButtonList\n [data]=\"data\"\n [disabled]=\"disabled\"\n [textField]=\"textField\"\n (itemClick)=\"itemClick.emit($event)\"\n (click)=\"onButtonListClick($event)\"\n >\n </kendo-toolbar-buttonlist>\n </ng-template>\n "
1927
+ template: "\n <ng-template #toolbarTemplate>\n <kendo-dropdownbutton\n #toolbarDropDownButton\n [icon]=\"toolbarOptions.icon\"\n [iconClass]=\"toolbarOptions.iconClass\"\n [imageUrl]=\"toolbarOptions.imageUrl\"\n [buttonClass]=\"buttonClass\"\n [disabled]=\"disabled\"\n [tabIndex]=\"-1\"\n [data]=\"data\"\n [textField]=\"textField\"\n [popupSettings]=\"popupSettings\"\n [fillMode]=\"fillMode\"\n [themeColor]=\"fillMode ? themeColor : null\"\n (open)=\"open.emit($event)\"\n (close)=\"close.emit($event)\"\n (itemClick)=\"itemClick.emit($event)\"\n >\n {{ toolbarOptions.text }}\n </kendo-dropdownbutton>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n type=\"button\"\n tabindex=\"-1\"\n kendoButton\n class=\"k-overflow-button\"\n [disabled]=\"true\"\n [icon]=\"overflowOptions.icon\"\n [iconClass]=\"overflowOptions.iconClass\"\n [imageUrl]=\"overflowOptions.imageUrl\"\n [ngClass]=\"buttonClass\"\n (click)=\"itemClick.emit($event)\"\n >\n {{ overflowOptions.text }}\n </button>\n <kendo-toolbar-buttonlist\n #overflowDropDownButtonButtonList\n [data]=\"data\"\n [disabled]=\"disabled\"\n [textField]=\"textField\"\n (itemClick)=\"itemClick.emit($event)\"\n (click)=\"onButtonListClick($event)\"\n >\n </kendo-toolbar-buttonlist>\n </ng-template>\n "
1837
1928
  }),
1838
1929
  __metadata("design:paramtypes", [])
1839
1930
  ], ToolBarDropDownButtonComponent);
@@ -1857,15 +1948,35 @@ var ToolBarSplitButtonComponent = /** @class */ (function (_super) {
1857
1948
  */
1858
1949
  _this.showIcon = 'both';
1859
1950
  /**
1860
- * Changes the visual appearance by using alternative styling options
1861
- * ([see example]({% slug controltypes_toolbar %}#toc-split-buttons)).
1951
+ * The fillMode property specifies the background and border styles of the Button.
1862
1952
  *
1863
1953
  * The available values are:
1864
- * * `default`
1954
+ * * `solid` (default)
1865
1955
  * * `flat`
1866
1956
  * * `outline`
1957
+ * * `link`
1958
+ * * `null`
1959
+ */
1960
+ _this.fillMode = 'solid';
1961
+ /**
1962
+ * The Button allows you to specify predefined theme colors.
1963
+ * The theme color will be applied as a background and border color while also amending the text color accordingly.
1964
+ *
1965
+ * The possible values are:
1966
+ * * `base` &mdash;Applies coloring based on the `base` theme color. (default)
1967
+ * * `primary` &mdash;Applies coloring based on the `primary` theme color.
1968
+ * * `secondary`&mdash;Applies coloring based on the `secondary` theme color.
1969
+ * * `tertiary`&mdash; Applies coloring based on the `tertiary` theme color.
1970
+ * * `info`&mdash;Applies coloring based on the `info` theme color.
1971
+ * * `success`&mdash; Applies coloring based on the `success` theme color.
1972
+ * * `warning`&mdash; Applies coloring based on the `warning` theme color.
1973
+ * * `error`&mdash; Applies coloring based on the `error` theme color.
1974
+ * * `dark`&mdash; Applies coloring based on the `dark` theme color.
1975
+ * * `light`&mdash; Applies coloring based on the `light` theme color.
1976
+ * * `inverse`&mdash; Applies coloring based on the `inverse` theme color.
1977
+ * * `null` &mdash;Removes the default CSS class (no class would be rendered).
1867
1978
  */
1868
- _this.look = 'default';
1979
+ _this.themeColor = 'base';
1869
1980
  /**
1870
1981
  * Specifies the name of the [font icon]({% slug icons %}#toc-list-of-font-icons) that will
1871
1982
  * be rendered for the button which opens the popup.
@@ -1978,6 +2089,18 @@ var ToolBarSplitButtonComponent = /** @class */ (function (_super) {
1978
2089
  enumerable: true,
1979
2090
  configurable: true
1980
2091
  });
2092
+ Object.defineProperty(ToolBarSplitButtonComponent.prototype, "look", {
2093
+ /**
2094
+ * @hidden
2095
+ */
2096
+ set: function (look) {
2097
+ if (look) {
2098
+ this.fillMode = look === 'default' ? 'solid' : look;
2099
+ }
2100
+ },
2101
+ enumerable: true,
2102
+ configurable: true
2103
+ });
1981
2104
  Object.defineProperty(ToolBarSplitButtonComponent.prototype, "data", {
1982
2105
  get: function () {
1983
2106
  if (!this._data) {
@@ -2090,15 +2213,24 @@ var ToolBarSplitButtonComponent = /** @class */ (function (_super) {
2090
2213
  Input(),
2091
2214
  __metadata("design:type", Boolean)
2092
2215
  ], ToolBarSplitButtonComponent.prototype, "disabled", void 0);
2093
- __decorate([
2094
- Input(),
2095
- __metadata("design:type", String)
2096
- ], ToolBarSplitButtonComponent.prototype, "look", void 0);
2097
2216
  __decorate([
2098
2217
  Input(),
2099
2218
  __metadata("design:type", Object),
2100
2219
  __metadata("design:paramtypes", [Object])
2101
2220
  ], ToolBarSplitButtonComponent.prototype, "popupSettings", null);
2221
+ __decorate([
2222
+ Input(),
2223
+ __metadata("design:type", String)
2224
+ ], ToolBarSplitButtonComponent.prototype, "fillMode", void 0);
2225
+ __decorate([
2226
+ Input(),
2227
+ __metadata("design:type", String)
2228
+ ], ToolBarSplitButtonComponent.prototype, "themeColor", void 0);
2229
+ __decorate([
2230
+ Input(),
2231
+ __metadata("design:type", String),
2232
+ __metadata("design:paramtypes", [String])
2233
+ ], ToolBarSplitButtonComponent.prototype, "look", null);
2102
2234
  __decorate([
2103
2235
  Input(),
2104
2236
  __metadata("design:type", String)
@@ -2162,7 +2294,7 @@ var ToolBarSplitButtonComponent = /** @class */ (function (_super) {
2162
2294
  // tslint:disable-next-line:no-forward-ref
2163
2295
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(function () { return ToolBarSplitButtonComponent_1; }) }],
2164
2296
  selector: 'kendo-toolbar-splitbutton',
2165
- template: "\n <ng-template #toolbarTemplate>\n <kendo-splitbutton\n #toolbarSplitButton\n [data]=\"data\"\n [text]=\"toolbarOptions.text\"\n [icon]=\"toolbarOptions.icon\"\n [iconClass]=\"toolbarOptions.iconClass\"\n [imageUrl]=\"toolbarOptions.imageUrl\"\n [buttonClass]=\"buttonClass\"\n [arrowButtonClass]=\"arrowButtonClass\"\n [arrowButtonIcon]=\"arrowButtonIcon\"\n [disabled]=\"disabled\"\n [tabIndex]=\"-1\"\n [textField]=\"textField\"\n [popupSettings]=\"popupSettings\"\n [look]=\"look\"\n (buttonClick)=\"buttonClick.emit($event)\"\n (open)=\"open.emit($event)\"\n (close)=\"close.emit($event)\"\n (itemClick)=\"itemClick.emit($event)\"\n >\n </kendo-splitbutton>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n #overflowSplitButton\n type=\"button\"\n tabindex=\"-1\"\n kendoButton\n class=\"k-overflow-button\"\n [disabled]=\"disabled\"\n [icon]=\"overflowOptions.icon\"\n [iconClass]=\"overflowOptions.iconClass\"\n [imageUrl]=\"overflowOptions.imageUrl\"\n [look]=\"look\"\n [ngClass]=\"buttonClass\"\n (click)=\"buttonClick.emit($event)\"\n (click)=\"onMainButtonClick($event)\"\n >\n {{ overflowOptions.text }}\n </button>\n <kendo-toolbar-buttonlist\n #overflowSplitButtonButtonList\n [look]=\"look\"\n [data]=\"data\"\n [disabled]=\"disabled\"\n [textField]=\"textField\"\n (itemClick)=\"itemClick.emit($event)\"\n (click)=\"onButtonListClick($event)\"\n >\n </kendo-toolbar-buttonlist>\n </ng-template>\n "
2297
+ template: "\n <ng-template #toolbarTemplate>\n <kendo-splitbutton\n #toolbarSplitButton\n [data]=\"data\"\n [text]=\"toolbarOptions.text\"\n [icon]=\"toolbarOptions.icon\"\n [iconClass]=\"toolbarOptions.iconClass\"\n [imageUrl]=\"toolbarOptions.imageUrl\"\n [buttonClass]=\"buttonClass\"\n [arrowButtonClass]=\"arrowButtonClass\"\n [arrowButtonIcon]=\"arrowButtonIcon\"\n [disabled]=\"disabled\"\n [tabIndex]=\"-1\"\n [textField]=\"textField\"\n [popupSettings]=\"popupSettings\"\n [fillMode]=\"fillMode\"\n [themeColor]=\"fillMode ? themeColor : null\"\n (buttonClick)=\"buttonClick.emit($event)\"\n (open)=\"open.emit($event)\"\n (close)=\"close.emit($event)\"\n (itemClick)=\"itemClick.emit($event)\"\n >\n </kendo-splitbutton>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n #overflowSplitButton\n type=\"button\"\n tabindex=\"-1\"\n [fillMode]=\"fillMode\"\n [themeColor]=\"fillMode ? themeColor : null\"\n kendoButton\n class=\"k-overflow-button\"\n [disabled]=\"disabled\"\n [icon]=\"overflowOptions.icon\"\n [iconClass]=\"overflowOptions.iconClass\"\n [imageUrl]=\"overflowOptions.imageUrl\"\n [ngClass]=\"buttonClass\"\n (click)=\"buttonClick.emit($event)\"\n (click)=\"onMainButtonClick($event)\"\n >\n {{ overflowOptions.text }}\n </button>\n <kendo-toolbar-buttonlist\n #overflowSplitButtonButtonList\n [data]=\"data\"\n [disabled]=\"disabled\"\n [fillMode]=\"fillMode\"\n [themeColor]=\"fillMode ? themeColor : null\"\n [textField]=\"textField\"\n (itemClick)=\"itemClick.emit($event)\"\n (click)=\"onButtonListClick($event)\"\n >\n </kendo-toolbar-buttonlist>\n </ng-template>\n "
2166
2298
  }),
2167
2299
  __metadata("design:paramtypes", [])
2168
2300
  ], ToolBarSplitButtonComponent);
@@ -11,7 +11,7 @@ exports.packageMetadata = {
11
11
  name: '@progress/kendo-angular-toolbar',
12
12
  productName: 'Kendo UI for Angular',
13
13
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1635939564,
14
+ publishDate: 1645799035,
15
15
  version: '',
16
16
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
17
17
  };
@@ -31,24 +31,40 @@ var ToolBarButtonComponent = /** @class */ (function (_super) {
31
31
  */
32
32
  _this.toggleable = false;
33
33
  /**
34
- * Adds visual weight to the Button and makes it primary
35
- * ([see example]({% slug controltypes_toolbar %}#toc-buttons)).
34
+ * Sets the selected state of the Button.
36
35
  */
37
- _this.primary = false;
36
+ _this.selected = false;
38
37
  /**
39
- * Changes the visual appearance by using alternative styling options
40
- * ([see example]({% slug controltypes_toolbar %}#toc-buttons)).
38
+ * The fillMode property specifies the background and border styles of the Button.
41
39
  *
42
40
  * The available values are:
43
- * * `bare`
41
+ * * `solid` (default)
44
42
  * * `flat`
45
43
  * * `outline`
44
+ * * `link`
45
+ * * `null`
46
46
  */
47
- _this.look = 'default';
47
+ _this.fillMode = 'solid';
48
48
  /**
49
- * Sets the selected state of the Button.
49
+ * The Button allows you to specify predefined theme colors.
50
+ * The theme color will be applied as a background and border color while also amending the text color accordingly
51
+ * ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-themeColor)).
52
+ *
53
+ * The possible values are:
54
+ * * `base` &mdash;Applies coloring based on the `base` theme color. (default)
55
+ * * `primary` &mdash;Applies coloring based on the `primary` theme color.
56
+ * * `secondary`&mdash;Applies coloring based on the `secondary` theme color.
57
+ * * `tertiary`&mdash; Applies coloring based on the `tertiary` theme color.
58
+ * * `info`&mdash;Applies coloring based on the `info` theme color.
59
+ * * `success`&mdash; Applies coloring based on the `success` theme color.
60
+ * * `warning`&mdash; Applies coloring based on the `warning` theme color.
61
+ * * `error`&mdash; Applies coloring based on the `error` theme color.
62
+ * * `dark`&mdash; Applies coloring based on the `dark` theme color.
63
+ * * `light`&mdash; Applies coloring based on the `light` theme color.
64
+ * * `inverse`&mdash; Applies coloring based on the `inverse` theme color.
65
+ * * `null` &mdash;Removes the default CSS class (no class would be rendered).
50
66
  */
51
- _this.selected = false;
67
+ _this.themeColor = 'base';
52
68
  /**
53
69
  * Fires each time the Button is clicked.
54
70
  */
@@ -88,6 +104,18 @@ var ToolBarButtonComponent = /** @class */ (function (_super) {
88
104
  enumerable: true,
89
105
  configurable: true
90
106
  });
107
+ Object.defineProperty(ToolBarButtonComponent.prototype, "look", {
108
+ /**
109
+ * @hidden
110
+ */
111
+ set: function (look) {
112
+ if (look) {
113
+ this.fillMode = look === 'default' ? 'solid' : look;
114
+ }
115
+ },
116
+ enumerable: true,
117
+ configurable: true
118
+ });
91
119
  Object.defineProperty(ToolBarButtonComponent.prototype, "togglable", {
92
120
  /**
93
121
  * @hidden
@@ -204,6 +232,11 @@ var ToolBarButtonComponent = /** @class */ (function (_super) {
204
232
  core_1.Input(),
205
233
  tslib_1.__metadata("design:type", Boolean)
206
234
  ], ToolBarButtonComponent.prototype, "toggleable", void 0);
235
+ tslib_1.__decorate([
236
+ core_1.Input(),
237
+ tslib_1.__metadata("design:type", String),
238
+ tslib_1.__metadata("design:paramtypes", [String])
239
+ ], ToolBarButtonComponent.prototype, "look", null);
207
240
  tslib_1.__decorate([
208
241
  core_1.Input(),
209
242
  tslib_1.__metadata("design:type", Boolean),
@@ -212,15 +245,15 @@ var ToolBarButtonComponent = /** @class */ (function (_super) {
212
245
  tslib_1.__decorate([
213
246
  core_1.Input(),
214
247
  tslib_1.__metadata("design:type", Boolean)
215
- ], ToolBarButtonComponent.prototype, "primary", void 0);
248
+ ], ToolBarButtonComponent.prototype, "selected", void 0);
216
249
  tslib_1.__decorate([
217
250
  core_1.Input(),
218
251
  tslib_1.__metadata("design:type", String)
219
- ], ToolBarButtonComponent.prototype, "look", void 0);
252
+ ], ToolBarButtonComponent.prototype, "fillMode", void 0);
220
253
  tslib_1.__decorate([
221
254
  core_1.Input(),
222
- tslib_1.__metadata("design:type", Boolean)
223
- ], ToolBarButtonComponent.prototype, "selected", void 0);
255
+ tslib_1.__metadata("design:type", String)
256
+ ], ToolBarButtonComponent.prototype, "themeColor", void 0);
224
257
  tslib_1.__decorate([
225
258
  core_1.Input(),
226
259
  tslib_1.__metadata("design:type", String),
@@ -270,7 +303,7 @@ var ToolBarButtonComponent = /** @class */ (function (_super) {
270
303
  // tslint:disable-next-line:no-forward-ref
271
304
  providers: [{ provide: toolbar_tool_component_1.ToolBarToolComponent, useExisting: core_1.forwardRef(function () { return ToolBarButtonComponent_1; }) }],
272
305
  selector: 'kendo-toolbar-button',
273
- template: "\n <ng-template #toolbarTemplate>\n <button\n #toolbarButton\n [tabindex]=\"tabIndex\"\n type=\"button\"\n kendoButton\n [ngStyle]=\"style\"\n [ngClass]=\"className\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [toggleable]=\"toggleable\"\n [primary]=\"primary\"\n [selected]=\"selected\"\n [icon]=\"toolbarOptions.icon\"\n [iconClass]=\"toolbarOptions.iconClass\"\n [imageUrl]=\"toolbarOptions.imageUrl\"\n [look]=\"look\"\n (click)=\"click.emit($event)\"\n (pointerdown)=\"pointerdown.emit($event)\"\n (selectedChange)=\"selectedChange.emit($event)\"\n (blur)=\"onBlur()\"\n >\n {{ toolbarOptions.text }}\n </button>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n #overflowButton\n tabindex=\"-1\"\n type=\"button\"\n kendoButton\n class=\"k-overflow-button\"\n [ngStyle]=\"style\"\n [ngClass]=\"className\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [toggleable]=\"toggleable\"\n [primary]=\"primary\"\n [selected]=\"selected\"\n [icon]=\"overflowOptions.icon\"\n [iconClass]=\"overflowOptions.iconClass\"\n [imageUrl]=\"overflowOptions.imageUrl\"\n [look]=\"look\"\n (click)=\"click.emit($event)\"\n (selectedChange)=\"selectedChange.emit($event)\"\n >\n {{ overflowOptions.text }}\n </button>\n </ng-template>\n "
306
+ template: "\n <ng-template #toolbarTemplate>\n <button\n #toolbarButton\n [tabindex]=\"tabIndex\"\n type=\"button\"\n kendoButton\n [ngStyle]=\"style\"\n [ngClass]=\"className\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [toggleable]=\"toggleable\"\n [fillMode]=\"fillMode\"\n [themeColor]=\"fillMode ? themeColor : null\"\n [selected]=\"selected\"\n [icon]=\"toolbarOptions.icon\"\n [iconClass]=\"toolbarOptions.iconClass\"\n [imageUrl]=\"toolbarOptions.imageUrl\"\n (click)=\"click.emit($event)\"\n (pointerdown)=\"pointerdown.emit($event)\"\n (selectedChange)=\"selectedChange.emit($event)\"\n (blur)=\"onBlur()\"\n >\n {{ toolbarOptions.text }}\n </button>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n #overflowButton\n tabindex=\"-1\"\n type=\"button\"\n kendoButton\n class=\"k-overflow-button\"\n [ngStyle]=\"style\"\n [ngClass]=\"className\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [toggleable]=\"toggleable\"\n [fillMode]=\"fillMode\"\n [themeColor]=\"fillMode ? themeColor : null\"\n [selected]=\"selected\"\n [icon]=\"overflowOptions.icon\"\n [iconClass]=\"overflowOptions.iconClass\"\n [imageUrl]=\"overflowOptions.imageUrl\"\n (click)=\"click.emit($event)\"\n (selectedChange)=\"selectedChange.emit($event)\"\n >\n {{ overflowOptions.text }}\n </button>\n </ng-template>\n "
274
307
  }),
275
308
  tslib_1.__metadata("design:paramtypes", [])
276
309
  ], ToolBarButtonComponent);