@syncfusion/ej2-angular-querybuilder 25.2.3 → 25.2.4-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 (32) 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/CHANGELOG.md +811 -0
  6. package/dist/ej2-angular-querybuilder.umd.js +254 -0
  7. package/dist/ej2-angular-querybuilder.umd.js.map +1 -0
  8. package/dist/ej2-angular-querybuilder.umd.min.js +11 -0
  9. package/dist/ej2-angular-querybuilder.umd.min.js.map +1 -0
  10. package/ej2-angular-querybuilder.d.ts +5 -0
  11. package/ej2-angular-querybuilder.metadata.json +1 -0
  12. package/package.json +14 -28
  13. package/postinstall/tagchange.js +16 -16
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/query-builder/columns.directive.d.ts +0 -5
  18. package/src/query-builder/querybuilder-all.module.d.ts +0 -6
  19. package/src/query-builder/querybuilder.component.d.ts +0 -3
  20. package/src/query-builder/querybuilder.module.d.ts +0 -7
  21. package/esm2020/public_api.mjs +0 -3
  22. package/esm2020/src/index.mjs +0 -6
  23. package/esm2020/src/query-builder/columns.directive.mjs +0 -72
  24. package/esm2020/src/query-builder/querybuilder-all.module.mjs +0 -29
  25. package/esm2020/src/query-builder/querybuilder.component.mjs +0 -78
  26. package/esm2020/src/query-builder/querybuilder.module.mjs +0 -34
  27. package/esm2020/syncfusion-ej2-angular-querybuilder.mjs +0 -5
  28. package/fesm2015/syncfusion-ej2-angular-querybuilder.mjs +0 -206
  29. package/fesm2015/syncfusion-ej2-angular-querybuilder.mjs.map +0 -1
  30. package/fesm2020/syncfusion-ej2-angular-querybuilder.mjs +0 -206
  31. package/fesm2020/syncfusion-ej2-angular-querybuilder.mjs.map +0 -1
  32. package/syncfusion-ej2-angular-querybuilder.d.ts +0 -5
@@ -0,0 +1,254 @@
1
+ /*!
2
+ * filename: ej2-angular-querybuilder.umd.js
3
+ * version : 25.2.4
4
+ * Copyright Syncfusion Inc. 2001 - 2023. 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
+ var ColumnDirective = (function (_super) {
44
+ __extends(ColumnDirective, _super);
45
+
46
+ function ColumnDirective(viewContainerRef) {
47
+ var _this = _super.call(this) || this;
48
+ _this.viewContainerRef = viewContainerRef;
49
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
50
+ _this.registerEvents(outputs);
51
+ _this.directivePropList = input;
52
+ return _this;
53
+ }
54
+ return ColumnDirective;
55
+ }(ej2AngularBase.ComplexBase));
56
+ ColumnDirective.decorators = [
57
+ { type: core.Directive, args: [{
58
+ selector: 'ejs-querybuilder>e-columns>e-column',
59
+ inputs: input,
60
+ outputs: outputs,
61
+ queries: {}
62
+ },] },
63
+ ];
64
+
65
+ ColumnDirective.ctorParameters = function () { return [
66
+ { type: core.ViewContainerRef, },
67
+ ]; };
68
+ ColumnDirective.propDecorators = {
69
+ 'ruleTemplate': [{ type: core.ContentChild, args: ['ruleTemplate',] },],
70
+ 'template': [{ type: core.ContentChild, args: ['template',] },],
71
+ };
72
+ __decorate([
73
+ ej2AngularBase.Template(),
74
+ __metadata("design:type", Object)
75
+ ], ColumnDirective.prototype, "ruleTemplate", void 0);
76
+ __decorate([
77
+ ej2AngularBase.Template(),
78
+ __metadata("design:type", Object)
79
+ ], ColumnDirective.prototype, "template", void 0);
80
+
81
+ var ColumnsDirective = (function (_super) {
82
+ __extends(ColumnsDirective, _super);
83
+ function ColumnsDirective() {
84
+ return _super.call(this, 'columns') || this;
85
+ }
86
+ return ColumnsDirective;
87
+ }(ej2AngularBase.ArrayBase));
88
+ ColumnsDirective.decorators = [
89
+ { type: core.Directive, args: [{
90
+ selector: 'ejs-querybuilder>e-columns',
91
+ queries: {
92
+ children: new core.ContentChildren(ColumnDirective)
93
+ },
94
+ },] },
95
+ ];
96
+
97
+ ColumnsDirective.ctorParameters = function () { return []; };
98
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
99
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
100
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
101
+ r = Reflect.decorate(decorators, target, key, desc);
102
+ else
103
+ for (var i = decorators.length - 1; i >= 0; i--)
104
+ if (d = decorators[i])
105
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
106
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
107
+ };
108
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
109
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
110
+ return Reflect.metadata(k, v);
111
+ };
112
+ var inputs = ['addRuleToNewGroups', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width'];
113
+ var outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange'];
114
+ var twoWays = [''];
115
+
116
+ exports.QueryBuilderComponent = (function (_super) {
117
+ __extends(QueryBuilderComponent, _super);
118
+
119
+ function QueryBuilderComponent(ngEle, srenderer, viewContainerRef, injector) {
120
+ var _this = _super.call(this) || this;
121
+ _this.ngEle = ngEle;
122
+ _this.srenderer = srenderer;
123
+ _this.viewContainerRef = viewContainerRef;
124
+ _this.injector = injector;
125
+ _this.tags = ['columns'];
126
+ _this.element = _this.ngEle.nativeElement;
127
+ _this.injectedModules = _this.injectedModules || [];
128
+ try {
129
+ var mod = _this.injector.get('QueryBuilderQueryLibrary');
130
+ if (_this.injectedModules.indexOf(mod) === -1) {
131
+ _this.injectedModules.push(mod);
132
+ }
133
+ }
134
+ catch (_a) { }
135
+ _this.registerEvents(outputs$1);
136
+ _this.addTwoWay.call(_this, twoWays);
137
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
138
+ _this.context = new ej2AngularBase.ComponentBase();
139
+ return _this;
140
+ }
141
+
142
+ QueryBuilderComponent.prototype.ngOnInit = function () {
143
+ this.context.ngOnInit(this);
144
+ };
145
+
146
+ QueryBuilderComponent.prototype.ngAfterViewInit = function () {
147
+ this.context.ngAfterViewInit(this);
148
+ };
149
+
150
+ QueryBuilderComponent.prototype.ngOnDestroy = function () {
151
+ this.context.ngOnDestroy(this);
152
+ };
153
+
154
+ QueryBuilderComponent.prototype.ngAfterContentChecked = function () {
155
+ this.tagObjects[0].instance = this.childColumns;
156
+ this.context.ngAfterContentChecked(this);
157
+ };
158
+ return QueryBuilderComponent;
159
+ }(ej2Querybuilder.QueryBuilder));
160
+ exports.QueryBuilderComponent.decorators = [
161
+ { type: core.Component, args: [{
162
+ selector: 'ejs-querybuilder',
163
+ inputs: inputs,
164
+ outputs: outputs$1,
165
+ template: '',
166
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
167
+ queries: {
168
+ childColumns: new core.ContentChild(ColumnsDirective)
169
+ }
170
+ },] },
171
+ ];
172
+
173
+ exports.QueryBuilderComponent.ctorParameters = function () { return [
174
+ { type: core.ElementRef, },
175
+ { type: core.Renderer2, },
176
+ { type: core.ViewContainerRef, },
177
+ { type: core.Injector, },
178
+ ]; };
179
+ exports.QueryBuilderComponent.propDecorators = {
180
+ 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
181
+ };
182
+ __decorate$1([
183
+ ej2AngularBase.Template(),
184
+ __metadata$1("design:type", Object)
185
+ ], exports.QueryBuilderComponent.prototype, "headerTemplate", void 0);
186
+ exports.QueryBuilderComponent = __decorate$1([
187
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
188
+ __metadata$1("design:paramtypes", [core.ElementRef,
189
+ core.Renderer2,
190
+ core.ViewContainerRef,
191
+ core.Injector])
192
+ ], exports.QueryBuilderComponent);
193
+
194
+ var QueryBuilderModule = (function () {
195
+ function QueryBuilderModule() {
196
+ }
197
+ return QueryBuilderModule;
198
+ }());
199
+ QueryBuilderModule.decorators = [
200
+ { type: core.NgModule, args: [{
201
+ imports: [common.CommonModule],
202
+ declarations: [
203
+ exports.QueryBuilderComponent,
204
+ ColumnDirective,
205
+ ColumnsDirective
206
+ ],
207
+ exports: [
208
+ exports.QueryBuilderComponent,
209
+ ColumnDirective,
210
+ ColumnsDirective
211
+ ]
212
+ },] },
213
+ ];
214
+
215
+ QueryBuilderModule.ctorParameters = function () { return []; };
216
+ var QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: ej2Querybuilder.QueryLibrary };
217
+
218
+ var QueryBuilderAllModule = (function () {
219
+ function QueryBuilderAllModule() {
220
+ }
221
+ return QueryBuilderAllModule;
222
+ }());
223
+ QueryBuilderAllModule.decorators = [
224
+ { type: core.NgModule, args: [{
225
+ imports: [common.CommonModule, QueryBuilderModule],
226
+ exports: [
227
+ QueryBuilderModule
228
+ ],
229
+ providers: [
230
+ QueryLibraryService
231
+ ]
232
+ },] },
233
+ ];
234
+
235
+ QueryBuilderAllModule.ctorParameters = function () { return []; };
236
+
237
+ exports.ColumnDirective = ColumnDirective;
238
+ exports.ColumnsDirective = ColumnsDirective;
239
+ exports.QueryBuilderModule = QueryBuilderModule;
240
+ exports.QueryBuilderAllModule = QueryBuilderAllModule;
241
+ exports.QueryLibraryService = QueryLibraryService;
242
+ exports.ɵa = inputs;
243
+ exports.ɵb = outputs$1;
244
+ exports.Columns = ej2Querybuilder.Columns;
245
+ exports.Rule = ej2Querybuilder.Rule;
246
+ exports.Value = ej2Querybuilder.Value;
247
+ exports.ShowButtons = ej2Querybuilder.ShowButtons;
248
+ exports.QueryBuilder = ej2Querybuilder.QueryBuilder;
249
+ exports.QueryLibrary = ej2Querybuilder.QueryLibrary;
250
+
251
+ Object.defineProperty(exports, '__esModule', { value: true });
252
+
253
+ })));
254
+ //# 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';\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','allowValidation','autoSelectField','autoSelectOperator','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 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.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":["CommonModule","NgModule","QueryLibrary","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;;;;;;;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AEE,CAAAD,mBAAE,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,YAAD,EAAC,OAAA,EACA,CADD,EACC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * filename: ej2-angular-querybuilder.umd.min.js
3
+ * version : 25.2.4
4
+ * Copyright Syncfusion Inc. 2001 - 2023. 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,r,n,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 r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,u=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(u=(i<3?o(u):i>3?o(t,r,u):o(t,r))||u);return i>3&&u&&Object.defineProperty(t,r,u),u},a=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 n=e.call(this)||this;return n.viewContainerRef=t,r.setValue("currentInstance",n,n.viewContainerRef),n.registerEvents(c),n.directivePropList=l,n}return i(t,e),t}(r.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"]}]},u([r.Template(),a("design:type",Object)],s.prototype,"ruleTemplate",void 0),u([r.Template(),a("design:type",Object)],s.prototype,"template",void 0);var d=function(e){function t(){return e.call(this,"columns")||this}return i(t,e),t}(r.ArrayBase);d.decorators=[{type:t.Directive,args:[{selector:"ejs-querybuilder>e-columns",queries:{children:new t.ContentChildren(s)}}]}],d.ctorParameters=function(){return[]};var p=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,u=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(u=(i<3?o(u):i>3?o(t,r,u):o(t,r))||u);return i>3&&u&&Object.defineProperty(t,r,u),u},f=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=["addRuleToNewGroups","allowValidation","autoSelectField","autoSelectOperator","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,n,o,i){var u=e.call(this)||this;u.ngEle=t,u.srenderer=n,u.viewContainerRef=o,u.injector=i,u.tags=["columns"],u.element=u.ngEle.nativeElement,u.injectedModules=u.injectedModules||[];try{var a=u.injector.get("QueryBuilderQueryLibrary");-1===u.injectedModules.indexOf(a)&&u.injectedModules.push(a)}catch(l){}return u.registerEvents(m),u.addTwoWay.call(u,h),r.setValue("currentInstance",u,u.viewContainerRef),u.context=new r.ComponentBase,u}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}(n.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(d)}}]}],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"]}]},p([r.Template(),f("design:type",Object)],e.QueryBuilderComponent.prototype,"headerTemplate",void 0),e.QueryBuilderComponent=p([r.ComponentMixins([r.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,d],exports:[e.QueryBuilderComponent,s,d]}]}],g.ctorParameters=function(){return[]};var C={provide:"QueryBuilderQueryLibrary",useValue:n.QueryLibrary},b=function(){return function(){}}();b.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule,g],exports:[g],providers:[C]}]}],b.ctorParameters=function(){return[]},e.ColumnDirective=s,e.ColumnsDirective=d,e.QueryBuilderModule=g,e.QueryBuilderAllModule=b,e.QueryLibraryService=C,e.ɵa=y,e.ɵb=m,e.Columns=n.Columns,e.Rule=n.Rule,e.Value=n.Value,e.ShowButtons=n.ShowButtons,e.QueryBuilder=n.QueryBuilder,e.QueryLibrary=n.QueryLibrary,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 */\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","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','allowValidation','autoSelectField','autoSelectOperator','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 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.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';\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"],"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","mod","get","indexOf","push","_a","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","QueryLibraryService","provide","useValue","QueryLibrary","QueryBuilderAllModule","providers"],"mappings":"gyCAKIA,GAAkB,WAAa,UAAW,QAAS,SAAU,QAAS,YAAa,eAAgB,OAAQ,WAAY,OAAQ,aAAc,QAAS,UACtJC,KAaJC,EAAA,SAAAC,GA2EA,SAAAD,EAKwBE,GALxB,IAAAC,EACQF,EADRG,KAAAC,OAAAA,YAKwBF,EAAxBD,iBAAwBA,EAHhBI,EAAAA,SAAS,kBAAmBH,EAAMA,EAAKD,kBACvCC,EAAKI,eAAeR,GACpBI,EAAKK,kBAAoBV,WA9EhCW,EAADT,EAAAC,KADA,CACCS,EAAAA,aAqFMV,EAAPW,aACEC,KAAMC,EAAAA,UAAWC,OAJfC,SAKU,sCAJVC,OAKQlB,EAJRC,QAKSA,EAJTkB,eAWHjB,EAADkB,eAAC,WAAA,QAFAN,KAAMO,EAAAA,oBAKAnB,EAAPoB,gBAFAC,eAGmBT,KAAMU,EAAAA,aAAcR,MAAM,kBAF7CS,WAGeX,KAAMU,EAAAA,aAAcR,MAAM,eArCrCU,GAKCC,EAAAA,oCALLzB,EAAA0B,UAAA,oBAAA,GAMIF,GAMCC,EAAAA,oCANLzB,EAAA0B,UAAA,gBAAA,GAoIA,IAAAC,EAAA,SAAA1B,GACA,SAAA0B,IACA,OAAQ1B,EAARG,KAAAC,KAAc,YAAdA,YA9FCI,EAADkB,EAAA1B,KA4FA,CA5FC2B,EAAAA,WAIMD,EAAPhB,aACEC,KAAMC,EAAAA,UAAWC,OA6FfC,SA5FU,6BA6FVE,SACIY,SA5FU,IAAIC,EAAAA,gBAAgB9B,QAKrC2B,EAADT,eAAC,WAAA,ifCzIYF,GAAmB,qBAAsB,kBAAkB,kBAAkB,qBAAqB,UAAU,WAAW,aAAa,cAAc,qBAAqB,oBAAoB,YAAY,YAAY,aAAa,iBAAiB,SAAS,qBAAqB,SAAS,YAAY,gBAAgB,gBAAgB,WAAW,OAAO,YAAY,cAAc,gBAAgB,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AazC3C,SACIsC,aAZc,IAAIjC,EAAAA,aAAaK,QAKtCM,EAAAA,sBAADf,eAAC,WAAA,QAeAN,KAAMiD,EAAAA,aACNjD,KAAMkD,EAAAA,YACNlD,KAAMO,EAAAA,mBACNP,KAAMmD,EAAAA,YAZA9B,EAAAA,sBAAPb,gBAeA4C,iBAdqBpD,KAAMU,EAAAA,aAAcR,MAAM,qBA7D3CU,GAECC,EAAAA,oCAFLQ,EAAAA,sBAAAP,UAAA,sBAAA,GAjBaO,EAAAA,sBAAbT,GACCyC,EAAAA,iBAAAjB,EAAAA,gBAqBDkB,EAAA,qBAA+BL,EAAAA,WAA+BC,EAAAA,UAAoC3C,EAAAA,iBAAoC4C,EAAAA,YAtBzH9B,EAAAA,uBCTb,IAAAkC,EAAA,kBAAA,aAAA,GAEyCA,EAAzCxD,aACEC,KAAMwD,EAAAA,SAAUtD,OADduD,SAESC,EAAAA,cADTC,cACItC,EAAAA,sBACAjC,EACA2B,GAEJK,SACIC,EAAAA,sBACAjC,EACA2B,OAOPwC,EAADjD,eAAC,WAAA,UCjBM,IAAMsD,GAAuCC,QAAS,2BAA4BC,SAAUC,EAAAA,cAInGC,EAAA,kBAAA,aAAA,GAE4CA,EAA5CjE,aACEC,KAAMwD,EAAAA,SAAUtD,OADduD,SAESC,EAAAA,aAAeH,GADxBnC,SACImC,GAEJU,WACIL,OAOPI,EAAD1D,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';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":3,"exports":[{"from":"@syncfusion/ej2-querybuilder"}],"metadata":{"ɵa":["addRuleToNewGroups","allowValidation","autoSelectField","autoSelectOperator","columns","cssClass","dataSource","displayMode","enableNotCondition","enablePersistence","enableRtl","fieldMode","fieldModel","headerTemplate","height","immediateModeDelay","locale","matchCase","maxGroupCount","operatorModel","readonly","rule","separator","showButtons","sortDirection","summaryView","valueModel","width"],"ɵb":["actionBegin","beforeChange","change","created","dataBound","ruleChange"],"ColumnDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComplexBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ejs-querybuilder>e-columns>e-column","inputs":["category","columns","field","format","label","operators","ruleTemplate","step","template","type","validation","value","values"],"outputs":[],"queries":{}}]}],"members":{"ruleTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["ruleTemplate"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["template"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}]}},"ColumnsDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ArrayBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ejs-querybuilder>e-columns","queries":{"children":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren"},"arguments":[{"__symbolic":"reference","name":"ColumnDirective"}]}}}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"QueryBuilderComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-querybuilder","name":"QueryBuilder"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ejs-querybuilder","inputs":{"__symbolic":"reference","name":"ɵa"},"outputs":{"__symbolic":"reference","name":"ɵb"},"template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"queries":{"childColumns":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ColumnsDirective"}]}}}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComponentMixins"},"arguments":[[{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComponentBase"}]]}],"members":{"headerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["headerTemplate"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}]}},"QueryBuilderModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","name":"QueryBuilderComponent"},{"__symbolic":"reference","name":"ColumnDirective"},{"__symbolic":"reference","name":"ColumnsDirective"}],"exports":[{"__symbolic":"reference","name":"QueryBuilderComponent"},{"__symbolic":"reference","name":"ColumnDirective"},{"__symbolic":"reference","name":"ColumnsDirective"}]}]}],"members":{}},"QueryBuilderAllModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","name":"QueryBuilderModule"}],"exports":[{"__symbolic":"reference","name":"QueryBuilderModule"}],"providers":[{"__symbolic":"reference","name":"QueryLibraryService"}]}]}],"members":{}},"QueryLibraryService":{"provide":"QueryBuilderQueryLibrary","useValue":{"__symbolic":"reference","module":"@syncfusion/ej2-querybuilder","name":"QueryLibrary"}}},"origins":{"ɵa":"./src/query-builder/querybuilder.component","ɵb":"./src/query-builder/querybuilder.component","ColumnDirective":"./src/query-builder/columns.directive","ColumnsDirective":"./src/query-builder/columns.directive","QueryBuilderComponent":"./src/query-builder/querybuilder.component","QueryBuilderModule":"./src/query-builder/querybuilder.module","QueryBuilderAllModule":"./src/query-builder/querybuilder-all.module","QueryLibraryService":"./src/query-builder/querybuilder-all.module"},"importAs":"@syncfusion/ej2-angular-querybuilder"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-angular-querybuilder@*",
3
- "_id": "@syncfusion/ej2-angular-querybuilder@25.1.42",
3
+ "_id": "@syncfusion/ej2-angular-querybuilder@25.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ow0yoK2glhYQeNXfJS2JQddZBbFYV98lieQ1dt5RmvKr0RiH4n1sYD7pLLCx6ALLSdZZCN9OAlDZ4JvEFDae4Q==",
5
+ "_integrity": "sha512-fDsiIo2QKMd0Qu5rJBDlEpqjB0PZK7Jm5tSK1m6c/YmDDxTTGY6rl0hdAsZETA1/HzD/dQl42f1OW697OHIhtw==",
6
6
  "_location": "/@syncfusion/ej2-angular-querybuilder",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-angular-hotfix/@syncfusion/ej2-angular-querybuilder/-/ej2-angular-querybuilder-25.1.42.tgz",
23
- "_shasum": "045f49f47f9484077986b433ea5f69d09c5df11b",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-angular-querybuilder/-/ej2-angular-querybuilder-25.2.3.tgz",
23
+ "_shasum": "3607dbc25eb33833959490ed20f63a621e11362a",
24
24
  "_spec": "@syncfusion/ej2-angular-querybuilder@*",
25
- "_where": "/jenkins/workspace/elease-automation_release_25.1.1/ivypackages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,30 +31,14 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-angular-base": "~25.2.3",
34
+ "@syncfusion/ej2-angular-base": "~25.2.4",
35
35
  "@syncfusion/ej2-base": "~25.2.3",
36
- "@syncfusion/ej2-querybuilder": "25.2.3",
37
- "tslib": "^2.3.0"
36
+ "@syncfusion/ej2-querybuilder": "25.2.4"
38
37
  },
39
38
  "deprecated": false,
40
39
  "description": "Essential JS 2 QueryBuilder for Angular",
41
- "es2020": "fesm2020/syncfusion-ej2-angular-querybuilder.mjs",
42
- "esm2020": "esm2020/syncfusion-ej2-angular-querybuilder.mjs",
43
- "exports": {
44
- "./package.json": {
45
- "default": "./package.json"
46
- },
47
- ".": {
48
- "types": "./syncfusion-ej2-angular-querybuilder.d.ts",
49
- "esm2020": "./esm2020/syncfusion-ej2-angular-querybuilder.mjs",
50
- "es2020": "./fesm2020/syncfusion-ej2-angular-querybuilder.mjs",
51
- "es2015": "./fesm2015/syncfusion-ej2-angular-querybuilder.mjs",
52
- "node": "./fesm2015/syncfusion-ej2-angular-querybuilder.mjs",
53
- "default": "./fesm2020/syncfusion-ej2-angular-querybuilder.mjs"
54
- }
55
- },
56
- "fesm2015": "fesm2015/syncfusion-ej2-angular-querybuilder.mjs",
57
- "fesm2020": "fesm2020/syncfusion-ej2-angular-querybuilder.mjs",
40
+ "devDependencies": {},
41
+ "es2015": "@syncfusion/ej2-angular-querybuilder.js",
58
42
  "homepage": "https://www.syncfusion.com/angular-components",
59
43
  "keywords": [
60
44
  "angular",
@@ -66,7 +50,9 @@
66
50
  "angular filter"
67
51
  ],
68
52
  "license": "SEE LICENSE IN license",
69
- "module": "fesm2015/syncfusion-ej2-angular-querybuilder.mjs",
53
+ "main": "dist/ej2-angular-querybuilder.umd.js",
54
+ "metadata": "ej2-angular-querybuilder.metadata.json",
55
+ "module": "@syncfusion/ej2-angular-querybuilder.es5.js",
70
56
  "name": "@syncfusion/ej2-angular-querybuilder",
71
57
  "repository": {
72
58
  "type": "git",
@@ -74,6 +60,6 @@
74
60
  },
75
61
  "schematics": "./schematics/collection.json",
76
62
  "sideEffects": false,
77
- "typings": "syncfusion-ej2-angular-querybuilder.d.ts",
78
- "version": "25.2.3"
63
+ "typings": "ej2-angular-querybuilder.d.ts",
64
+ "version": "25.2.4-ngcc"
79
65
  }
@@ -1,18 +1,18 @@
1
- // var fs = require("fs");
2
- // var glob = require("glob");
1
+ var fs = require("fs");
2
+ var glob = require("glob");
3
3
 
4
- // // selectors
4
+ var selectors = ['ejs-querybuilder'];
5
5
 
6
- // if (process.env.tagName !== undefined) {
7
- // var newTagPrefix = process.env.tagName.trim();
8
- // var files = glob.sync("./@syncfusion/*");
9
- // for (var i = 0; i < files.length; i++) {
10
- // var sourceFile = fs.readFileSync(files[i], "utf8");
11
- // for (var j = 0; j < selectors.length; j++) {
12
- // selectors[j] = selectors[j].replace('[','').replace(']','');
13
- // var tagRegex = new RegExp(selectors[j], "g");
14
- // sourceFile = sourceFile.replace(tagRegex,selectors[j].replace("ejs", newTagPrefix));
15
- // }
16
- // fs.writeFileSync(files[i], sourceFile, "utf8");
17
- // }
18
- // }
6
+ if (process.env.tagName !== undefined) {
7
+ var newTagPrefix = process.env.tagName.trim();
8
+ var files = glob.sync("./@syncfusion/*");
9
+ for (var i = 0; i < files.length; i++) {
10
+ var sourceFile = fs.readFileSync(files[i], "utf8");
11
+ for (var j = 0; j < selectors.length; j++) {
12
+ selectors[j] = selectors[j].replace('[','').replace(']','');
13
+ var tagRegex = new RegExp(selectors[j], "g");
14
+ sourceFile = sourceFile.replace(tagRegex,selectors[j].replace("ejs", newTagPrefix));
15
+ }
16
+ fs.writeFileSync(files[i], sourceFile, "utf8");
17
+ }
18
+ }
@@ -1,4 +1,4 @@
1
1
  export declare const pkgName = "@syncfusion/ej2-angular-querybuilder";
2
- export declare const pkgVer = "^25.1.42";
2
+ export declare const pkgVer = "^25.2.3";
3
3
  export declare const moduleName = "QueryBuilderModule";
4
- export declare const themeVer = "~25.1.42";
4
+ export declare const themeVer = "~25.2.3";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.pkgName = '@syncfusion/ej2-angular-querybuilder';
4
- exports.pkgVer = '^25.2.3';
4
+ exports.pkgVer = '^25.2.4';
5
5
  exports.moduleName = 'QueryBuilderModule';
6
- exports.themeVer = '~25.2.3';
6
+ exports.themeVer = '~25.2.4';
@@ -1,4 +1,4 @@
1
1
  export const pkgName = '@syncfusion/ej2-angular-querybuilder';
2
- export const pkgVer = '^25.2.3';
2
+ export const pkgVer = '^25.2.4';
3
3
  export const moduleName = 'QueryBuilderModule';
4
- export const themeVer = '~25.2.3';
4
+ export const themeVer = '~25.2.4';
@@ -1,6 +1,5 @@
1
1
  import { ViewContainerRef } from '@angular/core';
2
2
  import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
- import * as i0 from "@angular/core";
4
3
  /**
5
4
  * `e-column` directive represent a column of the Angular QueryBuilder.
6
5
  * It must be contained in a QueryBuilder component(`ejs-querybuilder`).
@@ -86,8 +85,6 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
86
85
  */
87
86
  template: any;
88
87
  constructor(viewContainerRef: ViewContainerRef);
89
- static ɵfac: i0.ɵɵFactoryDeclaration<ColumnDirective, never>;
90
- static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnDirective, "ejs-querybuilder>e-columns>e-column", never, { "category": "category"; "columns": "columns"; "field": "field"; "format": "format"; "label": "label"; "operators": "operators"; "ruleTemplate": "ruleTemplate"; "step": "step"; "template": "template"; "type": "type"; "validation": "validation"; "value": "value"; "values": "values"; }, {}, ["ruleTemplate", "template"]>;
91
88
  }
92
89
  /**
93
90
  * Column Array Directive
@@ -95,6 +92,4 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
95
92
  */
96
93
  export declare class ColumnsDirective extends ArrayBase<ColumnsDirective> {
97
94
  constructor();
98
- static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsDirective, never>;
99
- static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnsDirective, "ejs-querybuilder>e-columns", never, {}, {}, ["children"]>;
100
95
  }
@@ -1,13 +1,7 @@
1
1
  import { ValueProvider } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "./querybuilder.module";
5
2
  export declare const QueryLibraryService: ValueProvider;
6
3
  /**
7
4
  * NgModule definition for the QueryBuilder component with providers.
8
5
  */
9
6
  export declare class QueryBuilderAllModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<QueryBuilderAllModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<QueryBuilderAllModule, never, [typeof i1.CommonModule, typeof i2.QueryBuilderModule], [typeof i2.QueryBuilderModule]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<QueryBuilderAllModule>;
13
7
  }
@@ -2,7 +2,6 @@ import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@a
2
2
  import { IComponentBase } from '@syncfusion/ej2-angular-base';
3
3
  import { QueryBuilder } from '@syncfusion/ej2-querybuilder';
4
4
  import { ColumnsDirective } from './columns.directive';
5
- import * as i0 from "@angular/core";
6
5
  export declare const inputs: string[];
7
6
  export declare const outputs: string[];
8
7
  export declare const twoWays: string[];
@@ -40,6 +39,4 @@ export declare class QueryBuilderComponent extends QueryBuilder implements IComp
40
39
  ngAfterContentChecked(): void;
41
40
  registerEvents: (eventList: string[]) => void;
42
41
  addTwoWay: (propList: string[]) => void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<QueryBuilderComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<QueryBuilderComponent, "ejs-querybuilder", never, { "addRuleToNewGroups": "addRuleToNewGroups"; "allowValidation": "allowValidation"; "autoSelectField": "autoSelectField"; "autoSelectOperator": "autoSelectOperator"; "columns": "columns"; "cssClass": "cssClass"; "dataSource": "dataSource"; "displayMode": "displayMode"; "enableNotCondition": "enableNotCondition"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "fieldMode": "fieldMode"; "fieldModel": "fieldModel"; "headerTemplate": "headerTemplate"; "height": "height"; "immediateModeDelay": "immediateModeDelay"; "locale": "locale"; "matchCase": "matchCase"; "maxGroupCount": "maxGroupCount"; "operatorModel": "operatorModel"; "readonly": "readonly"; "rule": "rule"; "separator": "separator"; "showButtons": "showButtons"; "sortDirection": "sortDirection"; "summaryView": "summaryView"; "valueModel": "valueModel"; "width": "width"; }, { "actionBegin": "actionBegin"; "beforeChange": "beforeChange"; "change": "change"; "created": "created"; "dataBound": "dataBound"; "ruleChange": "ruleChange"; }, ["headerTemplate", "childColumns"], never>;
45
42
  }
@@ -1,12 +1,5 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./querybuilder.component";
3
- import * as i2 from "./columns.directive";
4
- import * as i3 from "@angular/common";
5
1
  /**
6
2
  * NgModule definition for the QueryBuilder component.
7
3
  */
8
4
  export declare class QueryBuilderModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<QueryBuilderModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<QueryBuilderModule, [typeof i1.QueryBuilderComponent, typeof i2.ColumnDirective, typeof i2.ColumnsDirective], [typeof i3.CommonModule], [typeof i1.QueryBuilderComponent, typeof i2.ColumnDirective, typeof i2.ColumnsDirective]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<QueryBuilderModule>;
12
5
  }