@progress/kendo-angular-toolbar 11.0.0-develop.106 → 11.0.0-develop.108
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.
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/toolbar.component.mjs +19 -10
- package/esm2020/toolbar.module.mjs +4 -3
- package/esm2020/tools/toolbar-button.component.mjs +41 -19
- package/esm2020/tools/toolbar-buttongroup.component.mjs +26 -8
- package/esm2020/tools/toolbar-buttonlist.component.mjs +2 -0
- package/esm2020/tools/toolbar-dropdownbutton.component.mjs +39 -31
- package/esm2020/tools/toolbar-splitbutton.component.mjs +43 -31
- package/fesm2015/progress-kendo-angular-toolbar.mjs +171 -103
- package/fesm2020/progress-kendo-angular-toolbar.mjs +171 -103
- package/package.json +7 -6
- package/schematics/ngAdd/index.js +4 -2
- package/tool-options.d.ts +2 -0
- package/toolbar.component.d.ts +2 -0
- package/toolbar.module.d.ts +2 -1
- package/tools/toolbar-button.component.d.ts +7 -5
- package/tools/toolbar-dropdownbutton.component.d.ts +0 -4
- package/tools/toolbar-splitbutton.component.d.ts +0 -4
- package/util.d.ts +1 -1
|
@@ -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,
|
|
7
|
-
import * as
|
|
6
|
+
import { EventEmitter, Injectable, Component, Input, Output, HostBinding, HostListener, Directive, forwardRef, ElementRef, ViewContainerRef, ContentChildren, ViewChild, ViewChildren, isDevMode, NgModule } from '@angular/core';
|
|
7
|
+
import * as i7 from '@progress/kendo-angular-common';
|
|
8
8
|
import { Keys, guid, isDocumentAvailable, ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
9
9
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { take, filter, takeUntil } from 'rxjs/operators';
|
|
13
13
|
import { Subject, Subscription, merge, fromEvent } from 'rxjs';
|
|
14
|
-
import
|
|
14
|
+
import { moreVerticalIcon } from '@progress/kendo-svg-icons';
|
|
15
|
+
import * as i2 from '@progress/kendo-angular-popup';
|
|
15
16
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
16
|
-
import * as
|
|
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:
|
|
31
|
+
publishDate: 1673546407,
|
|
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:
|
|
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
|
*/
|
|
@@ -1233,7 +1237,7 @@ class ToolBarComponent {
|
|
|
1233
1237
|
return classes;
|
|
1234
1238
|
}
|
|
1235
1239
|
}
|
|
1236
|
-
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarComponent, deps: [{ token: i1.LocalizationService }, { token: i2
|
|
1240
|
+
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 });
|
|
1237
1241
|
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: [
|
|
1238
1242
|
RefreshService,
|
|
1239
1243
|
NavigationService,
|
|
@@ -1242,7 +1246,7 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
1242
1246
|
provide: L10N_PREFIX,
|
|
1243
1247
|
useValue: 'kendo.toolbar'
|
|
1244
1248
|
}
|
|
1245
|
-
], 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: `
|
|
1249
|
+
], 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: `
|
|
1246
1250
|
<ng-container kendoToolbarLocalizedMessages
|
|
1247
1251
|
i18n-moreToolsTitle="kendo.toolbar.moreToolsTitle|The title of the **more tools** button in a responsive ToolBar"
|
|
1248
1252
|
moreToolsTitle="More tools"
|
|
@@ -1258,8 +1262,12 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
1258
1262
|
></kendo-toolbar-renderer>
|
|
1259
1263
|
</ng-container>
|
|
1260
1264
|
<button
|
|
1265
|
+
kendoButton
|
|
1266
|
+
fillMode="flat"
|
|
1261
1267
|
#overflowButton
|
|
1262
1268
|
type="button"
|
|
1269
|
+
icon="more-vertical"
|
|
1270
|
+
[svgIcon]="moreVerticalIcon"
|
|
1263
1271
|
tabindex="-1"
|
|
1264
1272
|
[title]="moreToolsTitle"
|
|
1265
1273
|
[attr.aria-label]="moreToolsTitle"
|
|
@@ -1270,11 +1278,10 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
1270
1278
|
[style.visibility]="'hidden'"
|
|
1271
1279
|
[style.position]="'relative'"
|
|
1272
1280
|
[style.margin-inline-start]="'auto'"
|
|
1273
|
-
class="k-toolbar-overflow-button
|
|
1281
|
+
class="k-toolbar-overflow-button"
|
|
1274
1282
|
[ngClass]="overflowClass"
|
|
1275
1283
|
(click)="showPopup()"
|
|
1276
1284
|
>
|
|
1277
|
-
<span class="k-button-icon k-icon k-i-more-vertical"></span>
|
|
1278
1285
|
</button>
|
|
1279
1286
|
<ng-template #popupTemplate>
|
|
1280
1287
|
<div
|
|
@@ -1295,7 +1302,7 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
1295
1302
|
</ng-template>
|
|
1296
1303
|
<ng-container #container></ng-container>
|
|
1297
1304
|
<kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>
|
|
1298
|
-
`, isInline: true, components: [{ type: ToolBarRendererComponent, selector: "kendo-toolbar-renderer", inputs: ["tool", "location", "resizable"], outputs: ["rendererClick"], exportAs: ["kendoToolBarRenderer"] }, { type:
|
|
1305
|
+
`, 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"] }] });
|
|
1299
1306
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarComponent, decorators: [{
|
|
1300
1307
|
type: Component,
|
|
1301
1308
|
args: [{
|
|
@@ -1326,8 +1333,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1326
1333
|
></kendo-toolbar-renderer>
|
|
1327
1334
|
</ng-container>
|
|
1328
1335
|
<button
|
|
1336
|
+
kendoButton
|
|
1337
|
+
fillMode="flat"
|
|
1329
1338
|
#overflowButton
|
|
1330
1339
|
type="button"
|
|
1340
|
+
icon="more-vertical"
|
|
1341
|
+
[svgIcon]="moreVerticalIcon"
|
|
1331
1342
|
tabindex="-1"
|
|
1332
1343
|
[title]="moreToolsTitle"
|
|
1333
1344
|
[attr.aria-label]="moreToolsTitle"
|
|
@@ -1338,11 +1349,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1338
1349
|
[style.visibility]="'hidden'"
|
|
1339
1350
|
[style.position]="'relative'"
|
|
1340
1351
|
[style.margin-inline-start]="'auto'"
|
|
1341
|
-
class="k-toolbar-overflow-button
|
|
1352
|
+
class="k-toolbar-overflow-button"
|
|
1342
1353
|
[ngClass]="overflowClass"
|
|
1343
1354
|
(click)="showPopup()"
|
|
1344
1355
|
>
|
|
1345
|
-
<span class="k-button-icon k-icon k-i-more-vertical"></span>
|
|
1346
1356
|
</button>
|
|
1347
1357
|
<ng-template #popupTemplate>
|
|
1348
1358
|
<div
|
|
@@ -1365,7 +1375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1365
1375
|
<kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>
|
|
1366
1376
|
`
|
|
1367
1377
|
}]
|
|
1368
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2
|
|
1378
|
+
}], 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: [{
|
|
1369
1379
|
type: Input
|
|
1370
1380
|
}], resizable: [{
|
|
1371
1381
|
type: Input
|
|
@@ -1387,7 +1397,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1387
1397
|
args: [ToolBarToolComponent]
|
|
1388
1398
|
}], overflowButton: [{
|
|
1389
1399
|
type: ViewChild,
|
|
1390
|
-
args: ['overflowButton', { static: false }]
|
|
1400
|
+
args: ['overflowButton', { static: false, read: ElementRef }]
|
|
1391
1401
|
}], popupTemplate: [{
|
|
1392
1402
|
type: ViewChild,
|
|
1393
1403
|
args: ['popupTemplate', { static: true }]
|
|
@@ -1492,12 +1502,14 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
1492
1502
|
text: '',
|
|
1493
1503
|
icon: '',
|
|
1494
1504
|
iconClass: '',
|
|
1505
|
+
svgIcon: null,
|
|
1495
1506
|
imageUrl: ''
|
|
1496
1507
|
};
|
|
1497
1508
|
this.overflowOptions = {
|
|
1498
1509
|
text: '',
|
|
1499
1510
|
icon: '',
|
|
1500
1511
|
iconClass: '',
|
|
1512
|
+
svgIcon: null,
|
|
1501
1513
|
imageUrl: ''
|
|
1502
1514
|
};
|
|
1503
1515
|
this._showText = 'both';
|
|
@@ -1548,6 +1560,20 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
1548
1560
|
this.toolbarOptions.iconClass = getValueForLocation(iconClass, this.showIcon, false);
|
|
1549
1561
|
this.overflowOptions.iconClass = getValueForLocation(iconClass, this.showIcon, true);
|
|
1550
1562
|
}
|
|
1563
|
+
/**
|
|
1564
|
+
* Defines an SVGIcon to be rendered within the button.
|
|
1565
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
1566
|
+
*/
|
|
1567
|
+
set svgIcon(icon) {
|
|
1568
|
+
if (isDevMode() &&
|
|
1569
|
+
icon &&
|
|
1570
|
+
(this.toolbarOptions.icon || this.overflowOptions.icon) &&
|
|
1571
|
+
(this.toolbarOptions.iconClass || this.overflowOptions.iconClass)) {
|
|
1572
|
+
throw new Error('Setting both icon/svgIcon and iconClass options at the same time is not supported.');
|
|
1573
|
+
}
|
|
1574
|
+
this.toolbarOptions.svgIcon = getValueForLocation(icon, this.showIcon, false);
|
|
1575
|
+
this.overflowOptions.svgIcon = getValueForLocation(icon, this.showIcon, true);
|
|
1576
|
+
}
|
|
1551
1577
|
/**
|
|
1552
1578
|
* Defines a URL which is used for an `img` element inside the Button.
|
|
1553
1579
|
* The URL can be relative or absolute. If relative, it is evaluated with relation to the web page URL.
|
|
@@ -1604,17 +1630,6 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
1604
1630
|
this.selectedChange.emit(this.selected);
|
|
1605
1631
|
}
|
|
1606
1632
|
}
|
|
1607
|
-
/**
|
|
1608
|
-
* @hidden
|
|
1609
|
-
*/
|
|
1610
|
-
getIconClasses() {
|
|
1611
|
-
if (this.overflowOptions.icon) {
|
|
1612
|
-
return `k-icon k-i-${this.overflowOptions.icon}`;
|
|
1613
|
-
}
|
|
1614
|
-
else if (this.overflowOptions.iconClass) {
|
|
1615
|
-
return this.overflowOptions.iconClass;
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
1633
|
/**
|
|
1619
1634
|
* @hidden
|
|
1620
1635
|
*/
|
|
@@ -1631,7 +1646,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
1631
1646
|
}
|
|
1632
1647
|
}
|
|
1633
1648
|
ToolBarButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1634
|
-
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: `
|
|
1649
|
+
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: `
|
|
1635
1650
|
<ng-template #toolbarTemplate>
|
|
1636
1651
|
<button
|
|
1637
1652
|
#toolbarButton
|
|
@@ -1649,6 +1664,7 @@ ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1649
1664
|
[selected]="selected"
|
|
1650
1665
|
[icon]="toolbarOptions.icon"
|
|
1651
1666
|
[iconClass]="toolbarOptions.iconClass"
|
|
1667
|
+
[svgIcon]="svgIcon"
|
|
1652
1668
|
[imageUrl]="toolbarOptions.imageUrl"
|
|
1653
1669
|
(click)="click.emit($event)"
|
|
1654
1670
|
(pointerdown)="pointerdown.emit($event)"
|
|
@@ -1670,13 +1686,19 @@ ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1670
1686
|
(click)="handleClick($event)">
|
|
1671
1687
|
<span
|
|
1672
1688
|
class="k-link k-menu-link"
|
|
1673
|
-
[class.k-selected]="selected"
|
|
1674
|
-
|
|
1689
|
+
[class.k-selected]="selected"
|
|
1690
|
+
>
|
|
1691
|
+
<kendo-icon-wrapper
|
|
1692
|
+
*ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
|
|
1693
|
+
[name]="overflowOptions.icon"
|
|
1694
|
+
[customFontClass]="overflowOptions.iconClass"
|
|
1695
|
+
[svgIcon]="overflowOptions.svgIcon"
|
|
1696
|
+
></kendo-icon-wrapper>
|
|
1675
1697
|
<span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
|
|
1676
1698
|
</span>
|
|
1677
1699
|
</div>
|
|
1678
1700
|
</ng-template>
|
|
1679
|
-
`, 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:
|
|
1701
|
+
`, 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"] }] });
|
|
1680
1702
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarButtonComponent, decorators: [{
|
|
1681
1703
|
type: Component,
|
|
1682
1704
|
args: [{
|
|
@@ -1701,6 +1723,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1701
1723
|
[selected]="selected"
|
|
1702
1724
|
[icon]="toolbarOptions.icon"
|
|
1703
1725
|
[iconClass]="toolbarOptions.iconClass"
|
|
1726
|
+
[svgIcon]="svgIcon"
|
|
1704
1727
|
[imageUrl]="toolbarOptions.imageUrl"
|
|
1705
1728
|
(click)="click.emit($event)"
|
|
1706
1729
|
(pointerdown)="pointerdown.emit($event)"
|
|
@@ -1722,8 +1745,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1722
1745
|
(click)="handleClick($event)">
|
|
1723
1746
|
<span
|
|
1724
1747
|
class="k-link k-menu-link"
|
|
1725
|
-
[class.k-selected]="selected"
|
|
1726
|
-
|
|
1748
|
+
[class.k-selected]="selected"
|
|
1749
|
+
>
|
|
1750
|
+
<kendo-icon-wrapper
|
|
1751
|
+
*ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
|
|
1752
|
+
[name]="overflowOptions.icon"
|
|
1753
|
+
[customFontClass]="overflowOptions.iconClass"
|
|
1754
|
+
[svgIcon]="overflowOptions.svgIcon"
|
|
1755
|
+
></kendo-icon-wrapper>
|
|
1727
1756
|
<span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
|
|
1728
1757
|
</span>
|
|
1729
1758
|
</div>
|
|
@@ -1760,6 +1789,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1760
1789
|
type: Input
|
|
1761
1790
|
}], iconClass: [{
|
|
1762
1791
|
type: Input
|
|
1792
|
+
}], svgIcon: [{
|
|
1793
|
+
type: Input
|
|
1763
1794
|
}], imageUrl: [{
|
|
1764
1795
|
type: Input
|
|
1765
1796
|
}], click: [{
|
|
@@ -1896,11 +1927,14 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
1896
1927
|
*/
|
|
1897
1928
|
getIconClasses(button) {
|
|
1898
1929
|
if (button.overflowOptions.icon) {
|
|
1899
|
-
return
|
|
1930
|
+
return `${button.overflowOptions.icon}`;
|
|
1900
1931
|
}
|
|
1901
|
-
|
|
1932
|
+
if (button.overflowOptions.iconClass) {
|
|
1902
1933
|
return button.overflowOptions.iconClass;
|
|
1903
1934
|
}
|
|
1935
|
+
if (button.overflowOptions.svgIcon) {
|
|
1936
|
+
return button.overflowOptions.svgIcon;
|
|
1937
|
+
}
|
|
1904
1938
|
}
|
|
1905
1939
|
focusButton(index, ev) {
|
|
1906
1940
|
var _a;
|
|
@@ -1936,6 +1970,7 @@ ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
1936
1970
|
[themeColor]="button.fillMode ? button.themeColor : null"
|
|
1937
1971
|
[icon]="button.toolbarOptions.icon"
|
|
1938
1972
|
[iconClass]="button.toolbarOptions.iconClass"
|
|
1973
|
+
[svgIcon]="button.toolbarOptions.svgIcon"
|
|
1939
1974
|
[imageUrl]="button.toolbarOptions.imageUrl"
|
|
1940
1975
|
(click)="button.click.emit($event); onButtonClick($event)"
|
|
1941
1976
|
(pointerdown)="button.pointerdown.emit($event)"
|
|
@@ -1957,14 +1992,20 @@ ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
1957
1992
|
(click)="handleClick($event, button)">
|
|
1958
1993
|
<span
|
|
1959
1994
|
class="k-link k-menu-link"
|
|
1960
|
-
[class.k-selected]="button.selected"
|
|
1961
|
-
|
|
1995
|
+
[class.k-selected]="button.selected"
|
|
1996
|
+
>
|
|
1997
|
+
<kendo-icon-wrapper
|
|
1998
|
+
*ngIf="button.overflowOptions.icon || button.overflowOptions.iconClass || button.overflowOptions.svgIcon"
|
|
1999
|
+
[name]="button.overflowOptions.icon"
|
|
2000
|
+
[customFontClass]="button.overflowOptions.iconClass"
|
|
2001
|
+
[svgIcon]="button.overflowOptions.svgIcon"
|
|
2002
|
+
></kendo-icon-wrapper>
|
|
1962
2003
|
<span *ngIf="button.overflowOptions.text" class="k-menu-link-text">{{button.overflowOptions.text}}</span>
|
|
1963
2004
|
</span>
|
|
1964
2005
|
</div>
|
|
1965
2006
|
</ng-container>
|
|
1966
2007
|
</ng-template>
|
|
1967
|
-
`, 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:
|
|
2008
|
+
`, 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"] }] });
|
|
1968
2009
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarButtonGroupComponent, decorators: [{
|
|
1969
2010
|
type: Component,
|
|
1970
2011
|
args: [{
|
|
@@ -1996,6 +2037,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1996
2037
|
[themeColor]="button.fillMode ? button.themeColor : null"
|
|
1997
2038
|
[icon]="button.toolbarOptions.icon"
|
|
1998
2039
|
[iconClass]="button.toolbarOptions.iconClass"
|
|
2040
|
+
[svgIcon]="button.toolbarOptions.svgIcon"
|
|
1999
2041
|
[imageUrl]="button.toolbarOptions.imageUrl"
|
|
2000
2042
|
(click)="button.click.emit($event); onButtonClick($event)"
|
|
2001
2043
|
(pointerdown)="button.pointerdown.emit($event)"
|
|
@@ -2017,8 +2059,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2017
2059
|
(click)="handleClick($event, button)">
|
|
2018
2060
|
<span
|
|
2019
2061
|
class="k-link k-menu-link"
|
|
2020
|
-
[class.k-selected]="button.selected"
|
|
2021
|
-
|
|
2062
|
+
[class.k-selected]="button.selected"
|
|
2063
|
+
>
|
|
2064
|
+
<kendo-icon-wrapper
|
|
2065
|
+
*ngIf="button.overflowOptions.icon || button.overflowOptions.iconClass || button.overflowOptions.svgIcon"
|
|
2066
|
+
[name]="button.overflowOptions.icon"
|
|
2067
|
+
[customFontClass]="button.overflowOptions.iconClass"
|
|
2068
|
+
[svgIcon]="button.overflowOptions.svgIcon"
|
|
2069
|
+
></kendo-icon-wrapper>
|
|
2022
2070
|
<span *ngIf="button.overflowOptions.text" class="k-menu-link-text">{{button.overflowOptions.text}}</span>
|
|
2023
2071
|
</span>
|
|
2024
2072
|
</div>
|
|
@@ -2111,12 +2159,14 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
2111
2159
|
text: '',
|
|
2112
2160
|
icon: '',
|
|
2113
2161
|
iconClass: '',
|
|
2162
|
+
svgIcon: null,
|
|
2114
2163
|
imageUrl: ''
|
|
2115
2164
|
};
|
|
2116
2165
|
this.overflowOptions = {
|
|
2117
2166
|
text: '',
|
|
2118
2167
|
icon: '',
|
|
2119
2168
|
iconClass: '',
|
|
2169
|
+
svgIcon: null,
|
|
2120
2170
|
imageUrl: ''
|
|
2121
2171
|
};
|
|
2122
2172
|
this._popupSettings = { animate: true, popupClass: '' };
|
|
@@ -2249,27 +2299,6 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
2249
2299
|
return !isUnmodified(this.focusedIndex);
|
|
2250
2300
|
}
|
|
2251
2301
|
}
|
|
2252
|
-
/**
|
|
2253
|
-
* @hidden
|
|
2254
|
-
*/
|
|
2255
|
-
getIconClasses(item) {
|
|
2256
|
-
if (item) {
|
|
2257
|
-
if (item.icon) {
|
|
2258
|
-
return `k-icon k-i-${item.icon}`;
|
|
2259
|
-
}
|
|
2260
|
-
else if (item.iconClass) {
|
|
2261
|
-
return item.iconClass;
|
|
2262
|
-
}
|
|
2263
|
-
}
|
|
2264
|
-
else {
|
|
2265
|
-
if (this.overflowOptions.icon) {
|
|
2266
|
-
return `k-icon k-i-${this.overflowOptions.icon}`;
|
|
2267
|
-
}
|
|
2268
|
-
else if (this.overflowOptions.iconClass) {
|
|
2269
|
-
return this.overflowOptions.iconClass;
|
|
2270
|
-
}
|
|
2271
|
-
}
|
|
2272
|
-
}
|
|
2273
2302
|
/**
|
|
2274
2303
|
* @hidden
|
|
2275
2304
|
*/
|
|
@@ -2308,6 +2337,7 @@ ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
2308
2337
|
class="k-toolbar-menu-button"
|
|
2309
2338
|
[icon]="toolbarOptions.icon"
|
|
2310
2339
|
[iconClass]="toolbarOptions.iconClass"
|
|
2340
|
+
[svgIcon]="toolbarOptions.svgIcon"
|
|
2311
2341
|
[imageUrl]="toolbarOptions.imageUrl"
|
|
2312
2342
|
[buttonClass]="buttonClass"
|
|
2313
2343
|
[disabled]="disabled"
|
|
@@ -2331,8 +2361,14 @@ ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
2331
2361
|
class="k-item k-menu-item k-disabled"
|
|
2332
2362
|
[ngClass]="buttonClass">
|
|
2333
2363
|
<span
|
|
2334
|
-
[ngClass]="{'k-link': true, 'k-menu-link': true}"
|
|
2335
|
-
|
|
2364
|
+
[ngClass]="{'k-link': true, 'k-menu-link': true}"
|
|
2365
|
+
>
|
|
2366
|
+
<kendo-icon-wrapper
|
|
2367
|
+
*ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
|
|
2368
|
+
[name]="overflowOptions.icon"
|
|
2369
|
+
[customFontClass]="overflowOptions.iconClass"
|
|
2370
|
+
[svgIcon]="overflowOptions.svgIcon"
|
|
2371
|
+
></kendo-icon-wrapper>
|
|
2336
2372
|
<span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
|
|
2337
2373
|
</span>
|
|
2338
2374
|
</div>
|
|
@@ -2344,14 +2380,20 @@ ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
2344
2380
|
[class.k-disabled]="disabled || item.disabled"
|
|
2345
2381
|
(click)="handleClick($event, item, i)">
|
|
2346
2382
|
<span
|
|
2347
|
-
class="k-link k-menu-link"
|
|
2348
|
-
|
|
2383
|
+
class="k-link k-menu-link"
|
|
2384
|
+
>
|
|
2385
|
+
<kendo-icon-wrapper
|
|
2386
|
+
*ngIf="item.icon || item.iconClass || item.svgIcon"
|
|
2387
|
+
[name]="item.icon"
|
|
2388
|
+
[customFontClass]="item.iconClass"
|
|
2389
|
+
[svgIcon]="item.svgIcon"
|
|
2390
|
+
></kendo-icon-wrapper>
|
|
2349
2391
|
<span *ngIf="getText(item)" class="k-menu-link-text">{{ getText(item) }}</span>
|
|
2350
2392
|
</span>
|
|
2351
2393
|
</div>
|
|
2352
2394
|
</ng-container>
|
|
2353
2395
|
</ng-template>
|
|
2354
|
-
`, 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:
|
|
2396
|
+
`, 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"] }] });
|
|
2355
2397
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarDropDownButtonComponent, decorators: [{
|
|
2356
2398
|
type: Component,
|
|
2357
2399
|
args: [{
|
|
@@ -2365,6 +2407,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2365
2407
|
class="k-toolbar-menu-button"
|
|
2366
2408
|
[icon]="toolbarOptions.icon"
|
|
2367
2409
|
[iconClass]="toolbarOptions.iconClass"
|
|
2410
|
+
[svgIcon]="toolbarOptions.svgIcon"
|
|
2368
2411
|
[imageUrl]="toolbarOptions.imageUrl"
|
|
2369
2412
|
[buttonClass]="buttonClass"
|
|
2370
2413
|
[disabled]="disabled"
|
|
@@ -2388,8 +2431,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2388
2431
|
class="k-item k-menu-item k-disabled"
|
|
2389
2432
|
[ngClass]="buttonClass">
|
|
2390
2433
|
<span
|
|
2391
|
-
[ngClass]="{'k-link': true, 'k-menu-link': true}"
|
|
2392
|
-
|
|
2434
|
+
[ngClass]="{'k-link': true, 'k-menu-link': true}"
|
|
2435
|
+
>
|
|
2436
|
+
<kendo-icon-wrapper
|
|
2437
|
+
*ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
|
|
2438
|
+
[name]="overflowOptions.icon"
|
|
2439
|
+
[customFontClass]="overflowOptions.iconClass"
|
|
2440
|
+
[svgIcon]="overflowOptions.svgIcon"
|
|
2441
|
+
></kendo-icon-wrapper>
|
|
2393
2442
|
<span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
|
|
2394
2443
|
</span>
|
|
2395
2444
|
</div>
|
|
@@ -2401,8 +2450,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2401
2450
|
[class.k-disabled]="disabled || item.disabled"
|
|
2402
2451
|
(click)="handleClick($event, item, i)">
|
|
2403
2452
|
<span
|
|
2404
|
-
class="k-link k-menu-link"
|
|
2405
|
-
|
|
2453
|
+
class="k-link k-menu-link"
|
|
2454
|
+
>
|
|
2455
|
+
<kendo-icon-wrapper
|
|
2456
|
+
*ngIf="item.icon || item.iconClass || item.svgIcon"
|
|
2457
|
+
[name]="item.icon"
|
|
2458
|
+
[customFontClass]="item.iconClass"
|
|
2459
|
+
[svgIcon]="item.svgIcon"
|
|
2460
|
+
></kendo-icon-wrapper>
|
|
2406
2461
|
<span *ngIf="getText(item)" class="k-menu-link-text">{{ getText(item) }}</span>
|
|
2407
2462
|
</span>
|
|
2408
2463
|
</div>
|
|
@@ -2538,12 +2593,14 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
2538
2593
|
text: '',
|
|
2539
2594
|
icon: '',
|
|
2540
2595
|
iconClass: '',
|
|
2596
|
+
svgIcon: null,
|
|
2541
2597
|
imageUrl: ''
|
|
2542
2598
|
};
|
|
2543
2599
|
this.overflowOptions = {
|
|
2544
2600
|
text: '',
|
|
2545
2601
|
icon: '',
|
|
2546
2602
|
iconClass: '',
|
|
2603
|
+
svgIcon: null,
|
|
2547
2604
|
imageUrl: ''
|
|
2548
2605
|
};
|
|
2549
2606
|
this._popupSettings = { animate: true, popupClass: '' };
|
|
@@ -2678,27 +2735,6 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
2678
2735
|
return !isUnmodified(this.focusedIndex);
|
|
2679
2736
|
}
|
|
2680
2737
|
}
|
|
2681
|
-
/**
|
|
2682
|
-
* @hidden
|
|
2683
|
-
*/
|
|
2684
|
-
getIconClasses(item) {
|
|
2685
|
-
if (item) {
|
|
2686
|
-
if (item.icon) {
|
|
2687
|
-
return `k-icon k-i-${item.icon}`;
|
|
2688
|
-
}
|
|
2689
|
-
else if (item.iconClass) {
|
|
2690
|
-
return item.iconClass;
|
|
2691
|
-
}
|
|
2692
|
-
}
|
|
2693
|
-
else {
|
|
2694
|
-
if (this.overflowOptions.icon) {
|
|
2695
|
-
return `k-icon k-i-${this.overflowOptions.icon}`;
|
|
2696
|
-
}
|
|
2697
|
-
else if (this.overflowOptions.iconClass) {
|
|
2698
|
-
return this.overflowOptions.iconClass;
|
|
2699
|
-
}
|
|
2700
|
-
}
|
|
2701
|
-
}
|
|
2702
2738
|
/**
|
|
2703
2739
|
* @hidden
|
|
2704
2740
|
*/
|
|
@@ -2739,6 +2775,7 @@ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
2739
2775
|
[text]="toolbarOptions.text"
|
|
2740
2776
|
[icon]="toolbarOptions.icon"
|
|
2741
2777
|
[iconClass]="toolbarOptions.iconClass"
|
|
2778
|
+
[svgIcon]="toolbarOptions.svgIcon"
|
|
2742
2779
|
[imageUrl]="toolbarOptions.imageUrl"
|
|
2743
2780
|
[buttonClass]="buttonClass"
|
|
2744
2781
|
[arrowButtonClass]="arrowButtonClass"
|
|
@@ -2765,8 +2802,15 @@ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
2765
2802
|
[ngClass]="buttonClass"
|
|
2766
2803
|
(click)="onMainButtonClick($event)">
|
|
2767
2804
|
<span
|
|
2768
|
-
[ngClass]="{'k-link': true, 'k-menu-link': true}"
|
|
2769
|
-
|
|
2805
|
+
[ngClass]="{'k-link': true, 'k-menu-link': true}"
|
|
2806
|
+
>
|
|
2807
|
+
<kendo-icon-wrapper
|
|
2808
|
+
*ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
|
|
2809
|
+
[name]="overflowOptions.icon"
|
|
2810
|
+
[customFontClass]="overflowOptions.iconClass"
|
|
2811
|
+
[svgIcon]="overflowOptions.svgIcon"
|
|
2812
|
+
>
|
|
2813
|
+
</kendo-icon-wrapper>
|
|
2770
2814
|
<span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
|
|
2771
2815
|
</span>
|
|
2772
2816
|
</div>
|
|
@@ -2778,14 +2822,21 @@ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
2778
2822
|
[class.k-disabled]="disabled || item.disabled"
|
|
2779
2823
|
(click)="handleClick($event, item, i)">
|
|
2780
2824
|
<span
|
|
2781
|
-
class="k-link k-menu-link"
|
|
2782
|
-
|
|
2825
|
+
class="k-link k-menu-link"
|
|
2826
|
+
>
|
|
2827
|
+
<kendo-icon-wrapper
|
|
2828
|
+
*ngIf="item.icon || item.iconClass || item.svgIcon"
|
|
2829
|
+
[name]="item.icon"
|
|
2830
|
+
[customFontClass]="item.iconClass"
|
|
2831
|
+
[svgIcon]="item.svgIcon"
|
|
2832
|
+
>
|
|
2833
|
+
</kendo-icon-wrapper>
|
|
2783
2834
|
<span *ngIf="getText(item)" class="k-menu-link-text">{{ getText(item) }}</span>
|
|
2784
2835
|
</span>
|
|
2785
2836
|
</div>
|
|
2786
2837
|
</ng-container>
|
|
2787
2838
|
</ng-template>
|
|
2788
|
-
`, 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:
|
|
2839
|
+
`, 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"] }] });
|
|
2789
2840
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarSplitButtonComponent, decorators: [{
|
|
2790
2841
|
type: Component,
|
|
2791
2842
|
args: [{
|
|
@@ -2801,6 +2852,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2801
2852
|
[text]="toolbarOptions.text"
|
|
2802
2853
|
[icon]="toolbarOptions.icon"
|
|
2803
2854
|
[iconClass]="toolbarOptions.iconClass"
|
|
2855
|
+
[svgIcon]="toolbarOptions.svgIcon"
|
|
2804
2856
|
[imageUrl]="toolbarOptions.imageUrl"
|
|
2805
2857
|
[buttonClass]="buttonClass"
|
|
2806
2858
|
[arrowButtonClass]="arrowButtonClass"
|
|
@@ -2827,8 +2879,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2827
2879
|
[ngClass]="buttonClass"
|
|
2828
2880
|
(click)="onMainButtonClick($event)">
|
|
2829
2881
|
<span
|
|
2830
|
-
[ngClass]="{'k-link': true, 'k-menu-link': true}"
|
|
2831
|
-
|
|
2882
|
+
[ngClass]="{'k-link': true, 'k-menu-link': true}"
|
|
2883
|
+
>
|
|
2884
|
+
<kendo-icon-wrapper
|
|
2885
|
+
*ngIf="overflowOptions.icon || overflowOptions.iconClass || overflowOptions.svgIcon"
|
|
2886
|
+
[name]="overflowOptions.icon"
|
|
2887
|
+
[customFontClass]="overflowOptions.iconClass"
|
|
2888
|
+
[svgIcon]="overflowOptions.svgIcon"
|
|
2889
|
+
>
|
|
2890
|
+
</kendo-icon-wrapper>
|
|
2832
2891
|
<span *ngIf="overflowOptions.text" class="k-menu-link-text">{{overflowOptions.text}}</span>
|
|
2833
2892
|
</span>
|
|
2834
2893
|
</div>
|
|
@@ -2840,8 +2899,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2840
2899
|
[class.k-disabled]="disabled || item.disabled"
|
|
2841
2900
|
(click)="handleClick($event, item, i)">
|
|
2842
2901
|
<span
|
|
2843
|
-
class="k-link k-menu-link"
|
|
2844
|
-
|
|
2902
|
+
class="k-link k-menu-link"
|
|
2903
|
+
>
|
|
2904
|
+
<kendo-icon-wrapper
|
|
2905
|
+
*ngIf="item.icon || item.iconClass || item.svgIcon"
|
|
2906
|
+
[name]="item.icon"
|
|
2907
|
+
[customFontClass]="item.iconClass"
|
|
2908
|
+
[svgIcon]="item.svgIcon"
|
|
2909
|
+
>
|
|
2910
|
+
</kendo-icon-wrapper>
|
|
2845
2911
|
<span *ngIf="getText(item)" class="k-menu-link-text">{{ getText(item) }}</span>
|
|
2846
2912
|
</span>
|
|
2847
2913
|
</div>
|
|
@@ -3072,6 +3138,7 @@ ToolBarButtonListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
3072
3138
|
[disabled]="disabled || item.disabled"
|
|
3073
3139
|
[icon]="item.icon"
|
|
3074
3140
|
[iconClass]="item.iconClass"
|
|
3141
|
+
[svgIcon]="item.svgIcon"
|
|
3075
3142
|
[imageUrl]="item.imageUrl"
|
|
3076
3143
|
[fillMode]="fillMode"
|
|
3077
3144
|
[themeColor]="fillMode ? themeColor : null"
|
|
@@ -3079,7 +3146,7 @@ ToolBarButtonListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
3079
3146
|
>
|
|
3080
3147
|
{{ getText(item) }}
|
|
3081
3148
|
</button>
|
|
3082
|
-
`, 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:
|
|
3149
|
+
`, 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"] }] });
|
|
3083
3150
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarButtonListComponent, decorators: [{
|
|
3084
3151
|
type: Component,
|
|
3085
3152
|
args: [{
|
|
@@ -3096,6 +3163,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3096
3163
|
[disabled]="disabled || item.disabled"
|
|
3097
3164
|
[icon]="item.icon"
|
|
3098
3165
|
[iconClass]="item.iconClass"
|
|
3166
|
+
[svgIcon]="item.svgIcon"
|
|
3099
3167
|
[imageUrl]="item.imageUrl"
|
|
3100
3168
|
[fillMode]="fillMode"
|
|
3101
3169
|
[themeColor]="fillMode ? themeColor : null"
|
|
@@ -3194,20 +3262,20 @@ ToolBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
3194
3262
|
ToolBarSpacerComponent, ToolBarRendererComponent,
|
|
3195
3263
|
ToolBarButtonListComponent,
|
|
3196
3264
|
ToolbarCustomMessagesComponent,
|
|
3197
|
-
LocalizedToolbarMessagesDirective], imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule], exports: [ToolBarComponent, ToolBarToolComponent,
|
|
3265
|
+
LocalizedToolbarMessagesDirective], imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule], exports: [ToolBarComponent, ToolBarToolComponent,
|
|
3198
3266
|
ToolBarButtonComponent,
|
|
3199
3267
|
ToolBarButtonGroupComponent,
|
|
3200
3268
|
ToolBarDropDownButtonComponent,
|
|
3201
3269
|
ToolBarSplitButtonComponent,
|
|
3202
3270
|
ToolBarSeparatorComponent,
|
|
3203
3271
|
ToolBarSpacerComponent, ToolbarCustomMessagesComponent, LocalizedToolbarMessagesDirective] });
|
|
3204
|
-
ToolBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarModule, imports: [[CommonModule, ButtonsModule, PopupModule, ResizeSensorModule]] });
|
|
3272
|
+
ToolBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarModule, imports: [[CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule]] });
|
|
3205
3273
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolBarModule, decorators: [{
|
|
3206
3274
|
type: NgModule,
|
|
3207
3275
|
args: [{
|
|
3208
3276
|
declarations: [ToolBarComponent, TOOLBAR_TOOLS, TOOLBAR_COMMON],
|
|
3209
3277
|
exports: [ToolBarComponent, TOOLBAR_TOOLS, ToolbarCustomMessagesComponent, LocalizedToolbarMessagesDirective],
|
|
3210
|
-
imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule]
|
|
3278
|
+
imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule]
|
|
3211
3279
|
}]
|
|
3212
3280
|
}] });
|
|
3213
3281
|
|