@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.
@@ -469,7 +469,15 @@ let QueryBuilder = class QueryBuilder extends Component {
469
469
  targetValue = document.getElementById(forIdValue).getAttribute('value');
470
470
  }
471
471
  else if (this.enableSeparateConnector) {
472
- targetValue = target.textContent;
472
+ if (target.classList.contains('e-btngroup-or-lbl')) {
473
+ targetValue = 'or';
474
+ }
475
+ else if (target.classList.contains('e-btngroup-and-lbl')) {
476
+ targetValue = 'and';
477
+ }
478
+ else {
479
+ targetValue = target.textContent;
480
+ }
473
481
  }
474
482
  groupID = element.id.replace(this.element.id + '_', '');
475
483
  const group = this.getGroup(groupID);
@@ -1276,7 +1284,7 @@ let QueryBuilder = class QueryBuilder extends Component {
1276
1284
  else {
1277
1285
  dragClsName = 'e-icons e-drag-qb-rule e-hidden';
1278
1286
  }
1279
- const spanDragElement = this.createElement('span', { attrs: { class: dragClsName, 'aria-lable': 'drag handle',
1287
+ const spanDragElement = this.createElement('span', { attrs: { class: dragClsName, 'aria-label': 'drag handle',
1280
1288
  title: 'drag handle' } });
1281
1289
  groupHdrElem.appendChild(spanDragElement);
1282
1290
  const className = this.enableSeparateConnector && !isConnector ? 'e-lib e-btn-group e-qb-toggle-btn' : 'e-lib e-btn-group';
@@ -1334,7 +1342,7 @@ let QueryBuilder = class QueryBuilder extends Component {
1334
1342
  else {
1335
1343
  dragClsName = 'e-icons e-drag-qb-rule e-hidden';
1336
1344
  }
1337
- const spanDragElement = this.createElement('span', { attrs: { class: dragClsName, 'aria-lable': 'drag handle',
1345
+ const spanDragElement = this.createElement('span', { attrs: { class: dragClsName, 'aria-label': 'drag handle',
1338
1346
  title: 'drag handle' } });
1339
1347
  fieldElem.appendChild(spanDragElement);
1340
1348
  const filterElem = this.createElement('input', { attrs: { type: 'text', class: 'e-filter-input' } });