-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsmart-webcomponents-angular-maskedtextbox.js.map
1 lines (1 loc) · 39.7 KB
/
smart-webcomponents-angular-maskedtextbox.js.map
1
{"version":3,"file":"smart-webcomponents-angular-maskedtextbox.js","sources":["ng://smart-webcomponents-angular/maskedtextbox/smart.element.ts","ng://smart-webcomponents-angular/maskedtextbox/smart.maskedtextbox.ts","ng://smart-webcomponents-angular/maskedtextbox/smart.maskedtextbox.module.ts","ng://smart-webcomponents-angular/maskedtextbox/smart-webcomponents-angular-maskedtextbox.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 { MaskedTextBox } from './../index';\nimport { Animation, MaskedTextBoxCutCopyMaskFormat, EnterKeyBehavior, MaskedTextBoxTextMaskFormat, ElementRenderMode} from './../index';\nimport { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, forwardRef, ChangeDetectionStrategy, Output, EventEmitter } from '@angular/core';\nimport { BaseElement, Smart } from './smart.element';\nexport { Animation, MaskedTextBoxCutCopyMaskFormat, EnterKeyBehavior, MaskedTextBoxTextMaskFormat, ElementRenderMode} from './../index';\nexport { Smart } from './smart.element';\nexport { MaskedTextBox } from './../index';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n\n\n\nconst CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MaskedTextBoxComponent),\n multi: true\n}\n\n@Directive({\n\texportAs: 'smart-masked-text-box',\tselector: 'smart-masked-text-box, [smart-masked-text-box]',\n\tproviders: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR]\n\n})\n\nexport class MaskedTextBoxComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges, ControlValueAccessor {\n\tconstructor(ref: ElementRef<MaskedTextBox>) {\n\t\tsuper(ref);\n\t\tthis.nativeElement = ref.nativeElement as MaskedTextBox;\n\t}\n\n\tprivate eventHandlers: any[] = [];\n\n\tpublic nativeElement: MaskedTextBox;\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 = <MaskedTextBox>document.createElement('smart-masked-text-box');\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 /**\n * @description\n * The registered callback function called when a change event occurs on the form elements.\n */\n _onChange: (value: any) => void = () => {};\n /**\n * @description\n * The registered callback function called when a blur event occurs on the form elements.\n */\n _onTouched: () => any = () => {};\n\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 Determines whether promptChar can be entered as valid input by the user. */\n\t@Input()\n\tget allowPromptAsInput(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.allowPromptAsInput : undefined;\n\t}\n\tset allowPromptAsInput(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.allowPromptAsInput = value : undefined;\n\t}\n\n\t/** @description Determines whether the input accepts characters only from the ASCII character set. */\n\t@Input()\n\tget asciiOnly(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.asciiOnly : undefined;\n\t}\n\tset asciiOnly(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.asciiOnly = value : undefined;\n\t}\n\n\t/** @description Specifies whether the input should be focused when the page is loaded. */\n\t@Input()\n\tget autoFocus(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.autoFocus : undefined;\n\t}\n\tset autoFocus(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.autoFocus = value : undefined;\n\t}\n\n\t/** @description Determines whether the mask is shown/hidden on focus/blur even if placeholder is not set. */\n\t@Input()\n\tget autoShowMask(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.autoShowMask : undefined;\n\t}\n\tset autoShowMask(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.autoShowMask = value : undefined;\n\t}\n\n\t/** @description Determines whether literals and prompt characters are copied to the clipboard on cut/copy operations. */\n\t@Input()\n\tget cutCopyMaskFormat(): MaskedTextBoxCutCopyMaskFormat | string {\n\t\treturn this.nativeElement ? this.nativeElement.cutCopyMaskFormat : undefined;\n\t}\n\tset cutCopyMaskFormat(value: MaskedTextBoxCutCopyMaskFormat | string) {\n\t\tthis.nativeElement ? this.nativeElement.cutCopyMaskFormat = 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 Specifies the behavior on \"Enter\" key press. Default mode is \"submit\". */\n\t@Input()\n\tget enterKeyBehavior(): EnterKeyBehavior | string {\n\t\treturn this.nativeElement ? this.nativeElement.enterKeyBehavior : undefined;\n\t}\n\tset enterKeyBehavior(value: EnterKeyBehavior | string) {\n\t\tthis.nativeElement ? this.nativeElement.enterKeyBehavior = value : undefined;\n\t}\n\n\t/** @description Determines whether the prompt character in the input mask is hidden when the masked text box isn't focused anymore. */\n\t@Input()\n\tget hidePromptOnLeave(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.hidePromptOnLeave : undefined;\n\t}\n\tset hidePromptOnLeave(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.hidePromptOnLeave = value : undefined;\n\t}\n\n\t/** @description Sets additional helper text below the element. The hint is visible only when the element is focused. */\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 Determines whether new user input overwrites the existing input value or not. */\n\t@Input()\n\tget isOverwriteMode(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.isOverwriteMode : undefined;\n\t}\n\tset isOverwriteMode(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.isOverwriteMode = value : undefined;\n\t}\n\n\t/** @description Sets label above the element. The label is always visible. */\n\t@Input()\n\tget label(): string {\n\t\treturn this.nativeElement ? this.nativeElement.label : undefined;\n\t}\n\tset label(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.label = 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 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 Defines the mask for the input. */\n\t@Input()\n\tget mask(): string {\n\t\treturn this.nativeElement ? this.nativeElement.mask : undefined;\n\t}\n\tset mask(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.mask = value : undefined;\n\t}\n\n\t/** @description Indicates whether all required fields of the mask have been populated or not. */\n\t@Input()\n\tget maskCompleted(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.maskCompleted : undefined;\n\t}\n\tset maskCompleted(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.maskCompleted = value : undefined;\n\t}\n\n\t/** @description Indicates whether all required and optional fields of the mask have been populated or not. */\n\t@Input()\n\tget maskFull(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.maskFull : undefined;\n\t}\n\tset maskFull(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.maskFull = value : undefined;\n\t}\n\n\t/** @description Determines the maximum number of characters that the user can enter. */\n\t@Input()\n\tget maxLength(): number {\n\t\treturn this.nativeElement ? this.nativeElement.maxLength : undefined;\n\t}\n\tset maxLength(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.maxLength = 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 name attribute for the element. Name is used when submiting HTML forms. */\n\t@Input()\n\tget name(): string {\n\t\treturn this.nativeElement ? this.nativeElement.name : undefined;\n\t}\n\tset name(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.name = value : undefined;\n\t}\n\n\t/** @description A string that appears inside the input when there's no value and mask. */\n\t@Input()\n\tget placeholder(): string {\n\t\treturn this.nativeElement ? this.nativeElement.placeholder : undefined;\n\t}\n\tset placeholder(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.placeholder = value : undefined;\n\t}\n\n\t/** @description Determines the prompt char that is used for the mask of the element. */\n\t@Input()\n\tget promptChar(): string {\n\t\treturn this.nativeElement ? this.nativeElement.promptChar : undefined;\n\t}\n\tset promptChar(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.promptChar = value : undefined;\n\t}\n\n\t/** @description If the element is readonly, the users cannot iteract with the element. */\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 Determines whether the parsing of user input should stop after the first invalid character or not. */\n\t@Input()\n\tget rejectInputOnFirstFailure(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.rejectInputOnFirstFailure : undefined;\n\t}\n\tset rejectInputOnFirstFailure(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.rejectInputOnFirstFailure = value : undefined;\n\t}\n\n\t/** @description Specifies that the input must be filled in before submitting a form */\n\t@Input()\n\tget required(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.required : undefined;\n\t}\n\tset required(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.required = value : undefined;\n\t}\n\n\t/** @description Determines whether an input character that matches the prompt character should reset the current selected value in the input or not. Applicable only when allowPromptAsInput is enabled. */\n\t@Input()\n\tget resetOnPrompt(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.resetOnPrompt : undefined;\n\t}\n\tset resetOnPrompt(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.resetOnPrompt = value : undefined;\n\t}\n\n\t/** @description Determines whether hitting space character resets the currently selected value from the input or not. */\n\t@Input()\n\tget resetOnSpace(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.resetOnSpace : undefined;\n\t}\n\tset resetOnSpace(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.resetOnSpace = 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 Specifies whether the value of the input will be selected on focus or not. */\n\t@Input()\n\tget selectAllOnFocus(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.selectAllOnFocus : undefined;\n\t}\n\tset selectAllOnFocus(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.selectAllOnFocus = value : undefined;\n\t}\n\n\t/** @description Determines whether the value of the input should contain or not the prompt/literals of the mask. */\n\t@Input()\n\tget textMaskFormat(): MaskedTextBoxTextMaskFormat | string {\n\t\treturn this.nativeElement ? this.nativeElement.textMaskFormat : undefined;\n\t}\n\tset textMaskFormat(value: MaskedTextBoxTextMaskFormat | string) {\n\t\tthis.nativeElement ? this.nativeElement.textMaskFormat = 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 Sets or gets the value of the element. */\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 function that allows to set custom validation on the value. If the function returns false then the value of the input is treated as not valid. */\n\t@Input()\n\tget validation(): any {\n\t\treturn this.nativeElement ? this.nativeElement.validation : undefined;\n\t}\n\tset validation(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.validation = value : undefined;\n\t}\n\n\t/** @description This event is triggered when the value of the Text Box is changed.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\toldValue, \tvalue)\n\t* oldValue - The previous value before it was changed.\n\t* value - The new value.\n\t*/\n\t@Output() onChange: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered on each key up event of the MaskedTextBox, if the value is changed.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\toldValue, \tvalue)\n\t* oldValue - The previous value before it was changed.\n\t* value - The new value.\n\t*/\n\t@Output() onChanging: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered if the validation property is set. Indicates whether valiation has passed successfully or not.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tsuccess)\n\t* success - A flag inidicating whether the validation was successfull or not.\n\t*/\n\t@Output() onValidation: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description Focuses the element. \n\t*/\n public focus(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.focus();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.focus();\n });\n }\n }\n\n\t/** @description Blurs the element. \n\t*/\n public blur(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.blur();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.blur();\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\t_initialChange = true; \n\n\tget ngValue(): any {\n\t\tif (!this.nativeElement) {\n\t\t\treturn null;\n\t\t}\n\n\t\tconst value = this.nativeElement.value;\n\t\treturn value;\n\t}\n\n\tset ngValue(value: any) {\n\t\tif (this.nativeElement) {\n\t\t this.writeValue(value);\n\t\t}\n\t}\n\n\twriteValue(value: any): void {\n const that = this;\n const normalizedValue = value == null ? '' : value;\n\n\t\tthat.nativeElement.whenRendered(() => {\n\t\t\tthat.value = normalizedValue;\n\t\t\tif (that._initialChange === false) {\n\t \t\tthat._onChange(that.value);\n }\n\t\t});\n\t}\n\n\tregisterOnChange(fn: any): void {\n\t\tthis._onChange = fn;\n\t}\n\n\tregisterOnTouched(fn: any): void {\n\t\tthis._onTouched = fn;\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['changingHandler'] = (event: CustomEvent) => { that.onChanging.emit(event); }\n\t\tthat.nativeElement.addEventListener('changing', that.eventHandlers['changingHandler']);\n\n\t\tthat.eventHandlers['validationHandler'] = (event: CustomEvent) => { that.onValidation.emit(event); }\n\t\tthat.nativeElement.addEventListener('validation', that.eventHandlers['validationHandler']);\n\n\n that.eventHandlers['changeModelHandler'] = (event: Event) => {\n that._initialChange = false;\n that._onChange(that.nativeElement.value);\n };\n that.eventHandlers['blurModelHandler'] = (event: Event) => {\n that._onTouched();\n };\n that.nativeElement.whenRendered(() => {\n if (that.nativeElement.querySelector('input')) {\n that.eventHandlers['keyupModelHandler'] = (event) => {\n setTimeout(() => { that.eventHandlers['changeModelHandler'](event); }, 50);\n };\n\n that.nativeElement.querySelector('input').addEventListener('keyup', that.eventHandlers['keyupModelHandler']);\n }\n });\n\t\tthat.nativeElement.addEventListener('change', that.eventHandlers['changeModelHandler']);\n\t\tthat.nativeElement.addEventListener('blur', that.eventHandlers['blurModelHandler']);\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['changingHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('changing', that.eventHandlers['changingHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['validationHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('validation', that.eventHandlers['validationHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['changeModelHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('change', that.eventHandlers['changeModelHandler']);\n if (that.nativeElement.querySelector('input')) {\n that.nativeElement.querySelector('input').removeEventListener('keyup', that.eventHandlers['keyupModelHandler']);\n }\n\t\t}\n\t\tif (that.eventHandlers['blurModelHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('blur', that.eventHandlers['blurModelHandler']);\n\t\t}\n\t}\n}\n","import { NgModule } from '@angular/core';\n\nimport { MaskedTextBoxComponent } from './smart.maskedtextbox';\nimport { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n@NgModule({\n declarations: [MaskedTextBoxComponent],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n\texports: [MaskedTextBoxComponent]\n})\n\nexport class MaskedTextBoxModule { }\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,Y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