@syncfusion/ej2-angular-querybuilder
Advanced tools
| var __extends = (this && this.__extends) || (function () { | ||
| var extendStatics = Object.setPrototypeOf || | ||
| ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
| function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
| return function (d, b) { | ||
| extendStatics(d, b); | ||
| function __() { this.constructor = d; } | ||
| d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
| }; | ||
| })(); | ||
| import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core'; | ||
| import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base'; | ||
| import { QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder'; | ||
| import { CommonModule } from '@angular/common'; | ||
| var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
| var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
| if (typeof Reflect === "object" && typeof Reflect.decorate === "function") | ||
| r = Reflect.decorate(decorators, target, key, desc); | ||
| else | ||
| for (var i = decorators.length - 1; i >= 0; i--) | ||
| if (d = decorators[i]) | ||
| r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
| return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
| }; | ||
| var __metadata = (this && this.__metadata) || function (k, v) { | ||
| if (typeof Reflect === "object" && typeof Reflect.metadata === "function") | ||
| return Reflect.metadata(k, v); | ||
| }; | ||
| var input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values']; | ||
| var outputs = []; | ||
| /** | ||
| * `e-column` directive represent a column of the Angular QueryBuilder. | ||
| * It must be contained in a QueryBuilder component(`ejs-querybuilder`). | ||
| * ```html | ||
| * <ejs-querybuilder [dataSource]='data'> | ||
| * <e-columns> | ||
| * <e-column field='ID' label='ID' type='number'></e-column> | ||
| * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column> | ||
| * </e-columns> | ||
| * </ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| var ColumnDirective = /** @class */ (function (_super) { | ||
| __extends(ColumnDirective, _super); | ||
| /** | ||
| * @param {?} viewContainerRef | ||
| */ | ||
| function ColumnDirective(viewContainerRef) { | ||
| var _this = _super.call(this) || this; | ||
| _this.viewContainerRef = viewContainerRef; | ||
| setValue('currentInstance', _this, _this.viewContainerRef); | ||
| _this.registerEvents(outputs); | ||
| _this.directivePropList = input; | ||
| return _this; | ||
| } | ||
| return ColumnDirective; | ||
| }(ComplexBase)); | ||
| ColumnDirective.decorators = [ | ||
| { type: Directive, args: [{ | ||
| selector: 'ejs-querybuilder>e-columns>e-column', | ||
| inputs: input, | ||
| outputs: outputs, | ||
| queries: {} | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| ColumnDirective.ctorParameters = function () { return [ | ||
| { type: ViewContainerRef, }, | ||
| ]; }; | ||
| ColumnDirective.propDecorators = { | ||
| 'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate',] },], | ||
| 'template': [{ type: ContentChild, args: ['template',] },], | ||
| }; | ||
| __decorate([ | ||
| Template(), | ||
| __metadata("design:type", Object) | ||
| ], ColumnDirective.prototype, "ruleTemplate", void 0); | ||
| __decorate([ | ||
| Template(), | ||
| __metadata("design:type", Object) | ||
| ], ColumnDirective.prototype, "template", void 0); | ||
| /** | ||
| * Column Array Directive | ||
| */ | ||
| var ColumnsDirective = /** @class */ (function (_super) { | ||
| __extends(ColumnsDirective, _super); | ||
| function ColumnsDirective() { | ||
| return _super.call(this, 'columns') || this; | ||
| } | ||
| return ColumnsDirective; | ||
| }(ArrayBase)); | ||
| ColumnsDirective.decorators = [ | ||
| { type: Directive, args: [{ | ||
| selector: 'ejs-querybuilder>e-columns', | ||
| queries: { | ||
| children: new ContentChildren(ColumnDirective) | ||
| }, | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| ColumnsDirective.ctorParameters = function () { return []; }; | ||
| var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
| var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
| if (typeof Reflect === "object" && typeof Reflect.decorate === "function") | ||
| r = Reflect.decorate(decorators, target, key, desc); | ||
| else | ||
| for (var i = decorators.length - 1; i >= 0; i--) | ||
| if (d = decorators[i]) | ||
| r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
| return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
| }; | ||
| var __metadata$1 = (this && this.__metadata) || function (k, v) { | ||
| if (typeof Reflect === "object" && typeof Reflect.metadata === "function") | ||
| return Reflect.metadata(k, v); | ||
| }; | ||
| var inputs = ['addRuleToNewGroups', 'allowDragAndDrop', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'enableSeparateConnector', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width']; | ||
| var outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange', 'drag', 'dragStart', 'drop']; | ||
| var twoWays = ['']; | ||
| /** | ||
| * Represents the EJ2 Angular QueryBuilder Component. | ||
| * ```html | ||
| * <ejs-querybuilder></ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| var QueryBuilderComponent = /** @class */ (function (_super) { | ||
| __extends(QueryBuilderComponent, _super); | ||
| /** | ||
| * @param {?} ngEle | ||
| * @param {?} srenderer | ||
| * @param {?} viewContainerRef | ||
| * @param {?} injector | ||
| */ | ||
| function QueryBuilderComponent(ngEle, srenderer, viewContainerRef, injector) { | ||
| var _this = _super.call(this) || this; | ||
| _this.ngEle = ngEle; | ||
| _this.srenderer = srenderer; | ||
| _this.viewContainerRef = viewContainerRef; | ||
| _this.injector = injector; | ||
| _this.tags = ['columns']; | ||
| _this.element = _this.ngEle.nativeElement; | ||
| _this.injectedModules = _this.injectedModules || []; | ||
| try { | ||
| var mod = _this.injector.get('QueryBuilderQueryLibrary'); | ||
| if (_this.injectedModules.indexOf(mod) === -1) { | ||
| _this.injectedModules.push(mod); | ||
| } | ||
| } | ||
| catch (_a) { } | ||
| _this.registerEvents(outputs$1); | ||
| _this.addTwoWay.call(_this, twoWays); | ||
| setValue('currentInstance', _this, _this.viewContainerRef); | ||
| _this.context = new ComponentBase(); | ||
| return _this; | ||
| } | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| QueryBuilderComponent.prototype.ngOnInit = function () { | ||
| this.context.ngOnInit(this); | ||
| }; | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| QueryBuilderComponent.prototype.ngAfterViewInit = function () { | ||
| this.context.ngAfterViewInit(this); | ||
| }; | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| QueryBuilderComponent.prototype.ngOnDestroy = function () { | ||
| this.context.ngOnDestroy(this); | ||
| }; | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| QueryBuilderComponent.prototype.ngAfterContentChecked = function () { | ||
| this.tagObjects[0].instance = this.childColumns; | ||
| this.context.ngAfterContentChecked(this); | ||
| }; | ||
| return QueryBuilderComponent; | ||
| }(QueryBuilder)); | ||
| QueryBuilderComponent.decorators = [ | ||
| { type: Component, args: [{ | ||
| selector: 'ejs-querybuilder', | ||
| inputs: inputs, | ||
| outputs: outputs$1, | ||
| template: '', | ||
| changeDetection: ChangeDetectionStrategy.OnPush, | ||
| queries: { | ||
| childColumns: new ContentChild(ColumnsDirective) | ||
| } | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| QueryBuilderComponent.ctorParameters = function () { return [ | ||
| { type: ElementRef, }, | ||
| { type: Renderer2, }, | ||
| { type: ViewContainerRef, }, | ||
| { type: Injector, }, | ||
| ]; }; | ||
| QueryBuilderComponent.propDecorators = { | ||
| 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },], | ||
| }; | ||
| __decorate$1([ | ||
| Template(), | ||
| __metadata$1("design:type", Object) | ||
| ], QueryBuilderComponent.prototype, "headerTemplate", void 0); | ||
| QueryBuilderComponent = __decorate$1([ | ||
| ComponentMixins([ComponentBase]), | ||
| __metadata$1("design:paramtypes", [ElementRef, | ||
| Renderer2, | ||
| ViewContainerRef, | ||
| Injector]) | ||
| ], QueryBuilderComponent); | ||
| /** | ||
| * NgModule definition for the QueryBuilder component. | ||
| */ | ||
| var QueryBuilderModule = /** @class */ (function () { | ||
| function QueryBuilderModule() { | ||
| } | ||
| return QueryBuilderModule; | ||
| }()); | ||
| QueryBuilderModule.decorators = [ | ||
| { type: NgModule, args: [{ | ||
| imports: [CommonModule], | ||
| declarations: [ | ||
| QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ], | ||
| exports: [ | ||
| QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ] | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| QueryBuilderModule.ctorParameters = function () { return []; }; | ||
| var QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary }; | ||
| /** | ||
| * NgModule definition for the QueryBuilder component with providers. | ||
| */ | ||
| var QueryBuilderAllModule = /** @class */ (function () { | ||
| function QueryBuilderAllModule() { | ||
| } | ||
| return QueryBuilderAllModule; | ||
| }()); | ||
| QueryBuilderAllModule.decorators = [ | ||
| { type: NgModule, args: [{ | ||
| imports: [CommonModule, QueryBuilderModule], | ||
| exports: [ | ||
| QueryBuilderModule | ||
| ], | ||
| providers: [ | ||
| QueryLibraryService | ||
| ] | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| QueryBuilderAllModule.ctorParameters = function () { return []; }; | ||
| /** | ||
| * Generated bundle index. Do not edit. | ||
| */ | ||
| export { ColumnDirective, ColumnsDirective, QueryBuilderComponent, QueryBuilderModule, QueryBuilderAllModule, QueryLibraryService, inputs as ɵa, outputs$1 as ɵb }; | ||
| export { Columns, Rule, Value, ShowButtons, QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder'; | ||
| //# sourceMappingURL=ej2-angular-querybuilder.es5.js.map |
| {"version":3,"file":"ej2-angular-querybuilder.es5.js","sources":["~/@syncfusion/ej2-angular-querybuilder/ej2-angular-querybuilder.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColumnDirective,ColumnsDirective,QueryBuilderComponent,QueryBuilderModule,QueryBuilderAllModule,QueryLibraryService,Columns,Rule,Value,ShowButtons,FormatObject,FieldMode,DisplayMode,SortDirection,QueryBuilder,Level,TemplateColumn,Validation,ChangeEventArgs,RuleChangeEventArgs,ActionEventArgs,ParameterizedSql,ParameterizedNamedSql,DragEventArgs,DropEventArgs,ColumnsModel,RuleModel,ValueModel,ShowButtonsModel,QueryBuilderModel,QueryLibrary} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/query-builder/querybuilder.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\nimport {QueryLibrary} from '@syncfusion/ej2-querybuilder';\n\n\nexport const /** @type {?} */ QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n QueryLibraryService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['addRuleToNewGroups','allowDragAndDrop','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','enableSeparateConnector','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange','drag','dragStart','drop'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\n\truleChange: any;\n\tdrag: any;\n\tdragStart: any;\npublic drop: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.drag;\n/** @type {?} */\nQueryBuilderComponent.prototype.dragStart;\n/** @type {?} */\nQueryBuilderComponent.prototype.drop;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["__metadata","__decorate","outputs"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AIAA,IAKI,KAAA,GAAkB,CAAA,UAAE,EAAW,SAAA,EAAW,OAAA,EAAS,QAAA,EAAU,OAAA,EAAS,WAAA,EAAa,cAAA,EAAgB,MAAA,EAAQ,UAAA,EAAY,MAAA,EAAQ,YAAA,EAAc,OAAA,EAAS,QAAA,CAAS,CAAC;AACpK,IAAI,OAAA,GAAoB,EAAA,CAAG;;;;;;;;;;;;;AAa3B;IACC,mCAAA;;;;IA0ED,yBAIwB,gBAAkB;QAJ1C,YACQ,iBAAO,SAIV;QADmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAFlC,QAAQ,CAAC,iBAAiB,EAAE,KAAI,EAAE,KAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7B,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;;IACvC,CAAK;;CAhFL,CACC,WAAA;AAoFM,eAAP,CAAA,UAAO,GAAoC;IAH3C,EAIE,IAAA,EAAM,SAAA,EAAW,IAAA,EAAM,CAAA;gBAHrB,QAAQ,EAIE,qCAAA;gBAHV,MAAM,EAIE,KAAA;gBAHR,OAAO,EAIE,OAAA;gBAHT,OAAO,EAIE,EAFR;aACJ,EAIC,EAAG;CAHJ,CAIC;;;;AAED,eAAD,CAAA,cAAC,GAAA,cAAA,OAAA;IADD,EAAC,IAAI,EAAE,gBAAgB,GAAG;CACzB,EAAA,CAAA,CAAC;AAGK,eAAP,CAAA,cAAO,GAAyD;IADhE,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tB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,cAAA,OAAA,EACA,EADA,CACA,CAAC;AD3BF;;GAEG;;"} |
| import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core'; | ||
| import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base'; | ||
| import { QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder'; | ||
| import { CommonModule } from '@angular/common'; | ||
| var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
| var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
| if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
| else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
| return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
| }; | ||
| var __metadata = (this && this.__metadata) || function (k, v) { | ||
| if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
| }; | ||
| let input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values']; | ||
| let outputs = []; | ||
| /** | ||
| * `e-column` directive represent a column of the Angular QueryBuilder. | ||
| * It must be contained in a QueryBuilder component(`ejs-querybuilder`). | ||
| * ```html | ||
| * <ejs-querybuilder [dataSource]='data'> | ||
| * <e-columns> | ||
| * <e-column field='ID' label='ID' type='number'></e-column> | ||
| * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column> | ||
| * </e-columns> | ||
| * </ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| class ColumnDirective extends ComplexBase { | ||
| /** | ||
| * @param {?} viewContainerRef | ||
| */ | ||
| constructor(viewContainerRef) { | ||
| super(); | ||
| this.viewContainerRef = viewContainerRef; | ||
| setValue('currentInstance', this, this.viewContainerRef); | ||
| this.registerEvents(outputs); | ||
| this.directivePropList = input; | ||
| } | ||
| } | ||
| ColumnDirective.decorators = [ | ||
| { type: Directive, args: [{ | ||
| selector: 'ejs-querybuilder>e-columns>e-column', | ||
| inputs: input, | ||
| outputs: outputs, | ||
| queries: {} | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| ColumnDirective.ctorParameters = () => [ | ||
| { type: ViewContainerRef, }, | ||
| ]; | ||
| ColumnDirective.propDecorators = { | ||
| 'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate',] },], | ||
| 'template': [{ type: ContentChild, args: ['template',] },], | ||
| }; | ||
| __decorate([ | ||
| Template(), | ||
| __metadata("design:type", Object) | ||
| ], ColumnDirective.prototype, "ruleTemplate", void 0); | ||
| __decorate([ | ||
| Template(), | ||
| __metadata("design:type", Object) | ||
| ], ColumnDirective.prototype, "template", void 0); | ||
| /** | ||
| * Column Array Directive | ||
| */ | ||
| class ColumnsDirective extends ArrayBase { | ||
| constructor() { | ||
| super('columns'); | ||
| } | ||
| } | ||
| ColumnsDirective.decorators = [ | ||
| { type: Directive, args: [{ | ||
| selector: 'ejs-querybuilder>e-columns', | ||
| queries: { | ||
| children: new ContentChildren(ColumnDirective) | ||
| }, | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| ColumnsDirective.ctorParameters = () => []; | ||
| var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
| var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
| if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
| else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
| return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
| }; | ||
| var __metadata$1 = (this && this.__metadata) || function (k, v) { | ||
| if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
| }; | ||
| const inputs = ['addRuleToNewGroups', 'allowDragAndDrop', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'enableSeparateConnector', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width']; | ||
| const outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange', 'drag', 'dragStart', 'drop']; | ||
| const twoWays = ['']; | ||
| /** | ||
| * Represents the EJ2 Angular QueryBuilder Component. | ||
| * ```html | ||
| * <ejs-querybuilder></ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| let QueryBuilderComponent = class QueryBuilderComponent extends QueryBuilder { | ||
| /** | ||
| * @param {?} ngEle | ||
| * @param {?} srenderer | ||
| * @param {?} viewContainerRef | ||
| * @param {?} injector | ||
| */ | ||
| constructor(ngEle, srenderer, viewContainerRef, injector) { | ||
| super(); | ||
| this.ngEle = ngEle; | ||
| this.srenderer = srenderer; | ||
| this.viewContainerRef = viewContainerRef; | ||
| this.injector = injector; | ||
| this.tags = ['columns']; | ||
| this.element = this.ngEle.nativeElement; | ||
| this.injectedModules = this.injectedModules || []; | ||
| try { | ||
| let mod = this.injector.get('QueryBuilderQueryLibrary'); | ||
| if (this.injectedModules.indexOf(mod) === -1) { | ||
| this.injectedModules.push(mod); | ||
| } | ||
| } | ||
| catch (_a) { } | ||
| this.registerEvents(outputs$1); | ||
| this.addTwoWay.call(this, twoWays); | ||
| setValue('currentInstance', this, this.viewContainerRef); | ||
| this.context = new ComponentBase(); | ||
| } | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| ngOnInit() { | ||
| this.context.ngOnInit(this); | ||
| } | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| ngAfterViewInit() { | ||
| this.context.ngAfterViewInit(this); | ||
| } | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| ngOnDestroy() { | ||
| this.context.ngOnDestroy(this); | ||
| } | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| ngAfterContentChecked() { | ||
| this.tagObjects[0].instance = this.childColumns; | ||
| this.context.ngAfterContentChecked(this); | ||
| } | ||
| }; | ||
| QueryBuilderComponent.decorators = [ | ||
| { type: Component, args: [{ | ||
| selector: 'ejs-querybuilder', | ||
| inputs: inputs, | ||
| outputs: outputs$1, | ||
| template: '', | ||
| changeDetection: ChangeDetectionStrategy.OnPush, | ||
| queries: { | ||
| childColumns: new ContentChild(ColumnsDirective) | ||
| } | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| QueryBuilderComponent.ctorParameters = () => [ | ||
| { type: ElementRef, }, | ||
| { type: Renderer2, }, | ||
| { type: ViewContainerRef, }, | ||
| { type: Injector, }, | ||
| ]; | ||
| QueryBuilderComponent.propDecorators = { | ||
| 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },], | ||
| }; | ||
| __decorate$1([ | ||
| Template(), | ||
| __metadata$1("design:type", Object) | ||
| ], QueryBuilderComponent.prototype, "headerTemplate", void 0); | ||
| QueryBuilderComponent = __decorate$1([ | ||
| ComponentMixins([ComponentBase]), | ||
| __metadata$1("design:paramtypes", [ElementRef, | ||
| Renderer2, | ||
| ViewContainerRef, | ||
| Injector]) | ||
| ], QueryBuilderComponent); | ||
| /** | ||
| * NgModule definition for the QueryBuilder component. | ||
| */ | ||
| class QueryBuilderModule { | ||
| } | ||
| QueryBuilderModule.decorators = [ | ||
| { type: NgModule, args: [{ | ||
| imports: [CommonModule], | ||
| declarations: [ | ||
| QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ], | ||
| exports: [ | ||
| QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ] | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| QueryBuilderModule.ctorParameters = () => []; | ||
| const QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary }; | ||
| /** | ||
| * NgModule definition for the QueryBuilder component with providers. | ||
| */ | ||
| class QueryBuilderAllModule { | ||
| } | ||
| QueryBuilderAllModule.decorators = [ | ||
| { type: NgModule, args: [{ | ||
| imports: [CommonModule, QueryBuilderModule], | ||
| exports: [ | ||
| QueryBuilderModule | ||
| ], | ||
| providers: [ | ||
| QueryLibraryService | ||
| ] | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| QueryBuilderAllModule.ctorParameters = () => []; | ||
| /** | ||
| * Generated bundle index. Do not edit. | ||
| */ | ||
| export { ColumnDirective, ColumnsDirective, QueryBuilderComponent, QueryBuilderModule, QueryBuilderAllModule, QueryLibraryService, inputs as ɵa, outputs$1 as ɵb }; | ||
| export { Columns, Rule, Value, ShowButtons, QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder'; | ||
| //# sourceMappingURL=ej2-angular-querybuilder.js.map |
| {"version":3,"file":"ej2-angular-querybuilder.js","sources":["~/@syncfusion/ej2-angular-querybuilder/ej2-angular-querybuilder.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColumnDirective,ColumnsDirective,QueryBuilderComponent,QueryBuilderModule,QueryBuilderAllModule,QueryLibraryService,Columns,Rule,Value,ShowButtons,FormatObject,FieldMode,DisplayMode,SortDirection,QueryBuilder,Level,TemplateColumn,Validation,ChangeEventArgs,RuleChangeEventArgs,ActionEventArgs,ParameterizedSql,ParameterizedNamedSql,DragEventArgs,DropEventArgs,ColumnsModel,RuleModel,ValueModel,ShowButtonsModel,QueryBuilderModel,QueryLibrary} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/query-builder/querybuilder.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\nimport {QueryLibrary} from '@syncfusion/ej2-querybuilder';\n\n\nexport const /** @type {?} */ QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n QueryLibraryService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['addRuleToNewGroups','allowDragAndDrop','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','enableSeparateConnector','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange','drag','dragStart','drop'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\n\truleChange: any;\n\tdrag: any;\n\tdragStart: any;\npublic drop: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.drag;\n/** @type {?} */\nQueryBuilderComponent.prototype.dragStart;\n/** @type {?} */\nQueryBuilderComponent.prototype.drop;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["__metadata","__decorate","outputs"],"mappings":";;;;;;;;;;;;;;AIAA,AAKA,IAAI,KAAA,GAAkB,CAAA,UAAE,EAAW,SAAA,EAAW,OAAA,EAAS,QAAA,EAAU,OAAA,EAAS,WAAA,EAAa,cAAA,EAAgB,MAAA,EAAQ,UAAA,EAAY,MAAA,EAAQ,YAAA,EAAc,OAAA,EAAS,QAAA,CAAS,CAAC;AACpK,IAAI,OAAA,GAAoB,EAAA,CAAG;;;;;;;;;;;;;AAa3B,AAAA,MAAA,eACC,SAAA,WAAA,CADD;;;;IA2EA,WAAA,CAIwB,gBAAkB,EAJ1C;QACQ,KAAK,EAAE,CAAC;QAGQ,IAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAFlC,QAAQ,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,IAAI,CAAC,cAAc,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,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;;;;;"} |
| /*! | ||
| * filename: ej2-angular-querybuilder.umd.js | ||
| * version : 32.2.4 | ||
| * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved. | ||
| * Use of this code is subject to the terms of our license. | ||
| * A copy of the current license can be obtained at any time by e-mailing | ||
| * licensing@syncfusion.com. Any infringement will be prosecuted under | ||
| * applicable laws. | ||
| */ | ||
| (function (global, factory) { | ||
| typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-querybuilder'), require('@angular/common')) : | ||
| typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-querybuilder', '@angular/common'], factory) : | ||
| (factory((global['ej2-angular-querybuilder'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.querybuilder,global.ng.common)); | ||
| }(this, (function (exports,core,ej2AngularBase,ej2Querybuilder,common) { 'use strict'; | ||
| var __extends = (this && this.__extends) || (function () { | ||
| var extendStatics = Object.setPrototypeOf || | ||
| ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
| function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
| return function (d, b) { | ||
| extendStatics(d, b); | ||
| function __() { this.constructor = d; } | ||
| d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
| }; | ||
| })(); | ||
| var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
| var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
| if (typeof Reflect === "object" && typeof Reflect.decorate === "function") | ||
| r = Reflect.decorate(decorators, target, key, desc); | ||
| else | ||
| for (var i = decorators.length - 1; i >= 0; i--) | ||
| if (d = decorators[i]) | ||
| r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
| return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
| }; | ||
| var __metadata = (this && this.__metadata) || function (k, v) { | ||
| if (typeof Reflect === "object" && typeof Reflect.metadata === "function") | ||
| return Reflect.metadata(k, v); | ||
| }; | ||
| var input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values']; | ||
| var outputs = []; | ||
| /** | ||
| * `e-column` directive represent a column of the Angular QueryBuilder. | ||
| * It must be contained in a QueryBuilder component(`ejs-querybuilder`). | ||
| * ```html | ||
| * <ejs-querybuilder [dataSource]='data'> | ||
| * <e-columns> | ||
| * <e-column field='ID' label='ID' type='number'></e-column> | ||
| * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column> | ||
| * </e-columns> | ||
| * </ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| var ColumnDirective = /** @class */ (function (_super) { | ||
| __extends(ColumnDirective, _super); | ||
| /** | ||
| * @param {?} viewContainerRef | ||
| */ | ||
| function ColumnDirective(viewContainerRef) { | ||
| var _this = _super.call(this) || this; | ||
| _this.viewContainerRef = viewContainerRef; | ||
| ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef); | ||
| _this.registerEvents(outputs); | ||
| _this.directivePropList = input; | ||
| return _this; | ||
| } | ||
| return ColumnDirective; | ||
| }(ej2AngularBase.ComplexBase)); | ||
| ColumnDirective.decorators = [ | ||
| { type: core.Directive, args: [{ | ||
| selector: 'ejs-querybuilder>e-columns>e-column', | ||
| inputs: input, | ||
| outputs: outputs, | ||
| queries: {} | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| ColumnDirective.ctorParameters = function () { return [ | ||
| { type: core.ViewContainerRef, }, | ||
| ]; }; | ||
| ColumnDirective.propDecorators = { | ||
| 'ruleTemplate': [{ type: core.ContentChild, args: ['ruleTemplate',] },], | ||
| 'template': [{ type: core.ContentChild, args: ['template',] },], | ||
| }; | ||
| __decorate([ | ||
| ej2AngularBase.Template(), | ||
| __metadata("design:type", Object) | ||
| ], ColumnDirective.prototype, "ruleTemplate", void 0); | ||
| __decorate([ | ||
| ej2AngularBase.Template(), | ||
| __metadata("design:type", Object) | ||
| ], ColumnDirective.prototype, "template", void 0); | ||
| /** | ||
| * Column Array Directive | ||
| */ | ||
| var ColumnsDirective = /** @class */ (function (_super) { | ||
| __extends(ColumnsDirective, _super); | ||
| function ColumnsDirective() { | ||
| return _super.call(this, 'columns') || this; | ||
| } | ||
| return ColumnsDirective; | ||
| }(ej2AngularBase.ArrayBase)); | ||
| ColumnsDirective.decorators = [ | ||
| { type: core.Directive, args: [{ | ||
| selector: 'ejs-querybuilder>e-columns', | ||
| queries: { | ||
| children: new core.ContentChildren(ColumnDirective) | ||
| }, | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| ColumnsDirective.ctorParameters = function () { return []; }; | ||
| var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
| var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
| if (typeof Reflect === "object" && typeof Reflect.decorate === "function") | ||
| r = Reflect.decorate(decorators, target, key, desc); | ||
| else | ||
| for (var i = decorators.length - 1; i >= 0; i--) | ||
| if (d = decorators[i]) | ||
| r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
| return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
| }; | ||
| var __metadata$1 = (this && this.__metadata) || function (k, v) { | ||
| if (typeof Reflect === "object" && typeof Reflect.metadata === "function") | ||
| return Reflect.metadata(k, v); | ||
| }; | ||
| var inputs = ['addRuleToNewGroups', 'allowDragAndDrop', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'enableSeparateConnector', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width']; | ||
| var outputs$1 = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'ruleChange', 'drag', 'dragStart', 'drop']; | ||
| var twoWays = ['']; | ||
| /** | ||
| * Represents the EJ2 Angular QueryBuilder Component. | ||
| * ```html | ||
| * <ejs-querybuilder></ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| exports.QueryBuilderComponent = /** @class */ (function (_super) { | ||
| __extends(QueryBuilderComponent, _super); | ||
| /** | ||
| * @param {?} ngEle | ||
| * @param {?} srenderer | ||
| * @param {?} viewContainerRef | ||
| * @param {?} injector | ||
| */ | ||
| function QueryBuilderComponent(ngEle, srenderer, viewContainerRef, injector) { | ||
| var _this = _super.call(this) || this; | ||
| _this.ngEle = ngEle; | ||
| _this.srenderer = srenderer; | ||
| _this.viewContainerRef = viewContainerRef; | ||
| _this.injector = injector; | ||
| _this.tags = ['columns']; | ||
| _this.element = _this.ngEle.nativeElement; | ||
| _this.injectedModules = _this.injectedModules || []; | ||
| try { | ||
| var mod = _this.injector.get('QueryBuilderQueryLibrary'); | ||
| if (_this.injectedModules.indexOf(mod) === -1) { | ||
| _this.injectedModules.push(mod); | ||
| } | ||
| } | ||
| catch (_a) { } | ||
| _this.registerEvents(outputs$1); | ||
| _this.addTwoWay.call(_this, twoWays); | ||
| ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef); | ||
| _this.context = new ej2AngularBase.ComponentBase(); | ||
| return _this; | ||
| } | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| QueryBuilderComponent.prototype.ngOnInit = function () { | ||
| this.context.ngOnInit(this); | ||
| }; | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| QueryBuilderComponent.prototype.ngAfterViewInit = function () { | ||
| this.context.ngAfterViewInit(this); | ||
| }; | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| QueryBuilderComponent.prototype.ngOnDestroy = function () { | ||
| this.context.ngOnDestroy(this); | ||
| }; | ||
| /** | ||
| * @return {?} | ||
| */ | ||
| QueryBuilderComponent.prototype.ngAfterContentChecked = function () { | ||
| this.tagObjects[0].instance = this.childColumns; | ||
| this.context.ngAfterContentChecked(this); | ||
| }; | ||
| return QueryBuilderComponent; | ||
| }(ej2Querybuilder.QueryBuilder)); | ||
| exports.QueryBuilderComponent.decorators = [ | ||
| { type: core.Component, args: [{ | ||
| selector: 'ejs-querybuilder', | ||
| inputs: inputs, | ||
| outputs: outputs$1, | ||
| template: '', | ||
| changeDetection: core.ChangeDetectionStrategy.OnPush, | ||
| queries: { | ||
| childColumns: new core.ContentChild(ColumnsDirective) | ||
| } | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| exports.QueryBuilderComponent.ctorParameters = function () { return [ | ||
| { type: core.ElementRef, }, | ||
| { type: core.Renderer2, }, | ||
| { type: core.ViewContainerRef, }, | ||
| { type: core.Injector, }, | ||
| ]; }; | ||
| exports.QueryBuilderComponent.propDecorators = { | ||
| 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },], | ||
| }; | ||
| __decorate$1([ | ||
| ej2AngularBase.Template(), | ||
| __metadata$1("design:type", Object) | ||
| ], exports.QueryBuilderComponent.prototype, "headerTemplate", void 0); | ||
| exports.QueryBuilderComponent = __decorate$1([ | ||
| ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]), | ||
| __metadata$1("design:paramtypes", [core.ElementRef, | ||
| core.Renderer2, | ||
| core.ViewContainerRef, | ||
| core.Injector]) | ||
| ], exports.QueryBuilderComponent); | ||
| /** | ||
| * NgModule definition for the QueryBuilder component. | ||
| */ | ||
| var QueryBuilderModule = /** @class */ (function () { | ||
| function QueryBuilderModule() { | ||
| } | ||
| return QueryBuilderModule; | ||
| }()); | ||
| QueryBuilderModule.decorators = [ | ||
| { type: core.NgModule, args: [{ | ||
| imports: [common.CommonModule], | ||
| declarations: [ | ||
| exports.QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ], | ||
| exports: [ | ||
| exports.QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ] | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| QueryBuilderModule.ctorParameters = function () { return []; }; | ||
| var QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: ej2Querybuilder.QueryLibrary }; | ||
| /** | ||
| * NgModule definition for the QueryBuilder component with providers. | ||
| */ | ||
| var QueryBuilderAllModule = /** @class */ (function () { | ||
| function QueryBuilderAllModule() { | ||
| } | ||
| return QueryBuilderAllModule; | ||
| }()); | ||
| QueryBuilderAllModule.decorators = [ | ||
| { type: core.NgModule, args: [{ | ||
| imports: [common.CommonModule, QueryBuilderModule], | ||
| exports: [ | ||
| QueryBuilderModule | ||
| ], | ||
| providers: [ | ||
| QueryLibraryService | ||
| ] | ||
| },] }, | ||
| ]; | ||
| /** | ||
| * @nocollapse | ||
| */ | ||
| QueryBuilderAllModule.ctorParameters = function () { return []; }; | ||
| exports.ColumnDirective = ColumnDirective; | ||
| exports.ColumnsDirective = ColumnsDirective; | ||
| exports.QueryBuilderModule = QueryBuilderModule; | ||
| exports.QueryBuilderAllModule = QueryBuilderAllModule; | ||
| exports.QueryLibraryService = QueryLibraryService; | ||
| exports.ɵa = inputs; | ||
| exports.ɵb = outputs$1; | ||
| exports.Columns = ej2Querybuilder.Columns; | ||
| exports.Rule = ej2Querybuilder.Rule; | ||
| exports.Value = ej2Querybuilder.Value; | ||
| exports.ShowButtons = ej2Querybuilder.ShowButtons; | ||
| exports.QueryBuilder = ej2Querybuilder.QueryBuilder; | ||
| exports.QueryLibrary = ej2Querybuilder.QueryLibrary; | ||
| Object.defineProperty(exports, '__esModule', { value: true }); | ||
| }))); | ||
| //# sourceMappingURL=ej2-angular-querybuilder.umd.js.map |
| {"version":3,"file":"ej2-angular-querybuilder.umd.js","sources":["~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts"],"sourcesContent":["import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\nimport {QueryLibrary} from '@syncfusion/ej2-querybuilder';\n\n\nexport const /** @type {?} */ QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n QueryLibraryService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['addRuleToNewGroups','allowDragAndDrop','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','enableSeparateConnector','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange','drag','dragStart','drop'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\n\truleChange: any;\n\tdrag: any;\n\tdragStart: any;\npublic drop: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.drag;\n/** @type {?} */\nQueryBuilderComponent.prototype.dragStart;\n/** @type {?} */\nQueryBuilderComponent.prototype.drop;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["CommonModule","NgModule","QueryLibrary","QueryBuilderComponent","Injector","ViewContainerRef","Renderer2","__metadata","ElementRef","ComponentMixins","ComponentBase","__decorate","Template","ContentChild","ChangeDetectionStrategy","outputs","Component","QueryBuilder","setValue","ContentChildren","Directive","ArrayBase","ComplexBase"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AGAA,IAKI,KAAA,GAAkB,CAAA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A,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;;;;;;;;;;;;;;;;;;;;;;;;"} |
| /*! | ||
| * filename: ej2-angular-querybuilder.umd.min.js | ||
| * version : 32.2.4 | ||
| * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved. | ||
| * Use of this code is subject to the terms of our license. | ||
| * A copy of the current license can be obtained at any time by e-mailing | ||
| * licensing@syncfusion.com. Any infringement will be prosecuted under | ||
| * applicable laws. | ||
| */ | ||
| !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@syncfusion/ej2-angular-base"),require("@syncfusion/ej2-querybuilder"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@syncfusion/ej2-angular-base","@syncfusion/ej2-querybuilder","@angular/common"],t):t(e["ej2-angular-querybuilder"]={},e.ng.core,e.ej2.angular.base,e.ej2.querybuilder,e.ng.common)}(this,function(e,t,r,n,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=["category","columns","field","format","label","operators","ruleTemplate","step","template","type","validation","value","values"],c=[],s=function(e){function t(t){var n=e.call(this)||this;return n.viewContainerRef=t,r.setValue("currentInstance",n,n.viewContainerRef),n.registerEvents(c),n.directivePropList=l,n}return i(t,e),t}(r.ComplexBase);s.decorators=[{type:t.Directive,args:[{selector:"ejs-querybuilder>e-columns>e-column",inputs:l,outputs:c,queries:{}}]}],s.ctorParameters=function(){return[{type:t.ViewContainerRef}]},s.propDecorators={ruleTemplate:[{type:t.ContentChild,args:["ruleTemplate"]}],template:[{type:t.ContentChild,args:["template"]}]},a([r.Template(),u("design:type",Object)],s.prototype,"ruleTemplate",void 0),a([r.Template(),u("design:type",Object)],s.prototype,"template",void 0);var d=function(e){function t(){return e.call(this,"columns")||this}return i(t,e),t}(r.ArrayBase);d.decorators=[{type:t.Directive,args:[{selector:"ejs-querybuilder>e-columns",queries:{children:new t.ContentChildren(s)}}]}],d.ctorParameters=function(){return[]};var p=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},f=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=["addRuleToNewGroups","allowDragAndDrop","allowValidation","autoSelectField","autoSelectOperator","columns","cssClass","dataSource","displayMode","enableNotCondition","enablePersistence","enableRtl","enableSeparateConnector","fieldMode","fieldModel","headerTemplate","height","immediateModeDelay","locale","matchCase","maxGroupCount","operatorModel","readonly","rule","separator","showButtons","sortDirection","summaryView","valueModel","width"],m=["actionBegin","beforeChange","change","created","dataBound","ruleChange","drag","dragStart","drop"],h=[""];e.QueryBuilderComponent=function(e){function t(t,n,o,i){var a=e.call(this)||this;a.ngEle=t,a.srenderer=n,a.viewContainerRef=o,a.injector=i,a.tags=["columns"],a.element=a.ngEle.nativeElement,a.injectedModules=a.injectedModules||[];try{var u=a.injector.get("QueryBuilderQueryLibrary");-1===a.injectedModules.indexOf(u)&&a.injectedModules.push(u)}catch(l){}return a.registerEvents(m),a.addTwoWay.call(a,h),r.setValue("currentInstance",a,a.viewContainerRef),a.context=new r.ComponentBase,a}return i(t,e),t.prototype.ngOnInit=function(){this.context.ngOnInit(this)},t.prototype.ngAfterViewInit=function(){this.context.ngAfterViewInit(this)},t.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(this)},t.prototype.ngAfterContentChecked=function(){this.tagObjects[0].instance=this.childColumns,this.context.ngAfterContentChecked(this)},t}(n.QueryBuilder),e.QueryBuilderComponent.decorators=[{type:t.Component,args:[{selector:"ejs-querybuilder",inputs:y,outputs:m,template:"",changeDetection:t.ChangeDetectionStrategy.OnPush,queries:{childColumns:new t.ContentChild(d)}}]}],e.QueryBuilderComponent.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:t.ViewContainerRef},{type:t.Injector}]},e.QueryBuilderComponent.propDecorators={headerTemplate:[{type:t.ContentChild,args:["headerTemplate"]}]},p([r.Template(),f("design:type",Object)],e.QueryBuilderComponent.prototype,"headerTemplate",void 0),e.QueryBuilderComponent=p([r.ComponentMixins([r.ComponentBase]),f("design:paramtypes",[t.ElementRef,t.Renderer2,t.ViewContainerRef,t.Injector])],e.QueryBuilderComponent);var g=function(){return function(){}}();g.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule],declarations:[e.QueryBuilderComponent,s,d],exports:[e.QueryBuilderComponent,s,d]}]}],g.ctorParameters=function(){return[]};var C={provide:"QueryBuilderQueryLibrary",useValue:n.QueryLibrary},b=function(){return function(){}}();b.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule,g],exports:[g],providers:[C]}]}],b.ctorParameters=function(){return[]},e.ColumnDirective=s,e.ColumnsDirective=d,e.QueryBuilderModule=g,e.QueryBuilderAllModule=b,e.QueryLibraryService=C,e.ɵa=y,e.ɵb=m,e.Columns=n.Columns,e.Rule=n.Rule,e.Value=n.Value,e.ShowButtons=n.ShowButtons,e.QueryBuilder=n.QueryBuilder,e.QueryLibrary=n.QueryLibrary,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
| //# sourceMappingURL=ej2-angular-querybuilder.umd.min.js.map |
| {"version":3,"file":"ej2-angular-querybuilder.umd.min.js","sources":["~/@syncfusion/ej2-angular-querybuilder/src/query-builder/columns.directive.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.component.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder.module.ts","~/@syncfusion/ej2-angular-querybuilder/src/query-builder/querybuilder-all.module.ts"],"sourcesContent":["import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet /** @type {?} */ input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * `e-column` directive represent a column of the Angular QueryBuilder. \n * It must be contained in a QueryBuilder component(`ejs-querybuilder`). \n * ```html\n * <ejs-querybuilder [dataSource]='data'> \n * <e-columns>\n * <e-column field='ID' label='ID' type='number'></e-column>\n * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>\n * </e-columns>\n * </ejs-querybuilder>\n * ```\n */\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\npublic directivePropList: any;\n/**\n * Specifies the types in columns field.\n * \\@default null\n */\npublic type: any;\n/**\n * Specifies the category for columns.\n * \\@default null\n */\npublic category: any;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n */\npublic columns: any;\n/**\n * Specifies the fields in columns.\n * \\@default null\n */\npublic field: any;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n */\npublic format: any;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n */\npublic label: any;\n/**\n * Specifies the operators in columns.\n * \\@default null\n */\npublic operators: any;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n */\npublic step: any;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\npublic validation: any;\n/**\n * Specifies the default value for columns.\n * \\@default null\n */\npublic value: any;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n */\npublic values: any;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public ruleTemplate: any;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n */\n@Template()\n public template: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'ruleTemplate': [{ type: ContentChild, args: ['ruleTemplate', ] },],\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction ColumnDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnDirective.ctorParameters;\n/** @type {?} */\nColumnDirective.propDecorators;\n/** @type {?} */\nColumnDirective.prototype.directivePropList;\n/**\n * Specifies the types in columns field.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.type;\n/**\n * Specifies the category for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.category;\n/**\n * Specifies the sub fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.columns;\n/**\n * Specifies the fields in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.field;\n/**\n * Specifies the date format for columns.\n * \\@asptype string\n * \\@blazortype string\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.format;\n/**\n * Specifies the labels name in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.label;\n/**\n * Specifies the operators in columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.operators;\n/**\n * Specifies the step value(numeric textbox) for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.step;\n/**\n * Specifies the validation for columns (text, number and date).\n * \\@default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n * @type {?}\n */\nColumnDirective.prototype.validation;\n/**\n * Specifies the default value for columns.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.value;\n/**\n * Specifies the values in columns or bind the values from sub controls.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.values;\n/**\n * Specifies the rule template for the field with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nColumnDirective.prototype.ruleTemplate;\n/**\n * Specifies the template for value field such as slider or any other widgets.\n * \\@default null\n * @type {?}\n */\nColumnDirective.prototype.template;\n/** @type {?} */\nColumnDirective.prototype.viewContainerRef;\n}\n\n/**\n * Column Array Directive\n */\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\nconstructor() {\n super('columns');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColumnsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColumnsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColumnsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { QueryBuilder } from '@syncfusion/ej2-querybuilder';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColumnsDirective } from './columns.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['addRuleToNewGroups','allowDragAndDrop','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','enableSeparateConnector','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','ruleChange','drag','dragStart','drop'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\n\truleChange: any;\n\tdrag: any;\n\tdragStart: any;\npublic drop: any;\npublic childColumns: QueryList<ColumnsDirective>;\npublic tags: string[] = ['columns'];\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('QueryBuilderQueryLibrary');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-querybuilder',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childColumns: new ContentChild(ColumnsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction QueryBuilderComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderComponent.ctorParameters;\n/** @type {?} */\nQueryBuilderComponent.propDecorators;\n/** @type {?} */\nQueryBuilderComponent.prototype.context;\n/** @type {?} */\nQueryBuilderComponent.prototype.tagObjects;\n/** @type {?} */\nQueryBuilderComponent.prototype.actionBegin;\n/** @type {?} */\nQueryBuilderComponent.prototype.beforeChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.change;\n/** @type {?} */\nQueryBuilderComponent.prototype.created;\n/** @type {?} */\nQueryBuilderComponent.prototype.dataBound;\n/** @type {?} */\nQueryBuilderComponent.prototype.ruleChange;\n/** @type {?} */\nQueryBuilderComponent.prototype.drag;\n/** @type {?} */\nQueryBuilderComponent.prototype.dragStart;\n/** @type {?} */\nQueryBuilderComponent.prototype.drop;\n/** @type {?} */\nQueryBuilderComponent.prototype.childColumns;\n/** @type {?} */\nQueryBuilderComponent.prototype.tags;\n/**\n * Specifies the template for the header with any other widgets.\n * \\@default null\n * \\@asptype string\n * @type {?}\n */\nQueryBuilderComponent.prototype.headerTemplate;\n/** @type {?} */\nQueryBuilderComponent.prototype.registerEvents;\n/** @type {?} */\nQueryBuilderComponent.prototype.addTwoWay;\n/** @type {?} */\nQueryBuilderComponent.prototype.ngEle;\n/** @type {?} */\nQueryBuilderComponent.prototype.srenderer;\n/** @type {?} */\nQueryBuilderComponent.prototype.viewContainerRef;\n/** @type {?} */\nQueryBuilderComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\n/**\n * NgModule definition for the QueryBuilder component.\n */\nexport class QueryBuilderModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColumnDirective, ColumnsDirective } from './columns.directive';\nimport { QueryBuilderComponent } from './querybuilder.component';\nimport { QueryBuilderModule } from './querybuilder.module';\nimport {QueryLibrary} from '@syncfusion/ej2-querybuilder';\n\n\nexport const /** @type {?} */ QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\nexport class QueryBuilderAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n QueryLibraryService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction QueryBuilderAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nQueryBuilderAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nQueryBuilderAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["input","outputs","ColumnDirective","_super","viewContainerRef","_this","call","this","setValue","registerEvents","directivePropList","__extends","ComplexBase","decorators","type","Directive","args","selector","inputs","queries","ctorParameters","ViewContainerRef","propDecorators","ruleTemplate","ContentChild","template","__decorate","Template","prototype","ColumnsDirective","ArrayBase","children","ContentChildren","twoWays","exports","QueryBuilderComponent","ngEle","srenderer","injector","tags","element","nativeElement","injectedModules","mod","get","indexOf","push","_a","addTwoWay","context","ComponentBase","ngOnInit","ngAfterViewInit","ngOnDestroy","ngAfterContentChecked","tagObjects","instance","childColumns","QueryBuilder","Component","changeDetection","ChangeDetectionStrategy","OnPush","ElementRef","Renderer2","Injector","headerTemplate","ComponentMixins","__metadata","QueryBuilderModule","NgModule","imports","CommonModule","declarations","QueryLibraryService","provide","useValue","QueryLibrary","QueryBuilderAllModule","providers"],"mappings":"gyCAKIA,GAAkB,WAAa,UAAW,QAAS,SAAU,QAAS,YAAa,eAAgB,OAAQ,WAAY,OAAQ,aAAc,QAAS,UACtJC,KAaJC,EAAA,SAAAC,GA2EA,SAAAD,EAIwBE,GAJxB,IAAAC,EACQF,EADRG,KAAAC,OAAAA,YAIwBF,EAAxBD,iBAAwBA,EAFhBI,EAAAA,SAAS,kBAAmBH,EAAMA,EAAKD,kBACvCC,EAAKI,eAAeR,GACpBI,EAAKK,kBAAoBV,WA9EhCW,EAADT,EAAAC,KADA,CACCS,EAAAA,aAoFMV,EAAPW,aACEC,KAAMC,EAAAA,UAAWC,OAHfC,SAIU,sCAHVC,OAIQlB,EAHRC,QAISA,EAHTkB,eAUHjB,EAADkB,eAAC,WAAA,QADAN,KAAMO,EAAAA,oBAIAnB,EAAPoB,gBADAC,eAEmBT,KAAMU,EAAAA,aAAcR,MAAM,kBAD7CS,WAEeX,KAAMU,EAAAA,aAAcR,MAAM,eApCrCU,GAICC,EAAAA,oCAJLzB,EAAA0B,UAAA,oBAAA,GAMIF,GAKCC,EAAAA,oCALLzB,EAAA0B,UAAA,gBAAA,GAoIA,IAA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AA5CjE,aACEC,KAAMwD,EAAAA,SAAUtD,OADduD,SAESC,EAAAA,aAAeH,GADxBnC,SACImC,GAEJU,WACIL,OAOPI,EAAD1D,eAAC,WAAA"} |
| /** | ||
| * Generated bundle index. Do not edit. | ||
| */ | ||
| export * from './public_api'; | ||
| export { inputs as ɵa, outputs as ɵb } from './src/query-builder/querybuilder.component'; |
| {"__symbolic":"module","version":3,"exports":[{"from":"@syncfusion/ej2-querybuilder"}],"metadata":{"ɵa":["addRuleToNewGroups","allowDragAndDrop","allowValidation","autoSelectField","autoSelectOperator","columns","cssClass","dataSource","displayMode","enableNotCondition","enablePersistence","enableRtl","enableSeparateConnector","fieldMode","fieldModel","headerTemplate","height","immediateModeDelay","locale","matchCase","maxGroupCount","operatorModel","readonly","rule","separator","showButtons","sortDirection","summaryView","valueModel","width"],"ɵb":["actionBegin","beforeChange","change","created","dataBound","ruleChange","drag","dragStart","drop"],"ColumnDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComplexBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ejs-querybuilder>e-columns>e-column","inputs":["category","columns","field","format","label","operators","ruleTemplate","step","template","type","validation","value","values"],"outputs":[],"queries":{}}]}],"members":{"ruleTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["ruleTemplate"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["template"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}]}},"ColumnsDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ArrayBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ejs-querybuilder>e-columns","queries":{"children":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren"},"arguments":[{"__symbolic":"reference","name":"ColumnDirective"}]}}}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"QueryBuilderComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-querybuilder","name":"QueryBuilder"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ejs-querybuilder","inputs":{"__symbolic":"reference","name":"ɵa"},"outputs":{"__symbolic":"reference","name":"ɵb"},"template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"queries":{"childColumns":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ColumnsDirective"}]}}}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComponentMixins"},"arguments":[[{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComponentBase"}]]}],"members":{"headerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["headerTemplate"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}]}},"QueryBuilderModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","name":"QueryBuilderComponent"},{"__symbolic":"reference","name":"ColumnDirective"},{"__symbolic":"reference","name":"ColumnsDirective"}],"exports":[{"__symbolic":"reference","name":"QueryBuilderComponent"},{"__symbolic":"reference","name":"ColumnDirective"},{"__symbolic":"reference","name":"ColumnsDirective"}]}]}],"members":{}},"QueryBuilderAllModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","name":"QueryBuilderModule"}],"exports":[{"__symbolic":"reference","name":"QueryBuilderModule"}],"providers":[{"__symbolic":"reference","name":"QueryLibraryService"}]}]}],"members":{}},"QueryLibraryService":{"provide":"QueryBuilderQueryLibrary","useValue":{"__symbolic":"reference","module":"@syncfusion/ej2-querybuilder","name":"QueryLibrary"}}},"origins":{"ɵa":"./src/query-builder/querybuilder.component","ɵb":"./src/query-builder/querybuilder.component","ColumnDirective":"./src/query-builder/columns.directive","ColumnsDirective":"./src/query-builder/columns.directive","QueryBuilderComponent":"./src/query-builder/querybuilder.component","QueryBuilderModule":"./src/query-builder/querybuilder.module","QueryBuilderAllModule":"./src/query-builder/querybuilder-all.module","QueryLibraryService":"./src/query-builder/querybuilder-all.module"},"importAs":"@syncfusion/ej2-angular-querybuilder"} |
Sorry, the diff of this file is not supported yet
+47
-29
| { | ||
| "name": "@syncfusion/ej2-angular-querybuilder", | ||
| "version": "32.2.3", | ||
| "description": "Essential JS 2 QueryBuilder for Angular", | ||
| "author": "Syncfusion Inc.", | ||
| "license": "SEE LICENSE IN license", | ||
| "schematics": "./schematics/collection.json", | ||
| "_from": "@syncfusion/ej2-angular-querybuilder@*", | ||
| "_id": "@syncfusion/ej2-angular-querybuilder@32.1.1", | ||
| "_inBundle": false, | ||
| "_integrity": "sha512-1tegRX5CKCIuYC16659zN9wBDdRQjCX7mVJF1nrj++ASCk5VjPUV7YWGco1T5fIAVi08vJriiEa5Q2yqKg5Lxg==", | ||
| "_location": "/@syncfusion/ej2-angular-querybuilder", | ||
| "_phantomChildren": {}, | ||
| "_requested": { | ||
| "type": "range", | ||
| "registry": true, | ||
| "raw": "@syncfusion/ej2-angular-querybuilder@*", | ||
| "name": "@syncfusion/ej2-angular-querybuilder", | ||
| "escapedName": "@syncfusion%2fej2-angular-querybuilder", | ||
| "scope": "@syncfusion", | ||
| "rawSpec": "*", | ||
| "saveSpec": null, | ||
| "fetchSpec": "*" | ||
| }, | ||
| "_requiredBy": [ | ||
| "/" | ||
| ], | ||
| "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-angular-querybuilder/-/ej2-angular-querybuilder-32.1.1.tgz", | ||
| "_shasum": "848dde1b36678a96031c2c6d1f48ada45d83ec5f", | ||
| "_spec": "@syncfusion/ej2-angular-querybuilder@*", | ||
| "_where": "D:\\SF3992\\WFH\\Nexus\\release", | ||
| "author": { | ||
| "name": "Syncfusion Inc." | ||
| }, | ||
| "bugs": { | ||
| "url": "https://github.com/syncfusion/ej2-angular-ui-components/issues" | ||
| }, | ||
| "bundleDependencies": false, | ||
| "dependencies": { | ||
| "@syncfusion/ej2-angular-base": "~32.2.3", | ||
| "@syncfusion/ej2-base": "~32.2.3", | ||
| "@syncfusion/ej2-angular-base": "~32.2.3", | ||
| "@syncfusion/ej2-querybuilder": "32.2.3" | ||
| "@syncfusion/ej2-querybuilder": "32.2.4" | ||
| }, | ||
| "deprecated": false, | ||
| "description": "Essential JS 2 QueryBuilder for Angular", | ||
| "devDependencies": {}, | ||
| "es2015": "@syncfusion/ej2-angular-querybuilder.js", | ||
| "homepage": "https://www.syncfusion.com/angular-components", | ||
| "keywords": [ | ||
@@ -22,27 +52,15 @@ "angular", | ||
| ], | ||
| "license": "SEE LICENSE IN license", | ||
| "main": "dist/ej2-angular-querybuilder.umd.js", | ||
| "metadata": "ej2-angular-querybuilder.metadata.json", | ||
| "module": "@syncfusion/ej2-angular-querybuilder.es5.js", | ||
| "name": "@syncfusion/ej2-angular-querybuilder", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/syncfusion/ej2-angular-ui-components.git" | ||
| "url": "git+https://github.com/syncfusion/ej2-angular-ui-components.git" | ||
| }, | ||
| "schematics": "./schematics/collection.json", | ||
| "sideEffects": false, | ||
| "module": "fesm2015/syncfusion-ej2-angular-querybuilder.mjs", | ||
| "es2020": "fesm2020/syncfusion-ej2-angular-querybuilder.mjs", | ||
| "esm2020": "esm2020/syncfusion-ej2-angular-querybuilder.mjs", | ||
| "fesm2020": "fesm2020/syncfusion-ej2-angular-querybuilder.mjs", | ||
| "fesm2015": "fesm2015/syncfusion-ej2-angular-querybuilder.mjs", | ||
| "typings": "syncfusion-ej2-angular-querybuilder.d.ts", | ||
| "exports": { | ||
| "./package.json": { | ||
| "default": "./package.json" | ||
| }, | ||
| ".": { | ||
| "types": "./syncfusion-ej2-angular-querybuilder.d.ts", | ||
| "esm2020": "./esm2020/syncfusion-ej2-angular-querybuilder.mjs", | ||
| "es2020": "./fesm2020/syncfusion-ej2-angular-querybuilder.mjs", | ||
| "es2015": "./fesm2015/syncfusion-ej2-angular-querybuilder.mjs", | ||
| "node": "./fesm2015/syncfusion-ej2-angular-querybuilder.mjs", | ||
| "default": "./fesm2020/syncfusion-ej2-angular-querybuilder.mjs" | ||
| } | ||
| }, | ||
| "homepage": "https://www.syncfusion.com/angular-components" | ||
| "typings": "ej2-angular-querybuilder.d.ts", | ||
| "version": "32.2.4-ngcc" | ||
| } |
+2
-9
@@ -15,3 +15,3 @@ # Angular Query Builder Component (Angular Filter Component) | ||
| <a href="https://www.syncfusion.com"> | ||
| <img src="https://ej2.syncfusion.com/home/images/trusted_companies.png" alt="Bootstrap logo"> | ||
| <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo"> | ||
| </a> | ||
@@ -119,9 +119,2 @@ </p> | ||
| ## Resources | ||
| * [Theme Studio](https://ej2.syncfusion.com/themestudio/) | ||
| * [What's New](https://www.syncfusion.com/products/whatsnew/angular?utm_medium=listing&utm_source=github) | ||
| * [Road Map](https://www.syncfusion.com/products/roadmap/angular) | ||
| * [E-Books](https://www.syncfusion.com/succinctly-free-ebooks?searchkey=angular&type=all) | ||
| ## Support | ||
@@ -143,3 +136,3 @@ | ||
| > This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 140+ [Angular UI components](https://www.syncfusion.com/angular-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials). | ||
| > This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [Angular UI components](https://www.syncfusion.com/angular-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials). | ||
@@ -146,0 +139,0 @@ > A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers. |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.pkgName = '@syncfusion/ej2-angular-querybuilder'; | ||
| exports.pkgVer = '^32.2.3'; | ||
| exports.pkgVer = '^32.2.4'; | ||
| exports.moduleName = 'QueryBuilderModule'; | ||
| exports.themeVer = '~32.2.3'; | ||
| exports.themeVer = '~32.2.4'; |
| export const pkgName = '@syncfusion/ej2-angular-querybuilder'; | ||
| export const pkgVer = '^32.2.3'; | ||
| export const pkgVer = '^32.2.4'; | ||
| export const moduleName = 'QueryBuilderModule'; | ||
| export const themeVer = '~32.2.3'; | ||
| export const themeVer = '~32.2.4'; |
| import { ViewContainerRef } from '@angular/core'; | ||
| import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base'; | ||
| import * as i0 from "@angular/core"; | ||
| /** | ||
@@ -88,4 +87,2 @@ * `e-column` directive represent a column of the Angular QueryBuilder. | ||
| constructor(viewContainerRef: ViewContainerRef); | ||
| static ɵfac: i0.ɵɵFactoryDeclaration<ColumnDirective, never>; | ||
| static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnDirective, "ejs-querybuilder>e-columns>e-column", never, { "category": "category"; "columns": "columns"; "field": "field"; "format": "format"; "label": "label"; "operators": "operators"; "ruleTemplate": "ruleTemplate"; "step": "step"; "template": "template"; "type": "type"; "validation": "validation"; "value": "value"; "values": "values"; }, {}, ["ruleTemplate", "template"]>; | ||
| } | ||
@@ -98,4 +95,2 @@ /** | ||
| constructor(); | ||
| static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsDirective, never>; | ||
| static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnsDirective, "ejs-querybuilder>e-columns", never, {}, {}, ["children"]>; | ||
| } |
| import { ValueProvider } from '@angular/core'; | ||
| import * as i0 from "@angular/core"; | ||
| import * as i1 from "@angular/common"; | ||
| import * as i2 from "./querybuilder.module"; | ||
| export declare const QueryLibraryService: ValueProvider; | ||
@@ -10,5 +7,2 @@ /** | ||
| export declare class QueryBuilderAllModule { | ||
| static ɵfac: i0.ɵɵFactoryDeclaration<QueryBuilderAllModule, never>; | ||
| static ɵmod: i0.ɵɵNgModuleDeclaration<QueryBuilderAllModule, never, [typeof i1.CommonModule, typeof i2.QueryBuilderModule], [typeof i2.QueryBuilderModule]>; | ||
| static ɵinj: i0.ɵɵInjectorDeclaration<QueryBuilderAllModule>; | ||
| } |
@@ -5,3 +5,2 @@ import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@angular/core'; | ||
| import { ColumnsDirective } from './columns.directive'; | ||
| import * as i0 from "@angular/core"; | ||
| export declare const inputs: string[]; | ||
@@ -28,3 +27,2 @@ export declare const outputs: string[]; | ||
| dataBound: any; | ||
| destroyed: any; | ||
| ruleChange: any; | ||
@@ -49,4 +47,2 @@ drag: any; | ||
| addTwoWay: (propList: string[]) => void; | ||
| static ɵfac: i0.ɵɵFactoryDeclaration<QueryBuilderComponent, never>; | ||
| static ɵcmp: i0.ɵɵComponentDeclaration<QueryBuilderComponent, "ejs-querybuilder", never, { "addRuleToNewGroups": "addRuleToNewGroups"; "allowDragAndDrop": "allowDragAndDrop"; "allowValidation": "allowValidation"; "autoSelectField": "autoSelectField"; "autoSelectOperator": "autoSelectOperator"; "columns": "columns"; "cssClass": "cssClass"; "dataSource": "dataSource"; "displayMode": "displayMode"; "enableNotCondition": "enableNotCondition"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "enableSeparateConnector": "enableSeparateConnector"; "fieldMode": "fieldMode"; "fieldModel": "fieldModel"; "headerTemplate": "headerTemplate"; "height": "height"; "immediateModeDelay": "immediateModeDelay"; "locale": "locale"; "matchCase": "matchCase"; "maxGroupCount": "maxGroupCount"; "operatorModel": "operatorModel"; "readonly": "readonly"; "rule": "rule"; "separator": "separator"; "showButtons": "showButtons"; "sortDirection": "sortDirection"; "summaryView": "summaryView"; "valueModel": "valueModel"; "width": "width"; }, { "actionBegin": "actionBegin"; "beforeChange": "beforeChange"; "change": "change"; "created": "created"; "dataBound": "dataBound"; "destroyed": "destroyed"; "ruleChange": "ruleChange"; "drag": "drag"; "dragStart": "dragStart"; "drop": "drop"; }, ["headerTemplate", "childColumns"], never>; | ||
| } |
@@ -1,5 +0,1 @@ | ||
| import * as i0 from "@angular/core"; | ||
| import * as i1 from "./querybuilder.component"; | ||
| import * as i2 from "./columns.directive"; | ||
| import * as i3 from "@angular/common"; | ||
| /** | ||
@@ -9,5 +5,2 @@ * NgModule definition for the QueryBuilder component. | ||
| export declare class QueryBuilderModule { | ||
| static ɵfac: i0.ɵɵFactoryDeclaration<QueryBuilderModule, never>; | ||
| static ɵmod: i0.ɵɵNgModuleDeclaration<QueryBuilderModule, [typeof i1.QueryBuilderComponent, typeof i2.ColumnDirective, typeof i2.ColumnsDirective], [typeof i3.CommonModule], [typeof i1.QueryBuilderComponent, typeof i2.ColumnDirective, typeof i2.ColumnsDirective]>; | ||
| static ɵinj: i0.ɵɵInjectorDeclaration<QueryBuilderModule>; | ||
| } |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/bds-lite' as *; | ||
| @import 'ej2-querybuilder/styles/bds-lite.scss'; |
+1
-1
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/bds' as *; | ||
| @import 'query-builder/bds.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/bootstrap-dark-lite' as *; | ||
| @import 'ej2-querybuilder/styles/bootstrap-dark-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/bootstrap-dark' as *; | ||
| @import 'query-builder/bootstrap-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/bootstrap-lite' as *; | ||
| @import 'ej2-querybuilder/styles/bootstrap-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/bootstrap' as *; | ||
| @import 'query-builder/bootstrap.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/bootstrap4-lite' as *; | ||
| @import 'ej2-querybuilder/styles/bootstrap4-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/bootstrap4' as *; | ||
| @import 'query-builder/bootstrap4.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/bootstrap5-dark-lite' as *; | ||
| @import 'ej2-querybuilder/styles/bootstrap5-dark-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/bootstrap5-dark' as *; | ||
| @import 'query-builder/bootstrap5-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/bootstrap5-lite' as *; | ||
| @import 'ej2-querybuilder/styles/bootstrap5-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/bootstrap5.3-lite' as *; | ||
| @import 'ej2-querybuilder/styles/bootstrap5.3-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/bootstrap5.3' as *; | ||
| @import 'query-builder/bootstrap5.3.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/bootstrap5' as *; | ||
| @import 'query-builder/bootstrap5.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/fabric-dark-lite' as *; | ||
| @import 'ej2-querybuilder/styles/fabric-dark-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/fabric-dark' as *; | ||
| @import 'query-builder/fabric-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/fabric-lite' as *; | ||
| @import 'ej2-querybuilder/styles/fabric-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/fabric' as *; | ||
| @import 'query-builder/fabric.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/fluent-dark-lite' as *; | ||
| @import 'ej2-querybuilder/styles/fluent-dark-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/fluent-dark' as *; | ||
| @import 'query-builder/fluent-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/fluent-lite' as *; | ||
| @import 'ej2-querybuilder/styles/fluent-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/fluent' as *; | ||
| @import 'query-builder/fluent.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/fluent2-lite' as *; | ||
| @import 'ej2-querybuilder/styles/fluent2-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/fluent2' as *; | ||
| @import 'query-builder/fluent2.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/highcontrast-light-lite' as *; | ||
| @import 'ej2-querybuilder/styles/highcontrast-light-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/highcontrast-light' as *; | ||
| @import 'query-builder/highcontrast-light.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/highcontrast-lite' as *; | ||
| @import 'ej2-querybuilder/styles/highcontrast-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/highcontrast' as *; | ||
| @import 'query-builder/highcontrast.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/material-dark-lite' as *; | ||
| @import 'ej2-querybuilder/styles/material-dark-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/material-dark' as *; | ||
| @import 'query-builder/material-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/material-lite' as *; | ||
| @import 'ej2-querybuilder/styles/material-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/material' as *; | ||
| @import 'query-builder/material.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/material3-dark-lite' as *; | ||
| @import 'ej2-querybuilder/styles/material3-dark-lite.scss'; |
@@ -1,1 +0,2 @@ | ||
| @use 'query-builder/material3-dark' as *; | ||
| @import 'query-builder/material3-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/material3-lite' as *; | ||
| @import 'ej2-querybuilder/styles/material3-lite.scss'; |
@@ -1,1 +0,2 @@ | ||
| @use 'query-builder/material3' as *; | ||
| @import 'query-builder/material3.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/bds' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/bds.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/bootstrap-dark' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/bootstrap-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/bootstrap' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/bootstrap.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/bootstrap4' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/bootstrap4.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/bootstrap5-dark' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/bootstrap5-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/bootstrap5.3' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/bootstrap5.3.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/bootstrap5' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/bootstrap5.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/fabric-dark' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/fabric-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/fabric' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/fabric.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/fluent-dark' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/fluent-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/fluent' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/fluent.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/fluent2' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/fluent2.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/highcontrast-light' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/highcontrast-light.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/highcontrast' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/highcontrast.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/material-dark' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/material-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/material' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/material.scss'; |
@@ -1,1 +0,2 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/material3-dark' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/material3-dark.scss'; |
@@ -1,1 +0,2 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/material3' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/material3.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/tailwind-dark' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/tailwind-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/tailwind' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/tailwind.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/styles/query-builder/tailwind3' as *; | ||
| @import 'ej2-querybuilder/styles/query-builder/tailwind3.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/tailwind-dark-lite' as *; | ||
| @import 'ej2-querybuilder/styles/tailwind-dark-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/tailwind-dark' as *; | ||
| @import 'query-builder/tailwind-dark.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/tailwind-lite' as *; | ||
| @import 'ej2-querybuilder/styles/tailwind-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/tailwind' as *; | ||
| @import 'query-builder/tailwind.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'ej2-querybuilder/tailwind3-lite' as *; | ||
| @import 'ej2-querybuilder/styles/tailwind3-lite.scss'; |
@@ -1,1 +0,1 @@ | ||
| @use 'query-builder/tailwind3' as *; | ||
| @import 'query-builder/tailwind3.scss'; |
-797
| # Changelog | ||
| ## [Unreleased] | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| `#I802697` - Fixed duplicate rules appearing when cloning nested groups in QueryBuilder. | ||
| ## 32.1.19 (2025-12-16) | ||
| ### QueryBuilder | ||
| - `#I80058` - Issue with "String type between values not update properly in query builder rules" has been fixed. | ||
| ## 28.1.33 (2024-12-12) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with condition not proper while getting sql from rules has been fixed. | ||
| - `#I594200` - Issue with "Template is not rendered properly when we use fieldMode as dropdowntree in the complex data binding query builder" has been fixed. | ||
| ## 26.1.35 (2024-06-11) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I568017` - Issue with QueryBuilder 'In' or 'Not in' Operator results in value field as empty list when using fieldMode as default mode has been fixed. | ||
| ## 25.1.35 (2024-03-15) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I870175` - Issue with `getSqlFromRules` method is not return custom value when changing boolean type column value in default complex data binding. has been fixed. | ||
| - `#I556563` - Issue with QueryBuilder validation message position wrong issue while deleting the rule has been fixed. | ||
| #### New Features | ||
| - Provided the support to get / set the Mongo Query from query builder. | ||
| - Provided the support to get / set the Parameter SQL and Named Parameter SQL from query builder. | ||
| - Provided the Clone support to query builder rules/ groups. | ||
| - Provided the Lock support to query builder rules/ groups. | ||
| ## 24.2.8 (2024-02-27) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I534039` - Issue with `drop-down list popup` remains stick in the screen after close has been fixed. | ||
| ## 24.2.5 (2024-02-13) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I545248` - Issue with QueryBuilder validation message removed when navigating away from the QueryBuilder control has been fixed. | ||
| - `#F186129` - Issue with tooltip rendering twice in the operator field while using validateFields method has been fixed. | ||
| ## 24.1.46 (2024-01-17) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I534895` - Issue with `getValidRules` method of query builder returns improper rule for in operator has been fixed. | ||
| ## 24.1.45 (2024-01-09) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I526596` - Issue with Dropdown tree item expand and selection related issue in query builder has been fixed. | ||
| ## 24.1.44 (2024-01-03) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#F185815` - Issue with dynamically changing readonly property has been fixed. | ||
| ## 24.1.43 (2023-12-27) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#F510127` - Issue with Query builder rule does not gets changed dynamically has been fixed. | ||
| ## 24.1.41 (2023-12-18) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#F511006` - Issue with Date rule format value not updated properly while using two rule in Query builder has been fixed. | ||
| ## 23.2.7 (2023-12-05) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I510127` - Issue with Query builder rule does not changed dynamically has been fixed. | ||
| ## 23.1.44 (2023-11-07) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I510127` - Issue with Query builder dynamically adding rule does not gets changed has been fixed. | ||
| ## 23.1.41 (2023-10-17) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#F184903` - Issue with `setRules` method of the Query builder not working for complex data binding has been fixed. | ||
| ## 23.1.39 (2023-10-04) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I501292` - Issue with Query builder validation tooltip is not shows on second time has been fixed. | ||
| - `#I499489` - Issue with read only property not working in dropdowntree field of QueryBuilder has been fixed. | ||
| ## 23.1.38 (2023-09-26) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I504588` - Issue with Query builder column template not render in Vue3 platform has been fixed. | ||
| ## 23.1.36 (2023-09-15) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I493593` - Resolved the Script error thrown in `getRule` method of QueryBuilder while using change event. | ||
| ## 22.2.9 (2023-08-15) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#F183921` - Resolved the Script error thrown while changing Boolean value in dropdowntree fieldMode of QueryBuilder | ||
| ## 22.2.8 (2023-08-08) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I469225` - Resolved the Custom operator not working properly in QueryBuilder While dynamically change locale property. | ||
| ## 22.1.38 (2023-07-11) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I469225` - Resolved the Dropdown tree field selection related issue in the query builder. | ||
| ## 22.1.37 (2023-07-04) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I44054` - Resolved the issue where importing SQL queries containing special characters. | ||
| ## 22.1.34 (2023-06-21) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I460895` - Issue with Query builder template not render in Vue3 platform has been fixed. | ||
| - `#I448219` - Issue with Query builder validation not shown using `validateFields` method and scroll the page has been fixed. | ||
| ## 20.4.51 (2023-02-21) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I430220` - Issue with Value template issue with complex data binding of query builder has been fixed. | ||
| - `#I428779` - Issue with Providing the single quotes in SQL string support to query builder has been fixed. | ||
| ## 20.4.42 (2023-01-04) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#F31632` - Accessibility issue in Query Builder has been resolved. | ||
| ## 20.4.40 (2022-12-28) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#F178375` - Issue with Browser window get freezes when we set the Invalid SQL rule to query builder has been fixed. | ||
| - `#I423706` - Issue with Field Dropdown list popups get collapses when we use `validateFields` method in query builder has been fixed | ||
| ## 20.4.38 (2022-12-21) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#F420982` - Issue with `getValidRules` method of query builder returns empty group has been fixed. | ||
| - `#I404520` - Provided Localization support SQL query builder operators. | ||
| - `#F178375` - Issue with Browser window get freezes when we set the Invalid SQL rule to query builder has been fixed. | ||
| - `#I408324` - Issue with Script errors throwing in validating query builder fields while double click has been fixed. | ||
| - `#I408658` - Issue with Value getting removed while closing fields Dropdown without change the value when we set rule property of query builder has been fixed. | ||
| ## 20.3.47 (2022-09-29) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I391922` - Issue with Show Buttons option in query builder has been fixed. | ||
| - `#I399576` - Issue with Custom operator not set properly when we set one field is a prefix of other field as number in query builder has been fixed. | ||
| - `#I375472` - Issue with Change event not trigger for changing field for default column to rule template column in query builder has been fixed. | ||
| - `#I394878` - Issue with Date type Between value not render properly while using `setRulesFromSql` method has been fixed | ||
| ## 20.2.40 (2022-07-26) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I375472` - Issue with Rule template default rendered while add condition/group in query builder, if first column as rule template has been fixed. | ||
| - `#I388333` - Issue with Value template not destroy properly when we use complex data source in query builder has been fixed. | ||
| ## 19.3.45 (2021-10-12) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `F169401`, `F169406` - Issue with SQL importing with boolean values has been fixed. | ||
| - `F168982` - Issue with placing Query Builder inside a form has been fixed. | ||
| ## 19.3.44 (2021-10-05) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided Dropdown Tree component support in Complex data binding | ||
| ## 19.2.59 (2021-08-31) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Improvements in Header Template support. | ||
| ## 19.2.51 (2021-08-03) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I337055` - The issue with Tooltip not destroyed while applying reset after validation been fixed. | ||
| ## 19.2.46 (2021-07-06) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#I333679` - The issue with setRules method not works in header template has been fixed. | ||
| ## 19.1.57 (2021-04-20) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#F163698` - The issue with 'getRulesFromSql' method for date is fixed. | ||
| ## 19.1.55 (2021-04-06) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#317381` - The issue with predicate generation for date is fixed. | ||
| ## 19.1.54 (2021-03-30) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided Complex data binding Support. | ||
| - Provided Header Template Support. | ||
| - Provided model support for fields, operators and values. | ||
| - Provided Complex data binding Support | ||
| - Provided Header Template Support | ||
| #### Bug Fixes | ||
| - `#F162988` - The issue when field has space is fixed. | ||
| - `#317355` - The issue with disable the condition option when that group has single | ||
| ## 18.4.42 (2021-02-09) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with angular template is fixed. | ||
| ## 18.4.33 (2021-01-05) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with template destroy is fixed. | ||
| ## 18.4.32 (2020-12-29) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with validation is fixed. | ||
| ## 18.3.52 (2020-12-01) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with Date Picker with null value is fixed. | ||
| ## 18.3.51 (2020-11-24) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - `#290596` - Validation working improperly with column template issue resolved. | ||
| - Issue with template destroy is fixed | ||
| ## 18.3.50 (2020-11-17) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with setting HTML element id start with number is fixed | ||
| ## 18.3.42 (2020-10-20) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with 'setRulesFromSql' method is fixed. | ||
| - Issue with changing value field width is fixed. | ||
| ## 18.3.40 (2020-10-13) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with 'getValues' method is fixed. | ||
| ## 18.2.57 (2020-09-08) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with 'setRulesFromSql' method is fixed. | ||
| ## 18.2.55 (2020-08-25) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with 'getColumn' method is fixed. | ||
| - Issue with persistence is fixed. | ||
| ## 18.2.46 (2020-07-21) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with 'boolean' type value is fixed. | ||
| ## 18.2.45 (2020-07-14) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with 'locale' is fixed. | ||
| ## 18.2.44 (2020-07-07) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided `Rule Template` support. | ||
| #### Bug Fixes | ||
| - Issue with 'addGroups' method is fixed. | ||
| ## 18.1.55 (2020-06-02) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with 'setRulesFromSql' method is fixed. | ||
| ## 18.1.53 (2020-05-19) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with boolean value has been resolved. | ||
| ## 18.1.48 (2020-05-05) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with SQL parsing has been resolved. | ||
| ## 18.1.45 (2020-04-21) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with grouping after refreshing QueryBuilder has been resolved. | ||
| ## 18.1.44 (2020-04-14) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Compatibility with EJ1 issues has been resolved. | ||
| ## 18.1.43 (2020-04-07) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided `readonly` support. | ||
| ## 18.1.36-beta (2020-03-19) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Improvements in Value Template support. | ||
| ## 17.4.49 (2020-02-11) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - CSS validation issues has been resolved. | ||
| ## 17.4.47 (2020-02-05) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with predicate generation for date type is fixed. | ||
| #### Breaking Changes | ||
| |Property Name|Previous Type|Current Type | | ||
| |-------------|-------------|-------------------| | ||
| |format |string |string|FormatObject| | ||
| ## 17.4.46 (2020-01-30) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided the support to disable the combinator if only one rule is present. | ||
| ## 17.4.43 (2020-01-14) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with predicate generation for between operator is fixed. | ||
| ## 17.4.41 (2020-01-07) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with 'setRulesFromSql' method is fixed. | ||
| ## 17.4.39 (2019-12-17) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided `NOT` Condition support. | ||
| - Provided Template support for Time Picker. | ||
| #### Bug Fixes | ||
| - Tooltip is not destroyed while using destroy method. | ||
| - Predicate is not created for Date type when between operator is fixed. | ||
| ## 17.3.27 (2019-11-12) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Issue with changing 'number' type field is fixed. | ||
| ## 17.3.26 (2019-11-05) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided Not Contains, Not Starts With and Not Ends With operator support. | ||
| ## 17.3.21 (2019-10-30) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Value not updated properly while changing 'Between' operator. | ||
| ## 17.3.19 (2019-10-22) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Value not updated properly while changing operator. | ||
| ## 17.2.46 (2019-08-22) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided Null and Empty operator support. | ||
| ## 17.2.36 (2019-07-24) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Date values are not properly filtered using DataManager. | ||
| ## 17.2.35 (2019-07-17) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - SQL Parsing issue when the rule contains 'Greater Than Or Equal', 'Less Than Or Equal' operator. | ||
| - Condition is not updated properly in the root while using 'setRules' method. | ||
| ## 17.2.28-beta (2019-06-27) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided localization support for 'AND/OR' conditions. | ||
| ## 17.1.50 (2019-06-04) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Selected value not maintained properly for radiobutton field. | ||
| ## 17.1.49 (2019-05-29) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - DataManager related issue resolved. | ||
| ## 17.1.48 (2019-05-21) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Provided public method for get the rule by the rule Id. | ||
| - Date format issue in dd/mm/yyyy format. | ||
| - Selected value not maintained properly for radiobutton field. | ||
| ## 17.1.47 (2019-05-14) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided `case sensitive` support. | ||
| - Provided default value option support for column fields. | ||
| - Provided groupBy support for columns. | ||
| #### Bug Fixes | ||
| - Updating conditions throws script error after using 'setRules' method. | ||
| - Rule with AND operator is not properly updated in ASP.NET MVC and Core. | ||
| - Multiselect datasource not properly updated for in and notin operators. | ||
| - Provided option for handling data source request on demand. | ||
| ## 17.1.43 (2019-04-30) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Multiselect datasource not properly updated for in and notin operators. | ||
| ## 17.1.42 (2019-04-23) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Rule with AND operator is not properly updated in ASP.NET MVC and Core. | ||
| ## 17.1.40 (2019-04-09) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Updating conditions throws script error after using 'setRules' method. | ||
| ## 17.1.38 (2019-03-29) | ||
| ### QueryBuilder | ||
| #### Breaking Changes | ||
| - The following events are renamed. | ||
| | Existing Event Name| New Event Name | | ||
| |------|-------------| | ||
| |beforeConditionChange|beforeChange| | ||
| |beforeFieldChange|beforeChange| | ||
| |beforeOperatorChange|beforeChange| | ||
| |beforeValueChange|beforeChange| | ||
| |conditionChanged|change| | ||
| |fieldChanged|change| | ||
| |operatorChanged|change| | ||
| |valueChanged|change| | ||
| |groupDelete|change| | ||
| |groupInsert|change| | ||
| |ruleDelete|change| | ||
| |ruleInsert|change| | ||
| - Modified the return type of 'getFilteredRecords' method from object collection to promise. | ||
| - Renamed the 'RulesModel' class to 'RuleModel' and removed the 'RulesModel' class. | ||
| #### Bug Fixes | ||
| - Between Operator produces incorrect SQL is fixed. | ||
| - Issue with binding boolean values to radio button is fixed. | ||
| - Introduced new event 'RuleChange' which triggers once the current Rule is different from the older Rule. | ||
| ## 17.1.32-beta (2019-03-13) | ||
| ### QueryBuilder | ||
| #### Breaking Changes | ||
| - The following events are renamed. | ||
| | Existing Event Name| New Event Name | | ||
| |------|-------------| | ||
| |beforeConditionChange|beforeChange| | ||
| |beforeFieldChange|beforeChange| | ||
| |beforeOperatorChange|beforeChange| | ||
| |beforeValueChange|beforeChange| | ||
| |conditionChanged|change| | ||
| |fieldChanged|change| | ||
| |operatorChanged|change| | ||
| |valueChanged|change| | ||
| |groupDelete|change| | ||
| |groupInsert|change| | ||
| |ruleDelete|change| | ||
| |ruleInsert|change| | ||
| #### Bug Fixes | ||
| - Between Operator produces incorrect SQL is fixed. | ||
| ## 16.4.54 (2019-02-19) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - 'Add Group' option is not disabled while setting groupInsert as false is fixed. | ||
| ## 16.4.52 (2019-02-05) | ||
| ### QueryBuilder | ||
| #### New Features | ||
| - Provided `Summary view` support. | ||
| ## 16.4.44 (2018-12-24) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| - Introduced validateFields method for validation. | ||
| ## 16.4.40-beta (2018-12-10) | ||
| ### QueryBuilder | ||
| The Query Builder component is a graphical user interface that allows users to create and edit filters. It outputs a structured JSON of filters which that can be easily parsed to create SQL. It is integrated with Data Manager to communicates with data sources and returns the desired result based on the provided filter. It supports data binding, templates, validation, and horizontal and vertical orientation. | ||
| - **Data binding**: It auto populates the data source and maps the data to the appropriate fields. | ||
| - **Template**: Supports templates and it is applicable for all input components. | ||
| - **Queries**: Queries supports JSON/SQL rules.## 32.1.21 (2025-12-30) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| `#I792871` - Fixed the validation error `popup` positioning issue within a custom scrollable element in QueryBuilder. | ||
| ## 18.2.47 (2020-07-28) | ||
| ### QueryBuilder | ||
| #### Bug Fixes | ||
| `#F156190` - Not able to select value field using 'IN' operator in production mode issue fixed. | ||
| export * from './src/index'; | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbmRleCc7Il19 |
| export { ColumnDirective, ColumnsDirective } from './query-builder/columns.directive'; | ||
| export { QueryBuilderComponent } from './query-builder/querybuilder.component'; | ||
| export { QueryBuilderModule } from './query-builder/querybuilder.module'; | ||
| export { QueryBuilderAllModule, QueryLibraryService } from './query-builder/querybuilder-all.module'; | ||
| export * from '@syncfusion/ej2-querybuilder'; | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGVBQWUsRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBQ25GLE9BQU8sRUFBRSxxQkFBcUIsRUFBQyxNQUFNLHdDQUF3QyxDQUFDO0FBQzlFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBQ3pFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBQ3JHLGNBQWMsOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQge0NvbHVtbkRpcmVjdGl2ZSxDb2x1bW5zRGlyZWN0aXZlfSBmcm9tICcuL3F1ZXJ5LWJ1aWxkZXIvY29sdW1ucy5kaXJlY3RpdmUnO1xuZXhwb3J0IHsgUXVlcnlCdWlsZGVyQ29tcG9uZW50fSBmcm9tICcuL3F1ZXJ5LWJ1aWxkZXIvcXVlcnlidWlsZGVyLmNvbXBvbmVudCc7XG5leHBvcnQgeyBRdWVyeUJ1aWxkZXJNb2R1bGUgfSBmcm9tICcuL3F1ZXJ5LWJ1aWxkZXIvcXVlcnlidWlsZGVyLm1vZHVsZSc7XG5leHBvcnQgeyBRdWVyeUJ1aWxkZXJBbGxNb2R1bGUsIFF1ZXJ5TGlicmFyeVNlcnZpY2UgfSBmcm9tICcuL3F1ZXJ5LWJ1aWxkZXIvcXVlcnlidWlsZGVyLWFsbC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnQHN5bmNmdXNpb24vZWoyLXF1ZXJ5YnVpbGRlcic7Il19 |
| import { __decorate } from "tslib"; | ||
| import { Directive, ContentChildren, ContentChild } from '@angular/core'; | ||
| import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base'; | ||
| import { Template } from '@syncfusion/ej2-angular-base'; | ||
| import * as i0 from "@angular/core"; | ||
| let input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values']; | ||
| let outputs = []; | ||
| /** | ||
| * `e-column` directive represent a column of the Angular QueryBuilder. | ||
| * It must be contained in a QueryBuilder component(`ejs-querybuilder`). | ||
| * ```html | ||
| * <ejs-querybuilder [dataSource]='data'> | ||
| * <e-columns> | ||
| * <e-column field='ID' label='ID' type='number'></e-column> | ||
| * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column> | ||
| * </e-columns> | ||
| * </ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| export class ColumnDirective extends ComplexBase { | ||
| constructor(viewContainerRef) { | ||
| super(); | ||
| this.viewContainerRef = viewContainerRef; | ||
| setValue('currentInstance', this, this.viewContainerRef); | ||
| this.registerEvents(outputs); | ||
| this.directivePropList = input; | ||
| } | ||
| } | ||
| ColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); | ||
| ColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnDirective, selector: "ejs-querybuilder>e-columns>e-column", inputs: { category: "category", columns: "columns", field: "field", format: "format", label: "label", operators: "operators", ruleTemplate: "ruleTemplate", step: "step", template: "template", type: "type", validation: "validation", value: "value", values: "values" }, queries: [{ propertyName: "ruleTemplate", first: true, predicate: ["ruleTemplate"], descendants: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true }], usesInheritance: true, ngImport: i0 }); | ||
| __decorate([ | ||
| Template() | ||
| ], ColumnDirective.prototype, "ruleTemplate", void 0); | ||
| __decorate([ | ||
| Template() | ||
| ], ColumnDirective.prototype, "template", void 0); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, decorators: [{ | ||
| type: Directive, | ||
| args: [{ | ||
| selector: 'ejs-querybuilder>e-columns>e-column', | ||
| inputs: input, | ||
| outputs: outputs, | ||
| queries: {} | ||
| }] | ||
| }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ruleTemplate: [{ | ||
| type: ContentChild, | ||
| args: ['ruleTemplate'] | ||
| }], template: [{ | ||
| type: ContentChild, | ||
| args: ['template'] | ||
| }] } }); | ||
| /** | ||
| * Column Array Directive | ||
| * @private | ||
| */ | ||
| export class ColumnsDirective extends ArrayBase { | ||
| constructor() { | ||
| super('columns'); | ||
| } | ||
| } | ||
| ColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); | ||
| ColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnsDirective, selector: "ejs-querybuilder>e-columns", queries: [{ propertyName: "children", predicate: ColumnDirective }], usesInheritance: true, ngImport: i0 }); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, decorators: [{ | ||
| type: Directive, | ||
| args: [{ | ||
| selector: 'ejs-querybuilder>e-columns', | ||
| queries: { | ||
| children: new ContentChildren(ColumnDirective) | ||
| }, | ||
| }] | ||
| }], ctorParameters: function () { return []; } }); | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1ucy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcXVlcnktYnVpbGRlci9jb2x1bW5zLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBb0IsZUFBZSxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRixPQUFPLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNoRixPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sOEJBQThCLENBQUM7O0FBR3hELElBQUksS0FBSyxHQUF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gc2V0VmFsdWUoJ2N1cnJlbnRJbnN0YW5jZScsIHRoaXMsIHRoaXMudmlld0NvbnRhaW5lclJlZik7XG4gICAgICAgIHRoaXMucmVnaXN0ZXJFdmVudHMob3V0cHV0cyk7XG4gICAgICAgIHRoaXMuZGlyZWN0aXZlUHJvcExpc3QgPSBpbnB1dDtcbiAgICB9XG59XG5cbi8qKlxuICogQ29sdW1uIEFycmF5IERpcmVjdGl2ZVxuICogQHByaXZhdGVcbiAqL1xuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdlanMtcXVlcnlidWlsZGVyPmUtY29sdW1ucycsXG4gICAgcXVlcmllczoge1xuICAgICAgICBjaGlsZHJlbjogbmV3IENvbnRlbnRDaGlsZHJlbihDb2x1bW5EaXJlY3RpdmUpXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgQ29sdW1uc0RpcmVjdGl2ZSBleHRlbmRzIEFycmF5QmFzZTxDb2x1bW5zRGlyZWN0aXZlPiB7XG4gICAgY29uc3RydWN0b3IoKSB7XG4gICAgICAgIHN1cGVyKCdjb2x1bW5zJyk7XG4gICAgfVxufSJdfQ== |
| import { NgModule } from '@angular/core'; | ||
| import { CommonModule } from '@angular/common'; | ||
| import { QueryBuilderModule } from './querybuilder.module'; | ||
| import { QueryLibrary } from '@syncfusion/ej2-querybuilder'; | ||
| import * as i0 from "@angular/core"; | ||
| export const QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary }; | ||
| /** | ||
| * NgModule definition for the QueryBuilder component with providers. | ||
| */ | ||
| export class QueryBuilderAllModule { | ||
| } | ||
| QueryBuilderAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
| QueryBuilderAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, imports: [CommonModule, QueryBuilderModule], exports: [QueryBuilderModule] }); | ||
| QueryBuilderAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, providers: [ | ||
| QueryLibraryService | ||
| ], imports: [[CommonModule, QueryBuilderModule], QueryBuilderModule] }); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, decorators: [{ | ||
| type: NgModule, | ||
| args: [{ | ||
| imports: [CommonModule, QueryBuilderModule], | ||
| exports: [ | ||
| QueryBuilderModule | ||
| ], | ||
| providers: [ | ||
| QueryLibraryService | ||
| ] | ||
| }] | ||
| }] }); | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnlidWlsZGVyLWFsbC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcXVlcnktYnVpbGRlci9xdWVyeWJ1aWxkZXItYWxsLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUN4RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFHL0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDM0QsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLDhCQUE4QixDQUFBOztBQUd6RCxNQUFNLENBQUMsTUFBTSxtQkFBbUIsR0FBa0IsRUFBRSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsUUFBUSxFQUFFLFlBQVksRUFBQyxDQUFDO0FBRWpIOztHQUVHO0FBVUgsTUFBTSxPQUFPLHFCQUFxQjs7a0hBQXJCLHFCQUFxQjttSEFBckIscUJBQXFCLFlB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b2R1bGUgZGVmaW5pdGlvbiBmb3IgdGhlIFF1ZXJ5QnVpbGRlciBjb21wb25lbnQgd2l0aCBwcm92aWRlcnMuXG4gKi9cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgUXVlcnlCdWlsZGVyTW9kdWxlXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIFF1ZXJ5QnVpbGRlck1vZHVsZVxuICAgIF0sXG4gICAgcHJvdmlkZXJzOltcbiAgICAgICAgUXVlcnlMaWJyYXJ5U2VydmljZVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgUXVlcnlCdWlsZGVyQWxsTW9kdWxlIHsgfSJdfQ== |
| import { __decorate } from "tslib"; | ||
| import { Component, ChangeDetectionStrategy, ContentChild } from '@angular/core'; | ||
| import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base'; | ||
| import { QueryBuilder } from '@syncfusion/ej2-querybuilder'; | ||
| import { Template } from '@syncfusion/ej2-angular-base'; | ||
| import { ColumnsDirective } from './columns.directive'; | ||
| import * as i0 from "@angular/core"; | ||
| export const inputs = ['addRuleToNewGroups', 'allowDragAndDrop', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'enableSeparateConnector', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width']; | ||
| export const outputs = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'destroyed', 'ruleChange', 'drag', 'dragStart', 'drop']; | ||
| export const twoWays = ['']; | ||
| /** | ||
| * Represents the EJ2 Angular QueryBuilder Component. | ||
| * ```html | ||
| * <ejs-querybuilder></ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| let QueryBuilderComponent = class QueryBuilderComponent extends QueryBuilder { | ||
| constructor(ngEle, srenderer, viewContainerRef, injector) { | ||
| super(); | ||
| this.ngEle = ngEle; | ||
| this.srenderer = srenderer; | ||
| this.viewContainerRef = viewContainerRef; | ||
| this.injector = injector; | ||
| this.tags = ['columns']; | ||
| this.element = this.ngEle.nativeElement; | ||
| this.injectedModules = this.injectedModules || []; | ||
| try { | ||
| let mod = this.injector.get('QueryBuilderQueryLibrary'); | ||
| if (this.injectedModules.indexOf(mod) === -1) { | ||
| this.injectedModules.push(mod); | ||
| } | ||
| } | ||
| catch { } | ||
| this.registerEvents(outputs); | ||
| this.addTwoWay.call(this, twoWays); | ||
| setValue('currentInstance', this, this.viewContainerRef); | ||
| this.context = new ComponentBase(); | ||
| } | ||
| ngOnInit() { | ||
| this.context.ngOnInit(this); | ||
| } | ||
| ngAfterViewInit() { | ||
| this.context.ngAfterViewInit(this); | ||
| } | ||
| ngOnDestroy() { | ||
| this.context.ngOnDestroy(this); | ||
| } | ||
| ngAfterContentChecked() { | ||
| this.tagObjects[0].instance = this.childColumns; | ||
| this.context.ngAfterContentChecked(this); | ||
| } | ||
| }; | ||
| QueryBuilderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); | ||
| QueryBuilderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: QueryBuilderComponent, selector: "ejs-querybuilder", inputs: { addRuleToNewGroups: "addRuleToNewGroups", allowDragAndDrop: "allowDragAndDrop", allowValidation: "allowValidation", autoSelectField: "autoSelectField", autoSelectOperator: "autoSelectOperator", columns: "columns", cssClass: "cssClass", dataSource: "dataSource", displayMode: "displayMode", enableNotCondition: "enableNotCondition", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableSeparateConnector: "enableSeparateConnector", fieldMode: "fieldMode", fieldModel: "fieldModel", headerTemplate: "headerTemplate", height: "height", immediateModeDelay: "immediateModeDelay", locale: "locale", matchCase: "matchCase", maxGroupCount: "maxGroupCount", operatorModel: "operatorModel", readonly: "readonly", rule: "rule", separator: "separator", showButtons: "showButtons", sortDirection: "sortDirection", summaryView: "summaryView", valueModel: "valueModel", width: "width" }, outputs: { actionBegin: "actionBegin", beforeChange: "beforeChange", change: "change", created: "created", dataBound: "dataBound", destroyed: "destroyed", ruleChange: "ruleChange", drag: "drag", dragStart: "dragStart", drop: "drop" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "childColumns", first: true, predicate: ColumnsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); | ||
| __decorate([ | ||
| Template() | ||
| ], QueryBuilderComponent.prototype, "headerTemplate", void 0); | ||
| QueryBuilderComponent = __decorate([ | ||
| ComponentMixins([ComponentBase]) | ||
| ], QueryBuilderComponent); | ||
| export { QueryBuilderComponent }; | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderComponent, decorators: [{ | ||
| type: Component, | ||
| args: [{ | ||
| selector: 'ejs-querybuilder', | ||
| inputs: inputs, | ||
| outputs: outputs, | ||
| template: '', | ||
| changeDetection: ChangeDetectionStrategy.OnPush, | ||
| queries: { | ||
| childColumns: new ContentChild(ColumnsDirective) | ||
| } | ||
| }] | ||
| }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { headerTemplate: [{ | ||
| type: ContentChild, | ||
| args: ['headerTemplate'] | ||
| }] } }); | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnlidWlsZGVyLmNvbXBvbmVudC5qcyIsInNvdXJj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uICAgIH1cblxuICAgIHB1YmxpYyBuZ0FmdGVyVmlld0luaXQoKTogdm9pZCB7XG4gICAgICAgIHRoaXMuY29udGV4dC5uZ0FmdGVyVmlld0luaXQodGhpcyk7XG4gICAgfVxuXG4gICAgcHVibGljIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgICAgICB0aGlzLmNvbnRleHQubmdPbkRlc3Ryb3kodGhpcyk7XG4gICAgfVxuXG4gICAgcHVibGljIG5nQWZ0ZXJDb250ZW50Q2hlY2tlZCgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy50YWdPYmplY3RzWzBdLmluc3RhbmNlID0gdGhpcy5jaGlsZENvbHVtbnM7XG4gICAgICAgIHRoaXMuY29udGV4dC5uZ0FmdGVyQ29udGVudENoZWNrZWQodGhpcyk7XG4gICAgfVxuXG4gICAgcHVibGljIHJlZ2lzdGVyRXZlbnRzOiAoZXZlbnRMaXN0OiBzdHJpbmdbXSkgPT4gdm9pZDtcbiAgICBwdWJsaWMgYWRkVHdvV2F5OiAocHJvcExpc3Q6IHN0cmluZ1tdKSA9PiB2b2lkO1xufVxuXG4iXX0= |
| import { NgModule } from '@angular/core'; | ||
| import { CommonModule } from '@angular/common'; | ||
| import { ColumnDirective, ColumnsDirective } from './columns.directive'; | ||
| import { QueryBuilderComponent } from './querybuilder.component'; | ||
| import * as i0 from "@angular/core"; | ||
| /** | ||
| * NgModule definition for the QueryBuilder component. | ||
| */ | ||
| export class QueryBuilderModule { | ||
| } | ||
| QueryBuilderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
| QueryBuilderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, declarations: [QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective], imports: [CommonModule], exports: [QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective] }); | ||
| QueryBuilderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, imports: [[CommonModule]] }); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, decorators: [{ | ||
| type: NgModule, | ||
| args: [{ | ||
| imports: [CommonModule], | ||
| declarations: [ | ||
| QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ], | ||
| exports: [ | ||
| QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ] | ||
| }] | ||
| }] }); | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnlidWlsZGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9xdWVyeS1idWlsZGVyL3F1ZXJ5YnVpbGRlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDOztBQUVqRTs7R0FFRztBQWNILE1BQU0sT0FBTyxrQkFBa0I7OytHQUFsQixrQkFBa0I7Z0hBQWxCLGtCQUFrQixpQkFWdkIscUJBQXFCO1FBQ3JCLGVBQWU7UUFDZixnQkFBZ0IsYUFKVixZQUFZLGFBT2xCLHFCQUFxQjtRQUNyQixlQUFlO1FBQ2YsZ0JBQWdCO2dIQU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VxufSlcbmV4cG9ydCBjbGFzcyBRdWVyeUJ1aWxkZXJNb2R1bGUgeyB9Il19 |
| /** | ||
| * Generated bundle index. Do not edit. | ||
| */ | ||
| export * from './public_api'; | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luY2Z1c2lvbi1lajItYW5ndWxhci1xdWVyeWJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zeW5jZnVzaW9uLWVqMi1hbmd1bGFyLXF1ZXJ5YnVpbGRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19 |
| import { __decorate } from 'tslib'; | ||
| import * as i0 from '@angular/core'; | ||
| import { Directive, ContentChild, ContentChildren, Component, ChangeDetectionStrategy, NgModule } from '@angular/core'; | ||
| import { ComplexBase, setValue, Template, ArrayBase, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base'; | ||
| import { QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder'; | ||
| export * from '@syncfusion/ej2-querybuilder'; | ||
| import { CommonModule } from '@angular/common'; | ||
| let input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values']; | ||
| let outputs$1 = []; | ||
| /** | ||
| * `e-column` directive represent a column of the Angular QueryBuilder. | ||
| * It must be contained in a QueryBuilder component(`ejs-querybuilder`). | ||
| * ```html | ||
| * <ejs-querybuilder [dataSource]='data'> | ||
| * <e-columns> | ||
| * <e-column field='ID' label='ID' type='number'></e-column> | ||
| * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column> | ||
| * </e-columns> | ||
| * </ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| class ColumnDirective extends ComplexBase { | ||
| constructor(viewContainerRef) { | ||
| super(); | ||
| this.viewContainerRef = viewContainerRef; | ||
| setValue('currentInstance', this, this.viewContainerRef); | ||
| this.registerEvents(outputs$1); | ||
| this.directivePropList = input; | ||
| } | ||
| } | ||
| ColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); | ||
| ColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnDirective, selector: "ejs-querybuilder>e-columns>e-column", inputs: { category: "category", columns: "columns", field: "field", format: "format", label: "label", operators: "operators", ruleTemplate: "ruleTemplate", step: "step", template: "template", type: "type", validation: "validation", value: "value", values: "values" }, queries: [{ propertyName: "ruleTemplate", first: true, predicate: ["ruleTemplate"], descendants: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true }], usesInheritance: true, ngImport: i0 }); | ||
| __decorate([ | ||
| Template() | ||
| ], ColumnDirective.prototype, "ruleTemplate", void 0); | ||
| __decorate([ | ||
| Template() | ||
| ], ColumnDirective.prototype, "template", void 0); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, decorators: [{ | ||
| type: Directive, | ||
| args: [{ | ||
| selector: 'ejs-querybuilder>e-columns>e-column', | ||
| inputs: input, | ||
| outputs: outputs$1, | ||
| queries: {} | ||
| }] | ||
| }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ruleTemplate: [{ | ||
| type: ContentChild, | ||
| args: ['ruleTemplate'] | ||
| }], template: [{ | ||
| type: ContentChild, | ||
| args: ['template'] | ||
| }] } }); | ||
| /** | ||
| * Column Array Directive | ||
| * @private | ||
| */ | ||
| class ColumnsDirective extends ArrayBase { | ||
| constructor() { | ||
| super('columns'); | ||
| } | ||
| } | ||
| ColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); | ||
| ColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnsDirective, selector: "ejs-querybuilder>e-columns", queries: [{ propertyName: "children", predicate: ColumnDirective }], usesInheritance: true, ngImport: i0 }); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, decorators: [{ | ||
| type: Directive, | ||
| args: [{ | ||
| selector: 'ejs-querybuilder>e-columns', | ||
| queries: { | ||
| children: new ContentChildren(ColumnDirective) | ||
| }, | ||
| }] | ||
| }], ctorParameters: function () { return []; } }); | ||
| const inputs = ['addRuleToNewGroups', 'allowDragAndDrop', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'enableSeparateConnector', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width']; | ||
| const outputs = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'destroyed', 'ruleChange', 'drag', 'dragStart', 'drop']; | ||
| const twoWays = ['']; | ||
| /** | ||
| * Represents the EJ2 Angular QueryBuilder Component. | ||
| * ```html | ||
| * <ejs-querybuilder></ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| let QueryBuilderComponent = class QueryBuilderComponent extends QueryBuilder { | ||
| constructor(ngEle, srenderer, viewContainerRef, injector) { | ||
| super(); | ||
| this.ngEle = ngEle; | ||
| this.srenderer = srenderer; | ||
| this.viewContainerRef = viewContainerRef; | ||
| this.injector = injector; | ||
| this.tags = ['columns']; | ||
| this.element = this.ngEle.nativeElement; | ||
| this.injectedModules = this.injectedModules || []; | ||
| try { | ||
| let mod = this.injector.get('QueryBuilderQueryLibrary'); | ||
| if (this.injectedModules.indexOf(mod) === -1) { | ||
| this.injectedModules.push(mod); | ||
| } | ||
| } | ||
| catch (_a) { } | ||
| this.registerEvents(outputs); | ||
| this.addTwoWay.call(this, twoWays); | ||
| setValue('currentInstance', this, this.viewContainerRef); | ||
| this.context = new ComponentBase(); | ||
| } | ||
| ngOnInit() { | ||
| this.context.ngOnInit(this); | ||
| } | ||
| ngAfterViewInit() { | ||
| this.context.ngAfterViewInit(this); | ||
| } | ||
| ngOnDestroy() { | ||
| this.context.ngOnDestroy(this); | ||
| } | ||
| ngAfterContentChecked() { | ||
| this.tagObjects[0].instance = this.childColumns; | ||
| this.context.ngAfterContentChecked(this); | ||
| } | ||
| }; | ||
| QueryBuilderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); | ||
| QueryBuilderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: QueryBuilderComponent, selector: "ejs-querybuilder", inputs: { addRuleToNewGroups: "addRuleToNewGroups", allowDragAndDrop: "allowDragAndDrop", allowValidation: "allowValidation", autoSelectField: "autoSelectField", autoSelectOperator: "autoSelectOperator", columns: "columns", cssClass: "cssClass", dataSource: "dataSource", displayMode: "displayMode", enableNotCondition: "enableNotCondition", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableSeparateConnector: "enableSeparateConnector", fieldMode: "fieldMode", fieldModel: "fieldModel", headerTemplate: "headerTemplate", height: "height", immediateModeDelay: "immediateModeDelay", locale: "locale", matchCase: "matchCase", maxGroupCount: "maxGroupCount", operatorModel: "operatorModel", readonly: "readonly", rule: "rule", separator: "separator", showButtons: "showButtons", sortDirection: "sortDirection", summaryView: "summaryView", valueModel: "valueModel", width: "width" }, outputs: { actionBegin: "actionBegin", beforeChange: "beforeChange", change: "change", created: "created", dataBound: "dataBound", destroyed: "destroyed", ruleChange: "ruleChange", drag: "drag", dragStart: "dragStart", drop: "drop" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "childColumns", first: true, predicate: ColumnsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); | ||
| __decorate([ | ||
| Template() | ||
| ], QueryBuilderComponent.prototype, "headerTemplate", void 0); | ||
| QueryBuilderComponent = __decorate([ | ||
| ComponentMixins([ComponentBase]) | ||
| ], QueryBuilderComponent); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderComponent, decorators: [{ | ||
| type: Component, | ||
| args: [{ | ||
| selector: 'ejs-querybuilder', | ||
| inputs: inputs, | ||
| outputs: outputs, | ||
| template: '', | ||
| changeDetection: ChangeDetectionStrategy.OnPush, | ||
| queries: { | ||
| childColumns: new ContentChild(ColumnsDirective) | ||
| } | ||
| }] | ||
| }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { headerTemplate: [{ | ||
| type: ContentChild, | ||
| args: ['headerTemplate'] | ||
| }] } }); | ||
| /** | ||
| * NgModule definition for the QueryBuilder component. | ||
| */ | ||
| class QueryBuilderModule { | ||
| } | ||
| QueryBuilderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
| QueryBuilderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, declarations: [QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective], imports: [CommonModule], exports: [QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective] }); | ||
| QueryBuilderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, imports: [[CommonModule]] }); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, decorators: [{ | ||
| type: NgModule, | ||
| args: [{ | ||
| imports: [CommonModule], | ||
| declarations: [ | ||
| QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ], | ||
| exports: [ | ||
| QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ] | ||
| }] | ||
| }] }); | ||
| const QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary }; | ||
| /** | ||
| * NgModule definition for the QueryBuilder component with providers. | ||
| */ | ||
| class QueryBuilderAllModule { | ||
| } | ||
| QueryBuilderAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
| QueryBuilderAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, imports: [CommonModule, QueryBuilderModule], exports: [QueryBuilderModule] }); | ||
| QueryBuilderAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, providers: [ | ||
| QueryLibraryService | ||
| ], imports: [[CommonModule, QueryBuilderModule], QueryBuilderModule] }); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, decorators: [{ | ||
| type: NgModule, | ||
| args: [{ | ||
| imports: [CommonModule, QueryBuilderModule], | ||
| exports: [ | ||
| QueryBuilderModule | ||
| ], | ||
| providers: [ | ||
| QueryLibraryService | ||
| ] | ||
| }] | ||
| }] }); | ||
| /** | ||
| * Generated bundle index. Do not edit. | ||
| */ | ||
| export { ColumnDirective, ColumnsDirective, QueryBuilderAllModule, QueryBuilderComponent, QueryBuilderModule, QueryLibraryService }; | ||
| //# sourceMappingURL=syncfusion-ej2-angular-querybuilder.mjs.map |
| {"version":3,"file":"syncfusion-ej2-angular-querybuilder.mjs","sources":["../../src/query-builder/columns.directive.ts","../../src/query-builder/querybuilder.component.ts","../../src/query-builder/querybuilder.module.ts","../../src/query-builder/querybuilder-all.module.ts","../../syncfusion-ej2-angular-querybuilder.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 input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet 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 */\n@Directive({\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n})\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\n public directivePropList: any;\n\t\n\n\n /** \n * Specifies the types in columns field.\n * @default null\n */\n public type: any;\n /** \n * Specifies the category for columns.\n * @default null\n */\n public category: any;\n /** \n * Specifies the sub fields in columns.\n * @default null\n */\n public columns: any;\n /** \n * Specifies the fields in columns.\n * @default null\n */\n public field: any;\n /** \n * Specifies the date format for columns.\n * @asptype string\n * @blazortype string\n * @default null\n */\n public format: any;\n /** \n * Specifies the labels name in columns.\n * @default null\n */\n public label: any;\n /** \n * Specifies the operators in columns.\n * @default null\n */\n public operators: any;\n /** \n * Specifies the step value(numeric textbox) for columns.\n * @default null\n */\n public step: any;\n /** \n * Specifies the validation for columns (text, number and date).\n * @default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\n public validation: any;\n /** \n * Specifies the default value for columns.\n * @default null\n */\n public value: any;\n /** \n * Specifies the values in columns or bind the values from sub controls.\n * @default null\n */\n public values: any;\n /** \n * Specifies the rule template for the field with any other widgets.\n * @default null\n * @asptype string\n */\n @ContentChild('ruleTemplate')\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 @ContentChild('template')\n @Template()\n public template: any;\n\n constructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\n}\n\n/**\n * Column Array Directive\n * @private\n */\n@Directive({\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n})\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\n constructor() {\n super('columns');\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 inputs: string[] = ['addRuleToNewGroups','allowDragAndDrop','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','enableSeparateConnector','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','destroyed','ruleChange','drag','dragStart','drop'];\nexport const twoWays: string[] = [''];\n\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@Component({\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@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\n\tdestroyed: any;\n\truleChange: any;\n\tdrag: any;\n\tdragStart: any;\n\tpublic drop: any;\n public childColumns: QueryList<ColumnsDirective>;\n public tags: string[] = ['columns'];\n /** \n * Specifies the template for the header with any other widgets.\n * @default null\n * @asptype string\n */\n @ContentChild('headerTemplate')\n @Template()\n public headerTemplate: any;\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private 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\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\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/**\n * NgModule definition for the QueryBuilder component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n})\nexport class QueryBuilderModule { }","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 QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\n\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\n@NgModule({\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n QueryLibraryService\n ]\n})\nexport class QueryBuilderAllModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["outputs"],"mappings":";;;;;;;;AAKA,IAAI,KAAK,GAAa,CAAC,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AACpK,IAAIA,SAAO,GAAa,EAAE,CAAC;AAC3B;;;;;;;;;;;AAWG;AASG,MAAO,eAAgB,SAAQ,WAA4B,CAAA;AA8E7D,IAAA,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QACN,mBAAmB;AACtB,KAAA,EAAA,OAAA,EAAA,CANQ,CAAC,YAAY,EAAE,kBAAkB,CAAC,EAEvC,kBAAkB,CAAA,EAAA,CAAA,CAAA;2FAMb,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBATjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,kBAAkB,CAAC;AAC3C,oBAAA,OAAO,EAAE;wBACL,kBAAkB;AACrB,qBAAA;AACD,oBAAA,SAAS,EAAC;wBACN,mBAAmB;AACtB,qBAAA;iBACJ,CAAA;;;ACrBD;;AAEG;;;;"} |
| import { __decorate } from 'tslib'; | ||
| import * as i0 from '@angular/core'; | ||
| import { Directive, ContentChild, ContentChildren, Component, ChangeDetectionStrategy, NgModule } from '@angular/core'; | ||
| import { ComplexBase, setValue, Template, ArrayBase, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base'; | ||
| import { QueryBuilder, QueryLibrary } from '@syncfusion/ej2-querybuilder'; | ||
| export * from '@syncfusion/ej2-querybuilder'; | ||
| import { CommonModule } from '@angular/common'; | ||
| let input = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values']; | ||
| let outputs$1 = []; | ||
| /** | ||
| * `e-column` directive represent a column of the Angular QueryBuilder. | ||
| * It must be contained in a QueryBuilder component(`ejs-querybuilder`). | ||
| * ```html | ||
| * <ejs-querybuilder [dataSource]='data'> | ||
| * <e-columns> | ||
| * <e-column field='ID' label='ID' type='number'></e-column> | ||
| * <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column> | ||
| * </e-columns> | ||
| * </ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| class ColumnDirective extends ComplexBase { | ||
| constructor(viewContainerRef) { | ||
| super(); | ||
| this.viewContainerRef = viewContainerRef; | ||
| setValue('currentInstance', this, this.viewContainerRef); | ||
| this.registerEvents(outputs$1); | ||
| this.directivePropList = input; | ||
| } | ||
| } | ||
| ColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); | ||
| ColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnDirective, selector: "ejs-querybuilder>e-columns>e-column", inputs: { category: "category", columns: "columns", field: "field", format: "format", label: "label", operators: "operators", ruleTemplate: "ruleTemplate", step: "step", template: "template", type: "type", validation: "validation", value: "value", values: "values" }, queries: [{ propertyName: "ruleTemplate", first: true, predicate: ["ruleTemplate"], descendants: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true }], usesInheritance: true, ngImport: i0 }); | ||
| __decorate([ | ||
| Template() | ||
| ], ColumnDirective.prototype, "ruleTemplate", void 0); | ||
| __decorate([ | ||
| Template() | ||
| ], ColumnDirective.prototype, "template", void 0); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, decorators: [{ | ||
| type: Directive, | ||
| args: [{ | ||
| selector: 'ejs-querybuilder>e-columns>e-column', | ||
| inputs: input, | ||
| outputs: outputs$1, | ||
| queries: {} | ||
| }] | ||
| }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ruleTemplate: [{ | ||
| type: ContentChild, | ||
| args: ['ruleTemplate'] | ||
| }], template: [{ | ||
| type: ContentChild, | ||
| args: ['template'] | ||
| }] } }); | ||
| /** | ||
| * Column Array Directive | ||
| * @private | ||
| */ | ||
| class ColumnsDirective extends ArrayBase { | ||
| constructor() { | ||
| super('columns'); | ||
| } | ||
| } | ||
| ColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); | ||
| ColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnsDirective, selector: "ejs-querybuilder>e-columns", queries: [{ propertyName: "children", predicate: ColumnDirective }], usesInheritance: true, ngImport: i0 }); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, decorators: [{ | ||
| type: Directive, | ||
| args: [{ | ||
| selector: 'ejs-querybuilder>e-columns', | ||
| queries: { | ||
| children: new ContentChildren(ColumnDirective) | ||
| }, | ||
| }] | ||
| }], ctorParameters: function () { return []; } }); | ||
| const inputs = ['addRuleToNewGroups', 'allowDragAndDrop', 'allowValidation', 'autoSelectField', 'autoSelectOperator', 'columns', 'cssClass', 'dataSource', 'displayMode', 'enableNotCondition', 'enablePersistence', 'enableRtl', 'enableSeparateConnector', 'fieldMode', 'fieldModel', 'headerTemplate', 'height', 'immediateModeDelay', 'locale', 'matchCase', 'maxGroupCount', 'operatorModel', 'readonly', 'rule', 'separator', 'showButtons', 'sortDirection', 'summaryView', 'valueModel', 'width']; | ||
| const outputs = ['actionBegin', 'beforeChange', 'change', 'created', 'dataBound', 'destroyed', 'ruleChange', 'drag', 'dragStart', 'drop']; | ||
| const twoWays = ['']; | ||
| /** | ||
| * Represents the EJ2 Angular QueryBuilder Component. | ||
| * ```html | ||
| * <ejs-querybuilder></ejs-querybuilder> | ||
| * ``` | ||
| */ | ||
| let QueryBuilderComponent = class QueryBuilderComponent extends QueryBuilder { | ||
| constructor(ngEle, srenderer, viewContainerRef, injector) { | ||
| super(); | ||
| this.ngEle = ngEle; | ||
| this.srenderer = srenderer; | ||
| this.viewContainerRef = viewContainerRef; | ||
| this.injector = injector; | ||
| this.tags = ['columns']; | ||
| this.element = this.ngEle.nativeElement; | ||
| this.injectedModules = this.injectedModules || []; | ||
| try { | ||
| let mod = this.injector.get('QueryBuilderQueryLibrary'); | ||
| if (this.injectedModules.indexOf(mod) === -1) { | ||
| this.injectedModules.push(mod); | ||
| } | ||
| } | ||
| catch { } | ||
| this.registerEvents(outputs); | ||
| this.addTwoWay.call(this, twoWays); | ||
| setValue('currentInstance', this, this.viewContainerRef); | ||
| this.context = new ComponentBase(); | ||
| } | ||
| ngOnInit() { | ||
| this.context.ngOnInit(this); | ||
| } | ||
| ngAfterViewInit() { | ||
| this.context.ngAfterViewInit(this); | ||
| } | ||
| ngOnDestroy() { | ||
| this.context.ngOnDestroy(this); | ||
| } | ||
| ngAfterContentChecked() { | ||
| this.tagObjects[0].instance = this.childColumns; | ||
| this.context.ngAfterContentChecked(this); | ||
| } | ||
| }; | ||
| QueryBuilderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); | ||
| QueryBuilderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: QueryBuilderComponent, selector: "ejs-querybuilder", inputs: { addRuleToNewGroups: "addRuleToNewGroups", allowDragAndDrop: "allowDragAndDrop", allowValidation: "allowValidation", autoSelectField: "autoSelectField", autoSelectOperator: "autoSelectOperator", columns: "columns", cssClass: "cssClass", dataSource: "dataSource", displayMode: "displayMode", enableNotCondition: "enableNotCondition", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableSeparateConnector: "enableSeparateConnector", fieldMode: "fieldMode", fieldModel: "fieldModel", headerTemplate: "headerTemplate", height: "height", immediateModeDelay: "immediateModeDelay", locale: "locale", matchCase: "matchCase", maxGroupCount: "maxGroupCount", operatorModel: "operatorModel", readonly: "readonly", rule: "rule", separator: "separator", showButtons: "showButtons", sortDirection: "sortDirection", summaryView: "summaryView", valueModel: "valueModel", width: "width" }, outputs: { actionBegin: "actionBegin", beforeChange: "beforeChange", change: "change", created: "created", dataBound: "dataBound", destroyed: "destroyed", ruleChange: "ruleChange", drag: "drag", dragStart: "dragStart", drop: "drop" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "childColumns", first: true, predicate: ColumnsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); | ||
| __decorate([ | ||
| Template() | ||
| ], QueryBuilderComponent.prototype, "headerTemplate", void 0); | ||
| QueryBuilderComponent = __decorate([ | ||
| ComponentMixins([ComponentBase]) | ||
| ], QueryBuilderComponent); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderComponent, decorators: [{ | ||
| type: Component, | ||
| args: [{ | ||
| selector: 'ejs-querybuilder', | ||
| inputs: inputs, | ||
| outputs: outputs, | ||
| template: '', | ||
| changeDetection: ChangeDetectionStrategy.OnPush, | ||
| queries: { | ||
| childColumns: new ContentChild(ColumnsDirective) | ||
| } | ||
| }] | ||
| }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { headerTemplate: [{ | ||
| type: ContentChild, | ||
| args: ['headerTemplate'] | ||
| }] } }); | ||
| /** | ||
| * NgModule definition for the QueryBuilder component. | ||
| */ | ||
| class QueryBuilderModule { | ||
| } | ||
| QueryBuilderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
| QueryBuilderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, declarations: [QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective], imports: [CommonModule], exports: [QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective] }); | ||
| QueryBuilderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, imports: [[CommonModule]] }); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderModule, decorators: [{ | ||
| type: NgModule, | ||
| args: [{ | ||
| imports: [CommonModule], | ||
| declarations: [ | ||
| QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ], | ||
| exports: [ | ||
| QueryBuilderComponent, | ||
| ColumnDirective, | ||
| ColumnsDirective | ||
| ] | ||
| }] | ||
| }] }); | ||
| const QueryLibraryService = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary }; | ||
| /** | ||
| * NgModule definition for the QueryBuilder component with providers. | ||
| */ | ||
| class QueryBuilderAllModule { | ||
| } | ||
| QueryBuilderAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
| QueryBuilderAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, imports: [CommonModule, QueryBuilderModule], exports: [QueryBuilderModule] }); | ||
| QueryBuilderAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, providers: [ | ||
| QueryLibraryService | ||
| ], imports: [[CommonModule, QueryBuilderModule], QueryBuilderModule] }); | ||
| i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: QueryBuilderAllModule, decorators: [{ | ||
| type: NgModule, | ||
| args: [{ | ||
| imports: [CommonModule, QueryBuilderModule], | ||
| exports: [ | ||
| QueryBuilderModule | ||
| ], | ||
| providers: [ | ||
| QueryLibraryService | ||
| ] | ||
| }] | ||
| }] }); | ||
| /** | ||
| * Generated bundle index. Do not edit. | ||
| */ | ||
| export { ColumnDirective, ColumnsDirective, QueryBuilderAllModule, QueryBuilderComponent, QueryBuilderModule, QueryLibraryService }; | ||
| //# sourceMappingURL=syncfusion-ej2-angular-querybuilder.mjs.map |
| {"version":3,"file":"syncfusion-ej2-angular-querybuilder.mjs","sources":["../../src/query-builder/columns.directive.ts","../../src/query-builder/querybuilder.component.ts","../../src/query-builder/querybuilder.module.ts","../../src/query-builder/querybuilder-all.module.ts","../../syncfusion-ej2-angular-querybuilder.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 input: string[] = ['category', 'columns', 'field', 'format', 'label', 'operators', 'ruleTemplate', 'step', 'template', 'type', 'validation', 'value', 'values'];\nlet 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 */\n@Directive({\n selector: 'ejs-querybuilder>e-columns>e-column',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n})\nexport class ColumnDirective extends ComplexBase<ColumnDirective> {\n public directivePropList: any;\n\t\n\n\n /** \n * Specifies the types in columns field.\n * @default null\n */\n public type: any;\n /** \n * Specifies the category for columns.\n * @default null\n */\n public category: any;\n /** \n * Specifies the sub fields in columns.\n * @default null\n */\n public columns: any;\n /** \n * Specifies the fields in columns.\n * @default null\n */\n public field: any;\n /** \n * Specifies the date format for columns.\n * @asptype string\n * @blazortype string\n * @default null\n */\n public format: any;\n /** \n * Specifies the labels name in columns.\n * @default null\n */\n public label: any;\n /** \n * Specifies the operators in columns.\n * @default null\n */\n public operators: any;\n /** \n * Specifies the step value(numeric textbox) for columns.\n * @default null\n */\n public step: any;\n /** \n * Specifies the validation for columns (text, number and date).\n * @default { isRequired: true , min: 0, max: Number.MAX_VALUE }\n */\n public validation: any;\n /** \n * Specifies the default value for columns.\n * @default null\n */\n public value: any;\n /** \n * Specifies the values in columns or bind the values from sub controls.\n * @default null\n */\n public values: any;\n /** \n * Specifies the rule template for the field with any other widgets.\n * @default null\n * @asptype string\n */\n @ContentChild('ruleTemplate')\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 @ContentChild('template')\n @Template()\n public template: any;\n\n constructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\n}\n\n/**\n * Column Array Directive\n * @private\n */\n@Directive({\n selector: 'ejs-querybuilder>e-columns',\n queries: {\n children: new ContentChildren(ColumnDirective)\n },\n})\nexport class ColumnsDirective extends ArrayBase<ColumnsDirective> {\n constructor() {\n super('columns');\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 inputs: string[] = ['addRuleToNewGroups','allowDragAndDrop','allowValidation','autoSelectField','autoSelectOperator','columns','cssClass','dataSource','displayMode','enableNotCondition','enablePersistence','enableRtl','enableSeparateConnector','fieldMode','fieldModel','headerTemplate','height','immediateModeDelay','locale','matchCase','maxGroupCount','operatorModel','readonly','rule','separator','showButtons','sortDirection','summaryView','valueModel','width'];\nexport const outputs: string[] = ['actionBegin','beforeChange','change','created','dataBound','destroyed','ruleChange','drag','dragStart','drop'];\nexport const twoWays: string[] = [''];\n\n/**\n * Represents the EJ2 Angular QueryBuilder Component.\n * ```html\n * <ejs-querybuilder></ejs-querybuilder>\n * ```\n */\n@Component({\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@ComponentMixins([ComponentBase])\nexport class QueryBuilderComponent extends QueryBuilder implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tactionBegin: any;\n\tbeforeChange: any;\n\tchange: any;\n\tcreated: any;\n\tdataBound: any;\n\tdestroyed: any;\n\truleChange: any;\n\tdrag: any;\n\tdragStart: any;\n\tpublic drop: any;\n public childColumns: QueryList<ColumnsDirective>;\n public tags: string[] = ['columns'];\n /** \n * Specifies the template for the header with any other widgets.\n * @default null\n * @asptype string\n */\n @ContentChild('headerTemplate')\n @Template()\n public headerTemplate: any;\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private 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\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childColumns;\n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\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/**\n * NgModule definition for the QueryBuilder component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ],\n exports: [\n QueryBuilderComponent,\n ColumnDirective,\n ColumnsDirective\n ]\n})\nexport class QueryBuilderModule { }","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 QueryLibraryService: ValueProvider = { provide: 'QueryBuilderQueryLibrary', useValue: QueryLibrary};\n\n/**\n * NgModule definition for the QueryBuilder component with providers.\n */\n@NgModule({\n imports: [CommonModule, QueryBuilderModule],\n exports: [\n QueryBuilderModule\n ],\n providers:[\n QueryLibraryService\n ]\n})\nexport class QueryBuilderAllModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["outputs"],"mappings":";;;;;;;;AAKA,IAAI,KAAK,GAAa,CAAC,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AACpK,IAAIA,SAAO,GAAa,EAAE,CAAC;AAC3B;;;;;;;;;;;AAWG;AASG,MAAO,eAAgB,SAAQ,WAA4B,CAAA;AA8E7D,IAAA,WAAA,CAAoB,gBAAiC,EAAA;AACjD,QAAA,KAAK,EAAE,CAAC;QADQ,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAiB;QAEjD,QAAQ,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;AACzD,QAAA,IAAI,CAAC,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;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,kBAAkB,CAAC;AAC3C,oBAAA,OAAO,EAAE;wBACL,kBAAkB;AACrB,qBAAA;AACD,oBAAA,SAAS,EAAC;wBACN,mBAAmB;AACtB,qBAAA;AACJ,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"} |
| /** | ||
| * Generated bundle index. Do not edit. | ||
| */ | ||
| /// <amd-module name="@syncfusion/ej2-angular-querybuilder" /> | ||
| export * from './public_api'; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
155919
10.23%1156
18.93%0
-100%157
-1.26%2
Infinity%141
-4.73%+ Added
- Removed