@progress/kendo-angular-grid 17.0.0-develop.37 → 17.0.0-develop.39
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-item-checked.directive.d.ts +5 -4
- package/column-menu/column-list.component.d.ts +1 -1
- package/esm2022/column-menu/column-chooser-item-checked.directive.mjs +12 -9
- package/esm2022/column-menu/column-list.component.mjs +59 -66
- package/esm2022/filtering/boolean-filter.component.mjs +3 -12
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +4 -2
- package/esm2022/filtering/filter-row.component.mjs +4 -8
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +8 -10
- package/esm2022/filtering/menu/filter-menu.module.mjs +1 -1
- package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +11 -11
- package/esm2022/grid.module.mjs +1 -1
- package/esm2022/grouping/group-header.component.mjs +2 -2
- package/esm2022/navigation/default-focusable-element.mjs +2 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/rendering/cell.component.mjs +39 -59
- package/esm2022/rendering/footer/footer.component.mjs +2 -2
- package/esm2022/rendering/header/header.component.mjs +17 -20
- package/esm2022/rendering/header/header.module.mjs +1 -1
- package/esm2022/rendering/list.component.mjs +4 -4
- package/esm2022/rendering/table-body.component.mjs +10 -12
- package/esm2022/selection/selectall-checkbox.directive.mjs +19 -21
- package/esm2022/selection/selection-checkbox.directive.mjs +14 -10
- package/fesm2022/progress-kendo-angular-grid.mjs +202 -248
- package/filtering/boolean-filter.component.d.ts +0 -4
- package/filtering/menu/boolean-filter-menu.component.d.ts +2 -1
- package/package.json +18 -18
- package/schematics/ngAdd/index.js +4 -4
- package/selection/selectall-checkbox.directive.d.ts +5 -6
- package/selection/selection-checkbox.directive.d.ts +4 -3
|
@@ -28,7 +28,8 @@ import * as i1$4 from '@progress/kendo-angular-dropdowns';
|
|
|
28
28
|
import { DropDownListComponent, AutoCompleteComponent } from '@progress/kendo-angular-dropdowns';
|
|
29
29
|
import * as i4 from '@angular/forms';
|
|
30
30
|
import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule, FormControl, FormGroup } from '@angular/forms';
|
|
31
|
-
import
|
|
31
|
+
import * as i3 from '@progress/kendo-angular-inputs';
|
|
32
|
+
import { TextBoxComponent, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, RadioButtonComponent, CheckBoxComponent } from '@progress/kendo-angular-inputs';
|
|
32
33
|
import { DatePickerComponent, DatePickerCustomMessagesComponent, CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, NavigationService as NavigationService$1 } from '@progress/kendo-angular-dateinputs';
|
|
33
34
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
34
35
|
import { TabStripComponent, TabStripTabComponent, TabTitleDirective, TabContentDirective } from '@progress/kendo-angular-layout';
|
|
@@ -655,9 +656,10 @@ function rtlScrollPosition(position, element, initial) {
|
|
|
655
656
|
|
|
656
657
|
const isButton = matchesNodeName('button');
|
|
657
658
|
const isInputTag = matchesNodeName('input');
|
|
659
|
+
const isKendoInputTag = matchesNodeName('kendo-checkbox') || matchesNodeName('kendo-textbox');
|
|
658
660
|
const navigableRegex = /(button|checkbox|color|file|radio|reset|submit)/i;
|
|
659
661
|
const isNavigableInput = element => isInputTag(element) && navigableRegex.test(element.type);
|
|
660
|
-
const isNavigable = element => !element.disabled && (isButton(element) || isNavigableInput(element));
|
|
662
|
+
const isNavigable = element => !element.disabled && (isButton(element) || isNavigableInput(element) || isKendoInputTag(element));
|
|
661
663
|
/**
|
|
662
664
|
* @hidden
|
|
663
665
|
*/
|
|
@@ -5183,7 +5185,7 @@ class GroupHeaderComponent {
|
|
|
5183
5185
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupHeaderComponent, deps: [{ token: GroupsService }, { token: GroupInfoService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5184
5186
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GroupHeaderComponent, isStandalone: true, selector: "[kendoGridGroupHeader]", inputs: { rowIndex: "rowIndex", logicalRowIndex: "logicalRowIndex", item: "item", skipGroupDecoration: "skipGroupDecoration", hasDetails: "hasDetails", totalColumnsCount: "totalColumnsCount", hasGroupHeaderColumn: "hasGroupHeaderColumn", groupHeaderColumns: "groupHeaderColumns", columns: "columns", groups: "groups" }, host: { properties: { "class.k-grouping-row": "this.groupItemClass", "class.k-table-group-row": "this.tableGroupRowClass" } }, ngImport: i0, template: `
|
|
5185
5187
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
5186
|
-
<td class="k-group-cell k-table-td"
|
|
5188
|
+
<td class="k-group-cell k-table-td k-table-group-td"
|
|
5187
5189
|
role="presentation"
|
|
5188
5190
|
*ngFor="let g of prefixGroupCell(item)"></td>
|
|
5189
5191
|
</ng-container>
|
|
@@ -5258,7 +5260,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5258
5260
|
selector: '[kendoGridGroupHeader]',
|
|
5259
5261
|
template: `
|
|
5260
5262
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
5261
|
-
<td class="k-group-cell k-table-td"
|
|
5263
|
+
<td class="k-group-cell k-table-td k-table-group-td"
|
|
5262
5264
|
role="presentation"
|
|
5263
5265
|
*ngFor="let g of prefixGroupCell(item)"></td>
|
|
5264
5266
|
</ng-container>
|
|
@@ -7716,15 +7718,15 @@ class StringFilterMenuInputComponent {
|
|
|
7716
7718
|
[isFirstDropDown]="isFirstDropDown"
|
|
7717
7719
|
[menuTabbingService]="menuTabbingService"
|
|
7718
7720
|
>
|
|
7719
|
-
<
|
|
7720
|
-
kendoTextBox
|
|
7721
|
+
<kendo-textbox
|
|
7721
7722
|
kendoFilterInput
|
|
7722
7723
|
[columnLabel]="columnLabel"
|
|
7723
7724
|
[filterDelay]="0"
|
|
7724
|
-
[
|
|
7725
|
-
[ngModel]="currentFilter?.value"
|
|
7725
|
+
[placeholder]="placeholder"
|
|
7726
|
+
[ngModel]="currentFilter?.value ?? null">
|
|
7727
|
+
</kendo-textbox>
|
|
7726
7728
|
</kendo-grid-filter-menu-input-wrapper>
|
|
7727
|
-
`, isInline: true, dependencies: [{ kind: "component", type: FilterMenuInputWrapperComponent, selector: "kendo-grid-filter-menu-input-wrapper", inputs: ["filterService", "isFirstDropDown", "menuTabbingService", "currentFilter"] }, { kind: "
|
|
7729
|
+
`, isInline: true, dependencies: [{ kind: "component", type: FilterMenuInputWrapperComponent, selector: "kendo-grid-filter-menu-input-wrapper", inputs: ["filterService", "isFirstDropDown", "menuTabbingService", "currentFilter"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "value"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
7728
7730
|
}
|
|
7729
7731
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StringFilterMenuInputComponent, decorators: [{
|
|
7730
7732
|
type: Component,
|
|
@@ -7741,17 +7743,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7741
7743
|
[isFirstDropDown]="isFirstDropDown"
|
|
7742
7744
|
[menuTabbingService]="menuTabbingService"
|
|
7743
7745
|
>
|
|
7744
|
-
<
|
|
7745
|
-
kendoTextBox
|
|
7746
|
+
<kendo-textbox
|
|
7746
7747
|
kendoFilterInput
|
|
7747
7748
|
[columnLabel]="columnLabel"
|
|
7748
7749
|
[filterDelay]="0"
|
|
7749
|
-
[
|
|
7750
|
-
[ngModel]="currentFilter?.value"
|
|
7750
|
+
[placeholder]="placeholder"
|
|
7751
|
+
[ngModel]="currentFilter?.value ?? null">
|
|
7752
|
+
</kendo-textbox>
|
|
7751
7753
|
</kendo-grid-filter-menu-input-wrapper>
|
|
7752
7754
|
`,
|
|
7753
7755
|
standalone: true,
|
|
7754
|
-
imports: [FilterMenuInputWrapperComponent,
|
|
7756
|
+
imports: [FilterMenuInputWrapperComponent, TextBoxComponent, FilterInputDirective, FormsModule]
|
|
7755
7757
|
}]
|
|
7756
7758
|
}], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { operators: [{
|
|
7757
7759
|
type: Input
|
|
@@ -8968,12 +8970,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
8968
8970
|
*/
|
|
8969
8971
|
class BooleanFilterComponent extends BaseFilterCellComponent {
|
|
8970
8972
|
ctx;
|
|
8971
|
-
/**
|
|
8972
|
-
* @hidden
|
|
8973
|
-
*/
|
|
8974
|
-
get hostClasses() {
|
|
8975
|
-
return true;
|
|
8976
|
-
}
|
|
8977
8973
|
/**
|
|
8978
8974
|
* The column with which the filter is associated.
|
|
8979
8975
|
* @type {ColumnComponent}
|
|
@@ -9028,7 +9024,7 @@ class BooleanFilterComponent extends BaseFilterCellComponent {
|
|
|
9028
9024
|
this.defaultItem = { text: this.ctx.localization.get("filterBooleanAll"), value: null };
|
|
9029
9025
|
}
|
|
9030
9026
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanFilterComponent, deps: [{ token: FilterService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
9031
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BooleanFilterComponent, selector: "kendo-grid-boolean-filter-base", inputs: { column: "column" },
|
|
9027
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BooleanFilterComponent, selector: "kendo-grid-boolean-filter-base", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
9032
9028
|
}
|
|
9033
9029
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanFilterComponent, decorators: [{
|
|
9034
9030
|
type: Component,
|
|
@@ -9036,10 +9032,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9036
9032
|
selector: 'kendo-grid-boolean-filter-base',
|
|
9037
9033
|
template: ``
|
|
9038
9034
|
}]
|
|
9039
|
-
}], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }]; }, propDecorators: {
|
|
9040
|
-
type: HostBinding,
|
|
9041
|
-
args: ['class.k-filtercell-boolean']
|
|
9042
|
-
}], column: [{
|
|
9035
|
+
}], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }]; }, propDecorators: { column: [{
|
|
9043
9036
|
type: Input
|
|
9044
9037
|
}] } });
|
|
9045
9038
|
|
|
@@ -9138,7 +9131,7 @@ class BooleanFilterMenuComponent extends BooleanFilterComponent {
|
|
|
9138
9131
|
operator: "eq",
|
|
9139
9132
|
value: value
|
|
9140
9133
|
}));
|
|
9141
|
-
this.filterService.menuTabbingService.firstFocusable = input;
|
|
9134
|
+
this.filterService.menuTabbingService.firstFocusable = input.hostElement.nativeElement;
|
|
9142
9135
|
}
|
|
9143
9136
|
/**
|
|
9144
9137
|
* @hidden
|
|
@@ -9167,21 +9160,20 @@ class BooleanFilterMenuComponent extends BooleanFilterComponent {
|
|
|
9167
9160
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BooleanFilterMenuComponent, isStandalone: true, selector: "kendo-grid-boolean-filter-menu", inputs: { filter: "filter", filterService: "filterService", menuTabbingService: "menuTabbingService" }, host: { properties: { "class.k-filtercell": "this.hostClasses" } }, viewQueries: [{ propertyName: "radioButtons", predicate: BooleanFilterRadioButtonDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
9168
9161
|
<ul class="k-radio-list k-reset">
|
|
9169
9162
|
<li *ngFor="let item of items">
|
|
9170
|
-
<
|
|
9163
|
+
<kendo-radiobutton
|
|
9171
9164
|
kendoFilterMenuRadioButton
|
|
9172
9165
|
[columnLabel]="columnLabel"
|
|
9173
9166
|
#input
|
|
9174
9167
|
[name]="idPrefix"
|
|
9175
|
-
kendoRadioButton
|
|
9176
9168
|
[checked]="isSelected(item.value)"
|
|
9177
9169
|
[attr.id]="radioId(item.value)"
|
|
9178
9170
|
(change)="onChange(item.value, input)"
|
|
9179
9171
|
(keydown.shift.tab)="onShiftTab($event)"
|
|
9180
|
-
|
|
9172
|
+
></kendo-radiobutton>
|
|
9181
9173
|
<label class="k-radio-label" [attr.for]="radioId(item.value)">{{item.text}}</label>
|
|
9182
9174
|
</li>
|
|
9183
9175
|
</ul>
|
|
9184
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "
|
|
9176
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: RadioButtonComponent, selector: "kendo-radiobutton", inputs: ["checked"], outputs: ["checkedChange"], exportAs: ["kendoRadioButton"] }, { kind: "directive", type: BooleanFilterRadioButtonDirective, selector: "[kendoFilterMenuRadioButton]", inputs: ["columnLabel"] }] });
|
|
9185
9177
|
}
|
|
9186
9178
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanFilterMenuComponent, decorators: [{
|
|
9187
9179
|
type: Component,
|
|
@@ -9190,23 +9182,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9190
9182
|
template: `
|
|
9191
9183
|
<ul class="k-radio-list k-reset">
|
|
9192
9184
|
<li *ngFor="let item of items">
|
|
9193
|
-
<
|
|
9185
|
+
<kendo-radiobutton
|
|
9194
9186
|
kendoFilterMenuRadioButton
|
|
9195
9187
|
[columnLabel]="columnLabel"
|
|
9196
9188
|
#input
|
|
9197
9189
|
[name]="idPrefix"
|
|
9198
|
-
kendoRadioButton
|
|
9199
9190
|
[checked]="isSelected(item.value)"
|
|
9200
9191
|
[attr.id]="radioId(item.value)"
|
|
9201
9192
|
(change)="onChange(item.value, input)"
|
|
9202
9193
|
(keydown.shift.tab)="onShiftTab($event)"
|
|
9203
|
-
|
|
9194
|
+
></kendo-radiobutton>
|
|
9204
9195
|
<label class="k-radio-label" [attr.for]="radioId(item.value)">{{item.text}}</label>
|
|
9205
9196
|
</li>
|
|
9206
9197
|
</ul>
|
|
9207
9198
|
`,
|
|
9208
9199
|
standalone: true,
|
|
9209
|
-
imports: [NgFor,
|
|
9200
|
+
imports: [NgFor, RadioButtonComponent, BooleanFilterRadioButtonDirective]
|
|
9210
9201
|
}]
|
|
9211
9202
|
}], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClasses: [{
|
|
9212
9203
|
type: HostBinding,
|
|
@@ -10199,7 +10190,8 @@ class StringFilterCellComponent extends StringFilterComponent {
|
|
|
10199
10190
|
[columnLabel]="columnLabel"
|
|
10200
10191
|
[filterDelay]="filterDelay"
|
|
10201
10192
|
[placeholder]="placeholder"
|
|
10202
|
-
[ngModel]="currentFilter?.value"
|
|
10193
|
+
[ngModel]="currentFilter?.value ?? null"
|
|
10194
|
+
></kendo-textbox>
|
|
10203
10195
|
</kendo-grid-filter-wrapper-cell>
|
|
10204
10196
|
`, isInline: true, dependencies: [{ kind: "component", type: FilterCellWrapperComponent, selector: "kendo-grid-filter-wrapper-cell", inputs: ["showOperators"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "value"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
10205
10197
|
}
|
|
@@ -10222,7 +10214,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10222
10214
|
[columnLabel]="columnLabel"
|
|
10223
10215
|
[filterDelay]="filterDelay"
|
|
10224
10216
|
[placeholder]="placeholder"
|
|
10225
|
-
[ngModel]="currentFilter?.value"
|
|
10217
|
+
[ngModel]="currentFilter?.value ?? null"
|
|
10218
|
+
></kendo-textbox>
|
|
10226
10219
|
</kendo-grid-filter-wrapper-cell>
|
|
10227
10220
|
`,
|
|
10228
10221
|
standalone: true,
|
|
@@ -10525,14 +10518,12 @@ class FilterRowComponent {
|
|
|
10525
10518
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterRowComponent, deps: [{ token: ContextService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10526
10519
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterRowComponent, isStandalone: true, selector: "[kendoGridFilterRow]", inputs: { columns: "columns", filter: "filter", groups: "groups", detailTemplate: "detailTemplate", logicalRowIndex: "logicalRowIndex", lockedColumnsCount: "lockedColumnsCount" }, host: { properties: { "class.k-filter-row": "this.filterRowClass" } }, ngImport: i0, template: `
|
|
10527
10520
|
<td
|
|
10528
|
-
class="k-table-td"
|
|
10529
|
-
[class.k-group-cell]="true"
|
|
10521
|
+
class="k-table-td k-group-cell k-table-group-td"
|
|
10530
10522
|
*ngFor="let g of groups"
|
|
10531
10523
|
role="presentation">
|
|
10532
10524
|
</td>
|
|
10533
10525
|
<td
|
|
10534
|
-
class="k-table-td"
|
|
10535
|
-
[class.k-hierarchy-cell]="true"
|
|
10526
|
+
class="k-table-td k-hierarchy-cell"
|
|
10536
10527
|
*ngIf="detailTemplate?.templateRef"
|
|
10537
10528
|
role="presentation">
|
|
10538
10529
|
</td>
|
|
@@ -10557,14 +10548,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10557
10548
|
selector: '[kendoGridFilterRow]',
|
|
10558
10549
|
template: `
|
|
10559
10550
|
<td
|
|
10560
|
-
class="k-table-td"
|
|
10561
|
-
[class.k-group-cell]="true"
|
|
10551
|
+
class="k-table-td k-group-cell k-table-group-td"
|
|
10562
10552
|
*ngFor="let g of groups"
|
|
10563
10553
|
role="presentation">
|
|
10564
10554
|
</td>
|
|
10565
10555
|
<td
|
|
10566
|
-
class="k-table-td"
|
|
10567
|
-
[class.k-hierarchy-cell]="true"
|
|
10556
|
+
class="k-table-td k-hierarchy-cell"
|
|
10568
10557
|
*ngIf="detailTemplate?.templateRef"
|
|
10569
10558
|
role="presentation">
|
|
10570
10559
|
</td>
|
|
@@ -10607,23 +10596,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10607
10596
|
*/
|
|
10608
10597
|
class ColumnMenuChooserItemCheckedDirective {
|
|
10609
10598
|
host;
|
|
10610
|
-
renderer;
|
|
10611
10599
|
kendoColumnMenuChooserItemChecked;
|
|
10600
|
+
checkbox;
|
|
10612
10601
|
checkedChangeSub = new Subscription();
|
|
10613
|
-
constructor(host
|
|
10602
|
+
constructor(host) {
|
|
10614
10603
|
this.host = host;
|
|
10615
|
-
this.renderer = renderer;
|
|
10616
10604
|
}
|
|
10617
10605
|
ngAfterViewInit() {
|
|
10618
|
-
this.checkedChangeSub.add(this.
|
|
10619
|
-
this.kendoColumnMenuChooserItemChecked =
|
|
10606
|
+
this.checkedChangeSub.add(this.checkbox.checkedStateChange.subscribe(() => {
|
|
10607
|
+
this.kendoColumnMenuChooserItemChecked = this.checkbox.checkedState === true;
|
|
10620
10608
|
}));
|
|
10621
10609
|
}
|
|
10622
10610
|
ngOnDestroy() {
|
|
10623
10611
|
this.checkedChangeSub.unsubscribe();
|
|
10624
10612
|
}
|
|
10625
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnMenuChooserItemCheckedDirective, deps: [{ token: i0.ElementRef }
|
|
10626
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ColumnMenuChooserItemCheckedDirective, isStandalone: true, selector: "[kendoColumnMenuChooserItemChecked]", inputs: { kendoColumnMenuChooserItemChecked: "kendoColumnMenuChooserItemChecked" }, host: { properties: { "attr.aria-checked": "this.kendoColumnMenuChooserItemChecked" } }, ngImport: i0 });
|
|
10613
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnMenuChooserItemCheckedDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10614
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ColumnMenuChooserItemCheckedDirective, isStandalone: true, selector: "[kendoColumnMenuChooserItemChecked]", inputs: { kendoColumnMenuChooserItemChecked: "kendoColumnMenuChooserItemChecked" }, host: { properties: { "attr.aria-checked": "this.kendoColumnMenuChooserItemChecked" } }, queries: [{ propertyName: "checkbox", first: true, predicate: CheckBoxComponent, descendants: true }], ngImport: i0 });
|
|
10627
10615
|
}
|
|
10628
10616
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnMenuChooserItemCheckedDirective, decorators: [{
|
|
10629
10617
|
type: Directive,
|
|
@@ -10631,11 +10619,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10631
10619
|
selector: '[kendoColumnMenuChooserItemChecked]',
|
|
10632
10620
|
standalone: true
|
|
10633
10621
|
}]
|
|
10634
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }
|
|
10622
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { kendoColumnMenuChooserItemChecked: [{
|
|
10635
10623
|
type: HostBinding,
|
|
10636
10624
|
args: ['attr.aria-checked']
|
|
10637
10625
|
}, {
|
|
10638
10626
|
type: Input
|
|
10627
|
+
}], checkbox: [{
|
|
10628
|
+
type: ContentChild,
|
|
10629
|
+
args: [CheckBoxComponent]
|
|
10639
10630
|
}] } });
|
|
10640
10631
|
|
|
10641
10632
|
/**
|
|
@@ -10775,6 +10766,7 @@ class ColumnListComponent {
|
|
|
10775
10766
|
resetButton;
|
|
10776
10767
|
applyButton;
|
|
10777
10768
|
options;
|
|
10769
|
+
checkboxes;
|
|
10778
10770
|
hasLocked;
|
|
10779
10771
|
hasVisibleLocked;
|
|
10780
10772
|
unlockedCount = 0;
|
|
@@ -10795,36 +10787,35 @@ class ColumnListComponent {
|
|
|
10795
10787
|
}
|
|
10796
10788
|
this.ngZone.runOutsideAngular(() => {
|
|
10797
10789
|
this.domSubscriptions.add(this.renderer.listen(this.element.nativeElement, 'click', (e) => {
|
|
10798
|
-
|
|
10799
|
-
|
|
10800
|
-
|
|
10801
|
-
|
|
10802
|
-
|
|
10803
|
-
|
|
10804
|
-
|
|
10805
|
-
|
|
10806
|
-
|
|
10807
|
-
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
|
|
10790
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
10791
|
+
const closestItem = e.target.closest('.k-column-list-item');
|
|
10792
|
+
if (closestItem) {
|
|
10793
|
+
const checkboxElement = closestItem.querySelector('.k-checkbox-wrap');
|
|
10794
|
+
const checkbox = this.checkboxes.find(checkBox => checkBox.hostElement.nativeElement === checkboxElement);
|
|
10795
|
+
const index = parseInt(checkboxElement.firstElementChild.getAttribute('data-index'), 10);
|
|
10796
|
+
if (this.autoSync) {
|
|
10797
|
+
if (!this.columns[index]) {
|
|
10798
|
+
return;
|
|
10799
|
+
}
|
|
10800
|
+
const column = this.columns[index];
|
|
10801
|
+
const hidden = !checkbox.checkedState;
|
|
10802
|
+
if (Boolean(column.hidden) !== hidden) {
|
|
10803
|
+
this.ngZone.run(() => {
|
|
10804
|
+
column.hidden = hidden;
|
|
10805
|
+
this.columnChange.emit([column]);
|
|
10806
|
+
});
|
|
10807
|
+
}
|
|
10808
|
+
}
|
|
10809
|
+
else {
|
|
10810
|
+
this.updateDisabled();
|
|
10811
|
+
}
|
|
10812
|
+
if (index !== this.listNavigationService.activeIndex) {
|
|
10813
|
+
this.listNavigationService.toggle(this.listNavigationService.activeIndex, false);
|
|
10814
|
+
this.listNavigationService.activeIndex = index;
|
|
10815
|
+
this.listNavigationService.toggle(index, true);
|
|
10817
10816
|
}
|
|
10818
10817
|
}
|
|
10819
|
-
|
|
10820
|
-
this.updateDisabled();
|
|
10821
|
-
}
|
|
10822
|
-
if (index !== this.listNavigationService.activeIndex) {
|
|
10823
|
-
this.listNavigationService.toggle(this.listNavigationService.activeIndex, false);
|
|
10824
|
-
this.listNavigationService.activeIndex = index;
|
|
10825
|
-
this.listNavigationService.toggle(index, true);
|
|
10826
|
-
}
|
|
10827
|
-
}
|
|
10818
|
+
});
|
|
10828
10819
|
}));
|
|
10829
10820
|
this.domSubscriptions.add(this.renderer.listen(this.element.nativeElement, 'keydown', this.onKeydown));
|
|
10830
10821
|
});
|
|
@@ -10832,7 +10823,7 @@ class ColumnListComponent {
|
|
|
10832
10823
|
ngAfterViewInit() {
|
|
10833
10824
|
this.listNavigationService.items = this.options.toArray();
|
|
10834
10825
|
this.listNavigationService.toggle(0, true);
|
|
10835
|
-
this.updateDisabled();
|
|
10826
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => this.updateDisabled());
|
|
10836
10827
|
}
|
|
10837
10828
|
ngOnChanges(changes) {
|
|
10838
10829
|
if (!this.service) {
|
|
@@ -10853,17 +10844,17 @@ class ColumnListComponent {
|
|
|
10853
10844
|
(this.hasVisibleLocked && !this.hasUnlockedFiltered && this.unlockedCount === 1 && !column.locked && !column.hidden);
|
|
10854
10845
|
}
|
|
10855
10846
|
cancelChanges() {
|
|
10856
|
-
this.
|
|
10857
|
-
element.
|
|
10847
|
+
this.checkboxes.forEach((element, index) => {
|
|
10848
|
+
element.checkedState = !this.columns[index].hidden;
|
|
10858
10849
|
});
|
|
10859
10850
|
this.updateDisabled();
|
|
10860
10851
|
this.reset.emit();
|
|
10861
10852
|
}
|
|
10862
10853
|
applyChanges() {
|
|
10863
10854
|
const changed = [];
|
|
10864
|
-
this.
|
|
10855
|
+
this.checkboxes.forEach((item, index) => {
|
|
10865
10856
|
const column = this.columns[index];
|
|
10866
|
-
const hidden = !
|
|
10857
|
+
const hidden = !item.checkedState;
|
|
10867
10858
|
if (Boolean(column.hidden) !== hidden) {
|
|
10868
10859
|
column.hidden = hidden;
|
|
10869
10860
|
changed.push(column);
|
|
@@ -10897,20 +10888,13 @@ class ColumnListComponent {
|
|
|
10897
10888
|
this.listNavigationService.toggleCheckedState();
|
|
10898
10889
|
}
|
|
10899
10890
|
};
|
|
10900
|
-
forEachCheckBox(callback) {
|
|
10901
|
-
const checkboxes = this.element.nativeElement.getElementsByClassName('k-checkbox');
|
|
10902
|
-
const length = checkboxes.length;
|
|
10903
|
-
for (let idx = 0; idx < length; idx++) {
|
|
10904
|
-
callback(checkboxes[idx], idx);
|
|
10905
|
-
}
|
|
10906
|
-
}
|
|
10907
10891
|
updateDisabled() {
|
|
10908
10892
|
if (this.allowHideAll && !this.hasLocked) {
|
|
10909
10893
|
return;
|
|
10910
10894
|
}
|
|
10911
10895
|
const checkedItems = [];
|
|
10912
|
-
this.
|
|
10913
|
-
if (checkbox.
|
|
10896
|
+
this.checkboxes.forEach((checkbox, index) => {
|
|
10897
|
+
if (checkbox.checkedState) {
|
|
10914
10898
|
checkedItems.push({ checkbox, index });
|
|
10915
10899
|
}
|
|
10916
10900
|
this.setDisabledState(checkbox, false);
|
|
@@ -10940,16 +10924,17 @@ class ColumnListComponent {
|
|
|
10940
10924
|
this.hasUnlockedFiltered = false;
|
|
10941
10925
|
}
|
|
10942
10926
|
}
|
|
10943
|
-
setDisabledState(
|
|
10944
|
-
|
|
10945
|
-
const
|
|
10927
|
+
setDisabledState(checkbox, disabled) {
|
|
10928
|
+
this.ngZone.run(() => checkbox.disabled = disabled);
|
|
10929
|
+
const checkboxElement = checkbox.hostElement.nativeElement;
|
|
10930
|
+
const parentElement = checkboxElement.parentElement;
|
|
10946
10931
|
const classCommand = disabled ? 'addClass' : 'removeClass';
|
|
10947
10932
|
const attributeCommand = disabled ? 'setAttribute' : 'removeAttribute';
|
|
10948
|
-
this.renderer[classCommand](
|
|
10949
|
-
this.renderer[attributeCommand](
|
|
10933
|
+
this.renderer[classCommand](parentElement, 'k-disabled');
|
|
10934
|
+
this.renderer[attributeCommand](parentElement, 'aria-disabled', disabled ? 'true' : undefined);
|
|
10950
10935
|
}
|
|
10951
10936
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnListComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: ColumnListKeyboardNavigation }], target: i0.ɵɵFactoryTarget.Component });
|
|
10952
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnListComponent, isStandalone: true, selector: "kendo-grid-columnlist", inputs: { columns: "columns", autoSync: "autoSync", ariaLabel: "ariaLabel", allowHideAll: "allowHideAll", applyText: "applyText", resetText: "resetText", actionsClass: "actionsClass", isLast: "isLast", isExpanded: "isExpanded", service: "service" }, outputs: { reset: "reset", apply: "apply", columnChange: "columnChange" }, host: { properties: { "class.k-column-list-wrapper": "this.className" } }, providers: [ColumnListKeyboardNavigation], viewQueries: [{ propertyName: "resetButton", first: true, predicate: ["resetButton"], descendants: true }, { propertyName: "applyButton", first: true, predicate: ["applyButton"], descendants: true }, { propertyName: "options", predicate: ColumnMenuChooserItemCheckedDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
10937
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnListComponent, isStandalone: true, selector: "kendo-grid-columnlist", inputs: { columns: "columns", autoSync: "autoSync", ariaLabel: "ariaLabel", allowHideAll: "allowHideAll", applyText: "applyText", resetText: "resetText", actionsClass: "actionsClass", isLast: "isLast", isExpanded: "isExpanded", service: "service" }, outputs: { reset: "reset", apply: "apply", columnChange: "columnChange" }, host: { properties: { "class.k-column-list-wrapper": "this.className" } }, providers: [ColumnListKeyboardNavigation], viewQueries: [{ propertyName: "resetButton", first: true, predicate: ["resetButton"], descendants: true }, { propertyName: "applyButton", first: true, predicate: ["applyButton"], descendants: true }, { propertyName: "options", predicate: ColumnMenuChooserItemCheckedDirective, descendants: true }, { propertyName: "checkboxes", predicate: CheckBoxComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
10953
10938
|
<div
|
|
10954
10939
|
class="k-column-list"
|
|
10955
10940
|
role="listbox"
|
|
@@ -10960,14 +10945,11 @@ class ColumnListComponent {
|
|
|
10960
10945
|
class='k-column-list-item'
|
|
10961
10946
|
[kendoColumnMenuChooserItemChecked]="!column.hidden"
|
|
10962
10947
|
role="option">
|
|
10963
|
-
<
|
|
10964
|
-
|
|
10965
|
-
|
|
10966
|
-
[
|
|
10967
|
-
|
|
10968
|
-
tabindex="-1"
|
|
10969
|
-
[attr.aria-hidden]="true"
|
|
10970
|
-
[disabled]="isDisabled(column)" />
|
|
10948
|
+
<kendo-checkbox
|
|
10949
|
+
[inputAttributes]="{'data-index': index.toString()}"
|
|
10950
|
+
[checkedState]="!column.hidden"
|
|
10951
|
+
[disabled]="isDisabled(column)"
|
|
10952
|
+
></kendo-checkbox>
|
|
10971
10953
|
<span class="k-checkbox-label">{{ column.displayTitle }}</span>
|
|
10972
10954
|
</label>
|
|
10973
10955
|
</div>
|
|
@@ -10988,7 +10970,7 @@ class ColumnListComponent {
|
|
|
10988
10970
|
(keydown.enter)="$event.preventDefault(); $event.stopPropagation; cancelChanges();"
|
|
10989
10971
|
(keydown.space)="$event.preventDefault(); $event.stopPropagation; cancelChanges();">{{ resetText }}</button>
|
|
10990
10972
|
</div>
|
|
10991
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ColumnMenuChooserItemCheckedDirective, selector: "[kendoColumnMenuChooserItemChecked]", inputs: ["kendoColumnMenuChooserItemChecked"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
10973
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ColumnMenuChooserItemCheckedDirective, selector: "[kendoColumnMenuChooserItemChecked]", inputs: ["kendoColumnMenuChooserItemChecked"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }] });
|
|
10992
10974
|
}
|
|
10993
10975
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnListComponent, decorators: [{
|
|
10994
10976
|
type: Component,
|
|
@@ -11006,14 +10988,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
11006
10988
|
class='k-column-list-item'
|
|
11007
10989
|
[kendoColumnMenuChooserItemChecked]="!column.hidden"
|
|
11008
10990
|
role="option">
|
|
11009
|
-
<
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
[
|
|
11013
|
-
|
|
11014
|
-
tabindex="-1"
|
|
11015
|
-
[attr.aria-hidden]="true"
|
|
11016
|
-
[disabled]="isDisabled(column)" />
|
|
10991
|
+
<kendo-checkbox
|
|
10992
|
+
[inputAttributes]="{'data-index': index.toString()}"
|
|
10993
|
+
[checkedState]="!column.hidden"
|
|
10994
|
+
[disabled]="isDisabled(column)"
|
|
10995
|
+
></kendo-checkbox>
|
|
11017
10996
|
<span class="k-checkbox-label">{{ column.displayTitle }}</span>
|
|
11018
10997
|
</label>
|
|
11019
10998
|
</div>
|
|
@@ -11036,7 +11015,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
11036
11015
|
</div>
|
|
11037
11016
|
`,
|
|
11038
11017
|
standalone: true,
|
|
11039
|
-
imports: [NgFor, ColumnMenuChooserItemCheckedDirective, NgIf, NgClass]
|
|
11018
|
+
imports: [NgFor, ColumnMenuChooserItemCheckedDirective, NgIf, NgClass, CheckBoxComponent]
|
|
11040
11019
|
}]
|
|
11041
11020
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: ColumnListKeyboardNavigation }]; }, propDecorators: { className: [{
|
|
11042
11021
|
type: HostBinding,
|
|
@@ -11076,6 +11055,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
11076
11055
|
}], options: [{
|
|
11077
11056
|
type: ViewChildren,
|
|
11078
11057
|
args: [ColumnMenuChooserItemCheckedDirective]
|
|
11058
|
+
}], checkboxes: [{
|
|
11059
|
+
type: ViewChildren,
|
|
11060
|
+
args: [CheckBoxComponent]
|
|
11079
11061
|
}] } });
|
|
11080
11062
|
|
|
11081
11063
|
/**
|
|
@@ -15773,9 +15755,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15773
15755
|
class SelectAllCheckboxDirective {
|
|
15774
15756
|
selectionService;
|
|
15775
15757
|
cellSelectionService;
|
|
15776
|
-
el;
|
|
15777
|
-
renderer;
|
|
15778
15758
|
ngZone;
|
|
15759
|
+
checkbox;
|
|
15779
15760
|
/**
|
|
15780
15761
|
* Explicitly overrides the state of the select-all checkbox.
|
|
15781
15762
|
*/
|
|
@@ -15785,7 +15766,6 @@ class SelectAllCheckboxDirective {
|
|
|
15785
15766
|
* ([see example](slug:grid_row_selection#toc-select-all-checkbox)).
|
|
15786
15767
|
*/
|
|
15787
15768
|
selectAllChange = new EventEmitter();
|
|
15788
|
-
type = 'checkbox';
|
|
15789
15769
|
destroyClick;
|
|
15790
15770
|
stateSet = false;
|
|
15791
15771
|
ngAfterContentChecked() {
|
|
@@ -15794,28 +15774,27 @@ class SelectAllCheckboxDirective {
|
|
|
15794
15774
|
ngOnChanges() {
|
|
15795
15775
|
this.stateSet = true;
|
|
15796
15776
|
}
|
|
15797
|
-
constructor(selectionService, cellSelectionService,
|
|
15777
|
+
constructor(selectionService, cellSelectionService, ngZone, checkbox) {
|
|
15798
15778
|
this.selectionService = selectionService;
|
|
15799
15779
|
this.cellSelectionService = cellSelectionService;
|
|
15800
|
-
this.el = el;
|
|
15801
|
-
this.renderer = renderer;
|
|
15802
15780
|
this.ngZone = ngZone;
|
|
15781
|
+
this.checkbox = checkbox;
|
|
15803
15782
|
this.ngZone.runOutsideAngular(() => {
|
|
15804
|
-
this.destroyClick = this.
|
|
15783
|
+
this.destroyClick = this.checkbox.checkedStateChange.subscribe(this.onClick.bind(this));
|
|
15805
15784
|
});
|
|
15806
15785
|
}
|
|
15807
15786
|
ngOnDestroy() {
|
|
15808
15787
|
if (this.destroyClick) {
|
|
15809
|
-
this.destroyClick();
|
|
15788
|
+
this.destroyClick.unsubscribe();
|
|
15810
15789
|
}
|
|
15811
15790
|
}
|
|
15812
15791
|
/**
|
|
15813
15792
|
* @hidden
|
|
15814
15793
|
*/
|
|
15815
15794
|
onClick() {
|
|
15816
|
-
const uncheckedState = this.
|
|
15817
|
-
const checkboxState = this.
|
|
15818
|
-
const isChecked = this.selectionService.hasNonSelectable ? !this.selectionService.selectAllChecked : this.
|
|
15795
|
+
const uncheckedState = this.checkbox.checkedState === 'indeterminate' ? 'indeterminate' : 'unchecked';
|
|
15796
|
+
const checkboxState = this.checkbox.checkedState ? 'checked' : uncheckedState;
|
|
15797
|
+
const isChecked = this.selectionService.hasNonSelectable ? !this.selectionService.selectAllChecked : this.checkbox.checkedState === true;
|
|
15819
15798
|
const options = this.selectionService.options;
|
|
15820
15799
|
const enabledAndMultiple = options.enabled && options.mode === 'multiple' && !this.cellSelectionService.active;
|
|
15821
15800
|
const shouldEmitSelectAll = hasObservers(this.selectAllChange);
|
|
@@ -15835,9 +15814,7 @@ class SelectAllCheckboxDirective {
|
|
|
15835
15814
|
*/
|
|
15836
15815
|
setState() {
|
|
15837
15816
|
const state = this.stateSet ? this.stateToBool() : this.selectionService.selectAllState;
|
|
15838
|
-
|
|
15839
|
-
this.renderer.setProperty(elem, 'indeterminate', !isPresent(state));
|
|
15840
|
-
this.renderer.setProperty(elem, 'checked', isPresent(state) ? state : false);
|
|
15817
|
+
this.checkbox.checkedState = isPresent(state) ? state : 'indeterminate';
|
|
15841
15818
|
}
|
|
15842
15819
|
/**
|
|
15843
15820
|
* @hidden
|
|
@@ -15852,8 +15829,8 @@ class SelectAllCheckboxDirective {
|
|
|
15852
15829
|
return undefined;
|
|
15853
15830
|
}
|
|
15854
15831
|
}
|
|
15855
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, deps: [{ token: SelectionService }, { token: CellSelectionService }, { token: i0.
|
|
15856
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectAllCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectAllCheckbox]", inputs: { state: "state" }, outputs: { selectAllChange: "selectAllChange" },
|
|
15832
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, deps: [{ token: SelectionService }, { token: CellSelectionService }, { token: i0.NgZone }, { token: i3.CheckBoxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15833
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectAllCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectAllCheckbox]", inputs: { state: "state" }, outputs: { selectAllChange: "selectAllChange" }, usesOnChanges: true, ngImport: i0 });
|
|
15857
15834
|
}
|
|
15858
15835
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, decorators: [{
|
|
15859
15836
|
type: Directive,
|
|
@@ -15861,13 +15838,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15861
15838
|
selector: '[kendoGridSelectAllCheckbox]',
|
|
15862
15839
|
standalone: true
|
|
15863
15840
|
}]
|
|
15864
|
-
}], ctorParameters: function () { return [{ type: SelectionService }, { type: CellSelectionService }, { type: i0.
|
|
15841
|
+
}], ctorParameters: function () { return [{ type: SelectionService }, { type: CellSelectionService }, { type: i0.NgZone }, { type: i3.CheckBoxComponent, decorators: [{
|
|
15842
|
+
type: Host
|
|
15843
|
+
}, {
|
|
15844
|
+
type: Optional
|
|
15845
|
+
}] }]; }, propDecorators: { state: [{
|
|
15865
15846
|
type: Input
|
|
15866
15847
|
}], selectAllChange: [{
|
|
15867
15848
|
type: Output
|
|
15868
|
-
}], type: [{
|
|
15869
|
-
type: HostBinding,
|
|
15870
|
-
args: ['attr.type']
|
|
15871
15849
|
}] } });
|
|
15872
15850
|
|
|
15873
15851
|
const mergeObjects = (...args) => Object.assign.apply(null, [{}].concat(args));
|
|
@@ -16414,7 +16392,7 @@ class HeaderComponent {
|
|
|
16414
16392
|
<ng-container *ngIf="!column.headerTemplateRef">
|
|
16415
16393
|
<span class="k-column-title">{{column.displayTitle}}</span>
|
|
16416
16394
|
</ng-container>
|
|
16417
|
-
<span class
|
|
16395
|
+
<span [class.k-sort-icon]="sortDescriptor(getColumnComponent(column).field).dir">
|
|
16418
16396
|
<kendo-icon-wrapper
|
|
16419
16397
|
*ngIf="sortDescriptor(getColumnComponent(column).field).dir"
|
|
16420
16398
|
role="note" [attr.aria-label]="sortableLabel"
|
|
@@ -16444,14 +16422,12 @@ class HeaderComponent {
|
|
|
16444
16422
|
</ng-container>
|
|
16445
16423
|
|
|
16446
16424
|
<ng-container *ngIf="isCheckboxColumn(column) && !column.headerTemplateRef && $any(column).showSelectAll">
|
|
16447
|
-
<
|
|
16448
|
-
|
|
16449
|
-
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16453
|
-
kendoGridFocusable>
|
|
16454
|
-
</span>
|
|
16425
|
+
<kendo-checkbox
|
|
16426
|
+
[attr.id]="selectAllCheckboxId()"
|
|
16427
|
+
[inputAttributes]="{'aria-label': selectAllCheckboxLabel}"
|
|
16428
|
+
kendoGridSelectAllCheckbox
|
|
16429
|
+
kendoGridFocusable
|
|
16430
|
+
></kendo-checkbox>
|
|
16455
16431
|
</ng-container>
|
|
16456
16432
|
<span kendoGridColumnHandle
|
|
16457
16433
|
kendoDraggable
|
|
@@ -16532,7 +16508,7 @@ class HeaderComponent {
|
|
|
16532
16508
|
[totalColumns]="totalColumns"
|
|
16533
16509
|
></tr>
|
|
16534
16510
|
</ng-container>
|
|
16535
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "totalColumns"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { kind: "directive", type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: ["column", "filter", "tabIndex"] }, { kind: "component", type: ColumnMenuComponent, selector: "kendo-grid-column-menu", inputs: ["standalone", "column", "settings", "sort", "filter", "sortable", "columnMenuTemplate", "tabIndex"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: SelectAllCheckboxDirective, selector: "[kendoGridSelectAllCheckbox]", inputs: ["state"], outputs: ["selectAllChange"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: ColumnHandleDirective, selector: "[kendoGridColumnHandle]", inputs: ["columns", "column"] }, { kind: "component", type: FilterRowComponent, selector: "[kendoGridFilterRow]", inputs: ["columns", "filter", "groups", "detailTemplate", "logicalRowIndex", "lockedColumnsCount"] }] });
|
|
16511
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "totalColumns"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { kind: "directive", type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: ["column", "filter", "tabIndex"] }, { kind: "component", type: ColumnMenuComponent, selector: "kendo-grid-column-menu", inputs: ["standalone", "column", "settings", "sort", "filter", "sortable", "columnMenuTemplate", "tabIndex"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: SelectAllCheckboxDirective, selector: "[kendoGridSelectAllCheckbox]", inputs: ["state"], outputs: ["selectAllChange"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: ColumnHandleDirective, selector: "[kendoGridColumnHandle]", inputs: ["columns", "column"] }, { kind: "component", type: FilterRowComponent, selector: "[kendoGridFilterRow]", inputs: ["columns", "filter", "groups", "detailTemplate", "logicalRowIndex", "lockedColumnsCount"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }] });
|
|
16536
16512
|
}
|
|
16537
16513
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
16538
16514
|
type: Component,
|
|
@@ -16641,7 +16617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
16641
16617
|
<ng-container *ngIf="!column.headerTemplateRef">
|
|
16642
16618
|
<span class="k-column-title">{{column.displayTitle}}</span>
|
|
16643
16619
|
</ng-container>
|
|
16644
|
-
<span class
|
|
16620
|
+
<span [class.k-sort-icon]="sortDescriptor(getColumnComponent(column).field).dir">
|
|
16645
16621
|
<kendo-icon-wrapper
|
|
16646
16622
|
*ngIf="sortDescriptor(getColumnComponent(column).field).dir"
|
|
16647
16623
|
role="note" [attr.aria-label]="sortableLabel"
|
|
@@ -16671,14 +16647,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
16671
16647
|
</ng-container>
|
|
16672
16648
|
|
|
16673
16649
|
<ng-container *ngIf="isCheckboxColumn(column) && !column.headerTemplateRef && $any(column).showSelectAll">
|
|
16674
|
-
<
|
|
16675
|
-
|
|
16676
|
-
|
|
16677
|
-
|
|
16678
|
-
|
|
16679
|
-
|
|
16680
|
-
kendoGridFocusable>
|
|
16681
|
-
</span>
|
|
16650
|
+
<kendo-checkbox
|
|
16651
|
+
[attr.id]="selectAllCheckboxId()"
|
|
16652
|
+
[inputAttributes]="{'aria-label': selectAllCheckboxLabel}"
|
|
16653
|
+
kendoGridSelectAllCheckbox
|
|
16654
|
+
kendoGridFocusable
|
|
16655
|
+
></kendo-checkbox>
|
|
16682
16656
|
</ng-container>
|
|
16683
16657
|
<span kendoGridColumnHandle
|
|
16684
16658
|
kendoDraggable
|
|
@@ -16764,7 +16738,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
16764
16738
|
imports: [
|
|
16765
16739
|
NgFor, LogicalRowDirective, NgIf, LogicalCellDirective, DropTargetDirective, DraggableDirective, DraggableColumnDirective,
|
|
16766
16740
|
NgClass, NgStyle, TemplateContextDirective, FilterMenuComponent, ColumnMenuComponent, IconWrapperComponent, SelectAllCheckboxDirective,
|
|
16767
|
-
FocusableDirective, ColumnHandleDirective, FilterRowComponent
|
|
16741
|
+
FocusableDirective, ColumnHandleDirective, FilterRowComponent, CheckBoxComponent
|
|
16768
16742
|
]
|
|
16769
16743
|
}]
|
|
16770
16744
|
}], ctorParameters: function () { return [{ type: SinglePopupService }, { type: DragHintService }, { type: DropCueService }, { type: ColumnReorderService }, { type: IdService }, { type: SortService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }, { type: ContextService }, { type: NavigationService }, { type: i0.NgZone }]; }, propDecorators: { totalColumnLevels: [{
|
|
@@ -16875,7 +16849,7 @@ class FooterComponent {
|
|
|
16875
16849
|
[totalColumns]="totalColumns"
|
|
16876
16850
|
>
|
|
16877
16851
|
<td
|
|
16878
|
-
class="k-table-td k-group-cell"
|
|
16852
|
+
class="k-table-td k-group-cell k-table-group-td"
|
|
16879
16853
|
role="presentation"
|
|
16880
16854
|
*ngFor="let g of groups">
|
|
16881
16855
|
</td>
|
|
@@ -16925,7 +16899,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
16925
16899
|
[totalColumns]="totalColumns"
|
|
16926
16900
|
>
|
|
16927
16901
|
<td
|
|
16928
|
-
class="k-table-td k-group-cell"
|
|
16902
|
+
class="k-table-td k-group-cell k-table-group-td"
|
|
16929
16903
|
role="presentation"
|
|
16930
16904
|
*ngFor="let g of groups">
|
|
16931
16905
|
</td>
|
|
@@ -17154,23 +17128,24 @@ class SelectionCheckboxDirective {
|
|
|
17154
17128
|
el;
|
|
17155
17129
|
renderer;
|
|
17156
17130
|
ngZone;
|
|
17131
|
+
checkbox;
|
|
17157
17132
|
/**
|
|
17158
17133
|
* The current index of the `dataItem` that will be selected.
|
|
17159
17134
|
*/
|
|
17160
17135
|
itemIndex;
|
|
17161
|
-
type = 'checkbox';
|
|
17162
17136
|
destroyClick;
|
|
17163
17137
|
destroyKeyDown;
|
|
17164
17138
|
ngAfterContentChecked() {
|
|
17165
17139
|
this.setCheckedState();
|
|
17166
17140
|
}
|
|
17167
|
-
constructor(selectionService, cellSelectionService, aggregateService, el, renderer, ngZone) {
|
|
17141
|
+
constructor(selectionService, cellSelectionService, aggregateService, el, renderer, ngZone, checkbox) {
|
|
17168
17142
|
this.selectionService = selectionService;
|
|
17169
17143
|
this.cellSelectionService = cellSelectionService;
|
|
17170
17144
|
this.aggregateService = aggregateService;
|
|
17171
17145
|
this.el = el;
|
|
17172
17146
|
this.renderer = renderer;
|
|
17173
17147
|
this.ngZone = ngZone;
|
|
17148
|
+
this.checkbox = checkbox;
|
|
17174
17149
|
this.ngZone.runOutsideAngular(() => {
|
|
17175
17150
|
this.destroyClick = this.renderer.listen(this.el.nativeElement, 'click', this.onClick.bind(this));
|
|
17176
17151
|
this.destroyKeyDown = this.renderer.listen(this.el.nativeElement, 'keydown', this.onKeyDown.bind(this));
|
|
@@ -17220,10 +17195,10 @@ class SelectionCheckboxDirective {
|
|
|
17220
17195
|
*/
|
|
17221
17196
|
setCheckedState() {
|
|
17222
17197
|
const isSelected = this.selectionService.nonSelectableRows.has(this.itemIndex) ? false : this.selectionService.isSelected(this.itemIndex);
|
|
17223
|
-
this.
|
|
17198
|
+
this.checkbox.checkedState = isSelected;
|
|
17224
17199
|
}
|
|
17225
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionCheckboxDirective, deps: [{ token: SelectionService }, { token: CellSelectionService }, { token: CellSelectionAggregateService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17226
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectionCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectionCheckbox]", inputs: { itemIndex: ["kendoGridSelectionCheckbox", "itemIndex"] },
|
|
17200
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionCheckboxDirective, deps: [{ token: SelectionService }, { token: CellSelectionService }, { token: CellSelectionAggregateService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i3.CheckBoxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17201
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectionCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectionCheckbox]", inputs: { itemIndex: ["kendoGridSelectionCheckbox", "itemIndex"] }, ngImport: i0 });
|
|
17227
17202
|
}
|
|
17228
17203
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionCheckboxDirective, decorators: [{
|
|
17229
17204
|
type: Directive,
|
|
@@ -17231,12 +17206,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17231
17206
|
selector: '[kendoGridSelectionCheckbox]',
|
|
17232
17207
|
standalone: true
|
|
17233
17208
|
}]
|
|
17234
|
-
}], ctorParameters: function () { return [{ type: SelectionService }, { type: CellSelectionService }, { type: CellSelectionAggregateService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }
|
|
17209
|
+
}], ctorParameters: function () { return [{ type: SelectionService }, { type: CellSelectionService }, { type: CellSelectionAggregateService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i3.CheckBoxComponent, decorators: [{
|
|
17210
|
+
type: Host
|
|
17211
|
+
}, {
|
|
17212
|
+
type: Optional
|
|
17213
|
+
}] }]; }, propDecorators: { itemIndex: [{
|
|
17235
17214
|
type: Input,
|
|
17236
17215
|
args: ['kendoGridSelectionCheckbox']
|
|
17237
|
-
}], type: [{
|
|
17238
|
-
type: HostBinding,
|
|
17239
|
-
args: ['attr.type']
|
|
17240
17216
|
}] } });
|
|
17241
17217
|
|
|
17242
17218
|
/**
|
|
@@ -17482,23 +17458,19 @@ class CellComponent {
|
|
|
17482
17458
|
<ng-container *ngIf="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-container>
|
|
17483
17459
|
<ng-container *ngIf="isCheckboxColumn && !isNew">
|
|
17484
17460
|
<ng-container *ngIf="isRowSelectable; else nonSelectableRow">
|
|
17485
|
-
<
|
|
17486
|
-
|
|
17487
|
-
|
|
17488
|
-
|
|
17489
|
-
|
|
17490
|
-
[attr.aria-label]="selectionCheckboxLabel" />
|
|
17491
|
-
</span>
|
|
17461
|
+
<kendo-checkbox
|
|
17462
|
+
[kendoGridSelectionCheckbox]="rowIndex"
|
|
17463
|
+
[attr.id]="selectionCheckboxId"
|
|
17464
|
+
[inputAttributes]="{'aria-label': selectionCheckboxLabel}">
|
|
17465
|
+
</kendo-checkbox>
|
|
17492
17466
|
</ng-container>
|
|
17493
17467
|
<ng-template #nonSelectableRow>
|
|
17494
|
-
<
|
|
17495
|
-
|
|
17496
|
-
|
|
17497
|
-
|
|
17498
|
-
|
|
17499
|
-
|
|
17500
|
-
[disabled]="true" />
|
|
17501
|
-
</span>
|
|
17468
|
+
<kendo-checkbox *ngIf="column.showDisabledCheckbox"
|
|
17469
|
+
[kendoGridSelectionCheckbox]="rowIndex"
|
|
17470
|
+
[attr.id]="selectionCheckboxId"
|
|
17471
|
+
[inputAttributes]="{'aria-label': selectionCheckboxLabel}"
|
|
17472
|
+
[disabled]="true"
|
|
17473
|
+
></kendo-checkbox>
|
|
17502
17474
|
</ng-template>
|
|
17503
17475
|
</ng-container>
|
|
17504
17476
|
<ng-container *ngIf="isRowReorderColumn && !isNew">
|
|
@@ -17538,27 +17510,21 @@ class CellComponent {
|
|
|
17538
17510
|
kendoGridFocusable
|
|
17539
17511
|
></kendo-datepicker>
|
|
17540
17512
|
|
|
17541
|
-
<
|
|
17542
|
-
|
|
17543
|
-
|
|
17544
|
-
|
|
17545
|
-
|
|
17546
|
-
[formControl]="$any(formGroup.get(column.field))"
|
|
17547
|
-
kendoGridFocusable
|
|
17548
|
-
/>
|
|
17549
|
-
</span>
|
|
17513
|
+
<kendo-checkbox
|
|
17514
|
+
*ngSwitchCase="'boolean'"
|
|
17515
|
+
[formControl]="$any(formGroup.get(column.field))"
|
|
17516
|
+
kendoGridFocusable
|
|
17517
|
+
></kendo-checkbox>
|
|
17550
17518
|
|
|
17551
|
-
<
|
|
17519
|
+
<kendo-textbox
|
|
17552
17520
|
*ngSwitchDefault
|
|
17553
|
-
type="text"
|
|
17554
|
-
class="k-textbox k-input k-input-md k-input-solid k-rounded-md"
|
|
17555
17521
|
[formControl]="$any(formGroup.get(column.field))"
|
|
17556
17522
|
kendoGridFocusable
|
|
17557
|
-
|
|
17523
|
+
></kendo-textbox>
|
|
17558
17524
|
</ng-container>
|
|
17559
17525
|
</ng-container>
|
|
17560
17526
|
</ng-container>
|
|
17561
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: SelectionCheckboxDirective, selector: "[kendoGridSelectionCheckbox]", inputs: ["kendoGridSelectionCheckbox"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "pipe", type: FieldAccessorPipe, name: "valueOf" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.
|
|
17527
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: SelectionCheckboxDirective, selector: "[kendoGridSelectionCheckbox]", inputs: ["kendoGridSelectionCheckbox"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "pipe", type: FieldAccessorPipe, name: "valueOf" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }] });
|
|
17562
17528
|
}
|
|
17563
17529
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellComponent, decorators: [{
|
|
17564
17530
|
type: Component,
|
|
@@ -17580,23 +17546,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17580
17546
|
<ng-container *ngIf="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-container>
|
|
17581
17547
|
<ng-container *ngIf="isCheckboxColumn && !isNew">
|
|
17582
17548
|
<ng-container *ngIf="isRowSelectable; else nonSelectableRow">
|
|
17583
|
-
<
|
|
17584
|
-
|
|
17585
|
-
|
|
17586
|
-
|
|
17587
|
-
|
|
17588
|
-
[attr.aria-label]="selectionCheckboxLabel" />
|
|
17589
|
-
</span>
|
|
17549
|
+
<kendo-checkbox
|
|
17550
|
+
[kendoGridSelectionCheckbox]="rowIndex"
|
|
17551
|
+
[attr.id]="selectionCheckboxId"
|
|
17552
|
+
[inputAttributes]="{'aria-label': selectionCheckboxLabel}">
|
|
17553
|
+
</kendo-checkbox>
|
|
17590
17554
|
</ng-container>
|
|
17591
17555
|
<ng-template #nonSelectableRow>
|
|
17592
|
-
<
|
|
17593
|
-
|
|
17594
|
-
|
|
17595
|
-
|
|
17596
|
-
|
|
17597
|
-
|
|
17598
|
-
[disabled]="true" />
|
|
17599
|
-
</span>
|
|
17556
|
+
<kendo-checkbox *ngIf="column.showDisabledCheckbox"
|
|
17557
|
+
[kendoGridSelectionCheckbox]="rowIndex"
|
|
17558
|
+
[attr.id]="selectionCheckboxId"
|
|
17559
|
+
[inputAttributes]="{'aria-label': selectionCheckboxLabel}"
|
|
17560
|
+
[disabled]="true"
|
|
17561
|
+
></kendo-checkbox>
|
|
17600
17562
|
</ng-template>
|
|
17601
17563
|
</ng-container>
|
|
17602
17564
|
<ng-container *ngIf="isRowReorderColumn && !isNew">
|
|
@@ -17636,30 +17598,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17636
17598
|
kendoGridFocusable
|
|
17637
17599
|
></kendo-datepicker>
|
|
17638
17600
|
|
|
17639
|
-
<
|
|
17640
|
-
|
|
17641
|
-
|
|
17642
|
-
|
|
17643
|
-
|
|
17644
|
-
[formControl]="$any(formGroup.get(column.field))"
|
|
17645
|
-
kendoGridFocusable
|
|
17646
|
-
/>
|
|
17647
|
-
</span>
|
|
17601
|
+
<kendo-checkbox
|
|
17602
|
+
*ngSwitchCase="'boolean'"
|
|
17603
|
+
[formControl]="$any(formGroup.get(column.field))"
|
|
17604
|
+
kendoGridFocusable
|
|
17605
|
+
></kendo-checkbox>
|
|
17648
17606
|
|
|
17649
|
-
<
|
|
17607
|
+
<kendo-textbox
|
|
17650
17608
|
*ngSwitchDefault
|
|
17651
|
-
type="text"
|
|
17652
|
-
class="k-textbox k-input k-input-md k-input-solid k-rounded-md"
|
|
17653
17609
|
[formControl]="$any(formGroup.get(column.field))"
|
|
17654
17610
|
kendoGridFocusable
|
|
17655
|
-
|
|
17611
|
+
></kendo-textbox>
|
|
17656
17612
|
</ng-container>
|
|
17657
17613
|
</ng-container>
|
|
17658
17614
|
</ng-container>
|
|
17659
17615
|
`,
|
|
17660
17616
|
standalone: true,
|
|
17661
17617
|
imports: [NgSwitch, NgSwitchCase, NgIf, NgTemplateOutlet, NgFor, FocusableDirective, SelectionCheckboxDirective,
|
|
17662
|
-
IconWrapperComponent, NumericTextBoxComponent, DatePickerComponent, NgSwitchDefault, FieldAccessorPipe, ReactiveFormsModule]
|
|
17618
|
+
IconWrapperComponent, NumericTextBoxComponent, DatePickerComponent, NgSwitchDefault, FieldAccessorPipe, ReactiveFormsModule, CheckBoxComponent, TextBoxComponent]
|
|
17663
17619
|
}]
|
|
17664
17620
|
}], ctorParameters: function () { return [{ type: EditService }, { type: IdService }, { type: ContextService }, { type: undefined, decorators: [{
|
|
17665
17621
|
type: Optional
|
|
@@ -18106,7 +18062,7 @@ class TableBodyComponent {
|
|
|
18106
18062
|
[logicalSlaveCellsCount]="unlockedColumnsCount()"
|
|
18107
18063
|
[totalColumns]="totalColumns">
|
|
18108
18064
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
18109
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups" role="presentation"></td>
|
|
18065
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
|
|
18110
18066
|
</ng-container>
|
|
18111
18067
|
<td class="k-hierarchy-cell k-table-td"
|
|
18112
18068
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -18183,12 +18139,13 @@ class TableBodyComponent {
|
|
|
18183
18139
|
[class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"
|
|
18184
18140
|
[ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
|
|
18185
18141
|
[class.k-master-row]="true"
|
|
18142
|
+
[class.k-expanded]="isDataItem(item) && isExpanded(item)"
|
|
18186
18143
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
18187
18144
|
[attr.aria-selected]="lockedColumnsCount < 1 ? isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item) : undefined"
|
|
18188
18145
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
18189
18146
|
[class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)">
|
|
18190
18147
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
18191
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups" role="presentation"></td>
|
|
18148
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
|
|
18192
18149
|
</ng-container>
|
|
18193
18150
|
<td class="k-hierarchy-cell k-table-td"
|
|
18194
18151
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -18232,7 +18189,6 @@ class TableBodyComponent {
|
|
|
18232
18189
|
[attr.aria-selected]="lockedColumnsCount < 1 && isSelectable({ dataItem: item.data, index: $any(item).index }) ? isAriaSelected(item, column) : undefined"
|
|
18233
18190
|
[class.k-grid-content-sticky]="column.sticky"
|
|
18234
18191
|
[class.k-touch-action-none]="isSelectable({ dataItem: item.data, index: $any(item).index }) && $any(selectable).drag"
|
|
18235
|
-
[class.k-touch-action-auto]="!(isSelectable({ dataItem: item.data, index: $any(item).index }) && $any(selectable).drag)"
|
|
18236
18192
|
[ngClass]="column.cssClass"
|
|
18237
18193
|
[class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
|
|
18238
18194
|
[ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
|
|
@@ -18247,7 +18203,6 @@ class TableBodyComponent {
|
|
|
18247
18203
|
detailTemplate.showIf(item.data, $any(item).index) &&
|
|
18248
18204
|
isExpanded(item)"
|
|
18249
18205
|
class="k-detail-row"
|
|
18250
|
-
[class.k-alt]="isOdd(item)"
|
|
18251
18206
|
kendoGridLogicalRow
|
|
18252
18207
|
[dataRowIndex]="$any(item).index"
|
|
18253
18208
|
[dataItem]="item.data"
|
|
@@ -18255,7 +18210,7 @@ class TableBodyComponent {
|
|
|
18255
18210
|
[logicalSlaveRow]="false"
|
|
18256
18211
|
[logicalCellsCount]="1"
|
|
18257
18212
|
>
|
|
18258
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups"></td>
|
|
18213
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups"></td>
|
|
18259
18214
|
<td class="k-hierarchy-cell k-table-td"></td>
|
|
18260
18215
|
<td class="k-detail-cell k-table-td"
|
|
18261
18216
|
[attr.colspan]="columnsSpan"
|
|
@@ -18290,7 +18245,7 @@ class TableBodyComponent {
|
|
|
18290
18245
|
[logicalCellsCount]="columns.length"
|
|
18291
18246
|
[logicalSlaveCellsCount]="unlockedColumnsCount(item)">
|
|
18292
18247
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
18293
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups"></td>
|
|
18248
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups"></td>
|
|
18294
18249
|
</ng-container>
|
|
18295
18250
|
<td class="k-hierarchy-cell k-table-td"
|
|
18296
18251
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -18336,7 +18291,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18336
18291
|
[logicalSlaveCellsCount]="unlockedColumnsCount()"
|
|
18337
18292
|
[totalColumns]="totalColumns">
|
|
18338
18293
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
18339
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups" role="presentation"></td>
|
|
18294
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
|
|
18340
18295
|
</ng-container>
|
|
18341
18296
|
<td class="k-hierarchy-cell k-table-td"
|
|
18342
18297
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -18413,12 +18368,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18413
18368
|
[class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"
|
|
18414
18369
|
[ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
|
|
18415
18370
|
[class.k-master-row]="true"
|
|
18371
|
+
[class.k-expanded]="isDataItem(item) && isExpanded(item)"
|
|
18416
18372
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
18417
18373
|
[attr.aria-selected]="lockedColumnsCount < 1 ? isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item) : undefined"
|
|
18418
18374
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
18419
18375
|
[class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)">
|
|
18420
18376
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
18421
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups" role="presentation"></td>
|
|
18377
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
|
|
18422
18378
|
</ng-container>
|
|
18423
18379
|
<td class="k-hierarchy-cell k-table-td"
|
|
18424
18380
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -18462,7 +18418,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18462
18418
|
[attr.aria-selected]="lockedColumnsCount < 1 && isSelectable({ dataItem: item.data, index: $any(item).index }) ? isAriaSelected(item, column) : undefined"
|
|
18463
18419
|
[class.k-grid-content-sticky]="column.sticky"
|
|
18464
18420
|
[class.k-touch-action-none]="isSelectable({ dataItem: item.data, index: $any(item).index }) && $any(selectable).drag"
|
|
18465
|
-
[class.k-touch-action-auto]="!(isSelectable({ dataItem: item.data, index: $any(item).index }) && $any(selectable).drag)"
|
|
18466
18421
|
[ngClass]="column.cssClass"
|
|
18467
18422
|
[class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
|
|
18468
18423
|
[ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
|
|
@@ -18477,7 +18432,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18477
18432
|
detailTemplate.showIf(item.data, $any(item).index) &&
|
|
18478
18433
|
isExpanded(item)"
|
|
18479
18434
|
class="k-detail-row"
|
|
18480
|
-
[class.k-alt]="isOdd(item)"
|
|
18481
18435
|
kendoGridLogicalRow
|
|
18482
18436
|
[dataRowIndex]="$any(item).index"
|
|
18483
18437
|
[dataItem]="item.data"
|
|
@@ -18485,7 +18439,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18485
18439
|
[logicalSlaveRow]="false"
|
|
18486
18440
|
[logicalCellsCount]="1"
|
|
18487
18441
|
>
|
|
18488
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups"></td>
|
|
18442
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups"></td>
|
|
18489
18443
|
<td class="k-hierarchy-cell k-table-td"></td>
|
|
18490
18444
|
<td class="k-detail-cell k-table-td"
|
|
18491
18445
|
[attr.colspan]="columnsSpan"
|
|
@@ -18520,7 +18474,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18520
18474
|
[logicalCellsCount]="columns.length"
|
|
18521
18475
|
[logicalSlaveCellsCount]="unlockedColumnsCount(item)">
|
|
18522
18476
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
18523
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups"></td>
|
|
18477
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups"></td>
|
|
18524
18478
|
</ng-container>
|
|
18525
18479
|
<td class="k-hierarchy-cell k-table-td"
|
|
18526
18480
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -19228,8 +19182,8 @@ const packageMetadata = {
|
|
|
19228
19182
|
name: '@progress/kendo-angular-grid',
|
|
19229
19183
|
productName: 'Kendo UI for Angular',
|
|
19230
19184
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
19231
|
-
publishDate:
|
|
19232
|
-
version: '17.0.0-develop.
|
|
19185
|
+
publishDate: 1730797199,
|
|
19186
|
+
version: '17.0.0-develop.39',
|
|
19233
19187
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
19234
19188
|
};
|
|
19235
19189
|
|
|
@@ -21841,7 +21795,7 @@ class ListComponent {
|
|
|
21841
21795
|
}"
|
|
21842
21796
|
[scope]="this"
|
|
21843
21797
|
>
|
|
21844
|
-
<div role="presentation"
|
|
21798
|
+
<div role="presentation">
|
|
21845
21799
|
<table
|
|
21846
21800
|
kendoGridResizableTable
|
|
21847
21801
|
[locked]="true"
|
|
@@ -21890,7 +21844,7 @@ class ListComponent {
|
|
|
21890
21844
|
[kendoGridResizableContainer]="lockedLeafColumns.length > 0"
|
|
21891
21845
|
[lockedWidth]="lockedWidth + 1"
|
|
21892
21846
|
>
|
|
21893
|
-
<div role="presentation"
|
|
21847
|
+
<div role="presentation">
|
|
21894
21848
|
<table
|
|
21895
21849
|
[style.width.px]="nonLockedWidth"
|
|
21896
21850
|
#table
|
|
@@ -21964,7 +21918,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
21964
21918
|
}"
|
|
21965
21919
|
[scope]="this"
|
|
21966
21920
|
>
|
|
21967
|
-
<div role="presentation"
|
|
21921
|
+
<div role="presentation">
|
|
21968
21922
|
<table
|
|
21969
21923
|
kendoGridResizableTable
|
|
21970
21924
|
[locked]="true"
|
|
@@ -22013,7 +21967,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
22013
21967
|
[kendoGridResizableContainer]="lockedLeafColumns.length > 0"
|
|
22014
21968
|
[lockedWidth]="lockedWidth + 1"
|
|
22015
21969
|
>
|
|
22016
|
-
<div role="presentation"
|
|
21970
|
+
<div role="presentation">
|
|
22017
21971
|
<table
|
|
22018
21972
|
[style.width.px]="nonLockedWidth"
|
|
22019
21973
|
#table
|
|
@@ -28563,7 +28517,7 @@ class GridModule {
|
|
|
28563
28517
|
MonthViewService,
|
|
28564
28518
|
YearViewService,
|
|
28565
28519
|
NavigationService$1
|
|
28566
|
-
], imports: [GroupHeaderComponent, GroupPanelComponent, TableBodyComponent, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, HeaderComponent, i42.CustomMessagesComponent, i42.PagerInfoComponent, i42.PagerInputComponent, i42.PagerNextButtonsComponent, i42.PagerNumericButtonsComponent, i42.PagerPageSizesComponent, i42.PagerPrevButtonsComponent, i42.PagerComponent, i42.PagerSpacerComponent, i43.ToolBarComponent, i43.ToolbarCustomMessagesComponent, i43.ToolBarButtonComponent, i43.ToolBarButtonGroupComponent, i43.ToolBarDropDownButtonComponent, i43.ToolBarSeparatorComponent, i43.ToolBarSpacerComponent, i43.ToolBarSplitButtonComponent, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, FilterCellOperatorsComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuStickComponent, ColumnMenuPositionComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuAutoSizeAllColumnsComponent, GridComponent, ListComponent] });
|
|
28520
|
+
], imports: [GroupHeaderComponent, GroupPanelComponent, TableBodyComponent, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, HeaderComponent, i42.CustomMessagesComponent, i42.PagerInfoComponent, i42.PagerInputComponent, i42.PagerNextButtonsComponent, i42.PagerNumericButtonsComponent, i42.PagerPageSizesComponent, i42.PagerPrevButtonsComponent, i42.PagerComponent, i42.PagerSpacerComponent, i43.ToolBarComponent, i43.ToolbarCustomMessagesComponent, i43.ToolBarButtonComponent, i43.ToolBarButtonGroupComponent, i43.ToolBarDropDownButtonComponent, i43.ToolBarSeparatorComponent, i43.ToolBarSpacerComponent, i43.ToolBarSplitButtonComponent, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, FilterCellOperatorsComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, BooleanFilterMenuComponent, ColumnListComponent, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuStickComponent, ColumnMenuPositionComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuAutoSizeAllColumnsComponent, GridComponent, ListComponent] });
|
|
28567
28521
|
}
|
|
28568
28522
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, decorators: [{
|
|
28569
28523
|
type: NgModule,
|
|
@@ -28701,7 +28655,7 @@ class FilterMenuModule {
|
|
|
28701
28655
|
MonthViewService,
|
|
28702
28656
|
YearViewService,
|
|
28703
28657
|
NavigationService$1
|
|
28704
|
-
], imports: [FilterCellOperatorsComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent] });
|
|
28658
|
+
], imports: [FilterCellOperatorsComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, BooleanFilterMenuComponent] });
|
|
28705
28659
|
}
|
|
28706
28660
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuModule, decorators: [{
|
|
28707
28661
|
type: NgModule,
|
|
@@ -28819,7 +28773,7 @@ class HeaderModule {
|
|
|
28819
28773
|
MonthViewService,
|
|
28820
28774
|
YearViewService,
|
|
28821
28775
|
NavigationService$1
|
|
28822
|
-
], imports: [GroupHeaderComponent, GroupPanelComponent, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, FilterCellOperatorsComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuStickComponent, ColumnMenuPositionComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuAutoSizeAllColumnsComponent, HeaderComponent] });
|
|
28776
|
+
], imports: [GroupHeaderComponent, GroupPanelComponent, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, FilterCellOperatorsComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, BooleanFilterMenuComponent, ColumnListComponent, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuStickComponent, ColumnMenuPositionComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuAutoSizeAllColumnsComponent, HeaderComponent] });
|
|
28823
28777
|
}
|
|
28824
28778
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderModule, decorators: [{
|
|
28825
28779
|
type: NgModule,
|