@syncfusion/ej2-querybuilder 29.2.8 → 30.1.37

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 : 29.2.8
3
+ * version : 30.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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": "29.2.8",
3
+ "version": "30.1.37",
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": "~29.2.4",
12
- "@syncfusion/ej2-buttons": "~29.2.5",
13
- "@syncfusion/ej2-calendars": "~29.2.5",
14
- "@syncfusion/ej2-dropdowns": "~29.2.8",
15
- "@syncfusion/ej2-inputs": "~29.2.5",
16
- "@syncfusion/ej2-splitbuttons": "~29.2.4"
11
+ "@syncfusion/ej2-base": "~30.1.37",
12
+ "@syncfusion/ej2-buttons": "~30.1.37",
13
+ "@syncfusion/ej2-calendars": "~30.1.37",
14
+ "@syncfusion/ej2-dropdowns": "~30.1.37",
15
+ "@syncfusion/ej2-inputs": "~30.1.37",
16
+ "@syncfusion/ej2-splitbuttons": "~30.1.37"
17
17
  },
18
18
  "devDependencies": {},
19
19
  "keywords": [
@@ -167,6 +167,7 @@ export interface RuleModel {
167
167
  /**
168
168
  * Specifies whether rule is locked or not.
169
169
  *
170
+ * @aspType bool?
170
171
  * @default null
171
172
  */
172
173
  isLocked?: boolean;
@@ -154,6 +154,7 @@ export declare class Rule extends ChildProperty<Rule> {
154
154
  /**
155
155
  * Specifies whether rule is locked or not.
156
156
  *
157
+ * @aspType bool?
157
158
  * @default null
158
159
  */
159
160
  isLocked: boolean;
@@ -533,7 +533,15 @@ var QueryBuilder = /** @class */ (function (_super) {
533
533
  targetValue = document.getElementById(forIdValue).getAttribute('value');
534
534
  }
535
535
  else if (this.enableSeparateConnector) {
536
- targetValue = target.textContent;
536
+ if (target.classList.contains('e-btngroup-or-lbl')) {
537
+ targetValue = 'or';
538
+ }
539
+ else if (target.classList.contains('e-btngroup-and-lbl')) {
540
+ targetValue = 'and';
541
+ }
542
+ else {
543
+ targetValue = target.textContent;
544
+ }
537
545
  }
538
546
  groupID = element.id.replace(this.element.id + '_', '');
539
547
  var group = this.getGroup(groupID);
@@ -1343,7 +1351,7 @@ var QueryBuilder = /** @class */ (function (_super) {
1343
1351
  else {
1344
1352
  dragClsName = 'e-icons e-drag-qb-rule e-hidden';
1345
1353
  }
1346
- var spanDragElement = this.createElement('span', { attrs: { class: dragClsName, 'aria-lable': 'drag handle',
1354
+ var spanDragElement = this.createElement('span', { attrs: { class: dragClsName, 'aria-label': 'drag handle',
1347
1355
  title: 'drag handle' } });
1348
1356
  groupHdrElem.appendChild(spanDragElement);
1349
1357
  var className = this.enableSeparateConnector && !isConnector ? 'e-lib e-btn-group e-qb-toggle-btn' : 'e-lib e-btn-group';
@@ -1401,7 +1409,7 @@ var QueryBuilder = /** @class */ (function (_super) {
1401
1409
  else {
1402
1410
  dragClsName = 'e-icons e-drag-qb-rule e-hidden';
1403
1411
  }
1404
- var spanDragElement = this.createElement('span', { attrs: { class: dragClsName, 'aria-lable': 'drag handle',
1412
+ var spanDragElement = this.createElement('span', { attrs: { class: dragClsName, 'aria-label': 'drag handle',
1405
1413
  title: 'drag handle' } });
1406
1414
  fieldElem.appendChild(spanDragElement);
1407
1415
  var filterElem = this.createElement('input', { attrs: { type: 'text', class: 'e-filter-input' } });