tyatech-cli
Advanced tools
Comparing version 0.0.6 to 0.0.7
import { ElementRef, Renderer2 } from '@angular/core'; | ||
import { ControlValueAccessor } from '@angular/forms'; | ||
import * as i0 from "@angular/core"; | ||
export declare class FormatNumberViDirective { | ||
export declare class FormatNumberViDirective implements ControlValueAccessor { | ||
private el; | ||
private renderer; | ||
private onChange; | ||
private onTouched; | ||
constructor(el: ElementRef, renderer: Renderer2); | ||
onInput(value: string): void; | ||
onInput(event: any): void; | ||
onBlur(value: string): void; | ||
writeValue(value: any): void; | ||
registerOnChange(fn: any): void; | ||
registerOnTouched(fn: any): void; | ||
private formatNumber; | ||
private parseNumber; | ||
private formatIntegerPart; | ||
private findComma; | ||
private calculateCursorPosition; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<FormatNumberViDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<FormatNumberViDirective, "[appTyaCliFormatNumberVi]", never, {}, {}, never, never, false, never>; | ||
} |
{ | ||
"name": "tyatech-cli", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"peerDependencies": {}, | ||
@@ -5,0 +5,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
87040
729