matcha-components 20.43.0 → 20.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/matcha-components.mjs +1618 -1237
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/index.d.ts +141 -75
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1920,8 +1920,6 @@ declare const initialConfig: MatchaMaskConfig;
|
|
|
1920
1920
|
declare const timeMasks: string[];
|
|
1921
1921
|
declare const withoutValidation: string[];
|
|
1922
1922
|
|
|
1923
|
-
type CustomKeyboardEvent = KeyboardEvent;
|
|
1924
|
-
|
|
1925
1923
|
declare class MatchaMaskApplierService {
|
|
1926
1924
|
protected _config: MatchaMaskConfig;
|
|
1927
1925
|
dropSpecialCharacters: MatchaMaskConfig['dropSpecialCharacters'];
|
|
@@ -2056,36 +2054,32 @@ declare class MatchaMaskService extends MatchaMaskApplierService {
|
|
|
2056
2054
|
static ɵprov: i0.ɵɵInjectableDeclaration<MatchaMaskService>;
|
|
2057
2055
|
}
|
|
2058
2056
|
|
|
2059
|
-
declare class
|
|
2060
|
-
mask:
|
|
2061
|
-
specialCharacters:
|
|
2062
|
-
patterns:
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
outputTransformFn: i0.InputSignal<matcha_components.OutputTransformFn | null>;
|
|
2086
|
-
keepCharacterPositions: i0.InputSignal<boolean | null>;
|
|
2087
|
-
instantPrefix: i0.InputSignal<boolean | null>;
|
|
2088
|
-
maskFilled: i0.OutputEmitterRef<void>;
|
|
2057
|
+
declare class MatchaMaskCompatibleDirective implements ControlValueAccessor, OnChanges, Validator {
|
|
2058
|
+
mask: string | undefined | null;
|
|
2059
|
+
specialCharacters: MatchaMaskConfig['specialCharacters'];
|
|
2060
|
+
patterns: MatchaMaskConfig['patterns'];
|
|
2061
|
+
prefix: MatchaMaskConfig['prefix'];
|
|
2062
|
+
suffix: MatchaMaskConfig['suffix'];
|
|
2063
|
+
thousandSeparator: MatchaMaskConfig['thousandSeparator'];
|
|
2064
|
+
decimalMarker: MatchaMaskConfig['decimalMarker'];
|
|
2065
|
+
dropSpecialCharacters: MatchaMaskConfig['dropSpecialCharacters'] | null;
|
|
2066
|
+
hiddenInput: MatchaMaskConfig['hiddenInput'] | null;
|
|
2067
|
+
showMaskTyped: MatchaMaskConfig['showMaskTyped'] | null;
|
|
2068
|
+
placeHolderCharacter: MatchaMaskConfig['placeHolderCharacter'] | null;
|
|
2069
|
+
shownMaskExpression: MatchaMaskConfig['shownMaskExpression'] | null;
|
|
2070
|
+
clearIfNotMatch: MatchaMaskConfig['clearIfNotMatch'] | null;
|
|
2071
|
+
validation: MatchaMaskConfig['validation'] | null;
|
|
2072
|
+
separatorLimit: MatchaMaskConfig['separatorLimit'] | null;
|
|
2073
|
+
allowNegativeNumbers: MatchaMaskConfig['allowNegativeNumbers'] | null;
|
|
2074
|
+
leadZeroDateTime: MatchaMaskConfig['leadZeroDateTime'] | null;
|
|
2075
|
+
leadZero: MatchaMaskConfig['leadZero'] | null;
|
|
2076
|
+
triggerOnMaskChange: MatchaMaskConfig['triggerOnMaskChange'] | null;
|
|
2077
|
+
apm: MatchaMaskConfig['apm'] | null;
|
|
2078
|
+
inputTransformFn: MatchaMaskConfig['inputTransformFn'] | null;
|
|
2079
|
+
outputTransformFn: MatchaMaskConfig['outputTransformFn'] | null;
|
|
2080
|
+
keepCharacterPositions: MatchaMaskConfig['keepCharacterPositions'] | null;
|
|
2081
|
+
instantPrefix: MatchaMaskConfig['instantPrefix'] | null;
|
|
2082
|
+
maskFilled: EventEmitter<void>;
|
|
2089
2083
|
private _maskValue;
|
|
2090
2084
|
private _inputValue;
|
|
2091
2085
|
private _position;
|
|
@@ -2101,55 +2095,34 @@ declare class MatchaMaskDirective implements ControlValueAccessor, OnChanges, Va
|
|
|
2101
2095
|
onChange: (_: any) => void;
|
|
2102
2096
|
onTouch: () => void;
|
|
2103
2097
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2104
|
-
validate({ value }: FormControl): ValidationErrors | null;
|
|
2105
2098
|
onPaste(): void;
|
|
2106
|
-
onFocus(): void;
|
|
2107
|
-
onModelChange(value: string
|
|
2108
|
-
onInput(
|
|
2109
|
-
onCompositionStart(): void;
|
|
2110
|
-
onCompositionEnd(
|
|
2111
|
-
onBlur(
|
|
2112
|
-
onClick(
|
|
2113
|
-
onKeyDown(
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
registerOnTouched(fn: typeof this.onTouch): void;
|
|
2118
|
-
private _getActiveElement;
|
|
2119
|
-
checkSelectionOnDeletion(el: HTMLInputElement): void;
|
|
2120
|
-
/** It disables the input element */
|
|
2099
|
+
onFocus(event: FocusEvent): void;
|
|
2100
|
+
onModelChange(value: string): void;
|
|
2101
|
+
onInput(event: KeyboardEvent): void;
|
|
2102
|
+
onCompositionStart(event: CompositionEvent): void;
|
|
2103
|
+
onCompositionEnd(event: CompositionEvent): void;
|
|
2104
|
+
onBlur(event: FocusEvent): void;
|
|
2105
|
+
onClick(event: MouseEvent): void;
|
|
2106
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
2107
|
+
writeValue(value: string): void;
|
|
2108
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
2109
|
+
registerOnTouched(fn: () => void): void;
|
|
2121
2110
|
setDisabledState(isDisabled: boolean): void;
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
private _createValidationError;
|
|
2126
|
-
private _setMask;
|
|
2127
|
-
private _areAllCharactersInEachStringSame;
|
|
2128
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskDirective, never>;
|
|
2129
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaMaskDirective, "input[mask], textarea[mask]", ["mask", "matchaMask"], { "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "specialCharacters": { "alias": "specialCharacters"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; "isSignal": true; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; "isSignal": true; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; "isSignal": true; }; "hiddenInput": { "alias": "hiddenInput"; "required": false; "isSignal": true; }; "showMaskTyped": { "alias": "showMaskTyped"; "required": false; "isSignal": true; }; "placeHolderCharacter": { "alias": "placeHolderCharacter"; "required": false; "isSignal": true; }; "shownMaskExpression": { "alias": "shownMaskExpression"; "required": false; "isSignal": true; }; "clearIfNotMatch": { "alias": "clearIfNotMatch"; "required": false; "isSignal": true; }; "validation": { "alias": "validation"; "required": false; "isSignal": true; }; "separatorLimit": { "alias": "separatorLimit"; "required": false; "isSignal": true; }; "allowNegativeNumbers": { "alias": "allowNegativeNumbers"; "required": false; "isSignal": true; }; "leadZeroDateTime": { "alias": "leadZeroDateTime"; "required": false; "isSignal": true; }; "leadZero": { "alias": "leadZero"; "required": false; "isSignal": true; }; "triggerOnMaskChange": { "alias": "triggerOnMaskChange"; "required": false; "isSignal": true; }; "apm": { "alias": "apm"; "required": false; "isSignal": true; }; "inputTransformFn": { "alias": "inputTransformFn"; "required": false; "isSignal": true; }; "outputTransformFn": { "alias": "outputTransformFn"; "required": false; "isSignal": true; }; "keepCharacterPositions": { "alias": "keepCharacterPositions"; "required": false; "isSignal": true; }; "instantPrefix": { "alias": "instantPrefix"; "required": false; "isSignal": true; }; }, { "maskFilled": "maskFilled"; }, never, never, false, never>;
|
|
2130
|
-
}
|
|
2131
|
-
|
|
2132
|
-
declare class MatchaMaskPipe implements PipeTransform {
|
|
2133
|
-
private readonly defaultOptions;
|
|
2134
|
-
private readonly _maskService;
|
|
2135
|
-
private _maskExpressionArray;
|
|
2136
|
-
private mask;
|
|
2137
|
-
transform(value: string | number, mask: string, { patterns, ...config }?: Partial<MatchaMaskConfig>): string;
|
|
2138
|
-
private _setMask;
|
|
2139
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskPipe, never>;
|
|
2140
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MatchaMaskPipe, "mask", false>;
|
|
2111
|
+
validate(control: FormControl): ValidationErrors | null;
|
|
2112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskCompatibleDirective, never>;
|
|
2113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaMaskCompatibleDirective, "input[mask], textarea[mask]", ["mask", "matchaMask"], { "mask": { "alias": "mask"; "required": false; }; "specialCharacters": { "alias": "specialCharacters"; "required": false; }; "patterns": { "alias": "patterns"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "hiddenInput": { "alias": "hiddenInput"; "required": false; }; "showMaskTyped": { "alias": "showMaskTyped"; "required": false; }; "placeHolderCharacter": { "alias": "placeHolderCharacter"; "required": false; }; "shownMaskExpression": { "alias": "shownMaskExpression"; "required": false; }; "clearIfNotMatch": { "alias": "clearIfNotMatch"; "required": false; }; "validation": { "alias": "validation"; "required": false; }; "separatorLimit": { "alias": "separatorLimit"; "required": false; }; "allowNegativeNumbers": { "alias": "allowNegativeNumbers"; "required": false; }; "leadZeroDateTime": { "alias": "leadZeroDateTime"; "required": false; }; "leadZero": { "alias": "leadZero"; "required": false; }; "triggerOnMaskChange": { "alias": "triggerOnMaskChange"; "required": false; }; "apm": { "alias": "apm"; "required": false; }; "inputTransformFn": { "alias": "inputTransformFn"; "required": false; }; "outputTransformFn": { "alias": "outputTransformFn"; "required": false; }; "keepCharacterPositions": { "alias": "keepCharacterPositions"; "required": false; }; "instantPrefix": { "alias": "instantPrefix"; "required": false; }; }, { "maskFilled": "maskFilled"; }, never, never, false, never>;
|
|
2141
2114
|
}
|
|
2142
2115
|
|
|
2143
|
-
declare const
|
|
2144
|
-
declare class
|
|
2145
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
2146
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
2147
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
2116
|
+
declare const compatibleOptions: MatchaMaskOptions;
|
|
2117
|
+
declare class MatchaMaskCompatibleModule {
|
|
2118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskCompatibleModule, never>;
|
|
2119
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaMaskCompatibleModule, [typeof MatchaMaskCompatibleDirective], [typeof i2.CommonModule], [typeof MatchaMaskCompatibleDirective]>;
|
|
2120
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaMaskCompatibleModule>;
|
|
2148
2121
|
}
|
|
2149
2122
|
|
|
2150
2123
|
declare class MatchaInputPhoneModule {
|
|
2151
2124
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaInputPhoneModule, never>;
|
|
2152
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaInputPhoneModule, [typeof MatchaInputPhoneComponent], [typeof i2.CommonModule, typeof MatchaFormFieldModule, typeof i3.FormsModule, typeof
|
|
2125
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaInputPhoneModule, [typeof MatchaInputPhoneComponent], [typeof i2.CommonModule, typeof MatchaFormFieldModule, typeof i3.FormsModule, typeof MatchaMaskCompatibleModule], [typeof MatchaInputPhoneComponent]>;
|
|
2153
2126
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaInputPhoneModule>;
|
|
2154
2127
|
}
|
|
2155
2128
|
|
|
@@ -2353,7 +2326,7 @@ declare class MatchaAvatarModule {
|
|
|
2353
2326
|
|
|
2354
2327
|
declare class MatchaComponentsModule {
|
|
2355
2328
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaComponentsModule, never>;
|
|
2356
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRippleModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof
|
|
2329
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRippleModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskCompatibleModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRippleModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaAvatarModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskCompatibleModule]>;
|
|
2357
2330
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaComponentsModule>;
|
|
2358
2331
|
}
|
|
2359
2332
|
|
|
@@ -2378,6 +2351,92 @@ declare class MatchaBreakpointObservableModule {
|
|
|
2378
2351
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaBreakpointObservableModule>;
|
|
2379
2352
|
}
|
|
2380
2353
|
|
|
2354
|
+
type CustomKeyboardEvent = KeyboardEvent;
|
|
2355
|
+
|
|
2356
|
+
declare class MatchaMaskDirective implements ControlValueAccessor, OnChanges, Validator {
|
|
2357
|
+
mask: i0.InputSignal<string | null | undefined>;
|
|
2358
|
+
specialCharacters: i0.InputSignal<string[] | readonly string[]>;
|
|
2359
|
+
patterns: i0.InputSignal<Record<string, {
|
|
2360
|
+
pattern: RegExp;
|
|
2361
|
+
optional?: boolean;
|
|
2362
|
+
symbol?: string;
|
|
2363
|
+
}>>;
|
|
2364
|
+
prefix: i0.InputSignal<string>;
|
|
2365
|
+
suffix: i0.InputSignal<string>;
|
|
2366
|
+
thousandSeparator: i0.InputSignal<string>;
|
|
2367
|
+
decimalMarker: i0.InputSignal<"," | "." | [".", ","]>;
|
|
2368
|
+
dropSpecialCharacters: i0.InputSignal<boolean | string[] | readonly string[] | null>;
|
|
2369
|
+
hiddenInput: i0.InputSignal<boolean | null>;
|
|
2370
|
+
showMaskTyped: i0.InputSignal<boolean | null>;
|
|
2371
|
+
placeHolderCharacter: i0.InputSignal<string | null>;
|
|
2372
|
+
shownMaskExpression: i0.InputSignal<string | null>;
|
|
2373
|
+
clearIfNotMatch: i0.InputSignal<boolean | null>;
|
|
2374
|
+
validation: i0.InputSignal<boolean | null>;
|
|
2375
|
+
separatorLimit: i0.InputSignal<string | null>;
|
|
2376
|
+
allowNegativeNumbers: i0.InputSignal<boolean | null>;
|
|
2377
|
+
leadZeroDateTime: i0.InputSignal<boolean | null>;
|
|
2378
|
+
leadZero: i0.InputSignal<boolean | null>;
|
|
2379
|
+
triggerOnMaskChange: i0.InputSignal<boolean | null>;
|
|
2380
|
+
apm: i0.InputSignal<boolean | null>;
|
|
2381
|
+
inputTransformFn: i0.InputSignal<matcha_components.InputTransformFn | null>;
|
|
2382
|
+
outputTransformFn: i0.InputSignal<matcha_components.OutputTransformFn | null>;
|
|
2383
|
+
keepCharacterPositions: i0.InputSignal<boolean | null>;
|
|
2384
|
+
instantPrefix: i0.InputSignal<boolean | null>;
|
|
2385
|
+
maskFilled: i0.OutputEmitterRef<void>;
|
|
2386
|
+
private _maskValue;
|
|
2387
|
+
private _inputValue;
|
|
2388
|
+
private _position;
|
|
2389
|
+
private _code;
|
|
2390
|
+
private _maskExpressionArray;
|
|
2391
|
+
private _justPasted;
|
|
2392
|
+
private _isFocused;
|
|
2393
|
+
/**For IME composition event */
|
|
2394
|
+
private _isComposing;
|
|
2395
|
+
_maskService: MatchaMaskService;
|
|
2396
|
+
private readonly document;
|
|
2397
|
+
protected _config: MatchaMaskConfig;
|
|
2398
|
+
onChange: (_: any) => void;
|
|
2399
|
+
onTouch: () => void;
|
|
2400
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2401
|
+
validate({ value }: FormControl): ValidationErrors | null;
|
|
2402
|
+
onPaste(): void;
|
|
2403
|
+
onFocus(): void;
|
|
2404
|
+
onModelChange(value: string | undefined | null | number): void;
|
|
2405
|
+
onInput(e: CustomKeyboardEvent): void;
|
|
2406
|
+
onCompositionStart(): void;
|
|
2407
|
+
onCompositionEnd(e: CustomKeyboardEvent): void;
|
|
2408
|
+
onBlur(e: CustomKeyboardEvent): void;
|
|
2409
|
+
onClick(e: MouseEvent | CustomKeyboardEvent): void;
|
|
2410
|
+
onKeyDown(e: CustomKeyboardEvent): void;
|
|
2411
|
+
/** It writes the value in the input */
|
|
2412
|
+
writeValue(controlValue: unknown): Promise<void>;
|
|
2413
|
+
registerOnChange(fn: typeof this.onChange): void;
|
|
2414
|
+
registerOnTouched(fn: typeof this.onTouch): void;
|
|
2415
|
+
private _getActiveElement;
|
|
2416
|
+
checkSelectionOnDeletion(el: HTMLInputElement): void;
|
|
2417
|
+
/** It disables the input element */
|
|
2418
|
+
setDisabledState(isDisabled: boolean): void;
|
|
2419
|
+
private _applyMask;
|
|
2420
|
+
private _validateTime;
|
|
2421
|
+
private _getActualInputLength;
|
|
2422
|
+
private _createValidationError;
|
|
2423
|
+
private _setMask;
|
|
2424
|
+
private _areAllCharactersInEachStringSame;
|
|
2425
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskDirective, never>;
|
|
2426
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaMaskDirective, "input[mask], textarea[mask]", ["mask", "matchaMask"], { "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "specialCharacters": { "alias": "specialCharacters"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; "isSignal": true; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; "isSignal": true; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; "isSignal": true; }; "hiddenInput": { "alias": "hiddenInput"; "required": false; "isSignal": true; }; "showMaskTyped": { "alias": "showMaskTyped"; "required": false; "isSignal": true; }; "placeHolderCharacter": { "alias": "placeHolderCharacter"; "required": false; "isSignal": true; }; "shownMaskExpression": { "alias": "shownMaskExpression"; "required": false; "isSignal": true; }; "clearIfNotMatch": { "alias": "clearIfNotMatch"; "required": false; "isSignal": true; }; "validation": { "alias": "validation"; "required": false; "isSignal": true; }; "separatorLimit": { "alias": "separatorLimit"; "required": false; "isSignal": true; }; "allowNegativeNumbers": { "alias": "allowNegativeNumbers"; "required": false; "isSignal": true; }; "leadZeroDateTime": { "alias": "leadZeroDateTime"; "required": false; "isSignal": true; }; "leadZero": { "alias": "leadZero"; "required": false; "isSignal": true; }; "triggerOnMaskChange": { "alias": "triggerOnMaskChange"; "required": false; "isSignal": true; }; "apm": { "alias": "apm"; "required": false; "isSignal": true; }; "inputTransformFn": { "alias": "inputTransformFn"; "required": false; "isSignal": true; }; "outputTransformFn": { "alias": "outputTransformFn"; "required": false; "isSignal": true; }; "keepCharacterPositions": { "alias": "keepCharacterPositions"; "required": false; "isSignal": true; }; "instantPrefix": { "alias": "instantPrefix"; "required": false; "isSignal": true; }; }, { "maskFilled": "maskFilled"; }, never, never, false, never>;
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
declare class MatchaMaskPipe implements PipeTransform {
|
|
2430
|
+
private readonly defaultOptions;
|
|
2431
|
+
private readonly _maskService;
|
|
2432
|
+
private _maskExpressionArray;
|
|
2433
|
+
private mask;
|
|
2434
|
+
transform(value: string | number, mask: string, { patterns, ...config }?: Partial<MatchaMaskConfig>): string;
|
|
2435
|
+
private _setMask;
|
|
2436
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskPipe, never>;
|
|
2437
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MatchaMaskPipe, "mask", false>;
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2381
2440
|
declare const enum MaskExpression {
|
|
2382
2441
|
SEPARATOR = "separator",
|
|
2383
2442
|
PERCENT = "percent",
|
|
@@ -2422,6 +2481,13 @@ declare const enum MaskExpression {
|
|
|
2422
2481
|
DOUBLE_ZERO = "00"
|
|
2423
2482
|
}
|
|
2424
2483
|
|
|
2484
|
+
declare const options: MatchaMaskOptions;
|
|
2485
|
+
declare class MatchaMaskModule {
|
|
2486
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskModule, never>;
|
|
2487
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaMaskModule, [typeof MatchaMaskDirective, typeof MatchaMaskPipe], [typeof i2.CommonModule], [typeof MatchaMaskDirective, typeof MatchaMaskPipe]>;
|
|
2488
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaMaskModule>;
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2425
2491
|
/**
|
|
2426
2492
|
* Serviço responsável pela implementação técnica do overlay e backdrop dos modais.
|
|
2427
2493
|
*
|
|
@@ -2529,5 +2595,5 @@ declare class StepContentDirective {
|
|
|
2529
2595
|
static ɵdir: i0.ɵɵDirectiveDeclaration<StepContentDirective, "[step]", never, { "step": { "alias": "step"; "required": false; }; }, {}, never, never, true, never>;
|
|
2530
2596
|
}
|
|
2531
2597
|
|
|
2532
|
-
export { CopyButtonComponent, INITIAL_CONFIG, MATCHA_MASK_CONFIG, MATCHA_OPTION_PARENT, MaskExpression, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaAvatarComponent, MatchaAvatarModule, MatchaBadgeDirective, MatchaBadgeModule, MatchaBreakpointObservableModule, MatchaBreakpointObserver, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaComponentsModule, MatchaDateRangeComponent, MatchaDateRangeModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerContainerComponent, MatchaDrawerContentComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHighlightComponent, MatchaHighlightModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputDirective, MatchaInputModule, MatchaInputPhoneComponent, MatchaInputPhoneModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaMaskApplierService, MatchaMaskDirective, MatchaMaskModule, MatchaMaskPipe, MatchaMaskService, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuModule, MatchaMenuTriggerForDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaOptionComponent, MatchaOptionModule, MatchaOverlayService, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorComponent, MatchaPaginatorIntl, MatchaPaginatorModule, MatchaPanelComponent, MatchaPanelModule, MatchaProgressBarDirective, MatchaProgressBarModule, MatchaRadioComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectComponent, MatchaSelectModule, MatchaSelectTriggerDirective, MatchaSidenavDirective, MatchaSidenavModule, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderComponent, MatchaSliderModule, MatchaSnackBarDirective, MatchaSnackBarModule, MatchaSortHeaderDirective, MatchaSortHeaderModule, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaTabItemComponent, MatchaTableDirective, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTimeComponent, MatchaTimeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NEW_CONFIG, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective, initialConfig, options, timeMasks, withoutValidation };
|
|
2598
|
+
export { CopyButtonComponent, INITIAL_CONFIG, MATCHA_MASK_CONFIG, MATCHA_OPTION_PARENT, MaskExpression, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaAvatarComponent, MatchaAvatarModule, MatchaBadgeDirective, MatchaBadgeModule, MatchaBreakpointObservableModule, MatchaBreakpointObserver, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaComponentsModule, MatchaDateRangeComponent, MatchaDateRangeModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerContainerComponent, MatchaDrawerContentComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHighlightComponent, MatchaHighlightModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputDirective, MatchaInputModule, MatchaInputPhoneComponent, MatchaInputPhoneModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaMaskApplierService, MatchaMaskCompatibleDirective, MatchaMaskCompatibleModule, MatchaMaskDirective, MatchaMaskModule, MatchaMaskPipe, MatchaMaskService, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuModule, MatchaMenuTriggerForDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaOptionComponent, MatchaOptionModule, MatchaOverlayService, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorComponent, MatchaPaginatorIntl, MatchaPaginatorModule, MatchaPanelComponent, MatchaPanelModule, MatchaProgressBarDirective, MatchaProgressBarModule, MatchaRadioComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectComponent, MatchaSelectModule, MatchaSelectTriggerDirective, MatchaSidenavDirective, MatchaSidenavModule, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderComponent, MatchaSliderModule, MatchaSnackBarDirective, MatchaSnackBarModule, MatchaSortHeaderDirective, MatchaSortHeaderModule, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaTabItemComponent, MatchaTableDirective, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTimeComponent, MatchaTimeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NEW_CONFIG, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective, compatibleOptions, initialConfig, options, timeMasks, withoutValidation };
|
|
2533
2599
|
export type { BreakpointState, DrawerItem, DrawerMode, DrawerPosition, DrawerSection, ILevelClasses, InputTransformFn, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };
|