@syncfusion/ej2-querybuilder 24.2.5 → 24.2.9

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 : 24.2.5
3
+ * version : 24.2.9
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@24.2.3",
3
+ "_id": "@syncfusion/ej2-querybuilder@24.2.8",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-MK1U0mgSzBGYV3HwEgBoRyoc2bcJzFFTHpogH3ih8WW1lJtiup/2bG6j9CyOp6m+J+R65DwmRgE3wSXUBPd89Q==",
5
+ "_integrity": "sha512-xNwR6dONcXxRCvZ32B9fD6m39auYyQnxbNRF5oPM2sKt5ado9TyQvIc5/9xxiZrDQ+FAlC/qDTsb88Q3ao4f1g==",
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-24.2.3.tgz",
27
- "_shasum": "90c82970d768eac82447c70470960eeccd572862",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-24.2.8.tgz",
27
+ "_shasum": "63932c8d748d6ddf307fa4a1cbed272d9bf9b6bc",
28
28
  "_spec": "@syncfusion/ej2-querybuilder@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
30
30
  "author": {
@@ -32,12 +32,12 @@
32
32
  },
33
33
  "bundleDependencies": false,
34
34
  "dependencies": {
35
- "@syncfusion/ej2-base": "~24.2.5",
36
- "@syncfusion/ej2-buttons": "~24.2.5",
37
- "@syncfusion/ej2-calendars": "~24.2.5",
38
- "@syncfusion/ej2-dropdowns": "~24.2.5",
39
- "@syncfusion/ej2-inputs": "~24.2.5",
40
- "@syncfusion/ej2-splitbuttons": "~24.2.5"
35
+ "@syncfusion/ej2-base": "~24.2.7",
36
+ "@syncfusion/ej2-buttons": "~24.2.7",
37
+ "@syncfusion/ej2-calendars": "~24.2.9",
38
+ "@syncfusion/ej2-dropdowns": "~24.2.9",
39
+ "@syncfusion/ej2-inputs": "~24.2.9",
40
+ "@syncfusion/ej2-splitbuttons": "~24.2.7"
41
41
  },
42
42
  "deprecated": false,
43
43
  "description": "Essential JS 2 QueryBuilder",
@@ -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": "24.2.5",
69
+ "version": "24.2.9",
70
70
  "sideEffects": false,
71
71
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
72
72
  }
@@ -1376,6 +1376,10 @@ var QueryBuilder = /** @class */ (function (_super) {
1376
1376
  if (this.fieldMode === 'Default') {
1377
1377
  dropDownObj = getComponent(closest(element, '.e-rule-container').querySelector('.e-filter-input'), 'dropdownlist');
1378
1378
  this.selectedColumn = dropDownObj.getDataByValue(dropDownObj.value);
1379
+ if (this.selectedColumn.columns) {
1380
+ dropDownObj = getComponent(closest(element, '.e-rule-container').querySelector('.e-rule-sub-filter .e-dropdownlist'), 'dropdownlist');
1381
+ this.selectedColumn = this.getColumn(dropDownObj.value);
1382
+ }
1379
1383
  }
1380
1384
  else {
1381
1385
  dropDownObj = getComponent(closest(element, '.e-rule-container').querySelector('.e-filter-input'), 'dropdowntree');
@@ -2986,12 +2990,6 @@ var QueryBuilder = /** @class */ (function (_super) {
2986
2990
  getComponent(element[i], 'dropdown-btn').destroy();
2987
2991
  detach(element[i]);
2988
2992
  }
2989
- popupElement = document.querySelectorAll('.qb-dropdownlist');
2990
- if (popupElement) {
2991
- for (i = 0; i < popupElement.length; i++) {
2992
- popupElement[i].remove();
2993
- }
2994
- }
2995
2993
  tooltip = this.element.querySelectorAll('.e-rule-filter .e-control.e-tooltip');
2996
2994
  for (i = 0; i < tooltip.length; i++) {
2997
2995
  getComponent(tooltip[i], 'tooltip').destroy();
@@ -3031,6 +3029,12 @@ var QueryBuilder = /** @class */ (function (_super) {
3031
3029
  if (this.portals && this.portals.length) {
3032
3030
  this.clearQBTemplate();
3033
3031
  }
3032
+ popupElement = document.querySelectorAll('.qb-dropdownlist');
3033
+ if (popupElement) {
3034
+ for (i = 0; i < popupElement.length; i++) {
3035
+ popupElement[i].remove();
3036
+ }
3037
+ }
3034
3038
  classList(this.element, [], ['e-rtl', 'e-responsive', 'e-device']);
3035
3039
  this.isDestroy = false;
3036
3040
  };
@@ -3718,6 +3722,10 @@ var QueryBuilder = /** @class */ (function (_super) {
3718
3722
  if (!(rule.rules[0] && rule.rules[0].rules)) {
3719
3723
  this.disableRuleCondition(groupElem, rule);
3720
3724
  }
3725
+ var tooltipElem = this.element.querySelectorAll('.e-tooltip');
3726
+ for (var i_3 = 0; i_3 < tooltipElem.length; i_3++) {
3727
+ getComponent(tooltipElem[i_3], 'tooltip').refresh(tooltipElem[i_3]);
3728
+ }
3721
3729
  if (!this.isImportRules) {
3722
3730
  this.trigger('change', args);
3723
3731
  }
@@ -1,63 +0,0 @@
1
- ### Bug description
2
-
3
- Clearly and concisely describe the problem or feature (this cannot be empty).
4
-
5
- ### Root cause
6
-
7
- Briefly describe the root cause and analysis of the problem.
8
- If there is an internal discussion on the forum, provide the link.
9
-
10
- ### Reason for not identifying earlier
11
-
12
- Find how it was missed in our earlier testing and development by analysing the below checklist. This will help prevent similar mistakes in the future.
13
-
14
- - [ ] Guidelines/documents are not followed
15
-
16
- - Common guidelines / Core team guideline
17
- - Specification document
18
- - Requirement document
19
-
20
- - [ ] Guidelines/documents are not given
21
-
22
-
23
- - Common guidelines / Core team guideline
24
- - Specification document
25
- - Requirement document
26
-
27
-
28
- ### Reason:
29
- Mention any one or more reasons from the above points.
30
-
31
- ### Action taken:
32
-
33
- What action did you take to avoid this in future?
34
-
35
- ### Related areas:
36
-
37
- Is there any other related areas also to be addressed?
38
-
39
-
40
- ### Is it a breaking issue?
41
-
42
- If it is a breaking issue, provide the commit detail which caused this break.
43
-
44
- ### Solution description
45
-
46
- Describe your code changes in detail for reviewers.
47
-
48
- ### Output screenshots
49
-
50
- Post the output screenshots if an UI is affected or added due to this bug.
51
-
52
- ### Areas affected and ensured
53
-
54
- List the areas affected by your code changes.
55
-
56
- ### Additional checklist
57
-
58
- - Did you run the automation against your fix?
59
- - Is there any API name change?
60
- - Is there any existing behavior change of other features due to this code change?
61
- - Does your new code introduce new warnings or binding errors?
62
- - Does your code pass all FxCop and StyleCop rules?
63
- - Did you record this case in the unit test or UI test?
@@ -1,39 +0,0 @@
1
- ### Feature description
2
-
3
- Clearly and concisely describe the problem or feature (this cannot be empty).
4
-
5
- ### Analysis and design
6
-
7
- If there is an external design, link to its project documentation area.
8
- If there is an internal discussion on the forum, provide the link.
9
-
10
- ### Solution description
11
-
12
- Describe your code changes in detail for reviewers.
13
-
14
- ### Output screenshots
15
-
16
- Post the output screenshots if an UI is affected or added due to this feature.
17
-
18
- ### Areas affected and ensured
19
-
20
- List the areas are affected by your code changes.
21
-
22
- ### Test cases
23
-
24
- Provide the unit testing written file details to understand the use cases considered in this implementation.
25
- If there is no TDD (if it’s not possible to follow), provide the UI automation script location and the Excel file that contains the use cases considered in this implementation.
26
- Provide the test cases Excel file alone if the feature cannot be automated in any case.
27
-
28
- ### Test bed sample location
29
-
30
- Provide the test bed sample location where code reviewers can review the new feature’s behaviors. This depends on the CI process that your team follows. It can be from NPMCI, HockeyApp, staging site, local server, etc.
31
-
32
- ### Additional checklist
33
-
34
- - Did you run the automation against your fix?
35
- - Is there any API name change?
36
- - Is there any existing behavior change of other features due to this code change?
37
- - Does your new code introduce new warnings or binding errors?
38
- - Does your code pass all FxCop and StyleCop rules?
39
- - Did you record this case in the unit test or UI test?