@progress/kendo-angular-filter 17.3.0-develop.2 → 18.0.0-develop.2
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.
|
@@ -16,8 +16,8 @@ export class FilterBooleanEditorComponent {
|
|
|
16
16
|
cdr;
|
|
17
17
|
currentItem;
|
|
18
18
|
valueChange = new EventEmitter();
|
|
19
|
-
items
|
|
20
|
-
defaultItem
|
|
19
|
+
items;
|
|
20
|
+
defaultItem;
|
|
21
21
|
localizationSubscription;
|
|
22
22
|
constructor(localization, cdr) {
|
|
23
23
|
this.localization = localization;
|
|
@@ -29,6 +29,8 @@ export class FilterBooleanEditorComponent {
|
|
|
29
29
|
this.items = this.getValueItems();
|
|
30
30
|
this.cdr.detectChanges();
|
|
31
31
|
});
|
|
32
|
+
this.items = this.getValueItems();
|
|
33
|
+
this.defaultItem = this.getDefaultItem();
|
|
32
34
|
}
|
|
33
35
|
getDefaultItem() {
|
|
34
36
|
return { text: this.localization.get("filterBooleanAll"), value: null };
|
|
@@ -117,7 +117,7 @@ export class FilterComponent {
|
|
|
117
117
|
* Sets the initial `value` of the Filter component.
|
|
118
118
|
*/
|
|
119
119
|
set value(value) {
|
|
120
|
-
const clonedValue =
|
|
120
|
+
const clonedValue = structuredClone(value);
|
|
121
121
|
if (this.filtersTypeChanged(this.value, clonedValue)) {
|
|
122
122
|
// due to tracking group items by index, the filters should first be set to [] when the value is changed programmatically
|
|
123
123
|
this.currentFilter.filters = [];
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-filter',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '
|
|
12
|
+
publishDate: 1736256282,
|
|
13
|
+
version: '18.0.0-develop.2',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -230,8 +230,8 @@ const packageMetadata = {
|
|
|
230
230
|
name: '@progress/kendo-angular-filter',
|
|
231
231
|
productName: 'Kendo UI for Angular',
|
|
232
232
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
233
|
-
publishDate:
|
|
234
|
-
version: '
|
|
233
|
+
publishDate: 1736256282,
|
|
234
|
+
version: '18.0.0-develop.2',
|
|
235
235
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
236
236
|
};
|
|
237
237
|
|
|
@@ -689,8 +689,8 @@ class FilterBooleanEditorComponent {
|
|
|
689
689
|
cdr;
|
|
690
690
|
currentItem;
|
|
691
691
|
valueChange = new EventEmitter();
|
|
692
|
-
items
|
|
693
|
-
defaultItem
|
|
692
|
+
items;
|
|
693
|
+
defaultItem;
|
|
694
694
|
localizationSubscription;
|
|
695
695
|
constructor(localization, cdr) {
|
|
696
696
|
this.localization = localization;
|
|
@@ -702,6 +702,8 @@ class FilterBooleanEditorComponent {
|
|
|
702
702
|
this.items = this.getValueItems();
|
|
703
703
|
this.cdr.detectChanges();
|
|
704
704
|
});
|
|
705
|
+
this.items = this.getValueItems();
|
|
706
|
+
this.defaultItem = this.getDefaultItem();
|
|
705
707
|
}
|
|
706
708
|
getDefaultItem() {
|
|
707
709
|
return { text: this.localization.get("filterBooleanAll"), value: null };
|
|
@@ -1906,7 +1908,7 @@ class FilterComponent {
|
|
|
1906
1908
|
* Sets the initial `value` of the Filter component.
|
|
1907
1909
|
*/
|
|
1908
1910
|
set value(value) {
|
|
1909
|
-
const clonedValue =
|
|
1911
|
+
const clonedValue = structuredClone(value);
|
|
1910
1912
|
if (this.filtersTypeChanged(this.value, clonedValue)) {
|
|
1911
1913
|
// due to tracking group items by index, the filters should first be set to [] when the value is changed programmatically
|
|
1912
1914
|
this.currentFilter.filters = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-filter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0-develop.2",
|
|
4
4
|
"description": "Kendo UI Angular Filter",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -22,20 +22,20 @@
|
|
|
22
22
|
"@angular/platform-browser": "16 - 19",
|
|
23
23
|
"@progress/kendo-data-query": "^1.5.5",
|
|
24
24
|
"@progress/kendo-licensing": "^1.0.2",
|
|
25
|
-
"@progress/kendo-angular-buttons": "
|
|
26
|
-
"@progress/kendo-angular-common": "
|
|
27
|
-
"@progress/kendo-angular-dateinputs": "
|
|
28
|
-
"@progress/kendo-angular-dropdowns": "
|
|
29
|
-
"@progress/kendo-angular-inputs": "
|
|
30
|
-
"@progress/kendo-angular-intl": "
|
|
31
|
-
"@progress/kendo-angular-l10n": "
|
|
32
|
-
"@progress/kendo-angular-icons": "
|
|
33
|
-
"@progress/kendo-angular-label": "
|
|
25
|
+
"@progress/kendo-angular-buttons": "18.0.0-develop.2",
|
|
26
|
+
"@progress/kendo-angular-common": "18.0.0-develop.2",
|
|
27
|
+
"@progress/kendo-angular-dateinputs": "18.0.0-develop.2",
|
|
28
|
+
"@progress/kendo-angular-dropdowns": "18.0.0-develop.2",
|
|
29
|
+
"@progress/kendo-angular-inputs": "18.0.0-develop.2",
|
|
30
|
+
"@progress/kendo-angular-intl": "18.0.0-develop.2",
|
|
31
|
+
"@progress/kendo-angular-l10n": "18.0.0-develop.2",
|
|
32
|
+
"@progress/kendo-angular-icons": "18.0.0-develop.2",
|
|
33
|
+
"@progress/kendo-angular-label": "18.0.0-develop.2",
|
|
34
34
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"tslib": "^2.3.1",
|
|
38
|
-
"@progress/kendo-angular-schematics": "
|
|
38
|
+
"@progress/kendo-angular-schematics": "18.0.0-develop.2"
|
|
39
39
|
},
|
|
40
40
|
"schematics": "./schematics/collection.json",
|
|
41
41
|
"module": "fesm2022/progress-kendo-angular-filter.mjs",
|
|
@@ -4,12 +4,12 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'FilterModule', package: 'filter', peerDependencies: {
|
|
6
6
|
// peer deps of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '
|
|
8
|
-
'@progress/kendo-angular-popup': '
|
|
9
|
-
'@progress/kendo-angular-navigation': '
|
|
7
|
+
'@progress/kendo-angular-treeview': '18.0.0-develop.2',
|
|
8
|
+
'@progress/kendo-angular-popup': '18.0.0-develop.2',
|
|
9
|
+
'@progress/kendo-angular-navigation': '18.0.0-develop.2',
|
|
10
10
|
// peer dependency of kendo-angular-inputs
|
|
11
11
|
'@progress/kendo-drawing': '^1.16.0',
|
|
12
|
-
'@progress/kendo-angular-dialog': '
|
|
12
|
+
'@progress/kendo-angular-dialog': '18.0.0-develop.2',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|