@syncfusion/ej2-querybuilder 20.3.56 → 20.4.38

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/.eslintrc.json CHANGED
@@ -6,7 +6,8 @@
6
6
  "extends": [
7
7
  "eslint:recommended",
8
8
  "plugin:@typescript-eslint/recommended",
9
- "plugin:jsdoc/recommended"
9
+ "plugin:jsdoc/recommended",
10
+ "plugin:security/recommended"
10
11
  ],
11
12
  "parser": "@typescript-eslint/parser",
12
13
  "parserOptions": {
@@ -18,10 +19,24 @@
18
19
  "plugins": [
19
20
  "@typescript-eslint",
20
21
  "@typescript-eslint/tslint",
22
+ "eslint-plugin-security",
21
23
  "jsdoc"
22
24
  ],
23
25
  "rules": {
24
26
  "use-isnan": "error",
27
+ "security/detect-unsafe-regex":"error",
28
+ "security/detect-buffer-noassert":"error",
29
+ "security/detect-child-process":"error",
30
+ "security/detect-disable-mustache-escape":"error",
31
+ "security/detect-eval-with-expression":"error",
32
+ "security/detect-no-csrf-before-method-override":"error",
33
+ "security/detect-non-literal-fs-filename":"error",
34
+ "security/detect-non-literal-regexp":"error",
35
+ "security/detect-non-literal-require":"error",
36
+ "security/detect-object-injection":"error",
37
+ "security/detect-possible-timing-attacks":"error",
38
+ "security/detect-pseudoRandomBytes":"error",
39
+ "security/detect-new-buffer":"error",
25
40
  "@typescript-eslint/no-inferrable-types": "off",
26
41
  "@typescript-eslint/ban-types": ["warn", {
27
42
  "types": {
package/CHANGELOG.md CHANGED
@@ -2,24 +2,16 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## 20.3.50 (2022-10-18)
6
-
7
5
  ### QueryBuilder
8
6
 
9
7
  #### Bug Fixes
10
8
 
9
+ - `#F420982` - Issue with `getValidRules` method of query builder returns empty group has been fixed.
10
+ - `#I404520` - Provided Localization support SQL query builder operators.
11
+ - `#F178375` - Issue with Browser window get freezes when we set the Invalid SQL rule to query builder has been fixed.
11
12
  - `#I408324` - Issue with Script errors throwing in validating query builder fields while double click has been fixed.
12
-
13
- ## 20.3.49 (2022-10-11)
14
-
15
- ### QueryBuilder
16
-
17
- #### Bug Fixes
18
-
19
13
  - `#I408658` - Issue with Value getting removed while closing fields Dropdown without change the value when we set rule property of query builder has been fixed
20
14
 
21
- ## 20.3.47 (2022-09-29)
22
-
23
15
  ### QueryBuilder
24
16
 
25
17
  #### Bug Fixes
package/README.md CHANGED
@@ -1,70 +1,70 @@
1
- # ej2-querybuilder
1
+ # JavaScript Query Builder Control (JavaScript Filter Control)
2
2
 
3
- [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.
3
+ The [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) control 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 that can be easily parsed to create SQL queries. It allows you to create conditions and group them using AND/OR logic.
4
4
 
5
- ![QueryBuilder](https://ej2.syncfusion.com/products/images/querybuilder/readme.gif)
5
+ <p align="center">
6
+ <a href="https://ej2.syncfusion.com/documentation/query-builder/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm">Getting started</a> .
7
+ <a href="https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm#/material/query-builder/default.html">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/javascript-ui-controls/js-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm">Learn more</a>
9
+ </p>
6
10
 
7
- > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials).
11
+ ![JavaScript Query Builder Control](https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/javascript/javascript-query-builder.png)
8
12
 
9
- > A free community license (https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
13
+ <p align="center">
14
+ Trusted by the world's leading companies
15
+ <a href="https://www.syncfusion.com">
16
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
17
+ </a>
18
+ </p>
10
19
 
11
20
  ## Setup
12
21
 
13
- To install `QueryBuilder` and its dependent packages, use the following command
22
+ To install Query Builder and its dependent packages, use the following command.
14
23
 
15
24
  ```sh
16
25
  npm install @syncfusion/ej2-querybuilder
17
26
  ```
18
27
 
19
- ## Components included
28
+ ## Supported frameworks
20
29
 
21
- Following list of components are available in the package.
30
+ Query Builder control is also offered in the following list of frameworks.
22
31
 
23
- * 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.
24
- * [Getting Started](https://ej2.syncfusion.com/documentation/query-builder/getting-started?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm)
25
- * [View Online Demos](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm#/material/querybuilder/default)
26
- * [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
+ | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[React](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
33
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
27
34
 
28
- ## Supported Frameworks
35
+ ## Key features
29
36
 
30
- These components are available in following list of frameworks.
31
- 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)
32
- 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)
33
- 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))
34
- 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)
35
- 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)
36
- 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)
37
+ * [Data Sources](https://ej2.syncfusion.com/documentation/query-builder/data-binding): The Query Builder can be bound to a variety of data sources, including arrays of JSON objects, complex data structures such as nested objects or arrays, and Data Manager. This allows users to filter data from a wide range of sources.
38
+ * [Template](https://ej2.syncfusion.com/documentation/query-builder/templates): The Query Builder offers templates that allow users to create custom user experiences by customizing the user interface for individual values, the entire rule, and the group header. This allows users to tailor the Query Builder to their specific needs and preferences.
39
+ * [Importing and Exporting](https://ej2.syncfusion.com/documentation/query-builder/import-export): The Query Builder allows users to export filters or conditions as SQL and structured JSON, and to import these filters into the Query Builder for regeneration. This makes it easy for users to save and share their filters with others.
40
+ * [Model Binding](https://ej2.syncfusion.com/documentation/query-builder/model-binding): The Query Builder allows users to bind properties for the components used in the field, operator, and value user interfaces, allowing users to define the behavior and appearance of these components.
41
+ * [RTL support](https://ej2.syncfusion.com/documentation/query-builder/how-to/rtl): The Query Builder supports RTL (right-to-left) mode, which aligns content from right to left. This is useful for languages that are written in a right-to-left script, such as Arabic.
42
+ * [Localization](https://ej2.syncfusion.com/documentation/query-builder/global-local): The Query Builder provides inherent support for localization, allowing users to easily translate the user interface into different languages. This makes the Query Builder more accessible to users who speak languages other than English.
43
+ * Rich and responsive UI: The Query Builder provides a user-friendly interface for creating and editing conditions, making it easy for users to filter large amounts of data.
44
+ * AND/OR logic: The Query Builder allows users to group conditions using AND/OR logic, giving them greater control over the filtered data.
45
+ * Integration with data visualization controls: The Query Builder can be used in conjunction with data visualization controls like DataGrid and Charts to view the filtered data, providing a more comprehensive view of the data.
46
+ * Easy to use: The Query Builder is easy to use and can be easily integrated into any project, making it a convenient and powerful tool for filtering data.
37
47
 
38
- ## Showcase samples
39
-
40
- * 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))
41
- * 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))
42
-
43
-
44
- ## Key Features
45
-
46
- ### QueryBuilder
47
-
48
- - **Data binding**: It auto populates the data source and maps the data to the appropriate fields.
49
-
50
- - **Template**: Supports templates and it is applicable for all input components.
48
+ ## Support
51
49
 
52
- - **Queries**: Queries supports JSON/SQL rules.
50
+ Product support is available through the following mediums.
53
51
 
54
- ## Support
52
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
53
+ * [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm)
54
+ * [GitHub issues](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new)
55
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/javascript?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm)
56
+ * Live chat
55
57
 
56
- Product support is available for through following mediums.
58
+ ## Changelog
57
59
 
58
- * 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).
59
- * 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).
60
- * 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`.
60
+ 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). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
61
61
 
62
- ## License
62
+ ## License and copyright
63
63
 
64
- 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).
64
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [JavaScript UI controls](https://www.syncfusion.com/javascript-ui-controls), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
65
65
 
66
- ## Changelog
66
+ > A [free community license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
67
67
 
68
- 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)
68
+ See [LICENSE FILE](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=javascript-query-builder-npm) for more info.
69
69
 
70
70
  © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.