@syncfusion/ej2-querybuilder 27.2.2 → 27.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.
- 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 +9 -1
- package/dist/es6/ej2-querybuilder.es2015.js.map +1 -1
- package/dist/es6/ej2-querybuilder.es5.js +9 -1
- 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 +7 -7
- package/src/query-builder/query-builder.js +9 -1
- package/styles/bootstrap5-dark-lite.css +4 -0
- package/styles/bootstrap5-dark.css +4 -0
- package/styles/bootstrap5-lite.css +4 -0
- package/styles/bootstrap5.3-lite.css +4 -0
- package/styles/bootstrap5.3.css +4 -0
- package/styles/bootstrap5.css +4 -0
- package/styles/query-builder/bootstrap5-dark.css +4 -0
- package/styles/query-builder/bootstrap5.3.css +4 -0
- package/styles/query-builder/bootstrap5.css +4 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 27.2.
|
|
3
|
+
* version : 27.2.3
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-querybuilder@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-querybuilder@27.
|
|
3
|
+
"_id": "@syncfusion/ej2-querybuilder@27.2.2",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-9IeE7x5XmtJvFdGtXO2tkkTpGWrGe/wyXchDDS5XFddvd9Hwo3PwH8MHGXi2vvngG7/eGZIjdWf5oakcVF4ZiA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-querybuilder",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-querybuilder",
|
|
24
24
|
"/@syncfusion/ej2-vue-querybuilder"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-27.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-27.2.2.tgz",
|
|
27
|
+
"_shasum": "65cbe216afde230ba74ddf0c328b26419ef9b703",
|
|
28
28
|
"_spec": "@syncfusion/ej2-querybuilder@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@syncfusion/ej2-base": "~27.2.2",
|
|
36
36
|
"@syncfusion/ej2-buttons": "~27.2.2",
|
|
37
|
-
"@syncfusion/ej2-calendars": "~27.2.
|
|
38
|
-
"@syncfusion/ej2-dropdowns": "~27.2.
|
|
37
|
+
"@syncfusion/ej2-calendars": "~27.2.3",
|
|
38
|
+
"@syncfusion/ej2-dropdowns": "~27.2.3",
|
|
39
39
|
"@syncfusion/ej2-inputs": "~27.2.2",
|
|
40
40
|
"@syncfusion/ej2-splitbuttons": "~27.2.2"
|
|
41
41
|
},
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/querybuilder"
|
|
67
67
|
},
|
|
68
68
|
"typings": "index.d.ts",
|
|
69
|
-
"version": "27.2.
|
|
69
|
+
"version": "27.2.3",
|
|
70
70
|
"sideEffects": false,
|
|
71
71
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
72
72
|
}
|
|
@@ -2853,9 +2853,17 @@ var QueryBuilder = /** @class */ (function (_super) {
|
|
|
2853
2853
|
};
|
|
2854
2854
|
QueryBuilder.prototype.getItemData = function (parentId) {
|
|
2855
2855
|
var fieldObj = getComponent(document.getElementById(parentId + '_filterkey'), 'dropdownlist');
|
|
2856
|
+
var parentFieldObj = this.element.querySelector("#" + parentId);
|
|
2856
2857
|
if (this.fieldMode === 'DropdownTree') {
|
|
2857
2858
|
fieldObj = getComponent(document.getElementById(parentId + '_filterkey'), 'dropdowntree');
|
|
2858
2859
|
}
|
|
2860
|
+
else if (parentFieldObj) {
|
|
2861
|
+
var subFieldObjList = parentFieldObj.querySelectorAll('.e-rule-sub-filter');
|
|
2862
|
+
if (subFieldObjList.length > 0) {
|
|
2863
|
+
var lastSubFieldObj = subFieldObjList[subFieldObjList.length - 1].querySelector('.e-dropdownlist');
|
|
2864
|
+
fieldObj = getComponent(lastSubFieldObj, 'dropdownlist');
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2859
2867
|
return this.fieldMode === 'DropdownTree' ? this.getColumn(fieldObj.value[0]) : this.getColumn(fieldObj.value);
|
|
2860
2868
|
};
|
|
2861
2869
|
QueryBuilder.prototype.setDefaultValue = function (parentId, isArryValue, isNumber) {
|
|
@@ -3207,7 +3215,7 @@ var QueryBuilder = /** @class */ (function (_super) {
|
|
|
3207
3215
|
QueryBuilder.prototype.getPreviousItemData = function (prevItemData, column) {
|
|
3208
3216
|
if (this.isFieldClose && prevItemData) {
|
|
3209
3217
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3210
|
-
prevItemData = this.getColumn(prevItemData.value);
|
|
3218
|
+
prevItemData = this.getColumn(prevItemData.value ? prevItemData.value : prevItemData.field);
|
|
3211
3219
|
}
|
|
3212
3220
|
if (column && column.template && prevItemData && Object.keys(prevItemData).length < 4) {
|
|
3213
3221
|
prevItemData.template = column.template;
|
|
@@ -125,6 +125,10 @@
|
|
|
125
125
|
border-left-width: 0;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
129
|
+
background: transparent;
|
|
130
|
+
}
|
|
131
|
+
|
|
128
132
|
/* stylelint-disable-line no-empty-source */
|
|
129
133
|
/* stylelint-disable property-no-vendor-prefix */
|
|
130
134
|
@-webkit-keyframes material-spinner-rotate {
|
|
@@ -125,6 +125,10 @@
|
|
|
125
125
|
border-left-width: 0;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
129
|
+
background: transparent;
|
|
130
|
+
}
|
|
131
|
+
|
|
128
132
|
/* stylelint-disable-line no-empty-source */
|
|
129
133
|
/* stylelint-disable property-no-vendor-prefix */
|
|
130
134
|
@-webkit-keyframes material-spinner-rotate {
|
|
@@ -125,6 +125,10 @@
|
|
|
125
125
|
border-left-width: 0;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
129
|
+
background: transparent;
|
|
130
|
+
}
|
|
131
|
+
|
|
128
132
|
/* stylelint-disable-line no-empty-source */
|
|
129
133
|
/* stylelint-disable property-no-vendor-prefix */
|
|
130
134
|
@-webkit-keyframes material-spinner-rotate {
|
|
@@ -129,6 +129,10 @@
|
|
|
129
129
|
border-left-width: 0;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
133
|
+
background: transparent;
|
|
134
|
+
}
|
|
135
|
+
|
|
132
136
|
/* stylelint-disable-line no-empty-source */
|
|
133
137
|
/* stylelint-disable property-no-vendor-prefix */
|
|
134
138
|
@-webkit-keyframes material-spinner-rotate {
|
package/styles/bootstrap5.3.css
CHANGED
|
@@ -129,6 +129,10 @@
|
|
|
129
129
|
border-left-width: 0;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
133
|
+
background: transparent;
|
|
134
|
+
}
|
|
135
|
+
|
|
132
136
|
/* stylelint-disable-line no-empty-source */
|
|
133
137
|
/* stylelint-disable property-no-vendor-prefix */
|
|
134
138
|
@-webkit-keyframes material-spinner-rotate {
|
package/styles/bootstrap5.css
CHANGED
|
@@ -125,6 +125,10 @@
|
|
|
125
125
|
border-left-width: 0;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
129
|
+
background: transparent;
|
|
130
|
+
}
|
|
131
|
+
|
|
128
132
|
/* stylelint-disable-line no-empty-source */
|
|
129
133
|
/* stylelint-disable property-no-vendor-prefix */
|
|
130
134
|
@-webkit-keyframes material-spinner-rotate {
|
|
@@ -125,6 +125,10 @@
|
|
|
125
125
|
border-left-width: 0;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
129
|
+
background: transparent;
|
|
130
|
+
}
|
|
131
|
+
|
|
128
132
|
/* stylelint-disable-line no-empty-source */
|
|
129
133
|
/* stylelint-disable property-no-vendor-prefix */
|
|
130
134
|
@-webkit-keyframes material-spinner-rotate {
|
|
@@ -129,6 +129,10 @@
|
|
|
129
129
|
border-left-width: 0;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
133
|
+
background: transparent;
|
|
134
|
+
}
|
|
135
|
+
|
|
132
136
|
/* stylelint-disable-line no-empty-source */
|
|
133
137
|
/* stylelint-disable property-no-vendor-prefix */
|
|
134
138
|
@-webkit-keyframes material-spinner-rotate {
|
|
@@ -125,6 +125,10 @@
|
|
|
125
125
|
border-left-width: 0;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
129
|
+
background: transparent;
|
|
130
|
+
}
|
|
131
|
+
|
|
128
132
|
/* stylelint-disable-line no-empty-source */
|
|
129
133
|
/* stylelint-disable property-no-vendor-prefix */
|
|
130
134
|
@-webkit-keyframes material-spinner-rotate {
|