@syncfusion/ej2-querybuilder 32.1.24 → 32.2.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 32.1.24
3
+ * version : 32.2.3
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-querybuilder",
3
- "version": "32.1.24",
3
+ "version": "32.2.3",
4
4
  "description": "Essential JS 2 QueryBuilder",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,12 +8,12 @@
8
8
  "module": "./index.js",
9
9
  "es2015": "./dist/es6/ej2-querybuilder.es5.js",
10
10
  "dependencies": {
11
- "@syncfusion/ej2-base": "~32.1.24",
12
- "@syncfusion/ej2-buttons": "~32.1.24",
13
- "@syncfusion/ej2-calendars": "~32.1.24",
14
- "@syncfusion/ej2-dropdowns": "~32.1.24",
15
- "@syncfusion/ej2-inputs": "~32.1.24",
16
- "@syncfusion/ej2-splitbuttons": "~32.1.24"
11
+ "@syncfusion/ej2-base": "~32.2.3",
12
+ "@syncfusion/ej2-buttons": "~32.2.3",
13
+ "@syncfusion/ej2-calendars": "~32.2.3",
14
+ "@syncfusion/ej2-dropdowns": "~32.2.3",
15
+ "@syncfusion/ej2-inputs": "~32.2.3",
16
+ "@syncfusion/ej2-splitbuttons": "~32.2.3"
17
17
  },
18
18
  "devDependencies": {},
19
19
  "keywords": [
@@ -4251,10 +4251,13 @@ var QueryBuilder = /** @class */ (function (_super) {
4251
4251
  not = this.updatedRule.not;
4252
4252
  isLocked = this.updatedRule.isLocked;
4253
4253
  }
4254
- if (this.groupCloned) {
4254
+ if (this.groupCloned && this.target instanceof HTMLElement &&
4255
+ this.getGroup(this.target).rules.length > 1) {
4255
4256
  var parent_1 = this.element.querySelector('#' + groupID);
4256
4257
  var topLevelGroups = parent_1.querySelectorAll(':scope > .e-group-body > .e-rule-list > .e-group-container');
4257
- this.groupIndex = topLevelGroups.length > 1 ? topLevelGroups.length - 1 : 0;
4258
+ if (groupID !== 'querybuilder_group0') {
4259
+ this.groupIndex = topLevelGroups.length > 1 ? topLevelGroups.length - 1 : 0;
4260
+ }
4258
4261
  }
4259
4262
  if (this.groupIndex < 0) {
4260
4263
  if (this.enableNotCondition) {