@syncfusion/ej2-querybuilder 20.4.40 → 20.4.42

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.
@@ -929,7 +929,6 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
929
929
  glueElem.appendChild(inputElem);
930
930
  }
931
931
  inputElem = this.createElement('input', { attrs: { type: 'radio', class: 'e-btngroup-and', value: 'AND' } });
932
- inputElem.setAttribute('checked', 'true');
933
932
  glueElem.appendChild(inputElem);
934
933
  labelElem = this.createElement('label', { attrs: { class: 'e-lib e-btn e-btngroup-and-lbl e-small' },
935
934
  innerHTML: this.l10n.getConstant('AND') });
@@ -2140,6 +2139,7 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
2140
2139
  }
2141
2140
  var numeric = new NumericTextBox(numericTxt);
2142
2141
  numeric.appendTo('#' + parentId + '_valuekey' + idx);
2142
+ numeric.element.setAttribute('aria-label', itemData.label + ' ' + 'Value');
2143
2143
  }
2144
2144
  };
2145
2145
  QueryBuilder.prototype.processValueString = function (value, type) {
@@ -2985,7 +2985,7 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
2985
2985
  QueryBuilder.prototype.initWrapper = function () {
2986
2986
  this.isInitialLoad = true;
2987
2987
  if (this.cssClass) {
2988
- addClass([this.element], this.cssClass);
2988
+ addClass([this.element], this.cssClass.replace(/\s+/g, ' ').trim().split(' '));
2989
2989
  }
2990
2990
  if (this.enableRtl) {
2991
2991
  addClass([this.element], 'e-rtl');
@@ -3175,7 +3175,7 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
3175
3175
  removeClass([this.element], oldProp.cssClass.split(' '));
3176
3176
  }
3177
3177
  if (newProp.cssClass) {
3178
- addClass([this.element], newProp.cssClass.split(' '));
3178
+ addClass([this.element], newProp.cssClass.replace(/\s+/g, ' ').trim().split(' '));
3179
3179
  }
3180
3180
  break;
3181
3181
  case 'enableRtl':