@syncfusion/ej2-angular-querybuilder 31.2.16-ngcc → 32.1.19-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.
@@ -1,284 +1,275 @@
1
- /*!
2
- * filename: ej2-angular-querybuilder.umd.js
3
- * version : 31.2.16
4
- * Copyright Syncfusion Inc. 2001 - 2025. 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
1
  (function (global, factory) {
11
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-querybuilder'), require('@angular/common')) :
12
3
  typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-querybuilder', '@angular/common'], factory) :
13
4
  (factory((global['ej2-angular-querybuilder'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.querybuilder,global.ng.common));
14
5
  }(this, (function (exports,core,ej2AngularBase,ej2Querybuilder,common) { 'use strict';
15
6
 
16
- var __extends = (this && this.__extends) || (function () {
17
- var extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
- return function (d, b) {
21
- extendStatics(d, b);
22
- function __() { this.constructor = d; }
23
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
- };
25
- })();
26
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
27
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
28
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29
- r = Reflect.decorate(decorators, target, key, desc);
30
- else
31
- for (var i = decorators.length - 1; i >= 0; i--)
32
- if (d = decorators[i])
33
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
34
- return c > 3 && r && Object.defineProperty(target, key, r), r;
35
- };
36
- var __metadata = (this && this.__metadata) || function (k, v) {
37
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
38
- return Reflect.metadata(k, v);
39
- };
40
- var input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];
41
- var outputs = [];
42
- /**
43
- * `e-column` directive represent a column of the Angular QueryBuilder.
44
- * It must be contained in a QueryBuilder component(`ejs-querybuilder`).
45
- * ```html
46
- * <ejs-querybuilder [dataSource]='data'>
47
- * <e-columns>
48
- * <e-column field='ID' label='ID' type='number'></e-column>
49
- * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>
50
- * </e-columns>
51
- * </ejs-querybuilder>
52
- * ```
53
- */
54
- var ColumnDirective = /** @class */ (function (_super) {
55
- __extends(ColumnDirective, _super);
56
- /**
57
- * @param {?} viewContainerRef
58
- */
59
- function ColumnDirective(viewContainerRef) {
60
- var _this = _super.call(this) || this;
61
- _this.viewContainerRef = viewContainerRef;
62
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
63
- _this.registerEvents(outputs);
64
- _this.directivePropList = input;
65
- return _this;
66
- }
67
- return ColumnDirective;
68
- }(ej2AngularBase.ComplexBase));
69
- ColumnDirective.decorators = [
70
- { type: core.Directive, args: [{
71
- selector: 'ejs-querybuilder>e-columns>e-column',
72
- inputs: input,
73
- outputs: outputs,
74
- queries: {}
75
- },] },
76
- ];
77
- /**
78
- * @nocollapse
79
- */
80
- ColumnDirective.ctorParameters = function () { return [
81
- { type: core.ViewContainerRef, },
82
- ]; };
83
- ColumnDirective.propDecorators = {
84
- 'ruleTemplate': [{ type: core.ContentChild, args: ['ruleTemplate',] },],
85
- 'template': [{ type: core.ContentChild, args: ['template',] },],
86
- };
87
- __decorate([
88
- ej2AngularBase.Template(),
89
- __metadata("design:type", Object)
90
- ], ColumnDirective.prototype, "ruleTemplate", void 0);
91
- __decorate([
92
- ej2AngularBase.Template(),
93
- __metadata("design:type", Object)
94
- ], ColumnDirective.prototype, "template", void 0);
95
- /**
96
- * Column Array Directive
97
- */
98
- var ColumnsDirective = /** @class */ (function (_super) {
99
- __extends(ColumnsDirective, _super);
100
- function ColumnsDirective() {
101
- return _super.call(this, 'columns') || this;
102
- }
103
- return ColumnsDirective;
104
- }(ej2AngularBase.ArrayBase));
105
- ColumnsDirective.decorators = [
106
- { type: core.Directive, args: [{
107
- selector: 'ejs-querybuilder>e-columns',
108
- queries: {
109
- children: new core.ContentChildren(ColumnDirective)
110
- },
111
- },] },
112
- ];
113
- /**
114
- * @nocollapse
115
- */
116
- ColumnsDirective.ctorParameters = function () { return []; };
117
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
118
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
119
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
120
- r = Reflect.decorate(decorators, target, key, desc);
121
- else
122
- for (var i = decorators.length - 1; i >= 0; i--)
123
- if (d = decorators[i])
124
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
125
- return c > 3 && r && Object.defineProperty(target, key, r), r;
126
- };
127
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
128
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
129
- return Reflect.metadata(k, v);
130
- };
131
- var inputs = ['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'];
132
- var outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange', 'drag', 'dragStart', 'drop'];
133
- var twoWays = [''];
134
- /**
135
- * Represents the EJ2 Angular QueryBuilder Component.
136
- * ```html
137
- * <ejs-querybuilder></ejs-querybuilder>
138
- * ```
139
- */
140
- exports.QueryBuilderComponent = /** @class */ (function (_super) {
141
- __extends(QueryBuilderComponent, _super);
142
- /**
143
- * @param {?} ngEle
144
- * @param {?} srenderer
145
- * @param {?} viewContainerRef
146
- * @param {?} injector
147
- */
148
- function QueryBuilderComponent(ngEle, srenderer, viewContainerRef, injector) {
149
- var _this = _super.call(this) || this;
150
- _this.ngEle = ngEle;
151
- _this.srenderer = srenderer;
152
- _this.viewContainerRef = viewContainerRef;
153
- _this.injector = injector;
154
- _this.tags = ['columns'];
155
- _this.element = _this.ngEle.nativeElement;
156
- _this.injectedModules = _this.injectedModules || [];
157
- try {
158
- var mod = _this.injector.get('QueryBuilderQueryLibrary');
159
- if (_this.injectedModules.indexOf(mod) === -1) {
160
- _this.injectedModules.push(mod);
161
- }
162
- }
163
- catch (_a) { }
164
- _this.registerEvents(outputs$1);
165
- _this.addTwoWay.call(_this, twoWays);
166
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
167
- _this.context = new ej2AngularBase.ComponentBase();
168
- return _this;
169
- }
170
- /**
171
- * @return {?}
172
- */
173
- QueryBuilderComponent.prototype.ngOnInit = function () {
174
- this.context.ngOnInit(this);
175
- };
176
- /**
177
- * @return {?}
178
- */
179
- QueryBuilderComponent.prototype.ngAfterViewInit = function () {
180
- this.context.ngAfterViewInit(this);
181
- };
182
- /**
183
- * @return {?}
184
- */
185
- QueryBuilderComponent.prototype.ngOnDestroy = function () {
186
- this.context.ngOnDestroy(this);
187
- };
188
- /**
189
- * @return {?}
190
- */
191
- QueryBuilderComponent.prototype.ngAfterContentChecked = function () {
192
- this.tagObjects[0].instance = this.childColumns;
193
- this.context.ngAfterContentChecked(this);
194
- };
195
- return QueryBuilderComponent;
196
- }(ej2Querybuilder.QueryBuilder));
197
- exports.QueryBuilderComponent.decorators = [
198
- { type: core.Component, args: [{
199
- selector: 'ejs-querybuilder',
200
- inputs: inputs,
201
- outputs: outputs$1,
202
- template: '',
203
- changeDetection: core.ChangeDetectionStrategy.OnPush,
204
- queries: {
205
- childColumns: new core.ContentChild(ColumnsDirective)
206
- }
207
- },] },
208
- ];
209
- /**
210
- * @nocollapse
211
- */
212
- exports.QueryBuilderComponent.ctorParameters = function () { return [
213
- { type: core.ElementRef, },
214
- { type: core.Renderer2, },
215
- { type: core.ViewContainerRef, },
216
- { type: core.Injector, },
217
- ]; };
218
- exports.QueryBuilderComponent.propDecorators = {
219
- 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
220
- };
221
- __decorate$1([
222
- ej2AngularBase.Template(),
223
- __metadata$1("design:type", Object)
224
- ], exports.QueryBuilderComponent.prototype, "headerTemplate", void 0);
225
- exports.QueryBuilderComponent = __decorate$1([
226
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
227
- __metadata$1("design:paramtypes", [core.ElementRef,
228
- core.Renderer2,
229
- core.ViewContainerRef,
230
- core.Injector])
231
- ], exports.QueryBuilderComponent);
232
- /**
233
- * NgModule definition for the QueryBuilder component.
234
- */
235
- var QueryBuilderModule = /** @class */ (function () {
236
- function QueryBuilderModule() {
237
- }
238
- return QueryBuilderModule;
239
- }());
240
- QueryBuilderModule.decorators = [
241
- { type: core.NgModule, args: [{
242
- imports: [common.CommonModule],
243
- declarations: [
244
- exports.QueryBuilderComponent,
245
- ColumnDirective,
246
- ColumnsDirective
247
- ],
248
- exports: [
249
- exports.QueryBuilderComponent,
250
- ColumnDirective,
251
- ColumnsDirective
252
- ]
253
- },] },
254
- ];
255
- /**
256
- * @nocollapse
257
- */
258
- QueryBuilderModule.ctorParameters = function () { return []; };
259
- var QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: ej2Querybuilder.QueryLibrary };
260
- /**
261
- * NgModule definition for the QueryBuilder component with providers.
262
- */
263
- var QueryBuilderAllModule = /** @class */ (function () {
264
- function QueryBuilderAllModule() {
265
- }
266
- return QueryBuilderAllModule;
267
- }());
268
- QueryBuilderAllModule.decorators = [
269
- { type: core.NgModule, args: [{
270
- imports: [common.CommonModule, QueryBuilderModule],
271
- exports: [
272
- QueryBuilderModule
273
- ],
274
- providers: [
275
- QueryLibraryService
276
- ]
277
- },] },
278
- ];
279
- /**
280
- * @nocollapse
281
- */
7
+ var __extends = (this && this.__extends) || (function () {
8
+ var extendStatics = Object.setPrototypeOf ||
9
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
10
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
11
+ return function (d, b) {
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
20
+ r = Reflect.decorate(decorators, target, key, desc);
21
+ else
22
+ for (var i = decorators.length - 1; i >= 0; i--)
23
+ if (d = decorators[i])
24
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
25
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
26
+ };
27
+ var __metadata = (this && this.__metadata) || function (k, v) {
28
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
29
+ return Reflect.metadata(k, v);
30
+ };
31
+ var input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];
32
+ var outputs = [];
33
+ /**
34
+ * `e-column` directive represent a column of the Angular QueryBuilder.
35
+ * It must be contained in a QueryBuilder component(`ejs-querybuilder`).
36
+ * ```html
37
+ * <ejs-querybuilder [dataSource]='data'>
38
+ * <e-columns>
39
+ * <e-column field='ID' label='ID' type='number'></e-column>
40
+ * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>
41
+ * </e-columns>
42
+ * </ejs-querybuilder>
43
+ * ```
44
+ */
45
+ var ColumnDirective = /** @class */ (function (_super) {
46
+ __extends(ColumnDirective, _super);
47
+ /**
48
+ * @param {?} viewContainerRef
49
+ */
50
+ function ColumnDirective(viewContainerRef) {
51
+ var _this = _super.call(this) || this;
52
+ _this.viewContainerRef = viewContainerRef;
53
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
54
+ _this.registerEvents(outputs);
55
+ _this.directivePropList = input;
56
+ return _this;
57
+ }
58
+ return ColumnDirective;
59
+ }(ej2AngularBase.ComplexBase));
60
+ ColumnDirective.decorators = [
61
+ { type: core.Directive, args: [{
62
+ selector: 'ejs-querybuilder>e-columns>e-column',
63
+ inputs: input,
64
+ outputs: outputs,
65
+ queries: {}
66
+ },] },
67
+ ];
68
+ /**
69
+ * @nocollapse
70
+ */
71
+ ColumnDirective.ctorParameters = function () { return [
72
+ { type: core.ViewContainerRef, },
73
+ ]; };
74
+ ColumnDirective.propDecorators = {
75
+ 'ruleTemplate': [{ type: core.ContentChild, args: ['ruleTemplate',] },],
76
+ 'template': [{ type: core.ContentChild, args: ['template',] },],
77
+ };
78
+ __decorate([
79
+ ej2AngularBase.Template(),
80
+ __metadata("design:type", Object)
81
+ ], ColumnDirective.prototype, "ruleTemplate", void 0);
82
+ __decorate([
83
+ ej2AngularBase.Template(),
84
+ __metadata("design:type", Object)
85
+ ], ColumnDirective.prototype, "template", void 0);
86
+ /**
87
+ * Column Array Directive
88
+ */
89
+ var ColumnsDirective = /** @class */ (function (_super) {
90
+ __extends(ColumnsDirective, _super);
91
+ function ColumnsDirective() {
92
+ return _super.call(this, 'columns') || this;
93
+ }
94
+ return ColumnsDirective;
95
+ }(ej2AngularBase.ArrayBase));
96
+ ColumnsDirective.decorators = [
97
+ { type: core.Directive, args: [{
98
+ selector: 'ejs-querybuilder>e-columns',
99
+ queries: {
100
+ children: new core.ContentChildren(ColumnDirective)
101
+ },
102
+ },] },
103
+ ];
104
+ /**
105
+ * @nocollapse
106
+ */
107
+ ColumnsDirective.ctorParameters = function () { return []; };
108
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
109
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
110
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
111
+ r = Reflect.decorate(decorators, target, key, desc);
112
+ else
113
+ for (var i = decorators.length - 1; i >= 0; i--)
114
+ if (d = decorators[i])
115
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
116
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
117
+ };
118
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
119
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
120
+ return Reflect.metadata(k, v);
121
+ };
122
+ 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'];
123
+ var outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange', 'drag', 'dragStart', 'drop'];
124
+ var twoWays = [''];
125
+ /**
126
+ * Represents the EJ2 Angular QueryBuilder Component.
127
+ * ```html
128
+ * <ejs-querybuilder></ejs-querybuilder>
129
+ * ```
130
+ */
131
+ exports.QueryBuilderComponent = /** @class */ (function (_super) {
132
+ __extends(QueryBuilderComponent, _super);
133
+ /**
134
+ * @param {?} ngEle
135
+ * @param {?} srenderer
136
+ * @param {?} viewContainerRef
137
+ * @param {?} injector
138
+ */
139
+ function QueryBuilderComponent(ngEle, srenderer, viewContainerRef, injector) {
140
+ var _this = _super.call(this) || this;
141
+ _this.ngEle = ngEle;
142
+ _this.srenderer = srenderer;
143
+ _this.viewContainerRef = viewContainerRef;
144
+ _this.injector = injector;
145
+ _this.tags = ['columns'];
146
+ _this.element = _this.ngEle.nativeElement;
147
+ _this.injectedModules = _this.injectedModules || [];
148
+ try {
149
+ var mod = _this.injector.get('QueryBuilderQueryLibrary');
150
+ if (_this.injectedModules.indexOf(mod) === -1) {
151
+ _this.injectedModules.push(mod);
152
+ }
153
+ }
154
+ catch (_a) { }
155
+ _this.registerEvents(outputs$1);
156
+ _this.addTwoWay.call(_this, twoWays);
157
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
158
+ _this.context = new ej2AngularBase.ComponentBase();
159
+ return _this;
160
+ }
161
+ /**
162
+ * @return {?}
163
+ */
164
+ QueryBuilderComponent.prototype.ngOnInit = function () {
165
+ this.context.ngOnInit(this);
166
+ };
167
+ /**
168
+ * @return {?}
169
+ */
170
+ QueryBuilderComponent.prototype.ngAfterViewInit = function () {
171
+ this.context.ngAfterViewInit(this);
172
+ };
173
+ /**
174
+ * @return {?}
175
+ */
176
+ QueryBuilderComponent.prototype.ngOnDestroy = function () {
177
+ this.context.ngOnDestroy(this);
178
+ };
179
+ /**
180
+ * @return {?}
181
+ */
182
+ QueryBuilderComponent.prototype.ngAfterContentChecked = function () {
183
+ this.tagObjects[0].instance = this.childColumns;
184
+ this.context.ngAfterContentChecked(this);
185
+ };
186
+ return QueryBuilderComponent;
187
+ }(ej2Querybuilder.QueryBuilder));
188
+ exports.QueryBuilderComponent.decorators = [
189
+ { type: core.Component, args: [{
190
+ selector: 'ejs-querybuilder',
191
+ inputs: inputs,
192
+ outputs: outputs$1,
193
+ template: '',
194
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
195
+ queries: {
196
+ childColumns: new core.ContentChild(ColumnsDirective)
197
+ }
198
+ },] },
199
+ ];
200
+ /**
201
+ * @nocollapse
202
+ */
203
+ exports.QueryBuilderComponent.ctorParameters = function () { return [
204
+ { type: core.ElementRef, },
205
+ { type: core.Renderer2, },
206
+ { type: core.ViewContainerRef, },
207
+ { type: core.Injector, },
208
+ ]; };
209
+ exports.QueryBuilderComponent.propDecorators = {
210
+ 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
211
+ };
212
+ __decorate$1([
213
+ ej2AngularBase.Template(),
214
+ __metadata$1("design:type", Object)
215
+ ], exports.QueryBuilderComponent.prototype, "headerTemplate", void 0);
216
+ exports.QueryBuilderComponent = __decorate$1([
217
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
218
+ __metadata$1("design:paramtypes", [core.ElementRef,
219
+ core.Renderer2,
220
+ core.ViewContainerRef,
221
+ core.Injector])
222
+ ], exports.QueryBuilderComponent);
223
+ /**
224
+ * NgModule definition for the QueryBuilder component.
225
+ */
226
+ var QueryBuilderModule = /** @class */ (function () {
227
+ function QueryBuilderModule() {
228
+ }
229
+ return QueryBuilderModule;
230
+ }());
231
+ QueryBuilderModule.decorators = [
232
+ { type: core.NgModule, args: [{
233
+ imports: [common.CommonModule],
234
+ declarations: [
235
+ exports.QueryBuilderComponent,
236
+ ColumnDirective,
237
+ ColumnsDirective
238
+ ],
239
+ exports: [
240
+ exports.QueryBuilderComponent,
241
+ ColumnDirective,
242
+ ColumnsDirective
243
+ ]
244
+ },] },
245
+ ];
246
+ /**
247
+ * @nocollapse
248
+ */
249
+ QueryBuilderModule.ctorParameters = function () { return []; };
250
+ var QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: ej2Querybuilder.QueryLibrary };
251
+ /**
252
+ * NgModule definition for the QueryBuilder component with providers.
253
+ */
254
+ var QueryBuilderAllModule = /** @class */ (function () {
255
+ function QueryBuilderAllModule() {
256
+ }
257
+ return QueryBuilderAllModule;
258
+ }());
259
+ QueryBuilderAllModule.decorators = [
260
+ { type: core.NgModule, args: [{
261
+ imports: [common.CommonModule, QueryBuilderModule],
262
+ exports: [
263
+ QueryBuilderModule
264
+ ],
265
+ providers: [
266
+ QueryLibraryService
267
+ ]
268
+ },] },
269
+ ];
270
+ /**
271
+ * @nocollapse
272
+ */
282
273
  QueryBuilderAllModule.ctorParameters = function () { return []; };
283
274
 
284
275
  exports.ColumnDirective = ColumnDirective;
@@ -1,11 +1,2 @@
1
- /*!
2
- * filename: ej2-angular-querybuilder.umd.min.js
3
- * version : 31.2.16
4
- * Copyright Syncfusion Inc. 2001 - 2025. 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
1
  !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)}}(),a=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=["category","columns","field","format","label","operators","ruleTemplate","step","template","type","validation","value","values"],c=[],s=function(e){function t(t){var 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"]}]},a([r.Template(),u("design:type",Object)],s.prototype,"ruleTemplate",void 0),a([r.Template(),u("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,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},f=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=["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"],m=["actionBegin","beforeChange","change","created","dataBound","ruleChange","drag","dragStart","drop"],h=[""];e.QueryBuilderComponent=function(e){function t(t,n,o,i){var a=e.call(this)||this;a.ngEle=t,a.srenderer=n,a.viewContainerRef=o,a.injector=i,a.tags=["columns"],a.element=a.ngEle.nativeElement,a.injectedModules=a.injectedModules||[];try{var u=a.injector.get("QueryBuilderQueryLibrary");-1===a.injectedModules.indexOf(u)&&a.injectedModules.push(u)}catch(l){}return a.registerEvents(m),a.addTwoWay.call(a,h),r.setValue("currentInstance",a,a.viewContainerRef),a.context=new r.ComponentBase,a}return i(t,e),t.prototype.ngOnInit=function(){this.context.ngOnInit(this)},t.prototype.ngAfterViewInit=function(){this.context.ngAfterViewInit(this)},t.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(this)},t.prototype.ngAfterContentChecked=function(){this.tagObjects[0].instance=this.childColumns,this.context.ngAfterContentChecked(this)},t}(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
2
  //# sourceMappingURL=ej2-angular-querybuilder.umd.min.js.map
@@ -1,5 +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';
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';
@@ -1,10 +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
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