@syncfusion/ej2-angular-querybuilder 31.2.12 → 31.2.15-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 (34) hide show
  1. package/@syncfusion/ej2-angular-querybuilder.es5.js +277 -0
  2. package/@syncfusion/ej2-angular-querybuilder.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-querybuilder.js +249 -0
  4. package/@syncfusion/ej2-angular-querybuilder.js.map +1 -0
  5. package/LICENSE +10 -0
  6. package/README.md +2 -9
  7. package/dist/ej2-angular-querybuilder.umd.js +301 -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 +8 -21
  14. package/public_api.d.ts +1 -1
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/index.d.ts +5 -5
  18. package/src/query-builder/columns.directive.d.ts +94 -99
  19. package/src/query-builder/querybuilder-all.module.d.ts +7 -13
  20. package/src/query-builder/querybuilder.component.d.ts +45 -49
  21. package/src/query-builder/querybuilder.module.d.ts +5 -12
  22. package/CHANGELOG.md +0 -813
  23. package/esm2020/public_api.mjs +0 -2
  24. package/esm2020/src/index.mjs +0 -6
  25. package/esm2020/src/query-builder/columns.directive.mjs +0 -72
  26. package/esm2020/src/query-builder/querybuilder-all.module.mjs +0 -29
  27. package/esm2020/src/query-builder/querybuilder.component.mjs +0 -78
  28. package/esm2020/src/query-builder/querybuilder.module.mjs +0 -34
  29. package/esm2020/syncfusion-ej2-angular-querybuilder.mjs +0 -5
  30. package/fesm2015/syncfusion-ej2-angular-querybuilder.mjs +0 -204
  31. package/fesm2015/syncfusion-ej2-angular-querybuilder.mjs.map +0 -1
  32. package/fesm2020/syncfusion-ej2-angular-querybuilder.mjs +0 -204
  33. package/fesm2020/syncfusion-ej2-angular-querybuilder.mjs.map +0 -1
  34. package/syncfusion-ej2-angular-querybuilder.d.ts +0 -5
@@ -0,0 +1,277 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = Object.setPrototypeOf ||
3
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
+ return function (d, b) {
6
+ extendStatics(d, b);
7
+ function __() { this.constructor = d; }
8
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
+ };
10
+ })();
11
+ import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
+ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
13
+ import { QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder';
14
+ import { CommonModule } from '@angular/common';
15
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
16
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
18
+ r = Reflect.decorate(decorators, target, key, desc);
19
+ else
20
+ for (var i = decorators.length - 1; i >= 0; i--)
21
+ if (d = decorators[i])
22
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
23
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
24
+ };
25
+ var __metadata = (this && this.__metadata) || function (k, v) {
26
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
27
+ return Reflect.metadata(k, v);
28
+ };
29
+ var input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];
30
+ var outputs = [];
31
+ /**
32
+ * `e-column` directive represent a column of the Angular QueryBuilder.
33
+ * It must be contained in a QueryBuilder component(`ejs-querybuilder`).
34
+ * ```html
35
+ * <ejs-querybuilder [dataSource]='data'>
36
+ * <e-columns>
37
+ * <e-column field='ID' label='ID' type='number'></e-column>
38
+ * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>
39
+ * </e-columns>
40
+ * </ejs-querybuilder>
41
+ * ```
42
+ */
43
+ var ColumnDirective = /** @class */ (function (_super) {
44
+ __extends(ColumnDirective, _super);
45
+ /**
46
+ * @param {?} viewContainerRef
47
+ */
48
+ function ColumnDirective(viewContainerRef) {
49
+ var _this = _super.call(this) || this;
50
+ _this.viewContainerRef = viewContainerRef;
51
+ setValue('currentInstance', _this, _this.viewContainerRef);
52
+ _this.registerEvents(outputs);
53
+ _this.directivePropList = input;
54
+ return _this;
55
+ }
56
+ return ColumnDirective;
57
+ }(ComplexBase));
58
+ ColumnDirective.decorators = [
59
+ { type: Directive, args: [{
60
+ selector: 'ejs-querybuilder>e-columns>e-column',
61
+ inputs: input,
62
+ outputs: outputs,
63
+ queries: {}
64
+ },] },
65
+ ];
66
+ /**
67
+ * @nocollapse
68
+ */
69
+ ColumnDirective.ctorParameters = function () { return [
70
+ { type: ViewContainerRef, },
71
+ ]; };
72
+ ColumnDirective.propDecorators = {
73
+ 'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate',] },],
74
+ 'template': [{ type: ContentChild, args: ['template',] },],
75
+ };
76
+ __decorate([
77
+ Template(),
78
+ __metadata("design:type", Object)
79
+ ], ColumnDirective.prototype, "ruleTemplate", void 0);
80
+ __decorate([
81
+ Template(),
82
+ __metadata("design:type", Object)
83
+ ], ColumnDirective.prototype, "template", void 0);
84
+ /**
85
+ * Column Array Directive
86
+ */
87
+ var ColumnsDirective = /** @class */ (function (_super) {
88
+ __extends(ColumnsDirective, _super);
89
+ function ColumnsDirective() {
90
+ return _super.call(this, 'columns') || this;
91
+ }
92
+ return ColumnsDirective;
93
+ }(ArrayBase));
94
+ ColumnsDirective.decorators = [
95
+ { type: Directive, args: [{
96
+ selector: 'ejs-querybuilder>e-columns',
97
+ queries: {
98
+ children: new ContentChildren(ColumnDirective)
99
+ },
100
+ },] },
101
+ ];
102
+ /**
103
+ * @nocollapse
104
+ */
105
+ ColumnsDirective.ctorParameters = function () { return []; };
106
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
107
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
108
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
109
+ r = Reflect.decorate(decorators, target, key, desc);
110
+ else
111
+ for (var i = decorators.length - 1; i >= 0; i--)
112
+ if (d = decorators[i])
113
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
114
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
115
+ };
116
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
117
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
118
+ return Reflect.metadata(k, v);
119
+ };
120
+ var inputs = ['addRuleToNewGroups', 'allowDragAndDrop', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'enableSeparateConnector', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width'];
121
+ var outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange', 'drag', 'dragStart', 'drop'];
122
+ var twoWays = [''];
123
+ /**
124
+ * Represents the EJ2 Angular QueryBuilder Component.
125
+ * ```html
126
+ * <ejs-querybuilder></ejs-querybuilder>
127
+ * ```
128
+ */
129
+ var QueryBuilderComponent = /** @class */ (function (_super) {
130
+ __extends(QueryBuilderComponent, _super);
131
+ /**
132
+ * @param {?} ngEle
133
+ * @param {?} srenderer
134
+ * @param {?} viewContainerRef
135
+ * @param {?} injector
136
+ */
137
+ function QueryBuilderComponent(ngEle, srenderer, viewContainerRef, injector) {
138
+ var _this = _super.call(this) || this;
139
+ _this.ngEle = ngEle;
140
+ _this.srenderer = srenderer;
141
+ _this.viewContainerRef = viewContainerRef;
142
+ _this.injector = injector;
143
+ _this.tags = ['columns'];
144
+ _this.element = _this.ngEle.nativeElement;
145
+ _this.injectedModules = _this.injectedModules || [];
146
+ try {
147
+ var mod = _this.injector.get('QueryBuilderQueryLibrary');
148
+ if (_this.injectedModules.indexOf(mod) === -1) {
149
+ _this.injectedModules.push(mod);
150
+ }
151
+ }
152
+ catch (_a) { }
153
+ _this.registerEvents(outputs$1);
154
+ _this.addTwoWay.call(_this, twoWays);
155
+ setValue('currentInstance', _this, _this.viewContainerRef);
156
+ _this.context = new ComponentBase();
157
+ return _this;
158
+ }
159
+ /**
160
+ * @return {?}
161
+ */
162
+ QueryBuilderComponent.prototype.ngOnInit = function () {
163
+ this.context.ngOnInit(this);
164
+ };
165
+ /**
166
+ * @return {?}
167
+ */
168
+ QueryBuilderComponent.prototype.ngAfterViewInit = function () {
169
+ this.context.ngAfterViewInit(this);
170
+ };
171
+ /**
172
+ * @return {?}
173
+ */
174
+ QueryBuilderComponent.prototype.ngOnDestroy = function () {
175
+ this.context.ngOnDestroy(this);
176
+ };
177
+ /**
178
+ * @return {?}
179
+ */
180
+ QueryBuilderComponent.prototype.ngAfterContentChecked = function () {
181
+ this.tagObjects[0].instance = this.childColumns;
182
+ this.context.ngAfterContentChecked(this);
183
+ };
184
+ return QueryBuilderComponent;
185
+ }(QueryBuilder));
186
+ QueryBuilderComponent.decorators = [
187
+ { type: Component, args: [{
188
+ selector: 'ejs-querybuilder',
189
+ inputs: inputs,
190
+ outputs: outputs$1,
191
+ template: '',
192
+ changeDetection: ChangeDetectionStrategy.OnPush,
193
+ queries: {
194
+ childColumns: new ContentChild(ColumnsDirective)
195
+ }
196
+ },] },
197
+ ];
198
+ /**
199
+ * @nocollapse
200
+ */
201
+ QueryBuilderComponent.ctorParameters = function () { return [
202
+ { type: ElementRef, },
203
+ { type: Renderer2, },
204
+ { type: ViewContainerRef, },
205
+ { type: Injector, },
206
+ ]; };
207
+ QueryBuilderComponent.propDecorators = {
208
+ 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
209
+ };
210
+ __decorate$1([
211
+ Template(),
212
+ __metadata$1("design:type", Object)
213
+ ], QueryBuilderComponent.prototype, "headerTemplate", void 0);
214
+ QueryBuilderComponent = __decorate$1([
215
+ ComponentMixins([ComponentBase]),
216
+ __metadata$1("design:paramtypes", [ElementRef,
217
+ Renderer2,
218
+ ViewContainerRef,
219
+ Injector])
220
+ ], QueryBuilderComponent);
221
+ /**
222
+ * NgModule definition for the QueryBuilder component.
223
+ */
224
+ var QueryBuilderModule = /** @class */ (function () {
225
+ function QueryBuilderModule() {
226
+ }
227
+ return QueryBuilderModule;
228
+ }());
229
+ QueryBuilderModule.decorators = [
230
+ { type: NgModule, args: [{
231
+ imports: [CommonModule],
232
+ declarations: [
233
+ QueryBuilderComponent,
234
+ ColumnDirective,
235
+ ColumnsDirective
236
+ ],
237
+ exports: [
238
+ QueryBuilderComponent,
239
+ ColumnDirective,
240
+ ColumnsDirective
241
+ ]
242
+ },] },
243
+ ];
244
+ /**
245
+ * @nocollapse
246
+ */
247
+ QueryBuilderModule.ctorParameters = function () { return []; };
248
+ var QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary };
249
+ /**
250
+ * NgModule definition for the QueryBuilder component with providers.
251
+ */
252
+ var QueryBuilderAllModule = /** @class */ (function () {
253
+ function QueryBuilderAllModule() {
254
+ }
255
+ return QueryBuilderAllModule;
256
+ }());
257
+ QueryBuilderAllModule.decorators = [
258
+ { type: NgModule, args: [{
259
+ imports: [CommonModule, QueryBuilderModule],
260
+ exports: [
261
+ QueryBuilderModule
262
+ ],
263
+ providers: [
264
+ QueryLibraryService
265
+ ]
266
+ },] },
267
+ ];
268
+ /**
269
+ * @nocollapse
270
+ */
271
+ QueryBuilderAllModule.ctorParameters = function () { return []; };
272
+ /**
273
+ * Generated bundle index. Do not edit.
274
+ */
275
+ export { ColumnDirective, ColumnsDirective, QueryBuilderComponent, QueryBuilderModule, QueryBuilderAllModule, QueryLibraryService, inputs as ɵa, outputs$1 as ɵb };
276
+ export { Columns, Rule, Value, ShowButtons, QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder';
277
+ //# sourceMappingURL=ej2-angular-querybuilder.es5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ej2-angular-querybuilder.es5.js","sources":["~/@syncfusion/ej2-angular-querybuilder/ej2-angular-querybuilder.ts","~/@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":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColumnDirective,ColumnsDirective,QueryBuilderComponent,QueryBuilderModule,QueryBuilderAllModule,QueryLibraryService,Columns,Rule,Value,ShowButtons,FormatObject,FieldMode,DisplayMode,SortDirection,QueryBuilder,Level,TemplateColumn,Validation,ChangeEventArgs,RuleChangeEventArgs,ActionEventArgs,ParameterizedSql,ParameterizedNamedSql,DragEventArgs,DropEventArgs,ColumnsModel,RuleModel,ValueModel,ShowButtonsModel,QueryBuilderModel,QueryLibrary} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/query-builder/querybuilder.component';","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';\nimport {QueryLibrary} from '@syncfusion/ej2-querybuilder';\n\n\nexport const /** @type {?} */ QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\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 QueryLibraryService\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[] = ['addRuleToNewGroups','allowDragAndDrop','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','enableSeparateConnector','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','drag','dragStart','drop'];\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;\n\truleChange: any;\n\tdrag: any;\n\tdragStart: any;\npublic drop: 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 try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\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.drag;\n/** @type {?} */\nQueryBuilderComponent.prototype.dragStart;\n/** @type {?} */\nQueryBuilderComponent.prototype.drop;\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 */\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 * @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":["__metadata","__decorate","outputs"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AIAA,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;IACC,mCAAA;;;;IA0ED,yBAIwB,gBAAkB;QAJ1C,YACQ,iBAAO,SAIV;QADmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAFlC,QAAQ,CAAC,iBAAiB,EAAE,KAAI,EAAE,KAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7B,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;;IACvC,CAAK;;CAhFL,CACC,WAAA;AAoFM,eAAP,CAAA,UAAO,GAAoC;IAH3C,EAIE,IAAA,EAAM,SAAA,EAAW,IAAA,EAAM,CAAA;gBAHrB,QAAQ,EAIE,qCAAA;gBAHV,MAAM,EAIE,KAAA;gBAHR,OAAO,EAIE,OAAA;gBAHT,OAAO,EAIE,EAFR;aACJ,EAIC,EAAG;CAHJ,CAIC;;;;AAED,eAAD,CAAA,cAAC,GAAA,cAAA,OAAA;IADD,EAAC,IAAI,EAAE,gBAAgB,GAAG;CACzB,EAAA,CAAA,CAAC;AAGK,e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SAAS,EAEC;oBADN,mBAAmB;iBACtB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,cAAA,OAAA,EACA,EADA,CACA,CAAC;AD3BF;;GAEG;;"}
@@ -0,0 +1,249 @@
1
+ import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
2
+ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
3
+ import { QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
7
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
11
+ };
12
+ var __metadata = (this && this.__metadata) || function (k, v) {
13
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
14
+ };
15
+ let input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];
16
+ let outputs = [];
17
+ /**
18
+ * `e-column` directive represent a column of the Angular QueryBuilder.
19
+ * It must be contained in a QueryBuilder component(`ejs-querybuilder`).
20
+ * ```html
21
+ * <ejs-querybuilder [dataSource]='data'>
22
+ * <e-columns>
23
+ * <e-column field='ID' label='ID' type='number'></e-column>
24
+ * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>
25
+ * </e-columns>
26
+ * </ejs-querybuilder>
27
+ * ```
28
+ */
29
+ class ColumnDirective extends ComplexBase {
30
+ /**
31
+ * @param {?} viewContainerRef
32
+ */
33
+ constructor(viewContainerRef) {
34
+ super();
35
+ this.viewContainerRef = viewContainerRef;
36
+ setValue('currentInstance', this, this.viewContainerRef);
37
+ this.registerEvents(outputs);
38
+ this.directivePropList = input;
39
+ }
40
+ }
41
+ ColumnDirective.decorators = [
42
+ { type: Directive, args: [{
43
+ selector: 'ejs-querybuilder>e-columns>e-column',
44
+ inputs: input,
45
+ outputs: outputs,
46
+ queries: {}
47
+ },] },
48
+ ];
49
+ /**
50
+ * @nocollapse
51
+ */
52
+ ColumnDirective.ctorParameters = () => [
53
+ { type: ViewContainerRef, },
54
+ ];
55
+ ColumnDirective.propDecorators = {
56
+ 'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate',] },],
57
+ 'template': [{ type: ContentChild, args: ['template',] },],
58
+ };
59
+ __decorate([
60
+ Template(),
61
+ __metadata("design:type", Object)
62
+ ], ColumnDirective.prototype, "ruleTemplate", void 0);
63
+ __decorate([
64
+ Template(),
65
+ __metadata("design:type", Object)
66
+ ], ColumnDirective.prototype, "template", void 0);
67
+ /**
68
+ * Column Array Directive
69
+ */
70
+ class ColumnsDirective extends ArrayBase {
71
+ constructor() {
72
+ super('columns');
73
+ }
74
+ }
75
+ ColumnsDirective.decorators = [
76
+ { type: Directive, args: [{
77
+ selector: 'ejs-querybuilder>e-columns',
78
+ queries: {
79
+ children: new ContentChildren(ColumnDirective)
80
+ },
81
+ },] },
82
+ ];
83
+ /**
84
+ * @nocollapse
85
+ */
86
+ ColumnsDirective.ctorParameters = () => [];
87
+
88
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
89
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
90
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
91
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
92
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
93
+ };
94
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
95
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
96
+ };
97
+ const inputs = ['addRuleToNewGroups', 'allowDragAndDrop', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'enableSeparateConnector', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width'];
98
+ const outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange', 'drag', 'dragStart', 'drop'];
99
+ const twoWays = [''];
100
+ /**
101
+ * Represents the EJ2 Angular QueryBuilder Component.
102
+ * ```html
103
+ * <ejs-querybuilder></ejs-querybuilder>
104
+ * ```
105
+ */
106
+ let QueryBuilderComponent = class QueryBuilderComponent extends QueryBuilder {
107
+ /**
108
+ * @param {?} ngEle
109
+ * @param {?} srenderer
110
+ * @param {?} viewContainerRef
111
+ * @param {?} injector
112
+ */
113
+ constructor(ngEle, srenderer, viewContainerRef, injector) {
114
+ super();
115
+ this.ngEle = ngEle;
116
+ this.srenderer = srenderer;
117
+ this.viewContainerRef = viewContainerRef;
118
+ this.injector = injector;
119
+ this.tags = ['columns'];
120
+ this.element = this.ngEle.nativeElement;
121
+ this.injectedModules = this.injectedModules || [];
122
+ try {
123
+ let mod = this.injector.get('QueryBuilderQueryLibrary');
124
+ if (this.injectedModules.indexOf(mod) === -1) {
125
+ this.injectedModules.push(mod);
126
+ }
127
+ }
128
+ catch (_a) { }
129
+ this.registerEvents(outputs$1);
130
+ this.addTwoWay.call(this, twoWays);
131
+ setValue('currentInstance', this, this.viewContainerRef);
132
+ this.context = new ComponentBase();
133
+ }
134
+ /**
135
+ * @return {?}
136
+ */
137
+ ngOnInit() {
138
+ this.context.ngOnInit(this);
139
+ }
140
+ /**
141
+ * @return {?}
142
+ */
143
+ ngAfterViewInit() {
144
+ this.context.ngAfterViewInit(this);
145
+ }
146
+ /**
147
+ * @return {?}
148
+ */
149
+ ngOnDestroy() {
150
+ this.context.ngOnDestroy(this);
151
+ }
152
+ /**
153
+ * @return {?}
154
+ */
155
+ ngAfterContentChecked() {
156
+ this.tagObjects[0].instance = this.childColumns;
157
+ this.context.ngAfterContentChecked(this);
158
+ }
159
+ };
160
+ QueryBuilderComponent.decorators = [
161
+ { type: Component, args: [{
162
+ selector: 'ejs-querybuilder',
163
+ inputs: inputs,
164
+ outputs: outputs$1,
165
+ template: '',
166
+ changeDetection: ChangeDetectionStrategy.OnPush,
167
+ queries: {
168
+ childColumns: new ContentChild(ColumnsDirective)
169
+ }
170
+ },] },
171
+ ];
172
+ /**
173
+ * @nocollapse
174
+ */
175
+ QueryBuilderComponent.ctorParameters = () => [
176
+ { type: ElementRef, },
177
+ { type: Renderer2, },
178
+ { type: ViewContainerRef, },
179
+ { type: Injector, },
180
+ ];
181
+ QueryBuilderComponent.propDecorators = {
182
+ 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
183
+ };
184
+ __decorate$1([
185
+ Template(),
186
+ __metadata$1("design:type", Object)
187
+ ], QueryBuilderComponent.prototype, "headerTemplate", void 0);
188
+ QueryBuilderComponent = __decorate$1([
189
+ ComponentMixins([ComponentBase]),
190
+ __metadata$1("design:paramtypes", [ElementRef,
191
+ Renderer2,
192
+ ViewContainerRef,
193
+ Injector])
194
+ ], QueryBuilderComponent);
195
+
196
+ /**
197
+ * NgModule definition for the QueryBuilder component.
198
+ */
199
+ class QueryBuilderModule {
200
+ }
201
+ QueryBuilderModule.decorators = [
202
+ { type: NgModule, args: [{
203
+ imports: [CommonModule],
204
+ declarations: [
205
+ QueryBuilderComponent,
206
+ ColumnDirective,
207
+ ColumnsDirective
208
+ ],
209
+ exports: [
210
+ QueryBuilderComponent,
211
+ ColumnDirective,
212
+ ColumnsDirective
213
+ ]
214
+ },] },
215
+ ];
216
+ /**
217
+ * @nocollapse
218
+ */
219
+ QueryBuilderModule.ctorParameters = () => [];
220
+
221
+ const QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary };
222
+ /**
223
+ * NgModule definition for the QueryBuilder component with providers.
224
+ */
225
+ class QueryBuilderAllModule {
226
+ }
227
+ QueryBuilderAllModule.decorators = [
228
+ { type: NgModule, args: [{
229
+ imports: [CommonModule, QueryBuilderModule],
230
+ exports: [
231
+ QueryBuilderModule
232
+ ],
233
+ providers: [
234
+ QueryLibraryService
235
+ ]
236
+ },] },
237
+ ];
238
+ /**
239
+ * @nocollapse
240
+ */
241
+ QueryBuilderAllModule.ctorParameters = () => [];
242
+
243
+ /**
244
+ * Generated bundle index. Do not edit.
245
+ */
246
+
247
+ export { ColumnDirective, ColumnsDirective, QueryBuilderComponent, QueryBuilderModule, QueryBuilderAllModule, QueryLibraryService, inputs as ɵa, outputs$1 as ɵb };
248
+ export { Columns, Rule, Value, ShowButtons, QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder';
249
+ //# sourceMappingURL=ej2-angular-querybuilder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ej2-angular-querybuilder.js","sources":["~/@syncfusion/ej2-angular-querybuilder/ej2-angular-querybuilder.ts","~/@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":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColumnDirective,ColumnsDirective,QueryBuilderComponent,QueryBuilderModule,QueryBuilderAllModule,QueryLibraryService,Columns,Rule,Value,ShowButtons,FormatObject,FieldMode,DisplayMode,SortDirection,QueryBuilder,Level,TemplateColumn,Validation,ChangeEventArgs,RuleChangeEventArgs,ActionEventArgs,ParameterizedSql,ParameterizedNamedSql,DragEventArgs,DropEventArgs,ColumnsModel,RuleModel,ValueModel,ShowButtonsModel,QueryBuilderModel,QueryLibrary} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/query-builder/querybuilder.component';","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';\nimport {QueryLibrary} from '@syncfusion/ej2-querybuilder';\n\n\nexport const /** @type {?} */ QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\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 QueryLibraryService\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[] = ['addRuleToNewGroups','allowDragAndDrop','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','enableSeparateConnector','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','drag','dragStart','drop'];\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;\n\truleChange: any;\n\tdrag: any;\n\tdragStart: any;\npublic drop: 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 try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\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.drag;\n/** @type {?} */\nQueryBuilderComponent.prototype.dragStart;\n/** @type {?} */\nQueryBuilderComponent.prototype.drop;\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 */\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 * @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":["__metadata","__decorate","outputs"],"mappings":";;;;;;;;;;;;;;AIAA,AAKA,IAAI,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,AAAA,MAAA,eACC,SAAA,WAAA,CADD;;;;IA2EA,WAAA,CAIwB,gBAAkB,EAJ1C;QACQ,KAAK,EAAE,CAAC;QAGQ,IAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAFlC,QAAQ,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,IAAI,CAAC,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,OAAA,EAAS,0BAAA,EAA4B,QAAA,EAAU,YAAA,EAAa,CAAC;;;;AAIjH,AAAA,MAAA,qBAAA,CAAA;;AAE4C,qBAA5C,CAAA,UAA4C,GAAoC;IADhF,EAEE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAA,YAAE,EAAa,kBAAA,CAAmB;gBAD3C,OAAO,EAEE;oBADL,kBAAkB;iBACrB;gBACD,SAAS,EAEC;oBADN,mBAAmB;iBACtB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,MAAA,EACA,CAAC;;AD3BF;;GAEG;;;;;"}
package/LICENSE ADDED
@@ -0,0 +1,10 @@
1
+ Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
2
+
3
+ To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
4
+
5
+ Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
6
+
7
+ Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
8
+
9
+ The Syncfusion license that contains the terms and conditions can be found at
10
+ https://www.syncfusion.com/content/downloads/syncfusion_license.pdf