matcha-components 20.45.0 → 20.46.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 +2 -999
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/index.d.ts +1 -84
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ 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';
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* Interface que deve ser implementada por componentes que querem usar matcha-option como filho
|
|
@@ -2351,81 +2350,6 @@ declare class MatchaBreakpointObservableModule {
|
|
|
2351
2350
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaBreakpointObservableModule>;
|
|
2352
2351
|
}
|
|
2353
2352
|
|
|
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
2353
|
declare class MatchaMaskPipe implements PipeTransform {
|
|
2430
2354
|
private readonly defaultOptions;
|
|
2431
2355
|
private readonly _maskService;
|
|
@@ -2481,13 +2405,6 @@ declare const enum MaskExpression {
|
|
|
2481
2405
|
DOUBLE_ZERO = "00"
|
|
2482
2406
|
}
|
|
2483
2407
|
|
|
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
|
-
|
|
2491
2408
|
/**
|
|
2492
2409
|
* Serviço responsável pela implementação técnica do overlay e backdrop dos modais.
|
|
2493
2410
|
*
|
|
@@ -2595,5 +2512,5 @@ declare class StepContentDirective {
|
|
|
2595
2512
|
static ɵdir: i0.ɵɵDirectiveDeclaration<StepContentDirective, "[step]", never, { "step": { "alias": "step"; "required": false; }; }, {}, never, never, true, never>;
|
|
2596
2513
|
}
|
|
2597
2514
|
|
|
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,
|
|
2515
|
+
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, 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, timeMasks, withoutValidation };
|
|
2599
2516
|
export type { BreakpointState, DrawerItem, DrawerMode, DrawerPosition, DrawerSection, ILevelClasses, InputTransformFn, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };
|