@progress/kendo-angular-treelist 22.1.0-develop.14 → 22.1.0-develop.16
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.
|
@@ -50,7 +50,7 @@ const packageMetadata = {
|
|
|
50
50
|
productCode: 'KENDOUIANGULAR',
|
|
51
51
|
productCodes: ['KENDOUIANGULAR'],
|
|
52
52
|
publishDate: 0,
|
|
53
|
-
version: '22.1.0-develop.
|
|
53
|
+
version: '22.1.0-develop.16',
|
|
54
54
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -12615,7 +12615,12 @@ class FilterMenuContainerComponent {
|
|
|
12615
12615
|
* The column with which the filter is associated.
|
|
12616
12616
|
* @type {ColumnComponent}
|
|
12617
12617
|
*/
|
|
12618
|
-
column
|
|
12618
|
+
set column(value) {
|
|
12619
|
+
this._column = value;
|
|
12620
|
+
}
|
|
12621
|
+
get column() {
|
|
12622
|
+
return this._column;
|
|
12623
|
+
}
|
|
12619
12624
|
/**
|
|
12620
12625
|
* @hidden
|
|
12621
12626
|
*/
|
|
@@ -12653,10 +12658,12 @@ class FilterMenuContainerComponent {
|
|
|
12653
12658
|
}
|
|
12654
12659
|
resetButton;
|
|
12655
12660
|
filterButton;
|
|
12661
|
+
_column;
|
|
12656
12662
|
_childFilter;
|
|
12657
12663
|
subscription;
|
|
12658
12664
|
_templateContext = {};
|
|
12659
12665
|
_filter;
|
|
12666
|
+
_clearDisabled = true;
|
|
12660
12667
|
constructor(parentService, childService, localization, cd, menuTabbingService) {
|
|
12661
12668
|
this.parentService = parentService;
|
|
12662
12669
|
this.childService = childService;
|
|
@@ -12682,6 +12689,12 @@ class FilterMenuContainerComponent {
|
|
|
12682
12689
|
get disabled() {
|
|
12683
12690
|
return !this.childFilter.filters.some(validFilters);
|
|
12684
12691
|
}
|
|
12692
|
+
get clearDisabled() {
|
|
12693
|
+
if (!this.column || !this.filter) {
|
|
12694
|
+
return true;
|
|
12695
|
+
}
|
|
12696
|
+
return !filtersByField(this.filter, this.column.field).length;
|
|
12697
|
+
}
|
|
12685
12698
|
get templateContext() {
|
|
12686
12699
|
this._templateContext.column = this.column;
|
|
12687
12700
|
this._templateContext.filter = this.childFilter;
|
|
@@ -12707,6 +12720,9 @@ class FilterMenuContainerComponent {
|
|
|
12707
12720
|
return false;
|
|
12708
12721
|
}
|
|
12709
12722
|
reset() {
|
|
12723
|
+
if (this.clearDisabled) {
|
|
12724
|
+
return;
|
|
12725
|
+
}
|
|
12710
12726
|
const root = this.filter || {
|
|
12711
12727
|
filters: [],
|
|
12712
12728
|
logic: "and"
|
|
@@ -12768,10 +12784,14 @@ class FilterMenuContainerComponent {
|
|
|
12768
12784
|
class="k-button-rectangle"
|
|
12769
12785
|
[disabled]="disabled"
|
|
12770
12786
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
12771
|
-
<button kendoButton
|
|
12772
|
-
#resetButton
|
|
12787
|
+
<button #resetButton kendoButton
|
|
12773
12788
|
type="reset"
|
|
12774
12789
|
class="k-button-rectangle"
|
|
12790
|
+
[class.k-disabled]="clearDisabled"
|
|
12791
|
+
[attr.aria-disabled]="clearDisabled"
|
|
12792
|
+
(click)="reset()"
|
|
12793
|
+
(keydown.space)="clearDisabled ? $event.preventDefault() : reset()"
|
|
12794
|
+
(keydown.enter)="clearDisabled ? $event.preventDefault() : reset()"
|
|
12775
12795
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
12776
12796
|
</div>
|
|
12777
12797
|
</div>
|
|
@@ -12818,10 +12838,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12818
12838
|
class="k-button-rectangle"
|
|
12819
12839
|
[disabled]="disabled"
|
|
12820
12840
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
12821
|
-
<button kendoButton
|
|
12822
|
-
#resetButton
|
|
12841
|
+
<button #resetButton kendoButton
|
|
12823
12842
|
type="reset"
|
|
12824
12843
|
class="k-button-rectangle"
|
|
12844
|
+
[class.k-disabled]="clearDisabled"
|
|
12845
|
+
[attr.aria-disabled]="clearDisabled"
|
|
12846
|
+
(click)="reset()"
|
|
12847
|
+
(keydown.space)="clearDisabled ? $event.preventDefault() : reset()"
|
|
12848
|
+
(keydown.enter)="clearDisabled ? $event.preventDefault() : reset()"
|
|
12825
12849
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
12826
12850
|
</div>
|
|
12827
12851
|
</div>
|
|
@@ -13002,9 +13026,9 @@ class ColumnMenuItemComponent {
|
|
|
13002
13026
|
[attr.aria-controls]="expanded ? contentId : undefined">
|
|
13003
13027
|
<kendo-icon-wrapper
|
|
13004
13028
|
[name]="icon"
|
|
13005
|
-
[svgIcon]="svgIcon"></kendo-icon-wrapper
|
|
13006
|
-
{{ text }}
|
|
13007
|
-
|
|
13029
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper><!-- avoid extra spaces in the rendered HTML
|
|
13030
|
+
-->{{ text }}<!--
|
|
13031
|
+
-->@if (contentTemplate) {
|
|
13008
13032
|
<span class="k-spacer"></span>
|
|
13009
13033
|
}
|
|
13010
13034
|
@if (contentTemplate) {
|
|
@@ -13023,7 +13047,7 @@ class ColumnMenuItemComponent {
|
|
|
13023
13047
|
</div>
|
|
13024
13048
|
}
|
|
13025
13049
|
}
|
|
13026
|
-
|
|
13050
|
+
|
|
13027
13051
|
<ng-template #content>
|
|
13028
13052
|
<div
|
|
13029
13053
|
class="k-columnmenu-item"
|
|
@@ -13036,9 +13060,9 @@ class ColumnMenuItemComponent {
|
|
|
13036
13060
|
[attr.aria-controls]="expanded ? contentId : undefined">
|
|
13037
13061
|
<kendo-icon-wrapper
|
|
13038
13062
|
[name]="icon"
|
|
13039
|
-
|
|
13040
|
-
{{ text }}
|
|
13041
|
-
|
|
13063
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper><!-- avoid extra spaces in the rendered HTML
|
|
13064
|
+
-->{{ text }}<!--
|
|
13065
|
+
-->@if (contentTemplate) {
|
|
13042
13066
|
<span class="k-spacer"></span>
|
|
13043
13067
|
}
|
|
13044
13068
|
@if (contentTemplate) {
|
|
@@ -13125,9 +13149,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13125
13149
|
[attr.aria-controls]="expanded ? contentId : undefined">
|
|
13126
13150
|
<kendo-icon-wrapper
|
|
13127
13151
|
[name]="icon"
|
|
13128
|
-
[svgIcon]="svgIcon"></kendo-icon-wrapper
|
|
13129
|
-
{{ text }}
|
|
13130
|
-
|
|
13152
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper><!-- avoid extra spaces in the rendered HTML
|
|
13153
|
+
-->{{ text }}<!--
|
|
13154
|
+
-->@if (contentTemplate) {
|
|
13131
13155
|
<span class="k-spacer"></span>
|
|
13132
13156
|
}
|
|
13133
13157
|
@if (contentTemplate) {
|
|
@@ -13146,7 +13170,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13146
13170
|
</div>
|
|
13147
13171
|
}
|
|
13148
13172
|
}
|
|
13149
|
-
|
|
13173
|
+
|
|
13150
13174
|
<ng-template #content>
|
|
13151
13175
|
<div
|
|
13152
13176
|
class="k-columnmenu-item"
|
|
@@ -13159,9 +13183,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13159
13183
|
[attr.aria-controls]="expanded ? contentId : undefined">
|
|
13160
13184
|
<kendo-icon-wrapper
|
|
13161
13185
|
[name]="icon"
|
|
13162
|
-
|
|
13163
|
-
{{ text }}
|
|
13164
|
-
|
|
13186
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper><!-- avoid extra spaces in the rendered HTML
|
|
13187
|
+
-->{{ text }}<!--
|
|
13188
|
+
-->@if (contentTemplate) {
|
|
13165
13189
|
<span class="k-spacer"></span>
|
|
13166
13190
|
}
|
|
13167
13191
|
@if (contentTemplate) {
|
|
@@ -22,7 +22,8 @@ export declare class FilterMenuContainerComponent implements AfterViewChecked, O
|
|
|
22
22
|
* The column with which the filter is associated.
|
|
23
23
|
* @type {ColumnComponent}
|
|
24
24
|
*/
|
|
25
|
-
column: ColumnComponent;
|
|
25
|
+
set column(value: ColumnComponent);
|
|
26
|
+
get column(): ColumnComponent;
|
|
26
27
|
/**
|
|
27
28
|
* @hidden
|
|
28
29
|
*/
|
|
@@ -48,15 +49,18 @@ export declare class FilterMenuContainerComponent implements AfterViewChecked, O
|
|
|
48
49
|
get childFilter(): CompositeFilterDescriptor;
|
|
49
50
|
private resetButton;
|
|
50
51
|
private filterButton;
|
|
52
|
+
private _column;
|
|
51
53
|
private _childFilter;
|
|
52
54
|
private subscription;
|
|
53
55
|
private _templateContext;
|
|
54
56
|
private _filter;
|
|
57
|
+
private _clearDisabled;
|
|
55
58
|
constructor(parentService: FilterService, childService: FilterService, localization: LocalizationService, cd: ChangeDetectorRef, menuTabbingService: MenuTabbingService);
|
|
56
59
|
ngOnInit(): void;
|
|
57
60
|
ngAfterViewChecked(): void;
|
|
58
61
|
ngOnDestroy(): void;
|
|
59
62
|
get disabled(): boolean;
|
|
63
|
+
get clearDisabled(): boolean;
|
|
60
64
|
get templateContext(): any;
|
|
61
65
|
get hasTemplate(): boolean;
|
|
62
66
|
submit(): boolean;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "22.1.0-develop.
|
|
10
|
+
"publishDate": 1770047442,
|
|
11
|
+
"version": "22.1.0-develop.16",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-treelist",
|
|
3
|
-
"version": "22.1.0-develop.
|
|
3
|
+
"version": "22.1.0-develop.16",
|
|
4
4
|
"description": "Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"package": {
|
|
25
25
|
"productName": "Kendo UI for Angular",
|
|
26
26
|
"productCode": "KENDOUIANGULAR",
|
|
27
|
-
"publishDate":
|
|
27
|
+
"publishDate": 1770047442,
|
|
28
28
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
@@ -34,29 +34,29 @@
|
|
|
34
34
|
"@angular/core": "19 - 21",
|
|
35
35
|
"@angular/forms": "19 - 21",
|
|
36
36
|
"@angular/platform-browser": "19 - 21",
|
|
37
|
-
"@progress/kendo-data-query": "^1.
|
|
37
|
+
"@progress/kendo-data-query": "^1.7.3",
|
|
38
38
|
"@progress/kendo-drawing": "^1.23.1",
|
|
39
39
|
"@progress/kendo-licensing": "^1.10.0",
|
|
40
|
-
"@progress/kendo-angular-buttons": "22.1.0-develop.
|
|
41
|
-
"@progress/kendo-angular-common": "22.1.0-develop.
|
|
42
|
-
"@progress/kendo-angular-dateinputs": "22.1.0-develop.
|
|
43
|
-
"@progress/kendo-angular-dropdowns": "22.1.0-develop.
|
|
44
|
-
"@progress/kendo-angular-excel-export": "22.1.0-develop.
|
|
45
|
-
"@progress/kendo-angular-icons": "22.1.0-develop.
|
|
46
|
-
"@progress/kendo-angular-inputs": "22.1.0-develop.
|
|
47
|
-
"@progress/kendo-angular-intl": "22.1.0-develop.
|
|
48
|
-
"@progress/kendo-angular-l10n": "22.1.0-develop.
|
|
49
|
-
"@progress/kendo-angular-label": "22.1.0-develop.
|
|
50
|
-
"@progress/kendo-angular-pager": "22.1.0-develop.
|
|
51
|
-
"@progress/kendo-angular-pdf-export": "22.1.0-develop.
|
|
52
|
-
"@progress/kendo-angular-popup": "22.1.0-develop.
|
|
53
|
-
"@progress/kendo-angular-toolbar": "22.1.0-develop.
|
|
54
|
-
"@progress/kendo-angular-utils": "22.1.0-develop.
|
|
40
|
+
"@progress/kendo-angular-buttons": "22.1.0-develop.16",
|
|
41
|
+
"@progress/kendo-angular-common": "22.1.0-develop.16",
|
|
42
|
+
"@progress/kendo-angular-dateinputs": "22.1.0-develop.16",
|
|
43
|
+
"@progress/kendo-angular-dropdowns": "22.1.0-develop.16",
|
|
44
|
+
"@progress/kendo-angular-excel-export": "22.1.0-develop.16",
|
|
45
|
+
"@progress/kendo-angular-icons": "22.1.0-develop.16",
|
|
46
|
+
"@progress/kendo-angular-inputs": "22.1.0-develop.16",
|
|
47
|
+
"@progress/kendo-angular-intl": "22.1.0-develop.16",
|
|
48
|
+
"@progress/kendo-angular-l10n": "22.1.0-develop.16",
|
|
49
|
+
"@progress/kendo-angular-label": "22.1.0-develop.16",
|
|
50
|
+
"@progress/kendo-angular-pager": "22.1.0-develop.16",
|
|
51
|
+
"@progress/kendo-angular-pdf-export": "22.1.0-develop.16",
|
|
52
|
+
"@progress/kendo-angular-popup": "22.1.0-develop.16",
|
|
53
|
+
"@progress/kendo-angular-toolbar": "22.1.0-develop.16",
|
|
54
|
+
"@progress/kendo-angular-utils": "22.1.0-develop.16",
|
|
55
55
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"tslib": "^2.3.1",
|
|
59
|
-
"@progress/kendo-angular-schematics": "22.1.0-develop.
|
|
59
|
+
"@progress/kendo-angular-schematics": "22.1.0-develop.16",
|
|
60
60
|
"@progress/kendo-common": "^1.0.1",
|
|
61
61
|
"@progress/kendo-file-saver": "^1.0.0"
|
|
62
62
|
},
|
|
@@ -9,13 +9,13 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TreeListModule', package: 'treelist', peerDependencies: {
|
|
11
11
|
// peer dep of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '22.1.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '22.1.0-develop.16',
|
|
13
13
|
// peer dependency of kendo-angular-inputs
|
|
14
|
-
'@progress/kendo-angular-dialog': '22.1.0-develop.
|
|
14
|
+
'@progress/kendo-angular-dialog': '22.1.0-develop.16',
|
|
15
15
|
// peer dependency of kendo-angular-icons
|
|
16
16
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
17
17
|
// peer dependency of kendo-angular-dateinputs
|
|
18
|
-
'@progress/kendo-angular-navigation': '22.1.0-develop.
|
|
18
|
+
'@progress/kendo-angular-navigation': '22.1.0-develop.16',
|
|
19
19
|
} });
|
|
20
20
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
21
21
|
}
|