@progress/kendo-angular-treelist 17.0.0-develop.36 → 17.0.0-develop.38
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-list.component.d.ts +1 -1
- package/esm2022/column-menu/column-list.component.mjs +44 -44
- package/esm2022/filtering/boolean-filter.component.mjs +3 -6
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +11 -10
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +11 -11
- package/esm2022/filtering/menu/filter-menu.module.mjs +1 -1
- package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +11 -11
- package/esm2022/navigation/default-focusable-element.mjs +2 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/rendering/cell.component.mjs +19 -29
- package/esm2022/rendering/header/header.component.mjs +15 -16
- package/esm2022/rendering/header/header.module.mjs +1 -1
- package/esm2022/rendering/list.component.mjs +4 -4
- package/esm2022/rendering/table-body.component.mjs +3 -2
- package/esm2022/selection/selection.service.mjs +1 -0
- package/esm2022/treelist.module.mjs +1 -1
- package/fesm2022/progress-kendo-angular-treelist.mjs +121 -134
- package/package.json +16 -16
- package/rendering/header/header.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +3 -3
@@ -22,6 +22,7 @@ export declare class ColumnListComponent implements OnInit, OnDestroy {
|
|
22
22
|
applyText: string;
|
23
23
|
resetText: string;
|
24
24
|
actionsClass: string;
|
25
|
+
private checkboxes;
|
25
26
|
private hasLocked;
|
26
27
|
private hasVisibleLocked;
|
27
28
|
private unlockedCount;
|
@@ -36,7 +37,6 @@ export declare class ColumnListComponent implements OnInit, OnDestroy {
|
|
36
37
|
ngOnDestroy(): void;
|
37
38
|
cancelChanges(): void;
|
38
39
|
applyChanges(): void;
|
39
|
-
private forEachCheckBox;
|
40
40
|
private updateDisabled;
|
41
41
|
private updateColumnState;
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnListComponent, never>;
|
@@ -2,9 +2,10 @@
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
|
-
import { Component, HostBinding, Input, ElementRef, NgZone, Renderer2, Output, EventEmitter } from '@angular/core';
|
6
|
-
import { hasClasses } from '../rendering/common/dom-queries';
|
5
|
+
import { Component, HostBinding, Input, ElementRef, NgZone, Renderer2, Output, EventEmitter, QueryList, ViewChildren } from '@angular/core';
|
7
6
|
import { NgFor, NgIf, NgClass } from '@angular/common';
|
7
|
+
import { CheckBoxComponent } from '@progress/kendo-angular-inputs';
|
8
|
+
import { take } from 'rxjs/operators';
|
8
9
|
import * as i0 from "@angular/core";
|
9
10
|
/**
|
10
11
|
* @hidden
|
@@ -32,6 +33,7 @@ export class ColumnListComponent {
|
|
32
33
|
applyText;
|
33
34
|
resetText;
|
34
35
|
actionsClass = 'k-actions';
|
36
|
+
checkboxes;
|
35
37
|
hasLocked;
|
36
38
|
hasVisibleLocked;
|
37
39
|
unlockedCount = 0;
|
@@ -55,22 +57,26 @@ export class ColumnListComponent {
|
|
55
57
|
}
|
56
58
|
this.ngZone.runOutsideAngular(() => {
|
57
59
|
this.domSubscriptions = this.renderer.listen(this.element.nativeElement, 'click', (e) => {
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
this.
|
65
|
-
|
66
|
-
|
67
|
-
|
60
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
61
|
+
const closestItem = e.target.closest('.k-checkbox-wrap');
|
62
|
+
if (closestItem) {
|
63
|
+
if (this.autoSync) {
|
64
|
+
const checkbox = this.checkboxes.find(checkBox => checkBox.hostElement.nativeElement === closestItem);
|
65
|
+
const index = parseInt(closestItem.firstElementChild.getAttribute('data-index'), 10);
|
66
|
+
const column = this.columns[index];
|
67
|
+
const hidden = !checkbox.checkedState;
|
68
|
+
if (Boolean(column.hidden) !== hidden) {
|
69
|
+
this.ngZone.run(() => {
|
70
|
+
column.hidden = hidden;
|
71
|
+
this.columnChange.emit([column]);
|
72
|
+
});
|
73
|
+
}
|
74
|
+
}
|
75
|
+
else {
|
76
|
+
this.ngZone.run(() => this.updateDisabled());
|
68
77
|
}
|
69
78
|
}
|
70
|
-
|
71
|
-
this.updateDisabled();
|
72
|
-
}
|
73
|
-
}
|
79
|
+
});
|
74
80
|
});
|
75
81
|
});
|
76
82
|
}
|
@@ -80,17 +86,17 @@ export class ColumnListComponent {
|
|
80
86
|
}
|
81
87
|
}
|
82
88
|
cancelChanges() {
|
83
|
-
this.
|
84
|
-
|
89
|
+
this.checkboxes.forEach((item, index) => {
|
90
|
+
item.checkedState = !this.columns[index].hidden;
|
85
91
|
});
|
86
92
|
this.updateDisabled();
|
87
93
|
this.reset.emit();
|
88
94
|
}
|
89
95
|
applyChanges() {
|
90
96
|
const changed = [];
|
91
|
-
this.
|
97
|
+
this.checkboxes.forEach((item, index) => {
|
92
98
|
const column = this.columns[index];
|
93
|
-
const hidden = !
|
99
|
+
const hidden = !item.checkedState;
|
94
100
|
if (Boolean(column.hidden) !== hidden) {
|
95
101
|
column.hidden = hidden;
|
96
102
|
changed.push(column);
|
@@ -99,20 +105,13 @@ export class ColumnListComponent {
|
|
99
105
|
this.updateDisabled();
|
100
106
|
this.apply.emit(changed);
|
101
107
|
}
|
102
|
-
forEachCheckBox(callback) {
|
103
|
-
const checkboxes = this.element.nativeElement.getElementsByClassName('k-checkbox');
|
104
|
-
const length = checkboxes.length;
|
105
|
-
for (let idx = 0; idx < length; idx++) {
|
106
|
-
callback(checkboxes[idx], idx);
|
107
|
-
}
|
108
|
-
}
|
109
108
|
updateDisabled() {
|
110
109
|
if (this.allowHideAll && !this.hasLocked) {
|
111
110
|
return;
|
112
111
|
}
|
113
112
|
const checkedItems = [];
|
114
|
-
this.
|
115
|
-
if (checkbox.
|
113
|
+
this.checkboxes.forEach((checkbox, index) => {
|
114
|
+
if (checkbox.checkedState) {
|
116
115
|
checkedItems.push({ checkbox, index });
|
117
116
|
}
|
118
117
|
checkbox.disabled = false;
|
@@ -143,15 +142,14 @@ export class ColumnListComponent {
|
|
143
142
|
}
|
144
143
|
}
|
145
144
|
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 }], target: i0.ɵɵFactoryTarget.Component });
|
146
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnListComponent, isStandalone: true, selector: "kendo-treelist-columnlist", inputs: { columns: "columns", autoSync: "autoSync", allowHideAll: "allowHideAll", applyText: "applyText", resetText: "resetText", actionsClass: "actionsClass" }, outputs: { reset: "reset", apply: "apply", columnChange: "columnChange" }, host: { properties: { "class.k-column-list-wrapper": "this.className" } }, ngImport: i0, template: `
|
145
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnListComponent, isStandalone: true, selector: "kendo-treelist-columnlist", inputs: { columns: "columns", autoSync: "autoSync", allowHideAll: "allowHideAll", applyText: "applyText", resetText: "resetText", actionsClass: "actionsClass" }, outputs: { reset: "reset", apply: "apply", columnChange: "columnChange" }, host: { properties: { "class.k-column-list-wrapper": "this.className" } }, viewQueries: [{ propertyName: "checkboxes", predicate: CheckBoxComponent, descendants: true }], ngImport: i0, template: `
|
147
146
|
<div class="k-column-list">
|
148
147
|
<label *ngFor="let column of columns; let index = index;" class='k-column-list-item'>
|
149
|
-
<
|
150
|
-
|
151
|
-
|
152
|
-
[
|
153
|
-
|
154
|
-
[disabled]="isDisabled(column)" />
|
148
|
+
<kendo-checkbox
|
149
|
+
[inputAttributes]="{'data-index': index.toString()}"
|
150
|
+
[checkedState]="!column.hidden"
|
151
|
+
[disabled]="isDisabled(column)"
|
152
|
+
></kendo-checkbox>
|
155
153
|
<span class="k-checkbox-label">{{ column.displayTitle }}</span>
|
156
154
|
</label>
|
157
155
|
</div>
|
@@ -169,7 +167,7 @@ export class ColumnListComponent {
|
|
169
167
|
{{ applyText }}
|
170
168
|
</button>
|
171
169
|
</div>
|
172
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
170
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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"] }] });
|
173
171
|
}
|
174
172
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnListComponent, decorators: [{
|
175
173
|
type: Component,
|
@@ -178,12 +176,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
178
176
|
template: `
|
179
177
|
<div class="k-column-list">
|
180
178
|
<label *ngFor="let column of columns; let index = index;" class='k-column-list-item'>
|
181
|
-
<
|
182
|
-
|
183
|
-
|
184
|
-
[
|
185
|
-
|
186
|
-
[disabled]="isDisabled(column)" />
|
179
|
+
<kendo-checkbox
|
180
|
+
[inputAttributes]="{'data-index': index.toString()}"
|
181
|
+
[checkedState]="!column.hidden"
|
182
|
+
[disabled]="isDisabled(column)"
|
183
|
+
></kendo-checkbox>
|
187
184
|
<span class="k-checkbox-label">{{ column.displayTitle }}</span>
|
188
185
|
</label>
|
189
186
|
</div>
|
@@ -203,7 +200,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
203
200
|
</div>
|
204
201
|
`,
|
205
202
|
standalone: true,
|
206
|
-
imports: [NgFor, NgIf, NgClass]
|
203
|
+
imports: [NgFor, NgIf, NgClass, CheckBoxComponent]
|
207
204
|
}]
|
208
205
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { className: [{
|
209
206
|
type: HostBinding,
|
@@ -226,4 +223,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
226
223
|
type: Input
|
227
224
|
}], actionsClass: [{
|
228
225
|
type: Input
|
226
|
+
}], checkboxes: [{
|
227
|
+
type: ViewChildren,
|
228
|
+
args: [CheckBoxComponent]
|
229
229
|
}] } });
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
|
-
import { Input,
|
5
|
+
import { Input, Directive } from '@angular/core';
|
6
6
|
import { ColumnComponent } from '../columns/column.component';
|
7
7
|
import { FilterService } from './filter.service';
|
8
8
|
import { BaseFilterCellComponent } from './base-filter-cell.component';
|
@@ -81,14 +81,11 @@ export class BooleanFilterComponent extends BaseFilterCellComponent {
|
|
81
81
|
this.defaultItem = { text: this.localization.get("filterBooleanAll"), value: null };
|
82
82
|
}
|
83
83
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanFilterComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
84
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BooleanFilterComponent, inputs: { column: "column" },
|
84
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BooleanFilterComponent, inputs: { column: "column" }, usesInheritance: true, ngImport: i0 });
|
85
85
|
}
|
86
86
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanFilterComponent, decorators: [{
|
87
87
|
type: Directive,
|
88
88
|
args: [{}]
|
89
|
-
}], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.LocalizationService }]; }, propDecorators: {
|
90
|
-
type: HostBinding,
|
91
|
-
args: ['class.k-filtercell-boolean']
|
92
|
-
}], column: [{
|
89
|
+
}], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.LocalizationService }]; }, propDecorators: { column: [{
|
93
90
|
type: Input
|
94
91
|
}] } });
|
@@ -11,6 +11,7 @@ import { replaceMessagePlaceholder } from '../../utils';
|
|
11
11
|
import { FilterInputDirective } from '../filter-input.directive';
|
12
12
|
import { FocusableDirective } from '../../navigation/focusable.directive';
|
13
13
|
import { FilterCellWrapperComponent } from './filter-cell-wrapper.component';
|
14
|
+
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
14
15
|
import * as i0 from "@angular/core";
|
15
16
|
import * as i1 from "../filter.service";
|
16
17
|
import * as i2 from "@progress/kendo-angular-l10n";
|
@@ -70,16 +71,16 @@ export class StringFilterCellComponent extends StringFilterComponent {
|
|
70
71
|
[operators]="operators"
|
71
72
|
[defaultOperator]="operator"
|
72
73
|
[showOperators]="showOperators">
|
73
|
-
<
|
74
|
-
class="k-textbox k-input k-input-md k-rounded-md k-input-solid"
|
74
|
+
<kendo-textbox
|
75
75
|
kendoTreeListFocusable
|
76
76
|
kendoFilterInput
|
77
77
|
[columnLabel]="columnLabel"
|
78
78
|
[filterDelay]="filterDelay"
|
79
|
-
[
|
80
|
-
[ngModel]="currentFilter?.value"
|
79
|
+
[placeholder]="placeholder"
|
80
|
+
[ngModel]="currentFilter?.value ?? null"
|
81
|
+
></kendo-textbox>
|
81
82
|
</kendo-treelist-filter-wrapper-cell>
|
82
|
-
`, isInline: true, dependencies: [{ kind: "component", type: FilterCellWrapperComponent, selector: "kendo-treelist-filter-wrapper-cell", inputs: ["showOperators"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.
|
83
|
+
`, isInline: true, dependencies: [{ kind: "component", type: FilterCellWrapperComponent, selector: "kendo-treelist-filter-wrapper-cell", inputs: ["showOperators"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "column", "value"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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"] }] });
|
83
84
|
}
|
84
85
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StringFilterCellComponent, decorators: [{
|
85
86
|
type: Component,
|
@@ -92,18 +93,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
92
93
|
[operators]="operators"
|
93
94
|
[defaultOperator]="operator"
|
94
95
|
[showOperators]="showOperators">
|
95
|
-
<
|
96
|
-
class="k-textbox k-input k-input-md k-rounded-md k-input-solid"
|
96
|
+
<kendo-textbox
|
97
97
|
kendoTreeListFocusable
|
98
98
|
kendoFilterInput
|
99
99
|
[columnLabel]="columnLabel"
|
100
100
|
[filterDelay]="filterDelay"
|
101
|
-
[
|
102
|
-
[ngModel]="currentFilter?.value"
|
101
|
+
[placeholder]="placeholder"
|
102
|
+
[ngModel]="currentFilter?.value ?? null"
|
103
|
+
></kendo-textbox>
|
103
104
|
</kendo-treelist-filter-wrapper-cell>
|
104
105
|
`,
|
105
106
|
standalone: true,
|
106
|
-
imports: [FilterCellWrapperComponent, ReactiveFormsModule, FocusableDirective, FilterInputDirective, FormsModule]
|
107
|
+
imports: [FilterCellWrapperComponent, ReactiveFormsModule, FocusableDirective, FilterInputDirective, FormsModule, TextBoxComponent]
|
107
108
|
}]
|
108
109
|
}], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.LocalizationService }]; }, propDecorators: { filterDelay: [{
|
109
110
|
type: Input
|
@@ -5,7 +5,7 @@
|
|
5
5
|
import { Component, Input, HostBinding, ViewChild, ElementRef, Renderer2 } from '@angular/core';
|
6
6
|
import { NgFor } from '@angular/common';
|
7
7
|
import { guid } from '@progress/kendo-angular-common';
|
8
|
-
import {
|
8
|
+
import { RadioButtonComponent } from '@progress/kendo-angular-inputs';
|
9
9
|
import { FilterService } from '../filter.service';
|
10
10
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
11
11
|
import { BooleanFilterComponent } from '../boolean-filter.component';
|
@@ -90,19 +90,19 @@ export class BooleanFilterMenuComponent extends BooleanFilterComponent {
|
|
90
90
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BooleanFilterMenuComponent, isStandalone: true, selector: "kendo-treelist-boolean-filter-menu", inputs: { filter: "filter", filterService: "filterService" }, host: { properties: { "class.k-filtercell": "this.hostClasses" } }, viewQueries: [{ propertyName: "inputElem", first: true, predicate: ["inputElem"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
91
91
|
<ul class="k-radio-list k-reset">
|
92
92
|
<li *ngFor="let item of items">
|
93
|
-
<
|
94
|
-
|
93
|
+
<kendo-radiobutton
|
94
|
+
#inputElem
|
95
95
|
kendoFilterMenuRadioButton
|
96
96
|
[columnLabel]="columnLabel"
|
97
97
|
[name]="idPrefix"
|
98
98
|
[checked]="isSelected(item.value)"
|
99
99
|
[attr.id]="radioId(item.value)"
|
100
|
-
(
|
101
|
-
|
100
|
+
(checkedChange)="onChange(item.value)"
|
101
|
+
></kendo-radiobutton>
|
102
102
|
<label class="k-radio-label" [attr.for]="radioId(item.value)">{{item.text}}</label>
|
103
103
|
</li>
|
104
104
|
</ul>
|
105
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "
|
105
|
+
`, 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"] }] });
|
106
106
|
}
|
107
107
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanFilterMenuComponent, decorators: [{
|
108
108
|
type: Component,
|
@@ -111,21 +111,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
111
111
|
template: `
|
112
112
|
<ul class="k-radio-list k-reset">
|
113
113
|
<li *ngFor="let item of items">
|
114
|
-
<
|
115
|
-
|
114
|
+
<kendo-radiobutton
|
115
|
+
#inputElem
|
116
116
|
kendoFilterMenuRadioButton
|
117
117
|
[columnLabel]="columnLabel"
|
118
118
|
[name]="idPrefix"
|
119
119
|
[checked]="isSelected(item.value)"
|
120
120
|
[attr.id]="radioId(item.value)"
|
121
|
-
(
|
122
|
-
|
121
|
+
(checkedChange)="onChange(item.value)"
|
122
|
+
></kendo-radiobutton>
|
123
123
|
<label class="k-radio-label" [attr.for]="radioId(item.value)">{{item.text}}</label>
|
124
124
|
</li>
|
125
125
|
</ul>
|
126
126
|
`,
|
127
127
|
standalone: true,
|
128
|
-
imports: [NgFor,
|
128
|
+
imports: [NgFor, RadioButtonComponent, BooleanFilterRadioButtonDirective]
|
129
129
|
}]
|
130
130
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i2.DomSanitizer }]; }, propDecorators: { hostClasses: [{
|
131
131
|
type: HostBinding,
|
@@ -70,7 +70,7 @@ const ENTRY_COMPONENTS = [
|
|
70
70
|
export class FilterMenuModule {
|
71
71
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
72
72
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuModule, imports: [i1.FilterMenuComponent, i2.FilterMenuContainerComponent, i3.FilterMenuInputWrapperComponent, i4.StringFilterMenuInputComponent, i5.StringFilterMenuComponent, i6.FilterMenuTemplateDirective, i7.NumericFilterMenuComponent, i8.NumericFilterMenuInputComponent, i9.DateFilterMenuInputComponent, i10.DateFilterMenuComponent, i11.FilterMenuHostDirective, i12.BooleanFilterMenuComponent, i13.BooleanFilterRadioButtonDirective, i14.FilterCellOperatorsComponent, i15.ContainsFilterOperatorComponent, i16.DoesNotContainFilterOperatorComponent, i17.EndsWithFilterOperatorComponent, i18.EqualFilterOperatorComponent, i19.IsEmptyFilterOperatorComponent, i20.IsNotEmptyFilterOperatorComponent, i21.IsNotNullFilterOperatorComponent, i22.IsNullFilterOperatorComponent, i23.NotEqualFilterOperatorComponent, i24.StartsWithFilterOperatorComponent, i25.GreaterFilterOperatorComponent, i26.GreaterOrEqualToFilterOperatorComponent, i27.LessFilterOperatorComponent, i28.LessOrEqualToFilterOperatorComponent, i29.AfterFilterOperatorComponent, i30.AfterEqFilterOperatorComponent, i31.BeforeEqFilterOperatorComponent, i32.BeforeFilterOperatorComponent, i33.FilterInputDirective, i34.ColumnComponent, i35.ColumnGroupComponent, i36.LogicalCellDirective, i37.LogicalRowDirective, i38.FocusableDirective, i39.ColGroupComponent, i40.ResizableContainerDirective, i41.TemplateContextDirective, i42.FieldAccessorPipe, i43.SpanColumnComponent, i44.LoadingComponent, i14.FilterCellOperatorsComponent, i45.CheckboxColumnComponent, i46.RowReorderColumnComponent, i47.CustomMessagesComponent, i47.PagerFocusableDirective, i47.PagerInfoComponent, i47.PagerInputComponent, i47.PagerNextButtonsComponent, i47.PagerNumericButtonsComponent, i47.PagerPageSizesComponent, i47.PagerPrevButtonsComponent, i47.PagerTemplateDirective, i47.PagerComponent, i47.PagerSpacerComponent], exports: [i1.FilterMenuComponent, i2.FilterMenuContainerComponent, i3.FilterMenuInputWrapperComponent, i4.StringFilterMenuInputComponent, i5.StringFilterMenuComponent, i6.FilterMenuTemplateDirective, i7.NumericFilterMenuComponent, i8.NumericFilterMenuInputComponent, i9.DateFilterMenuInputComponent, i10.DateFilterMenuComponent, i11.FilterMenuHostDirective, i12.BooleanFilterMenuComponent, i13.BooleanFilterRadioButtonDirective, i14.FilterCellOperatorsComponent, i15.ContainsFilterOperatorComponent, i16.DoesNotContainFilterOperatorComponent, i17.EndsWithFilterOperatorComponent, i18.EqualFilterOperatorComponent, i19.IsEmptyFilterOperatorComponent, i20.IsNotEmptyFilterOperatorComponent, i21.IsNotNullFilterOperatorComponent, i22.IsNullFilterOperatorComponent, i23.NotEqualFilterOperatorComponent, i24.StartsWithFilterOperatorComponent, i25.GreaterFilterOperatorComponent, i26.GreaterOrEqualToFilterOperatorComponent, i27.LessFilterOperatorComponent, i28.LessOrEqualToFilterOperatorComponent, i29.AfterFilterOperatorComponent, i30.AfterEqFilterOperatorComponent, i31.BeforeEqFilterOperatorComponent, i32.BeforeFilterOperatorComponent, i33.FilterInputDirective, i34.ColumnComponent, i35.ColumnGroupComponent, i36.LogicalCellDirective, i37.LogicalRowDirective, i38.FocusableDirective, i39.ColGroupComponent, i40.ResizableContainerDirective, i41.TemplateContextDirective, i42.FieldAccessorPipe, i43.SpanColumnComponent, i44.LoadingComponent, i14.FilterCellOperatorsComponent, i45.CheckboxColumnComponent, i46.RowReorderColumnComponent, i47.CustomMessagesComponent, i47.PagerFocusableDirective, i47.PagerInfoComponent, i47.PagerInputComponent, i47.PagerNextButtonsComponent, i47.PagerNumericButtonsComponent, i47.PagerPageSizesComponent, i47.PagerPrevButtonsComponent, i47.PagerTemplateDirective, i47.PagerComponent, i47.PagerSpacerComponent] });
|
73
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuModule, imports: [i1.FilterMenuComponent, i2.FilterMenuContainerComponent, i3.FilterMenuInputWrapperComponent, i4.StringFilterMenuInputComponent, i5.StringFilterMenuComponent, i7.NumericFilterMenuComponent, i8.NumericFilterMenuInputComponent, i9.DateFilterMenuInputComponent, i10.DateFilterMenuComponent, i14.FilterCellOperatorsComponent, i14.FilterCellOperatorsComponent, i47.CustomMessagesComponent, i47.PagerInfoComponent, i47.PagerInputComponent, i47.PagerNextButtonsComponent, i47.PagerNumericButtonsComponent, i47.PagerPageSizesComponent, i47.PagerPrevButtonsComponent, i47.PagerComponent, i47.PagerSpacerComponent] });
|
73
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuModule, imports: [i1.FilterMenuComponent, i2.FilterMenuContainerComponent, i3.FilterMenuInputWrapperComponent, i4.StringFilterMenuInputComponent, i5.StringFilterMenuComponent, i7.NumericFilterMenuComponent, i8.NumericFilterMenuInputComponent, i9.DateFilterMenuInputComponent, i10.DateFilterMenuComponent, i12.BooleanFilterMenuComponent, i14.FilterCellOperatorsComponent, i14.FilterCellOperatorsComponent, i47.CustomMessagesComponent, i47.PagerInfoComponent, i47.PagerInputComponent, i47.PagerNextButtonsComponent, i47.PagerNumericButtonsComponent, i47.PagerPageSizesComponent, i47.PagerPrevButtonsComponent, i47.PagerComponent, i47.PagerSpacerComponent] });
|
74
74
|
}
|
75
75
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuModule, decorators: [{
|
76
76
|
type: NgModule,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Component, Input } from '@angular/core';
|
6
6
|
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
|
7
|
-
import {
|
7
|
+
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
8
8
|
import { ColumnComponent } from "../../columns/column.component";
|
9
9
|
import { FilterService } from '../filter.service';
|
10
10
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
@@ -44,15 +44,15 @@ export class StringFilterMenuInputComponent {
|
|
44
44
|
[currentFilter]="currentFilter"
|
45
45
|
[filterService]="filterService"
|
46
46
|
>
|
47
|
-
<
|
48
|
-
kendoTextBox
|
47
|
+
<kendo-textbox
|
49
48
|
kendoFilterInput
|
50
49
|
[columnLabel]="columnLabel"
|
51
50
|
[filterDelay]="0"
|
52
|
-
[
|
53
|
-
[ngModel]="currentFilter?.value"
|
51
|
+
[placeholder]="placeholder"
|
52
|
+
[ngModel]="currentFilter?.value ?? null"
|
53
|
+
></kendo-textbox>
|
54
54
|
</kendo-treelist-filter-menu-input-wrapper>
|
55
|
-
`, isInline: true, dependencies: [{ kind: "component", type: FilterMenuInputWrapperComponent, selector: "kendo-treelist-filter-menu-input-wrapper", inputs: ["filterService", "currentFilter"] }, { kind: "
|
55
|
+
`, isInline: true, dependencies: [{ kind: "component", type: FilterMenuInputWrapperComponent, selector: "kendo-treelist-filter-menu-input-wrapper", inputs: ["filterService", "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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "column", "value"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
56
56
|
}
|
57
57
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StringFilterMenuInputComponent, decorators: [{
|
58
58
|
type: Component,
|
@@ -67,17 +67,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
67
67
|
[currentFilter]="currentFilter"
|
68
68
|
[filterService]="filterService"
|
69
69
|
>
|
70
|
-
<
|
71
|
-
kendoTextBox
|
70
|
+
<kendo-textbox
|
72
71
|
kendoFilterInput
|
73
72
|
[columnLabel]="columnLabel"
|
74
73
|
[filterDelay]="0"
|
75
|
-
[
|
76
|
-
[ngModel]="currentFilter?.value"
|
74
|
+
[placeholder]="placeholder"
|
75
|
+
[ngModel]="currentFilter?.value ?? null"
|
76
|
+
></kendo-textbox>
|
77
77
|
</kendo-treelist-filter-menu-input-wrapper>
|
78
78
|
`,
|
79
79
|
standalone: true,
|
80
|
-
imports: [FilterMenuInputWrapperComponent,
|
80
|
+
imports: [FilterMenuInputWrapperComponent, TextBoxComponent, ReactiveFormsModule, FilterInputDirective, FormsModule]
|
81
81
|
}]
|
82
82
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { operators: [{
|
83
83
|
type: Input
|
@@ -5,9 +5,10 @@
|
|
5
5
|
import { closest, findFocusable, isVisible, matchesNodeName } from '../rendering/common/dom-queries';
|
6
6
|
const isButton = matchesNodeName('button');
|
7
7
|
const isInputTag = matchesNodeName('input');
|
8
|
+
const isKendoInputTag = matchesNodeName('kendo-checkbox') || matchesNodeName('kendo-textbox');
|
8
9
|
const navigableRegex = /(button|checkbox|color|file|radio|reset|submit)/i;
|
9
10
|
const isNavigableInput = element => isInputTag(element) && navigableRegex.test(element.type);
|
10
|
-
const isNavigable = element => !element.disabled && (isButton(element) || isNavigableInput(element));
|
11
|
+
const isNavigable = element => !element.disabled && (isButton(element) || isNavigableInput(element) || isKendoInputTag(element));
|
11
12
|
/**
|
12
13
|
* @hidden
|
13
14
|
*/
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
9
9
|
name: '@progress/kendo-angular-treelist',
|
10
10
|
productName: 'Kendo UI for Angular',
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
12
|
-
publishDate:
|
13
|
-
version: '17.0.0-develop.
|
12
|
+
publishDate: 1730732293,
|
13
|
+
version: '17.0.0-develop.38',
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
15
15
|
};
|
@@ -8,7 +8,7 @@ import { NgSwitch, NgSwitchCase, NgIf, NgFor, NgTemplateOutlet, NgSwitchDefault
|
|
8
8
|
import { caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon, reorderIcon } from '@progress/kendo-svg-icons';
|
9
9
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
10
10
|
import { DatePickerComponent } from '@progress/kendo-angular-dateinputs';
|
11
|
-
import { NumericTextBoxComponent } from '@progress/kendo-angular-inputs';
|
11
|
+
import { CheckBoxComponent, NumericTextBoxComponent, TextBoxComponent } from '@progress/kendo-angular-inputs';
|
12
12
|
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
13
13
|
import { EditService } from '../editing/edit.service';
|
14
14
|
import { isSpanColumn, isCheckboxColumn, isRowReorderColumn } from '../columns/column-base';
|
@@ -187,12 +187,11 @@ export class CellComponent {
|
|
187
187
|
</ng-container>
|
188
188
|
<ng-container *ngIf="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-container>
|
189
189
|
<ng-template [ngIf]="column.isCheckboxColumn && !isNew">
|
190
|
-
<
|
191
|
-
type="checkbox"
|
190
|
+
<kendo-checkbox
|
192
191
|
kendoTreeListFocusable
|
193
|
-
[
|
194
|
-
|
195
|
-
|
192
|
+
[inputAttributes]="{'aria-label': messageFor('selectRowCheckboxLabel')}"
|
193
|
+
[checkedState]="selected"
|
194
|
+
></kendo-checkbox>
|
196
195
|
</ng-template>
|
197
196
|
<ng-container *ngIf="column.isRowReorderColumn && !isNew">
|
198
197
|
<kendo-icon-wrapper
|
@@ -222,25 +221,21 @@ export class CellComponent {
|
|
222
221
|
kendoTreeListFocusable
|
223
222
|
></kendo-datepicker>
|
224
223
|
|
225
|
-
<
|
224
|
+
<kendo-checkbox
|
226
225
|
*ngSwitchCase="'boolean'"
|
227
|
-
type="checkbox"
|
228
|
-
class="k-checkbox k-checkbox-md k-rounded-md"
|
229
226
|
[formControl]="$any(formGroup.get(column.field))"
|
230
227
|
kendoTreeListFocusable
|
231
|
-
|
228
|
+
></kendo-checkbox>
|
232
229
|
|
233
|
-
<
|
230
|
+
<kendo-textbox
|
234
231
|
*ngSwitchDefault
|
235
|
-
type="text"
|
236
|
-
class="k-textbox k-input k-input-md k-input-solid k-rounded-md"
|
237
232
|
[formControl]="$any(formGroup.get(column.field))"
|
238
233
|
kendoTreeListFocusable
|
239
|
-
|
234
|
+
></kendo-textbox>
|
240
235
|
</ng-container>
|
241
236
|
</ng-container>
|
242
237
|
</ng-container>
|
243
|
-
`, 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: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.
|
238
|
+
`, 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: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { 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: "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: 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: "pipe", type: LevelItemsPipe, name: "levelItems" }, { 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"] }] });
|
244
239
|
}
|
245
240
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellComponent, decorators: [{
|
246
241
|
type: Component,
|
@@ -269,12 +264,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
269
264
|
</ng-container>
|
270
265
|
<ng-container *ngIf="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-container>
|
271
266
|
<ng-template [ngIf]="column.isCheckboxColumn && !isNew">
|
272
|
-
<
|
273
|
-
type="checkbox"
|
267
|
+
<kendo-checkbox
|
274
268
|
kendoTreeListFocusable
|
275
|
-
[
|
276
|
-
|
277
|
-
|
269
|
+
[inputAttributes]="{'aria-label': messageFor('selectRowCheckboxLabel')}"
|
270
|
+
[checkedState]="selected"
|
271
|
+
></kendo-checkbox>
|
278
272
|
</ng-template>
|
279
273
|
<ng-container *ngIf="column.isRowReorderColumn && !isNew">
|
280
274
|
<kendo-icon-wrapper
|
@@ -304,27 +298,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
304
298
|
kendoTreeListFocusable
|
305
299
|
></kendo-datepicker>
|
306
300
|
|
307
|
-
<
|
301
|
+
<kendo-checkbox
|
308
302
|
*ngSwitchCase="'boolean'"
|
309
|
-
type="checkbox"
|
310
|
-
class="k-checkbox k-checkbox-md k-rounded-md"
|
311
303
|
[formControl]="$any(formGroup.get(column.field))"
|
312
304
|
kendoTreeListFocusable
|
313
|
-
|
305
|
+
></kendo-checkbox>
|
314
306
|
|
315
|
-
<
|
307
|
+
<kendo-textbox
|
316
308
|
*ngSwitchDefault
|
317
|
-
type="text"
|
318
|
-
class="k-textbox k-input k-input-md k-input-solid k-rounded-md"
|
319
309
|
[formControl]="$any(formGroup.get(column.field))"
|
320
310
|
kendoTreeListFocusable
|
321
|
-
|
311
|
+
></kendo-textbox>
|
322
312
|
</ng-container>
|
323
313
|
</ng-container>
|
324
314
|
</ng-container>
|
325
315
|
`,
|
326
316
|
standalone: true,
|
327
|
-
imports: [NgSwitch, NgSwitchCase, NgIf, NgFor, IconWrapperComponent, NgTemplateOutlet, FocusableDirective, NumericTextBoxComponent, ReactiveFormsModule, DatePickerComponent, NgSwitchDefault, FieldAccessorPipe, LevelItemsPipe]
|
317
|
+
imports: [NgSwitch, NgSwitchCase, NgIf, NgFor, IconWrapperComponent, NgTemplateOutlet, FocusableDirective, NumericTextBoxComponent, ReactiveFormsModule, DatePickerComponent, NgSwitchDefault, FieldAccessorPipe, LevelItemsPipe, CheckBoxComponent, TextBoxComponent]
|
328
318
|
}]
|
329
319
|
}], ctorParameters: function () { return [{ type: i1.EditService }, { type: i2.LocalizationService }, { type: i3.FocusGroup }]; }, propDecorators: { commandCellClass: [{
|
330
320
|
type: HostBinding,
|