@syncfusion/ej2-querybuilder 27.1.53 → 27.1.57
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.
- package/dist/ej2-querybuilder.min.js +2 -2
- package/dist/ej2-querybuilder.umd.min.js +2 -2
- package/dist/ej2-querybuilder.umd.min.js.map +1 -1
- package/dist/es6/ej2-querybuilder.es2015.js +3 -3
- package/dist/es6/ej2-querybuilder.es2015.js.map +1 -1
- package/dist/es6/ej2-querybuilder.es5.js +3 -3
- package/dist/es6/ej2-querybuilder.es5.js.map +1 -1
- package/dist/global/ej2-querybuilder.min.js +2 -2
- package/dist/global/ej2-querybuilder.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -10
- package/src/query-builder/query-builder.js +3 -3
- package/styles/bootstrap-dark-lite.css +6 -0
- package/styles/bootstrap-dark.css +6 -0
- package/styles/bootstrap-lite.css +6 -0
- package/styles/bootstrap.css +6 -0
- package/styles/bootstrap4-lite.css +6 -0
- package/styles/bootstrap4.css +6 -0
- package/styles/bootstrap5-dark-lite.css +6 -0
- package/styles/bootstrap5-dark.css +6 -0
- package/styles/bootstrap5-lite.css +6 -0
- package/styles/bootstrap5.3-lite.css +6 -0
- package/styles/bootstrap5.3.css +6 -0
- package/styles/bootstrap5.css +6 -0
- package/styles/fabric-dark-lite.css +6 -0
- package/styles/fabric-dark.css +6 -0
- package/styles/fabric-lite.css +6 -0
- package/styles/fabric.css +6 -0
- package/styles/fluent-dark-lite.css +6 -0
- package/styles/fluent-dark.css +6 -0
- package/styles/fluent-lite.css +6 -0
- package/styles/fluent.css +6 -0
- package/styles/fluent2-lite.css +6 -0
- package/styles/fluent2.css +6 -0
- package/styles/highcontrast-light-lite.css +6 -0
- package/styles/highcontrast-light.css +6 -0
- package/styles/highcontrast-lite.css +6 -0
- package/styles/highcontrast.css +6 -0
- package/styles/material-dark-lite.css +6 -0
- package/styles/material-dark.css +6 -0
- package/styles/material-lite.css +6 -0
- package/styles/material.css +6 -0
- package/styles/material3-dark-lite.css +6 -0
- package/styles/material3-dark.css +6 -0
- package/styles/material3-lite.css +6 -0
- package/styles/material3.css +6 -0
- package/styles/query-builder/_layout.scss +4 -0
- package/styles/query-builder/bootstrap-dark.css +6 -0
- package/styles/query-builder/bootstrap.css +6 -0
- package/styles/query-builder/bootstrap4.css +6 -0
- package/styles/query-builder/bootstrap5-dark.css +6 -0
- package/styles/query-builder/bootstrap5.3.css +6 -0
- package/styles/query-builder/bootstrap5.css +6 -0
- package/styles/query-builder/fabric-dark.css +6 -0
- package/styles/query-builder/fabric.css +6 -0
- package/styles/query-builder/fluent-dark.css +6 -0
- package/styles/query-builder/fluent.css +6 -0
- package/styles/query-builder/fluent2.css +6 -0
- package/styles/query-builder/highcontrast-light.css +6 -0
- package/styles/query-builder/highcontrast.css +6 -0
- package/styles/query-builder/material-dark.css +6 -0
- package/styles/query-builder/material.css +6 -0
- package/styles/query-builder/material3-dark.css +6 -0
- package/styles/query-builder/material3.css +6 -0
- package/styles/query-builder/tailwind-dark.css +6 -0
- package/styles/query-builder/tailwind.css +6 -0
- package/styles/tailwind-dark-lite.css +6 -0
- package/styles/tailwind-dark.css +6 -0
- package/styles/tailwind-lite.css +6 -0
- package/styles/tailwind.css +6 -0
|
@@ -393,7 +393,7 @@ let QueryBuilder = class QueryBuilder extends Component {
|
|
|
393
393
|
if (target.tagName === 'SPAN') {
|
|
394
394
|
target = target.parentElement;
|
|
395
395
|
}
|
|
396
|
-
if (target.className.indexOf('e-collapse-rule') > -1) {
|
|
396
|
+
if (typeof target.className === 'string' && target.className.indexOf('e-collapse-rule') > -1) {
|
|
397
397
|
const animation = new Animation({ duration: 1000, delay: 0 });
|
|
398
398
|
if (this.element.querySelectorAll('.e-summary-content').length < 1) {
|
|
399
399
|
this.renderSummary();
|
|
@@ -407,7 +407,7 @@ let QueryBuilder = class QueryBuilder extends Component {
|
|
|
407
407
|
summaryElem.style.display = 'block';
|
|
408
408
|
txtareaElem.style.height = txtareaElem.scrollHeight + 'px';
|
|
409
409
|
}
|
|
410
|
-
if (target.tagName === 'BUTTON' && target.className.indexOf('e-qb-toggle') < 0) {
|
|
410
|
+
if (target.tagName === 'BUTTON' && typeof target.className === 'string' && target.className.indexOf('e-qb-toggle') < 0) {
|
|
411
411
|
const animation = new Animation({ duration: 1000, delay: 0 });
|
|
412
412
|
switch (true) {
|
|
413
413
|
case target.className.indexOf('e-removerule') > -1:
|
|
@@ -456,7 +456,7 @@ let QueryBuilder = class QueryBuilder extends Component {
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
else if ((target.tagName === 'LABEL' && target.parentElement.className.indexOf('e-btn-group') > -1) ||
|
|
459
|
-
target.className.indexOf('e-qb-toggle') > -1) {
|
|
459
|
+
(typeof target.className === 'string' && target.className.indexOf('e-qb-toggle') > -1)) {
|
|
460
460
|
const element = closest(target, '.e-group-container');
|
|
461
461
|
if (!this.headerTemplate) {
|
|
462
462
|
const forIdValue = target.getAttribute('for');
|