@syncfusion/ej2-querybuilder 19.4.55 → 19.4.56

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 : 19.4.55
3
+ * version : 19.4.56
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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@19.4.53",
3
+ "_id": "@syncfusion/ej2-querybuilder@19.4.55",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-wjydgzJ6JoacRoDcF7M7iXFfMoQbz2yvFWFdm5GBdcIMocU9H006IRzsODPTN/chUwep6Z/FglbDrx/e/uiLfg==",
5
+ "_integrity": "sha512-jsPRny5G8dpM1RN5ZKE82yL0csUXm3dXmdj/PNyVzrpjsGkZipJvdVFlok6l7d+pT7aBNIPTHw88i50tCFSW6A==",
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": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-19.4.53.tgz",
27
- "_shasum": "0483a7a0bbce16c90279e698024edb294ad25e78",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-19.4.55.tgz",
27
+ "_shasum": "2d8f95a9125ee6b641849a560133117dd300cae2",
28
28
  "_spec": "@syncfusion/ej2-querybuilder@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -34,8 +34,8 @@
34
34
  "dependencies": {
35
35
  "@syncfusion/ej2-base": "~19.4.52",
36
36
  "@syncfusion/ej2-buttons": "~19.4.55",
37
- "@syncfusion/ej2-calendars": "~19.4.55",
38
- "@syncfusion/ej2-dropdowns": "~19.4.55",
37
+ "@syncfusion/ej2-calendars": "~19.4.56",
38
+ "@syncfusion/ej2-dropdowns": "~19.4.56",
39
39
  "@syncfusion/ej2-inputs": "~19.4.52",
40
40
  "@syncfusion/ej2-splitbuttons": "~19.4.52"
41
41
  },
@@ -69,6 +69,6 @@
69
69
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/querybuilder"
70
70
  },
71
71
  "typings": "index.d.ts",
72
- "version": "19.4.55",
72
+ "version": "19.4.56",
73
73
  "sideEffects": false
74
74
  }
@@ -4194,6 +4194,9 @@ var QueryBuilder = /** @class */ (function (_super) {
4194
4194
  }
4195
4195
  }
4196
4196
  }
4197
+ if (rule.rules.length === 0) {
4198
+ rule.rules[0] = { 'label': '', 'field': '', 'operator': '', 'type': '', 'value': '' };
4199
+ }
4197
4200
  var ruleColl = rule.rules;
4198
4201
  if (!isNullOrUndefined(ruleColl)) {
4199
4202
  for (var i = 0, len = ruleColl.length; i < len; i++) {