@syncfusion/ej2-angular-querybuilder 24.2.9-ngcc → 25.1.35-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 +15 -5
- package/@syncfusion/ej2-angular-querybuilder.es5.js.map +1 -1
- package/@syncfusion/ej2-angular-querybuilder.js +15 -5
- package/@syncfusion/ej2-angular-querybuilder.js.map +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/ej2-angular-querybuilder.umd.js +15 -3
- package/dist/ej2-angular-querybuilder.umd.js.map +1 -1
- package/dist/ej2-angular-querybuilder.umd.min.js +2 -2
- package/dist/ej2-angular-querybuilder.umd.min.js.map +1 -1
- package/ej2-angular-querybuilder.metadata.json +1 -1
- package/package.json +9 -9
- 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 +1 -1
- package/src/query-builder/querybuilder-all.module.d.ts +2 -0
|
@@ -10,7 +10,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
10
10
|
})();
|
|
11
11
|
import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
|
|
12
12
|
import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
13
|
-
import { QueryBuilder } from '@syncfusion/ej2-querybuilder';
|
|
13
|
+
import { QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder';
|
|
14
14
|
import { CommonModule } from '@angular/common';
|
|
15
15
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16
16
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -117,7 +117,7 @@ var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
|
117
117
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
118
118
|
return Reflect.metadata(k, v);
|
|
119
119
|
};
|
|
120
|
-
var inputs = ['allowValidation', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width'];
|
|
120
|
+
var inputs = ['addRuleToNewGroups', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width'];
|
|
121
121
|
var outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange'];
|
|
122
122
|
var twoWays = [''];
|
|
123
123
|
/**
|
|
@@ -143,6 +143,13 @@ var QueryBuilderComponent = /** @class */ (function (_super) {
|
|
|
143
143
|
_this.tags = ['columns'];
|
|
144
144
|
_this.element = _this.ngEle.nativeElement;
|
|
145
145
|
_this.injectedModules = _this.injectedModules || [];
|
|
146
|
+
try {
|
|
147
|
+
var mod = _this.injector.get('QueryBuilderQueryLibrary');
|
|
148
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
149
|
+
_this.injectedModules.push(mod);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
catch (_a) { }
|
|
146
153
|
_this.registerEvents(outputs$1);
|
|
147
154
|
_this.addTwoWay.call(_this, twoWays);
|
|
148
155
|
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
@@ -238,6 +245,7 @@ QueryBuilderModule.decorators = [
|
|
|
238
245
|
* @nocollapse
|
|
239
246
|
*/
|
|
240
247
|
QueryBuilderModule.ctorParameters = function () { return []; };
|
|
248
|
+
var QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary };
|
|
241
249
|
/**
|
|
242
250
|
* NgModule definition for the QueryBuilder component with providers.
|
|
243
251
|
*/
|
|
@@ -252,7 +260,9 @@ QueryBuilderAllModule.decorators = [
|
|
|
252
260
|
exports: [
|
|
253
261
|
QueryBuilderModule
|
|
254
262
|
],
|
|
255
|
-
providers: [
|
|
263
|
+
providers: [
|
|
264
|
+
QueryLibraryService
|
|
265
|
+
]
|
|
256
266
|
},] },
|
|
257
267
|
];
|
|
258
268
|
/**
|
|
@@ -262,6 +272,6 @@ QueryBuilderAllModule.ctorParameters = function () { return []; };
|
|
|
262
272
|
/**
|
|
263
273
|
* Generated bundle index. Do not edit.
|
|
264
274
|
*/
|
|
265
|
-
export { ColumnDirective, ColumnsDirective, QueryBuilderComponent, QueryBuilderModule, QueryBuilderAllModule, inputs as ɵa, outputs$1 as ɵb };
|
|
266
|
-
export { Columns, Rule, Value, ShowButtons, QueryBuilder } from '@syncfusion/ej2-querybuilder';
|
|
275
|
+
export { ColumnDirective, ColumnsDirective, QueryBuilderComponent, QueryBuilderModule, QueryBuilderAllModule, QueryLibraryService, inputs as ɵa, outputs$1 as ɵb };
|
|
276
|
+
export { Columns, Rule, Value, ShowButtons, QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder';
|
|
267
277
|
//# sourceMappingURL=ej2-angular-querybuilder.es5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-angular-querybuilder.es5.js","sources":["~/@syncfusion/ej2-angular-querybuilder/ej2-angular-querybuilder.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColumnDirective,ColumnsDirective,QueryBuilderComponent,QueryBuilderModule,QueryBuilderAllModule,Columns,Rule,Value,ShowButtons,FormatObject,FieldMode,DisplayMode,SortDirection,QueryBuilder,Level,TemplateColumn,Validation,ChangeEventArgs,RuleChangeEventArgs,ActionEventArgs,ColumnsModel,RuleModel,ValueModel,ShowButtonsModel,QueryBuilderModel} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/query-builder/querybuilder.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n \n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowValidation','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\npublic ruleChange: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["__metadata","__decorate","outputs"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AIAA,IAKI,KAAA,GAAkB,CAAA,UAAE,EAAW,SAAA,EAAW,OAAA,EAAS,QAAA,EAAU,OAAA,EAAS,WAAA,EAAa,cAAA,EAAgB,MAAA,EAAQ,UAAA,EAAY,MAAA,EAAQ,YAAA,EAAc,OAAA,EAAS,QAAA,CAAS,CAAC;AACpK,IAAI,OAAA,GAAoB,EAAA,CAAG;;;;;;;;;;;;;AAa3B;IACC,mCAAA;;;;IA0ED,yBAKwB,gBAAkB;QAL1C,YACQ,iBAAO,SAIV;QAAmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAHlC,QAAQ,CAAC,iBAAiB,EAAE,KAAI,EAAE,KAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7B,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;;IACvC,CAAK;;CAhFL,CACC,WAAA;AAqFM,eAAP,CAAA,UAAO,GAAoC;IAJ3C,EAKE,IAAA,EAAM,SAAA,EAAW,IAAA,EAAM,CAAA;gBAJrB,QAAQ,EAKE,qCAAA;gBAJV,MAAM,EAKE,KAAA;gBAJR,OAAO,EAKE,OAAA;gBAJT,OAAO,EAKE,EAHR;aACJ,EAKC,EAAG;CAJJ,CAKC;;;;AAED,eAAD,CAAA,cAAC,GAAA,cAAA,OAAA;IAFD,EAA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,CAAA,mBAAA,EAAA,CAA+B,UAAA;QAA+B,SAAA;QAAoC,gBAAC;QAAmC,QAAA,CAAtI,CAAA;CAtBA,EAAa,qBAAqB,CAwFjC,CAxFD;ADZA;;;AAGA;IAAA;;;CAAA;AAEyC,kBAAzC,CAAA,UAAyC,GAAoC;IAD7E,EAEE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAA,YAAE,CAAY;gBADvB,YAAY,EAEE;oBADV,qBAAqB;oBACrB,eAAe;oBACf,gBAAgB;iBACnB;gBACD,OAAO,EAEE;oBADL,qBAAqB;oBACrB,eAAe;oBACf,gBAAgB;iBACnB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,kBAAD,CAAA,cAAC,GAAA,cAAA,OAAA,EACA,EADA,CACA,CAAC;ADrBF;;;AAGA;IAAA;;;CAAA;AAM4C,qBAA5C,CAAA,UAA4C,GAAoC;IALhF,EAME,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBALpB,OAAO,EAME,CAAA,YAAE,EAAa,kBAAA,CAAmB;gBAL3C,OAAO,EAME;oBALL,kBAAkB;iBACrB;gBACD,SAAS,EAMC,EAJT;aACJ,EAMC,EAAG;CALJ,CAMC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,cAAA,OAAA,EAHA,EAGA,CAHA,CAAC;ADvBF;;GAEG;;"}
|
|
1
|
+
{"version":3,"file":"ej2-angular-querybuilder.es5.js","sources":["~/@syncfusion/ej2-angular-querybuilder/ej2-angular-querybuilder.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColumnDirective,ColumnsDirective,QueryBuilderComponent,QueryBuilderModule,QueryBuilderAllModule,QueryLibraryService,Columns,Rule,Value,ShowButtons,FormatObject,FieldMode,DisplayMode,SortDirection,QueryBuilder,Level,TemplateColumn,Validation,ChangeEventArgs,RuleChangeEventArgs,ActionEventArgs,ParameterizedSql,ParameterizedNamedSql,ColumnsModel,RuleModel,ValueModel,ShowButtonsModel,QueryBuilderModel,QueryLibrary} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/query-builder/querybuilder.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\nimport {QueryLibrary} from '@syncfusion/ej2-querybuilder';\n\n\nexport const /** @type {?} */ QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n QueryLibraryService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['addRuleToNewGroups','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\npublic ruleChange: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["__metadata","__decorate","outputs"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AIAA,IAKI,KAAA,GAAkB,CAAA,UAAE,EAAW,SAAA,EAAW,OAAA,EAAS,QAAA,EAAU,OAAA,EAAS,WAAA,EAAa,cAAA,EAAgB,MAAA,EAAQ,UAAA,EAAY,MAAA,EAAQ,YAAA,EAAc,OAAA,EAAS,QAAA,CAAS,CAAC;AACpK,IAAI,OAAA,GAAoB,EAAA,CAAG;;;;;;;;;;;;;AAa3B;IACC,mCAAA;;;;IA0ED,yBAKwB,gBAAkB;QAL1C,YACQ,iBAAO,SAIV;QAAmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAHlC,QAAQ,CAAC,iBAAiB,EAAE,KAAI,EAAE,KAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7B,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;;IACvC,CAAK;;CAhFL,CACC,WAAA;AAqFM,eAAP,CAAA,UAAO,GAAoC;IAJ3C,EAKE,IAAA,EAAM,SAAA,EAAW,IAAA,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;;;CAAA;AAE4C,qBAA5C,CAAA,UAA4C,GAAoC;IADhF,EAEE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAA,YAAE,EAAa,kBAAA,CAAmB;gBAD3C,OAAO,EAEE;oBADL,kBAAkB;iBACrB;gBACD,SAAS,EAEC;oBADN,mBAAmB;iBACtB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,cAAA,OAAA,EACA,EADA,CACA,CAAC;AD3BF;;GAEG;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import { QueryBuilder } from '@syncfusion/ej2-querybuilder';
|
|
3
|
+
import { QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
|
|
6
6
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -94,7 +94,7 @@ var __decorate$1 = (this && this.__decorate) || function (decorators, target, ke
|
|
|
94
94
|
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
95
95
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
96
96
|
};
|
|
97
|
-
const inputs = ['allowValidation', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width'];
|
|
97
|
+
const inputs = ['addRuleToNewGroups', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width'];
|
|
98
98
|
const outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange'];
|
|
99
99
|
const twoWays = [''];
|
|
100
100
|
/**
|
|
@@ -119,6 +119,13 @@ let QueryBuilderComponent = class QueryBuilderComponent extends QueryBuilder {
|
|
|
119
119
|
this.tags = ['columns'];
|
|
120
120
|
this.element = this.ngEle.nativeElement;
|
|
121
121
|
this.injectedModules = this.injectedModules || [];
|
|
122
|
+
try {
|
|
123
|
+
let mod = this.injector.get('QueryBuilderQueryLibrary');
|
|
124
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
125
|
+
this.injectedModules.push(mod);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
catch (_a) { }
|
|
122
129
|
this.registerEvents(outputs$1);
|
|
123
130
|
this.addTwoWay.call(this, twoWays);
|
|
124
131
|
setValue('currentInstance', this, this.viewContainerRef);
|
|
@@ -211,6 +218,7 @@ QueryBuilderModule.decorators = [
|
|
|
211
218
|
*/
|
|
212
219
|
QueryBuilderModule.ctorParameters = () => [];
|
|
213
220
|
|
|
221
|
+
const QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary };
|
|
214
222
|
/**
|
|
215
223
|
* NgModule definition for the QueryBuilder component with providers.
|
|
216
224
|
*/
|
|
@@ -222,7 +230,9 @@ QueryBuilderAllModule.decorators = [
|
|
|
222
230
|
exports: [
|
|
223
231
|
QueryBuilderModule
|
|
224
232
|
],
|
|
225
|
-
providers: [
|
|
233
|
+
providers: [
|
|
234
|
+
QueryLibraryService
|
|
235
|
+
]
|
|
226
236
|
},] },
|
|
227
237
|
];
|
|
228
238
|
/**
|
|
@@ -234,6 +244,6 @@ QueryBuilderAllModule.ctorParameters = () => [];
|
|
|
234
244
|
* Generated bundle index. Do not edit.
|
|
235
245
|
*/
|
|
236
246
|
|
|
237
|
-
export { ColumnDirective, ColumnsDirective, QueryBuilderComponent, QueryBuilderModule, QueryBuilderAllModule, inputs as ɵa, outputs$1 as ɵb };
|
|
238
|
-
export { Columns, Rule, Value, ShowButtons, QueryBuilder } from '@syncfusion/ej2-querybuilder';
|
|
247
|
+
export { ColumnDirective, ColumnsDirective, QueryBuilderComponent, QueryBuilderModule, QueryBuilderAllModule, QueryLibraryService, inputs as ɵa, outputs$1 as ɵb };
|
|
248
|
+
export { Columns, Rule, Value, ShowButtons, QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder';
|
|
239
249
|
//# sourceMappingURL=ej2-angular-querybuilder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-angular-querybuilder.js","sources":["~/@syncfusion/ej2-angular-querybuilder/ej2-angular-querybuilder.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColumnDirective,ColumnsDirective,QueryBuilderComponent,QueryBuilderModule,QueryBuilderAllModule,Columns,Rule,Value,ShowButtons,FormatObject,FieldMode,DisplayMode,SortDirection,QueryBuilder,Level,TemplateColumn,Validation,ChangeEventArgs,RuleChangeEventArgs,ActionEventArgs,ColumnsModel,RuleModel,ValueModel,ShowButtonsModel,QueryBuilderModel} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/query-builder/querybuilder.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n \n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowValidation','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\npublic ruleChange: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["__metadata","__decorate","outputs"],"mappings":";;;;;;;;;;;;;;AIAA,AAKA,IAAI,KAAA,GAAkB,CAAA,UAAE,EA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,kBAAD,CAAA,cAAC,GAAA,MAAA,EACA,CAAC;;ADrBF;;;AAGA,AAAA,MAAA,qBAAA,CAAA;;AAM4C,qBAA5C,CAAA,UAA4C,GAAoC;IALhF,EAME,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBALpB,OAAO,EAME,CAAA,YAAE,EAAa,kBAAA,CAAmB;gBAL3C,OAAO,EAME;oBALL,kBAAkB;iBACrB;gBACD,SAAS,EAMC,EAJT;aACJ,EAMC,EAAG;CALJ,CAMC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,MAAA,EAHA,CAAC;;ADvBF;;GAEG;;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-angular-querybuilder.js","sources":["~/@syncfusion/ej2-angular-querybuilder/ej2-angular-querybuilder.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColumnDirective,ColumnsDirective,QueryBuilderComponent,QueryBuilderModule,QueryBuilderAllModule,QueryLibraryService,Columns,Rule,Value,ShowButtons,FormatObject,FieldMode,DisplayMode,SortDirection,QueryBuilder,Level,TemplateColumn,Validation,ChangeEventArgs,RuleChangeEventArgs,ActionEventArgs,ParameterizedSql,ParameterizedNamedSql,ColumnsModel,RuleModel,ValueModel,ShowButtonsModel,QueryBuilderModel,QueryLibrary} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/query-builder/querybuilder.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\nimport {QueryLibrary} from '@syncfusion/ej2-querybuilder';\n\n\nexport const /** @type {?} */ QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n QueryLibraryService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['addRuleToNewGroups','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\npublic ruleChange: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninter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,EAAA,CAA+B,UAAA;QAA+B,SAAA;QAAoC,gBAAC;QAAmC,QAAA,CAAtI,CAAA;CAtBA,EAAa,qBAAqB,CA8FjC,CA9FD;;ADZA;;;AAGA,AAAA,MAAA,kBAAA,CAAA;;AAEyC,kBAAzC,CAAA,UAAyC,GAAoC;IAD7E,EAEE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAA,YAAE,CAAY;gBADvB,YAAY,EAEE;oBADV,qBAAqB;oBACrB,eAAe;oBACf,gBAAgB;iBACnB;gBACD,OAAO,EAEE;oBADL,qBAAqB;oBACrB,eAAe;oBACf,gBAAgB;iBACnB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,kBAAD,CAAA,cAAC,GAAA,MAAA,EACA,CAAC;;ADlBK,MAAM,mBAAA,GAAqC,EAAE,OAAA,EAAS,0BAAA,EAA4B,QAAA,EAAU,YAAA,EAAa,CAAC;;;;AAIjH,AAAA,MAAA,qBAAA,CAAA;;AAE4C,qBAA5C,CAAA,UAA4C,GAAoC;IADhF,EAEE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAA,YAAE,EAAa,kBAAA,CAAmB;gBAD3C,OAAO,EAEE;oBADL,kBAAkB;iBACrB;gBACD,SAAS,EAEC;oBADN,mBAAmB;iBACtB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,MAAA,EACA,CAAC;;AD3BF;;GAEG;;;;;"}
|
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
- `#I870175` - Issue with `getSqlFromRules` method is not return custom value when changing boolean type column value in default complex data binding. has been fixed.
|
|
10
10
|
- `#I556563` - Issue with QueryBuilder validation message position wrong issue while deleting the rule has been fixed.
|
|
11
11
|
|
|
12
|
+
#### New Features
|
|
13
|
+
|
|
14
|
+
- Provided the support to get / set the Mongo Query from query builder.
|
|
15
|
+
- Provided the support to get / set the Parameter SQL and Named Parameter SQL from query builder.
|
|
16
|
+
- Provided the Clone support to query builder rules/ groups.
|
|
17
|
+
- Provided the Lock support to query builder rules/ groups.
|
|
18
|
+
|
|
12
19
|
## 24.2.8 (2024-02-27)
|
|
13
20
|
|
|
14
21
|
### QueryBuilder
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-angular-querybuilder.umd.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 25.1.35
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -128,7 +128,7 @@ var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
|
128
128
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
129
129
|
return Reflect.metadata(k, v);
|
|
130
130
|
};
|
|
131
|
-
var inputs = ['allowValidation', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width'];
|
|
131
|
+
var inputs = ['addRuleToNewGroups', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width'];
|
|
132
132
|
var outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange'];
|
|
133
133
|
var twoWays = [''];
|
|
134
134
|
/**
|
|
@@ -154,6 +154,13 @@ exports.QueryBuilderComponent = /** @class */ (function (_super) {
|
|
|
154
154
|
_this.tags = ['columns'];
|
|
155
155
|
_this.element = _this.ngEle.nativeElement;
|
|
156
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) { }
|
|
157
164
|
_this.registerEvents(outputs$1);
|
|
158
165
|
_this.addTwoWay.call(_this, twoWays);
|
|
159
166
|
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
@@ -249,6 +256,7 @@ QueryBuilderModule.decorators = [
|
|
|
249
256
|
* @nocollapse
|
|
250
257
|
*/
|
|
251
258
|
QueryBuilderModule.ctorParameters = function () { return []; };
|
|
259
|
+
var QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: ej2Querybuilder.QueryLibrary };
|
|
252
260
|
/**
|
|
253
261
|
* NgModule definition for the QueryBuilder component with providers.
|
|
254
262
|
*/
|
|
@@ -263,7 +271,9 @@ QueryBuilderAllModule.decorators = [
|
|
|
263
271
|
exports: [
|
|
264
272
|
QueryBuilderModule
|
|
265
273
|
],
|
|
266
|
-
providers: [
|
|
274
|
+
providers: [
|
|
275
|
+
QueryLibraryService
|
|
276
|
+
]
|
|
267
277
|
},] },
|
|
268
278
|
];
|
|
269
279
|
/**
|
|
@@ -275,6 +285,7 @@ exports.ColumnDirective = ColumnDirective;
|
|
|
275
285
|
exports.ColumnsDirective = ColumnsDirective;
|
|
276
286
|
exports.QueryBuilderModule = QueryBuilderModule;
|
|
277
287
|
exports.QueryBuilderAllModule = QueryBuilderAllModule;
|
|
288
|
+
exports.QueryLibraryService = QueryLibraryService;
|
|
278
289
|
exports.ɵa = inputs;
|
|
279
290
|
exports.ɵb = outputs$1;
|
|
280
291
|
exports.Columns = ej2Querybuilder.Columns;
|
|
@@ -282,6 +293,7 @@ exports.Rule = ej2Querybuilder.Rule;
|
|
|
282
293
|
exports.Value = ej2Querybuilder.Value;
|
|
283
294
|
exports.ShowButtons = ej2Querybuilder.ShowButtons;
|
|
284
295
|
exports.QueryBuilder = ej2Querybuilder.QueryBuilder;
|
|
296
|
+
exports.QueryLibrary = ej2Querybuilder.QueryLibrary;
|
|
285
297
|
|
|
286
298
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
287
299
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-angular-querybuilder.umd.js","sources":["~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts"],"sourcesContent":["import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n \n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowValidation','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\npublic ruleChange: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\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","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,CAKwB,gBAAkB,EAL1C;QAAA,IAAA,KAAA,GACQ,MADR,CAAA,IAAA,CAAA,IAAA,CACe,IADf,IAAA,C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AAA;;;CAAA,EAAA,CAAA,CAAA;AAEyC,kBAAzC,CAAA,UAAyC,GAAoC;IAD7E,EAEE,IAAA,EAAMD,aAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAAD,mBAAE,CAAY;gBADvB,YAAY,EAEE;oBADVE,6BAAqB;oBACrB,eAAe;oBACf,gBAAgB;iBACnB;gBACD,OAAO,EAEE;oBADLA,6BAAqB;oBACrB,eAAe;oBACf,gBAAgB;iBACnB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,kBAAD,CAAA,cAAC,GAAA,YAAD,EAAC,OAAA,EACA,CADD,EACC,CAAC;;;;ADlBF,IAAA,qBAAA,kBAAA,YAAA;IAAA,SAAA,qBAAA,GAAA;;;CAAA,EAAA,CAAA,CAAA;AAM4C,qBAA5C,CAAA,UAA4C,GAAoC;IALhF,EAME,IAAA,EAAMD,aAAA,EAAU,IAAA,EAAM,CAAA;gBALpB,OAAO,EAME,CAAAD,mBAAE,EAAa,kBAAA,CAAmB;gBAL3C,OAAO,EAME;oBALL,kBAAkB;iBACrB;gBACD,SAAS,EAMC,EAJT;aACJ,EAMC,EAAG;CALJ,CAMC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,YAAD,EAAC,OAAA,EAHA,CAGD,EAHC,CAAC;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-angular-querybuilder.umd.js","sources":["~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts"],"sourcesContent":["import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\nimport {QueryLibrary} from '@syncfusion/ej2-querybuilder';\n\n\nexport const /** @type {?} */ QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n QueryLibraryService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['addRuleToNewGroups','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\npublic ruleChange: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["CommonModule","NgModule","QueryLibrary","QueryBuilderComponent","Injector","ViewContainerRef","Renderer2","__metadata","ElementRef","ComponentMixins","ComponentBase","__decorate","Template","ContentChild","ChangeDetectionStrategy","outputs","Component","QueryBuilder","setValue","ContentChildren","Directive","ArrayBase","ComplexBase"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AGAA,IAKI,KAAA,GAAkB,CAAA,UAAE,EAAW,SAAA,EAAW,OAAA,EAAS,QAAA,EAAU,OAAA,EAAS,WAAA,EAAa,cAAA,EAAgB,MAAA,EAAQ,UAAA,EAAY,MAAA,EAAQ,YAAA,EAAc,OAAA,EAAS,QAAA,CAAS,CAAC;AACpK,IAAI,OAAA,GAAoB,EAAA,CAAG;;;;;;;;;;;;;AAa3B,IAAA,eAAA,kBAAA,UAAA,MAAA,EAAA;IACC,SAAD,CAAA,eAAA,EAAA,MAAA,CAAA,CAAC;;;;IA0ED,SAAA,eAAA,CAKwB,gBAAkB,EAL1C;QAAA,IAAA,KAAA,GACQ,MADR,CAAA,IAAA,CAAA,IAAA,CACe,IADf,IAAA,CAKK;QAAmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAHlCkB,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,0BAAA,CADD,CAAA,CAAA;AAsFO,eAAP,CAAA,UAAO,GAAoC;IAJ3C,EAKE,IAAA,EAAMF,cAAA,EAAW,IAAA,EAAM,CAAA;gBAJrB,QAAQ,EAKE,qCAAA;gBAJV,MAAM,EAKE,KAAA;gBAJR,OAAO,EAKE,OAAA;gBAJT,OAAO,EAKE,EAHR;aACJ,EA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AE,CAAY;gBADvB,YAAY,EAEE;oBADVG,6BAAqB;oBACrB,eAAe;oBACf,gBAAgB;iBACnB;gBACD,OAAO,EAEE;oBADLA,6BAAqB;oBACrB,eAAe;oBACf,gBAAgB;iBACnB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,kBAAD,CAAA,cAAC,GAAA,YAAD,EAAC,OAAA,EACA,CADD,EACC,CAAC;ADlBK,IAAM,mBAAA,GAAqC,EAAE,OAAA,EAAS,0BAAA,EAA4B,QAAA,EAAUD,4BAAA,EAAa,CAAC;;;;AAIjH,IAAA,qBAAA,kBAAA,YAAA;IAAA,SAAA,qBAAA,GAAA;;;CAAA,EAAA,CAAA,CAAA;AAE4C,qBAA5C,CAAA,UAA4C,GAAoC;IADhF,EAEE,IAAA,EAAMD,aAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAAD,mBAAE,EAAa,kBAAA,CAAmB;gBAD3C,OAAO,EAEE;oBADL,kBAAkB;iBACrB;gBACD,SAAS,EAEC;oBADN,mBAAmB;iBACtB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,YAAD,EAAC,OAAA,EACA,CADD,EACC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-angular-querybuilder.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 25.1.35
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@syncfusion/ej2-angular-base"),require("@syncfusion/ej2-querybuilder"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@syncfusion/ej2-angular-base","@syncfusion/ej2-querybuilder","@angular/common"],t):t(e["ej2-angular-querybuilder"]={},e.ng.core,e.ej2.angular.base,e.ej2.querybuilder,e.ng.common)}(this,function(e,t,n,
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@syncfusion/ej2-angular-base"),require("@syncfusion/ej2-querybuilder"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@syncfusion/ej2-angular-base","@syncfusion/ej2-querybuilder","@angular/common"],t):t(e["ej2-angular-querybuilder"]={},e.ng.core,e.ej2.angular.base,e.ej2.querybuilder,e.ng.common)}(this,function(e,t,r,n,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,u=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(u=(i<3?o(u):i>3?o(t,r,u):o(t,r))||u);return i>3&&u&&Object.defineProperty(t,r,u),u},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=["category","columns","field","format","label","operators","ruleTemplate","step","template","type","validation","value","values"],c=[],s=function(e){function t(t){var n=e.call(this)||this;return n.viewContainerRef=t,r.setValue("currentInstance",n,n.viewContainerRef),n.registerEvents(c),n.directivePropList=l,n}return i(t,e),t}(r.ComplexBase);s.decorators=[{type:t.Directive,args:[{selector:"ejs-querybuilder>e-columns>e-column",inputs:l,outputs:c,queries:{}}]}],s.ctorParameters=function(){return[{type:t.ViewContainerRef}]},s.propDecorators={ruleTemplate:[{type:t.ContentChild,args:["ruleTemplate"]}],template:[{type:t.ContentChild,args:["template"]}]},u([r.Template(),a("design:type",Object)],s.prototype,"ruleTemplate",void 0),u([r.Template(),a("design:type",Object)],s.prototype,"template",void 0);var d=function(e){function t(){return e.call(this,"columns")||this}return i(t,e),t}(r.ArrayBase);d.decorators=[{type:t.Directive,args:[{selector:"ejs-querybuilder>e-columns",queries:{children:new t.ContentChildren(s)}}]}],d.ctorParameters=function(){return[]};var p=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,u=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(u=(i<3?o(u):i>3?o(t,r,u):o(t,r))||u);return i>3&&u&&Object.defineProperty(t,r,u),u},f=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=["addRuleToNewGroups","allowValidation","autoSelectField","autoSelectOperator","columns","cssClass","dataSource","displayMode","enableNotCondition","enablePersistence","enableRtl","fieldMode","fieldModel","headerTemplate","height","immediateModeDelay","locale","matchCase","maxGroupCount","operatorModel","readonly","rule","separator","showButtons","sortDirection","summaryView","valueModel","width"],m=["actionBegin","beforeChange","change","created","dataBound","ruleChange"],h=[""];e.QueryBuilderComponent=function(e){function t(t,n,o,i){var u=e.call(this)||this;u.ngEle=t,u.srenderer=n,u.viewContainerRef=o,u.injector=i,u.tags=["columns"],u.element=u.ngEle.nativeElement,u.injectedModules=u.injectedModules||[];try{var a=u.injector.get("QueryBuilderQueryLibrary");-1===u.injectedModules.indexOf(a)&&u.injectedModules.push(a)}catch(l){}return u.registerEvents(m),u.addTwoWay.call(u,h),r.setValue("currentInstance",u,u.viewContainerRef),u.context=new r.ComponentBase,u}return i(t,e),t.prototype.ngOnInit=function(){this.context.ngOnInit(this)},t.prototype.ngAfterViewInit=function(){this.context.ngAfterViewInit(this)},t.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(this)},t.prototype.ngAfterContentChecked=function(){this.tagObjects[0].instance=this.childColumns,this.context.ngAfterContentChecked(this)},t}(n.QueryBuilder),e.QueryBuilderComponent.decorators=[{type:t.Component,args:[{selector:"ejs-querybuilder",inputs:y,outputs:m,template:"",changeDetection:t.ChangeDetectionStrategy.OnPush,queries:{childColumns:new t.ContentChild(d)}}]}],e.QueryBuilderComponent.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:t.ViewContainerRef},{type:t.Injector}]},e.QueryBuilderComponent.propDecorators={headerTemplate:[{type:t.ContentChild,args:["headerTemplate"]}]},p([r.Template(),f("design:type",Object)],e.QueryBuilderComponent.prototype,"headerTemplate",void 0),e.QueryBuilderComponent=p([r.ComponentMixins([r.ComponentBase]),f("design:paramtypes",[t.ElementRef,t.Renderer2,t.ViewContainerRef,t.Injector])],e.QueryBuilderComponent);var g=function(){return function(){}}();g.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule],declarations:[e.QueryBuilderComponent,s,d],exports:[e.QueryBuilderComponent,s,d]}]}],g.ctorParameters=function(){return[]};var C={provide:"QueryBuilderQueryLibrary",useValue:n.QueryLibrary},b=function(){return function(){}}();b.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule,g],exports:[g],providers:[C]}]}],b.ctorParameters=function(){return[]},e.ColumnDirective=s,e.ColumnsDirective=d,e.QueryBuilderModule=g,e.QueryBuilderAllModule=b,e.QueryLibraryService=C,e.ɵa=y,e.ɵb=m,e.Columns=n.Columns,e.Rule=n.Rule,e.Value=n.Value,e.ShowButtons=n.ShowButtons,e.QueryBuilder=n.QueryBuilder,e.QueryLibrary=n.QueryLibrary,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-angular-querybuilder.umd.min.js.map
|
|
@@ -1 +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[] = ['allowValidation','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\npublic ruleChange: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n \n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["input","outputs","ColumnDirective","_super","viewContainerRef","_this","call","this","setValue","registerEvents","directivePropList","__extends","ComplexBase","decorators","type","Directive","args","selector","inputs","queries","ctorParameters","ViewContainerRef","propDecorators","ruleTemplate","ContentChild","template","__decorate","Template","prototype","ColumnsDirective","ArrayBase","children","ContentChildren","twoWays","exports","QueryBuilderComponent","ngEle","srenderer","injector","tags","element","nativeElement","injectedModules","addTwoWay","context","ComponentBase","ngOnInit","ngAfterViewInit","ngOnDestroy","ngAfterContentChecked","tagObjects","instance","childColumns","QueryBuilder","Component","changeDetection","ChangeDetectionStrategy","OnPush","ElementRef","Renderer2","Injector","headerTemplate","ComponentMixins","__metadata","QueryBuilderModule","NgModule","imports","CommonModule","declarations","QueryBuilderAllModule","providers"],"mappings":"gyCAKIA,GAAkB,WAAa,UAAW,QAAS,SAAU,QAAS,YAAa,eAAgB,OAAQ,WAAY,OAAQ,aAAc,QAAS,UACtJC,KAaJC,EAAA,SAAAC,GA2EA,SAAAD,EAKwBE,GALxB,IAAAC,EACQF,EADRG,KAAAC,OAAAA,YAKwBF,EAAxBD,iBAAwBA,EAHhBI,EAAAA,SAAS,kBAAmBH,EAAMA,EAAKD,kBACvCC,EAAKI,eAAeR,GACpBI,EAAKK,kBAAoBV,WA9EhCW,EAADT,EAAAC,KADA,CACCS,EAAAA,aAqFMV,EAAPW,aACEC,KAAMC,EAAAA,UAAWC,OAJfC,SAKU,sCAJVC,OAKQlB,EAJRC,QAKSA,EAJTkB,eAWHjB,EAADkB,eAAC,WAAA,QAFAN,KAAMO,EAAAA,oBAKAnB,EAAPoB,gBAFAC,eAGmBT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C,EAAAA,aAAeH,GALxB9B,SACI8B,GAEJM,iBAYHD,EAADjD,eAAC,WAAA"}
|
|
1
|
+
{"version":3,"file":"ej2-angular-querybuilder.umd.min.js","sources":["~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts"],"sourcesContent":["import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['addRuleToNewGroups','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\npublic ruleChange: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\nimport {QueryLibrary} from '@syncfusion/ej2-querybuilder';\n\n\nexport const /** @type {?} */ QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n QueryLibraryService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["input","outputs","ColumnDirective","_super","viewContainerRef","_this","call","this","setValue","registerEvents","directivePropList","__extends","ComplexBase","decorators","type","Directive","args","selector","inputs","queries","ctorParameters","ViewContainerRef","propDecorators","ruleTemplate","ContentChild","template","__decorate","Template","prototype","ColumnsDirective","ArrayBase","children","ContentChildren","twoWays","exports","QueryBuilderComponent","ngEle","srenderer","injector","tags","element","nativeElement","injectedModules","mod","get","indexOf","push","_a","addTwoWay","context","ComponentBase","ngOnInit","ngAfterViewInit","ngOnDestroy","ngAfterContentChecked","tagObjects","instance","childColumns","QueryBuilder","Component","changeDetection","ChangeDetectionStrategy","OnPush","ElementRef","Renderer2","Injector","headerTemplate","ComponentMixins","__metadata","QueryBuilderModule","NgModule","imports","CommonModule","declarations","QueryLibraryService","provide","useValue","QueryLibrary","QueryBuilderAllModule","providers"],"mappings":"gyCAKIA,GAAkB,WAAa,UAAW,QAAS,SAAU,QAAS,YAAa,eAAgB,OAAQ,WAAY,OAAQ,aAAc,QAAS,UACtJC,KAaJC,EAAA,SAAAC,GA2EA,SAAAD,EAKwBE,GALxB,IAAAC,EACQF,EADRG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,qBA7D3CU,GAECC,EAAAA,oCAFLQ,EAAAA,sBAAAP,UAAA,sBAAA,GAjBaO,EAAAA,sBAAbT,GACCyC,EAAAA,iBAAAjB,EAAAA,gBAqBDkB,EAAA,qBAA+BL,EAAAA,WAA+BC,EAAAA,UAAoC3C,EAAAA,iBAAoC4C,EAAAA,YAtBzH9B,EAAAA,uBCTb,IAAAkC,EAAA,kBAAA,aAAA,GAEyCA,EAAzCxD,aACEC,KAAMwD,EAAAA,SAAUtD,OADduD,SAESC,EAAAA,cADTC,cACItC,EAAAA,sBACAjC,EACA2B,GAEJK,SACIC,EAAAA,sBACAjC,EACA2B,OAOPwC,EAADjD,eAAC,WAAA,UCjBM,IAAMsD,GAAuCC,QAAS,2BAA4BC,SAAUC,EAAAA,cAInGC,EAAA,kBAAA,aAAA,GAE4CA,EAA5CjE,aACEC,KAAMwD,EAAAA,SAAUtD,OADduD,SAESC,EAAAA,aAAeH,GADxBnC,SACImC,GAEJU,WACIL,OAOPI,EAAD1D,eAAC,WAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":3,"exports":[{"from":"@syncfusion/ej2-querybuilder"}],"metadata":{"ɵa":["allowValidation","columns","cssClass","dataSource","displayMode","enableNotCondition","enablePersistence","enableRtl","fieldMode","fieldModel","headerTemplate","height","immediateModeDelay","locale","matchCase","maxGroupCount","operatorModel","readonly","rule","separator","showButtons","sortDirection","summaryView","valueModel","width"],"ɵb":["actionBegin","beforeChange","change","created","dataBound","ruleChange"],"ColumnDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComplexBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ejs-querybuilder>e-columns>e-column","inputs":["category","columns","field","format","label","operators","ruleTemplate","step","template","type","validation","value","values"],"outputs":[],"queries":{}}]}],"members":{"ruleTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["ruleTemplate"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["template"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}]}},"ColumnsDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ArrayBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ejs-querybuilder>e-columns","queries":{"children":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren"},"arguments":[{"__symbolic":"reference","name":"ColumnDirective"}]}}}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"QueryBuilderComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-querybuilder","name":"QueryBuilder"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ejs-querybuilder","inputs":{"__symbolic":"reference","name":"ɵa"},"outputs":{"__symbolic":"reference","name":"ɵb"},"template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"queries":{"childColumns":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ColumnsDirective"}]}}}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComponentMixins"},"arguments":[[{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComponentBase"}]]}],"members":{"headerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["headerTemplate"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}]}},"QueryBuilderModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","name":"QueryBuilderComponent"},{"__symbolic":"reference","name":"ColumnDirective"},{"__symbolic":"reference","name":"ColumnsDirective"}],"exports":[{"__symbolic":"reference","name":"QueryBuilderComponent"},{"__symbolic":"reference","name":"ColumnDirective"},{"__symbolic":"reference","name":"ColumnsDirective"}]}]}],"members":{}},"QueryBuilderAllModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","name":"QueryBuilderModule"}],"exports":[{"__symbolic":"reference","name":"QueryBuilderModule"}],"providers":[]}]}],"members":{}}},"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"},"importAs":"@syncfusion/ej2-angular-querybuilder"}
|
|
1
|
+
{"__symbolic":"module","version":3,"exports":[{"from":"@syncfusion/ej2-querybuilder"}],"metadata":{"ɵa":["addRuleToNewGroups","allowValidation","autoSelectField","autoSelectOperator","columns","cssClass","dataSource","displayMode","enableNotCondition","enablePersistence","enableRtl","fieldMode","fieldModel","headerTemplate","height","immediateModeDelay","locale","matchCase","maxGroupCount","operatorModel","readonly","rule","separator","showButtons","sortDirection","summaryView","valueModel","width"],"ɵb":["actionBegin","beforeChange","change","created","dataBound","ruleChange"],"ColumnDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComplexBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ejs-querybuilder>e-columns>e-column","inputs":["category","columns","field","format","label","operators","ruleTemplate","step","template","type","validation","value","values"],"outputs":[],"queries":{}}]}],"members":{"ruleTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["ruleTemplate"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["template"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}]}},"ColumnsDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ArrayBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ejs-querybuilder>e-columns","queries":{"children":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren"},"arguments":[{"__symbolic":"reference","name":"ColumnDirective"}]}}}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"QueryBuilderComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-querybuilder","name":"QueryBuilder"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ejs-querybuilder","inputs":{"__symbolic":"reference","name":"ɵa"},"outputs":{"__symbolic":"reference","name":"ɵb"},"template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"queries":{"childColumns":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ColumnsDirective"}]}}}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComponentMixins"},"arguments":[[{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComponentBase"}]]}],"members":{"headerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["headerTemplate"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}]}},"QueryBuilderModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","name":"QueryBuilderComponent"},{"__symbolic":"reference","name":"ColumnDirective"},{"__symbolic":"reference","name":"ColumnsDirective"}],"exports":[{"__symbolic":"reference","name":"QueryBuilderComponent"},{"__symbolic":"reference","name":"ColumnDirective"},{"__symbolic":"reference","name":"ColumnsDirective"}]}]}],"members":{}},"QueryBuilderAllModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","name":"QueryBuilderModule"}],"exports":[{"__symbolic":"reference","name":"QueryBuilderModule"}],"providers":[{"__symbolic":"reference","name":"QueryLibraryService"}]}]}],"members":{}},"QueryLibraryService":{"provide":"QueryBuilderQueryLibrary","useValue":{"__symbolic":"reference","module":"@syncfusion/ej2-querybuilder","name":"QueryLibrary"}}},"origins":{"ɵa":"./src/query-builder/querybuilder.component","ɵb":"./src/query-builder/querybuilder.component","ColumnDirective":"./src/query-builder/columns.directive","ColumnsDirective":"./src/query-builder/columns.directive","QueryBuilderComponent":"./src/query-builder/querybuilder.component","QueryBuilderModule":"./src/query-builder/querybuilder.module","QueryBuilderAllModule":"./src/query-builder/querybuilder-all.module","QueryLibraryService":"./src/query-builder/querybuilder-all.module"},"importAs":"@syncfusion/ej2-angular-querybuilder"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-angular-querybuilder@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-angular-querybuilder@24.
|
|
3
|
+
"_id": "@syncfusion/ej2-angular-querybuilder@18.24.1",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-fNBjPKSr5Dc3VZX3LphzsE0D1kzS6cBXN2YcMvRRqH0z3uyAFC4s7aG7y2eVB+8bAZRbxEUS5mj/tHfi8E4EcQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-angular-querybuilder",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-angular-querybuilder/-/ej2-angular-querybuilder-18.24.1.tgz",
|
|
23
|
+
"_shasum": "30b492976008e36a15ae9a04ae1ade0be96e49f8",
|
|
24
24
|
"_spec": "@syncfusion/ej2-angular-querybuilder@*",
|
|
25
|
-
"_where": "/jenkins/workspace/elease-
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-angular-base": "~
|
|
35
|
-
"@syncfusion/ej2-base": "~
|
|
36
|
-
"@syncfusion/ej2-querybuilder": "
|
|
34
|
+
"@syncfusion/ej2-angular-base": "~25.1.35",
|
|
35
|
+
"@syncfusion/ej2-base": "~25.1.35",
|
|
36
|
+
"@syncfusion/ej2-querybuilder": "25.1.35"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 QueryBuilder for Angular",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"schematics": "./schematics/collection.json",
|
|
62
62
|
"sideEffects": false,
|
|
63
63
|
"typings": "ej2-angular-querybuilder.d.ts",
|
|
64
|
-
"version": "
|
|
64
|
+
"version": "25.1.35-ngcc"
|
|
65
65
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const pkgName = "@syncfusion/ej2-angular-querybuilder";
|
|
2
|
-
export declare const pkgVer = "^24.
|
|
2
|
+
export declare const pkgVer = "^18.24.1";
|
|
3
3
|
export declare const moduleName = "QueryBuilderModule";
|
|
4
|
-
export declare const themeVer = "~24.
|
|
4
|
+
export declare const themeVer = "~18.24.1";
|
|
@@ -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 = '^
|
|
4
|
+
exports.pkgVer = '^25.1.35';
|
|
5
5
|
exports.moduleName = 'QueryBuilderModule';
|
|
6
|
-
exports.themeVer = '~
|
|
6
|
+
exports.themeVer = '~25.1.35';
|
package/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ColumnDirective, ColumnsDirective } from './query-builder/columns.directive';
|
|
2
2
|
export { QueryBuilderComponent } from './query-builder/querybuilder.component';
|
|
3
3
|
export { QueryBuilderModule } from './query-builder/querybuilder.module';
|
|
4
|
-
export { QueryBuilderAllModule } from './query-builder/querybuilder-all.module';
|
|
4
|
+
export { QueryBuilderAllModule, QueryLibraryService } from './query-builder/querybuilder-all.module';
|
|
5
5
|
export * from '@syncfusion/ej2-querybuilder';
|