@asoftwareworld/form-builder-pro
Version:
ASW Form Builder Pro helps you with rapid development and designed web forms which includes several controls. The key feature of Form Builder is to make your content attractive and effective. We can customize our control at run time and preview the same b
30 lines (29 loc) • 1.22 kB
TypeScript
import { ElementRef, Renderer2 } from '@angular/core';
import { IConfig } from './config';
import { AswMaskApplierService } from './mask-applier.service';
import * as i0 from "@angular/core";
export declare class AswMaskService extends AswMaskApplierService {
private document;
protected config$: IConfig;
private elementRef;
private renderer;
maskExpression: string;
isNumberValue: boolean;
showMaskTyped: boolean;
maskIsShown: string;
private formElement;
onChange: (_: any) => void;
onTouch: () => void;
constructor(document: any, config$: IConfig, elementRef: ElementRef, renderer: Renderer2);
applyMask(inputValue: string, maskExpression: string, position?: number, cb?: (...args: any[]) => any): string;
applyValueChanges(position?: number, cb?: (...args: any[]) => any): void;
showMaskInInput(): void;
clearIfNotMatchFn(): void;
set formElementProperty([name, value]: [string, string | boolean]);
private _removeMask;
private _removePrefix;
private _removeSufix;
private _regExpForRemove;
static ɵfac: i0.ɵɵFactoryDeclaration<AswMaskService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<AswMaskService>;
}