@progress/kendo-angular-grid 11.0.0-develop.99 → 11.0.0
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/NOTICE.txt +17 -17
- 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 +2 -2
- 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 +193 -92
- package/fesm2020/progress-kendo-angular-grid.mjs +193 -92
- 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 +18 -18
- 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
- package/schematics/ngAdd/index.js +2 -2
|
@@ -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';
|
|
@@ -2855,8 +2856,8 @@ const packageMetadata = {
|
|
|
2855
2856
|
name: '@progress/kendo-angular-grid',
|
|
2856
2857
|
productName: 'Kendo UI for Angular',
|
|
2857
2858
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
2858
|
-
publishDate:
|
|
2859
|
-
version: '',
|
|
2859
|
+
publishDate: 1674032497,
|
|
2860
|
+
version: '11.0.0',
|
|
2860
2861
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
2861
2862
|
};
|
|
2862
2863
|
|
|
@@ -6902,6 +6903,8 @@ class PagerPrevButtonsComponent extends PagerElementComponent {
|
|
|
6902
6903
|
constructor(localization, pagerContext, cd, navigationService) {
|
|
6903
6904
|
super(localization, pagerContext, cd);
|
|
6904
6905
|
this.navigationService = navigationService;
|
|
6906
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
6907
|
+
this.caretAltToLeftIcon = caretAltToLeftIcon;
|
|
6905
6908
|
}
|
|
6906
6909
|
/**
|
|
6907
6910
|
* @hidden
|
|
@@ -6931,6 +6934,7 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6931
6934
|
(click)="currentPage !== 1 ? changePage(0) : false"
|
|
6932
6935
|
role="button"
|
|
6933
6936
|
icon="caret-alt-to-left"
|
|
6937
|
+
[svgIcon]="caretAltToLeftIcon"
|
|
6934
6938
|
class="k-pager-nav k-pager-first"
|
|
6935
6939
|
[disabled]="disabled"
|
|
6936
6940
|
fillMode="flat"
|
|
@@ -6944,6 +6948,7 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6944
6948
|
class="k-pager-nav"
|
|
6945
6949
|
[disabled]="disabled"
|
|
6946
6950
|
icon="caret-alt-left"
|
|
6951
|
+
[svgIcon]="caretAltLeftIcon"
|
|
6947
6952
|
fillMode="flat"
|
|
6948
6953
|
rounded="none"
|
|
6949
6954
|
[size]="size"
|
|
@@ -6967,6 +6972,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6967
6972
|
(click)="currentPage !== 1 ? changePage(0) : false"
|
|
6968
6973
|
role="button"
|
|
6969
6974
|
icon="caret-alt-to-left"
|
|
6975
|
+
[svgIcon]="caretAltToLeftIcon"
|
|
6970
6976
|
class="k-pager-nav k-pager-first"
|
|
6971
6977
|
[disabled]="disabled"
|
|
6972
6978
|
fillMode="flat"
|
|
@@ -6980,6 +6986,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6980
6986
|
class="k-pager-nav"
|
|
6981
6987
|
[disabled]="disabled"
|
|
6982
6988
|
icon="caret-alt-left"
|
|
6989
|
+
[svgIcon]="caretAltLeftIcon"
|
|
6983
6990
|
fillMode="flat"
|
|
6984
6991
|
rounded="none"
|
|
6985
6992
|
[size]="size"
|
|
@@ -7425,6 +7432,8 @@ class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
7425
7432
|
constructor(localization, pagerContext, cd, navigationService) {
|
|
7426
7433
|
super(localization, pagerContext, cd);
|
|
7427
7434
|
this.navigationService = navigationService;
|
|
7435
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
7436
|
+
this.caretAltToRightIcon = caretAltToRightIcon;
|
|
7428
7437
|
}
|
|
7429
7438
|
/**
|
|
7430
7439
|
* @hidden
|
|
@@ -7451,6 +7460,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
7451
7460
|
type="button"
|
|
7452
7461
|
[size]="size"
|
|
7453
7462
|
icon="caret-alt-right"
|
|
7463
|
+
[svgIcon]="caretAltRightIcon"
|
|
7454
7464
|
fillMode="flat"
|
|
7455
7465
|
rounded="none"
|
|
7456
7466
|
class="k-pager-nav"
|
|
@@ -7465,6 +7475,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
7465
7475
|
type="button"
|
|
7466
7476
|
[size]="size"
|
|
7467
7477
|
icon="caret-alt-to-right"
|
|
7478
|
+
[svgIcon]="caretAltToRightIcon"
|
|
7468
7479
|
fillMode="flat"
|
|
7469
7480
|
rounded="none"
|
|
7470
7481
|
class="k-pager-nav k-pager-last"
|
|
@@ -7486,6 +7497,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7486
7497
|
type="button"
|
|
7487
7498
|
[size]="size"
|
|
7488
7499
|
icon="caret-alt-right"
|
|
7500
|
+
[svgIcon]="caretAltRightIcon"
|
|
7489
7501
|
fillMode="flat"
|
|
7490
7502
|
rounded="none"
|
|
7491
7503
|
class="k-pager-nav"
|
|
@@ -7500,6 +7512,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7500
7512
|
type="button"
|
|
7501
7513
|
[size]="size"
|
|
7502
7514
|
icon="caret-alt-to-right"
|
|
7515
|
+
[svgIcon]="caretAltToRightIcon"
|
|
7503
7516
|
fillMode="flat"
|
|
7504
7517
|
rounded="none"
|
|
7505
7518
|
class="k-pager-nav k-pager-last"
|
|
@@ -8281,8 +8294,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8281
8294
|
*/
|
|
8282
8295
|
const preventOnDblClick$1 = release => mouseDown => of(mouseDown).pipe(delay(150), takeUntil(release));
|
|
8283
8296
|
const hasClass = className => el => new RegExp(`(^| )${className}( |$)`).test(el.className);
|
|
8284
|
-
const isDeleteButton = or(hasClass('k-i-x'), hasClass('k-icon-button'));
|
|
8285
|
-
const isSortIcon = or(hasClass('k-i-sort-asc-small'), hasClass('k-i-sort-desc-small'));
|
|
8297
|
+
const isDeleteButton = or(hasClass('k-i-x'), hasClass('k-svg-i-x'), hasClass('k-icon-button'));
|
|
8298
|
+
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'));
|
|
8286
8299
|
const skipButtons = and(not(isDeleteButton), not(isSortIcon), not(isFocusableWithTabKey), not(matchesNodeName('label')));
|
|
8287
8300
|
const elementUnderCursor = ({ clientX, clientY }) => isDocumentAvailable() && document.elementFromPoint(clientX, clientY);
|
|
8288
8301
|
const hideThenShow = (element, cont) => {
|
|
@@ -8450,6 +8463,9 @@ class GroupPanelComponent {
|
|
|
8450
8463
|
getDirectionIcon(group) {
|
|
8451
8464
|
return group.dir === 'desc' ? 'sort-desc-sm' : 'sort-asc-sm';
|
|
8452
8465
|
}
|
|
8466
|
+
getDirectionSvgIcon(group) {
|
|
8467
|
+
return group.dir === 'desc' ? sortDescSmallIcon : sortAscSmallIcon;
|
|
8468
|
+
}
|
|
8453
8469
|
directionChange(group) {
|
|
8454
8470
|
group.dir = group.dir ? group.dir : "asc";
|
|
8455
8471
|
group.dir = group.dir === 'asc' ? 'desc' : 'asc';
|
|
@@ -8538,6 +8554,7 @@ GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8538
8554
|
[label]="groupTitles[index]"
|
|
8539
8555
|
[removable]="true"
|
|
8540
8556
|
[icon]="getDirectionIcon(group)"
|
|
8557
|
+
[svgIcon]=""
|
|
8541
8558
|
(contentClick)="directionChange(group)"
|
|
8542
8559
|
(remove)="remove(group)"
|
|
8543
8560
|
>
|
|
@@ -8587,6 +8604,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8587
8604
|
[label]="groupTitles[index]"
|
|
8588
8605
|
[removable]="true"
|
|
8589
8606
|
[icon]="getDirectionIcon(group)"
|
|
8607
|
+
[svgIcon]=""
|
|
8590
8608
|
(contentClick)="directionChange(group)"
|
|
8591
8609
|
(remove)="remove(group)"
|
|
8592
8610
|
>
|
|
@@ -11125,6 +11143,7 @@ class FilterMenuComponent {
|
|
|
11125
11143
|
this.popupService = popupService;
|
|
11126
11144
|
this.localization = localization;
|
|
11127
11145
|
this.navigationService = navigationService;
|
|
11146
|
+
this.filterIcon = filterIcon;
|
|
11128
11147
|
this.tabIndex = '-1';
|
|
11129
11148
|
}
|
|
11130
11149
|
get hasFilters() {
|
|
@@ -11170,7 +11189,9 @@ FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
11170
11189
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
11171
11190
|
href="#"
|
|
11172
11191
|
[attr.title]="filterLabel">
|
|
11173
|
-
<
|
|
11192
|
+
<kendo-icon-wrapper
|
|
11193
|
+
name="filter"
|
|
11194
|
+
[svgIcon]="filterIcon"></kendo-icon-wrapper>
|
|
11174
11195
|
</a>
|
|
11175
11196
|
<ng-template #template>
|
|
11176
11197
|
<kendo-grid-filter-menu-container
|
|
@@ -11182,7 +11203,7 @@ FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
11182
11203
|
>
|
|
11183
11204
|
</kendo-grid-filter-menu-container>
|
|
11184
11205
|
</ng-template>
|
|
11185
|
-
`, isInline: true, components: [{ type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }] });
|
|
11206
|
+
`, 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"] }] });
|
|
11186
11207
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuComponent, decorators: [{
|
|
11187
11208
|
type: Component,
|
|
11188
11209
|
args: [{
|
|
@@ -11196,7 +11217,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11196
11217
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
11197
11218
|
href="#"
|
|
11198
11219
|
[attr.title]="filterLabel">
|
|
11199
|
-
<
|
|
11220
|
+
<kendo-icon-wrapper
|
|
11221
|
+
name="filter"
|
|
11222
|
+
[svgIcon]="filterIcon"></kendo-icon-wrapper>
|
|
11200
11223
|
</a>
|
|
11201
11224
|
<ng-template #template>
|
|
11202
11225
|
<kendo-grid-filter-menu-container
|
|
@@ -11414,9 +11437,6 @@ class ColumnMenuItemComponent {
|
|
|
11414
11437
|
this.collapse = new EventEmitter();
|
|
11415
11438
|
this.contentState = 'collapsed';
|
|
11416
11439
|
}
|
|
11417
|
-
get iconClass() {
|
|
11418
|
-
return `k-i-${this.icon}`;
|
|
11419
|
-
}
|
|
11420
11440
|
ngOnChanges(changes) {
|
|
11421
11441
|
if (changes.expanded) {
|
|
11422
11442
|
this.updateContentState();
|
|
@@ -11443,7 +11463,7 @@ class ColumnMenuItemComponent {
|
|
|
11443
11463
|
}
|
|
11444
11464
|
}
|
|
11445
11465
|
ColumnMenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11446
|
-
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: `
|
|
11466
|
+
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: `
|
|
11447
11467
|
<div
|
|
11448
11468
|
class="k-columnmenu-item"
|
|
11449
11469
|
(click)="onClick($event)"
|
|
@@ -11452,15 +11472,16 @@ ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
11452
11472
|
[class.k-disabled]="disabled"
|
|
11453
11473
|
role="button"
|
|
11454
11474
|
[attr.aria-expanded]="expanded">
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11475
|
+
<kendo-icon-wrapper
|
|
11476
|
+
[name]="icon"
|
|
11477
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
11478
|
+
{{ text }}
|
|
11458
11479
|
</div>
|
|
11459
11480
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
11460
11481
|
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
11461
11482
|
</ng-container>
|
|
11462
11483
|
<div>
|
|
11463
|
-
`, isInline: true,
|
|
11484
|
+
`, 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: [
|
|
11464
11485
|
trigger('state', [
|
|
11465
11486
|
state('collapsed', style({ display: 'none' })),
|
|
11466
11487
|
state('expanded', style({ display: 'block' })),
|
|
@@ -11519,9 +11540,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11519
11540
|
[class.k-disabled]="disabled"
|
|
11520
11541
|
role="button"
|
|
11521
11542
|
[attr.aria-expanded]="expanded">
|
|
11522
|
-
|
|
11523
|
-
|
|
11524
|
-
|
|
11543
|
+
<kendo-icon-wrapper
|
|
11544
|
+
[name]="icon"
|
|
11545
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
11546
|
+
{{ text }}
|
|
11525
11547
|
</div>
|
|
11526
11548
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
11527
11549
|
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
@@ -11537,6 +11559,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11537
11559
|
type: Output
|
|
11538
11560
|
}], icon: [{
|
|
11539
11561
|
type: Input
|
|
11562
|
+
}], svgIcon: [{
|
|
11563
|
+
type: Input
|
|
11540
11564
|
}], text: [{
|
|
11541
11565
|
type: Input
|
|
11542
11566
|
}], selected: [{
|
|
@@ -11547,7 +11571,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11547
11571
|
type: Input
|
|
11548
11572
|
}], contentTemplate: [{
|
|
11549
11573
|
type: ContentChild,
|
|
11550
|
-
args: [ColumnMenuItemContentTemplateDirective
|
|
11574
|
+
args: [ColumnMenuItemContentTemplateDirective]
|
|
11551
11575
|
}] } });
|
|
11552
11576
|
|
|
11553
11577
|
/**
|
|
@@ -11587,6 +11611,8 @@ class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
|
11587
11611
|
this.localization = localization;
|
|
11588
11612
|
this.columnInfoService = columnInfoService;
|
|
11589
11613
|
this.changeDetector = changeDetector;
|
|
11614
|
+
this.unlockIcon = unlockIcon;
|
|
11615
|
+
this.lockIcon = lockIcon;
|
|
11590
11616
|
}
|
|
11591
11617
|
get text() {
|
|
11592
11618
|
return this.localization.get(this.locked ? 'unlock' : 'lock');
|
|
@@ -11594,6 +11620,9 @@ class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
|
11594
11620
|
get icon() {
|
|
11595
11621
|
return this.locked ? 'unlock' : 'lock';
|
|
11596
11622
|
}
|
|
11623
|
+
get svgIcon() {
|
|
11624
|
+
return this.locked ? this.unlockIcon : this.lockIcon;
|
|
11625
|
+
}
|
|
11597
11626
|
get disabled() {
|
|
11598
11627
|
return !this.locked && this.columnInfoService.unlockedRootCount < 2;
|
|
11599
11628
|
}
|
|
@@ -11631,10 +11660,11 @@ ColumnMenuLockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
11631
11660
|
<kendo-grid-columnmenu-item
|
|
11632
11661
|
[text]="text"
|
|
11633
11662
|
[icon]="icon"
|
|
11663
|
+
[svgIcon]="svgIcon"
|
|
11634
11664
|
(itemClick)="toggleColumn()"
|
|
11635
11665
|
[disabled]="disabled">
|
|
11636
11666
|
</kendo-grid-columnmenu-item>
|
|
11637
|
-
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
11667
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
11638
11668
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuLockComponent, decorators: [{
|
|
11639
11669
|
type: Component,
|
|
11640
11670
|
args: [{
|
|
@@ -11643,6 +11673,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11643
11673
|
<kendo-grid-columnmenu-item
|
|
11644
11674
|
[text]="text"
|
|
11645
11675
|
[icon]="icon"
|
|
11676
|
+
[svgIcon]="svgIcon"
|
|
11646
11677
|
(itemClick)="toggleColumn()"
|
|
11647
11678
|
[disabled]="disabled">
|
|
11648
11679
|
</kendo-grid-columnmenu-item>
|
|
@@ -11687,6 +11718,8 @@ class ColumnMenuStickComponent extends ColumnMenuItemBase {
|
|
|
11687
11718
|
this.localization = localization;
|
|
11688
11719
|
this.columnInfoService = columnInfoService;
|
|
11689
11720
|
this.changeDetector = changeDetector;
|
|
11721
|
+
this.stickIcon = stickIcon;
|
|
11722
|
+
this.unstickIcon = unstickIcon;
|
|
11690
11723
|
}
|
|
11691
11724
|
get text() {
|
|
11692
11725
|
return this.localization.get(this.sticky ? 'unstick' : 'stick');
|
|
@@ -11694,6 +11727,9 @@ class ColumnMenuStickComponent extends ColumnMenuItemBase {
|
|
|
11694
11727
|
get icon() {
|
|
11695
11728
|
return this.sticky ? 'unstick' : 'stick';
|
|
11696
11729
|
}
|
|
11730
|
+
get svgIcon() {
|
|
11731
|
+
return this.sticky ? this.unstickIcon : this.stickIcon;
|
|
11732
|
+
}
|
|
11697
11733
|
get disabled() {
|
|
11698
11734
|
return !this.sticky && this.columnInfoService.unlockedRootCount < 2;
|
|
11699
11735
|
}
|
|
@@ -11728,16 +11764,26 @@ class ColumnMenuStickComponent extends ColumnMenuItemBase {
|
|
|
11728
11764
|
}
|
|
11729
11765
|
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 });
|
|
11730
11766
|
ColumnMenuStickComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick", usesInheritance: true, ngImport: i0, template: `
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
|
-
|
|
11767
|
+
<kendo-grid-columnmenu-item
|
|
11768
|
+
[text]="text"
|
|
11769
|
+
[icon]="icon"
|
|
11770
|
+
[svgIcon]="svgIcon"
|
|
11771
|
+
(itemClick)="toggleColumn()"
|
|
11772
|
+
[disabled]="disabled">
|
|
11773
|
+
</kendo-grid-columnmenu-item>
|
|
11774
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
11734
11775
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuStickComponent, decorators: [{
|
|
11735
11776
|
type: Component,
|
|
11736
11777
|
args: [{
|
|
11737
11778
|
selector: 'kendo-grid-columnmenu-stick',
|
|
11738
11779
|
template: `
|
|
11739
|
-
|
|
11740
|
-
|
|
11780
|
+
<kendo-grid-columnmenu-item
|
|
11781
|
+
[text]="text"
|
|
11782
|
+
[icon]="icon"
|
|
11783
|
+
[svgIcon]="svgIcon"
|
|
11784
|
+
(itemClick)="toggleColumn()"
|
|
11785
|
+
[disabled]="disabled">
|
|
11786
|
+
</kendo-grid-columnmenu-item>
|
|
11741
11787
|
`
|
|
11742
11788
|
}]
|
|
11743
11789
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -11793,6 +11839,7 @@ class ColumnMenuPositionComponent extends ColumnMenuItemBase {
|
|
|
11793
11839
|
* @hidden
|
|
11794
11840
|
*/
|
|
11795
11841
|
this.actionsClass = 'k-columnmenu-actions';
|
|
11842
|
+
this.setColumnPositionIcon = setColumnPositionIcon;
|
|
11796
11843
|
this._isLast = false;
|
|
11797
11844
|
}
|
|
11798
11845
|
/**
|
|
@@ -11851,6 +11898,7 @@ ColumnMenuPositionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
11851
11898
|
<kendo-grid-columnmenu-item
|
|
11852
11899
|
[text]="localization.get('setColumnPosition')"
|
|
11853
11900
|
icon="set-column-position"
|
|
11901
|
+
[svgIcon]="setColumnPositionIcon"
|
|
11854
11902
|
[expanded]="expanded"
|
|
11855
11903
|
(keydown.tab)="onTab($event, !expanded)"
|
|
11856
11904
|
(collapse)="onCollapse()"
|
|
@@ -11868,7 +11916,7 @@ ColumnMenuPositionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
11868
11916
|
</kendo-grid-columnmenu-stick>
|
|
11869
11917
|
</ng-template>
|
|
11870
11918
|
</kendo-grid-columnmenu-item>
|
|
11871
|
-
`, 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"] }] });
|
|
11919
|
+
`, 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"] }] });
|
|
11872
11920
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuPositionComponent, decorators: [{
|
|
11873
11921
|
type: Component,
|
|
11874
11922
|
args: [{
|
|
@@ -11877,6 +11925,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11877
11925
|
<kendo-grid-columnmenu-item
|
|
11878
11926
|
[text]="localization.get('setColumnPosition')"
|
|
11879
11927
|
icon="set-column-position"
|
|
11928
|
+
[svgIcon]="setColumnPositionIcon"
|
|
11880
11929
|
[expanded]="expanded"
|
|
11881
11930
|
(keydown.tab)="onTab($event, !expanded)"
|
|
11882
11931
|
(collapse)="onCollapse()"
|
|
@@ -12171,6 +12220,7 @@ class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
|
12171
12220
|
* @hidden
|
|
12172
12221
|
*/
|
|
12173
12222
|
this.actionsClass = 'k-columnmenu-actions';
|
|
12223
|
+
this.columnsIcon = columnsIcon;
|
|
12174
12224
|
}
|
|
12175
12225
|
get columns() {
|
|
12176
12226
|
return this.columnInfoService.leafNamedColumns;
|
|
@@ -12208,6 +12258,7 @@ ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
12208
12258
|
<kendo-grid-columnmenu-item
|
|
12209
12259
|
[text]="localization.get('columns')"
|
|
12210
12260
|
icon="columns"
|
|
12261
|
+
[svgIcon]="columnsIcon"
|
|
12211
12262
|
[expanded]="expanded"
|
|
12212
12263
|
(collapse)="onCollapse()"
|
|
12213
12264
|
(expand)="onExpand()">
|
|
@@ -12226,7 +12277,7 @@ ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
12226
12277
|
</kendo-grid-columnlist>
|
|
12227
12278
|
</ng-template>
|
|
12228
12279
|
</kendo-grid-columnmenu-item>
|
|
12229
|
-
`, 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]" }] });
|
|
12280
|
+
`, 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]" }] });
|
|
12230
12281
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuChooserComponent, decorators: [{
|
|
12231
12282
|
type: Component,
|
|
12232
12283
|
args: [{
|
|
@@ -12235,6 +12286,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12235
12286
|
<kendo-grid-columnmenu-item
|
|
12236
12287
|
[text]="localization.get('columns')"
|
|
12237
12288
|
icon="columns"
|
|
12289
|
+
[svgIcon]="columnsIcon"
|
|
12238
12290
|
[expanded]="expanded"
|
|
12239
12291
|
(collapse)="onCollapse()"
|
|
12240
12292
|
(expand)="onExpand()">
|
|
@@ -12320,6 +12372,7 @@ class ColumnMenuFilterComponent extends ColumnMenuItemBase {
|
|
|
12320
12372
|
* @hidden
|
|
12321
12373
|
*/
|
|
12322
12374
|
this.actionsClass = 'k-columnmenu-actions';
|
|
12375
|
+
this.filterIcon = filterIcon;
|
|
12323
12376
|
}
|
|
12324
12377
|
/**
|
|
12325
12378
|
* @hidden
|
|
@@ -12344,6 +12397,7 @@ ColumnMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
12344
12397
|
<kendo-grid-columnmenu-item
|
|
12345
12398
|
[text]="localization.get('filter')"
|
|
12346
12399
|
icon="filter"
|
|
12400
|
+
[svgIcon]="filterIcon"
|
|
12347
12401
|
[expanded]="expanded"
|
|
12348
12402
|
(collapse)="onCollapse()"
|
|
12349
12403
|
(expand)="onExpand()">
|
|
@@ -12360,7 +12414,7 @@ ColumnMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
12360
12414
|
</kendo-grid-filter-menu-container>
|
|
12361
12415
|
</ng-template>
|
|
12362
12416
|
</kendo-grid-columnmenu-item>
|
|
12363
|
-
`, 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]" }] });
|
|
12417
|
+
`, 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]" }] });
|
|
12364
12418
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuFilterComponent, decorators: [{
|
|
12365
12419
|
type: Component,
|
|
12366
12420
|
args: [{
|
|
@@ -12369,6 +12423,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12369
12423
|
<kendo-grid-columnmenu-item
|
|
12370
12424
|
[text]="localization.get('filter')"
|
|
12371
12425
|
icon="filter"
|
|
12426
|
+
[svgIcon]="filterIcon"
|
|
12372
12427
|
[expanded]="expanded"
|
|
12373
12428
|
(collapse)="onCollapse()"
|
|
12374
12429
|
(expand)="onExpand()">
|
|
@@ -12562,6 +12617,8 @@ class ColumnMenuSortComponent extends ColumnMenuItemBase {
|
|
|
12562
12617
|
this.localization = localization;
|
|
12563
12618
|
this.sortService = sortService;
|
|
12564
12619
|
this.renderer = renderer;
|
|
12620
|
+
this.sortAscSmallIcon = sortAscSmallIcon;
|
|
12621
|
+
this.sortDescSmallIcon = sortDescSmallIcon;
|
|
12565
12622
|
}
|
|
12566
12623
|
get sortedAsc() {
|
|
12567
12624
|
const descriptor = this.descriptor;
|
|
@@ -12599,16 +12656,18 @@ ColumnMenuSortComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
12599
12656
|
<kendo-grid-columnmenu-item
|
|
12600
12657
|
[text]="localization.get('sortAscending')"
|
|
12601
12658
|
icon="sort-asc-small"
|
|
12659
|
+
[svgIcon]="sortAscSmallIcon"
|
|
12602
12660
|
(itemClick)="toggleSort('asc')"
|
|
12603
12661
|
[selected]="sortedAsc">
|
|
12604
12662
|
</kendo-grid-columnmenu-item>
|
|
12605
12663
|
<kendo-grid-columnmenu-item
|
|
12606
12664
|
[text]="localization.get('sortDescending')"
|
|
12607
12665
|
icon="sort-desc-small"
|
|
12666
|
+
[svgIcon]="sortDescSmallIcon"
|
|
12608
12667
|
(itemClick)="toggleSort('desc')"
|
|
12609
12668
|
[selected]="sortedDesc">
|
|
12610
12669
|
</kendo-grid-columnmenu-item>
|
|
12611
|
-
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
12670
|
+
`, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
12612
12671
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuSortComponent, decorators: [{
|
|
12613
12672
|
type: Component,
|
|
12614
12673
|
args: [{
|
|
@@ -12617,12 +12676,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12617
12676
|
<kendo-grid-columnmenu-item
|
|
12618
12677
|
[text]="localization.get('sortAscending')"
|
|
12619
12678
|
icon="sort-asc-small"
|
|
12679
|
+
[svgIcon]="sortAscSmallIcon"
|
|
12620
12680
|
(itemClick)="toggleSort('asc')"
|
|
12621
12681
|
[selected]="sortedAsc">
|
|
12622
12682
|
</kendo-grid-columnmenu-item>
|
|
12623
12683
|
<kendo-grid-columnmenu-item
|
|
12624
12684
|
[text]="localization.get('sortDescending')"
|
|
12625
12685
|
icon="sort-desc-small"
|
|
12686
|
+
[svgIcon]="sortDescSmallIcon"
|
|
12626
12687
|
(itemClick)="toggleSort('desc')"
|
|
12627
12688
|
[selected]="sortedDesc">
|
|
12628
12689
|
</kendo-grid-columnmenu-item>
|
|
@@ -12668,6 +12729,7 @@ class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBase {
|
|
|
12668
12729
|
super();
|
|
12669
12730
|
this.localization = localization;
|
|
12670
12731
|
this.ctx = ctx;
|
|
12732
|
+
this.maxWidthIcon = maxWidthIcon;
|
|
12671
12733
|
}
|
|
12672
12734
|
ngOnInit() {
|
|
12673
12735
|
const isVirtualColumns = this.ctx.grid.columnMenuTemplate && this.ctx.grid.virtualColumns;
|
|
@@ -12686,10 +12748,10 @@ ColumnMenuAutoSizeColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
|
|
|
12686
12748
|
class="k-grid-columnmenu-autosize-column"
|
|
12687
12749
|
[text]="localization.get('autosizeThisColumn')"
|
|
12688
12750
|
icon="max-width"
|
|
12751
|
+
[svgIcon]="maxWidthIcon"
|
|
12689
12752
|
(itemClick)="autoSizeColumn()"
|
|
12690
|
-
>
|
|
12691
|
-
|
|
12692
|
-
`, 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"] }] });
|
|
12753
|
+
></kendo-grid-columnmenu-item>
|
|
12754
|
+
`, 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"] }] });
|
|
12693
12755
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuAutoSizeColumnComponent, decorators: [{
|
|
12694
12756
|
type: Component,
|
|
12695
12757
|
args: [{
|
|
@@ -12700,9 +12762,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12700
12762
|
class="k-grid-columnmenu-autosize-column"
|
|
12701
12763
|
[text]="localization.get('autosizeThisColumn')"
|
|
12702
12764
|
icon="max-width"
|
|
12765
|
+
[svgIcon]="maxWidthIcon"
|
|
12703
12766
|
(itemClick)="autoSizeColumn()"
|
|
12704
|
-
>
|
|
12705
|
-
</kendo-grid-columnmenu-item>
|
|
12767
|
+
></kendo-grid-columnmenu-item>
|
|
12706
12768
|
`
|
|
12707
12769
|
}]
|
|
12708
12770
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ContextService }]; }, propDecorators: { column: [{
|
|
@@ -12747,6 +12809,7 @@ class ColumnMenuAutoSizeAllColumnsComponent extends ColumnMenuItemBase {
|
|
|
12747
12809
|
super();
|
|
12748
12810
|
this.localization = localization;
|
|
12749
12811
|
this.ctx = ctx;
|
|
12812
|
+
this.displayInlineBlockIcon = displayInlineBlockIcon;
|
|
12750
12813
|
}
|
|
12751
12814
|
ngOnInit() {
|
|
12752
12815
|
const isVirtualColumns = this.ctx.grid.columnMenuTemplate && this.ctx.grid.virtualColumns;
|
|
@@ -12764,10 +12827,10 @@ ColumnMenuAutoSizeAllColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVer
|
|
|
12764
12827
|
*ngIf="!this.ctx.grid.virtualColumns"
|
|
12765
12828
|
[text]="localization.get('autosizeAllColumns')"
|
|
12766
12829
|
icon="display-inline-block"
|
|
12830
|
+
[svgIcon]="displayInlineBlockIcon"
|
|
12767
12831
|
(itemClick)="autoSizeAllColumns()"
|
|
12768
|
-
>
|
|
12769
|
-
|
|
12770
|
-
`, 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"] }] });
|
|
12832
|
+
></kendo-grid-columnmenu-item>
|
|
12833
|
+
`, 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"] }] });
|
|
12771
12834
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuAutoSizeAllColumnsComponent, decorators: [{
|
|
12772
12835
|
type: Component,
|
|
12773
12836
|
args: [{
|
|
@@ -12777,9 +12840,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12777
12840
|
*ngIf="!this.ctx.grid.virtualColumns"
|
|
12778
12841
|
[text]="localization.get('autosizeAllColumns')"
|
|
12779
12842
|
icon="display-inline-block"
|
|
12843
|
+
[svgIcon]="displayInlineBlockIcon"
|
|
12780
12844
|
(itemClick)="autoSizeAllColumns()"
|
|
12781
|
-
>
|
|
12782
|
-
</kendo-grid-columnmenu-item>
|
|
12845
|
+
></kendo-grid-columnmenu-item>
|
|
12783
12846
|
`
|
|
12784
12847
|
}]
|
|
12785
12848
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ContextService }]; } });
|
|
@@ -12823,6 +12886,7 @@ class ColumnMenuComponent {
|
|
|
12823
12886
|
* @hidden
|
|
12824
12887
|
*/
|
|
12825
12888
|
this.expandedPosition = false;
|
|
12889
|
+
this.moreVerticalIcon = moreVerticalIcon;
|
|
12826
12890
|
this.closeSubscription = service.closeMenu.subscribe(this.close.bind(this));
|
|
12827
12891
|
}
|
|
12828
12892
|
/**
|
|
@@ -12961,7 +13025,9 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
12961
13025
|
href="#"
|
|
12962
13026
|
[tabindex]="tabIndex"
|
|
12963
13027
|
[attr.title]="columnMenuTitle">
|
|
12964
|
-
<
|
|
13028
|
+
<kendo-icon-wrapper
|
|
13029
|
+
name="more-vertical"
|
|
13030
|
+
[svgIcon]="moreVerticalIcon"></kendo-icon-wrapper>
|
|
12965
13031
|
</a>
|
|
12966
13032
|
<ng-template #template>
|
|
12967
13033
|
<ng-container
|
|
@@ -13022,7 +13088,7 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
13022
13088
|
</kendo-grid-columnmenu-filter>
|
|
13023
13089
|
</kendo-grid-columnmenu-container>
|
|
13024
13090
|
</ng-template>
|
|
13025
|
-
`, 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"] }] });
|
|
13091
|
+
`, 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"] }] });
|
|
13026
13092
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuComponent, decorators: [{
|
|
13027
13093
|
type: Component,
|
|
13028
13094
|
args: [{
|
|
@@ -13040,7 +13106,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13040
13106
|
href="#"
|
|
13041
13107
|
[tabindex]="tabIndex"
|
|
13042
13108
|
[attr.title]="columnMenuTitle">
|
|
13043
|
-
<
|
|
13109
|
+
<kendo-icon-wrapper
|
|
13110
|
+
name="more-vertical"
|
|
13111
|
+
[svgIcon]="moreVerticalIcon"></kendo-icon-wrapper>
|
|
13044
13112
|
</a>
|
|
13045
13113
|
<ng-template #template>
|
|
13046
13114
|
<ng-container
|
|
@@ -13138,6 +13206,7 @@ class FilterCellOperatorsComponent {
|
|
|
13138
13206
|
this.localization = localization;
|
|
13139
13207
|
this.sizing = sizing;
|
|
13140
13208
|
this.clearText = 'Clear';
|
|
13209
|
+
this.filterClearIcon = filterClearIcon;
|
|
13141
13210
|
/**
|
|
13142
13211
|
* @hidden
|
|
13143
13212
|
*/
|
|
@@ -13234,6 +13303,7 @@ FilterCellOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
13234
13303
|
kendoGridFocusable
|
|
13235
13304
|
*ngIf="showButton"
|
|
13236
13305
|
icon="filter-clear"
|
|
13306
|
+
[svgIcon]="filterClearIcon"
|
|
13237
13307
|
[title]="clearText"
|
|
13238
13308
|
[size]="size"
|
|
13239
13309
|
(click)="clearClick()"
|
|
@@ -13265,6 +13335,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13265
13335
|
kendoGridFocusable
|
|
13266
13336
|
*ngIf="showButton"
|
|
13267
13337
|
icon="filter-clear"
|
|
13338
|
+
[svgIcon]="filterClearIcon"
|
|
13268
13339
|
[title]="clearText"
|
|
13269
13340
|
[size]="size"
|
|
13270
13341
|
(click)="clearClick()"
|
|
@@ -14663,6 +14734,8 @@ class HeaderComponent {
|
|
|
14663
14734
|
this.sortedFields = {};
|
|
14664
14735
|
this.hostClass = true;
|
|
14665
14736
|
this.dropTargets = new QueryList();
|
|
14737
|
+
this.sortAscSmallIcon = sortAscSmallIcon;
|
|
14738
|
+
this.sortDescSmallIcon = sortDescSmallIcon;
|
|
14666
14739
|
this.subscription = new Subscription();
|
|
14667
14740
|
}
|
|
14668
14741
|
get headerClass() {
|
|
@@ -14731,14 +14804,6 @@ class HeaderComponent {
|
|
|
14731
14804
|
.findIndex(x => x.field === field)
|
|
14732
14805
|
+ 1;
|
|
14733
14806
|
}
|
|
14734
|
-
sortIcon(field) {
|
|
14735
|
-
const state = this.sortDescriptor(field);
|
|
14736
|
-
return {
|
|
14737
|
-
'k-icon': isPresent(state.dir),
|
|
14738
|
-
'k-i-sort-desc-small': state.dir === "desc",
|
|
14739
|
-
'k-i-sort-asc-small': state.dir === "asc"
|
|
14740
|
-
};
|
|
14741
|
-
}
|
|
14742
14807
|
sortState(column) {
|
|
14743
14808
|
if (!this.isSortable(column)) {
|
|
14744
14809
|
return;
|
|
@@ -14896,12 +14961,12 @@ class HeaderComponent {
|
|
|
14896
14961
|
isColumnGroupComponent(column) {
|
|
14897
14962
|
return isColumnGroupComponent(column);
|
|
14898
14963
|
}
|
|
14899
|
-
get columnLevels() {
|
|
14900
|
-
return new Array((this.totalColumnLevels || 0) + 1);
|
|
14901
|
-
}
|
|
14902
14964
|
sortDescriptor(field) {
|
|
14903
14965
|
return this.sort.find(item => item.field === field) || { field };
|
|
14904
14966
|
}
|
|
14967
|
+
get columnLevels() {
|
|
14968
|
+
return new Array((this.totalColumnLevels || 0) + 1);
|
|
14969
|
+
}
|
|
14905
14970
|
get leafColumns() {
|
|
14906
14971
|
return this._leafColumns;
|
|
14907
14972
|
}
|
|
@@ -15091,7 +15156,12 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
15091
15156
|
<span class="k-column-title">{{column.displayTitle}}</span>
|
|
15092
15157
|
</ng-container>
|
|
15093
15158
|
<span class="k-sort-icon">
|
|
15094
|
-
<
|
|
15159
|
+
<kendo-icon-wrapper
|
|
15160
|
+
*ngIf="sortDescriptor(getColumnComponent(column).field).dir"
|
|
15161
|
+
role="note" [attr.aria-label]="sortableLabel"
|
|
15162
|
+
name="sort-{{sortDescriptor(getColumnComponent(column).field).dir}}-small"
|
|
15163
|
+
[svgIcon]="sortDescriptor(getColumnComponent(column).field).dir === 'asc' ? sortAscSmallIcon : sortDescSmallIcon"
|
|
15164
|
+
></kendo-icon-wrapper>
|
|
15095
15165
|
</span>
|
|
15096
15166
|
<span *ngIf="showSortNumbering(getColumnComponent(column))" class="k-sort-order">{{sortOrder(getColumnComponent(column).field)}}</span>
|
|
15097
15167
|
</span>
|
|
@@ -15206,7 +15276,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
15206
15276
|
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
15207
15277
|
></tr>
|
|
15208
15278
|
</ng-container>
|
|
15209
|
-
`, 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"] }] });
|
|
15279
|
+
`, 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"] }] });
|
|
15210
15280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
15211
15281
|
type: Component,
|
|
15212
15282
|
args: [{
|
|
@@ -15315,7 +15385,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15315
15385
|
<span class="k-column-title">{{column.displayTitle}}</span>
|
|
15316
15386
|
</ng-container>
|
|
15317
15387
|
<span class="k-sort-icon">
|
|
15318
|
-
<
|
|
15388
|
+
<kendo-icon-wrapper
|
|
15389
|
+
*ngIf="sortDescriptor(getColumnComponent(column).field).dir"
|
|
15390
|
+
role="note" [attr.aria-label]="sortableLabel"
|
|
15391
|
+
name="sort-{{sortDescriptor(getColumnComponent(column).field).dir}}-small"
|
|
15392
|
+
[svgIcon]="sortDescriptor(getColumnComponent(column).field).dir === 'asc' ? sortAscSmallIcon : sortDescSmallIcon"
|
|
15393
|
+
></kendo-icon-wrapper>
|
|
15319
15394
|
</span>
|
|
15320
15395
|
<span *ngIf="showSortNumbering(getColumnComponent(column))" class="k-sort-order">{{sortOrder(getColumnComponent(column).field)}}</span>
|
|
15321
15396
|
</span>
|
|
@@ -15665,7 +15740,7 @@ const NON_DATA_ROW_CLASSES = 'k-grouping-row k-group-footer k-detail-row k-grid-
|
|
|
15665
15740
|
/**
|
|
15666
15741
|
* @hidden
|
|
15667
15742
|
*/
|
|
15668
|
-
const IGNORE_TARGET_CLASSSES = 'k-icon';
|
|
15743
|
+
const IGNORE_TARGET_CLASSSES = 'k-icon k-svg-icon';
|
|
15669
15744
|
/**
|
|
15670
15745
|
* @hidden
|
|
15671
15746
|
*/
|
|
@@ -16236,6 +16311,8 @@ class GroupHeaderComponent {
|
|
|
16236
16311
|
this.totalColumnsCount = 0;
|
|
16237
16312
|
this.groups = [];
|
|
16238
16313
|
this.isExpanded = false;
|
|
16314
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
16315
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
16239
16316
|
this.groupItemClass = true;
|
|
16240
16317
|
this.tableGroupRowClass = true;
|
|
16241
16318
|
}
|
|
@@ -16310,10 +16387,12 @@ GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
16310
16387
|
<p class="k-reset">
|
|
16311
16388
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
16312
16389
|
<a href="#" tabindex="-1" (click)="toggleGroup(item)"
|
|
16313
|
-
|
|
16314
|
-
[ngClass]="{ 'k-i-caret-alt-down': isExpanded, 'k-i-caret-alt-right': !isExpanded }" role="presentation"
|
|
16390
|
+
role="presentation"
|
|
16315
16391
|
[attr.title]="groupButtonTitle"
|
|
16316
16392
|
[attr.aria-label]="groupButtonTitle">
|
|
16393
|
+
<kendo-icon-wrapper
|
|
16394
|
+
[name]="isExpanded ? 'caret-alt-down' : 'caret-alt-right'"
|
|
16395
|
+
[svgIcon]="isExpanded ? caretAltDownIcon : caretAltRightIcon"></kendo-icon-wrapper>
|
|
16317
16396
|
</a>
|
|
16318
16397
|
<ng-container *ngIf="!groupHeaderTemplate(item)">
|
|
16319
16398
|
{{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}
|
|
@@ -16357,7 +16436,7 @@ GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
16357
16436
|
</ng-template>
|
|
16358
16437
|
</td>
|
|
16359
16438
|
</ng-container>
|
|
16360
|
-
`, 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:
|
|
16439
|
+
`, 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 } });
|
|
16361
16440
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupHeaderComponent, decorators: [{
|
|
16362
16441
|
type: Component,
|
|
16363
16442
|
args: [{
|
|
@@ -16382,10 +16461,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
16382
16461
|
<p class="k-reset">
|
|
16383
16462
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
16384
16463
|
<a href="#" tabindex="-1" (click)="toggleGroup(item)"
|
|
16385
|
-
|
|
16386
|
-
[ngClass]="{ 'k-i-caret-alt-down': isExpanded, 'k-i-caret-alt-right': !isExpanded }" role="presentation"
|
|
16464
|
+
role="presentation"
|
|
16387
16465
|
[attr.title]="groupButtonTitle"
|
|
16388
16466
|
[attr.aria-label]="groupButtonTitle">
|
|
16467
|
+
<kendo-icon-wrapper
|
|
16468
|
+
[name]="isExpanded ? 'caret-alt-down' : 'caret-alt-right'"
|
|
16469
|
+
[svgIcon]="isExpanded ? caretAltDownIcon : caretAltRightIcon"></kendo-icon-wrapper>
|
|
16389
16470
|
</a>
|
|
16390
16471
|
<ng-container *ngIf="!groupHeaderTemplate(item)">
|
|
16391
16472
|
{{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}
|
|
@@ -16499,6 +16580,8 @@ class TableBodyComponent {
|
|
|
16499
16580
|
this.totalColumnsCount = 0;
|
|
16500
16581
|
this.trackBy = defaultTrackBy;
|
|
16501
16582
|
this.hostClass = true;
|
|
16583
|
+
this.minusIcon = minusIcon;
|
|
16584
|
+
this.plusIcon = plusIcon;
|
|
16502
16585
|
this.rowClass = () => null;
|
|
16503
16586
|
this.cellKeydownSubscription = this.navigationService.cellKeydown.subscribe((args) => this.cellKeydownHandler(args));
|
|
16504
16587
|
this.trackByWrapper = this.trackByWrapper.bind(this);
|
|
@@ -16522,9 +16605,13 @@ class TableBodyComponent {
|
|
|
16522
16605
|
isExpanded(viewItem) {
|
|
16523
16606
|
return this.detailsService.isExpanded(viewItem.index, viewItem.data);
|
|
16524
16607
|
}
|
|
16525
|
-
|
|
16608
|
+
detailButtonIconName(viewItem) {
|
|
16526
16609
|
const expanded = this.isExpanded(viewItem);
|
|
16527
|
-
return expanded ? '
|
|
16610
|
+
return expanded ? 'minus' : 'plus';
|
|
16611
|
+
}
|
|
16612
|
+
detailButtonSvgIcon(viewItem) {
|
|
16613
|
+
const expanded = this.isExpanded(viewItem);
|
|
16614
|
+
return expanded ? this.minusIcon : this.plusIcon;
|
|
16528
16615
|
}
|
|
16529
16616
|
detailButtonTitle(viewItem) {
|
|
16530
16617
|
const messageKey = this.isExpanded(viewItem) ? 'detailCollapse' : 'detailExpand';
|
|
@@ -16900,12 +16987,15 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
16900
16987
|
[detailExpandCell]="true"
|
|
16901
16988
|
aria-selected="false"
|
|
16902
16989
|
role="gridcell">
|
|
16903
|
-
<a
|
|
16990
|
+
<a
|
|
16904
16991
|
*ngIf="detailTemplate.showIf(item.data, $any(item).index)"
|
|
16905
|
-
[ngClass]="detailButtonStyles(item)"
|
|
16906
16992
|
[attr.title]="detailButtonTitle(item)"
|
|
16907
16993
|
[attr.aria-label]="detailButtonTitle(item)"
|
|
16908
|
-
href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)"
|
|
16994
|
+
href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)">
|
|
16995
|
+
<kendo-icon-wrapper
|
|
16996
|
+
[name]="detailButtonIconName(item)"
|
|
16997
|
+
[svgIcon]="detailButtonSvgIcon(item)"></kendo-icon-wrapper>
|
|
16998
|
+
</a>
|
|
16909
16999
|
</td>
|
|
16910
17000
|
<td
|
|
16911
17001
|
kendoGridCell
|
|
@@ -17016,7 +17106,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
17016
17106
|
</tr>
|
|
17017
17107
|
</ng-container>
|
|
17018
17108
|
<kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>
|
|
17019
|
-
`, 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"] }] });
|
|
17109
|
+
`, 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"] }] });
|
|
17020
17110
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableBodyComponent, decorators: [{
|
|
17021
17111
|
type: Component,
|
|
17022
17112
|
args: [{
|
|
@@ -17122,12 +17212,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
17122
17212
|
[detailExpandCell]="true"
|
|
17123
17213
|
aria-selected="false"
|
|
17124
17214
|
role="gridcell">
|
|
17125
|
-
<a
|
|
17215
|
+
<a
|
|
17126
17216
|
*ngIf="detailTemplate.showIf(item.data, $any(item).index)"
|
|
17127
|
-
[ngClass]="detailButtonStyles(item)"
|
|
17128
17217
|
[attr.title]="detailButtonTitle(item)"
|
|
17129
17218
|
[attr.aria-label]="detailButtonTitle(item)"
|
|
17130
|
-
href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)"
|
|
17219
|
+
href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)">
|
|
17220
|
+
<kendo-icon-wrapper
|
|
17221
|
+
[name]="detailButtonIconName(item)"
|
|
17222
|
+
[svgIcon]="detailButtonSvgIcon(item)"></kendo-icon-wrapper>
|
|
17223
|
+
</a>
|
|
17131
17224
|
</td>
|
|
17132
17225
|
<td
|
|
17133
17226
|
kendoGridCell
|
|
@@ -23677,7 +23770,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
23677
23770
|
* })
|
|
23678
23771
|
*
|
|
23679
23772
|
* class AppComponent {
|
|
23680
|
-
*
|
|
23773
|
+
* public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
|
|
23681
23774
|
* }
|
|
23682
23775
|
* ```
|
|
23683
23776
|
*/
|
|
@@ -23689,6 +23782,10 @@ class ColumnChooserComponent {
|
|
|
23689
23782
|
this.ngZone = ngZone;
|
|
23690
23783
|
this.renderer = renderer;
|
|
23691
23784
|
this.changeDetector = changeDetector;
|
|
23785
|
+
/**
|
|
23786
|
+
* @hidden
|
|
23787
|
+
*/
|
|
23788
|
+
this.columnsIcon = columnsIcon;
|
|
23692
23789
|
/**
|
|
23693
23790
|
* Specifies if the changes in the visibility of the column will be immediately applied.
|
|
23694
23791
|
*/
|
|
@@ -23711,7 +23808,7 @@ class ColumnChooserComponent {
|
|
|
23711
23808
|
if (!this.popupRef) {
|
|
23712
23809
|
const direction = this.localization.rtl ? 'right' : 'left';
|
|
23713
23810
|
this.popupRef = this.popupService.open({
|
|
23714
|
-
anchor: anchor,
|
|
23811
|
+
anchor: anchor.element,
|
|
23715
23812
|
content: template,
|
|
23716
23813
|
positionMode: 'absolute',
|
|
23717
23814
|
anchorAlign: { vertical: 'bottom', horizontal: direction },
|
|
@@ -23722,7 +23819,7 @@ class ColumnChooserComponent {
|
|
|
23722
23819
|
return;
|
|
23723
23820
|
}
|
|
23724
23821
|
this.ngZone.runOutsideAngular(() => this.closeClick = this.renderer.listen('document', 'click', ({ target }) => {
|
|
23725
|
-
if (!closest(target, node => node === this.popupRef.popupElement || node === anchor)) {
|
|
23822
|
+
if (!closest(target, node => node === this.popupRef.popupElement || node === anchor.element)) {
|
|
23726
23823
|
this.close();
|
|
23727
23824
|
}
|
|
23728
23825
|
}));
|
|
@@ -23765,12 +23862,13 @@ class ColumnChooserComponent {
|
|
|
23765
23862
|
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 });
|
|
23766
23863
|
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: `
|
|
23767
23864
|
<button #anchor
|
|
23865
|
+
kendoButton
|
|
23768
23866
|
type="button"
|
|
23769
23867
|
(click)="toggle(anchor, template)"
|
|
23770
|
-
|
|
23771
|
-
[attr.title]="localization.get('columns')"
|
|
23772
|
-
|
|
23773
|
-
|
|
23868
|
+
fillMode="flat"
|
|
23869
|
+
[attr.title]="localization.get('columns')"
|
|
23870
|
+
icon="columns"
|
|
23871
|
+
[svgIcon]="columnsIcon"></button>
|
|
23774
23872
|
<ng-template #template>
|
|
23775
23873
|
<span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
|
|
23776
23874
|
<kendo-grid-columnlist
|
|
@@ -23783,19 +23881,20 @@ ColumnChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
23783
23881
|
(columnChange)="onChange($event)">
|
|
23784
23882
|
</kendo-grid-columnlist>
|
|
23785
23883
|
</ng-template>
|
|
23786
|
-
`, isInline: true, components: [{ type: ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }] });
|
|
23884
|
+
`, 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"] }] });
|
|
23787
23885
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnChooserComponent, decorators: [{
|
|
23788
23886
|
type: Component,
|
|
23789
23887
|
args: [{
|
|
23790
23888
|
selector: 'kendo-grid-column-chooser',
|
|
23791
23889
|
template: `
|
|
23792
23890
|
<button #anchor
|
|
23891
|
+
kendoButton
|
|
23793
23892
|
type="button"
|
|
23794
23893
|
(click)="toggle(anchor, template)"
|
|
23795
|
-
|
|
23796
|
-
[attr.title]="localization.get('columns')"
|
|
23797
|
-
|
|
23798
|
-
|
|
23894
|
+
fillMode="flat"
|
|
23895
|
+
[attr.title]="localization.get('columns')"
|
|
23896
|
+
icon="columns"
|
|
23897
|
+
[svgIcon]="columnsIcon"></button>
|
|
23799
23898
|
<ng-template #template>
|
|
23800
23899
|
<span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
|
|
23801
23900
|
<kendo-grid-columnlist
|
|
@@ -23874,7 +23973,7 @@ ColumnMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
23874
23973
|
ColumnMenuStickComponent,
|
|
23875
23974
|
ColumnMenuPositionComponent,
|
|
23876
23975
|
ColumnMenuAutoSizeColumnComponent,
|
|
23877
|
-
ColumnMenuAutoSizeAllColumnsComponent], imports: [CommonModule, FilterMenuModule], exports: [ColumnListComponent,
|
|
23976
|
+
ColumnMenuAutoSizeAllColumnsComponent], imports: [CommonModule, FilterMenuModule, ButtonModule], exports: [ColumnListComponent,
|
|
23878
23977
|
ColumnChooserComponent,
|
|
23879
23978
|
ColumnMenuChooserComponent,
|
|
23880
23979
|
ColumnMenuFilterComponent,
|
|
@@ -23890,12 +23989,12 @@ ColumnMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
23890
23989
|
ColumnMenuPositionComponent,
|
|
23891
23990
|
ColumnMenuAutoSizeColumnComponent,
|
|
23892
23991
|
ColumnMenuAutoSizeAllColumnsComponent] });
|
|
23893
|
-
ColumnMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuModule, imports: [[CommonModule, FilterMenuModule]] });
|
|
23992
|
+
ColumnMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuModule, imports: [[CommonModule, FilterMenuModule, ButtonModule]] });
|
|
23894
23993
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuModule, decorators: [{
|
|
23895
23994
|
type: NgModule,
|
|
23896
23995
|
args: [{
|
|
23897
23996
|
declarations: [COMPONENTS],
|
|
23898
|
-
imports: [CommonModule, FilterMenuModule],
|
|
23997
|
+
imports: [CommonModule, FilterMenuModule, ButtonModule],
|
|
23899
23998
|
exports: [COMPONENTS]
|
|
23900
23999
|
}]
|
|
23901
24000
|
}] });
|
|
@@ -26261,9 +26360,10 @@ class ExcelCommandDirective extends Button {
|
|
|
26261
26360
|
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 });
|
|
26262
26361
|
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: `
|
|
26263
26362
|
<kendo-icon-wrapper
|
|
26264
|
-
*ngIf="icon"
|
|
26363
|
+
*ngIf="icon || svgIcon"
|
|
26265
26364
|
innerCssClass="k-button-icon"
|
|
26266
|
-
[name]="icon"
|
|
26365
|
+
[name]="icon"
|
|
26366
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
26267
26367
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
26268
26368
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
26269
26369
|
</span>
|
|
@@ -26276,9 +26376,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
26276
26376
|
selector: '[kendoGridExcelCommand]',
|
|
26277
26377
|
template: `
|
|
26278
26378
|
<kendo-icon-wrapper
|
|
26279
|
-
*ngIf="icon"
|
|
26379
|
+
*ngIf="icon || svgIcon"
|
|
26280
26380
|
innerCssClass="k-button-icon"
|
|
26281
|
-
[name]="icon"
|
|
26381
|
+
[name]="icon"
|
|
26382
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
26282
26383
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
26283
26384
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
26284
26385
|
</span>
|