matcha-components 19.109.0 → 19.111.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.
Files changed (26) hide show
  1. package/fesm2022/matcha-components.mjs +1128 -4638
  2. package/fesm2022/matcha-components.mjs.map +1 -1
  3. package/lib/matcha-components.module.d.ts +23 -24
  4. package/lib/matcha-drop-list/directives/drag-handle.directive.d.ts +12 -0
  5. package/lib/matcha-drop-list/directives/drag.directive.d.ts +51 -0
  6. package/lib/matcha-drop-list/drop-list/drop-list.component.d.ts +59 -0
  7. package/lib/matcha-drop-list/drop-list.module.d.ts +10 -0
  8. package/lib/matcha-drop-list/services/drop-list.service.d.ts +10 -0
  9. package/lib/matcha-skeleton/skeleton/skeleton.component.d.ts +12 -0
  10. package/lib/matcha-skeleton/skeleton.module.d.ts +8 -0
  11. package/package.json +1 -1
  12. package/public-api.d.ts +8 -13
  13. package/lib/matcha-input-phone/all-countries.d.ts +0 -8
  14. package/lib/matcha-input-phone/input-phone.component.d.ts +0 -69
  15. package/lib/matcha-input-phone/input-phone.module.d.ts +0 -11
  16. package/lib/matcha-input-phone/lib/custom-keyboard-event.d.ts +0 -1
  17. package/lib/matcha-input-phone/lib/ngx-mask-applier.service.d.ts +0 -55
  18. package/lib/matcha-input-phone/lib/ngx-mask-expression.enum.d.ts +0 -43
  19. package/lib/matcha-input-phone/lib/ngx-mask.config.d.ts +0 -40
  20. package/lib/matcha-input-phone/lib/ngx-mask.directive.d.ts +0 -78
  21. package/lib/matcha-input-phone/lib/ngx-mask.module.d.ts +0 -11
  22. package/lib/matcha-input-phone/lib/ngx-mask.pipe.d.ts +0 -13
  23. package/lib/matcha-input-phone/lib/ngx-mask.providers.d.ts +0 -4
  24. package/lib/matcha-input-phone/lib/ngx-mask.service.d.ts +0 -83
  25. package/lib/matcha-tree/tree.directive.d.ts +0 -9
  26. package/lib/matcha-tree/tree.module.d.ts +0 -8
@@ -1,11 +0,0 @@
1
- import { NgxMaskOptions } from './ngx-mask.config';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./ngx-mask.directive";
4
- import * as i2 from "./ngx-mask.pipe";
5
- import * as i3 from "@angular/common";
6
- export declare const options: NgxMaskOptions;
7
- export declare class NgxMaskModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgxMaskModule, [typeof i1.NgxMaskDirective, typeof i2.NgxMaskPipe], [typeof i3.CommonModule], [typeof i1.NgxMaskDirective, typeof i2.NgxMaskPipe]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<NgxMaskModule>;
11
- }
@@ -1,13 +0,0 @@
1
- import type { PipeTransform } from '@angular/core';
2
- import type { NgxMaskConfig } from './ngx-mask.config';
3
- import * as i0 from "@angular/core";
4
- export declare class NgxMaskPipe implements PipeTransform {
5
- private readonly defaultOptions;
6
- private readonly _maskService;
7
- private _maskExpressionArray;
8
- private mask;
9
- transform(value: string | number, mask: string, { patterns, ...config }?: Partial<NgxMaskConfig>): string;
10
- private _setMask;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskPipe, never>;
12
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxMaskPipe, "mask", false>;
13
- }
@@ -1,4 +0,0 @@
1
- import type { EnvironmentProviders, Provider } from '@angular/core';
2
- import type { NgxMaskOptions } from './ngx-mask.config';
3
- export declare function provideNgxMask(configValue?: NgxMaskOptions | (() => NgxMaskOptions)): Provider[];
4
- export declare function provideEnvironmentNgxMask(configValue?: NgxMaskOptions | (() => NgxMaskOptions)): EnvironmentProviders;
@@ -1,83 +0,0 @@
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
- previousValue: string;
13
- currentValue: string;
14
- /**
15
- * Whether we are currently in writeValue function, in this case when applying the mask we don't want to trigger onChange function,
16
- * since writeValue should be a one way only process of writing the DOM value based on the Angular model value.
17
- */
18
- writingValue: boolean;
19
- private _emitValue;
20
- private _start;
21
- private _end;
22
- onChange: (_: any) => void;
23
- readonly _elementRef: ElementRef<any> | null;
24
- private readonly document;
25
- protected _config: NgxMaskConfig;
26
- private readonly _renderer;
27
- /**
28
- * Applies the mask to the input value.
29
- * @param inputValue The input value to be masked.
30
- * @param maskExpression The mask expression to apply.
31
- * @param position The position in the input value.
32
- * @param justPasted Whether the value was just pasted.
33
- * @param backspaced Whether the value was backspaced.
34
- * @param cb Callback function.
35
- * @returns The masked value.
36
- */
37
- applyMask(inputValue: string, maskExpression: string, position?: number, justPasted?: boolean, backspaced?: boolean, cb?: (...args: any[]) => any): string;
38
- private _numberSkipedSymbols;
39
- applyValueChanges(position: number, justPasted: boolean, backspaced: boolean, cb?: (...args: any[]) => any): void;
40
- hideInput(inputValue: string, maskExpression: string): string;
41
- getActualValue(res: string): string;
42
- shiftTypedSymbols(inputValue: string): string;
43
- /**
44
- * Convert number value to string
45
- * 3.1415 -> '3.1415'
46
- * 1e-7 -> '0.0000001'
47
- */
48
- numberToString(value: number | string): string;
49
- showMaskInInput(inputVal?: string): string;
50
- clearIfNotMatchFn(): void;
51
- set formElementProperty([name, value]: [string, string | boolean]);
52
- checkDropSpecialCharAmount(mask: string): number;
53
- removeMask(inputValue: string): string;
54
- private _checkForIp;
55
- private _checkForCpfCnpj;
56
- /**
57
- * Recursively determine the current active element by navigating the Shadow DOM until the Active Element is found.
58
- */
59
- private _getActiveElement;
60
- /**
61
- * Propogates the input value back to the Angular model by triggering the onChange function. It won't do this if writingValue
62
- * is true. If that is true it means we are currently in the writeValue function, which is supposed to only update the actual
63
- * DOM element based on the Angular model value. It should be a one way process, i.e. writeValue should not be modifying the Angular
64
- * model value too. Therefore, we don't trigger onChange in this scenario.
65
- * @param inputValue the current form input value
66
- */
67
- private formControlResult;
68
- private _toNumber;
69
- private _removeMask;
70
- private _removePrefix;
71
- private _removeSuffix;
72
- private _retrieveSeparatorValue;
73
- private _regExpForRemove;
74
- private _replaceDecimalMarkerToDot;
75
- _checkSymbols(result: string): string | number | undefined | null;
76
- private _checkPatternForSpace;
77
- private _retrieveSeparatorPrecision;
78
- _checkPrecision(separatorExpression: string, separatorValue: string): number | string;
79
- _repeatPatternSymbols(maskExp: string): string;
80
- currentLocaleDecimalMarker(): string;
81
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskService, never>;
82
- static ɵprov: i0.ɵɵInjectableDeclaration<NgxMaskService>;
83
- }
@@ -1,9 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MatchaTreeDirective {
4
- private _elementRef;
5
- private _renderer;
6
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTreeDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaTreeDirective, "[matchaTree]", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./tree.directive";
3
- import * as i2 from "@angular/common";
4
- export declare class MatchaTreeModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTreeModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaTreeModule, [typeof i1.MatchaTreeDirective], [typeof i2.CommonModule], [typeof i1.MatchaTreeDirective]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaTreeModule>;
8
- }