@progress/kendo-angular-grid 11.0.0-develop.100 → 11.0.0-develop.102
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/column-menu/column-chooser.component.d.ts +8 -2
- package/column-menu/column-menu-autosize-all.component.d.ts +2 -0
- package/column-menu/column-menu-autosize.component.d.ts +2 -0
- package/column-menu/column-menu-chooser.component.d.ts +2 -0
- package/column-menu/column-menu-filter.component.d.ts +2 -0
- package/column-menu/column-menu-item.component.d.ts +7 -2
- package/column-menu/column-menu-lock.component.d.ts +4 -0
- package/column-menu/column-menu-position.component.d.ts +2 -0
- package/column-menu/column-menu-sort.component.d.ts +3 -0
- package/column-menu/column-menu-stick.component.d.ts +4 -0
- package/column-menu/column-menu.component.d.ts +2 -0
- package/column-menu/column-menu.module.d.ts +2 -1
- package/esm2020/column-menu/column-chooser.component.mjs +21 -13
- package/esm2020/column-menu/column-menu-autosize-all.component.mjs +7 -5
- package/esm2020/column-menu/column-menu-autosize.component.mjs +7 -5
- package/esm2020/column-menu/column-menu-chooser.component.mjs +5 -1
- package/esm2020/column-menu/column-menu-filter.component.mjs +5 -1
- package/esm2020/column-menu/column-menu-item.component.mjs +15 -13
- package/esm2020/column-menu/column-menu-lock.component.mjs +9 -1
- package/esm2020/column-menu/column-menu-position.component.mjs +5 -1
- package/esm2020/column-menu/column-menu-sort.component.mjs +8 -1
- package/esm2020/column-menu/column-menu-stick.component.mjs +21 -5
- package/esm2020/column-menu/column-menu.component.mjs +21 -14
- package/esm2020/column-menu/column-menu.module.mjs +4 -3
- package/esm2020/dragdrop/draggable-column.directive.mjs +2 -2
- package/esm2020/excel/excel-command.directive.mjs +6 -4
- package/esm2020/filtering/cell/filter-cell-operators.component.mjs +4 -0
- package/esm2020/filtering/menu/filter-menu.component.mjs +11 -4
- package/esm2020/grouping/group-header.component.mjs +17 -9
- package/esm2020/grouping/group-panel.component.mjs +6 -0
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/pager/pager-next-buttons.component.mjs +7 -0
- package/esm2020/pager/pager-prev-buttons.component.mjs +7 -0
- package/esm2020/rendering/constants.mjs +1 -1
- package/esm2020/rendering/header/header.component.mjs +31 -25
- package/esm2020/rendering/table-body.component.mjs +28 -14
- package/fesm2015/progress-kendo-angular-grid.mjs +192 -91
- package/fesm2020/progress-kendo-angular-grid.mjs +192 -91
- package/filtering/cell/filter-cell-operators.component.d.ts +2 -0
- package/filtering/menu/filter-menu.component.d.ts +2 -0
- package/grouping/group-header.component.d.ts +3 -0
- package/grouping/group-panel.component.d.ts +2 -0
- package/package.json +14 -14
- package/pager/pager-next-buttons.component.d.ts +3 -0
- package/pager/pager-prev-buttons.component.d.ts +3 -0
- package/rendering/constants.d.ts +1 -1
- package/rendering/header/header.component.d.ts +4 -2
- package/rendering/table-body.component.d.ts +5 -1
|
@@ -19,6 +19,7 @@ import { orderBy, isCompositeFilterDescriptor, process, filterBy } from '@progre
|
|
|
19
19
|
import * as i1$2 from '@progress/kendo-angular-popup';
|
|
20
20
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
21
21
|
import * as i1$3 from '@angular/platform-browser';
|
|
22
|
+
import { caretAltLeftIcon, caretAltToLeftIcon, caretAltRightIcon, caretAltToRightIcon, sortDescSmallIcon, sortAscSmallIcon, filterIcon, unlockIcon, lockIcon, stickIcon, unstickIcon, setColumnPositionIcon, columnsIcon, maxWidthIcon, displayInlineBlockIcon, moreVerticalIcon, filterClearIcon, caretAltDownIcon, minusIcon, plusIcon } from '@progress/kendo-svg-icons';
|
|
22
23
|
import * as i4$1 from '@progress/kendo-angular-buttons';
|
|
23
24
|
import { ButtonModule, ChipModule, Button } from '@progress/kendo-angular-buttons';
|
|
24
25
|
import * as i3 from '@progress/kendo-angular-inputs';
|
|
@@ -27,13 +28,13 @@ import * as i1$4 from '@progress/kendo-angular-dropdowns';
|
|
|
27
28
|
import { DropDownListComponent, DropDownListModule, AutoCompleteModule, DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
28
29
|
import * as i5 from '@progress/kendo-angular-label';
|
|
29
30
|
import { LabelModule } from '@progress/kendo-angular-label';
|
|
31
|
+
import * as i3$1 from '@progress/kendo-angular-icons';
|
|
32
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
30
33
|
import * as i5$1 from '@progress/kendo-angular-dateinputs';
|
|
31
34
|
import { DatePickerModule } from '@progress/kendo-angular-dateinputs';
|
|
32
35
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
33
36
|
import { getter } from '@progress/kendo-common';
|
|
34
37
|
import * as i1$5 from '@progress/kendo-angular-intl';
|
|
35
|
-
import * as i3$1 from '@progress/kendo-angular-icons';
|
|
36
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
37
38
|
import { PDFExportMarginComponent, PDFExportTemplateDirective, PDFExportComponent } from '@progress/kendo-angular-pdf-export';
|
|
38
39
|
import { saveAs } from '@progress/kendo-file-saver';
|
|
39
40
|
import { workbookOptions, toDataURL, ColumnBase as ColumnBase$1, ExcelExportModule } from '@progress/kendo-angular-excel-export';
|
|
@@ -2849,7 +2850,7 @@ const packageMetadata = {
|
|
|
2849
2850
|
name: '@progress/kendo-angular-grid',
|
|
2850
2851
|
productName: 'Kendo UI for Angular',
|
|
2851
2852
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
2852
|
-
publishDate:
|
|
2853
|
+
publishDate: 1673519302,
|
|
2853
2854
|
version: '',
|
|
2854
2855
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
2855
2856
|
};
|
|
@@ -6857,6 +6858,8 @@ class PagerPrevButtonsComponent extends PagerElementComponent {
|
|
|
6857
6858
|
constructor(localization, pagerContext, cd, navigationService) {
|
|
6858
6859
|
super(localization, pagerContext, cd);
|
|
6859
6860
|
this.navigationService = navigationService;
|
|
6861
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
6862
|
+
this.caretAltToLeftIcon = caretAltToLeftIcon;
|
|
6860
6863
|
}
|
|
6861
6864
|
/**
|
|
6862
6865
|
* @hidden
|
|
@@ -6886,6 +6889,7 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6886
6889
|
(click)="currentPage !== 1 ? changePage(0) : false"
|
|
6887
6890
|
role="button"
|
|
6888
6891
|
icon="caret-alt-to-left"
|
|
6892
|
+
[svgIcon]="caretAltToLeftIcon"
|
|
6889
6893
|
class="k-pager-nav k-pager-first"
|
|
6890
6894
|
[disabled]="disabled"
|
|
6891
6895
|
fillMode="flat"
|
|
@@ -6899,6 +6903,7 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6899
6903
|
class="k-pager-nav"
|
|
6900
6904
|
[disabled]="disabled"
|
|
6901
6905
|
icon="caret-alt-left"
|
|
6906
|
+
[svgIcon]="caretAltLeftIcon"
|
|
6902
6907
|
fillMode="flat"
|
|
6903
6908
|
rounded="none"
|
|
6904
6909
|
[size]="size"
|
|
@@ -6922,6 +6927,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6922
6927
|
(click)="currentPage !== 1 ? changePage(0) : false"
|
|
6923
6928
|
role="button"
|
|
6924
6929
|
icon="caret-alt-to-left"
|
|
6930
|
+
[svgIcon]="caretAltToLeftIcon"
|
|
6925
6931
|
class="k-pager-nav k-pager-first"
|
|
6926
6932
|
[disabled]="disabled"
|
|
6927
6933
|
fillMode="flat"
|
|
@@ -6935,6 +6941,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6935
6941
|
class="k-pager-nav"
|
|
6936
6942
|
[disabled]="disabled"
|
|
6937
6943
|
icon="caret-alt-left"
|
|
6944
|
+
[svgIcon]="caretAltLeftIcon"
|
|
6938
6945
|
fillMode="flat"
|
|
6939
6946
|
rounded="none"
|
|
6940
6947
|
[size]="size"
|
|
@@ -7380,6 +7387,8 @@ class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
7380
7387
|
constructor(localization, pagerContext, cd, navigationService) {
|
|
7381
7388
|
super(localization, pagerContext, cd);
|
|
7382
7389
|
this.navigationService = navigationService;
|
|
7390
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
7391
|
+
this.caretAltToRightIcon = caretAltToRightIcon;
|
|
7383
7392
|
}
|
|
7384
7393
|
/**
|
|
7385
7394
|
* @hidden
|
|
@@ -7406,6 +7415,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
7406
7415
|
type="button"
|
|
7407
7416
|
[size]="size"
|
|
7408
7417
|
icon="caret-alt-right"
|
|
7418
|
+
[svgIcon]="caretAltRightIcon"
|
|
7409
7419
|
fillMode="flat"
|
|
7410
7420
|
rounded="none"
|
|
7411
7421
|
class="k-pager-nav"
|
|
@@ -7420,6 +7430,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
7420
7430
|
type="button"
|
|
7421
7431
|
[size]="size"
|
|
7422
7432
|
icon="caret-alt-to-right"
|
|
7433
|
+
[svgIcon]="caretAltToRightIcon"
|
|
7423
7434
|
fillMode="flat"
|
|
7424
7435
|
rounded="none"
|
|
7425
7436
|
class="k-pager-nav k-pager-last"
|
|
@@ -7441,6 +7452,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7441
7452
|
type="button"
|
|
7442
7453
|
[size]="size"
|
|
7443
7454
|
icon="caret-alt-right"
|
|
7455
|
+
[svgIcon]="caretAltRightIcon"
|
|
7444
7456
|
fillMode="flat"
|
|
7445
7457
|
rounded="none"
|
|
7446
7458
|
class="k-pager-nav"
|
|
@@ -7455,6 +7467,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7455
7467
|
type="button"
|
|
7456
7468
|
[size]="size"
|
|
7457
7469
|
icon="caret-alt-to-right"
|
|
7470
|
+
[svgIcon]="caretAltToRightIcon"
|
|
7458
7471
|
fillMode="flat"
|
|
7459
7472
|
rounded="none"
|
|
7460
7473
|
class="k-pager-nav k-pager-last"
|
|
@@ -8234,8 +8247,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8234
8247
|
*/
|
|
8235
8248
|
const preventOnDblClick$1 = release => mouseDown => of(mouseDown).pipe(delay(150), takeUntil(release));
|
|
8236
8249
|
const hasClass = className => el => new RegExp(`(^| )${className}( |$)`).test(el.className);
|
|
8237
|
-
const isDeleteButton = or(hasClass('k-i-x'), hasClass('k-icon-button'));
|
|
8238
|
-
const isSortIcon = or(hasClass('k-i-sort-asc-small'), hasClass('k-i-sort-desc-small'));
|
|
8250
|
+
const isDeleteButton = or(hasClass('k-i-x'), hasClass('k-svg-i-x'), hasClass('k-icon-button'));
|
|
8251
|
+
const isSortIcon = or(hasClass('k-i-sort-asc-small'), hasClass('k-i-sort-desc-small'), hasClass('k-svg-i-sort-asc-small'), hasClass('k-svg-i-sort-desc-small'));
|
|
8239
8252
|
const skipButtons = and(not(isDeleteButton), not(isSortIcon), not(isFocusableWithTabKey), not(matchesNodeName('label')));
|
|
8240
8253
|
const elementUnderCursor = ({ clientX, clientY }) => isDocumentAvailable() && document.elementFromPoint(clientX, clientY);
|
|
8241
8254
|
const hideThenShow = (element, cont) => {
|
|
@@ -8401,6 +8414,9 @@ class GroupPanelComponent {
|
|
|
8401
8414
|
getDirectionIcon(group) {
|
|
8402
8415
|
return group.dir === 'desc' ? 'sort-desc-sm' : 'sort-asc-sm';
|
|
8403
8416
|
}
|
|
8417
|
+
getDirectionSvgIcon(group) {
|
|
8418
|
+
return group.dir === 'desc' ? sortDescSmallIcon : sortAscSmallIcon;
|
|
8419
|
+
}
|
|
8404
8420
|
directionChange(group) {
|
|
8405
8421
|
group.dir = group.dir ? group.dir : "asc";
|
|
8406
8422
|
group.dir = group.dir === 'asc' ? 'desc' : 'asc';
|
|
@@ -8489,6 +8505,7 @@ GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8489
8505
|
[label]="groupTitles[index]"
|
|
8490
8506
|
[removable]="true"
|
|
8491
8507
|
[icon]="getDirectionIcon(group)"
|
|
8508
|
+
[svgIcon]=""
|
|
8492
8509
|
(contentClick)="directionChange(group)"
|
|
8493
8510
|
(remove)="remove(group)"
|
|
8494
8511
|
>
|
|
@@ -8538,6 +8555,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8538
8555
|
[label]="groupTitles[index]"
|
|
8539
8556
|
[removable]="true"
|
|
8540
8557
|
[icon]="getDirectionIcon(group)"
|
|
8558
|
+
[svgIcon]=""
|
|
8541
8559
|
(contentClick)="directionChange(group)"
|
|
8542
8560
|
(remove)="remove(group)"
|
|
8543
8561
|
>
|
|
@@ -11069,6 +11087,7 @@ class FilterMenuComponent {
|
|
|
11069
11087
|
this.popupService = popupService;
|
|
11070
11088
|
this.localization = localization;
|
|
11071
11089
|
this.navigationService = navigationService;
|
|
11090
|
+
this.filterIcon = filterIcon;
|
|
11072
11091
|
this.tabIndex = '-1';
|
|
11073
11092
|
}
|
|
11074
11093
|
get hasFilters() {
|
|
@@ -11114,7 +11133,9 @@ FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
11114
11133
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
11115
11134
|
href="#"
|
|
11116
11135
|
[attr.title]="filterLabel">
|
|
11117
|
-
<
|
|
11136
|
+
<kendo-icon-wrapper
|
|
11137
|
+
name="filter"
|
|
11138
|
+
[svgIcon]="filterIcon"></kendo-icon-wrapper>
|
|
11118
11139
|
</a>
|
|
11119
11140
|
<ng-template #template>
|
|
11120
11141
|
<kendo-grid-filter-menu-container
|
|
@@ -11126,7 +11147,7 @@ FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
11126
11147
|
>
|
|
11127
11148
|
</kendo-grid-filter-menu-container>
|
|
11128
11149
|
</ng-template>
|
|
11129
|
-
`, isInline: true, components: [{ type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }] });
|
|
11150
|
+
`, isInline: true, components: [{ type: i3$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }] });
|
|
11130
11151
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuComponent, decorators: [{
|
|
11131
11152
|
type: Component,
|
|
11132
11153
|
args: [{
|
|
@@ -11140,7 +11161,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11140
11161
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
11141
11162
|
href="#"
|
|
11142
11163
|
[attr.title]="filterLabel">
|
|
11143
|
-
<
|
|
11164
|
+
<kendo-icon-wrapper
|
|
11165
|
+
name="filter"
|
|
11166
|
+
[svgIcon]="filterIcon"></kendo-icon-wrapper>
|
|
11144
11167
|
</a>
|
|
11145
11168
|
<ng-template #template>
|
|
11146
11169
|
<kendo-grid-filter-menu-container
|
|
@@ -11356,9 +11379,6 @@ class ColumnMenuItemComponent {
|
|
|
11356
11379
|
this.collapse = new EventEmitter();
|
|
11357
11380
|
this.contentState = 'collapsed';
|
|
11358
11381
|
}
|
|
11359
|
-
get iconClass() {
|
|
11360
|
-
return `k-i-${this.icon}`;
|
|
11361
|
-
}
|
|
11362
11382
|
ngOnChanges(changes) {
|
|
11363
11383
|
if (changes.expanded) {
|
|
11364
11384
|
this.updateContentState();
|
|
@@ -11385,7 +11405,7 @@ class ColumnMenuItemComponent {
|
|
|
11385
11405
|
}
|
|
11386
11406
|
}
|
|
11387
11407
|
ColumnMenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11388
|
-
ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: { icon: "icon", text: "text", selected: "selected", disabled: "disabled", expanded: "expanded" }, outputs: { itemClick: "itemClick", expand: "expand", collapse: "collapse" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ColumnMenuItemContentTemplateDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
11408
|
+
ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: { icon: "icon", svgIcon: "svgIcon", text: "text", selected: "selected", disabled: "disabled", expanded: "expanded" }, outputs: { itemClick: "itemClick", expand: "expand", collapse: "collapse" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ColumnMenuItemContentTemplateDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
11389
11409
|
<div
|
|
11390
11410
|
class="k-columnmenu-item"
|
|
11391
11411
|
(click)="onClick($event)"
|
|
@@ -11394,15 +11414,16 @@ ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
11394
11414
|
[class.k-disabled]="disabled"
|
|
11395
11415
|
role="button"
|
|
11396
11416
|
[attr.aria-expanded]="expanded">
|
|
11397
|
-
|
|
11398
|
-
|
|
11399
|
-
|
|
11417
|
+
<kendo-icon-wrapper
|
|
11418
|
+
[name]="icon"
|
|
11419
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
11420
|
+
{{ text }}
|
|
11400
11421
|
</div>
|
|
11401
11422
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
11402
11423
|
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
11403
11424
|
</ng-container>
|
|
11404
11425
|
<div>
|
|
11405
|
-
`, isInline: true,
|
|
11426
|
+
`, isInline: true, components: [{ type: i3$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
|
|
11406
11427
|
trigger('state', [
|
|
11407
11428
|
state('collapsed', style({ display: 'none' })),
|
|
11408
11429
|
state('expanded', style({ display: 'block' })),
|
|
@@ -11461,9 +11482,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11461
11482
|
[class.k-disabled]="disabled"
|
|
11462
11483
|
role="button"
|
|
11463
11484
|
[attr.aria-expanded]="expanded">
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11485
|
+
<kendo-icon-wrapper
|
|
11486
|
+
[name]="icon"
|
|
11487
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
11488
|
+
{{ text }}
|
|
11467
11489
|
</div>
|
|
11468
11490
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
11469
11491
|
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
@@ -11479,6 +11501,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11479
11501
|
type: Output
|
|
11480
11502
|
}], icon: [{
|
|
11481
11503
|
type: Input
|
|
11504
|
+
}], svgIcon: [{
|
|
11505
|
+
type: Input
|
|
11482
11506
|
}], text: [{
|
|
11483
11507
|
type: Input
|
|
11484
11508
|
}], selected: [{
|
|
@@ -11489,7 +11513,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11489
11513
|
type: Input
|
|
11490
11514
|
}], contentTemplate: [{
|
|
11491
11515
|
type: ContentChild,
|
|
11492
|
-
args: [ColumnMenuItemContentTemplateDirective
|
|
11516
|
+
args: [ColumnMenuItemContentTemplateDirective]
|
|
11493
11517
|
}] } });
|
|
11494
11518
|
|
|
11495
11519
|
/**
|
|
@@ -11529,6 +11553,8 @@ class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
|
11529
11553
|
this.localization = localization;
|
|
11530
11554
|
this.columnInfoService = columnInfoService;
|
|
11531
11555
|
this.changeDetector = changeDetector;
|
|
11556
|
+
this.unlockIcon = unlockIcon;
|
|
11557
|
+
this.lockIcon = lockIcon;
|
|
11532
11558
|
}
|
|
11533
11559
|
get text() {
|
|
11534
11560
|
return this.localization.get(this.locked ? 'unlock' : 'lock');
|
|
@@ -11536,6 +11562,9 @@ class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
|
11536
11562
|
get icon() {
|
|
11537
11563
|
return this.locked ? 'unlock' : 'lock';
|
|
11538
11564
|
}
|
|
11565
|
+
get svgIcon() {
|
|
11566
|
+
return this.locked ? this.unlockIcon : this.lockIcon;
|
|
11567
|
+
}
|
|
11539
11568
|
get disabled() {
|
|
11540
11569
|
return !this.locked && this.columnInfoService.unlockedRootCount < 2;
|
|
11541
11570
|
}
|
|
@@ -11573,10 +11602,11 @@ ColumnMenuLockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
11573
11602
|
<kendo-grid-columnmenu-item
|
|
11574
11603
|
[text]="text"
|
|
11575
11604
|
[icon]="icon"
|
|
11605
|
+
[svgIcon]="svgIcon"
|
|
11576
11606
|
(itemClick)="toggleColumn()"
|
|
11577
11607
|
[disabled]="disabled">
|
|
11578
11608
|
</kendo-grid-columnmenu-item>
|
|
11579
|
-
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
11609
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
11580
11610
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuLockComponent, decorators: [{
|
|
11581
11611
|
type: Component,
|
|
11582
11612
|
args: [{
|
|
@@ -11585,6 +11615,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11585
11615
|
<kendo-grid-columnmenu-item
|
|
11586
11616
|
[text]="text"
|
|
11587
11617
|
[icon]="icon"
|
|
11618
|
+
[svgIcon]="svgIcon"
|
|
11588
11619
|
(itemClick)="toggleColumn()"
|
|
11589
11620
|
[disabled]="disabled">
|
|
11590
11621
|
</kendo-grid-columnmenu-item>
|
|
@@ -11629,6 +11660,8 @@ class ColumnMenuStickComponent extends ColumnMenuItemBase {
|
|
|
11629
11660
|
this.localization = localization;
|
|
11630
11661
|
this.columnInfoService = columnInfoService;
|
|
11631
11662
|
this.changeDetector = changeDetector;
|
|
11663
|
+
this.stickIcon = stickIcon;
|
|
11664
|
+
this.unstickIcon = unstickIcon;
|
|
11632
11665
|
}
|
|
11633
11666
|
get text() {
|
|
11634
11667
|
return this.localization.get(this.sticky ? 'unstick' : 'stick');
|
|
@@ -11636,6 +11669,9 @@ class ColumnMenuStickComponent extends ColumnMenuItemBase {
|
|
|
11636
11669
|
get icon() {
|
|
11637
11670
|
return this.sticky ? 'unstick' : 'stick';
|
|
11638
11671
|
}
|
|
11672
|
+
get svgIcon() {
|
|
11673
|
+
return this.sticky ? this.unstickIcon : this.stickIcon;
|
|
11674
|
+
}
|
|
11639
11675
|
get disabled() {
|
|
11640
11676
|
return !this.sticky && this.columnInfoService.unlockedRootCount < 2;
|
|
11641
11677
|
}
|
|
@@ -11670,16 +11706,26 @@ class ColumnMenuStickComponent extends ColumnMenuItemBase {
|
|
|
11670
11706
|
}
|
|
11671
11707
|
ColumnMenuStickComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuStickComponent, deps: [{ token: i1.LocalizationService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11672
11708
|
ColumnMenuStickComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick", usesInheritance: true, ngImport: i0, template: `
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11709
|
+
<kendo-grid-columnmenu-item
|
|
11710
|
+
[text]="text"
|
|
11711
|
+
[icon]="icon"
|
|
11712
|
+
[svgIcon]="svgIcon"
|
|
11713
|
+
(itemClick)="toggleColumn()"
|
|
11714
|
+
[disabled]="disabled">
|
|
11715
|
+
</kendo-grid-columnmenu-item>
|
|
11716
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
11676
11717
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuStickComponent, decorators: [{
|
|
11677
11718
|
type: Component,
|
|
11678
11719
|
args: [{
|
|
11679
11720
|
selector: 'kendo-grid-columnmenu-stick',
|
|
11680
11721
|
template: `
|
|
11681
|
-
|
|
11682
|
-
|
|
11722
|
+
<kendo-grid-columnmenu-item
|
|
11723
|
+
[text]="text"
|
|
11724
|
+
[icon]="icon"
|
|
11725
|
+
[svgIcon]="svgIcon"
|
|
11726
|
+
(itemClick)="toggleColumn()"
|
|
11727
|
+
[disabled]="disabled">
|
|
11728
|
+
</kendo-grid-columnmenu-item>
|
|
11683
11729
|
`
|
|
11684
11730
|
}]
|
|
11685
11731
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -11735,6 +11781,7 @@ class ColumnMenuPositionComponent extends ColumnMenuItemBase {
|
|
|
11735
11781
|
* @hidden
|
|
11736
11782
|
*/
|
|
11737
11783
|
this.actionsClass = 'k-columnmenu-actions';
|
|
11784
|
+
this.setColumnPositionIcon = setColumnPositionIcon;
|
|
11738
11785
|
this._isLast = false;
|
|
11739
11786
|
}
|
|
11740
11787
|
/**
|
|
@@ -11793,6 +11840,7 @@ ColumnMenuPositionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
11793
11840
|
<kendo-grid-columnmenu-item
|
|
11794
11841
|
[text]="localization.get('setColumnPosition')"
|
|
11795
11842
|
icon="set-column-position"
|
|
11843
|
+
[svgIcon]="setColumnPositionIcon"
|
|
11796
11844
|
[expanded]="expanded"
|
|
11797
11845
|
(keydown.tab)="onTab($event, !expanded)"
|
|
11798
11846
|
(collapse)="onCollapse()"
|
|
@@ -11810,7 +11858,7 @@ ColumnMenuPositionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
11810
11858
|
</kendo-grid-columnmenu-stick>
|
|
11811
11859
|
</ng-template>
|
|
11812
11860
|
</kendo-grid-columnmenu-item>
|
|
11813
|
-
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }], directives: [{ type: ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
11861
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }], directives: [{ type: ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
11814
11862
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuPositionComponent, decorators: [{
|
|
11815
11863
|
type: Component,
|
|
11816
11864
|
args: [{
|
|
@@ -11819,6 +11867,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11819
11867
|
<kendo-grid-columnmenu-item
|
|
11820
11868
|
[text]="localization.get('setColumnPosition')"
|
|
11821
11869
|
icon="set-column-position"
|
|
11870
|
+
[svgIcon]="setColumnPositionIcon"
|
|
11822
11871
|
[expanded]="expanded"
|
|
11823
11872
|
(keydown.tab)="onTab($event, !expanded)"
|
|
11824
11873
|
(collapse)="onCollapse()"
|
|
@@ -12113,6 +12162,7 @@ class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
|
12113
12162
|
* @hidden
|
|
12114
12163
|
*/
|
|
12115
12164
|
this.actionsClass = 'k-columnmenu-actions';
|
|
12165
|
+
this.columnsIcon = columnsIcon;
|
|
12116
12166
|
}
|
|
12117
12167
|
get columns() {
|
|
12118
12168
|
return this.columnInfoService.leafNamedColumns;
|
|
@@ -12150,6 +12200,7 @@ ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
12150
12200
|
<kendo-grid-columnmenu-item
|
|
12151
12201
|
[text]="localization.get('columns')"
|
|
12152
12202
|
icon="columns"
|
|
12203
|
+
[svgIcon]="columnsIcon"
|
|
12153
12204
|
[expanded]="expanded"
|
|
12154
12205
|
(collapse)="onCollapse()"
|
|
12155
12206
|
(expand)="onExpand()">
|
|
@@ -12168,7 +12219,7 @@ ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
12168
12219
|
</kendo-grid-columnlist>
|
|
12169
12220
|
</ng-template>
|
|
12170
12221
|
</kendo-grid-columnmenu-item>
|
|
12171
|
-
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }], directives: [{ type: ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }] });
|
|
12222
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }], directives: [{ type: ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }] });
|
|
12172
12223
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuChooserComponent, decorators: [{
|
|
12173
12224
|
type: Component,
|
|
12174
12225
|
args: [{
|
|
@@ -12177,6 +12228,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12177
12228
|
<kendo-grid-columnmenu-item
|
|
12178
12229
|
[text]="localization.get('columns')"
|
|
12179
12230
|
icon="columns"
|
|
12231
|
+
[svgIcon]="columnsIcon"
|
|
12180
12232
|
[expanded]="expanded"
|
|
12181
12233
|
(collapse)="onCollapse()"
|
|
12182
12234
|
(expand)="onExpand()">
|
|
@@ -12262,6 +12314,7 @@ class ColumnMenuFilterComponent extends ColumnMenuItemBase {
|
|
|
12262
12314
|
* @hidden
|
|
12263
12315
|
*/
|
|
12264
12316
|
this.actionsClass = 'k-columnmenu-actions';
|
|
12317
|
+
this.filterIcon = filterIcon;
|
|
12265
12318
|
}
|
|
12266
12319
|
/**
|
|
12267
12320
|
* @hidden
|
|
@@ -12286,6 +12339,7 @@ ColumnMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
12286
12339
|
<kendo-grid-columnmenu-item
|
|
12287
12340
|
[text]="localization.get('filter')"
|
|
12288
12341
|
icon="filter"
|
|
12342
|
+
[svgIcon]="filterIcon"
|
|
12289
12343
|
[expanded]="expanded"
|
|
12290
12344
|
(collapse)="onCollapse()"
|
|
12291
12345
|
(expand)="onExpand()">
|
|
@@ -12302,7 +12356,7 @@ ColumnMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
12302
12356
|
</kendo-grid-filter-menu-container>
|
|
12303
12357
|
</ng-template>
|
|
12304
12358
|
</kendo-grid-columnmenu-item>
|
|
12305
|
-
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }], directives: [{ type: ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }] });
|
|
12359
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }], directives: [{ type: ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }] });
|
|
12306
12360
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuFilterComponent, decorators: [{
|
|
12307
12361
|
type: Component,
|
|
12308
12362
|
args: [{
|
|
@@ -12311,6 +12365,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12311
12365
|
<kendo-grid-columnmenu-item
|
|
12312
12366
|
[text]="localization.get('filter')"
|
|
12313
12367
|
icon="filter"
|
|
12368
|
+
[svgIcon]="filterIcon"
|
|
12314
12369
|
[expanded]="expanded"
|
|
12315
12370
|
(collapse)="onCollapse()"
|
|
12316
12371
|
(expand)="onExpand()">
|
|
@@ -12504,6 +12559,8 @@ class ColumnMenuSortComponent extends ColumnMenuItemBase {
|
|
|
12504
12559
|
this.localization = localization;
|
|
12505
12560
|
this.sortService = sortService;
|
|
12506
12561
|
this.renderer = renderer;
|
|
12562
|
+
this.sortAscSmallIcon = sortAscSmallIcon;
|
|
12563
|
+
this.sortDescSmallIcon = sortDescSmallIcon;
|
|
12507
12564
|
}
|
|
12508
12565
|
get sortedAsc() {
|
|
12509
12566
|
const descriptor = this.descriptor;
|
|
@@ -12541,16 +12598,18 @@ ColumnMenuSortComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
12541
12598
|
<kendo-grid-columnmenu-item
|
|
12542
12599
|
[text]="localization.get('sortAscending')"
|
|
12543
12600
|
icon="sort-asc-small"
|
|
12601
|
+
[svgIcon]="sortAscSmallIcon"
|
|
12544
12602
|
(itemClick)="toggleSort('asc')"
|
|
12545
12603
|
[selected]="sortedAsc">
|
|
12546
12604
|
</kendo-grid-columnmenu-item>
|
|
12547
12605
|
<kendo-grid-columnmenu-item
|
|
12548
12606
|
[text]="localization.get('sortDescending')"
|
|
12549
12607
|
icon="sort-desc-small"
|
|
12608
|
+
[svgIcon]="sortDescSmallIcon"
|
|
12550
12609
|
(itemClick)="toggleSort('desc')"
|
|
12551
12610
|
[selected]="sortedDesc">
|
|
12552
12611
|
</kendo-grid-columnmenu-item>
|
|
12553
|
-
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
12612
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
12554
12613
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuSortComponent, decorators: [{
|
|
12555
12614
|
type: Component,
|
|
12556
12615
|
args: [{
|
|
@@ -12559,12 +12618,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12559
12618
|
<kendo-grid-columnmenu-item
|
|
12560
12619
|
[text]="localization.get('sortAscending')"
|
|
12561
12620
|
icon="sort-asc-small"
|
|
12621
|
+
[svgIcon]="sortAscSmallIcon"
|
|
12562
12622
|
(itemClick)="toggleSort('asc')"
|
|
12563
12623
|
[selected]="sortedAsc">
|
|
12564
12624
|
</kendo-grid-columnmenu-item>
|
|
12565
12625
|
<kendo-grid-columnmenu-item
|
|
12566
12626
|
[text]="localization.get('sortDescending')"
|
|
12567
12627
|
icon="sort-desc-small"
|
|
12628
|
+
[svgIcon]="sortDescSmallIcon"
|
|
12568
12629
|
(itemClick)="toggleSort('desc')"
|
|
12569
12630
|
[selected]="sortedDesc">
|
|
12570
12631
|
</kendo-grid-columnmenu-item>
|
|
@@ -12610,6 +12671,7 @@ class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBase {
|
|
|
12610
12671
|
super();
|
|
12611
12672
|
this.localization = localization;
|
|
12612
12673
|
this.ctx = ctx;
|
|
12674
|
+
this.maxWidthIcon = maxWidthIcon;
|
|
12613
12675
|
}
|
|
12614
12676
|
ngOnInit() {
|
|
12615
12677
|
const isVirtualColumns = this.ctx.grid.columnMenuTemplate && this.ctx.grid.virtualColumns;
|
|
@@ -12628,10 +12690,10 @@ ColumnMenuAutoSizeColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
|
|
|
12628
12690
|
class="k-grid-columnmenu-autosize-column"
|
|
12629
12691
|
[text]="localization.get('autosizeThisColumn')"
|
|
12630
12692
|
icon="max-width"
|
|
12693
|
+
[svgIcon]="maxWidthIcon"
|
|
12631
12694
|
(itemClick)="autoSizeColumn()"
|
|
12632
|
-
>
|
|
12633
|
-
|
|
12634
|
-
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
12695
|
+
></kendo-grid-columnmenu-item>
|
|
12696
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
12635
12697
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuAutoSizeColumnComponent, decorators: [{
|
|
12636
12698
|
type: Component,
|
|
12637
12699
|
args: [{
|
|
@@ -12642,9 +12704,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12642
12704
|
class="k-grid-columnmenu-autosize-column"
|
|
12643
12705
|
[text]="localization.get('autosizeThisColumn')"
|
|
12644
12706
|
icon="max-width"
|
|
12707
|
+
[svgIcon]="maxWidthIcon"
|
|
12645
12708
|
(itemClick)="autoSizeColumn()"
|
|
12646
|
-
>
|
|
12647
|
-
</kendo-grid-columnmenu-item>
|
|
12709
|
+
></kendo-grid-columnmenu-item>
|
|
12648
12710
|
`
|
|
12649
12711
|
}]
|
|
12650
12712
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ContextService }]; }, propDecorators: { column: [{
|
|
@@ -12689,6 +12751,7 @@ class ColumnMenuAutoSizeAllColumnsComponent extends ColumnMenuItemBase {
|
|
|
12689
12751
|
super();
|
|
12690
12752
|
this.localization = localization;
|
|
12691
12753
|
this.ctx = ctx;
|
|
12754
|
+
this.displayInlineBlockIcon = displayInlineBlockIcon;
|
|
12692
12755
|
}
|
|
12693
12756
|
ngOnInit() {
|
|
12694
12757
|
const isVirtualColumns = this.ctx.grid.columnMenuTemplate && this.ctx.grid.virtualColumns;
|
|
@@ -12706,10 +12769,10 @@ ColumnMenuAutoSizeAllColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVer
|
|
|
12706
12769
|
*ngIf="!this.ctx.grid.virtualColumns"
|
|
12707
12770
|
[text]="localization.get('autosizeAllColumns')"
|
|
12708
12771
|
icon="display-inline-block"
|
|
12772
|
+
[svgIcon]="displayInlineBlockIcon"
|
|
12709
12773
|
(itemClick)="autoSizeAllColumns()"
|
|
12710
|
-
>
|
|
12711
|
-
|
|
12712
|
-
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
12774
|
+
></kendo-grid-columnmenu-item>
|
|
12775
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
12713
12776
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuAutoSizeAllColumnsComponent, decorators: [{
|
|
12714
12777
|
type: Component,
|
|
12715
12778
|
args: [{
|
|
@@ -12719,9 +12782,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12719
12782
|
*ngIf="!this.ctx.grid.virtualColumns"
|
|
12720
12783
|
[text]="localization.get('autosizeAllColumns')"
|
|
12721
12784
|
icon="display-inline-block"
|
|
12785
|
+
[svgIcon]="displayInlineBlockIcon"
|
|
12722
12786
|
(itemClick)="autoSizeAllColumns()"
|
|
12723
|
-
>
|
|
12724
|
-
</kendo-grid-columnmenu-item>
|
|
12787
|
+
></kendo-grid-columnmenu-item>
|
|
12725
12788
|
`
|
|
12726
12789
|
}]
|
|
12727
12790
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ContextService }]; } });
|
|
@@ -12765,6 +12828,7 @@ class ColumnMenuComponent {
|
|
|
12765
12828
|
* @hidden
|
|
12766
12829
|
*/
|
|
12767
12830
|
this.expandedPosition = false;
|
|
12831
|
+
this.moreVerticalIcon = moreVerticalIcon;
|
|
12768
12832
|
this.closeSubscription = service.closeMenu.subscribe(this.close.bind(this));
|
|
12769
12833
|
}
|
|
12770
12834
|
/**
|
|
@@ -12903,7 +12967,9 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
12903
12967
|
href="#"
|
|
12904
12968
|
[tabindex]="tabIndex"
|
|
12905
12969
|
[attr.title]="columnMenuTitle">
|
|
12906
|
-
<
|
|
12970
|
+
<kendo-icon-wrapper
|
|
12971
|
+
name="more-vertical"
|
|
12972
|
+
[svgIcon]="moreVerticalIcon"></kendo-icon-wrapper>
|
|
12907
12973
|
</a>
|
|
12908
12974
|
<ng-template #template>
|
|
12909
12975
|
<ng-container
|
|
@@ -12964,7 +13030,7 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
12964
13030
|
</kendo-grid-columnmenu-filter>
|
|
12965
13031
|
</kendo-grid-columnmenu-container>
|
|
12966
13032
|
</ng-template>
|
|
12967
|
-
`, isInline: true, components: [{ type: ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { type: ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { type: ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { type: ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { type: ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { type: ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }] });
|
|
13033
|
+
`, isInline: true, components: [{ type: i3$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { type: ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { type: ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { type: ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { type: ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { type: ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }] });
|
|
12968
13034
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuComponent, decorators: [{
|
|
12969
13035
|
type: Component,
|
|
12970
13036
|
args: [{
|
|
@@ -12982,7 +13048,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12982
13048
|
href="#"
|
|
12983
13049
|
[tabindex]="tabIndex"
|
|
12984
13050
|
[attr.title]="columnMenuTitle">
|
|
12985
|
-
<
|
|
13051
|
+
<kendo-icon-wrapper
|
|
13052
|
+
name="more-vertical"
|
|
13053
|
+
[svgIcon]="moreVerticalIcon"></kendo-icon-wrapper>
|
|
12986
13054
|
</a>
|
|
12987
13055
|
<ng-template #template>
|
|
12988
13056
|
<ng-container
|
|
@@ -13080,6 +13148,7 @@ class FilterCellOperatorsComponent {
|
|
|
13080
13148
|
this.localization = localization;
|
|
13081
13149
|
this.sizing = sizing;
|
|
13082
13150
|
this.clearText = 'Clear';
|
|
13151
|
+
this.filterClearIcon = filterClearIcon;
|
|
13083
13152
|
/**
|
|
13084
13153
|
* @hidden
|
|
13085
13154
|
*/
|
|
@@ -13176,6 +13245,7 @@ FilterCellOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
13176
13245
|
kendoGridFocusable
|
|
13177
13246
|
*ngIf="showButton"
|
|
13178
13247
|
icon="filter-clear"
|
|
13248
|
+
[svgIcon]="filterClearIcon"
|
|
13179
13249
|
[title]="clearText"
|
|
13180
13250
|
[size]="size"
|
|
13181
13251
|
(click)="clearClick()"
|
|
@@ -13207,6 +13277,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13207
13277
|
kendoGridFocusable
|
|
13208
13278
|
*ngIf="showButton"
|
|
13209
13279
|
icon="filter-clear"
|
|
13280
|
+
[svgIcon]="filterClearIcon"
|
|
13210
13281
|
[title]="clearText"
|
|
13211
13282
|
[size]="size"
|
|
13212
13283
|
(click)="clearClick()"
|
|
@@ -14601,6 +14672,8 @@ class HeaderComponent {
|
|
|
14601
14672
|
this.sortedFields = {};
|
|
14602
14673
|
this.hostClass = true;
|
|
14603
14674
|
this.dropTargets = new QueryList();
|
|
14675
|
+
this.sortAscSmallIcon = sortAscSmallIcon;
|
|
14676
|
+
this.sortDescSmallIcon = sortDescSmallIcon;
|
|
14604
14677
|
this.subscription = new Subscription();
|
|
14605
14678
|
}
|
|
14606
14679
|
get headerClass() {
|
|
@@ -14669,14 +14742,6 @@ class HeaderComponent {
|
|
|
14669
14742
|
.findIndex(x => x.field === field)
|
|
14670
14743
|
+ 1;
|
|
14671
14744
|
}
|
|
14672
|
-
sortIcon(field) {
|
|
14673
|
-
const state = this.sortDescriptor(field);
|
|
14674
|
-
return {
|
|
14675
|
-
'k-icon': isPresent(state.dir),
|
|
14676
|
-
'k-i-sort-desc-small': state.dir === "desc",
|
|
14677
|
-
'k-i-sort-asc-small': state.dir === "asc"
|
|
14678
|
-
};
|
|
14679
|
-
}
|
|
14680
14745
|
sortState(column) {
|
|
14681
14746
|
if (!this.isSortable(column)) {
|
|
14682
14747
|
return;
|
|
@@ -14834,12 +14899,12 @@ class HeaderComponent {
|
|
|
14834
14899
|
isColumnGroupComponent(column) {
|
|
14835
14900
|
return isColumnGroupComponent(column);
|
|
14836
14901
|
}
|
|
14837
|
-
get columnLevels() {
|
|
14838
|
-
return new Array((this.totalColumnLevels || 0) + 1);
|
|
14839
|
-
}
|
|
14840
14902
|
sortDescriptor(field) {
|
|
14841
14903
|
return this.sort.find(item => item.field === field) || { field };
|
|
14842
14904
|
}
|
|
14905
|
+
get columnLevels() {
|
|
14906
|
+
return new Array((this.totalColumnLevels || 0) + 1);
|
|
14907
|
+
}
|
|
14843
14908
|
get leafColumns() {
|
|
14844
14909
|
return this._leafColumns;
|
|
14845
14910
|
}
|
|
@@ -15029,7 +15094,12 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
15029
15094
|
<span class="k-column-title">{{column.displayTitle}}</span>
|
|
15030
15095
|
</ng-container>
|
|
15031
15096
|
<span class="k-sort-icon">
|
|
15032
|
-
<
|
|
15097
|
+
<kendo-icon-wrapper
|
|
15098
|
+
*ngIf="sortDescriptor(getColumnComponent(column).field).dir"
|
|
15099
|
+
role="note" [attr.aria-label]="sortableLabel"
|
|
15100
|
+
name="sort-{{sortDescriptor(getColumnComponent(column).field).dir}}-small"
|
|
15101
|
+
[svgIcon]="sortDescriptor(getColumnComponent(column).field).dir === 'asc' ? sortAscSmallIcon : sortDescSmallIcon"
|
|
15102
|
+
></kendo-icon-wrapper>
|
|
15033
15103
|
</span>
|
|
15034
15104
|
<span *ngIf="showSortNumbering(getColumnComponent(column))" class="k-sort-order">{{sortOrder(getColumnComponent(column).field)}}</span>
|
|
15035
15105
|
</span>
|
|
@@ -15144,7 +15214,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
15144
15214
|
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
15145
15215
|
></tr>
|
|
15146
15216
|
</ng-container>
|
|
15147
|
-
`, isInline: true, components: [{ type: FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: ["column", "filter", "tabIndex"] }, { type: ColumnMenuComponent, selector: "kendo-grid-column-menu", inputs: ["standalone", "column", "settings", "sort", "filter", "sortable", "columnMenuTemplate", "tabIndex"] }, { type: FilterRowComponent, selector: "[kendoGridFilterRow]", inputs: ["columns", "filter", "groups", "detailTemplate", "logicalRowIndex", "lockedColumnsCount"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: SelectAllCheckboxDirective, selector: "[kendoGridSelectAllCheckbox]", inputs: ["state"], outputs: ["selectAllChange"] }, { type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { type: ColumnHandleDirective, selector: "[kendoGridColumnHandle]", inputs: ["columns", "column"] }] });
|
|
15217
|
+
`, isInline: true, components: [{ type: FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: ["column", "filter", "tabIndex"] }, { type: ColumnMenuComponent, selector: "kendo-grid-column-menu", inputs: ["standalone", "column", "settings", "sort", "filter", "sortable", "columnMenuTemplate", "tabIndex"] }, { type: i3$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: FilterRowComponent, selector: "[kendoGridFilterRow]", inputs: ["columns", "filter", "groups", "detailTemplate", "logicalRowIndex", "lockedColumnsCount"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: SelectAllCheckboxDirective, selector: "[kendoGridSelectAllCheckbox]", inputs: ["state"], outputs: ["selectAllChange"] }, { type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { type: ColumnHandleDirective, selector: "[kendoGridColumnHandle]", inputs: ["columns", "column"] }] });
|
|
15148
15218
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
15149
15219
|
type: Component,
|
|
15150
15220
|
args: [{
|
|
@@ -15253,7 +15323,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15253
15323
|
<span class="k-column-title">{{column.displayTitle}}</span>
|
|
15254
15324
|
</ng-container>
|
|
15255
15325
|
<span class="k-sort-icon">
|
|
15256
|
-
<
|
|
15326
|
+
<kendo-icon-wrapper
|
|
15327
|
+
*ngIf="sortDescriptor(getColumnComponent(column).field).dir"
|
|
15328
|
+
role="note" [attr.aria-label]="sortableLabel"
|
|
15329
|
+
name="sort-{{sortDescriptor(getColumnComponent(column).field).dir}}-small"
|
|
15330
|
+
[svgIcon]="sortDescriptor(getColumnComponent(column).field).dir === 'asc' ? sortAscSmallIcon : sortDescSmallIcon"
|
|
15331
|
+
></kendo-icon-wrapper>
|
|
15257
15332
|
</span>
|
|
15258
15333
|
<span *ngIf="showSortNumbering(getColumnComponent(column))" class="k-sort-order">{{sortOrder(getColumnComponent(column).field)}}</span>
|
|
15259
15334
|
</span>
|
|
@@ -15603,7 +15678,7 @@ const NON_DATA_ROW_CLASSES = 'k-grouping-row k-group-footer k-detail-row k-grid-
|
|
|
15603
15678
|
/**
|
|
15604
15679
|
* @hidden
|
|
15605
15680
|
*/
|
|
15606
|
-
const IGNORE_TARGET_CLASSSES = 'k-icon';
|
|
15681
|
+
const IGNORE_TARGET_CLASSSES = 'k-icon k-svg-icon';
|
|
15607
15682
|
/**
|
|
15608
15683
|
* @hidden
|
|
15609
15684
|
*/
|
|
@@ -16170,6 +16245,8 @@ class GroupHeaderComponent {
|
|
|
16170
16245
|
this.totalColumnsCount = 0;
|
|
16171
16246
|
this.groups = [];
|
|
16172
16247
|
this.isExpanded = false;
|
|
16248
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
16249
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
16173
16250
|
this.groupItemClass = true;
|
|
16174
16251
|
this.tableGroupRowClass = true;
|
|
16175
16252
|
}
|
|
@@ -16244,10 +16321,12 @@ GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
16244
16321
|
<p class="k-reset">
|
|
16245
16322
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
16246
16323
|
<a href="#" tabindex="-1" (click)="toggleGroup(item)"
|
|
16247
|
-
|
|
16248
|
-
[ngClass]="{ 'k-i-caret-alt-down': isExpanded, 'k-i-caret-alt-right': !isExpanded }" role="presentation"
|
|
16324
|
+
role="presentation"
|
|
16249
16325
|
[attr.title]="groupButtonTitle"
|
|
16250
16326
|
[attr.aria-label]="groupButtonTitle">
|
|
16327
|
+
<kendo-icon-wrapper
|
|
16328
|
+
[name]="isExpanded ? 'caret-alt-down' : 'caret-alt-right'"
|
|
16329
|
+
[svgIcon]="isExpanded ? caretAltDownIcon : caretAltRightIcon"></kendo-icon-wrapper>
|
|
16251
16330
|
</a>
|
|
16252
16331
|
<ng-container *ngIf="!groupHeaderTemplate(item)">
|
|
16253
16332
|
{{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}
|
|
@@ -16291,7 +16370,7 @@ GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
16291
16370
|
</ng-template>
|
|
16292
16371
|
</td>
|
|
16293
16372
|
</ng-container>
|
|
16294
|
-
`, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type:
|
|
16373
|
+
`, isInline: true, components: [{ type: i3$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "valueOf": FieldAccessorPipe } });
|
|
16295
16374
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupHeaderComponent, decorators: [{
|
|
16296
16375
|
type: Component,
|
|
16297
16376
|
args: [{
|
|
@@ -16316,10 +16395,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
16316
16395
|
<p class="k-reset">
|
|
16317
16396
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
16318
16397
|
<a href="#" tabindex="-1" (click)="toggleGroup(item)"
|
|
16319
|
-
|
|
16320
|
-
[ngClass]="{ 'k-i-caret-alt-down': isExpanded, 'k-i-caret-alt-right': !isExpanded }" role="presentation"
|
|
16398
|
+
role="presentation"
|
|
16321
16399
|
[attr.title]="groupButtonTitle"
|
|
16322
16400
|
[attr.aria-label]="groupButtonTitle">
|
|
16401
|
+
<kendo-icon-wrapper
|
|
16402
|
+
[name]="isExpanded ? 'caret-alt-down' : 'caret-alt-right'"
|
|
16403
|
+
[svgIcon]="isExpanded ? caretAltDownIcon : caretAltRightIcon"></kendo-icon-wrapper>
|
|
16323
16404
|
</a>
|
|
16324
16405
|
<ng-container *ngIf="!groupHeaderTemplate(item)">
|
|
16325
16406
|
{{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}
|
|
@@ -16433,6 +16514,8 @@ class TableBodyComponent {
|
|
|
16433
16514
|
this.totalColumnsCount = 0;
|
|
16434
16515
|
this.trackBy = defaultTrackBy;
|
|
16435
16516
|
this.hostClass = true;
|
|
16517
|
+
this.minusIcon = minusIcon;
|
|
16518
|
+
this.plusIcon = plusIcon;
|
|
16436
16519
|
this.rowClass = () => null;
|
|
16437
16520
|
this.cellKeydownSubscription = this.navigationService.cellKeydown.subscribe((args) => this.cellKeydownHandler(args));
|
|
16438
16521
|
this.trackByWrapper = this.trackByWrapper.bind(this);
|
|
@@ -16456,9 +16539,13 @@ class TableBodyComponent {
|
|
|
16456
16539
|
isExpanded(viewItem) {
|
|
16457
16540
|
return this.detailsService.isExpanded(viewItem.index, viewItem.data);
|
|
16458
16541
|
}
|
|
16459
|
-
|
|
16542
|
+
detailButtonIconName(viewItem) {
|
|
16460
16543
|
const expanded = this.isExpanded(viewItem);
|
|
16461
|
-
return expanded ? '
|
|
16544
|
+
return expanded ? 'minus' : 'plus';
|
|
16545
|
+
}
|
|
16546
|
+
detailButtonSvgIcon(viewItem) {
|
|
16547
|
+
const expanded = this.isExpanded(viewItem);
|
|
16548
|
+
return expanded ? this.minusIcon : this.plusIcon;
|
|
16462
16549
|
}
|
|
16463
16550
|
detailButtonTitle(viewItem) {
|
|
16464
16551
|
const messageKey = this.isExpanded(viewItem) ? 'detailCollapse' : 'detailExpand';
|
|
@@ -16834,12 +16921,15 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
16834
16921
|
[detailExpandCell]="true"
|
|
16835
16922
|
aria-selected="false"
|
|
16836
16923
|
role="gridcell">
|
|
16837
|
-
<a
|
|
16924
|
+
<a
|
|
16838
16925
|
*ngIf="detailTemplate.showIf(item.data, $any(item).index)"
|
|
16839
|
-
[ngClass]="detailButtonStyles(item)"
|
|
16840
16926
|
[attr.title]="detailButtonTitle(item)"
|
|
16841
16927
|
[attr.aria-label]="detailButtonTitle(item)"
|
|
16842
|
-
href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)"
|
|
16928
|
+
href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)">
|
|
16929
|
+
<kendo-icon-wrapper
|
|
16930
|
+
[name]="detailButtonIconName(item)"
|
|
16931
|
+
[svgIcon]="detailButtonSvgIcon(item)"></kendo-icon-wrapper>
|
|
16932
|
+
</a>
|
|
16843
16933
|
</td>
|
|
16844
16934
|
<td
|
|
16845
16935
|
kendoGridCell
|
|
@@ -16950,7 +17040,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
16950
17040
|
</tr>
|
|
16951
17041
|
</ng-container>
|
|
16952
17042
|
<kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>
|
|
16953
|
-
`, isInline: true, components: [{ type: CellComponent, selector: "[kendoGridCell]", inputs: ["column", "columnIndex", "isNew", "isLoading", "isVirtual", "loadingTemplate", "rowIndex", "dataItem"] }, { type: GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: ["rowIndex", "logicalRowIndex", "item", "skipGroupDecoration", "hasDetails", "totalColumnsCount", "hasGroupHeaderColumn", "groupHeaderColumns", "columns", "groups"] }, { type: i1$1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
17043
|
+
`, isInline: true, components: [{ type: CellComponent, selector: "[kendoGridCell]", inputs: ["column", "columnIndex", "isNew", "isLoading", "isVirtual", "loadingTemplate", "rowIndex", "dataItem"] }, { type: GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: ["rowIndex", "logicalRowIndex", "item", "skipGroupDecoration", "hasDetails", "totalColumnsCount", "hasGroupHeaderColumn", "groupHeaderColumns", "columns", "groups"] }, { type: i3$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i1$1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
16954
17044
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableBodyComponent, decorators: [{
|
|
16955
17045
|
type: Component,
|
|
16956
17046
|
args: [{
|
|
@@ -17056,12 +17146,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
17056
17146
|
[detailExpandCell]="true"
|
|
17057
17147
|
aria-selected="false"
|
|
17058
17148
|
role="gridcell">
|
|
17059
|
-
<a
|
|
17149
|
+
<a
|
|
17060
17150
|
*ngIf="detailTemplate.showIf(item.data, $any(item).index)"
|
|
17061
|
-
[ngClass]="detailButtonStyles(item)"
|
|
17062
17151
|
[attr.title]="detailButtonTitle(item)"
|
|
17063
17152
|
[attr.aria-label]="detailButtonTitle(item)"
|
|
17064
|
-
href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)"
|
|
17153
|
+
href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)">
|
|
17154
|
+
<kendo-icon-wrapper
|
|
17155
|
+
[name]="detailButtonIconName(item)"
|
|
17156
|
+
[svgIcon]="detailButtonSvgIcon(item)"></kendo-icon-wrapper>
|
|
17157
|
+
</a>
|
|
17065
17158
|
</td>
|
|
17066
17159
|
<td
|
|
17067
17160
|
kendoGridCell
|
|
@@ -23609,7 +23702,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
23609
23702
|
* })
|
|
23610
23703
|
*
|
|
23611
23704
|
* class AppComponent {
|
|
23612
|
-
*
|
|
23705
|
+
* public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
|
|
23613
23706
|
* }
|
|
23614
23707
|
* ```
|
|
23615
23708
|
*/
|
|
@@ -23621,6 +23714,10 @@ class ColumnChooserComponent {
|
|
|
23621
23714
|
this.ngZone = ngZone;
|
|
23622
23715
|
this.renderer = renderer;
|
|
23623
23716
|
this.changeDetector = changeDetector;
|
|
23717
|
+
/**
|
|
23718
|
+
* @hidden
|
|
23719
|
+
*/
|
|
23720
|
+
this.columnsIcon = columnsIcon;
|
|
23624
23721
|
/**
|
|
23625
23722
|
* Specifies if the changes in the visibility of the column will be immediately applied.
|
|
23626
23723
|
*/
|
|
@@ -23643,7 +23740,7 @@ class ColumnChooserComponent {
|
|
|
23643
23740
|
if (!this.popupRef) {
|
|
23644
23741
|
const direction = this.localization.rtl ? 'right' : 'left';
|
|
23645
23742
|
this.popupRef = this.popupService.open({
|
|
23646
|
-
anchor: anchor,
|
|
23743
|
+
anchor: anchor.element,
|
|
23647
23744
|
content: template,
|
|
23648
23745
|
positionMode: 'absolute',
|
|
23649
23746
|
anchorAlign: { vertical: 'bottom', horizontal: direction },
|
|
@@ -23654,7 +23751,7 @@ class ColumnChooserComponent {
|
|
|
23654
23751
|
return;
|
|
23655
23752
|
}
|
|
23656
23753
|
this.ngZone.runOutsideAngular(() => this.closeClick = this.renderer.listen('document', 'click', ({ target }) => {
|
|
23657
|
-
if (!closest(target, node => node === this.popupRef.popupElement || node === anchor)) {
|
|
23754
|
+
if (!closest(target, node => node === this.popupRef.popupElement || node === anchor.element)) {
|
|
23658
23755
|
this.close();
|
|
23659
23756
|
}
|
|
23660
23757
|
}));
|
|
@@ -23697,12 +23794,13 @@ class ColumnChooserComponent {
|
|
|
23697
23794
|
ColumnChooserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnChooserComponent, deps: [{ token: i1.LocalizationService }, { token: ColumnInfoService }, { token: i1$2.PopupService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
23698
23795
|
ColumnChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnChooserComponent, selector: "kendo-grid-column-chooser", inputs: { autoSync: "autoSync", allowHideAll: "allowHideAll" }, ngImport: i0, template: `
|
|
23699
23796
|
<button #anchor
|
|
23797
|
+
kendoButton
|
|
23700
23798
|
type="button"
|
|
23701
23799
|
(click)="toggle(anchor, template)"
|
|
23702
|
-
|
|
23703
|
-
[attr.title]="localization.get('columns')"
|
|
23704
|
-
|
|
23705
|
-
|
|
23800
|
+
fillMode="flat"
|
|
23801
|
+
[attr.title]="localization.get('columns')"
|
|
23802
|
+
icon="columns"
|
|
23803
|
+
[svgIcon]="columnsIcon"></button>
|
|
23706
23804
|
<ng-template #template>
|
|
23707
23805
|
<span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
|
|
23708
23806
|
<kendo-grid-columnlist
|
|
@@ -23715,19 +23813,20 @@ ColumnChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
23715
23813
|
(columnChange)="onChange($event)">
|
|
23716
23814
|
</kendo-grid-columnlist>
|
|
23717
23815
|
</ng-template>
|
|
23718
|
-
`, isInline: true, components: [{ type: ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }] });
|
|
23816
|
+
`, isInline: true, components: [{ type: i4$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: ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }] });
|
|
23719
23817
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnChooserComponent, decorators: [{
|
|
23720
23818
|
type: Component,
|
|
23721
23819
|
args: [{
|
|
23722
23820
|
selector: 'kendo-grid-column-chooser',
|
|
23723
23821
|
template: `
|
|
23724
23822
|
<button #anchor
|
|
23823
|
+
kendoButton
|
|
23725
23824
|
type="button"
|
|
23726
23825
|
(click)="toggle(anchor, template)"
|
|
23727
|
-
|
|
23728
|
-
[attr.title]="localization.get('columns')"
|
|
23729
|
-
|
|
23730
|
-
|
|
23826
|
+
fillMode="flat"
|
|
23827
|
+
[attr.title]="localization.get('columns')"
|
|
23828
|
+
icon="columns"
|
|
23829
|
+
[svgIcon]="columnsIcon"></button>
|
|
23731
23830
|
<ng-template #template>
|
|
23732
23831
|
<span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
|
|
23733
23832
|
<kendo-grid-columnlist
|
|
@@ -23806,7 +23905,7 @@ ColumnMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
23806
23905
|
ColumnMenuStickComponent,
|
|
23807
23906
|
ColumnMenuPositionComponent,
|
|
23808
23907
|
ColumnMenuAutoSizeColumnComponent,
|
|
23809
|
-
ColumnMenuAutoSizeAllColumnsComponent], imports: [CommonModule, FilterMenuModule], exports: [ColumnListComponent,
|
|
23908
|
+
ColumnMenuAutoSizeAllColumnsComponent], imports: [CommonModule, FilterMenuModule, ButtonModule], exports: [ColumnListComponent,
|
|
23810
23909
|
ColumnChooserComponent,
|
|
23811
23910
|
ColumnMenuChooserComponent,
|
|
23812
23911
|
ColumnMenuFilterComponent,
|
|
@@ -23822,12 +23921,12 @@ ColumnMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
23822
23921
|
ColumnMenuPositionComponent,
|
|
23823
23922
|
ColumnMenuAutoSizeColumnComponent,
|
|
23824
23923
|
ColumnMenuAutoSizeAllColumnsComponent] });
|
|
23825
|
-
ColumnMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuModule, imports: [[CommonModule, FilterMenuModule]] });
|
|
23924
|
+
ColumnMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuModule, imports: [[CommonModule, FilterMenuModule, ButtonModule]] });
|
|
23826
23925
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuModule, decorators: [{
|
|
23827
23926
|
type: NgModule,
|
|
23828
23927
|
args: [{
|
|
23829
23928
|
declarations: [COMPONENTS],
|
|
23830
|
-
imports: [CommonModule, FilterMenuModule],
|
|
23929
|
+
imports: [CommonModule, FilterMenuModule, ButtonModule],
|
|
23831
23930
|
exports: [COMPONENTS]
|
|
23832
23931
|
}]
|
|
23833
23932
|
}] });
|
|
@@ -26181,9 +26280,10 @@ class ExcelCommandDirective extends Button {
|
|
|
26181
26280
|
ExcelCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExcelCommandDirective, deps: [{ token: ExcelService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
26182
26281
|
ExcelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ExcelCommandDirective, selector: "[kendoGridExcelCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-grid-excel": "this.excelClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
26183
26282
|
<kendo-icon-wrapper
|
|
26184
|
-
*ngIf="icon"
|
|
26283
|
+
*ngIf="icon || svgIcon"
|
|
26185
26284
|
innerCssClass="k-button-icon"
|
|
26186
|
-
[name]="icon"
|
|
26285
|
+
[name]="icon"
|
|
26286
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
26187
26287
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
26188
26288
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
26189
26289
|
</span>
|
|
@@ -26196,9 +26296,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
26196
26296
|
selector: '[kendoGridExcelCommand]',
|
|
26197
26297
|
template: `
|
|
26198
26298
|
<kendo-icon-wrapper
|
|
26199
|
-
*ngIf="icon"
|
|
26299
|
+
*ngIf="icon || svgIcon"
|
|
26200
26300
|
innerCssClass="k-button-icon"
|
|
26201
|
-
[name]="icon"
|
|
26301
|
+
[name]="icon"
|
|
26302
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
26202
26303
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
26203
26304
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
26204
26305
|
</span>
|