1 | import { ElementRef } from '@angular/core';
|
2 | import type { NgxMaskConfig } from './ngx-mask.config';
|
3 | import { NgxMaskApplierService } from './ngx-mask-applier.service';
|
4 | import * as i0 from "@angular/core";
|
5 | export declare class NgxMaskService extends NgxMaskApplierService {
|
6 | isNumberValue: boolean;
|
7 | maskIsShown: string;
|
8 | selStart: number | null;
|
9 | selEnd: number | null;
|
10 | maskChanged: boolean;
|
11 | maskExpressionArray: string[];
|
12 | triggerOnMaskChange: boolean;
|
13 | previousValue: string;
|
14 | currentValue: string;
|
15 | writingValue: boolean;
|
16 | private _emitValue;
|
17 | private _start;
|
18 | private _end;
|
19 | onChange: (_: any) => void;
|
20 | readonly _elementRef: ElementRef<any> | null;
|
21 | private readonly document;
|
22 | protected _config: NgxMaskConfig;
|
23 | private readonly _renderer;
|
24 | applyMask(inputValue: string, maskExpression: string, position?: number, justPasted?: boolean, backspaced?: boolean, cb?: (...args: any[]) => any): string;
|
25 | private _numberSkipedSymbols;
|
26 | applyValueChanges(position: number, justPasted: boolean, backspaced: boolean, cb?: (...args: any[]) => any): void;
|
27 | hideInput(inputValue: string, maskExpression: string): string;
|
28 | getActualValue(res: string): string;
|
29 | shiftTypedSymbols(inputValue: string): string;
|
30 | numberToString(value: number | string): string;
|
31 | showMaskInInput(inputVal?: string): string;
|
32 | clearIfNotMatchFn(): void;
|
33 | set formElementProperty([name, value]: [string, string | boolean]);
|
34 | checkDropSpecialCharAmount(mask: string): number;
|
35 | removeMask(inputValue: string): string;
|
36 | private _checkForIp;
|
37 | private _checkForCpfCnpj;
|
38 | private _getActiveElement;
|
39 | private formControlResult;
|
40 | private _toNumber;
|
41 | private _removeMask;
|
42 | private _removePrefix;
|
43 | private _removeSuffix;
|
44 | private _retrieveSeparatorValue;
|
45 | private _regExpForRemove;
|
46 | private _replaceDecimalMarkerToDot;
|
47 | _checkSymbols(result: string): string | number | undefined | null;
|
48 | private _checkPatternForSpace;
|
49 | private _retrieveSeparatorPrecision;
|
50 | _checkPrecision(separatorExpression: string, separatorValue: string): number | string;
|
51 | _repeatPatternSymbols(maskExp: string): string;
|
52 | currentLocaleDecimalMarker(): string;
|
53 | static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskService, never>;
|
54 | static ɵprov: i0.ɵɵInjectableDeclaration<NgxMaskService>;
|
55 | }
|