-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsmart-webcomponents-angular-gauge.js.map
1 lines (1 loc) · 46.4 KB
/
smart-webcomponents-angular-gauge.js.map
1
{"version":3,"file":"smart-webcomponents-angular-gauge.js","sources":["ng://smart-webcomponents-angular/gauge/smart.element.ts","ng://smart-webcomponents-angular/gauge/smart.gauge.ts","ng://smart-webcomponents-angular/gauge/smart.gauge.module.ts","ng://smart-webcomponents-angular/gauge/smart-webcomponents-angular-gauge.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 { Gauge } from './../index';\nimport { GaugeAnalogDisplayType, Animation, GaugeDigitalDisplayPosition, LabelsVisibility, DragMechanicalAction, ScaleMode, GaugeNeedlePosition, GaugeScalePosition, ScaleType, GaugeSizeMode, TicksPosition, TicksVisibility, Validation, WordLength, 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 { GaugeAnalogDisplayType, Animation, GaugeDigitalDisplayPosition, LabelsVisibility, DragMechanicalAction, ScaleMode, GaugeNeedlePosition, GaugeScalePosition, ScaleType, GaugeSizeMode, TicksPosition, TicksVisibility, Validation, WordLength, ElementRenderMode} from './../index';\nexport { Smart } from './smart.element';\nexport { Gauge } 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(() => GaugeComponent),\n multi: true\n}\n\n@Directive({\n\texportAs: 'smart-gauge',\tselector: 'smart-gauge, [smart-gauge]',\n\tproviders: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR]\n\n})\n\nexport class GaugeComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges, ControlValueAccessor {\n\tconstructor(ref: ElementRef<Gauge>) {\n\t\tsuper(ref);\n\t\tthis.nativeElement = ref.nativeElement as Gauge;\n\t}\n\n\tprivate eventHandlers: any[] = [];\n\n\tpublic nativeElement: Gauge;\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 = <Gauge>document.createElement('smart-gauge');\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 Determines the type of gauge's indicator. */\n\t@Input()\n\tget analogDisplayType(): GaugeAnalogDisplayType | string {\n\t\treturn this.nativeElement ? this.nativeElement.analogDisplayType : undefined;\n\t}\n\tset analogDisplayType(value: GaugeAnalogDisplayType | string) {\n\t\tthis.nativeElement ? this.nativeElement.analogDisplayType = 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 Sets or gets gauge's animation duration. Applicable only when animation is not 'none'. */\n\t@Input()\n\tget animationDuration(): number {\n\t\treturn this.nativeElement ? this.nativeElement.animationDuration : undefined;\n\t}\n\tset animationDuration(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.animationDuration = value : undefined;\n\t}\n\n\t/** @description With the coerce property true, the value is set to the nearest value allowed by the interval property. */\n\t@Input()\n\tget coerce(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.coerce : undefined;\n\t}\n\tset coerce(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.coerce = value : undefined;\n\t}\n\n\t/** @description Sets or gets whether custom ticks at (possibly) uneven interval will be plotted. The ticks to be plotted are defined with the property customTicks. */\n\t@Input()\n\tget customInterval(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.customInterval : undefined;\n\t}\n\tset customInterval(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.customInterval = value : undefined;\n\t}\n\n\t/** @description If customInterval is enabled, sets a list of ticks to be plotted. If coerce is set to true, the value will snap to these ticks. */\n\t@Input()\n\tget customTicks(): number[] {\n\t\treturn this.nativeElement ? this.nativeElement.customTicks : undefined;\n\t}\n\tset customTicks(value: number[]) {\n\t\tthis.nativeElement ? this.nativeElement.customTicks = value : undefined;\n\t}\n\n\t/** @description Determines the date pattern of the labels when mode is 'date'. */\n\t@Input()\n\tget dateLabelFormatString(): string {\n\t\treturn this.nativeElement ? this.nativeElement.dateLabelFormatString : undefined;\n\t}\n\tset dateLabelFormatString(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.dateLabelFormatString = value : undefined;\n\t}\n\n\t/** @description Sets or gets the char to use as the decimal separator in numeric values. */\n\t@Input()\n\tget decimalSeparator(): string {\n\t\treturn this.nativeElement ? this.nativeElement.decimalSeparator : undefined;\n\t}\n\tset decimalSeparator(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.decimalSeparator = value : undefined;\n\t}\n\n\t/** @description Enables or disables the digital display of the element. */\n\t@Input()\n\tget digitalDisplay(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.digitalDisplay : undefined;\n\t}\n\tset digitalDisplay(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.digitalDisplay = value : undefined;\n\t}\n\n\t/** @description Sets the position of the digital display inside the element. */\n\t@Input()\n\tget digitalDisplayPosition(): GaugeDigitalDisplayPosition | string {\n\t\treturn this.nativeElement ? this.nativeElement.digitalDisplayPosition : undefined;\n\t}\n\tset digitalDisplayPosition(value: GaugeDigitalDisplayPosition | string) {\n\t\tthis.nativeElement ? this.nativeElement.digitalDisplayPosition = 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 Callback function which allows rendering of a custom needle. Applicable only to analogDisplayType needle. */\n\t@Input()\n\tget drawNeedle(): any {\n\t\treturn this.nativeElement ? this.nativeElement.drawNeedle : undefined;\n\t}\n\tset drawNeedle(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.drawNeedle = value : undefined;\n\t}\n\n\t/** @description Sets or gets Gauge's end angle. This property specifies the end of the gauge's scale and is measured in degrees. */\n\t@Input()\n\tget endAngle(): number {\n\t\treturn this.nativeElement ? this.nativeElement.endAngle : undefined;\n\t}\n\tset endAngle(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.endAngle = value : undefined;\n\t}\n\n\t/** @description When cooerce property is true, all values coerce to the interval's value. */\n\t@Input()\n\tget interval(): number {\n\t\treturn this.nativeElement ? this.nativeElement.interval : undefined;\n\t}\n\tset interval(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.interval = value : undefined;\n\t}\n\n\t/** @description Sets the direction of the gauge. If true - the positions of the gauge's start and end are switched. */\n\t@Input()\n\tget inverted(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.inverted : undefined;\n\t}\n\tset inverted(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.inverted = value : undefined;\n\t}\n\n\t/** @description A callback function that can be used to format the values displayed inside the gauge labels. */\n\t@Input()\n\tget labelFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.labelFormatFunction : undefined;\n\t}\n\tset labelFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.labelFormatFunction = value : undefined;\n\t}\n\n\t/** @description Determines the visibility of the labels inside the element. */\n\t@Input()\n\tget labelsVisibility(): LabelsVisibility | string {\n\t\treturn this.nativeElement ? this.nativeElement.labelsVisibility : undefined;\n\t}\n\tset labelsVisibility(value: LabelsVisibility | string) {\n\t\tthis.nativeElement ? this.nativeElement.labelsVisibility = 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 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 Enables or disables the usage of logarithmic scale in the element. */\n\t@Input()\n\tget logarithmicScale(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.logarithmicScale : undefined;\n\t}\n\tset logarithmicScale(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.logarithmicScale = value : undefined;\n\t}\n\n\t/** @description Determines the maximum value for the scale of the element. */\n\t@Input()\n\tget max(): number {\n\t\treturn this.nativeElement ? this.nativeElement.max : undefined;\n\t}\n\tset max(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.max = value : undefined;\n\t}\n\n\t/** @description Determines when the value of the element is updated. */\n\t@Input()\n\tget mechanicalAction(): DragMechanicalAction | string {\n\t\treturn this.nativeElement ? this.nativeElement.mechanicalAction : undefined;\n\t}\n\tset mechanicalAction(value: DragMechanicalAction | string) {\n\t\tthis.nativeElement ? this.nativeElement.mechanicalAction = 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 Determines the minimum value for the scale of the element. */\n\t@Input()\n\tget min(): number {\n\t\treturn this.nativeElement ? this.nativeElement.min : undefined;\n\t}\n\tset min(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.min = value : undefined;\n\t}\n\n\t/** @description Determines whether the element works with numbers or dates. */\n\t@Input()\n\tget mode(): ScaleMode | string {\n\t\treturn this.nativeElement ? this.nativeElement.mode : undefined;\n\t}\n\tset mode(value: ScaleMode | string) {\n\t\tthis.nativeElement ? this.nativeElement.mode = value : undefined;\n\t}\n\n\t/** @description Sets or gets the element's name, which is used as a reference when the data is submitted. */\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 Determines the position of the needle when analogDisplayType is 'needle'. */\n\t@Input()\n\tget needlePosition(): GaugeNeedlePosition | string {\n\t\treturn this.nativeElement ? this.nativeElement.needlePosition : undefined;\n\t}\n\tset needlePosition(value: GaugeNeedlePosition | string) {\n\t\tthis.nativeElement ? this.nativeElement.needlePosition = value : undefined;\n\t}\n\n\t/** @description Determines the number of digits after the decimal point. Applicable only when scaleType is 'floatingPoint'. */\n\t@Input()\n\tget precisionDigits(): number {\n\t\treturn this.nativeElement ? this.nativeElement.precisionDigits : undefined;\n\t}\n\tset precisionDigits(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.precisionDigits = value : undefined;\n\t}\n\n\t/** @description This property represents an array of objects. Each object is a different range. The range is a colored area with specific size. */\n\t@Input()\n\tget ranges(): {startValue: number, endValue: number, className: string}[] {\n\t\treturn this.nativeElement ? this.nativeElement.ranges : undefined;\n\t}\n\tset ranges(value: {startValue: number, endValue: number, className: string}[]) {\n\t\tthis.nativeElement ? this.nativeElement.ranges = value : undefined;\n\t}\n\n\t/** @description When the element is read only the 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 Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. If enabled, the scale is inverted and the labels and digital display are oriented from right to left. */\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 position of the scale in the element. */\n\t@Input()\n\tget scalePosition(): GaugeScalePosition | string {\n\t\treturn this.nativeElement ? this.nativeElement.scalePosition : undefined;\n\t}\n\tset scalePosition(value: GaugeScalePosition | string) {\n\t\tthis.nativeElement ? this.nativeElement.scalePosition = value : undefined;\n\t}\n\n\t/** @description Determines the type of the gauge's value and scale. */\n\t@Input()\n\tget scaleType(): ScaleType | string {\n\t\treturn this.nativeElement ? this.nativeElement.scaleType : undefined;\n\t}\n\tset scaleType(value: ScaleType | string) {\n\t\tthis.nativeElement ? this.nativeElement.scaleType = value : undefined;\n\t}\n\n\t/** @description Enables or disables scientific notation. */\n\t@Input()\n\tget scientificNotation(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.scientificNotation : undefined;\n\t}\n\tset scientificNotation(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.scientificNotation = value : undefined;\n\t}\n\n\t/** @description This property indicates whether the gauge ranges are visible or not. */\n\t@Input()\n\tget showRanges(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.showRanges : undefined;\n\t}\n\tset showRanges(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.showRanges = value : undefined;\n\t}\n\n\t/** @description Enables or disables displaying of units. */\n\t@Input()\n\tget showUnit(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.showUnit : undefined;\n\t}\n\tset showUnit(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.showUnit = value : undefined;\n\t}\n\n\t/** @description Determining how many significant digits are in a number. Applicable only when scaleType is 'integer'. */\n\t@Input()\n\tget significantDigits(): number | null {\n\t\treturn this.nativeElement ? this.nativeElement.significantDigits : undefined;\n\t}\n\tset significantDigits(value: number | null) {\n\t\tthis.nativeElement ? this.nativeElement.significantDigits = value : undefined;\n\t}\n\n\t/** @description Determines how the Gauge will size. */\n\t@Input()\n\tget sizeMode(): GaugeSizeMode | string {\n\t\treturn this.nativeElement ? this.nativeElement.sizeMode : undefined;\n\t}\n\tset sizeMode(value: GaugeSizeMode | string) {\n\t\tthis.nativeElement ? this.nativeElement.sizeMode = value : undefined;\n\t}\n\n\t/** @description Sets or gets gauge's start angle. This property specifies the beggining of the gauge's scale and is measured in degrees. */\n\t@Input()\n\tget startAngle(): number {\n\t\treturn this.nativeElement ? this.nativeElement.startAngle : undefined;\n\t}\n\tset startAngle(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.startAngle = value : undefined;\n\t}\n\n\t/** @description Sets or gets the element's visual theme. */\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 Determines the position of the ticks in the Gauge. */\n\t@Input()\n\tget ticksPosition(): TicksPosition | string {\n\t\treturn this.nativeElement ? this.nativeElement.ticksPosition : undefined;\n\t}\n\tset ticksPosition(value: TicksPosition | string) {\n\t\tthis.nativeElement ? this.nativeElement.ticksPosition = value : undefined;\n\t}\n\n\t/** @description Determines the visibility of the ticks. */\n\t@Input()\n\tget ticksVisibility(): TicksVisibility | string {\n\t\treturn this.nativeElement ? this.nativeElement.ticksVisibility : undefined;\n\t}\n\tset ticksVisibility(value: TicksVisibility | string) {\n\t\tthis.nativeElement ? this.nativeElement.ticksVisibility = value : undefined;\n\t}\n\n\t/** @description Sets or gets if the element can 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 name of unit used for the values on the scale of the element. */\n\t@Input()\n\tget unit(): string {\n\t\treturn this.nativeElement ? this.nativeElement.unit : undefined;\n\t}\n\tset unit(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.unit = value : undefined;\n\t}\n\n\t/** @description Sets the value's validation by min/max. */\n\t@Input()\n\tget validation(): Validation | string {\n\t\treturn this.nativeElement ? this.nativeElement.validation : undefined;\n\t}\n\tset validation(value: Validation | string) {\n\t\tthis.nativeElement ? this.nativeElement.validation = value : undefined;\n\t}\n\n\t/** @description Sets or gets the value of the element. The value can be a date only when scaleType is 'date'. */\n\t@Input()\n\tget value(): string | number | Date {\n\t\treturn this.nativeElement ? this.nativeElement.value : undefined;\n\t}\n\tset value(value: string | number | Date) {\n\t\tthis.nativeElement ? this.nativeElement.value = value : undefined;\n\t}\n\n\t/** @description Sets or gets the word length. Applicable only when scaleType is 'integer'. */\n\t@Input()\n\tget wordLength(): WordLength | string {\n\t\treturn this.nativeElement ? this.nativeElement.wordLength : undefined;\n\t}\n\tset wordLength(value: WordLength | string) {\n\t\tthis.nativeElement ? this.nativeElement.wordLength = value : undefined;\n\t}\n\n\t/** @description This event is triggered when the value of the element is changed.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\toldValue, \tvalue)\n\t* oldValue - The previous value of the element.\n\t* value - The new value of the element.\n\t*/\n\t@Output() onChange: 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 Gets the optimal size of the element (the current width and the height based on the plotted internal elements). \n\t* @returns {any}\n */\n\tpublic async getOptimalSize(): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.getOptimalSize();\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\t/** @description Get/set the value of the gauge. \n\t* @param {string | number | Date} value?. The value to be set. If no parameter is passed, returns the current value of the gauge. The value can be a date only when <b>scaleType</b> is 'date'.\n\t* @returns {string}\n */\n\tpublic async val(value?): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.val(value);\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\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\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['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 { GaugeComponent } from './smart.gauge';\nimport { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n@NgModule({\n declarations: [GaugeComponent],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n\texports: [GaugeComponent]\n})\n\nexport class GaugeModule { }\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,aAAoB,CAAC;QAE9C,IAAI,CAAC,aAAa,CAAC,UAAU,GAAG;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;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