matcha-components 20.40.0 → 20.42.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/index.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, OnChanges, EventEmitter, SimpleChanges, AfterContentInit, OnDestroy, QueryList, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef, AfterViewInit, NgZone, PipeTransform, ApplicationRef, Injector, RendererFactory2, Type, ComponentRef } from '@angular/core';
2
+ import { OnInit, OnChanges, EventEmitter, SimpleChanges, AfterContentInit, OnDestroy, QueryList, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef, AfterViewInit, NgZone, InjectionToken, PipeTransform, ApplicationRef, Injector, RendererFactory2, Type, ComponentRef } from '@angular/core';
3
3
  import * as rxjs from 'rxjs';
4
4
  import { Observable, Subject } from 'rxjs';
5
5
  import * as i3 from '@angular/forms';
6
6
  import { FormControlName, ControlValueAccessor, NgControl, Validator, FormControl, ValidationErrors } from '@angular/forms';
7
7
  import { HttpClient } from '@angular/common/http';
8
8
  import * as i2 from '@angular/common';
9
+ import * as matcha_components from 'matcha-components';
9
10
 
10
11
  /**
11
12
  * Interface que deve ser implementada por componentes que querem usar matcha-option como filho
@@ -1881,7 +1882,7 @@ declare class MatchaInputModule {
1881
1882
 
1882
1883
  type InputTransformFn = (value: unknown) => string | number;
1883
1884
  type OutputTransformFn = (value: string | number | undefined | null) => unknown;
1884
- type NgxMaskConfig = {
1885
+ type MatchaMaskConfig = {
1885
1886
  suffix: string;
1886
1887
  prefix: string;
1887
1888
  thousandSeparator: string;
@@ -1911,40 +1912,47 @@ type NgxMaskConfig = {
1911
1912
  symbol?: string;
1912
1913
  }>;
1913
1914
  };
1915
+ type MatchaMaskOptions = Partial<MatchaMaskConfig>;
1916
+ declare const MATCHA_MASK_CONFIG: InjectionToken<MatchaMaskConfig>;
1917
+ declare const NEW_CONFIG: InjectionToken<MatchaMaskConfig>;
1918
+ declare const INITIAL_CONFIG: InjectionToken<MatchaMaskConfig>;
1919
+ declare const initialConfig: MatchaMaskConfig;
1920
+ declare const timeMasks: string[];
1921
+ declare const withoutValidation: string[];
1914
1922
 
1915
1923
  type CustomKeyboardEvent = KeyboardEvent;
1916
1924
 
1917
- declare class NgxMaskApplierService {
1918
- protected _config: NgxMaskConfig;
1919
- dropSpecialCharacters: NgxMaskConfig['dropSpecialCharacters'];
1920
- hiddenInput: NgxMaskConfig['hiddenInput'];
1921
- clearIfNotMatch: NgxMaskConfig['clearIfNotMatch'];
1922
- specialCharacters: NgxMaskConfig['specialCharacters'];
1923
- patterns: NgxMaskConfig['patterns'];
1924
- prefix: NgxMaskConfig['prefix'];
1925
- suffix: NgxMaskConfig['suffix'];
1926
- thousandSeparator: NgxMaskConfig['thousandSeparator'];
1927
- decimalMarker: NgxMaskConfig['decimalMarker'];
1928
- customPattern: NgxMaskConfig['patterns'];
1929
- showMaskTyped: NgxMaskConfig['showMaskTyped'];
1930
- placeHolderCharacter: NgxMaskConfig['placeHolderCharacter'];
1931
- validation: NgxMaskConfig['validation'];
1932
- separatorLimit: NgxMaskConfig['separatorLimit'];
1933
- allowNegativeNumbers: NgxMaskConfig['allowNegativeNumbers'];
1934
- leadZeroDateTime: NgxMaskConfig['leadZeroDateTime'];
1935
- leadZero: NgxMaskConfig['leadZero'];
1936
- apm: NgxMaskConfig['apm'];
1937
- inputTransformFn: NgxMaskConfig['inputTransformFn'] | null;
1938
- outputTransformFn: NgxMaskConfig['outputTransformFn'] | null;
1939
- keepCharacterPositions: NgxMaskConfig['keepCharacterPositions'];
1940
- instantPrefix: NgxMaskConfig['instantPrefix'];
1941
- triggerOnMaskChange: NgxMaskConfig['triggerOnMaskChange'];
1925
+ declare class MatchaMaskApplierService {
1926
+ protected _config: MatchaMaskConfig;
1927
+ dropSpecialCharacters: MatchaMaskConfig['dropSpecialCharacters'];
1928
+ hiddenInput: MatchaMaskConfig['hiddenInput'];
1929
+ clearIfNotMatch: MatchaMaskConfig['clearIfNotMatch'];
1930
+ specialCharacters: MatchaMaskConfig['specialCharacters'];
1931
+ patterns: MatchaMaskConfig['patterns'];
1932
+ prefix: MatchaMaskConfig['prefix'];
1933
+ suffix: MatchaMaskConfig['suffix'];
1934
+ thousandSeparator: MatchaMaskConfig['thousandSeparator'];
1935
+ decimalMarker: MatchaMaskConfig['decimalMarker'];
1936
+ customPattern: MatchaMaskConfig['patterns'];
1937
+ showMaskTyped: MatchaMaskConfig['showMaskTyped'];
1938
+ placeHolderCharacter: MatchaMaskConfig['placeHolderCharacter'];
1939
+ validation: MatchaMaskConfig['validation'];
1940
+ separatorLimit: MatchaMaskConfig['separatorLimit'];
1941
+ allowNegativeNumbers: MatchaMaskConfig['allowNegativeNumbers'];
1942
+ leadZeroDateTime: MatchaMaskConfig['leadZeroDateTime'];
1943
+ leadZero: MatchaMaskConfig['leadZero'];
1944
+ apm: MatchaMaskConfig['apm'];
1945
+ inputTransformFn: MatchaMaskConfig['inputTransformFn'] | null;
1946
+ outputTransformFn: MatchaMaskConfig['outputTransformFn'] | null;
1947
+ keepCharacterPositions: MatchaMaskConfig['keepCharacterPositions'];
1948
+ instantPrefix: MatchaMaskConfig['instantPrefix'];
1949
+ triggerOnMaskChange: MatchaMaskConfig['triggerOnMaskChange'];
1942
1950
  private _shift;
1943
1951
  plusOnePosition: boolean;
1944
1952
  maskExpression: string;
1945
1953
  actualValue: string;
1946
1954
  showKeepCharacterExp: string;
1947
- shownMaskExpression: NgxMaskConfig['shownMaskExpression'];
1955
+ shownMaskExpression: MatchaMaskConfig['shownMaskExpression'];
1948
1956
  deletedSpecialCharacter: boolean;
1949
1957
  ipError?: boolean;
1950
1958
  cpfCnpjError?: boolean;
@@ -1964,11 +1972,11 @@ declare class NgxMaskApplierService {
1964
1972
  private _validIP;
1965
1973
  private _splitPercentZero;
1966
1974
  private _findFirstNonZeroAndDecimalIndex;
1967
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskApplierService, never>;
1968
- static ɵprov: i0.ɵɵInjectableDeclaration<NgxMaskApplierService>;
1975
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskApplierService, never>;
1976
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatchaMaskApplierService>;
1969
1977
  }
1970
1978
 
1971
- declare class NgxMaskService extends NgxMaskApplierService {
1979
+ declare class MatchaMaskService extends MatchaMaskApplierService {
1972
1980
  isNumberValue: boolean;
1973
1981
  maskIsShown: string;
1974
1982
  selStart: number | null;
@@ -1988,7 +1996,7 @@ declare class NgxMaskService extends NgxMaskApplierService {
1988
1996
  onChange: (_: any) => void;
1989
1997
  readonly _elementRef: ElementRef<any> | null;
1990
1998
  private readonly document;
1991
- protected _config: NgxMaskConfig;
1999
+ protected _config: MatchaMaskConfig;
1992
2000
  private readonly _renderer;
1993
2001
  /**
1994
2002
  * Applies the mask to the input value.
@@ -2044,11 +2052,11 @@ declare class NgxMaskService extends NgxMaskApplierService {
2044
2052
  _checkPrecision(separatorExpression: string, separatorValue: string): number | string;
2045
2053
  _repeatPatternSymbols(maskExp: string): string;
2046
2054
  currentLocaleDecimalMarker(): string;
2047
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskService, never>;
2048
- static ɵprov: i0.ɵɵInjectableDeclaration<NgxMaskService>;
2055
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskService, never>;
2056
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatchaMaskService>;
2049
2057
  }
2050
2058
 
2051
- declare class NgxMaskDirective implements ControlValueAccessor, OnChanges, Validator {
2059
+ declare class MatchaMaskDirective implements ControlValueAccessor, OnChanges, Validator {
2052
2060
  mask: i0.InputSignal<string | null | undefined>;
2053
2061
  specialCharacters: i0.InputSignal<string[] | readonly string[]>;
2054
2062
  patterns: i0.InputSignal<Record<string, {
@@ -2073,8 +2081,8 @@ declare class NgxMaskDirective implements ControlValueAccessor, OnChanges, Valid
2073
2081
  leadZero: i0.InputSignal<boolean | null>;
2074
2082
  triggerOnMaskChange: i0.InputSignal<boolean | null>;
2075
2083
  apm: i0.InputSignal<boolean | null>;
2076
- inputTransformFn: i0.InputSignal<InputTransformFn | null>;
2077
- outputTransformFn: i0.InputSignal<OutputTransformFn | null>;
2084
+ inputTransformFn: i0.InputSignal<matcha_components.InputTransformFn | null>;
2085
+ outputTransformFn: i0.InputSignal<matcha_components.OutputTransformFn | null>;
2078
2086
  keepCharacterPositions: i0.InputSignal<boolean | null>;
2079
2087
  instantPrefix: i0.InputSignal<boolean | null>;
2080
2088
  maskFilled: i0.OutputEmitterRef<void>;
@@ -2087,9 +2095,9 @@ declare class NgxMaskDirective implements ControlValueAccessor, OnChanges, Valid
2087
2095
  private _isFocused;
2088
2096
  /**For IME composition event */
2089
2097
  private _isComposing;
2090
- _maskService: NgxMaskService;
2098
+ _maskService: MatchaMaskService;
2091
2099
  private readonly document;
2092
- protected _config: NgxMaskConfig;
2100
+ protected _config: MatchaMaskConfig;
2093
2101
  onChange: (_: any) => void;
2094
2102
  onTouch: () => void;
2095
2103
  ngOnChanges(changes: SimpleChanges): void;
@@ -2117,30 +2125,31 @@ declare class NgxMaskDirective implements ControlValueAccessor, OnChanges, Valid
2117
2125
  private _createValidationError;
2118
2126
  private _setMask;
2119
2127
  private _areAllCharactersInEachStringSame;
2120
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskDirective, never>;
2121
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgxMaskDirective, "input[mask], textarea[mask]", ["mask", "ngxMask"], { "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>;
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>;
2122
2130
  }
2123
2131
 
2124
- declare class NgxMaskPipe implements PipeTransform {
2132
+ declare class MatchaMaskPipe implements PipeTransform {
2125
2133
  private readonly defaultOptions;
2126
2134
  private readonly _maskService;
2127
2135
  private _maskExpressionArray;
2128
2136
  private mask;
2129
- transform(value: string | number, mask: string, { patterns, ...config }?: Partial<NgxMaskConfig>): string;
2137
+ transform(value: string | number, mask: string, { patterns, ...config }?: Partial<MatchaMaskConfig>): string;
2130
2138
  private _setMask;
2131
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskPipe, never>;
2132
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxMaskPipe, "mask", false>;
2139
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskPipe, never>;
2140
+ static ɵpipe: i0.ɵɵPipeDeclaration<MatchaMaskPipe, "mask", false>;
2133
2141
  }
2134
2142
 
2135
- declare class NgxMaskModule {
2136
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskModule, never>;
2137
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgxMaskModule, [typeof NgxMaskDirective, typeof NgxMaskPipe], [typeof i2.CommonModule], [typeof NgxMaskDirective, typeof NgxMaskPipe]>;
2138
- static ɵinj: i0.ɵɵInjectorDeclaration<NgxMaskModule>;
2143
+ declare const options: MatchaMaskOptions;
2144
+ declare class MatchaMaskModule {
2145
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMaskModule, never>;
2146
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaMaskModule, [typeof MatchaMaskDirective, typeof MatchaMaskPipe], [typeof i2.CommonModule], [typeof MatchaMaskDirective, typeof MatchaMaskPipe]>;
2147
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaMaskModule>;
2139
2148
  }
2140
2149
 
2141
2150
  declare class MatchaInputPhoneModule {
2142
2151
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaInputPhoneModule, never>;
2143
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaInputPhoneModule, [typeof MatchaInputPhoneComponent], [typeof i2.CommonModule, typeof MatchaFormFieldModule, typeof i3.FormsModule, typeof NgxMaskModule], [typeof MatchaInputPhoneComponent]>;
2152
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaInputPhoneModule, [typeof MatchaInputPhoneComponent], [typeof i2.CommonModule, typeof MatchaFormFieldModule, typeof i3.FormsModule, typeof MatchaMaskModule], [typeof MatchaInputPhoneComponent]>;
2144
2153
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaInputPhoneModule>;
2145
2154
  }
2146
2155
 
@@ -2344,7 +2353,7 @@ declare class MatchaAvatarModule {
2344
2353
 
2345
2354
  declare class MatchaComponentsModule {
2346
2355
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaComponentsModule, never>;
2347
- 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 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]>;
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 MatchaMaskModule], [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 MatchaMaskModule]>;
2348
2357
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaComponentsModule>;
2349
2358
  }
2350
2359
 
@@ -2369,6 +2378,50 @@ declare class MatchaBreakpointObservableModule {
2369
2378
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaBreakpointObservableModule>;
2370
2379
  }
2371
2380
 
2381
+ declare const enum MaskExpression {
2382
+ SEPARATOR = "separator",
2383
+ PERCENT = "percent",
2384
+ IP = "IP",
2385
+ CPF_CNPJ = "CPF_CNPJ",
2386
+ MONTH = "M",
2387
+ MONTHS = "M0",
2388
+ MINUTE = "m",
2389
+ HOUR = "h",
2390
+ HOURS = "H",
2391
+ MINUTES = "m0",
2392
+ HOURS_HOUR = "Hh",
2393
+ SECONDS = "s0",
2394
+ HOURS_MINUTES_SECONDS = "Hh:m0:s0",
2395
+ EMAIL_MASK = "A*@A*.A*",
2396
+ HOURS_MINUTES = "Hh:m0",
2397
+ MINUTES_SECONDS = "m0:s0",
2398
+ DAYS_MONTHS_YEARS = "d0/M0/0000",
2399
+ DAYS_MONTHS = "d0/M0",
2400
+ DAYS = "d0",
2401
+ DAY = "d",
2402
+ SECOND = "s",
2403
+ LETTER_S = "S",
2404
+ DOT = ".",
2405
+ COMMA = ",",
2406
+ CURLY_BRACKETS_LEFT = "{",
2407
+ CURLY_BRACKETS_RIGHT = "}",
2408
+ MINUS = "-",
2409
+ OR = "||",
2410
+ HASH = "#",
2411
+ EMPTY_STRING = "",
2412
+ SYMBOL_STAR = "*",
2413
+ SYMBOL_QUESTION = "?",
2414
+ SLASH = "/",
2415
+ WHITE_SPACE = " ",
2416
+ NUMBER_ZERO = "0",
2417
+ NUMBER_NINE = "9",
2418
+ BACKSPACE = "Backspace",
2419
+ DELETE = "Delete",
2420
+ ARROW_LEFT = "ArrowLeft",
2421
+ ARROW_UP = "ArrowUp",
2422
+ DOUBLE_ZERO = "00"
2423
+ }
2424
+
2372
2425
  /**
2373
2426
  * Serviço responsável pela implementação técnica do overlay e backdrop dos modais.
2374
2427
  *
@@ -2476,5 +2529,5 @@ declare class StepContentDirective {
2476
2529
  static ɵdir: i0.ɵɵDirectiveDeclaration<StepContentDirective, "[step]", never, { "step": { "alias": "step"; "required": false; }; }, {}, never, never, true, never>;
2477
2530
  }
2478
2531
 
2479
- export { CopyButtonComponent, MATCHA_OPTION_PARENT, 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, 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, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective };
2480
- export type { BreakpointState, DrawerItem, DrawerMode, DrawerPosition, DrawerSection, ILevelClasses, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaOptionParent, ModalComponent, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };
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 };
2533
+ export type { BreakpointState, DrawerItem, DrawerMode, DrawerPosition, DrawerSection, ILevelClasses, InputTransformFn, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "20.40.0",
3
+ "version": "20.42.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"