-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsmart-webcomponents-angular-cardview.js.map
1 lines (1 loc) · 40.3 KB
/
smart-webcomponents-angular-cardview.js.map
1
{"version":3,"file":"smart-webcomponents-angular-cardview.js","sources":["ng://smart-webcomponents-angular/cardview/smart.element.ts","ng://smart-webcomponents-angular/cardview/smart.cardview.ts","ng://smart-webcomponents-angular/cardview/smart.cardview.module.ts","ng://smart-webcomponents-angular/cardview/smart-webcomponents-angular-cardview.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n Smart: any;\n}\n}\n\n\nimport { ElementRef, Input, Output, EventEmitter } from '@angular/core';\nimport { ElementRenderMode } from './../index';\n\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 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\nexport const Smart: any = window.Smart;\n\n","import { CardView } from './../index';\nimport { Animation, Orientation, CardViewColumnDataType, CardViewCoverMode, DataSourceSettingsSanitizeHTML, DataSourceSettingsDataFieldDataType, DataSourceSettingsDataSourceType, CardViewHeaderPosition, Scrolling, CardViewColumn, DataSourceSettings, DataSourceSettingsDataField, ElementRenderMode} from './../index';\nimport { DataAdapter } 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, Orientation, CardViewColumnDataType, CardViewCoverMode, DataSourceSettingsSanitizeHTML, DataSourceSettingsDataFieldDataType, DataSourceSettingsDataSourceType, CardViewHeaderPosition, Scrolling, CardViewColumn, DataSourceSettings, DataSourceSettingsDataField, ElementRenderMode} from './../index';\nexport { Smart } from './smart.element';\nexport { CardView } from './../index';\nexport { DataAdapter } from './../index';\n\n\n@Directive({\n\texportAs: 'smart-card-view',\tselector: 'smart-card-view, [smart-card-view]'\n})\n\nexport class CardViewComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {\n\tconstructor(ref: ElementRef<CardView>) {\n\t\tsuper(ref);\n\t\tthis.nativeElement = ref.nativeElement as CardView;\n\t}\n\n\tprivate eventHandlers: any[] = [];\n\n\tpublic nativeElement: CardView;\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 = <CardView>document.createElement('smart-card-view');\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 Toggles the button for adding new cards. */\n\t@Input()\n\tget addNewButton(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.addNewButton : undefined;\n\t}\n\tset addNewButton(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.addNewButton = value : undefined;\n\t}\n\n\t/** @description Allows reordering by dragging cards. */\n\t@Input()\n\tget allowDrag(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.allowDrag : undefined;\n\t}\n\tset allowDrag(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.allowDrag = value : undefined;\n\t}\n\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 Describes the height for each card. */\n\t@Input()\n\tget cardHeight(): number | null {\n\t\treturn this.nativeElement ? this.nativeElement.cardHeight : undefined;\n\t}\n\tset cardHeight(value: number | null) {\n\t\tthis.nativeElement ? this.nativeElement.cardHeight = value : undefined;\n\t}\n\n\t/** @description Describes the orientation of the card cells. */\n\t@Input()\n\tget cellOrientation(): Orientation | string {\n\t\treturn this.nativeElement ? this.nativeElement.cellOrientation : undefined;\n\t}\n\tset cellOrientation(value: Orientation | string) {\n\t\tthis.nativeElement ? this.nativeElement.cellOrientation = value : undefined;\n\t}\n\n\t/** @description Allows collapsing the card content. */\n\t@Input()\n\tget collapsible(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.collapsible : undefined;\n\t}\n\tset collapsible(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.collapsible = value : undefined;\n\t}\n\n\t/** @description Describes the columns properties:label - Sets the column namedataField - Sets the dataField nameicon - Sets the icon for the columnformatSettings - Sets the settings about the format for the current columnformatFunction - Function for customizing the value */\n\t@Input()\n\tget columns(): CardViewColumn[] {\n\t\treturn this.nativeElement ? this.nativeElement.columns : undefined;\n\t}\n\tset columns(value: CardViewColumn[]) {\n\t\tthis.nativeElement ? this.nativeElement.columns = value : undefined;\n\t}\n\n\t/** @description Describes which data field to be set as cover. */\n\t@Input()\n\tget coverField(): string {\n\t\treturn this.nativeElement ? this.nativeElement.coverField : undefined;\n\t}\n\tset coverField(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.coverField = value : undefined;\n\t}\n\n\t/** @description Describes the cover image fit property. */\n\t@Input()\n\tget coverMode(): CardViewCoverMode | string {\n\t\treturn this.nativeElement ? this.nativeElement.coverMode : undefined;\n\t}\n\tset coverMode(value: CardViewCoverMode | string) {\n\t\tthis.nativeElement ? this.nativeElement.coverMode = value : undefined;\n\t}\n\n\t/** @description Determines the data source for the item that will be displayed inside the card. */\n\t@Input()\n\tget dataSource(): any {\n\t\treturn this.nativeElement ? this.nativeElement.dataSource : undefined;\n\t}\n\tset dataSource(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.dataSource = value : undefined;\n\t}\n\n\t/** @description Sets the grid's data source settings when the dataSource property is set to an Array or URL. */\n\t@Input()\n\tget dataSourceSettings(): DataSourceSettings {\n\t\treturn this.nativeElement ? this.nativeElement.dataSourceSettings : undefined;\n\t}\n\tset dataSourceSettings(value: DataSourceSettings) {\n\t\tthis.nativeElement ? this.nativeElement.dataSourceSettings = value : undefined;\n\t}\n\n\t/** @description Allows the edit option for the cards. */\n\t@Input()\n\tget editable(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.editable : undefined;\n\t}\n\tset editable(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.editable = value : undefined;\n\t}\n\n\t/** @description Sets or gets the header position. The header contains the Customize, Filter, Sort, and Search buttons. */\n\t@Input()\n\tget headerPosition(): CardViewHeaderPosition | string {\n\t\treturn this.nativeElement ? this.nativeElement.headerPosition : undefined;\n\t}\n\tset headerPosition(value: CardViewHeaderPosition | string) {\n\t\tthis.nativeElement ? this.nativeElement.headerPosition = value : undefined;\n\t}\n\n\t/** @description Sets or gets the locale. 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 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\t/** @description Describes the scrolling behavior of the element. */\n\t@Input()\n\tget scrolling(): Scrolling | string {\n\t\treturn this.nativeElement ? this.nativeElement.scrolling : undefined;\n\t}\n\tset scrolling(value: Scrolling | string) {\n\t\tthis.nativeElement ? this.nativeElement.scrolling = value : undefined;\n\t}\n\n\t/** @description Describes which data field to be set as title. */\n\t@Input()\n\tget titleField(): string {\n\t\treturn this.nativeElement ? this.nativeElement.titleField : undefined;\n\t}\n\tset titleField(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.titleField = value : undefined;\n\t}\n\n\t/** @description This event is triggered when a filter has been applied.\n\t* @param event. The custom event. \t*/\n\t@Output() onFilter: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when sorting has been applied.\n\t* @param event. The custom event. \t*/\n\t@Output() onSort: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the window is opened.\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 window is about to be opened. The opening operation can be canceled by calling event.preventDefault() in the event handler function.\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 window is closed.\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 window is about to be closed. The closing operation can be canceled by calling event.preventDefault() in the event handler function.\n\t* @param event. The custom event. \t*/\n\t@Output() onClosing: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the user starts dragging the card.\n\t* @param event. The custom event. \t*/\n\t@Output() onDragStart: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the user is dragging the card.\n\t* @param event. The custom event. \t*/\n\t@Output() onDragging: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the user dragged the card.\n\t* @param event. The custom event. \t*/\n\t@Output() onDragEnd: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description Adds filtering \n\t* @param {string[]} filters. Filter information\n\t* @param {string} operator?. Logical operator between the filters of different fields\n\t*/\n public addFilter(filters: string[], operator?: string): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.addFilter(filters, operator);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.addFilter(filters, operator);\n });\n }\n }\n\n\t/** @description Adds a new record \n\t* @param {number | string} recordId?. The id of the record to add\n\t* @param {any} data?. The data of the record to add\n\t* @param {string} position?. The position to add the record to. Possible values: 'first' and 'last'.\n\t*/\n public addRecord(recordId?: number | string, data?: any, position?: string): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.addRecord(recordId, data, position);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.addRecord(recordId, data, position);\n });\n }\n }\n\n\t/** @description Adds sorting \n\t* @param {[] | string} dataFields. The data field(s) to sort by\n\t* @param {[] | string} orderBy. The sort direction(s) to sort the data field(s) by\n\t*/\n public addSort(dataFields: [] | string, orderBy: [] | string): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.addSort(dataFields, orderBy);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.addSort(dataFields, orderBy);\n });\n }\n }\n\n\t/** @description Begins an edit operation \n\t* @param {number | string} recordId. The id of the record to edit\n\t*/\n public beginEdit(recordId: number | string): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.beginEdit(recordId);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.beginEdit(recordId);\n });\n }\n }\n\n\t/** @description Ends the current edit operation and discards changes \n\t*/\n public cancelEdit(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.cancelEdit();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.cancelEdit();\n });\n }\n }\n\n\t/** @description Closes any open header panel (drop down) \n\t*/\n public closePanel(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.closePanel();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.closePanel();\n });\n }\n }\n\n\t/** @description Ends the current edit operation and saves changes \n\t*/\n public endEdit(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.endEdit();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.endEdit();\n });\n }\n }\n\n\t/** @description Makes sure a record is visible by scrolling to it. If succcessful, the method returns the HTML element of the record's card. \n\t* @param {number | string} recordId. The id of the record to scroll to\n\t* @returns {HTMLElement}\n */\n\tpublic async ensureVisible(recordId): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.ensureVisible(recordId);\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\t/** @description Opens the \"Customize cards\" header panel (drop down) \n\t*/\n public openCustomizePanel(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.openCustomizePanel();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.openCustomizePanel();\n });\n }\n }\n\n\t/** @description Opens the \"Filter\" header panel (drop down) \n\t*/\n public openFilterPanel(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.openFilterPanel();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.openFilterPanel();\n });\n }\n }\n\n\t/** @description Opens the \"Sort\" header panel (drop down) \n\t*/\n public openSortPanel(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.openSortPanel();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.openSortPanel();\n });\n }\n }\n\n\t/** @description Removes filtering \n\t*/\n public removeFilter(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.removeFilter();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.removeFilter();\n });\n }\n }\n\n\t/** @description Removes a record \n\t* @param {number | string} recordId. The id of the record to remove\n\t*/\n public removeRecord(recordId: number | string): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.removeRecord(recordId);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.removeRecord(recordId);\n });\n }\n }\n\n\t/** @description Removes sorting \n\t*/\n public removeSort(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.removeSort();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.removeSort();\n });\n }\n }\n\n\t/** @description Shows a column \n\t* @param {string} dataField. The data field of the column\n\t*/\n public showColumn(dataField: string): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.showColumn(dataField);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.showColumn(dataField);\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\tSmart.Render();\n\n\t\tthis.nativeElement.classList.add('smart-angular');\n\n\t\tthis.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['filterHandler'] = (event: CustomEvent) => { that.onFilter.emit(event); }\n\t\tthat.nativeElement.addEventListener('filter', that.eventHandlers['filterHandler']);\n\n\t\tthat.eventHandlers['sortHandler'] = (event: CustomEvent) => { that.onSort.emit(event); }\n\t\tthat.nativeElement.addEventListener('sort', that.eventHandlers['sortHandler']);\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\tthat.eventHandlers['dragStartHandler'] = (event: CustomEvent) => { that.onDragStart.emit(event); }\n\t\tthat.nativeElement.addEventListener('dragStart', that.eventHandlers['dragStartHandler']);\n\n\t\tthat.eventHandlers['draggingHandler'] = (event: CustomEvent) => { that.onDragging.emit(event); }\n\t\tthat.nativeElement.addEventListener('dragging', that.eventHandlers['draggingHandler']);\n\n\t\tthat.eventHandlers['dragEndHandler'] = (event: CustomEvent) => { that.onDragEnd.emit(event); }\n\t\tthat.nativeElement.addEventListener('dragEnd', that.eventHandlers['dragEndHandler']);\n\n\t}\n\n\t/** @description Remove event listeners. */\n\tprivate unlisten(): void {\n const that = this;\n\t\tif (that.eventHandlers['filterHandler']) {\n\t\t\tthat.nativeElement.onfilterHandler = null;\n\t\t}\n\n\t\tif (that.eventHandlers['sortHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('sort', that.eventHandlers['sortHandler']);\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\tif (that.eventHandlers['dragStartHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('dragStart', that.eventHandlers['dragStartHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['draggingHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('dragging', that.eventHandlers['draggingHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['dragEndHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('dragEnd', that.eventHandlers['dragEndHandler']);\n\t\t}\n\n\t}\n}\n","import { NgModule } from '@angular/core';\n\nimport { CardViewComponent } from './smart.cardview';\nimport { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n@NgModule({\n declarations: [CardViewComponent],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n\texports: [CardViewComponent]\n})\n\nexport class CardViewModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n\nexport {BaseElement as ɵa} from './smart.element';"],"names":["tslib_1.__decorate"],"mappings":";;;MAWa,WAAW;IACpB,YAAY,GAAe;QAajB,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,YAAO,GAAsB,IAAI,YAAY,EAAE,CAAC;QAChD,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QAfvD,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,aAAa,GAAG,GAAG,CAAC,aAAo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