UNPKG

smart-webcomponents-angular

Version:

[![Price](https://img.shields.io/badge/price-COMMERCIAL-0098f7.svg)](https://jqwidgets.com/license/)

1 lines 41.4 kB
{"version":3,"file":"smart-webcomponents-angular-filterbuilder.mjs","sources":["../../filterbuilder/src/smart.element.ts","../../filterbuilder/src/smart.filterbuilder.ts","../../filterbuilder/src/smart.filterbuilder.module.ts","../../filterbuilder/src/smart-webcomponents-angular-filterbuilder.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n Smart: any;\n}\n}\n\n\nimport { Directive, ElementRef, Input, Output, EventEmitter } from '@angular/core';\nimport { ElementRenderMode } from './../index';\n\n@Directive()\nexport class BaseElement {\n constructor(ref: ElementRef) {\n const that = this;\n this.nativeElement = ref.nativeElement as any;\n\n that.nativeElement.onAttached = () => {\n that.onAttach.emit(that.nativeElement);\n }\n\n that.nativeElement.onDetached = () => {\n that.onDetach.emit(that.nativeElement);\n }\n }\n\n @Output() onCreate: EventEmitter<any> = new EventEmitter();\n @Output() onReady: EventEmitter<any> = new EventEmitter();\n @Output() onAttach: EventEmitter<any> = new EventEmitter();\n @Output() onDetach: EventEmitter<any> = new EventEmitter();\n\n public nativeElement: any;\n\n public addEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n this.nativeElement.addEventListener(type, listener, options);\n\t}\n\n\tpublic removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n\t\tthis.nativeElement.removeEventListener(type, listener, options);\n\t}\n\n\tpublic dispatchEvent(event: Event): boolean {\n\t\treturn this.nativeElement.dispatchEvent(event);\n\t}\n\n\tpublic blur(): void {\n\t\tthis.nativeElement.blur();\n\t}\n\n\tpublic click(): void {\n\t\tthis.nativeElement.click();\n\t}\n\n\tpublic focus(options?: FocusOptions): void {\n\t\tthis.nativeElement.focus(options);\n\t}\n\n/** @description Sets or gets the license. */\n\t@Input()\n\tget license(): string {\n\t\treturn this.nativeElement ? this.nativeElement.license : undefined;\n\t}\n\tset license(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.license = value : undefined;\n\t}\n\t\n/** @description Sets or gets the language. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Callback used to customize the format of the messages that are returned from the Localization Module. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */\n\t@Input()\n\tget rightToLeft(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.rightToLeft : undefined;\n\t}\n\tset rightToLeft(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.rightToLeft = value : undefined;\n\t}\n\n\t/** @description Determines the theme. Theme defines the look of the element */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n}\n\nlet Smart: any;\nif (typeof window !== \"undefined\") {\n\tSmart = window.Smart;\n}\nexport { Smart };\n\n","import { FilterBuilder } from './../index';\nimport { Animation, FilterBuilderIcons, ElementRenderMode} from './../index';\nimport { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, Output, EventEmitter } from '@angular/core';\nimport { BaseElement, Smart } from './smart.element';\nexport { Animation, FilterBuilderIcons, ElementRenderMode} from './../index';\nexport { Smart } from './smart.element';\nexport { FilterBuilder } from './../index';\n\n\n@Directive({\n\texportAs: 'smart-filter-builder',\tselector: 'smart-filter-builder, [smart-filter-builder]'\n})\n\nexport class FilterBuilderComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {\n\tconstructor(ref: ElementRef<FilterBuilder>) {\n\t\tsuper(ref);\n\t\tthis.nativeElement = ref.nativeElement as FilterBuilder;\n\t}\n\n\tprivate eventHandlers: any[] = [];\n\n\tpublic declare nativeElement: FilterBuilder;\n\t/** @description Creates the component on demand.\n\t * @param properties An optional object of properties, which will be added to the template binded ones.\n\t */\n\tpublic createComponent(properties = {}): any {\n \tthis.nativeElement = <FilterBuilder>document.createElement('smart-filter-builder');\n\t\tfor (let propertyName in properties) { \n \t\t\tthis.nativeElement[propertyName] = properties[propertyName];\n\t\t}\n\t\treturn this.nativeElement;\n\t}\n\t/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */\n\t@Input()\n\tget animation(): Animation | string {\n\t\treturn this.nativeElement ? this.nativeElement.animation : undefined;\n\t}\n\tset animation(value: Animation | string) {\n\t\tthis.nativeElement ? this.nativeElement.animation = value : undefined;\n\t}\n\n\t/** @description Adds more operations, that can be used in the filter bilder's conditions structure. */\n\t@Input()\n\tget customOperations(): {name: string, caption: string, icon: string}[] {\n\t\treturn this.nativeElement ? this.nativeElement.customOperations : undefined;\n\t}\n\tset customOperations(value: {name: string, caption: string, icon: string}[]) {\n\t\tthis.nativeElement ? this.nativeElement.customOperations = value : undefined;\n\t}\n\n\t/** @description Enables or disables the context menu. */\n\t@Input()\n\tget disableContextMenu(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.disableContextMenu : undefined;\n\t}\n\tset disableContextMenu(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.disableContextMenu = value : undefined;\n\t}\n\n\t/** @description Enables or disables the element. */\n\t@Input()\n\tget disabled(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.disabled : undefined;\n\t}\n\tset disabled(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.disabled = value : undefined;\n\t}\n\n\t/** @description Array with filtered fields and their settings. */\n\t@Input()\n\tget fields(): any {\n\t\treturn this.nativeElement ? this.nativeElement.fields : undefined;\n\t}\n\tset fields(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.fields = value : undefined;\n\t}\n\n\t/** @description Sets or gets the format string of the editor of fields with type 'date'. */\n\t@Input()\n\tget formatStringDate(): string {\n\t\treturn this.nativeElement ? this.nativeElement.formatStringDate : undefined;\n\t}\n\tset formatStringDate(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.formatStringDate = value : undefined;\n\t}\n\n\t/** @description Sets or gets the format string of the editor of fields with type 'datetime'. */\n\t@Input()\n\tget formatStringDateTime(): string {\n\t\treturn this.nativeElement ? this.nativeElement.formatStringDateTime : undefined;\n\t}\n\tset formatStringDateTime(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.formatStringDateTime = value : undefined;\n\t}\n\n\t/** @description Sets hint in form of popup message. */\n\t@Input()\n\tget hint(): string {\n\t\treturn this.nativeElement ? this.nativeElement.hint : undefined;\n\t}\n\tset hint(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.hint = value : undefined;\n\t}\n\n\t/** @description Defines icon's representatino as characters. */\n\t@Input()\n\tget icons(): FilterBuilderIcons {\n\t\treturn this.nativeElement ? this.nativeElement.icons : undefined;\n\t}\n\tset icons(value: FilterBuilderIcons) {\n\t\tthis.nativeElement ? this.nativeElement.icons = value : undefined;\n\t}\n\n\t/** @description Sets or gets the license which unlocks the product. */\n\t@Input()\n\tget license(): string {\n\t\treturn this.nativeElement ? this.nativeElement.license : undefined;\n\t}\n\tset license(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.license = value : undefined;\n\t}\n\n\t/** @description Sets or gets the language. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Callback, related to localization module. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Defines maximum number of allowed conditions in the element. */\n\t@Input()\n\tget maxConditions(): number | null {\n\t\treturn this.nativeElement ? this.nativeElement.maxConditions : undefined;\n\t}\n\tset maxConditions(value: number | null) {\n\t\tthis.nativeElement ? this.nativeElement.maxConditions = value : undefined;\n\t}\n\n\t/** @description Defines maximum number of allowed conditions in group. */\n\t@Input()\n\tget maxConditionsPerGroup(): number | null {\n\t\treturn this.nativeElement ? this.nativeElement.maxConditionsPerGroup : undefined;\n\t}\n\tset maxConditionsPerGroup(value: number | null) {\n\t\tthis.nativeElement ? this.nativeElement.maxConditionsPerGroup = value : undefined;\n\t}\n\n\t/** @description Defines maximum level of grouping in the FilterBuilder. */\n\t@Input()\n\tget maxLevel(): number | null {\n\t\treturn this.nativeElement ? this.nativeElement.maxLevel : undefined;\n\t}\n\tset maxLevel(value: number | null) {\n\t\tthis.nativeElement ? this.nativeElement.maxLevel = value : undefined;\n\t}\n\n\t/** @description Defines field names of the filtered element. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description If the element is readonly, users cannot interact with it. */\n\t@Input()\n\tget readonly(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.readonly : undefined;\n\t}\n\tset readonly(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.readonly = value : undefined;\n\t}\n\n\t/** @description In restrictedMode set to true, adding of new groups and groups editing by user interaction are denied. */\n\t@Input()\n\tget restrictedMode(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.restrictedMode : undefined;\n\t}\n\tset restrictedMode(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.restrictedMode = value : undefined;\n\t}\n\n\t/** @description Enables or disables the display of the icons. */\n\t@Input()\n\tget showIcons(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.showIcons : undefined;\n\t}\n\tset showIcons(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.showIcons = value : undefined;\n\t}\n\n\t/** @description Determines the theme. Theme defines the look of the element */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n\n\t/** @description If is set to true, the element cannot be focused. */\n\t@Input()\n\tget unfocusable(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.unfocusable : undefined;\n\t}\n\tset unfocusable(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.unfocusable = value : undefined;\n\t}\n\n\t/** @description The value is represented by multidimensional array. The array contains group operators and conditions. Each group can contain nested structures at multiple levels. */\n\t@Input()\n\tget value(): string[] {\n\t\treturn this.nativeElement ? this.nativeElement.value : undefined;\n\t}\n\tset value(value: string[]) {\n\t\tthis.nativeElement ? this.nativeElement.value = value : undefined;\n\t}\n\n\t/** @description Callback used to format the content of the value fields. */\n\t@Input()\n\tget valueFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.valueFormatFunction : undefined;\n\t}\n\tset valueFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.valueFormatFunction = value : undefined;\n\t}\n\n\t/** @description Sets the placeholder text used in the condition's value box in case the value is not set. */\n\t@Input()\n\tget valuePlaceholder(): string {\n\t\treturn this.nativeElement ? this.nativeElement.valuePlaceholder : undefined;\n\t}\n\tset valuePlaceholder(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.valuePlaceholder = value : undefined;\n\t}\n\n\t/** @description This event is triggered when the element's value is changed.\n\t* @param event. The custom event. \t*/\n\t@Output() onChange: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when an editor is closed.\n\t* @param event. The custom event. \t*/\n\t@Output() onEditorClose: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when an editor starts to close.\n\t* @param event. The custom event. \t*/\n\t@Output() onEditorClosing: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when an editor is opened.\n\t* @param event. The custom event. \t*/\n\t@Output() onEditorOpen: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when an editor starts to open.\n\t* @param event. The custom event. \t*/\n\t@Output() onEditorOpening: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when some of the filterbuilder's building blocks is clicked.\n\t* @param event. The custom event. \t*/\n\t@Output() onItemClick: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the built-in menu is opened. If the disableContextMenu property is set to true this event is not fired.\n\t* @param event. The custom event. \t*/\n\t@Output() onOpen: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the built-in menu starts to open. If the disableContextMenu property is set to true this event is not fired.\n\t* @param event. The custom event. \t*/\n\t@Output() onOpening: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the built-in menu is closed. If the disableContextMenu property is set to true this event is not fired.\n\t* @param event. The custom event. \t*/\n\t@Output() onClose: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the built-in menu starts to close. If the disableContextMenu property is set to true this event is not fired.\n\t* @param event. The custom event. \t*/\n\t@Output() onClosing: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description Adds new condition in particular group. \n\t* @param {string | HTMLElement} parentGroup. A string, representing the id of the item or an HTML Element referencing this condition.\n\t* @param {any[]} data. An array, representing condition. Condition's element's role is related to their position in the condition's array. At index 0 - field name, index 1 - condition's opertor, index 2 - condition's value.\n\t*/\n public addCondition(parentGroup: string | HTMLElement, data: any[]): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.addCondition(parentGroup, data);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.addCondition(parentGroup, data);\n });\n }\n }\n\n\t/** @description Adds new group in particular parent group. \n\t* @param {string | HTMLElement} parentGroup. A string, representing the id of the item or an HTML Element referencing this group.\n\t* @param {string} data. A string, representing the group operator.\n\t*/\n public addGroup(parentGroup: string | HTMLElement, data: string): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.addGroup(parentGroup, data);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.addGroup(parentGroup, data);\n });\n }\n }\n\n\t/** @description Removes condition. \n\t* @param {string | HTMLElement} item. A string, representing the id of the item or an HTML Element referencing this condition.\n\t*/\n public removeCondition(item: string | HTMLElement): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.removeCondition(item);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.removeCondition(item);\n });\n }\n }\n\n\t/** @description Deletes group and all of it's children \n\t* @param {string | HTMLElement} item. A string, representing the id of the item or an HTML Element referencing this group.\n\t*/\n public removeGroup(item: string | HTMLElement): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.removeGroup(item);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.removeGroup(item);\n });\n }\n }\n\n\t/** @description Returns a string representation of the filter builder's value. \n\t* @param {boolean} useLabels?. Controls the way of string representation. In mode without labels the value object is stringified only.\n\t* @returns {string}\n */\n\tpublic async toString(useLabels?): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.toString(useLabels);\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\t/** @description Updates condition. \n\t* @param {string | HTMLElement} item. A string, representing the id of the item or an HTML Element referencing targeted condition.\n\t* @param {any[]} data. An array, representing condition. Condition's element's role is related to their position in the condition's array. At index 0 - field name, index 1 - condition's opertor, index 2 - condition's value.\n\t*/\n public updateCondition(item: string | HTMLElement, data: any[]): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.updateCondition(item, data);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.updateCondition(item, data);\n });\n }\n }\n\n\t/** @description Updates group \n\t* @param {string | HTMLElement} item. A string, representing the id of the item or an HTML Element referencing this group.\n\t* @param {string} data. A string, representing the group operator.\n\t*/\n public updateGroup(item: string | HTMLElement, data: string): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.updateGroup(item, data);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.updateGroup(item, data);\n });\n }\n }\n\n\n\tget isRendered(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.isRendered : false;\n\t}\n\n\tngOnInit() {\n\t}\n\n ngAfterViewInit() {\n const that = this;\n\n that.onCreate.emit(that.nativeElement);\n\n\t\tif (Smart) Smart.Render();\n\n\t\tthis.nativeElement.classList.add('smart-angular');\n\n\t\tif (this.nativeElement.whenRendered) this.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });\n\t\tthis.listen();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.unlisten();\n\t}\n\n\tngOnChanges(changes: SimpleChanges) {\n\t\tif (this.nativeElement && this.nativeElement.isRendered) {\n\t\t\tfor (const propName in changes) {\n\t\t\t\tif (changes.hasOwnProperty(propName)) {\n\t\t\t\t\tthis.nativeElement[propName] = changes[propName].currentValue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/** @description Add event listeners. */\n\tprivate listen(): void {\n const that = this;\n\t\tthat.eventHandlers['changeHandler'] = (event: CustomEvent) => { that.onChange.emit(event); }\n\t\tthat.nativeElement.addEventListener('change', that.eventHandlers['changeHandler']);\n\n\t\tthat.eventHandlers['editorCloseHandler'] = (event: CustomEvent) => { that.onEditorClose.emit(event); }\n\t\tthat.nativeElement.addEventListener('editorClose', that.eventHandlers['editorCloseHandler']);\n\n\t\tthat.eventHandlers['editorClosingHandler'] = (event: CustomEvent) => { that.onEditorClosing.emit(event); }\n\t\tthat.nativeElement.addEventListener('editorClosing', that.eventHandlers['editorClosingHandler']);\n\n\t\tthat.eventHandlers['editorOpenHandler'] = (event: CustomEvent) => { that.onEditorOpen.emit(event); }\n\t\tthat.nativeElement.addEventListener('editorOpen', that.eventHandlers['editorOpenHandler']);\n\n\t\tthat.eventHandlers['editorOpeningHandler'] = (event: CustomEvent) => { that.onEditorOpening.emit(event); }\n\t\tthat.nativeElement.addEventListener('editorOpening', that.eventHandlers['editorOpeningHandler']);\n\n\t\tthat.eventHandlers['itemClickHandler'] = (event: CustomEvent) => { that.onItemClick.emit(event); }\n\t\tthat.nativeElement.addEventListener('itemClick', that.eventHandlers['itemClickHandler']);\n\n\t\tthat.eventHandlers['openHandler'] = (event: CustomEvent) => { that.onOpen.emit(event); }\n\t\tthat.nativeElement.addEventListener('open', that.eventHandlers['openHandler']);\n\n\t\tthat.eventHandlers['openingHandler'] = (event: CustomEvent) => { that.onOpening.emit(event); }\n\t\tthat.nativeElement.addEventListener('opening', that.eventHandlers['openingHandler']);\n\n\t\tthat.eventHandlers['closeHandler'] = (event: CustomEvent) => { that.onClose.emit(event); }\n\t\tthat.nativeElement.addEventListener('close', that.eventHandlers['closeHandler']);\n\n\t\tthat.eventHandlers['closingHandler'] = (event: CustomEvent) => { that.onClosing.emit(event); }\n\t\tthat.nativeElement.addEventListener('closing', that.eventHandlers['closingHandler']);\n\n\t}\n\n\t/** @description Remove event listeners. */\n\tprivate unlisten(): void {\n const that = this;\n\t\tif (that.eventHandlers['changeHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('change', that.eventHandlers['changeHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['editorCloseHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('editorClose', that.eventHandlers['editorCloseHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['editorClosingHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('editorClosing', that.eventHandlers['editorClosingHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['editorOpenHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('editorOpen', that.eventHandlers['editorOpenHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['editorOpeningHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('editorOpening', that.eventHandlers['editorOpeningHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['itemClickHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('itemClick', that.eventHandlers['itemClickHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['openHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('open', that.eventHandlers['openHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['openingHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('opening', that.eventHandlers['openingHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['closeHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('close', that.eventHandlers['closeHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['closingHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('closing', that.eventHandlers['closingHandler']);\n\t\t}\n\n\t}\n}\n","import { NgModule } from '@angular/core';\n\nimport { FilterBuilderComponent } from './smart.filterbuilder';\nimport { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n@NgModule({\n declarations: [FilterBuilderComponent],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n\texports: [FilterBuilderComponent]\n})\n\nexport class FilterBuilderModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAYa,WAAW;IACpB,YAAY,GAAe;QAajB,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,YAAO,GAAsB,IAAI,YAAY,EAAE,CAAC;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