1 | import { IConfig } from './ngx-mask.config';
|
2 | import * as i0 from "@angular/core";
|
3 | export declare class NgxMaskApplierService {
|
4 | protected _config: IConfig;
|
5 | dropSpecialCharacters: IConfig['dropSpecialCharacters'];
|
6 | hiddenInput: IConfig['hiddenInput'];
|
7 | showTemplate: IConfig['showTemplate'];
|
8 | clearIfNotMatch: IConfig['clearIfNotMatch'];
|
9 | specialCharacters: IConfig['specialCharacters'];
|
10 | patterns: IConfig['patterns'];
|
11 | prefix: IConfig['prefix'];
|
12 | suffix: IConfig['suffix'];
|
13 | thousandSeparator: IConfig['thousandSeparator'];
|
14 | decimalMarker: IConfig['decimalMarker'];
|
15 | customPattern: IConfig['patterns'];
|
16 | showMaskTyped: IConfig['showMaskTyped'];
|
17 | placeHolderCharacter: IConfig['placeHolderCharacter'];
|
18 | validation: IConfig['validation'];
|
19 | separatorLimit: IConfig['separatorLimit'];
|
20 | allowNegativeNumbers: IConfig['allowNegativeNumbers'];
|
21 | leadZeroDateTime: IConfig['leadZeroDateTime'];
|
22 | leadZero: IConfig['leadZero'];
|
23 | apm: IConfig['apm'];
|
24 | inputTransformFn: IConfig['inputTransformFn'];
|
25 | outputTransformFn: IConfig['outputTransformFn'];
|
26 | keepCharacterPositions: IConfig['keepCharacterPositions'];
|
27 | private _shift;
|
28 | plusOnePosition: boolean;
|
29 | maskExpression: string;
|
30 | actualValue: string;
|
31 | showKeepCharacterExp: string;
|
32 | shownMaskExpression: string;
|
33 | deletedSpecialCharacter: boolean;
|
34 | ipError?: boolean;
|
35 | cpfCnpjError?: boolean;
|
36 | applyMaskWithPattern(inputValue: string, maskAndPattern: [string, IConfig['patterns']]): string;
|
37 | applyMask(inputValue: string | object | boolean | null | undefined, maskExpression: string, position?: number, justPasted?: boolean, backspaced?: boolean, cb?: (...args: any[]) => any): string;
|
38 | _findDropSpecialChar(inputSymbol: string): undefined | string;
|
39 | _findSpecialChar(inputSymbol: string): undefined | string;
|
40 | _checkSymbolMask(inputSymbol: string, maskSymbol: string): boolean;
|
41 | private _formatWithSeparators;
|
42 | private percentage;
|
43 | private getPrecision;
|
44 | private checkAndRemoveSuffix;
|
45 | private checkInputPrecision;
|
46 | private _stripToDecimal;
|
47 | private _charToRegExpExpression;
|
48 | private _shiftStep;
|
49 | protected _compareOrIncludes<T>(value: T, comparedValue: T | T[], excludedValue: T): boolean;
|
50 | private _validIP;
|
51 | private _splitPercentZero;
|
52 | private _findFirstNonZeroDigitIndex;
|
53 | static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskApplierService, never>;
|
54 | static ɵprov: i0.ɵɵInjectableDeclaration<NgxMaskApplierService>;
|
55 | }
|