@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 27.2.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.1.58",
3
+ "_id": "@syncfusion/ej2-querybuilder@27.2.2",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-GP3/eO4mDiKkSUrJ9OILXUzhsBJ4TkETBnMfKw6MYL26oyTtYKp2UerbWggfsCzQmHonq30eE4VkEFOfxntbsQ==",
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.1.58.tgz",
27
- "_shasum": "157b3f75eb335fa1d7dc22bd89e1472b1759869d",
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.2",
38
- "@syncfusion/ej2-dropdowns": "~27.2.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.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 {
@@ -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 {
@@ -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 {