@syncfusion/ej2-querybuilder 27.1.50 → 27.1.52

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 27.1.50
3
+ * version : 27.1.52
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-querybuilder@*",
3
- "_id": "@syncfusion/ej2-querybuilder@27.1.48",
3
+ "_id": "@syncfusion/ej2-querybuilder@27.1.50",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-cEvKWeSdVntNvWyDXiEhGGU4awcZgYtmp4BbVp6FZNU8HjIXUndWhxF7/QoDfk0e0y1/cgm/7NeLNc0Uh/9NUQ==",
5
+ "_integrity": "sha512-oh+4trQAObeD31Oka0XehomrkdbvgXeakCGKnHeiNWXW1YuNI3SWqMozsWhkcsyP7rmCq4vjfWgY1fBBvqOF+Q==",
6
6
  "_location": "/@syncfusion/ej2-querybuilder",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-querybuilder",
24
24
  "/@syncfusion/ej2-vue-querybuilder"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-27.1.48.tgz",
27
- "_shasum": "8508368e8dd760cdbd07ae932d9ac2d6f12262dc",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-27.1.50.tgz",
27
+ "_shasum": "ffba9ca17f5287645b8b643604a7fc08e2691b98",
28
28
  "_spec": "@syncfusion/ej2-querybuilder@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
30
30
  "author": {
@@ -32,10 +32,10 @@
32
32
  },
33
33
  "bundleDependencies": false,
34
34
  "dependencies": {
35
- "@syncfusion/ej2-base": "~27.1.50",
36
- "@syncfusion/ej2-buttons": "~27.1.50",
37
- "@syncfusion/ej2-calendars": "~27.1.50",
38
- "@syncfusion/ej2-dropdowns": "~27.1.50",
35
+ "@syncfusion/ej2-base": "~27.1.52",
36
+ "@syncfusion/ej2-buttons": "~27.1.51",
37
+ "@syncfusion/ej2-calendars": "~27.1.52",
38
+ "@syncfusion/ej2-dropdowns": "~27.1.52",
39
39
  "@syncfusion/ej2-inputs": "~27.1.50",
40
40
  "@syncfusion/ej2-splitbuttons": "~27.1.50"
41
41
  },
@@ -66,7 +66,7 @@
66
66
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/querybuilder"
67
67
  },
68
68
  "typings": "index.d.ts",
69
- "version": "27.1.50",
69
+ "version": "27.1.52",
70
70
  "sideEffects": false,
71
71
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
72
72
  }
@@ -2097,7 +2097,9 @@ var QueryBuilder = /** @class */ (function (_super) {
2097
2097
  if (isNaN(value) && elem.value.indexOf(decimalSeparator) !== -1) {
2098
2098
  value = this.intl.getNumberParser({ format: 'n' })(elem.value);
2099
2099
  }
2100
- numericTextBoxObj.value = value;
2100
+ if (!isNaN(value)) {
2101
+ numericTextBoxObj.value = value;
2102
+ }
2101
2103
  this.isNumInput = true;
2102
2104
  }
2103
2105
  }
@@ -3263,6 +3265,10 @@ var QueryBuilder = /** @class */ (function (_super) {
3263
3265
  }
3264
3266
  target.nextElementSibling.innerHTML = '';
3265
3267
  }
3268
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3269
+ if (this.isAngular && !isNullOrUndefined(prevItemData.key) && this.fieldMode === 'DropdownTree') {
3270
+ delete prevItemData.template;
3271
+ }
3266
3272
  }
3267
3273
  if (isRender) {
3268
3274
  this.validateValue(rule, closest(target, '.e-rule-container'));
@@ -3302,6 +3308,10 @@ var QueryBuilder = /** @class */ (function (_super) {
3302
3308
  }
3303
3309
  }
3304
3310
  this.renderControls(target, itemData, rule, tempRule, isTempRendered);
3311
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3312
+ if (this.isAngular && !isNullOrUndefined(itemData.key) && itemData.template && this.fieldMode === 'DropdownTree') {
3313
+ delete itemData.template;
3314
+ }
3305
3315
  }
3306
3316
  }
3307
3317
  else {