@progress/kendo-angular-filter 18.0.0-develop.1 → 18.0.0-develop.3

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 = this.getValueItems();
20
- defaultItem = this.getDefaultItem();
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 = JSON.parse(JSON.stringify(value));
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: 1736250086,
13
- version: '18.0.0-develop.1',
12
+ publishDate: 1736260966,
13
+ version: '18.0.0-develop.3',
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: 1736250086,
234
- version: '18.0.0-develop.1',
233
+ publishDate: 1736260966,
234
+ version: '18.0.0-develop.3',
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 = this.getValueItems();
693
- defaultItem = this.getDefaultItem();
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 = JSON.parse(JSON.stringify(value));
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": "18.0.0-develop.1",
3
+ "version": "18.0.0-develop.3",
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": "18.0.0-develop.1",
26
- "@progress/kendo-angular-common": "18.0.0-develop.1",
27
- "@progress/kendo-angular-dateinputs": "18.0.0-develop.1",
28
- "@progress/kendo-angular-dropdowns": "18.0.0-develop.1",
29
- "@progress/kendo-angular-inputs": "18.0.0-develop.1",
30
- "@progress/kendo-angular-intl": "18.0.0-develop.1",
31
- "@progress/kendo-angular-l10n": "18.0.0-develop.1",
32
- "@progress/kendo-angular-icons": "18.0.0-develop.1",
33
- "@progress/kendo-angular-label": "18.0.0-develop.1",
25
+ "@progress/kendo-angular-buttons": "18.0.0-develop.3",
26
+ "@progress/kendo-angular-common": "18.0.0-develop.3",
27
+ "@progress/kendo-angular-dateinputs": "18.0.0-develop.3",
28
+ "@progress/kendo-angular-dropdowns": "18.0.0-develop.3",
29
+ "@progress/kendo-angular-inputs": "18.0.0-develop.3",
30
+ "@progress/kendo-angular-intl": "18.0.0-develop.3",
31
+ "@progress/kendo-angular-l10n": "18.0.0-develop.3",
32
+ "@progress/kendo-angular-icons": "18.0.0-develop.3",
33
+ "@progress/kendo-angular-label": "18.0.0-develop.3",
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": "18.0.0-develop.1"
38
+ "@progress/kendo-angular-schematics": "18.0.0-develop.3"
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': '18.0.0-develop.1',
8
- '@progress/kendo-angular-popup': '18.0.0-develop.1',
9
- '@progress/kendo-angular-navigation': '18.0.0-develop.1',
7
+ '@progress/kendo-angular-treeview': '18.0.0-develop.3',
8
+ '@progress/kendo-angular-popup': '18.0.0-develop.3',
9
+ '@progress/kendo-angular-navigation': '18.0.0-develop.3',
10
10
  // peer dependency of kendo-angular-inputs
11
11
  '@progress/kendo-drawing': '^1.16.0',
12
- '@progress/kendo-angular-dialog': '18.0.0-develop.1',
12
+ '@progress/kendo-angular-dialog': '18.0.0-develop.3',
13
13
  // Peer dependency of icons
14
14
  '@progress/kendo-svg-icons': '^4.0.0'
15
15
  } });