@syncfusion/ej2-angular-querybuilder 22.1.34 → 22.1.37-ngcc

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.
Files changed (124) hide show
  1. package/@syncfusion/ej2-angular-querybuilder.es5.js +267 -0
  2. package/@syncfusion/ej2-angular-querybuilder.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-querybuilder.js +239 -0
  4. package/@syncfusion/ej2-angular-querybuilder.js.map +1 -0
  5. package/CHANGELOG.md +557 -0
  6. package/README.md +109 -39
  7. package/dist/ej2-angular-querybuilder.umd.js +289 -0
  8. package/dist/ej2-angular-querybuilder.umd.js.map +1 -0
  9. package/dist/ej2-angular-querybuilder.umd.min.js +11 -0
  10. package/dist/ej2-angular-querybuilder.umd.min.js.map +1 -0
  11. package/ej2-angular-querybuilder.d.ts +5 -0
  12. package/ej2-angular-querybuilder.metadata.json +1 -0
  13. package/package.json +18 -38
  14. package/postinstall/tagchange.js +18 -0
  15. package/schematics/collection.json +10 -0
  16. package/schematics/ng-add/index.d.ts +3 -0
  17. package/schematics/ng-add/index.js +9 -0
  18. package/schematics/ng-add/schema.d.ts +13 -0
  19. package/schematics/ng-add/schema.js +2 -0
  20. package/schematics/ng-add/schema.json +34 -0
  21. package/schematics/tsconfig.json +25 -0
  22. package/schematics/utils/lib-details.d.ts +4 -0
  23. package/schematics/utils/lib-details.js +6 -0
  24. package/schematics/utils/lib-details.ts +2 -2
  25. package/src/query-builder/columns.directive.d.ts +2 -5
  26. package/src/query-builder/querybuilder-all.module.d.ts +0 -6
  27. package/src/query-builder/querybuilder.component.d.ts +1 -3
  28. package/src/query-builder/querybuilder.module.d.ts +0 -7
  29. package/styles/bootstrap-dark.css +1 -1
  30. package/styles/bootstrap.css +1 -1
  31. package/styles/bootstrap4.css +1 -1
  32. package/styles/bootstrap5-dark.css +1 -1
  33. package/styles/bootstrap5.css +1 -1
  34. package/styles/fluent-dark.css +1 -1
  35. package/styles/fluent.css +1 -1
  36. package/styles/material-dark.css +1 -1
  37. package/styles/material.css +1 -1
  38. package/styles/material3-dark.css +28 -22
  39. package/styles/material3-dark.scss +0 -1
  40. package/styles/material3.css +28 -22
  41. package/styles/material3.scss +0 -1
  42. package/styles/query-builder/bootstrap-dark.css +1 -1
  43. package/styles/query-builder/bootstrap-dark.scss +1 -15
  44. package/styles/query-builder/bootstrap.css +1 -1
  45. package/styles/query-builder/bootstrap.scss +1 -15
  46. package/styles/query-builder/bootstrap4.css +1 -1
  47. package/styles/query-builder/bootstrap4.scss +1 -15
  48. package/styles/query-builder/bootstrap5-dark.css +1 -1
  49. package/styles/query-builder/bootstrap5-dark.scss +1 -15
  50. package/styles/query-builder/bootstrap5.css +1 -1
  51. package/styles/query-builder/bootstrap5.scss +1 -15
  52. package/styles/query-builder/fabric-dark.scss +1 -15
  53. package/styles/query-builder/fabric.scss +1 -15
  54. package/styles/query-builder/fluent-dark.css +1 -1
  55. package/styles/query-builder/fluent-dark.scss +1 -15
  56. package/styles/query-builder/fluent.css +1 -1
  57. package/styles/query-builder/fluent.scss +1 -15
  58. package/styles/query-builder/highcontrast-light.scss +1 -15
  59. package/styles/query-builder/highcontrast.scss +1 -15
  60. package/styles/query-builder/material-dark.css +1 -1
  61. package/styles/query-builder/material-dark.scss +1 -15
  62. package/styles/query-builder/material.css +1 -1
  63. package/styles/query-builder/material.scss +1 -15
  64. package/styles/query-builder/material3-dark.css +28 -22
  65. package/styles/query-builder/material3-dark.scss +1 -15
  66. package/styles/query-builder/material3.css +28 -22
  67. package/styles/query-builder/material3.scss +1 -15
  68. package/styles/query-builder/tailwind-dark.css +1 -1
  69. package/styles/query-builder/tailwind-dark.scss +1 -15
  70. package/styles/query-builder/tailwind.css +1 -1
  71. package/styles/query-builder/tailwind.scss +1 -15
  72. package/styles/tailwind-dark.css +1 -1
  73. package/styles/tailwind.css +1 -1
  74. package/esm2020/public_api.mjs +0 -3
  75. package/esm2020/src/index.mjs +0 -6
  76. package/esm2020/src/query-builder/columns.directive.mjs +0 -72
  77. package/esm2020/src/query-builder/querybuilder-all.module.mjs +0 -23
  78. package/esm2020/src/query-builder/querybuilder.component.mjs +0 -71
  79. package/esm2020/src/query-builder/querybuilder.module.mjs +0 -34
  80. package/esm2020/syncfusion-ej2-angular-querybuilder.mjs +0 -5
  81. package/fesm2015/syncfusion-ej2-angular-querybuilder.mjs +0 -194
  82. package/fesm2015/syncfusion-ej2-angular-querybuilder.mjs.map +0 -1
  83. package/fesm2020/syncfusion-ej2-angular-querybuilder.mjs +0 -194
  84. package/fesm2020/syncfusion-ej2-angular-querybuilder.mjs.map +0 -1
  85. package/styles/query-builder/_all.scss +0 -2
  86. package/styles/query-builder/_bootstrap-dark-definition.scss +0 -104
  87. package/styles/query-builder/_bootstrap-definition.scss +0 -104
  88. package/styles/query-builder/_bootstrap4-definition.scss +0 -106
  89. package/styles/query-builder/_bootstrap5-dark-definition.scss +0 -1
  90. package/styles/query-builder/_bootstrap5-definition.scss +0 -108
  91. package/styles/query-builder/_fabric-dark-definition.scss +0 -104
  92. package/styles/query-builder/_fabric-definition.scss +0 -104
  93. package/styles/query-builder/_fluent-dark-definition.scss +0 -1
  94. package/styles/query-builder/_fluent-definition.scss +0 -107
  95. package/styles/query-builder/_fusionnew-definition.scss +0 -108
  96. package/styles/query-builder/_highcontrast-definition.scss +0 -104
  97. package/styles/query-builder/_highcontrast-light-definition.scss +0 -104
  98. package/styles/query-builder/_layout.scss +0 -726
  99. package/styles/query-builder/_material-dark-definition.scss +0 -105
  100. package/styles/query-builder/_material-definition.scss +0 -104
  101. package/styles/query-builder/_material3-dark-definition.scss +0 -1
  102. package/styles/query-builder/_material3-definition.scss +0 -110
  103. package/styles/query-builder/_tailwind-dark-definition.scss +0 -1
  104. package/styles/query-builder/_tailwind-definition.scss +0 -107
  105. package/styles/query-builder/_theme.scss +0 -188
  106. package/styles/query-builder/icons/_bootstrap-dark.scss +0 -7
  107. package/styles/query-builder/icons/_bootstrap.scss +0 -7
  108. package/styles/query-builder/icons/_bootstrap4.scss +0 -7
  109. package/styles/query-builder/icons/_bootstrap5-dark.scss +0 -1
  110. package/styles/query-builder/icons/_bootstrap5.scss +0 -7
  111. package/styles/query-builder/icons/_fabric-dark.scss +0 -7
  112. package/styles/query-builder/icons/_fabric.scss +0 -7
  113. package/styles/query-builder/icons/_fluent-dark.scss +0 -1
  114. package/styles/query-builder/icons/_fluent.scss +0 -7
  115. package/styles/query-builder/icons/_fusionnew.scss +0 -7
  116. package/styles/query-builder/icons/_highcontrast-light.scss +0 -7
  117. package/styles/query-builder/icons/_highcontrast.scss +0 -7
  118. package/styles/query-builder/icons/_material-dark.scss +0 -7
  119. package/styles/query-builder/icons/_material.scss +0 -7
  120. package/styles/query-builder/icons/_material3-dark.scss +0 -1
  121. package/styles/query-builder/icons/_material3.scss +0 -7
  122. package/styles/query-builder/icons/_tailwind-dark.scss +0 -7
  123. package/styles/query-builder/icons/_tailwind.scss +0 -7
  124. package/syncfusion-ej2-angular-querybuilder.d.ts +0 -5
package/README.md CHANGED
@@ -1,70 +1,140 @@
1
- # ej2-angular-querybuilder
1
+ # Angular Query Builder Component (Angular Filter Component)
2
2
 
3
- The [Angular Query Builder](https://www.syncfusion.com/angular-ui-components/angular-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=angular-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 [Angular Query Builder](https://www.syncfusion.com/angular-ui-components/angular-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm) component 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/angular/documentation/query-builder/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm">Getting started</a> .
7
+ <a href="https://ej2.syncfusion.com/angular/demos/?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm#/bootstrap5/query-builder/default">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/angular-components/angular-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm">Learn more</a>
6
9
 
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).
10
+ ![Angular Query Builder Component](https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/angular/angular-query-builder.png)
8
11
 
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.
12
+ <p align="center">
13
+ Trusted by the world's leading companies
14
+ <a href="https://www.syncfusion.com">
15
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
16
+ </a>
17
+ </p>
10
18
 
11
19
  ## Setup
12
20
 
13
- To install `QueryBuilder` and its dependent packages, use the following command
21
+ ### Create an Angular application
14
22
 
15
- ```sh
16
- npm install @syncfusion/ej2-angular-querybuilder
17
- ```
23
+ You can use [Angular CLI](https://github.com/angular/angular-cli) to setup your Angular application. To install the Angular CLI, use the following command.
18
24
 
19
- ## Components included
25
+ ```bash
26
+ npm install -g @angular/cli
27
+ ```
20
28
 
21
- Following list of components are available in the package.
29
+ Create a new Angular application using the following Angular CLI command.
22
30
 
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.
31
+ ```bash
32
+ ng new my-app
33
+ cd my-app
34
+ ```
24
35
 
25
- * [Getting Started](https://ej2.syncfusion.com/angular/documentation/querybuilder/getting-started?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm)
26
- * [View Online Demos](https://ej2.syncfusion.com/angular/demos/?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm#/material/querybuilder/default)
27
- * [Product Page](https://www.syncfusion.com/angular-ui-components/angular-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm)
36
+ ### Adding Syncfusion Angular Query Builder package
28
37
 
29
- ## Supported Frameworks
38
+ All Syncfusion Angular packages are available in [npmjs.com](https://www.npmjs.com/~syncfusionorg). To install the angular query builder package, use the following command.
30
39
 
31
- These components are available in following list of frameworks.
40
+ ```bash
41
+ ng add @syncfusion/ej2-angular-querybuilder
42
+ ```
32
43
 
33
- 1. [React Query Builder](https://www.syncfusion.com/react-ui-components/react-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm)
34
- 2. [Vue Query Builder](https://www.syncfusion.com/vue-ui-components/vue-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm)
35
- 3. [JavaScript Query Builder](https://www.syncfusion.com/javascript-ui-controls/js-query-builder?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm)
36
- 4. [ASP.NET Core Query Builder](https://www.syncfusion.com/aspnet-core-ui-controls/query-builder?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm)
37
- 5. [ASP.NET MVC Query Builder](https://www.syncfusion.com/aspnet-mvc-ui-controls/query-builder?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm)
44
+ The above command does the below configuration to your Angular app.
45
+
46
+ * Adds `@syncfusion/ej2-angular-querybuilder` package and its peer dependencies to your `package.json` file.
47
+ * Imports the `QueryBuilderModule` in your application module `app.module.ts`.
48
+ * Registers the Syncfusion UI default theme (material) in the `angular.json` file.
49
+
50
+ This makes it easy to add the Syncfusion Angular Query Builder module to your project and start using it in your application.
51
+
52
+ ### Add Syncfusion Angular Query Builder component
53
+
54
+ In **src/app/app.component.ts**, use `<ejs-querybuilder>` selector in the `template` attribute of the `@Component` directive to render the Syncfusion Angular Query Builder component.
55
+
56
+ ```typescript
57
+ import { Component, OnInit } from '@angular/core';
58
+ @Component({
59
+ selector: 'app-root',
60
+ template: `<ejs-querybuilder width="70%" [rule]="importRules">
61
+ <e-columns>
62
+ <e-column field="EmployeeID" label="Employee ID" type="number"></e-column>
63
+ <e-column field="FirstName" label="First Name" type="string"></e-column>
64
+ <e-column field="TitleOfCourtesy" label="Title Of Courtesy" type="boolean" [values]="values"></e-column>
65
+ <e-column field="Title" label="Title" type="string"></e-column>
66
+ <e-column field="HireDate" label="Hire Date" type="date" format="dd/MM/yyyy"></e-column>
67
+ <e-column field="Country" label="Country" type="string"></e-column>
68
+ <e-column field="City" label="City" type="string"></e-column>
69
+ </e-columns>
70
+ </ejs-querybuilder>`
71
+ })
72
+ export class AppComponent implements OnInit {
73
+ public importRules: RuleModel;
74
+ public values: string[] = ['Mr.', 'Mrs.'];
75
+
76
+ ngOnInit(): void {
77
+ this.importRules = {
78
+ 'condition': 'and',
79
+ 'rules': [{
80
+ 'label': 'EmployeeID',
81
+ 'field': 'EmployeeID',
82
+ 'type': 'number',
83
+ 'operator': 'equal',
84
+ 'value': 1
85
+ },
86
+ {
87
+ 'label': 'Title',
88
+ 'field': 'Title',
89
+ 'type': 'string',
90
+ 'operator': 'equal',
91
+ 'value': 'Sales Manager'
92
+ }]
93
+ };
94
+ }
95
+ }
96
+ ```
38
97
 
39
- ## Showcase samples
98
+ ## Supported frameworks
40
99
 
41
- * Expense Tracker ([Source](https://github.com/syncfusion/ej2-showcase-angular-expensetracker?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm), [Live Demo](https://ej2.syncfusion.com/showcase/angular/expensetracker/#/dashboard?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm))
42
- * Loan Calculator ([Source](https://github.com/syncfusion/ej2-showcase-angular-loancalculator?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm), [Live Demo](https://ej2.syncfusion.com/showcase/angular/loancalculator/?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm))
100
+ Query Builder component is also offered in the following list of frameworks.
43
101
 
44
- ## Key Features
102
+ | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?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; |
103
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
45
104
 
46
- ### QueryBuilder
105
+ ## Key features
47
106
 
48
- - **Data binding**: It auto populates the data source and maps the data to the appropriate fields.
107
+ * [Data Sources](https://ej2.syncfusion.com/angular/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.
108
+ * [Template](https://ej2.syncfusion.com/angular/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.
109
+ * [Importing and Exporting](https://ej2.syncfusion.com/angular/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.
110
+ * [Model Binding](https://ej2.syncfusion.com/angular/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.
111
+ * [RTL support](https://ej2.syncfusion.com/angular/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.
112
+ * [Localization](https://ej2.syncfusion.com/angular/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.
113
+ * 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.
114
+ * AND/OR logic: The Query Builder allows users to group conditions using AND/OR logic, giving them greater control over the filtered data.
115
+ * 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.
116
+ * 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.
49
117
 
50
- - **Template**: Supports templates and it is applicable for all input components.
118
+ ## Support
51
119
 
52
- - **Queries**: Queries supports JSON/SQL rules.
120
+ Product support is available through the following mediums.
53
121
 
54
- ## Support
122
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
123
+ * [Community forum](https://www.syncfusion.com/forums/angular-js2?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm)
124
+ * [GitHub issues](https://github.com/syncfusion/ej2-angular-ui-components/issues/new)
125
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/angular?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm)
126
+ * Live chat
55
127
 
56
- Product support is available for through following mediums.
128
+ ## Changelog
57
129
 
58
- * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm) support system or [Community forum](https://www.syncfusion.com/forums/angular-js2?utm_source=npm&utm_campaign=querybuilder)?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm.
59
- * New [GitHub issue](https://github.com/syncfusion/ej2-angular-ui-components/issues/new?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm ).
60
- * Ask your query in [Stack Overflow](https://stackoverflow.com/?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm) with tag `syncfusion`, `ej2`.
130
+ Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/components/querybuilder/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
61
131
 
62
- ## License
132
+ ## License and copyright
63
133
 
64
- Check the license detail [here](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm).
134
+ > 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+ [Angular UI components](https://www.syncfusion.com/angular-components), 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
135
 
66
- ## Changelog
136
+ > 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
137
 
68
- Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/components/querybuilder/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm)
138
+ See [LICENSE FILE](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=angular-query-builder-npm) for more info.
69
139
 
70
140
  © Copyright 2023 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
@@ -0,0 +1,289 @@
1
+ /*!
2
+ * filename: ej2-angular-querybuilder.umd.js
3
+ * version : 22.1.37
4
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
10
+ (function (global, factory) {
11
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-querybuilder'), require('@angular/common')) :
12
+ typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-querybuilder', '@angular/common'], factory) :
13
+ (factory((global['ej2-angular-querybuilder'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.querybuilder,global.ng.common));
14
+ }(this, (function (exports,core,ej2AngularBase,ej2Querybuilder,common) { 'use strict';
15
+
16
+ var __extends = (this && this.__extends) || (function () {
17
+ var extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
+ return function (d, b) {
21
+ extendStatics(d, b);
22
+ function __() { this.constructor = d; }
23
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
+ };
25
+ })();
26
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
27
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
28
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29
+ r = Reflect.decorate(decorators, target, key, desc);
30
+ else
31
+ for (var i = decorators.length - 1; i >= 0; i--)
32
+ if (d = decorators[i])
33
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
34
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
35
+ };
36
+ var __metadata = (this && this.__metadata) || function (k, v) {
37
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
38
+ return Reflect.metadata(k, v);
39
+ };
40
+ var input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];
41
+ var outputs = [];
42
+ /**
43
+ * `e-column` directive represent a column of the Angular QueryBuilder.
44
+ * It must be contained in a QueryBuilder component(`ejs-querybuilder`).
45
+ * ```html
46
+ * <ejs-querybuilder [dataSource]='data'>
47
+ * <e-columns>
48
+ * <e-column field='ID' label='ID' type='number'></e-column>
49
+ * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>
50
+ * </e-columns>
51
+ * </ejs-querybuilder>
52
+ * ```
53
+ */
54
+ var ColumnDirective = /** @class */ (function (_super) {
55
+ __extends(ColumnDirective, _super);
56
+ /**
57
+ * @param {?} viewContainerRef
58
+ */
59
+ function ColumnDirective(viewContainerRef) {
60
+ var _this = _super.call(this) || this;
61
+ _this.viewContainerRef = viewContainerRef;
62
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
63
+ _this.registerEvents(outputs);
64
+ _this.directivePropList = input;
65
+ return _this;
66
+ }
67
+ return ColumnDirective;
68
+ }(ej2AngularBase.ComplexBase));
69
+ ColumnDirective.decorators = [
70
+ { type: core.Directive, args: [{
71
+ selector: 'ejs-querybuilder>e-columns>e-column',
72
+ inputs: input,
73
+ outputs: outputs,
74
+ queries: {}
75
+ },] },
76
+ ];
77
+ /**
78
+ * @nocollapse
79
+ */
80
+ ColumnDirective.ctorParameters = function () { return [
81
+ { type: core.ViewContainerRef, },
82
+ ]; };
83
+ ColumnDirective.propDecorators = {
84
+ 'ruleTemplate': [{ type: core.ContentChild, args: ['ruleTemplate',] },],
85
+ 'template': [{ type: core.ContentChild, args: ['template',] },],
86
+ };
87
+ __decorate([
88
+ ej2AngularBase.Template(),
89
+ __metadata("design:type", Object)
90
+ ], ColumnDirective.prototype, "ruleTemplate", void 0);
91
+ __decorate([
92
+ ej2AngularBase.Template(),
93
+ __metadata("design:type", Object)
94
+ ], ColumnDirective.prototype, "template", void 0);
95
+ /**
96
+ * Column Array Directive
97
+ */
98
+ var ColumnsDirective = /** @class */ (function (_super) {
99
+ __extends(ColumnsDirective, _super);
100
+ function ColumnsDirective() {
101
+ return _super.call(this, 'columns') || this;
102
+ }
103
+ return ColumnsDirective;
104
+ }(ej2AngularBase.ArrayBase));
105
+ ColumnsDirective.decorators = [
106
+ { type: core.Directive, args: [{
107
+ selector: 'ejs-querybuilder>e-columns',
108
+ queries: {
109
+ children: new core.ContentChildren(ColumnDirective)
110
+ },
111
+ },] },
112
+ ];
113
+ /**
114
+ * @nocollapse
115
+ */
116
+ ColumnsDirective.ctorParameters = function () { return []; };
117
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
118
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
119
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
120
+ r = Reflect.decorate(decorators, target, key, desc);
121
+ else
122
+ for (var i = decorators.length - 1; i >= 0; i--)
123
+ if (d = decorators[i])
124
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
125
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
126
+ };
127
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
128
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
129
+ return Reflect.metadata(k, v);
130
+ };
131
+ var inputs = ['allowValidation', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width'];
132
+ var outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange'];
133
+ var twoWays = [''];
134
+ /**
135
+ * Represents the EJ2 Angular QueryBuilder Component.
136
+ * ```html
137
+ * <ejs-querybuilder></ejs-querybuilder>
138
+ * ```
139
+ */
140
+ exports.QueryBuilderComponent = /** @class */ (function (_super) {
141
+ __extends(QueryBuilderComponent, _super);
142
+ /**
143
+ * @param {?} ngEle
144
+ * @param {?} srenderer
145
+ * @param {?} viewContainerRef
146
+ * @param {?} injector
147
+ */
148
+ function QueryBuilderComponent(ngEle, srenderer, viewContainerRef, injector) {
149
+ var _this = _super.call(this) || this;
150
+ _this.ngEle = ngEle;
151
+ _this.srenderer = srenderer;
152
+ _this.viewContainerRef = viewContainerRef;
153
+ _this.injector = injector;
154
+ _this.tags = ['columns'];
155
+ _this.element = _this.ngEle.nativeElement;
156
+ _this.injectedModules = _this.injectedModules || [];
157
+ _this.registerEvents(outputs$1);
158
+ _this.addTwoWay.call(_this, twoWays);
159
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
160
+ _this.context = new ej2AngularBase.ComponentBase();
161
+ return _this;
162
+ }
163
+ /**
164
+ * @return {?}
165
+ */
166
+ QueryBuilderComponent.prototype.ngOnInit = function () {
167
+ this.context.ngOnInit(this);
168
+ };
169
+ /**
170
+ * @return {?}
171
+ */
172
+ QueryBuilderComponent.prototype.ngAfterViewInit = function () {
173
+ this.context.ngAfterViewInit(this);
174
+ };
175
+ /**
176
+ * @return {?}
177
+ */
178
+ QueryBuilderComponent.prototype.ngOnDestroy = function () {
179
+ this.context.ngOnDestroy(this);
180
+ };
181
+ /**
182
+ * @return {?}
183
+ */
184
+ QueryBuilderComponent.prototype.ngAfterContentChecked = function () {
185
+ this.tagObjects[0].instance = this.childColumns;
186
+ this.context.ngAfterContentChecked(this);
187
+ };
188
+ return QueryBuilderComponent;
189
+ }(ej2Querybuilder.QueryBuilder));
190
+ exports.QueryBuilderComponent.decorators = [
191
+ { type: core.Component, args: [{
192
+ selector: 'ejs-querybuilder',
193
+ inputs: inputs,
194
+ outputs: outputs$1,
195
+ template: '',
196
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
197
+ queries: {
198
+ childColumns: new core.ContentChild(ColumnsDirective)
199
+ }
200
+ },] },
201
+ ];
202
+ /**
203
+ * @nocollapse
204
+ */
205
+ exports.QueryBuilderComponent.ctorParameters = function () { return [
206
+ { type: core.ElementRef, },
207
+ { type: core.Renderer2, },
208
+ { type: core.ViewContainerRef, },
209
+ { type: core.Injector, },
210
+ ]; };
211
+ exports.QueryBuilderComponent.propDecorators = {
212
+ 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
213
+ };
214
+ __decorate$1([
215
+ ej2AngularBase.Template(),
216
+ __metadata$1("design:type", Object)
217
+ ], exports.QueryBuilderComponent.prototype, "headerTemplate", void 0);
218
+ exports.QueryBuilderComponent = __decorate$1([
219
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
220
+ __metadata$1("design:paramtypes", [core.ElementRef,
221
+ core.Renderer2,
222
+ core.ViewContainerRef,
223
+ core.Injector])
224
+ ], exports.QueryBuilderComponent);
225
+ /**
226
+ * NgModule definition for the QueryBuilder component.
227
+ */
228
+ var QueryBuilderModule = /** @class */ (function () {
229
+ function QueryBuilderModule() {
230
+ }
231
+ return QueryBuilderModule;
232
+ }());
233
+ QueryBuilderModule.decorators = [
234
+ { type: core.NgModule, args: [{
235
+ imports: [common.CommonModule],
236
+ declarations: [
237
+ exports.QueryBuilderComponent,
238
+ ColumnDirective,
239
+ ColumnsDirective
240
+ ],
241
+ exports: [
242
+ exports.QueryBuilderComponent,
243
+ ColumnDirective,
244
+ ColumnsDirective
245
+ ]
246
+ },] },
247
+ ];
248
+ /**
249
+ * @nocollapse
250
+ */
251
+ QueryBuilderModule.ctorParameters = function () { return []; };
252
+ /**
253
+ * NgModule definition for the QueryBuilder component with providers.
254
+ */
255
+ var QueryBuilderAllModule = /** @class */ (function () {
256
+ function QueryBuilderAllModule() {
257
+ }
258
+ return QueryBuilderAllModule;
259
+ }());
260
+ QueryBuilderAllModule.decorators = [
261
+ { type: core.NgModule, args: [{
262
+ imports: [common.CommonModule, QueryBuilderModule],
263
+ exports: [
264
+ QueryBuilderModule
265
+ ],
266
+ providers: []
267
+ },] },
268
+ ];
269
+ /**
270
+ * @nocollapse
271
+ */
272
+ QueryBuilderAllModule.ctorParameters = function () { return []; };
273
+
274
+ exports.ColumnDirective = ColumnDirective;
275
+ exports.ColumnsDirective = ColumnsDirective;
276
+ exports.QueryBuilderModule = QueryBuilderModule;
277
+ exports.QueryBuilderAllModule = QueryBuilderAllModule;
278
+ exports.ɵa = inputs;
279
+ exports.ɵb = outputs$1;
280
+ exports.Columns = ej2Querybuilder.Columns;
281
+ exports.Rule = ej2Querybuilder.Rule;
282
+ exports.Value = ej2Querybuilder.Value;
283
+ exports.ShowButtons = ej2Querybuilder.ShowButtons;
284
+ exports.QueryBuilder = ej2Querybuilder.QueryBuilder;
285
+
286
+ Object.defineProperty(exports, '__esModule', { value: true });
287
+
288
+ })));
289
+ //# sourceMappingURL=ej2-angular-querybuilder.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ej2-angular-querybuilder.umd.js","sources":["~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts"],"sourcesContent":["import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n \n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowValidation','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\npublic ruleChange: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["CommonModule","NgModule","QueryBuilderComponent","Injector","ViewContainerRef","Renderer2","__metadata","ElementRef","ComponentMixins","ComponentBase","__decorate","Template","ContentChild","ChangeDetectionStrategy","outputs","Component","QueryBuilder","setValue","ContentChildren","Directive","ArrayBase","ComplexBase"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AGAA,IAKI,KAAA,GAAkB,CAAA,UAAE,EAAW,SAAA,EAAW,OAAA,EAAS,QAAA,EAAU,OAAA,EAAS,WAAA,EAAa,cAAA,EAAgB,MAAA,EAAQ,UAAA,EAAY,MAAA,EAAQ,YAAA,EAAc,OAAA,EAAS,QAAA,CAAS,CAAC;AACpK,IAAI,OAAA,GAAoB,EAAA,CAAG;;;;;;;;;;;;;AAa3B,IAAA,eAAA,kBAAA,UAAA,MAAA,EAAA;IACC,SAAD,CAAA,eAAA,EAAA,MAAA,CAAA,CAAC;;;;IA2ED,SAAA,eAAA,CAKwB,gBAAkB,EAL1C;QAAA,IAAA,KAAA,GACQ,MADR,CAAA,IAAA,CAAA,IAAA,CACe,IADf,IAAA,CAKK;QAAmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAHlCiB,uBAAQ,CAAC,iBAAiB,EAAE,KAAI,EAAE,KAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CA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;oBADVE,6BAAqB;oBACrB,eAAe;oBACf,gBAAgB;iBACnB;gBACD,OAAO,EAEE;oBADLA,6BAAqB;oBACrB,eAAe;oBACf,gBAAgB;iBACnB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,kBAAD,CAAA,cAAC,GAAA,YAAD,EAAC,OAAA,EACA,CADD,EACC,CAAC;;;;ADlBF,IAAA,qBAAA,kBAAA,YAAA;IAAA,SAAA,qBAAA,GAAA;;;CAAA,EAAA,CAAA,CAAA;AAM4C,qBAA5C,CAAA,UAA4C,GAAoC;IALhF,EAME,IAAA,EAAMD,aAAA,EAAU,IAAA,EAAM,CAAA;gBALpB,OAAO,EAME,CAAAD,mBAAE,EAAa,kBAAA,CAAmB;gBAL3C,OAAO,EAME;oBALL,kBAAkB;iBACrB;gBACD,SAAS,EAMC,EAJT;aACJ,EAMC,EAAG;CALJ,CAMC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,YAAD,EAAC,OAAA,EAHA,CAGD,EAHC,CAAC;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * filename: ej2-angular-querybuilder.umd.min.js
3
+ * version : 22.1.37
4
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@syncfusion/ej2-angular-base"),require("@syncfusion/ej2-querybuilder"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@syncfusion/ej2-angular-base","@syncfusion/ej2-querybuilder","@angular/common"],t):t(e["ej2-angular-querybuilder"]={},e.ng.core,e.ej2.angular.base,e.ej2.querybuilder,e.ng.common)}(this,function(e,t,n,r,o){"use strict";var i=this&&this.__extends||function(){var 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])};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)}}(),a=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},u=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=["category","columns","field","format","label","operators","ruleTemplate","step","template","type","validation","value","values"],c=[],s=function(e){function t(t){var r=e.call(this)||this;return r.viewContainerRef=t,n.setValue("currentInstance",r,r.viewContainerRef),r.registerEvents(c),r.directivePropList=l,r}return i(t,e),t}(n.ComplexBase);s.decorators=[{type:t.Directive,args:[{selector:"ejs-querybuilder>e-columns>e-column",inputs:l,outputs:c,queries:{}}]}],s.ctorParameters=function(){return[{type:t.ViewContainerRef}]},s.propDecorators={ruleTemplate:[{type:t.ContentChild,args:["ruleTemplate"]}],template:[{type:t.ContentChild,args:["template"]}]},a([n.Template(),u("design:type",Object)],s.prototype,"ruleTemplate",void 0),a([n.Template(),u("design:type",Object)],s.prototype,"template",void 0);var p=function(e){function t(){return e.call(this,"columns")||this}return i(t,e),t}(n.ArrayBase);p.decorators=[{type:t.Directive,args:[{selector:"ejs-querybuilder>e-columns",queries:{children:new t.ContentChildren(s)}}]}],p.ctorParameters=function(){return[]};var d=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},f=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=["allowValidation","columns","cssClass","dataSource","displayMode","enableNotCondition","enablePersistence","enableRtl","fieldMode","fieldModel","headerTemplate","height","immediateModeDelay","locale","matchCase","maxGroupCount","operatorModel","readonly","rule","separator","showButtons","sortDirection","summaryView","valueModel","width"],m=["actionBegin","beforeChange","change","created","dataBound","ruleChange"],h=[""];e.QueryBuilderComponent=function(e){function t(t,r,o,i){var a=e.call(this)||this;return a.ngEle=t,a.srenderer=r,a.viewContainerRef=o,a.injector=i,a.tags=["columns"],a.element=a.ngEle.nativeElement,a.injectedModules=a.injectedModules||[],a.registerEvents(m),a.addTwoWay.call(a,h),n.setValue("currentInstance",a,a.viewContainerRef),a.context=new n.ComponentBase,a}return i(t,e),t.prototype.ngOnInit=function(){this.context.ngOnInit(this)},t.prototype.ngAfterViewInit=function(){this.context.ngAfterViewInit(this)},t.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(this)},t.prototype.ngAfterContentChecked=function(){this.tagObjects[0].instance=this.childColumns,this.context.ngAfterContentChecked(this)},t}(r.QueryBuilder),e.QueryBuilderComponent.decorators=[{type:t.Component,args:[{selector:"ejs-querybuilder",inputs:y,outputs:m,template:"",changeDetection:t.ChangeDetectionStrategy.OnPush,queries:{childColumns:new t.ContentChild(p)}}]}],e.QueryBuilderComponent.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:t.ViewContainerRef},{type:t.Injector}]},e.QueryBuilderComponent.propDecorators={headerTemplate:[{type:t.ContentChild,args:["headerTemplate"]}]},d([n.Template(),f("design:type",Object)],e.QueryBuilderComponent.prototype,"headerTemplate",void 0),e.QueryBuilderComponent=d([n.ComponentMixins([n.ComponentBase]),f("design:paramtypes",[t.ElementRef,t.Renderer2,t.ViewContainerRef,t.Injector])],e.QueryBuilderComponent);var g=function(){return function(){}}();g.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule],declarations:[e.QueryBuilderComponent,s,p],exports:[e.QueryBuilderComponent,s,p]}]}],g.ctorParameters=function(){return[]};var C=function(){return function(){}}();C.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule,g],exports:[g],providers:[]}]}],C.ctorParameters=function(){return[]},e.ColumnDirective=s,e.ColumnsDirective=p,e.QueryBuilderModule=g,e.QueryBuilderAllModule=C,e.ɵa=y,e.ɵb=m,e.Columns=r.Columns,e.Rule=r.Rule,e.Value=r.Value,e.ShowButtons=r.ShowButtons,e.QueryBuilder=r.QueryBuilder,Object.defineProperty(e,"__esModule",{value:!0})});
11
+ //# sourceMappingURL=ej2-angular-querybuilder.umd.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ej2-angular-querybuilder.umd.min.js","sources":["~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts"],"sourcesContent":["import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowValidation','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\npublic ruleChange: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n \n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["input","outputs","ColumnDirective","_super","viewContainerRef","_this","call","this","setValue","registerEvents","directivePropList","__extends","ComplexBase","decorators","type","Directive","args","selector","inputs","queries","ctorParameters","ViewContainerRef","propDecorators","ruleTemplate","ContentChild","template","__decorate","Template","prototype","ColumnsDirective","ArrayBase","children","ContentChildren","twoWays","exports","QueryBuilderComponent","ngEle","srenderer","injector","tags","element","nativeElement","injectedModules","addTwoWay","context","ComponentBase","ngOnInit","ngAfterViewInit","ngOnDestroy","ngAfterContentChecked","tagObjects","instance","childColumns","QueryBuilder","Component","changeDetection","ChangeDetectionStrategy","OnPush","ElementRef","Renderer2","Injector","headerTemplate","ComponentMixins","__metadata","QueryBuilderModule","NgModule","imports","CommonModule","declarations","QueryBuilderAllModule","providers"],"mappings":"gyCAK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AvD3CU,GAECC,EAAAA,oCAFLQ,EAAAA,sBAAAP,UAAA,sBAAA,GAjBaO,EAAAA,sBAAbT,GACCoC,EAAAA,iBAAAjB,EAAAA,gBAqBDkB,EAAA,qBAA+BL,EAAAA,WAA+BC,EAAAA,UAAoCtC,EAAAA,iBAAoCuC,EAAAA,YAtBzHzB,EAAAA,uBCTb,IAAA6B,EAAA,kBAAA,aAAA,GAEyCA,EAAzCnD,aACEC,KAAMmD,EAAAA,SAAUjD,OADdkD,SAESC,EAAAA,cADTC,cACIjC,EAAAA,sBACAjC,EACA2B,GAEJK,SACIC,EAAAA,sBACAjC,EACA2B,OAOPmC,EAAD5C,eAAC,WAAA,UCjBD,IAAAiD,EAAA,kBAAA,aAAA,GAM4CA,EAA5CxD,aACEC,KAAMmD,EAAAA,SAAUjD,OALdkD,SAMSC,EAAAA,aAAeH,GALxB9B,SACI8B,GAEJM,iBAYHD,EAADjD,eAAC,WAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public_api';
5
+ export { inputs as ɵa, outputs as ɵb } from './src/query-builder/querybuilder.component';