@syncfusion/ej2-react-querybuilder 24.2.8 → 25.1.35

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/CHANGELOG.md CHANGED
@@ -4,6 +4,24 @@
4
4
 
5
5
  ### QueryBuilder
6
6
 
7
+ #### New Features
8
+
9
+ - Provided the support to get / set the Mongo Query from query builder.
10
+ - Provided the support to get / set the Parameter SQL and Named Parameter SQL from query builder.
11
+ - Provided the Clone support to query builder rules/ groups.
12
+ - Provided the Lock support to query builder rules/ groups.
13
+
14
+ ### QueryBuilder
15
+
16
+ #### Bug Fixes
17
+
18
+ - `#I870175` - Issue with `getSqlFromRules` method is not return custom value when changing boolean type column value in default complex data binding. has been fixed.
19
+ - `#I556563` - Issue with QueryBuilder validation message position wrong issue while deleting the rule has been fixed.
20
+
21
+ ## 24.2.8 (2024-02-27)
22
+
23
+ ### QueryBuilder
24
+
7
25
  #### Bug Fixes
8
26
 
9
27
  - `#I534039` - Issue with `drop-down list popup` remains stick in the screen after close has been fixed.
package/diConfig.json CHANGED
@@ -79,6 +79,9 @@
79
79
  "templateProperties": [
80
80
  "headerTemplate"
81
81
  ],
82
+ "dynamicModules": [
83
+ "QueryLibrary"
84
+ ],
82
85
  "tagDirective": [
83
86
  {
84
87
  "arrayDirectiveClassName": "columns",
@@ -141,4 +144,4 @@
141
144
  ]
142
145
  }
143
146
  ]
144
- }
147
+ }
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-querybuilder.min.js
3
- * version : 24.2.8
3
+ * version : 25.1.35
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
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionQuerybuilder"),require("SyncfusionReactBase"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionQuerybuilder","SyncfusionReactBase","React"],t):"object"==typeof exports?exports.SyncfusionReactQuerybuilder=t(require("SyncfusionQuerybuilder"),require("SyncfusionReactBase"),require("React")):e.SyncfusionReactQuerybuilder=t(e.SyncfusionQuerybuilder,e.SyncfusionReactBase,e.React)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";var r=n(4);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});var o=n(5);n.d(t,"c",function(){return o.a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);n.d(t,"ColumnDirective",function(){return r.a}),n.d(t,"ColumnsDirective",function(){return r.b}),n.d(t,"QueryBuilderComponent",function(){return r.c});var o=n(0);n.n(o);for(var u in o)["ColumnDirective","ColumnsDirective","QueryBuilderComponent","default"].indexOf(u)<0&&function(e){n.d(t,e,function(){return o[e]})}(u)},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return i});var r=n(1),o=(n.n(r),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="column",t}(r.ComplexBase),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="columns",t.moduleName="columns",t}(r.ComplexBase)},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(6),o=(n.n(r),n(0)),u=(n.n(o),n(1)),i=(n.n(u),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={columns:"column"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return i(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(o.QueryBuilder);n.i(u.applyMixins)(c,[u.ComponentBase,r.Component])},function(e,t){e.exports=n}])});
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("SyncfusionQuerybuilder"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionQuerybuilder","React"],t):"object"==typeof exports?exports.SyncfusionReactQuerybuilder=t(require("SyncfusionReactBase"),require("SyncfusionQuerybuilder"),require("React")):e.SyncfusionReactQuerybuilder=t(e.SyncfusionReactBase,e.SyncfusionQuerybuilder,e.React)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";var r=n(4);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});var o=n(5);n.d(t,"c",function(){return o.a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);n.d(t,"ColumnDirective",function(){return r.a}),n.d(t,"ColumnsDirective",function(){return r.b}),n.d(t,"QueryBuilderComponent",function(){return r.c});var o=n(0);n.n(o);n.o(o,"Inject")&&n.d(t,"Inject",function(){return o.Inject});var u=n(1);n.n(u);for(var i in u)["ColumnDirective","ColumnsDirective","QueryBuilderComponent","Inject","default"].indexOf(i)<0&&function(e){n.d(t,e,function(){return u[e]})}(i)},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return i});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="column",t}(r.ComplexBase),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="columns",t.moduleName="columns",t}(r.ComplexBase)},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(6),o=(n.n(r),n(1)),u=(n.n(o),n(0)),i=(n.n(u),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={columns:"column"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return i(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(o.QueryBuilder);n.i(u.applyMixins)(c,[u.ComponentBase,r.Component])},function(e,t){e.exports=n}])});
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-querybuilder.umd.min.js
3
- * version : 24.2.8
3
+ * version : 25.1.35
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
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-querybuilder")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-querybuilder"],t):t(e.ej={},e.ej2ReactBase,e.React,e.ej2Querybuilder)}(this,function(e,t,n,r){"use strict";var o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="column",t}(t.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="columns",t.moduleName="columns",t}(t.ComplexBase),c=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={columns:"column"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return c(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.QueryBuilder);t.applyMixins(s,[t.ComponentBase,n.Component]),e.ColumnDirective=i,e.ColumnsDirective=u,e.QueryBuilderComponent=s,Object.keys(r).forEach(function(t){e[t]=r[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-querybuilder")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-querybuilder"],t):t(e.ej={},e.ej2ReactBase,e.React,e.ej2Querybuilder)}(this,function(e,t,n,r){"use strict";var o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="column",t}(t.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="columns",t.moduleName="columns",t}(t.ComplexBase),c=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={columns:"column"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return c(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.QueryBuilder);t.applyMixins(s,[t.ComponentBase,n.Component]),e.Inject=t.Inject,e.ColumnDirective=i,e.ColumnsDirective=u,e.QueryBuilderComponent=s,Object.keys(r).forEach(function(t){e[t]=r[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-react-querybuilder.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-querybuilder.umd.min.js","sources":["../src/query-builder/columns-directive.js","../src/query-builder/querybuilder.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the react QueryBuilder.\n * It must be contained in a QueryBuilder component(`GridComponent`).\n * ```tsx\n * <QueryBuilderComponent dataSource={data}>\n * <ColumnsDirective>\n * <ColumnDirective field='ID' label='ID' type='number'></ColumnDirective>\n * <ColumnDirective field='Date' label='Date' type='date' format='dd/MM/yyyy'></ColumnDirective>\n * <ColumnsDirective>\n * </QueryBuilderComponent>\n * ```\n */\nvar ColumnDirective = /** @class */ (function (_super) {\n __extends(ColumnDirective, _super);\n function ColumnDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnDirective.moduleName = 'column';\n return ColumnDirective;\n}(ComplexBase));\nexport { ColumnDirective };\nvar ColumnsDirective = /** @class */ (function (_super) {\n __extends(ColumnsDirective, _super);\n function ColumnsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnsDirective.propertyName = 'columns';\n ColumnsDirective.moduleName = 'columns';\n return ColumnsDirective;\n}(ComplexBase));\nexport { ColumnsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React QueryBuilder Component\n * ```html\n * <QueryBuilderComponent></QueryBuilderComponent>\n * ```\n */\nvar QueryBuilderComponent = /** @class */ (function (_super) {\n __extends(QueryBuilderComponent, _super);\n function QueryBuilderComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'columns': 'column' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n QueryBuilderComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return QueryBuilderComponent;\n}(QueryBuilder));\nexport { QueryBuilderComponent };\napplyMixins(QueryBuilderComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","ColumnDirective","_super","apply","arguments","moduleName","ComplexBase","ColumnsDirective","propertyName","QueryBuilderComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","columns","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","QueryBuilder","ej2ReactBase","ComponentBase","React.Component"],"mappings":"uYAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GA0BxCK,EAAiC,SAAUC,GAE3C,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAAiBC,GAI3BD,E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cACYrB,GAAwBsB,gBAAeC"}
1
+ {"version":3,"file":"ej2-react-querybuilder.umd.min.js","sources":["../src/query-builder/columns-directive.js","../src/query-builder/querybuilder.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the react QueryBuilder.\n * It must be contained in a QueryBuilder component(`GridComponent`).\n * ```tsx\n * <QueryBuilderComponent dataSource={data}>\n * <ColumnsDirective>\n * <ColumnDirective field='ID' label='ID' type='number'></ColumnDirective>\n * <ColumnDirective field='Date' label='Date' type='date' format='dd/MM/yyyy'></ColumnDirective>\n * <ColumnsDirective>\n * </QueryBuilderComponent>\n * ```\n */\nvar ColumnDirective = /** @class */ (function (_super) {\n __extends(ColumnDirective, _super);\n function ColumnDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnDirective.moduleName = 'column';\n return ColumnDirective;\n}(ComplexBase));\nexport { ColumnDirective };\nvar ColumnsDirective = /** @class */ (function (_super) {\n __extends(ColumnsDirective, _super);\n function ColumnsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnsDirective.propertyName = 'columns';\n ColumnsDirective.moduleName = 'columns';\n return ColumnsDirective;\n}(ComplexBase));\nexport { ColumnsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React QueryBuilder Component\n * ```html\n * <QueryBuilderComponent></QueryBuilderComponent>\n * ```\n */\nvar QueryBuilderComponent = /** @class */ (function (_super) {\n __extends(QueryBuilderComponent, _super);\n function QueryBuilderComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'columns': 'column' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n QueryBuilderComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return QueryBuilderComponent;\n}(QueryBuilder));\nexport { QueryBuilderComponent };\napplyMixins(QueryBuilderComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","ColumnDirective","_super","apply","arguments","moduleName","ComplexBase","ColumnsDirective","propertyName","QueryBuilderComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","columns","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","QueryBuilder","ej2ReactBase","ComponentBase","React.Component"],"mappings":"uYAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GA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sBAAuB,EAC7BH,EAAMI,eAAkBC,QAAW,UACnCL,EAAMM,uBAAyB,KAC/BN,EAAMO,cAAgB,KACtBP,EAAMQ,iBAAkB,EACxBR,EAAMS,WACCT,EAWX,OArBAzB,EAAUuB,EAAuBP,GAYjCO,EAAsBV,UAAUsB,OAAS,WACrC,KAAMxB,KAAKyB,UAAYzB,KAAKgB,kBAAqBhB,KAAK0B,aAAgB1B,KAAK2B,oBAKvE,OAAOC,gBAAoB,MAAO5B,KAAK6B,0BAA2BC,OAAO9B,KAAKa,MAAMkB,SAAU/B,KAAKuB,UAJnGlB,EAAOH,UAAUsB,OAAOT,KAAKf,MAC7BA,KAAKgB,kBAAmB,GAMzBJ,GACToB,gBACFC,cACYrB,GAAwBsB,gBAAeC"}
@@ -32,7 +32,7 @@ class QueryBuilderComponent extends QueryBuilder {
32
32
  constructor(props) {
33
33
  super(props);
34
34
  this.initRenderCalled = false;
35
- this.checkInjectedModules = false;
35
+ this.checkInjectedModules = true;
36
36
  this.directivekeys = { 'columns': 'column' };
37
37
  this.statelessTemplateProps = null;
38
38
  this.templateProps = null;
@@ -53,4 +53,5 @@ applyMixins(QueryBuilderComponent, [ComponentBase, Component]);
53
53
 
54
54
  export { ColumnDirective, ColumnsDirective, QueryBuilderComponent };
55
55
  export * from '@syncfusion/ej2-querybuilder';
56
+ export { Inject } from '@syncfusion/ej2-react-base';
56
57
  //# sourceMappingURL=ej2-react-querybuilder.es2015.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-querybuilder.es2015.js","sources":["../src/es6/query-builder/columns-directive.js","../src/es6/query-builder/querybuilder.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the react QueryBuilder.\n * It must be contained in a QueryBuilder component(`GridComponent`).\n * ```tsx\n * <QueryBuilderComponent dataSource={data}>\n * <ColumnsDirective>\n * <ColumnDirective field='ID' label='ID' type='number'></ColumnDirective>\n * <ColumnDirective field='Date' label='Date' type='date' format='dd/MM/yyyy'></ColumnDirective>\n * <ColumnsDirective>\n * </QueryBuilderComponent>\n * ```\n */\nexport class ColumnDirective extends ComplexBase {\n}\nColumnDirective.moduleName = 'column';\nexport class ColumnsDirective extends ComplexBase {\n}\nColumnsDirective.propertyName = 'columns';\nColumnsDirective.moduleName = 'columns';\n","import * as React from 'react';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React QueryBuilder Component\n * ```html\n * <QueryBuilderComponent></QueryBuilderComponent>\n * ```\n */\nexport class QueryBuilderComponent extends QueryBuilder {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'columns': 'column' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(QueryBuilderComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AACA;;;;;;;;;;;;AAYA,AAAO,MAAM,eAAe,SAAS,WAAW,CAAC;CAChD;AACD,eAAe,CAAC,UAAU,GAAG,QAAQ,CAAC;AACtC,AAAO,MAAM,gBAAgB,SAAS,WAAW,CAAC;CACjD;AACD,gBAAgB,CAAC,YAAY,GAAG,SAAS,CAAC;AAC1C,gBAAgB,CAAC,UAAU,GAAG,SAAS,CAAC;;AChBxC;;;;;;AAMA,AAAO,MAAM,qBAAqB,SAAS,YAAY,CAAC;IACpD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;QAC7C,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,qBAAqB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;"}
1
+ {"version":3,"file":"ej2-react-querybuilder.es2015.js","sources":["../src/es6/query-builder/columns-directive.js","../src/es6/query-builder/querybuilder.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the react QueryBuilder.\n * It must be contained in a QueryBuilder component(`GridComponent`).\n * ```tsx\n * <QueryBuilderComponent dataSource={data}>\n * <ColumnsDirective>\n * <ColumnDirective field='ID' label='ID' type='number'></ColumnDirective>\n * <ColumnDirective field='Date' label='Date' type='date' format='dd/MM/yyyy'></ColumnDirective>\n * <ColumnsDirective>\n * </QueryBuilderComponent>\n * ```\n */\nexport class ColumnDirective extends ComplexBase {\n}\nColumnDirective.moduleName = 'column';\nexport class ColumnsDirective extends ComplexBase {\n}\nColumnsDirective.propertyName = 'columns';\nColumnsDirective.moduleName = 'columns';\n","import * as React from 'react';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React QueryBuilder Component\n * ```html\n * <QueryBuilderComponent></QueryBuilderComponent>\n * ```\n */\nexport class QueryBuilderComponent extends QueryBuilder {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'columns': 'column' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(QueryBuilderComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AACA;;;;;;;;;;;;AAYA,AAAO,MAAM,eAAe,SAAS,WAAW,CAAC;CAChD;AACD,eAAe,CAAC,UAAU,GAAG,QAAQ,CAAC;AACtC,AAAO,MAAM,gBAAgB,SAAS,WAAW,CAAC;CACjD;AACD,gBAAgB,CAAC,YAAY,GAAG,SAAS,CAAC;AAC1C,gBAAgB,CAAC,UAAU,GAAG,SAAS,CAAC;;AChBxC;;;;;;AAMA,AAAO,MAAM,qBAAqB,SAAS,YAAY,CAAC;IACpD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;QAC7C,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,qBAAqB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;;"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-react-querybuilder@*",
3
- "_id": "@syncfusion/ej2-react-querybuilder@24.2.5",
3
+ "_id": "@syncfusion/ej2-react-querybuilder@18.24.1",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-CjcIKx3AjLmMjpJphGKbsLXbtPRvfMgzItKxTNWRMrQND+l7cvafoQ2t8rOqD6/WvW44Pot6z2K4KXcVfPEasA==",
5
+ "_integrity": "sha512-Fx55sCYwt2X2xwxfmqXAVBFKdf2W+rRe3m6uXVpcO9yBDoB0CtZH8NMmc7zGP7RYwCv7cUmMVvKUnXaxrDQBDA==",
6
6
  "_location": "/@syncfusion/ej2-react-querybuilder",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-querybuilder/-/ej2-react-querybuilder-24.2.5.tgz",
23
- "_shasum": "b572b63c4196cc428b7cda76d0d11875a785a64e",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-react-querybuilder/-/ej2-react-querybuilder-18.24.1.tgz",
23
+ "_shasum": "27b5757bb9d136756ef16436d878bd0b5001d835",
24
24
  "_spec": "@syncfusion/ej2-react-querybuilder@*",
25
- "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~24.2.7",
35
- "@syncfusion/ej2-querybuilder": "24.2.8",
36
- "@syncfusion/ej2-react-base": "~24.2.7"
34
+ "@syncfusion/ej2-base": "~25.1.35",
35
+ "@syncfusion/ej2-querybuilder": "25.1.35",
36
+ "@syncfusion/ej2-react-base": "~25.1.35"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Essential JS 2 QueryBuilder for React",
@@ -53,6 +53,6 @@
53
53
  "type": "git",
54
54
  "url": "https://github.com/syncfusion/ej2-react-ui-components.git"
55
55
  },
56
- "version": "24.2.8",
56
+ "version": "25.1.35",
57
57
  "sideEffects": false
58
58
  }
package/src/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './query-builder';
2
+ export { Inject } from '@syncfusion/ej2-react-base';
2
3
  export * from '@syncfusion/ej2-querybuilder';
package/src/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './query-builder';
2
+ export { Inject } from '@syncfusion/ej2-react-base';
2
3
  export * from '@syncfusion/ej2-querybuilder';
@@ -25,7 +25,7 @@ var QueryBuilderComponent = /** @class */ (function (_super) {
25
25
  function QueryBuilderComponent(props) {
26
26
  var _this = _super.call(this, props) || this;
27
27
  _this.initRenderCalled = false;
28
- _this.checkInjectedModules = false;
28
+ _this.checkInjectedModules = true;
29
29
  _this.directivekeys = { 'columns': 'column' };
30
30
  _this.statelessTemplateProps = null;
31
31
  _this.templateProps = null;