@syncfusion/ej2-querybuilder
Advanced tools
Comparing version 19.1.63 to 19.2.44
@@ -5,2 +5,4 @@ # Changelog | ||
## 19.1.57 (2021-04-20) | ||
### QueryBuilder | ||
@@ -7,0 +9,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 19.1.63 | ||
* version : 19.2.44 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-querybuilder@*", | ||
"_id": "@syncfusion/ej2-querybuilder@19.1.55", | ||
"_id": "@syncfusion/ej2-querybuilder@18.2.46", | ||
"_inBundle": false, | ||
"_integrity": "sha512-I0jvssQAxNc0TyqhuOKQ6oidva5Bm2mkwKwARxtZJ2NuWB0ubAUHcc1hi0A7PM7BxILC1HxrMm+cfTJqG4cC3A==", | ||
"_integrity": "sha512-hlQx2vmNzpXuXz/U6+wytBGyNntcSg/YJXhF578isre/mD9btn8B38NtCF1EEYdoOsWKRIiLB2telNX/BueM3Q==", | ||
"_location": "/@syncfusion/ej2-querybuilder", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-19.1.55.tgz", | ||
"_shasum": "362311ff3d66eb3458882f0364adad894a1adf79", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-18.2.46.tgz", | ||
"_shasum": "f2fff69f816a2aca8eac6c1c1e8f6dace8440df2", | ||
"_spec": "@syncfusion/ej2-querybuilder@*", | ||
@@ -36,8 +36,8 @@ "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~19.1.63", | ||
"@syncfusion/ej2-buttons": "~19.1.63", | ||
"@syncfusion/ej2-calendars": "~19.1.63", | ||
"@syncfusion/ej2-dropdowns": "~19.1.63", | ||
"@syncfusion/ej2-inputs": "~19.1.63", | ||
"@syncfusion/ej2-splitbuttons": "~19.1.63" | ||
"@syncfusion/ej2-base": "~19.2.44", | ||
"@syncfusion/ej2-buttons": "~19.2.44", | ||
"@syncfusion/ej2-calendars": "~19.2.44", | ||
"@syncfusion/ej2-dropdowns": "~19.2.44", | ||
"@syncfusion/ej2-inputs": "~19.2.44", | ||
"@syncfusion/ej2-splitbuttons": "~19.2.44" | ||
}, | ||
@@ -74,4 +74,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "19.1.63", | ||
"version": "19.2.44", | ||
"sideEffects": false | ||
} |
# ej2-querybuilder | ||
A package of Syncfusion JavaScript UI Components (Essential JS 2) QueryBuilder. | ||
[JavaScript Query Builder](https://www.syncfusion.com/javascript-ui-controls/js-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) is a rich and responsive UI for filtering large amounts of data by creating or editing conditions that can be combined with data visualization controls like DataGrid and Charts to view the filtered data. It outputs structured JSON filters that can be easily parsed to create SQL queries. It allows you to create conditions and group them using AND/OR logic. | ||
@@ -24,5 +24,5 @@ ![QueryBuilder](https://ej2.syncfusion.com/products/images/querybuilder/readme.gif) | ||
* QueryBuilder - `QueryBuilder` Query Builder component is a graphical user interface that allows users to create and edit filters. It outputs a structured JSON of filters that can be easily parsed to create SQL. It is integrated with Data Manager to communicate with data sources and returns the desired result based on the provided filter. It supports data binding, templates, validation, and horizontal and vertical orientation. | ||
* [Getting Started](https://ej2.syncfusion.com/documentation/query-builder/getting-started?utm_source=npm&utm_campaign=querybuilder) | ||
* [View Online Demos](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=querybuilder#/material/querybuilder/default) | ||
* [Product Page](https://www.syncfusion.com/javascript-ui-controls/querybuilder) | ||
* [Getting Started](https://ej2.syncfusion.com/documentation/query-builder/getting-started?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) | ||
* [View Online Demos](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm#/material/querybuilder/default) | ||
* [Product Page](https://www.syncfusion.com/javascript-ui-controls/js-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) | ||
@@ -32,13 +32,13 @@ ## Supported Frameworks | ||
These components are available in following list of frameworks. | ||
1. [Angular](https://github.com/syncfusion/ej2-angular-ui-components/tree/master/components/querybuilder?utm_source=npm&utm_campaign=querybuilder) | ||
2. [React](https://github.com/syncfusion/ej2-react-ui-components/tree/master/components/querybuilder?utm_source=npm&utm_campaign=querybuilder) | ||
3. [VueJS](https://github.com/syncfusion/ej2-vue-ui-components/tree/master/components/querybuilder?utm_source=npm&utm_campaign=querybuilder) | ||
4. [JavaScript (ES5)](https://www.syncfusion.com/javascript-ui-controls) | ||
5. [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls) | ||
6. [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls) | ||
1. [Angular Query Builder](https://www.syncfusion.com/angular-ui-components/angular-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) | ||
2. [React Query Builder](https://www.syncfusion.com/react-ui-components/react-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) | ||
3. [Vue Query Builder]([React Query Builder](https://www.syncfusion.com/vue-ui-components/vue-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm)) | ||
4. [JavaScript Query Builder (ES5)](https://www.syncfusion.com/javascript-ui-controls/js-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) | ||
5. [ASP.NET Core Query Builder](https://www.syncfusion.com/aspnet-core-ui-controls/query-builder?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) | ||
6. [ASP.NET MVC Query Builder](https://www.syncfusion.com/aspnet-mvc-ui-controls/query-builder?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) | ||
## Showcase samples | ||
* Expense Tracker ([Source](https://github.com/syncfusion/ej2-sample-ts-expensetracker), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/expensetracker/?utm_source=npm&utm_campaign=button#/dashboard)) | ||
* Loan Calculator ([Source](https://github.com/syncfusion/ej2-sample-ts-loancalculator), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/loancalculator/?utm_source=npm&utm_campaign=button)) | ||
* Expense Tracker ([Source](https://github.com/syncfusion/ej2-showcase-ts-expensetracker), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/expensetracker/?utm_source=npm&utm_campaign=button#/dashboard)) | ||
* Loan Calculator ([Source](https://github.com/syncfusion/ej2-showcase-ts-loancalculator), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/loancalculator/?utm_source=npm&utm_campaign=button)) | ||
@@ -60,14 +60,14 @@ | ||
* Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=querybuilder) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=querybuilder). | ||
* New [GitHub issue](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new). | ||
* Ask your query in [Stack Overflow](https://stackoverflow.com/?utm_source=npm&utm_campaign=querybuilder) with tag `syncfusion`, `ej2`. | ||
* Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm). | ||
* New [GitHub issue](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm). | ||
* Ask your query in [Stack Overflow](https://stackoverflow.com/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) with tag `syncfusion`, `ej2`. | ||
## License | ||
Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license?utm_source=npm&utm_campaign=querybuilder). | ||
Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm). | ||
## Changelog | ||
Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/querybuilder/CHANGELOG.md?utm_source=npm&utm_campaign=querybuilder) | ||
Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/querybuilder/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) | ||
© Copyright 2021 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution. |
@@ -498,2 +498,5 @@ /** | ||
* | ||
* @param {string | number | boolean | Date | string[] | number[] | Date[]} value - 'value' to be passed to update the rule value. | ||
* @param {Element} element - 'element' to be passed to update the rule. | ||
* @param {string} type - 'type' to be passed to update the rule . | ||
* @returns {void}. | ||
@@ -520,2 +523,3 @@ */ | ||
* | ||
* @param {string} field - 'field' to be passed to get the field values. | ||
* @returns {object[]} - Values bound to the column | ||
@@ -556,4 +560,5 @@ */ | ||
* Also it maintains the initial input element from the DOM. | ||
* | ||
* @method destroy | ||
* @return {void} | ||
* @returns {void} | ||
*/ | ||
@@ -564,2 +569,4 @@ destroy(): void; | ||
* | ||
* @param {RuleModel[]} rule - 'rule collection' to be passed to add the rules. | ||
* @param {string} groupID - 'group id' to be passed to add the rule in groups. | ||
* @returns {void}. | ||
@@ -571,2 +578,4 @@ */ | ||
* | ||
* @param {RuleModel[]} groups - 'group collection' to be passed to add the groups. | ||
* @param {string} groupID - 'group id' to be passed to add the groups. | ||
* @returns {void}. | ||
@@ -591,2 +600,8 @@ */ | ||
private getParentGroup; | ||
/** | ||
* Delete the Group | ||
* | ||
* @param {Element | string} target - 'target' to be passed to delete the group. | ||
* @returns {void} | ||
*/ | ||
deleteGroup(target: Element | string): void; | ||
@@ -602,4 +617,5 @@ private deleteGroupSuccessCallBack; | ||
/** | ||
* return the valid rule or rules collection. | ||
* Get the valid rule or rules collection. | ||
* | ||
* @param {RuleModel} currentRule - 'currentRule' to be passed to get the valid rules. | ||
* @returns {RuleModel} - Valid rule or rules collection | ||
@@ -612,2 +628,3 @@ */ | ||
* | ||
* @param {RuleModel} rule - 'rule' to be passed to set rules. | ||
* @returns {void}. | ||
@@ -625,2 +642,3 @@ */ | ||
* | ||
* @param {string | HTMLElement} elem - 'elem' to be passed to get rule. | ||
* @returns {object} - Rule | ||
@@ -632,2 +650,3 @@ */ | ||
* | ||
* @param {string | Element} target - 'target' to be passed to get group. | ||
* @returns {object} -Group | ||
@@ -639,2 +658,3 @@ */ | ||
* | ||
* @param {string[]} groupIdColl - 'groupIdColl' to be passed to delete groups. | ||
* @returns {void} | ||
@@ -653,2 +673,3 @@ */ | ||
* | ||
* @param {string[]} ruleIdColl - 'ruleIdColl' to be passed to delete rules. | ||
* @returns {void}. | ||
@@ -660,2 +681,3 @@ */ | ||
* | ||
* @param {RuleModel} rule - 'rule' to be passed to get query. | ||
* @returns {string} - Query for Data Manager | ||
@@ -667,2 +689,3 @@ */ | ||
* | ||
* @param {RuleModel} rule - 'rule' to be passed to get predicate. | ||
* @returns {Predicate} - Predicate from collection of rules | ||
@@ -695,2 +718,5 @@ */ | ||
* Sets the rules from the sql query. | ||
* | ||
* @param {string} sqlString - 'sql String' to be passed to set the rule. | ||
* @returns {void} | ||
*/ | ||
@@ -701,2 +727,3 @@ setRulesFromSql(sqlString: string): void; | ||
* | ||
* @param {string} sqlString - 'sql String' to be passed to get the rule. | ||
* @returns {object} - Rules from SQL query | ||
@@ -708,2 +735,4 @@ */ | ||
* | ||
* @param {RuleModel} rule - 'rule' to be passed to get the sql. | ||
* @param {boolean} allowEscape - Set `true` if it exclude the escape character. | ||
* @returns {object} - Sql query from rules. | ||
@@ -728,2 +757,3 @@ */ | ||
* Creates the custom component. | ||
* | ||
* @default null | ||
@@ -734,2 +764,3 @@ */ | ||
* Wire events for the custom component. | ||
* | ||
* @default null | ||
@@ -740,2 +771,3 @@ */ | ||
* Destroy the custom component. | ||
* | ||
* @default null | ||
@@ -751,2 +783,3 @@ */ | ||
* Specifies the minimum value in textbox validation. | ||
* | ||
* @default 2 | ||
@@ -757,2 +790,3 @@ */ | ||
* Specifies the maximum value in textbox validation. | ||
* | ||
* @default 10 | ||
@@ -763,2 +797,3 @@ */ | ||
* Specifies whether the value is required or not | ||
* | ||
* @default true | ||
@@ -765,0 +800,0 @@ */ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2983974
97
33167
+ Added@syncfusion/ej2-base@19.2.60(transitive)
+ Added@syncfusion/ej2-buttons@19.2.60(transitive)
+ Added@syncfusion/ej2-calendars@19.2.62(transitive)
+ Added@syncfusion/ej2-data@19.2.60(transitive)
+ Added@syncfusion/ej2-dropdowns@19.2.62(transitive)
+ Added@syncfusion/ej2-icons@19.2.60(transitive)
+ Added@syncfusion/ej2-inputs@19.2.60(transitive)
+ Added@syncfusion/ej2-lists@19.2.60(transitive)
+ Added@syncfusion/ej2-navigations@19.2.62(transitive)
+ Added@syncfusion/ej2-popups@19.2.62(transitive)
+ Added@syncfusion/ej2-splitbuttons@19.2.62(transitive)
- Removed@syncfusion/ej2-base@19.1.64(transitive)
- Removed@syncfusion/ej2-buttons@19.1.63(transitive)
- Removed@syncfusion/ej2-calendars@19.1.66(transitive)
- Removed@syncfusion/ej2-data@19.1.63(transitive)
- Removed@syncfusion/ej2-dropdowns@19.1.69(transitive)
- Removed@syncfusion/ej2-icons@19.1.63(transitive)
- Removed@syncfusion/ej2-inputs@19.1.67(transitive)
- Removed@syncfusion/ej2-lists@19.1.65(transitive)
- Removed@syncfusion/ej2-navigations@19.1.69(transitive)
- Removed@syncfusion/ej2-popups@19.1.67(transitive)
- Removed@syncfusion/ej2-splitbuttons@19.1.63(transitive)