@syncfusion/ej2-angular-querybuilder 31.1.17 → 31.1.22-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.
- package/@syncfusion/ej2-angular-querybuilder.es5.js +277 -0
- package/@syncfusion/ej2-angular-querybuilder.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-querybuilder.js +249 -0
- package/@syncfusion/ej2-angular-querybuilder.js.map +1 -0
- package/LICENSE +10 -0
- package/dist/ej2-angular-querybuilder.umd.js +301 -0
- package/dist/ej2-angular-querybuilder.umd.js.map +1 -0
- package/dist/ej2-angular-querybuilder.umd.min.js +11 -0
- package/dist/ej2-angular-querybuilder.umd.min.js.map +1 -0
- package/ej2-angular-querybuilder.d.ts +5 -0
- package/ej2-angular-querybuilder.metadata.json +1 -0
- package/package.json +16 -60
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/index.d.ts +5 -5
- package/src/query-builder/columns.directive.d.ts +94 -99
- package/src/query-builder/querybuilder-all.module.d.ts +7 -13
- package/src/query-builder/querybuilder.component.d.ts +45 -48
- package/src/query-builder/querybuilder.module.d.ts +5 -12
- package/CHANGELOG.md +0 -781
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/index.mjs +0 -6
- package/esm2020/src/query-builder/columns.directive.mjs +0 -72
- package/esm2020/src/query-builder/querybuilder-all.module.mjs +0 -29
- package/esm2020/src/query-builder/querybuilder.component.mjs +0 -78
- package/esm2020/src/query-builder/querybuilder.module.mjs +0 -34
- package/esm2020/syncfusion-ej2-angular-querybuilder.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-querybuilder.mjs +0 -204
- package/fesm2015/syncfusion-ej2-angular-querybuilder.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-querybuilder.mjs +0 -204
- package/fesm2020/syncfusion-ej2-angular-querybuilder.mjs.map +0 -1
- package/syncfusion-ej2-angular-querybuilder.d.ts +0 -5
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: ej2-angular-querybuilder.umd.js
|
|
3
|
+
* version : 31.1.22
|
|
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
|
+
(function (global, factory) {
|
|
11
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-querybuilder'), require('@angular/common')) :
|
|
12
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-querybuilder', '@angular/common'], factory) :
|
|
13
|
+
(factory((global['ej2-angular-querybuilder'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.querybuilder,global.ng.common));
|
|
14
|
+
}(this, (function (exports,core,ej2AngularBase,ej2Querybuilder,common) { 'use strict';
|
|
15
|
+
|
|
16
|
+
var __extends = (this && this.__extends) || (function () {
|
|
17
|
+
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
+
return function (d, b) {
|
|
21
|
+
extendStatics(d, b);
|
|
22
|
+
function __() { this.constructor = d; }
|
|
23
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
+
else
|
|
31
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
+
if (d = decorators[i])
|
|
33
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
+
};
|
|
36
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
38
|
+
return Reflect.metadata(k, v);
|
|
39
|
+
};
|
|
40
|
+
var input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];
|
|
41
|
+
var outputs = [];
|
|
42
|
+
/**
|
|
43
|
+
* `e-column` directive represent a column of the Angular QueryBuilder.
|
|
44
|
+
* It must be contained in a QueryBuilder component(`ejs-querybuilder`).
|
|
45
|
+
* ```html
|
|
46
|
+
* <ejs-querybuilder [dataSource]='data'>
|
|
47
|
+
* <e-columns>
|
|
48
|
+
* <e-column field='ID' label='ID' type='number'></e-column>
|
|
49
|
+
* <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>
|
|
50
|
+
* </e-columns>
|
|
51
|
+
* </ejs-querybuilder>
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
var ColumnDirective = /** @class */ (function (_super) {
|
|
55
|
+
__extends(ColumnDirective, _super);
|
|
56
|
+
/**
|
|
57
|
+
* @param {?} viewContainerRef
|
|
58
|
+
*/
|
|
59
|
+
function ColumnDirective(viewContainerRef) {
|
|
60
|
+
var _this = _super.call(this) || this;
|
|
61
|
+
_this.viewContainerRef = viewContainerRef;
|
|
62
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
63
|
+
_this.registerEvents(outputs);
|
|
64
|
+
_this.directivePropList = input;
|
|
65
|
+
return _this;
|
|
66
|
+
}
|
|
67
|
+
return ColumnDirective;
|
|
68
|
+
}(ej2AngularBase.ComplexBase));
|
|
69
|
+
ColumnDirective.decorators = [
|
|
70
|
+
{ type: core.Directive, args: [{
|
|
71
|
+
selector: 'ejs-querybuilder>e-columns>e-column',
|
|
72
|
+
inputs: input,
|
|
73
|
+
outputs: outputs,
|
|
74
|
+
queries: {}
|
|
75
|
+
},] },
|
|
76
|
+
];
|
|
77
|
+
/**
|
|
78
|
+
* @nocollapse
|
|
79
|
+
*/
|
|
80
|
+
ColumnDirective.ctorParameters = function () { return [
|
|
81
|
+
{ type: core.ViewContainerRef, },
|
|
82
|
+
]; };
|
|
83
|
+
ColumnDirective.propDecorators = {
|
|
84
|
+
'ruleTemplate': [{ type: core.ContentChild, args: ['ruleTemplate',] },],
|
|
85
|
+
'template': [{ type: core.ContentChild, args: ['template',] },],
|
|
86
|
+
};
|
|
87
|
+
__decorate([
|
|
88
|
+
ej2AngularBase.Template(),
|
|
89
|
+
__metadata("design:type", Object)
|
|
90
|
+
], ColumnDirective.prototype, "ruleTemplate", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
ej2AngularBase.Template(),
|
|
93
|
+
__metadata("design:type", Object)
|
|
94
|
+
], ColumnDirective.prototype, "template", void 0);
|
|
95
|
+
/**
|
|
96
|
+
* Column Array Directive
|
|
97
|
+
*/
|
|
98
|
+
var ColumnsDirective = /** @class */ (function (_super) {
|
|
99
|
+
__extends(ColumnsDirective, _super);
|
|
100
|
+
function ColumnsDirective() {
|
|
101
|
+
return _super.call(this, 'columns') || this;
|
|
102
|
+
}
|
|
103
|
+
return ColumnsDirective;
|
|
104
|
+
}(ej2AngularBase.ArrayBase));
|
|
105
|
+
ColumnsDirective.decorators = [
|
|
106
|
+
{ type: core.Directive, args: [{
|
|
107
|
+
selector: 'ejs-querybuilder>e-columns',
|
|
108
|
+
queries: {
|
|
109
|
+
children: new core.ContentChildren(ColumnDirective)
|
|
110
|
+
},
|
|
111
|
+
},] },
|
|
112
|
+
];
|
|
113
|
+
/**
|
|
114
|
+
* @nocollapse
|
|
115
|
+
*/
|
|
116
|
+
ColumnsDirective.ctorParameters = function () { return []; };
|
|
117
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
118
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
119
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
120
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
121
|
+
else
|
|
122
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
123
|
+
if (d = decorators[i])
|
|
124
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
125
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
126
|
+
};
|
|
127
|
+
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
128
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
129
|
+
return Reflect.metadata(k, v);
|
|
130
|
+
};
|
|
131
|
+
var inputs = ['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
|
+
*/
|
|
282
|
+
QueryBuilderAllModule.ctorParameters = function () { return []; };
|
|
283
|
+
|
|
284
|
+
exports.ColumnDirective = ColumnDirective;
|
|
285
|
+
exports.ColumnsDirective = ColumnsDirective;
|
|
286
|
+
exports.QueryBuilderModule = QueryBuilderModule;
|
|
287
|
+
exports.QueryBuilderAllModule = QueryBuilderAllModule;
|
|
288
|
+
exports.QueryLibraryService = QueryLibraryService;
|
|
289
|
+
exports.ɵa = inputs;
|
|
290
|
+
exports.ɵb = outputs$1;
|
|
291
|
+
exports.Columns = ej2Querybuilder.Columns;
|
|
292
|
+
exports.Rule = ej2Querybuilder.Rule;
|
|
293
|
+
exports.Value = ej2Querybuilder.Value;
|
|
294
|
+
exports.ShowButtons = ej2Querybuilder.ShowButtons;
|
|
295
|
+
exports.QueryBuilder = ej2Querybuilder.QueryBuilder;
|
|
296
|
+
exports.QueryLibrary = ej2Querybuilder.QueryLibrary;
|
|
297
|
+
|
|
298
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
299
|
+
|
|
300
|
+
})));
|
|
301
|
+
//# 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','allowDragAndDrop','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','enableSeparateConnector','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange','drag','dragStart','drop'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\n\truleChange: any;\n\tdrag: any;\n\tdragStart: any;\npublic drop: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.drag;\n/** @type {?} */\nQueryBuilderComponent.prototype.dragStart;\n/** @type {?} */\nQueryBuilderComponent.prototype.drop;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["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;;;;;;;;;;;;;AAa3B,IAAA,eAAA,kBAAA,UAAA,MAAA,EAAA;IACC,SAAD,CAAA,eAAA,EAAA,MAAA,CAAA,CAAC;;;;IA0ED,SAAA,eAAA,CAIwB,gBAAkB,EAJ1C;QAAA,IAAA,KAAA,GACQ,MADR,CAAA,IAAA,CAAA,IAAA,CACe,IADf,IAAA,CAKK;QADmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAFlCkB,uBAAQ,CAAC,iBAAiB,EAAE,KAAI,EAAE,KAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7B,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;;KAClC;;CAhFL,CACCI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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)}}(),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
|
+
//# 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','allowDragAndDrop','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','enableSeparateConnector','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange','drag','dragStart','drop'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\n\truleChange: any;\n\tdrag: any;\n\tdragStart: any;\npublic drop: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.drag;\n/** @type {?} */\nQueryBuilderComponent.prototype.dragStart;\n/** @type {?} */\nQueryBuilderComponent.prototype.drop;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { 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,GAAk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A,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,GApBaO,EAAAA,sBAAbT,GACCyC,EAAAA,iBAAAjB,EAAAA,gBAwBDkB,EAAA,qBAA+BL,EAAAA,WAA+BC,EAAAA,UAAoC3C,EAAAA,iBAAoC4C,EAAAA,YAzBzH9B,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 @@
|
|
|
1
|
+
{"__symbolic":"module","version":3,"exports":[{"from":"@syncfusion/ej2-querybuilder"}],"metadata":{"ɵa":["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"],"ɵb":["actionBegin","beforeChange","change","created","dataBound","ruleChange","drag","dragStart","drop"],"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,60 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "range",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "@syncfusion/ej2-angular-querybuilder@*",
|
|
12
|
-
"name": "@syncfusion/ej2-angular-querybuilder",
|
|
13
|
-
"escapedName": "@syncfusion%2fej2-angular-querybuilder",
|
|
14
|
-
"scope": "@syncfusion",
|
|
15
|
-
"rawSpec": "*",
|
|
16
|
-
"saveSpec": null,
|
|
17
|
-
"fetchSpec": "*"
|
|
18
|
-
},
|
|
19
|
-
"_requiredBy": [
|
|
20
|
-
"/"
|
|
21
|
-
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-angular-development/@syncfusion/ej2-angular-querybuilder/-/ej2-angular-querybuilder-28.2.0.tgz",
|
|
23
|
-
"_shasum": "047b782fe5b85099086f297d7d7a0dcee9b6f827",
|
|
24
|
-
"_spec": "@syncfusion/ej2-angular-querybuilder@*",
|
|
25
|
-
"_where": "D:\\SF3992\\WFH\\Nexus\\release",
|
|
26
|
-
"author": {
|
|
27
|
-
"name": "Syncfusion Inc."
|
|
28
|
-
},
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/syncfusion/ej2-angular-ui-components/issues"
|
|
31
|
-
},
|
|
32
|
-
"bundleDependencies": false,
|
|
2
|
+
"name": "@syncfusion/ej2-angular-querybuilder",
|
|
3
|
+
"version": "31.1.22-ngcc",
|
|
4
|
+
"description": "Essential JS 2 QueryBuilder for Angular",
|
|
5
|
+
"author": "Syncfusion Inc.",
|
|
6
|
+
"license": "SEE LICENSE IN license",
|
|
7
|
+
"schematics": "./schematics/collection.json",
|
|
33
8
|
"dependencies": {
|
|
9
|
+
"@syncfusion/ej2-base": "~31.1.22",
|
|
34
10
|
"@syncfusion/ej2-angular-base": "~31.1.17",
|
|
35
|
-
"@syncfusion/ej2-
|
|
36
|
-
"@syncfusion/ej2-querybuilder": "31.1.17"
|
|
37
|
-
},
|
|
38
|
-
"deprecated": false,
|
|
39
|
-
"description": "Essential JS 2 QueryBuilder for Angular",
|
|
40
|
-
"es2020": "fesm2020/syncfusion-ej2-angular-querybuilder.mjs",
|
|
41
|
-
"esm2020": "esm2020/syncfusion-ej2-angular-querybuilder.mjs",
|
|
42
|
-
"exports": {
|
|
43
|
-
"./package.json": {
|
|
44
|
-
"default": "./package.json"
|
|
45
|
-
},
|
|
46
|
-
".": {
|
|
47
|
-
"types": "./syncfusion-ej2-angular-querybuilder.d.ts",
|
|
48
|
-
"esm2020": "./esm2020/syncfusion-ej2-angular-querybuilder.mjs",
|
|
49
|
-
"es2020": "./fesm2020/syncfusion-ej2-angular-querybuilder.mjs",
|
|
50
|
-
"es2015": "./fesm2015/syncfusion-ej2-angular-querybuilder.mjs",
|
|
51
|
-
"node": "./fesm2015/syncfusion-ej2-angular-querybuilder.mjs",
|
|
52
|
-
"default": "./fesm2020/syncfusion-ej2-angular-querybuilder.mjs"
|
|
53
|
-
}
|
|
11
|
+
"@syncfusion/ej2-querybuilder": "31.1.22"
|
|
54
12
|
},
|
|
55
|
-
"
|
|
56
|
-
"fesm2020": "fesm2020/syncfusion-ej2-angular-querybuilder.mjs",
|
|
57
|
-
"homepage": "https://www.syncfusion.com/angular-components",
|
|
13
|
+
"devDependencies": {},
|
|
58
14
|
"keywords": [
|
|
59
15
|
"angular",
|
|
60
16
|
"ng",
|
|
@@ -64,15 +20,15 @@
|
|
|
64
20
|
"syncfusion angular query designer",
|
|
65
21
|
"angular filter"
|
|
66
22
|
],
|
|
67
|
-
"license": "SEE LICENSE IN license",
|
|
68
|
-
"module": "fesm2015/syncfusion-ej2-angular-querybuilder.mjs",
|
|
69
|
-
"name": "@syncfusion/ej2-angular-querybuilder",
|
|
70
23
|
"repository": {
|
|
71
24
|
"type": "git",
|
|
72
|
-
"url": "
|
|
25
|
+
"url": "https://github.com/syncfusion/ej2-angular-ui-components.git"
|
|
73
26
|
},
|
|
74
|
-
"schematics": "./schematics/collection.json",
|
|
75
27
|
"sideEffects": false,
|
|
76
|
-
"
|
|
77
|
-
"
|
|
28
|
+
"main": "dist/ej2-angular-querybuilder.umd.js",
|
|
29
|
+
"module": "@syncfusion/ej2-angular-querybuilder.es5.js",
|
|
30
|
+
"es2015": "@syncfusion/ej2-angular-querybuilder.js",
|
|
31
|
+
"typings": "ej2-angular-querybuilder.d.ts",
|
|
32
|
+
"metadata": "ej2-angular-querybuilder.metadata.json",
|
|
33
|
+
"homepage": "https://www.syncfusion.com/angular-components"
|
|
78
34
|
}
|
package/public_api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './src/index';
|
|
1
|
+
export * from './src/index';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const pkgName = "@syncfusion/ej2-angular-querybuilder";
|
|
2
|
-
export declare const pkgVer = "^
|
|
2
|
+
export declare const pkgVer = "^31.1.17";
|
|
3
3
|
export declare const moduleName = "QueryBuilderModule";
|
|
4
|
-
export declare const themeVer = "~
|
|
4
|
+
export declare const themeVer = "~31.1.17";
|
|
@@ -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 = '^31.1.
|
|
4
|
+
exports.pkgVer = '^31.1.22';
|
|
5
5
|
exports.moduleName = 'QueryBuilderModule';
|
|
6
|
-
exports.themeVer = '~31.1.
|
|
6
|
+
exports.themeVer = '~31.1.22';
|
package/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ColumnDirective, ColumnsDirective } from './query-builder/columns.directive';
|
|
2
|
-
export { QueryBuilderComponent } from './query-builder/querybuilder.component';
|
|
3
|
-
export { QueryBuilderModule } from './query-builder/querybuilder.module';
|
|
4
|
-
export { QueryBuilderAllModule, QueryLibraryService } from './query-builder/querybuilder-all.module';
|
|
5
|
-
export * from '@syncfusion/ej2-querybuilder';
|
|
1
|
+
export { ColumnDirective, ColumnsDirective } from './query-builder/columns.directive';
|
|
2
|
+
export { QueryBuilderComponent } from './query-builder/querybuilder.component';
|
|
3
|
+
export { QueryBuilderModule } from './query-builder/querybuilder.module';
|
|
4
|
+
export { QueryBuilderAllModule, QueryLibraryService } from './query-builder/querybuilder-all.module';
|
|
5
|
+
export * from '@syncfusion/ej2-querybuilder';
|