@progress/kendo-angular-toolbar 11.0.0-develop.106 → 11.0.0-develop.107

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.
@@ -3,20 +3,23 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { EventEmitter, Injectable, Component, Input, Output, HostBinding, HostListener, Directive, forwardRef, ViewContainerRef, ContentChildren, ViewChild, ViewChildren, ElementRef, NgModule } from '@angular/core';
7
- import * as i2$1 from '@progress/kendo-angular-popup';
6
+ import { EventEmitter, Injectable, Component, Input, Output, HostBinding, HostListener, Directive, forwardRef, ElementRef, ViewContainerRef, ContentChildren, ViewChild, ViewChildren, isDevMode, NgModule } from '@angular/core';
7
+ import * as i2 from '@progress/kendo-angular-popup';
8
8
  import { PopupModule } from '@progress/kendo-angular-popup';
9
- import * as i6 from '@progress/kendo-angular-common';
9
+ import * as i7 from '@progress/kendo-angular-common';
10
10
  import { Keys, guid, isDocumentAvailable, ResizeSensorModule } from '@progress/kendo-angular-common';
11
11
  import * as i1 from '@progress/kendo-angular-l10n';
12
12
  import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
13
13
  import { validatePackage } from '@progress/kendo-licensing';
14
14
  import { take, filter, takeUntil } from 'rxjs/operators';
15
15
  import { Subject, Subscription, merge, fromEvent } from 'rxjs';
16
- import * as i2 from '@angular/common';
16
+ import { moreVerticalIcon } from '@progress/kendo-svg-icons';
17
+ import * as i3 from '@angular/common';
17
18
  import { CommonModule } from '@angular/common';
18
19
  import * as i1$1 from '@progress/kendo-angular-buttons';
19
20
  import { DropDownButtonComponent, ButtonsModule } from '@progress/kendo-angular-buttons';
21
+ import * as i2$1 from '@progress/kendo-angular-icons';
22
+ import { IconsModule } from '@progress/kendo-angular-icons';
20
23
 
21
24
  /**
22
25
  * @hidden
@@ -25,7 +28,7 @@ const packageMetadata = {
25
28
  name: '@progress/kendo-angular-toolbar',
26
29
  productName: 'Kendo UI for Angular',
27
30
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
28
- publishDate: 1673542209,
31
+ publishDate: 1673545261,
29
32
  version: '',
30
33
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
31
34
  };
@@ -630,7 +633,7 @@ ToolBarRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
630
633
  <ng-container *ngIf="location === 'overflow' && tool.responsive">
631
634
  <ng-template [ngTemplateOutlet]="template"></ng-template>
632
635
  </ng-container>
633
- `, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
636
+ `, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
634
637
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarRendererComponent, decorators: [{
635
638
  type: Component,
636
639
  args: [{
@@ -754,6 +757,7 @@ class ToolBarComponent {
754
757
  this.subscriptions = new Subscription();
755
758
  this.popupSubs = new Subscription();
756
759
  this.role = 'toolbar';
760
+ this.moreVerticalIcon = moreVerticalIcon;
757
761
  /**
758
762
  * @hidden
759
763
  */
@@ -1232,7 +1236,7 @@ class ToolBarComponent {
1232
1236
  return classes;
1233
1237
  }
1234
1238
  }
1235
- ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarComponent, deps: [{ token: i1.LocalizationService }, { token: i2$1.PopupService }, { token: RefreshService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1239
+ ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: RefreshService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1236
1240
  ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToolBarComponent, selector: "kendo-toolbar", inputs: { overflow: "overflow", resizable: "resizable", popupSettings: "popupSettings", tabindex: "tabindex", size: "size", tabIndex: "tabIndex" }, outputs: { open: "open", close: "close" }, host: { listeners: { "focus": "onFocus($event)", "focusout": "onFocusOut($event)" }, properties: { "class.k-toolbar": "this.hostClass", "attr.role": "this.role", "attr.dir": "this.getDir", "class.k-toolbar-resizable": "this.resizableClass" } }, providers: [
1237
1241
  RefreshService,
1238
1242
  NavigationService,
@@ -1241,7 +1245,7 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
1241
1245
  provide: L10N_PREFIX,
1242
1246
  useValue: 'kendo.toolbar'
1243
1247
  }
1244
- ], queries: [{ propertyName: "allTools", predicate: ToolBarToolComponent }], viewQueries: [{ propertyName: "overflowButton", first: true, predicate: ["overflowButton"], descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ["resizeSensor"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "renderedTools", predicate: ["toolbarRenderer"], descendants: true }, { propertyName: "overflowRenderedTools", predicate: ["overflowRenderer"], descendants: true }], exportAs: ["kendoToolBar"], usesOnChanges: true, ngImport: i0, template: `
1248
+ ], queries: [{ propertyName: "allTools", predicate: ToolBarToolComponent }], viewQueries: [{ propertyName: "overflowButton", first: true, predicate: ["overflowButton"], descendants: true, read: ElementRef }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ["resizeSensor"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "renderedTools", predicate: ["toolbarRenderer"], descendants: true }, { propertyName: "overflowRenderedTools", predicate: ["overflowRenderer"], descendants: true }], exportAs: ["kendoToolBar"], usesOnChanges: true, ngImport: i0, template: `
1245
1249
  <ng-container kendoToolbarLocalizedMessages
1246
1250
  i18n-moreToolsTitle="kendo.toolbar.moreToolsTitle|The title of the **more tools** button in a responsive ToolBar"
1247
1251
  moreToolsTitle="More tools"
@@ -1257,8 +1261,12 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
1257
1261
  ></kendo-toolbar-renderer>
1258
1262
  </ng-container>
1259
1263
  <button
1264
+ kendoButton
1265
+ fillMode="flat"
1260
1266
  #overflowButton
1261
1267
  type="button"
1268
+ icon="more-vertical"
1269
+ [svgIcon]="moreVerticalIcon"
1262
1270
  tabindex="-1"
1263
1271
  [title]="moreToolsTitle"
1264
1272
  [attr.aria-label]="moreToolsTitle"
@@ -1269,11 +1277,10 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
1269
1277
  [style.visibility]="'hidden'"
1270
1278
  [style.position]="'relative'"
1271
1279
  [style.margin-inline-start]="'auto'"
1272
- class="k-toolbar-overflow-button k-button k-button-flat k-button-flat-base k-icon-button"
1280
+ class="k-toolbar-overflow-button"
1273
1281
  [ngClass]="overflowClass"
1274
1282
  (click)="showPopup()"
1275
1283
  >
1276
- <span class="k-button-icon k-icon k-i-more-vertical"></span>
1277
1284
  </button>
1278
1285
  <ng-template #popupTemplate>
1279
1286
  <div
@@ -1294,7 +1301,7 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
1294
1301
  </ng-template>
1295
1302
  <ng-container #container></ng-container>
1296
1303
  <kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>
1297
- `, isInline: true, components: [{ type: ToolBarRendererComponent, selector: "kendo-toolbar-renderer", inputs: ["tool", "location", "resizable"], outputs: ["rendererClick"], exportAs: ["kendoToolBarRenderer"] }, { type: i6.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedToolbarMessagesDirective, selector: "[kendoToolbarLocalizedMessages]" }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
1304
+ `, isInline: true, components: [{ type: ToolBarRendererComponent, selector: "kendo-toolbar-renderer", inputs: ["tool", "location", "resizable"], outputs: ["rendererClick"], exportAs: ["kendoToolBarRenderer"] }, { type: i1$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedToolbarMessagesDirective, selector: "[kendoToolbarLocalizedMessages]" }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
1298
1305
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarComponent, decorators: [{
1299
1306
  type: Component,
1300
1307
  args: [{
@@ -1325,8 +1332,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1325
1332
  ></kendo-toolbar-renderer>
1326
1333
  </ng-container>
1327
1334
  <button
1335
+ kendoButton
1336
+ fillMode="flat"
1328
1337
  #overflowButton
1329
1338
  type="button"
1339
+ icon="more-vertical"
1340
+ [svgIcon]="moreVerticalIcon"
1330
1341
  tabindex="-1"
1331
1342
  [title]="moreToolsTitle"
1332
1343
  [attr.aria-label]="moreToolsTitle"
@@ -1337,11 +1348,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1337
1348
  [style.visibility]="'hidden'"
1338
1349
  [style.position]="'relative'"
1339
1350
  [style.margin-inline-start]="'auto'"
1340
- class="k-toolbar-overflow-button k-button k-button-flat k-button-flat-base k-icon-button"
1351
+ class="k-toolbar-overflow-button"
1341
1352
  [ngClass]="overflowClass"
1342
1353
  (click)="showPopup()"
1343
1354
  >
1344
- <span class="k-button-icon k-icon k-i-more-vertical"></span>
1345
1355
  </button>
1346
1356
  <ng-template #popupTemplate>
1347
1357
  <div
@@ -1364,7 +1374,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1364
1374
  <kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>
1365
1375
  `
1366
1376
  }]
1367
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2$1.PopupService }, { type: RefreshService }, { type: NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { overflow: [{
1377
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PopupService }, { type: RefreshService }, { type: NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { overflow: [{
1368
1378
  type: Input
1369
1379
  }], resizable: [{
1370
1380
  type: Input
@@ -1386,7 +1396,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1386
1396
  args: [ToolBarToolComponent]
1387
1397
  }], overflowButton: [{
1388
1398
  type: ViewChild,
1389
- args: ['overflowButton', { static: false }]
1399
+ args: ['overflowButton', { static: false, read: ElementRef }]
1390
1400
  }], popupTemplate: [{
1391
1401
  type: ViewChild,
1392
1402
  args: ['popupTemplate', { static: true }]
@@ -1491,12 +1501,14 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
1491
1501
  text: '',
1492
1502
  icon: '',
1493
1503
  iconClass: '',
1504
+ svgIcon: null,
1494
1505
  imageUrl: ''
1495
1506
  };
1496
1507
  this.overflowOptions = {
1497
1508
  text: '',
1498
1509
  icon: '',
1499
1510
  iconClass: '',
1511
+ svgIcon: null,
1500
1512
  imageUrl: ''
1501
1513
  };
1502
1514
  this._showText = 'both';
@@ -1547,6 +1559,20 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
1547
1559
  this.toolbarOptions.iconClass = getValueForLocation(iconClass, this.showIcon, false);
1548
1560
  this.overflowOptions.iconClass = getValueForLocation(iconClass, this.showIcon, true);
1549
1561
  }
1562
+ /**
1563
+ * Defines an SVGIcon to be rendered within the button.
1564
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
1565
+ */
1566
+ set svgIcon(icon) {
1567
+ if (isDevMode() &&
1568
+ icon &&
1569
+ (this.toolbarOptions.icon || this.overflowOptions.icon) &&
1570
+ (this.toolbarOptions.iconClass || this.overflowOptions.iconClass)) {
1571
+ throw new Error('Setting both icon/svgIcon and iconClass options at the same time is not supported.');
1572
+ }
1573
+ this.toolbarOptions.svgIcon = getValueForLocation(icon, this.showIcon, false);
1574
+ this.overflowOptions.svgIcon = getValueForLocation(icon, this.showIcon, true);
1575
+ }
1550
1576
  /**
1551
1577
  * Defines a URL which is used for an `img` element inside the Button.
1552
1578
  * The URL can be relative or absolute. If relative, it is evaluated with relation to the web page URL.
@@ -1603,17 +1629,6 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
1603
1629
  this.selectedChange.emit(this.selected);
1604
1630
  }
1605
1631
  }
1606
- /**
1607
- * @hidden
1608
- */
1609
- getIconClasses() {
1610
- if (this.overflowOptions.icon) {
1611
- return `k-icon k-i-${this.overflowOptions.icon}`;
1612
- }
1613
- else if (this.overflowOptions.iconClass) {
1614
- return this.overflowOptions.iconClass;
1615
- }
1616
- }
1617
1632
  /**
1618
1633
  * @hidden
1619
1634
  */
@@ -1630,7 +1645,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
1630
1645
  }
1631
1646
  }
1632
1647
  ToolBarButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1633
- ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: { showText: "showText", showIcon: "showIcon", text: "text", style: "style", className: "className", title: "title", disabled: "disabled", toggleable: "toggleable", look: "look", togglable: "togglable", selected: "selected", fillMode: "fillMode", themeColor: "themeColor", icon: "icon", iconClass: "iconClass", imageUrl: "imageUrl" }, outputs: { click: "click", pointerdown: "pointerdown", selectedChange: "selectedChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarButtonElement", first: true, predicate: ["toolbarButton"], descendants: true, read: ElementRef }, { propertyName: "overflowButtonElement", first: true, predicate: ["overflowButton"], descendants: true, read: ElementRef }], exportAs: ["kendoToolBarButton"], usesInheritance: true, ngImport: i0, template: `
1648
+ ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: { showText: "showText", showIcon: "showIcon", text: "text", style: "style", className: "className", title: "title", disabled: "disabled", toggleable: "toggleable", look: "look", togglable: "togglable", selected: "selected", fillMode: "fillMode", themeColor: "themeColor", icon: "icon", iconClass: "iconClass", svgIcon: "svgIcon", imageUrl: "imageUrl" }, outputs: { click: "click", pointerdown: "pointerdown", selectedChange: "selectedChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarButtonElement", first: true, predicate: ["toolbarButton"], descendants: true, read: ElementRef }, { propertyName: "overflowButtonElement", first: true, predicate: ["overflowButton"], descendants: true, read: ElementRef }], exportAs: ["kendoToolBarButton"], usesInheritance: true, ngImport: i0, template: `
1634
1649
  <ng-template #toolbarTemplate>
1635
1650
  <button
1636
1651
  #toolbarButton
@@ -1648,6 +1663,7 @@ ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1648
1663
  [selected]="selected"
1649
1664
  [icon]="toolbarOptions.icon"
1650
1665
  [iconClass]="toolbarOptions.iconClass"
1666
+ [svgIcon]="svgIcon"
1651
1667
  [imageUrl]="toolbarOptions.imageUrl"
1652
1668
  (click)="click.emit($event)"
1653
1669
  (pointerdown)="pointerdown.emit($event)"
@@ -1669,13 +1685,19 @@ ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1669
1685
  (click)="handleClick($event)">
1670
1686
  <span
1671
1687
  class="k-link k-menu-link"
1672
- [class.k-selected]="selected">
1673
- <span *ngIf="overflowOptions.icon || overflowOptions.iconClass" [ngClass]="getIconClasses()"></span>
1688
+ [class.k-selected]="selected"
1689
+ >
1690
+ <kendo-icon-wrapper
1691
+ *ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
1692
+ [name]="overflowOptions.icon"
1693
+ [customFontClass]="overflowOptions.iconClass"
1694
+ [svgIcon]="overflowOptions.svgIcon"
1695
+ ></kendo-icon-wrapper>
1674
1696
  <span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
1675
1697
  </span>
1676
1698
  </div>
1677
1699
  </ng-template>
1678
- `, isInline: true, components: [{ type: i1$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1700
+ `, isInline: true, components: [{ type: i1$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1679
1701
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarButtonComponent, decorators: [{
1680
1702
  type: Component,
1681
1703
  args: [{
@@ -1700,6 +1722,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1700
1722
  [selected]="selected"
1701
1723
  [icon]="toolbarOptions.icon"
1702
1724
  [iconClass]="toolbarOptions.iconClass"
1725
+ [svgIcon]="svgIcon"
1703
1726
  [imageUrl]="toolbarOptions.imageUrl"
1704
1727
  (click)="click.emit($event)"
1705
1728
  (pointerdown)="pointerdown.emit($event)"
@@ -1721,8 +1744,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1721
1744
  (click)="handleClick($event)">
1722
1745
  <span
1723
1746
  class="k-link k-menu-link"
1724
- [class.k-selected]="selected">
1725
- <span *ngIf="overflowOptions.icon || overflowOptions.iconClass" [ngClass]="getIconClasses()"></span>
1747
+ [class.k-selected]="selected"
1748
+ >
1749
+ <kendo-icon-wrapper
1750
+ *ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
1751
+ [name]="overflowOptions.icon"
1752
+ [customFontClass]="overflowOptions.iconClass"
1753
+ [svgIcon]="overflowOptions.svgIcon"
1754
+ ></kendo-icon-wrapper>
1726
1755
  <span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
1727
1756
  </span>
1728
1757
  </div>
@@ -1759,6 +1788,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1759
1788
  type: Input
1760
1789
  }], iconClass: [{
1761
1790
  type: Input
1791
+ }], svgIcon: [{
1792
+ type: Input
1762
1793
  }], imageUrl: [{
1763
1794
  type: Input
1764
1795
  }], click: [{
@@ -1895,11 +1926,14 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
1895
1926
  */
1896
1927
  getIconClasses(button) {
1897
1928
  if (button.overflowOptions.icon) {
1898
- return `k-icon k-i-${button.overflowOptions.icon}`;
1929
+ return `${button.overflowOptions.icon}`;
1899
1930
  }
1900
- else if (button.overflowOptions.iconClass) {
1931
+ if (button.overflowOptions.iconClass) {
1901
1932
  return button.overflowOptions.iconClass;
1902
1933
  }
1934
+ if (button.overflowOptions.svgIcon) {
1935
+ return button.overflowOptions.svgIcon;
1936
+ }
1903
1937
  }
1904
1938
  focusButton(index, ev) {
1905
1939
  // Guard against focusing twice on mousedown.
@@ -1934,6 +1968,7 @@ ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
1934
1968
  [themeColor]="button.fillMode ? button.themeColor : null"
1935
1969
  [icon]="button.toolbarOptions.icon"
1936
1970
  [iconClass]="button.toolbarOptions.iconClass"
1971
+ [svgIcon]="button.toolbarOptions.svgIcon"
1937
1972
  [imageUrl]="button.toolbarOptions.imageUrl"
1938
1973
  (click)="button.click.emit($event); onButtonClick($event)"
1939
1974
  (pointerdown)="button.pointerdown.emit($event)"
@@ -1955,14 +1990,20 @@ ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
1955
1990
  (click)="handleClick($event, button)">
1956
1991
  <span
1957
1992
  class="k-link k-menu-link"
1958
- [class.k-selected]="button.selected">
1959
- <span *ngIf="button.overflowOptions.icon || button.overflowOptions.iconClass" [ngClass]="getIconClasses(button)"></span>
1993
+ [class.k-selected]="button.selected"
1994
+ >
1995
+ <kendo-icon-wrapper
1996
+ *ngIf="button.overflowOptions.icon || button.overflowOptions.iconClass || button.overflowOptions.svgIcon"
1997
+ [name]="button.overflowOptions.icon"
1998
+ [customFontClass]="button.overflowOptions.iconClass"
1999
+ [svgIcon]="button.overflowOptions.svgIcon"
2000
+ ></kendo-icon-wrapper>
1960
2001
  <span *ngIf="button.overflowOptions.text" class="k-menu-link-text">{{button.overflowOptions.text}}</span>
1961
2002
  </span>
1962
2003
  </div>
1963
2004
  </ng-container>
1964
2005
  </ng-template>
1965
- `, isInline: true, components: [{ type: i1$1.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { type: i1$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
2006
+ `, isInline: true, components: [{ type: i1$1.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { type: i1$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1966
2007
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarButtonGroupComponent, decorators: [{
1967
2008
  type: Component,
1968
2009
  args: [{
@@ -1994,6 +2035,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1994
2035
  [themeColor]="button.fillMode ? button.themeColor : null"
1995
2036
  [icon]="button.toolbarOptions.icon"
1996
2037
  [iconClass]="button.toolbarOptions.iconClass"
2038
+ [svgIcon]="button.toolbarOptions.svgIcon"
1997
2039
  [imageUrl]="button.toolbarOptions.imageUrl"
1998
2040
  (click)="button.click.emit($event); onButtonClick($event)"
1999
2041
  (pointerdown)="button.pointerdown.emit($event)"
@@ -2015,8 +2057,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2015
2057
  (click)="handleClick($event, button)">
2016
2058
  <span
2017
2059
  class="k-link k-menu-link"
2018
- [class.k-selected]="button.selected">
2019
- <span *ngIf="button.overflowOptions.icon || button.overflowOptions.iconClass" [ngClass]="getIconClasses(button)"></span>
2060
+ [class.k-selected]="button.selected"
2061
+ >
2062
+ <kendo-icon-wrapper
2063
+ *ngIf="button.overflowOptions.icon || button.overflowOptions.iconClass || button.overflowOptions.svgIcon"
2064
+ [name]="button.overflowOptions.icon"
2065
+ [customFontClass]="button.overflowOptions.iconClass"
2066
+ [svgIcon]="button.overflowOptions.svgIcon"
2067
+ ></kendo-icon-wrapper>
2020
2068
  <span *ngIf="button.overflowOptions.text" class="k-menu-link-text">{{button.overflowOptions.text}}</span>
2021
2069
  </span>
2022
2070
  </div>
@@ -2109,12 +2157,14 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
2109
2157
  text: '',
2110
2158
  icon: '',
2111
2159
  iconClass: '',
2160
+ svgIcon: null,
2112
2161
  imageUrl: ''
2113
2162
  };
2114
2163
  this.overflowOptions = {
2115
2164
  text: '',
2116
2165
  icon: '',
2117
2166
  iconClass: '',
2167
+ svgIcon: null,
2118
2168
  imageUrl: ''
2119
2169
  };
2120
2170
  this._popupSettings = { animate: true, popupClass: '' };
@@ -2247,27 +2297,6 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
2247
2297
  return !isUnmodified(this.focusedIndex);
2248
2298
  }
2249
2299
  }
2250
- /**
2251
- * @hidden
2252
- */
2253
- getIconClasses(item) {
2254
- if (item) {
2255
- if (item.icon) {
2256
- return `k-icon k-i-${item.icon}`;
2257
- }
2258
- else if (item.iconClass) {
2259
- return item.iconClass;
2260
- }
2261
- }
2262
- else {
2263
- if (this.overflowOptions.icon) {
2264
- return `k-icon k-i-${this.overflowOptions.icon}`;
2265
- }
2266
- else if (this.overflowOptions.iconClass) {
2267
- return this.overflowOptions.iconClass;
2268
- }
2269
- }
2270
- }
2271
2300
  /**
2272
2301
  * @hidden
2273
2302
  */
@@ -2306,6 +2335,7 @@ ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2306
2335
  class="k-toolbar-menu-button"
2307
2336
  [icon]="toolbarOptions.icon"
2308
2337
  [iconClass]="toolbarOptions.iconClass"
2338
+ [svgIcon]="toolbarOptions.svgIcon"
2309
2339
  [imageUrl]="toolbarOptions.imageUrl"
2310
2340
  [buttonClass]="buttonClass"
2311
2341
  [disabled]="disabled"
@@ -2329,8 +2359,14 @@ ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2329
2359
  class="k-item k-menu-item k-disabled"
2330
2360
  [ngClass]="buttonClass">
2331
2361
  <span
2332
- [ngClass]="{'k-link': true, 'k-menu-link': true}">
2333
- <span *ngIf="overflowOptions.icon || overflowOptions.iconClass" [ngClass]="getIconClasses()"></span>
2362
+ [ngClass]="{'k-link': true, 'k-menu-link': true}"
2363
+ >
2364
+ <kendo-icon-wrapper
2365
+ *ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
2366
+ [name]="overflowOptions.icon"
2367
+ [customFontClass]="overflowOptions.iconClass"
2368
+ [svgIcon]="overflowOptions.svgIcon"
2369
+ ></kendo-icon-wrapper>
2334
2370
  <span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
2335
2371
  </span>
2336
2372
  </div>
@@ -2342,14 +2378,20 @@ ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2342
2378
  [class.k-disabled]="disabled || item.disabled"
2343
2379
  (click)="handleClick($event, item, i)">
2344
2380
  <span
2345
- class="k-link k-menu-link">
2346
- <span *ngIf="item.icon || item.iconClass" [ngClass]="getIconClasses(item)"></span>
2381
+ class="k-link k-menu-link"
2382
+ >
2383
+ <kendo-icon-wrapper
2384
+ *ngIf="item.icon || item.iconClass || item.svgIcon"
2385
+ [name]="item.icon"
2386
+ [customFontClass]="item.iconClass"
2387
+ [svgIcon]="item.svgIcon"
2388
+ ></kendo-icon-wrapper>
2347
2389
  <span *ngIf="getText(item)" class="k-menu-link-text">{{ getText(item) }}</span>
2348
2390
  </span>
2349
2391
  </div>
2350
2392
  </ng-container>
2351
2393
  </ng-template>
2352
- `, isInline: true, components: [{ type: i1$1.DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
2394
+ `, isInline: true, components: [{ type: i1$1.DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }, { type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
2353
2395
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarDropDownButtonComponent, decorators: [{
2354
2396
  type: Component,
2355
2397
  args: [{
@@ -2363,6 +2405,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2363
2405
  class="k-toolbar-menu-button"
2364
2406
  [icon]="toolbarOptions.icon"
2365
2407
  [iconClass]="toolbarOptions.iconClass"
2408
+ [svgIcon]="toolbarOptions.svgIcon"
2366
2409
  [imageUrl]="toolbarOptions.imageUrl"
2367
2410
  [buttonClass]="buttonClass"
2368
2411
  [disabled]="disabled"
@@ -2386,8 +2429,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2386
2429
  class="k-item k-menu-item k-disabled"
2387
2430
  [ngClass]="buttonClass">
2388
2431
  <span
2389
- [ngClass]="{'k-link': true, 'k-menu-link': true}">
2390
- <span *ngIf="overflowOptions.icon || overflowOptions.iconClass" [ngClass]="getIconClasses()"></span>
2432
+ [ngClass]="{'k-link': true, 'k-menu-link': true}"
2433
+ >
2434
+ <kendo-icon-wrapper
2435
+ *ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
2436
+ [name]="overflowOptions.icon"
2437
+ [customFontClass]="overflowOptions.iconClass"
2438
+ [svgIcon]="overflowOptions.svgIcon"
2439
+ ></kendo-icon-wrapper>
2391
2440
  <span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
2392
2441
  </span>
2393
2442
  </div>
@@ -2399,8 +2448,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2399
2448
  [class.k-disabled]="disabled || item.disabled"
2400
2449
  (click)="handleClick($event, item, i)">
2401
2450
  <span
2402
- class="k-link k-menu-link">
2403
- <span *ngIf="item.icon || item.iconClass" [ngClass]="getIconClasses(item)"></span>
2451
+ class="k-link k-menu-link"
2452
+ >
2453
+ <kendo-icon-wrapper
2454
+ *ngIf="item.icon || item.iconClass || item.svgIcon"
2455
+ [name]="item.icon"
2456
+ [customFontClass]="item.iconClass"
2457
+ [svgIcon]="item.svgIcon"
2458
+ ></kendo-icon-wrapper>
2404
2459
  <span *ngIf="getText(item)" class="k-menu-link-text">{{ getText(item) }}</span>
2405
2460
  </span>
2406
2461
  </div>
@@ -2536,12 +2591,14 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
2536
2591
  text: '',
2537
2592
  icon: '',
2538
2593
  iconClass: '',
2594
+ svgIcon: null,
2539
2595
  imageUrl: ''
2540
2596
  };
2541
2597
  this.overflowOptions = {
2542
2598
  text: '',
2543
2599
  icon: '',
2544
2600
  iconClass: '',
2601
+ svgIcon: null,
2545
2602
  imageUrl: ''
2546
2603
  };
2547
2604
  this._popupSettings = { animate: true, popupClass: '' };
@@ -2676,27 +2733,6 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
2676
2733
  return !isUnmodified(this.focusedIndex);
2677
2734
  }
2678
2735
  }
2679
- /**
2680
- * @hidden
2681
- */
2682
- getIconClasses(item) {
2683
- if (item) {
2684
- if (item.icon) {
2685
- return `k-icon k-i-${item.icon}`;
2686
- }
2687
- else if (item.iconClass) {
2688
- return item.iconClass;
2689
- }
2690
- }
2691
- else {
2692
- if (this.overflowOptions.icon) {
2693
- return `k-icon k-i-${this.overflowOptions.icon}`;
2694
- }
2695
- else if (this.overflowOptions.iconClass) {
2696
- return this.overflowOptions.iconClass;
2697
- }
2698
- }
2699
- }
2700
2736
  /**
2701
2737
  * @hidden
2702
2738
  */
@@ -2737,6 +2773,7 @@ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
2737
2773
  [text]="toolbarOptions.text"
2738
2774
  [icon]="toolbarOptions.icon"
2739
2775
  [iconClass]="toolbarOptions.iconClass"
2776
+ [svgIcon]="toolbarOptions.svgIcon"
2740
2777
  [imageUrl]="toolbarOptions.imageUrl"
2741
2778
  [buttonClass]="buttonClass"
2742
2779
  [arrowButtonClass]="arrowButtonClass"
@@ -2763,8 +2800,15 @@ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
2763
2800
  [ngClass]="buttonClass"
2764
2801
  (click)="onMainButtonClick($event)">
2765
2802
  <span
2766
- [ngClass]="{'k-link': true, 'k-menu-link': true}">
2767
- <span *ngIf="overflowOptions.icon || overflowOptions.iconClass" [ngClass]="getIconClasses()"></span>
2803
+ [ngClass]="{'k-link': true, 'k-menu-link': true}"
2804
+ >
2805
+ <kendo-icon-wrapper
2806
+ *ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
2807
+ [name]="overflowOptions.icon"
2808
+ [customFontClass]="overflowOptions.iconClass"
2809
+ [svgIcon]="overflowOptions.svgIcon"
2810
+ >
2811
+ </kendo-icon-wrapper>
2768
2812
  <span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
2769
2813
  </span>
2770
2814
  </div>
@@ -2776,14 +2820,21 @@ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
2776
2820
  [class.k-disabled]="disabled || item.disabled"
2777
2821
  (click)="handleClick($event, item, i)">
2778
2822
  <span
2779
- class="k-link k-menu-link">
2780
- <span *ngIf="item.icon || item.iconClass" [ngClass]="getIconClasses(item)"></span>
2823
+ class="k-link k-menu-link"
2824
+ >
2825
+ <kendo-icon-wrapper
2826
+ *ngIf="item.icon || item.iconClass || item.svgIcon"
2827
+ [name]="item.icon"
2828
+ [customFontClass]="item.iconClass"
2829
+ [svgIcon]="item.svgIcon"
2830
+ >
2831
+ </kendo-icon-wrapper>
2781
2832
  <span *ngIf="getText(item)" class="k-menu-link-text">{{ getText(item) }}</span>
2782
2833
  </span>
2783
2834
  </div>
2784
2835
  </ng-container>
2785
2836
  </ng-template>
2786
- `, isInline: true, components: [{ type: i1$1.SplitButtonComponent, selector: "kendo-splitbutton", inputs: ["text", "icon", "svgIcon", "iconClass", "type", "imageUrl", "size", "rounded", "fillMode", "themeColor", "disabled", "popupSettings", "tabIndex", "textField", "data", "buttonClass", "arrowButtonClass", "arrowButtonIcon", "arrowButtonSvgIcon"], outputs: ["buttonClick", "itemClick", "focus", "blur", "open", "close"], exportAs: ["kendoSplitButton"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
2837
+ `, isInline: true, components: [{ type: i1$1.SplitButtonComponent, selector: "kendo-splitbutton", inputs: ["text", "icon", "svgIcon", "iconClass", "type", "imageUrl", "size", "rounded", "fillMode", "themeColor", "disabled", "popupSettings", "tabIndex", "textField", "data", "buttonClass", "arrowButtonClass", "arrowButtonIcon", "arrowButtonSvgIcon"], outputs: ["buttonClick", "itemClick", "focus", "blur", "open", "close"], exportAs: ["kendoSplitButton"] }, { type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
2787
2838
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarSplitButtonComponent, decorators: [{
2788
2839
  type: Component,
2789
2840
  args: [{
@@ -2799,6 +2850,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2799
2850
  [text]="toolbarOptions.text"
2800
2851
  [icon]="toolbarOptions.icon"
2801
2852
  [iconClass]="toolbarOptions.iconClass"
2853
+ [svgIcon]="toolbarOptions.svgIcon"
2802
2854
  [imageUrl]="toolbarOptions.imageUrl"
2803
2855
  [buttonClass]="buttonClass"
2804
2856
  [arrowButtonClass]="arrowButtonClass"
@@ -2825,8 +2877,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2825
2877
  [ngClass]="buttonClass"
2826
2878
  (click)="onMainButtonClick($event)">
2827
2879
  <span
2828
- [ngClass]="{'k-link': true, 'k-menu-link': true}">
2829
- <span *ngIf="overflowOptions.icon || overflowOptions.iconClass" [ngClass]="getIconClasses()"></span>
2880
+ [ngClass]="{'k-link': true, 'k-menu-link': true}"
2881
+ >
2882
+ <kendo-icon-wrapper
2883
+ *ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
2884
+ [name]="overflowOptions.icon"
2885
+ [customFontClass]="overflowOptions.iconClass"
2886
+ [svgIcon]="overflowOptions.svgIcon"
2887
+ >
2888
+ </kendo-icon-wrapper>
2830
2889
  <span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
2831
2890
  </span>
2832
2891
  </div>
@@ -2838,8 +2897,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2838
2897
  [class.k-disabled]="disabled || item.disabled"
2839
2898
  (click)="handleClick($event, item, i)">
2840
2899
  <span
2841
- class="k-link k-menu-link">
2842
- <span *ngIf="item.icon || item.iconClass" [ngClass]="getIconClasses(item)"></span>
2900
+ class="k-link k-menu-link"
2901
+ >
2902
+ <kendo-icon-wrapper
2903
+ *ngIf="item.icon || item.iconClass || item.svgIcon"
2904
+ [name]="item.icon"
2905
+ [customFontClass]="item.iconClass"
2906
+ [svgIcon]="item.svgIcon"
2907
+ >
2908
+ </kendo-icon-wrapper>
2843
2909
  <span *ngIf="getText(item)" class="k-menu-link-text">{{ getText(item) }}</span>
2844
2910
  </span>
2845
2911
  </div>
@@ -3070,6 +3136,7 @@ ToolBarButtonListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
3070
3136
  [disabled]="disabled || item.disabled"
3071
3137
  [icon]="item.icon"
3072
3138
  [iconClass]="item.iconClass"
3139
+ [svgIcon]="item.svgIcon"
3073
3140
  [imageUrl]="item.imageUrl"
3074
3141
  [fillMode]="fillMode"
3075
3142
  [themeColor]="fillMode ? themeColor : null"
@@ -3077,7 +3144,7 @@ ToolBarButtonListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
3077
3144
  >
3078
3145
  {{ getText(item) }}
3079
3146
  </button>
3080
- `, isInline: true, components: [{ type: i1$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
3147
+ `, isInline: true, components: [{ type: i1$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
3081
3148
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarButtonListComponent, decorators: [{
3082
3149
  type: Component,
3083
3150
  args: [{
@@ -3094,6 +3161,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
3094
3161
  [disabled]="disabled || item.disabled"
3095
3162
  [icon]="item.icon"
3096
3163
  [iconClass]="item.iconClass"
3164
+ [svgIcon]="item.svgIcon"
3097
3165
  [imageUrl]="item.imageUrl"
3098
3166
  [fillMode]="fillMode"
3099
3167
  [themeColor]="fillMode ? themeColor : null"
@@ -3192,20 +3260,20 @@ ToolBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
3192
3260
  ToolBarSpacerComponent, ToolBarRendererComponent,
3193
3261
  ToolBarButtonListComponent,
3194
3262
  ToolbarCustomMessagesComponent,
3195
- LocalizedToolbarMessagesDirective], imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule], exports: [ToolBarComponent, ToolBarToolComponent,
3263
+ LocalizedToolbarMessagesDirective], imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule], exports: [ToolBarComponent, ToolBarToolComponent,
3196
3264
  ToolBarButtonComponent,
3197
3265
  ToolBarButtonGroupComponent,
3198
3266
  ToolBarDropDownButtonComponent,
3199
3267
  ToolBarSplitButtonComponent,
3200
3268
  ToolBarSeparatorComponent,
3201
3269
  ToolBarSpacerComponent, ToolbarCustomMessagesComponent, LocalizedToolbarMessagesDirective] });
3202
- ToolBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarModule, imports: [[CommonModule, ButtonsModule, PopupModule, ResizeSensorModule]] });
3270
+ ToolBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarModule, imports: [[CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule]] });
3203
3271
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarModule, decorators: [{
3204
3272
  type: NgModule,
3205
3273
  args: [{
3206
3274
  declarations: [ToolBarComponent, TOOLBAR_TOOLS, TOOLBAR_COMMON],
3207
3275
  exports: [ToolBarComponent, TOOLBAR_TOOLS, ToolbarCustomMessagesComponent, LocalizedToolbarMessagesDirective],
3208
- imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule]
3276
+ imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule]
3209
3277
  }]
3210
3278
  }] });
3211
3279