@main-class/componentes 3.2.4 → 3.2.6

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 (84) hide show
  1. package/package.json +1 -1
  2. package/crud/index.d.ts +0 -7
  3. package/crud/src/abstract-consulta-paginada-component.d.ts +0 -24
  4. package/crud/src/abstract-edicao-component.d.ts +0 -19
  5. package/crud/src/abstract-edicao-modal-component.d.ts +0 -19
  6. package/crud/src/query/query-field/query-field.component.d.ts +0 -37
  7. package/crud/src/query/query-form-field/query-form-field.component.d.ts +0 -11
  8. package/crud/src/query/query-form.component.d.ts +0 -23
  9. package/crud/src/query/query-modal-form/query-modal-form.component.d.ts +0 -13
  10. package/dialog/index.d.ts +0 -10
  11. package/dialog/src/dialog-confirmacao/dialog-confirmacao.component.d.ts +0 -23
  12. package/dialog/src/dialog-iframe/dialog-iframe.component.d.ts +0 -21
  13. package/dialog/src/dialog-sidebar/modal-template/modal-body.directive.d.ts +0 -9
  14. package/dialog/src/dialog-sidebar/modal-template/modal-close.directive.d.ts +0 -9
  15. package/dialog/src/dialog-sidebar/modal-template/modal-footer.directive.d.ts +0 -6
  16. package/dialog/src/dialog-sidebar/modal-template/modal-header.directive.d.ts +0 -6
  17. package/dialog/src/dialog-sidebar/modal-template/modal-template.component.d.ts +0 -12
  18. package/dialog/src/dialog-sidebar/modal.component.d.ts +0 -8
  19. package/dialog/src/dialog-sidebar/sidebar-modal-ref.d.ts +0 -17
  20. package/dialog/src/dialog.service.d.ts +0 -26
  21. package/fesm2022/main-class-componentes-crud.mjs +0 -458
  22. package/fesm2022/main-class-componentes-crud.mjs.map +0 -1
  23. package/fesm2022/main-class-componentes-dialog.mjs +0 -393
  24. package/fesm2022/main-class-componentes-dialog.mjs.map +0 -1
  25. package/fesm2022/main-class-componentes-form.mjs +0 -209
  26. package/fesm2022/main-class-componentes-form.mjs.map +0 -1
  27. package/fesm2022/main-class-componentes-input.mjs +0 -1812
  28. package/fesm2022/main-class-componentes-input.mjs.map +0 -1
  29. package/fesm2022/main-class-componentes-loader.mjs +0 -213
  30. package/fesm2022/main-class-componentes-loader.mjs.map +0 -1
  31. package/fesm2022/main-class-componentes-pipe.mjs +0 -27
  32. package/fesm2022/main-class-componentes-pipe.mjs.map +0 -1
  33. package/fesm2022/main-class-componentes-table.mjs +0 -443
  34. package/fesm2022/main-class-componentes-table.mjs.map +0 -1
  35. package/form/index.d.ts +0 -3
  36. package/form/src/form.component.d.ts +0 -24
  37. package/form/src/mensagens-erro/mensagens-erro.component.d.ts +0 -17
  38. package/form/src/single-click.directive.d.ts +0 -13
  39. package/input/index.d.ts +0 -25
  40. package/input/src/abstract-mat-form-field-control.d.ts +0 -48
  41. package/input/src/abstract-mat-form-field-select-control.d.ts +0 -28
  42. package/input/src/input-currency/input-currency.component.d.ts +0 -11
  43. package/input/src/input-datetime/input-datetime.component.d.ts +0 -24
  44. package/input/src/input-fileupload/input-fileupload.component.d.ts +0 -69
  45. package/input/src/input-fileupload/input-fileupload.directive.d.ts +0 -8
  46. package/input/src/input-mask/input-cep.component.d.ts +0 -7
  47. package/input/src/input-mask/input-cnpj.component.d.ts +0 -7
  48. package/input/src/input-mask/input-cpf-cnpj.component.d.ts +0 -8
  49. package/input/src/input-mask/input-cpf.component.d.ts +0 -7
  50. package/input/src/input-mask/input-mask.component.d.ts +0 -18
  51. package/input/src/input-mask/input-phone.component.d.ts +0 -7
  52. package/input/src/input-telefone-internacional/input-telefone-internacional-validator.directive.d.ts +0 -8
  53. package/input/src/input-telefone-internacional/input-telefone-internacional.component.d.ts +0 -21
  54. package/input/src/option-checkbox/all-option-checkbox.component.d.ts +0 -18
  55. package/input/src/option-checkbox/node-pool.d.ts +0 -23
  56. package/input/src/option-checkbox/option-checkbox-group.component.d.ts +0 -25
  57. package/input/src/option-checkbox/option-checkbox.component.d.ts +0 -23
  58. package/input/src/option-checkbox/option-checkbox.service.d.ts +0 -16
  59. package/input/src/option-checkbox/option-node.d.ts +0 -13
  60. package/input/src/select-autocomplete/select-autocomplete.component.d.ts +0 -17
  61. package/input/src/select-chips/select-chips.component.d.ts +0 -11
  62. package/input/src/select-many-checkbox/select-many-checkbox.component.d.ts +0 -10
  63. package/input/src/select-option/delegate-option-provider.directive.d.ts +0 -13
  64. package/input/src/select-option/select-option-provider.d.ts +0 -10
  65. package/input/src/select-option/select-option.component.d.ts +0 -10
  66. package/input/src/select-option/select-option.d.ts +0 -4
  67. package/input/src/select-radio/select-radio.component.d.ts +0 -8
  68. package/loader/index.d.ts +0 -2
  69. package/loader/src/loader.component.d.ts +0 -25
  70. package/loader/src/loader.service.d.ts +0 -20
  71. package/pipe/index.d.ts +0 -1
  72. package/pipe/src/nome-resumido.pipe.d.ts +0 -7
  73. package/table/index.d.ts +0 -9
  74. package/table/src/column/column-cell.directive.d.ts +0 -8
  75. package/table/src/column/column-footer.directive.d.ts +0 -8
  76. package/table/src/column/column-header.directive.d.ts +0 -8
  77. package/table/src/column/column.directive.d.ts +0 -16
  78. package/table/src/numeric-paginator/numeric-paginator.component.d.ts +0 -6
  79. package/table/src/paginated-table/paginated-table.component.d.ts +0 -58
  80. package/table/src/paginator-i18n.d.ts +0 -8
  81. package/table/src/table/table.component.d.ts +0 -39
  82. package/table/src/td/td.component.d.ts +0 -8
  83. package/table/src/th/th.component.d.ts +0 -8
  84. package/table/src/undefined-paginator/undefined-paginator.component.d.ts +0 -25
@@ -1,24 +0,0 @@
1
- import { AfterViewInit, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
2
- import { NgForm, NgModel } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class FormComponent implements OnInit, OnDestroy, AfterViewInit {
6
- submitted: EventEmitter<NgForm>;
7
- throttleMillis: number;
8
- private eventSubject;
9
- private subscription?;
10
- models: QueryList<NgModel>;
11
- form: NgForm;
12
- private currentModels;
13
- constructor();
14
- ngOnInit(): void;
15
- ngOnDestroy(): void;
16
- ngAfterViewInit(): void;
17
- private atualizaModels;
18
- touched(): void;
19
- untouched(): void;
20
- reset(): Observable<any>;
21
- submit(form: NgForm): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "mcl-form", never, { "throttleMillis": { "alias": "throttleMillis"; "required": false; }; }, { "submitted": "submitted"; }, ["models"], ["*"], true, never>;
24
- }
@@ -1,17 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormComponent } from '../form.component';
3
- import { FormControl, FormGroupDirective, FormGroupName } from '@angular/forms';
4
- import * as i0 from "@angular/core";
5
- export declare class MensagensErroComponent implements OnInit {
6
- private mcForm;
7
- private formGroup;
8
- private formGroupName;
9
- for?: string | FormControl;
10
- constructor(mcForm: FormComponent, formGroup: FormGroupDirective, formGroupName: FormGroupName);
11
- get group(): import("@angular/forms").FormGroup<any>;
12
- ngOnInit(): void;
13
- get control(): import("@angular/forms").AbstractControl<any, any> | undefined;
14
- get errors(): string[] | undefined;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<MensagensErroComponent, [{ optional: true; host: true; }, { optional: true; host: true; }, { optional: true; host: true; }]>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MensagensErroComponent, "[mclErrorFor]", never, { "for": { "alias": "mclErrorFor"; "required": false; }; }, {}, never, never, true, never>;
17
- }
@@ -1,13 +0,0 @@
1
- import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SingleClickDirective implements OnInit, OnDestroy {
4
- private elementRef;
5
- private subscription?;
6
- throttleMillis: number;
7
- singleClick: EventEmitter<any>;
8
- constructor(elementRef: ElementRef);
9
- ngOnInit(): void;
10
- ngOnDestroy(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<SingleClickDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<SingleClickDirective, "[mclSingleClick],[singleClick]", never, { "throttleMillis": { "alias": "throttleMillis"; "required": false; }; }, { "singleClick": "singleClick"; }, never, never, true, never>;
13
- }
package/input/index.d.ts DELETED
@@ -1,25 +0,0 @@
1
- export * from './src/abstract-mat-form-field-control';
2
- export * from './src/abstract-mat-form-field-select-control';
3
- export * from './src/input-currency/input-currency.component';
4
- export * from './src/input-datetime/input-datetime.component';
5
- export * from './src/input-fileupload/input-fileupload.component';
6
- export * from './src/input-fileupload/input-fileupload.directive';
7
- export * from './src/input-mask/input-cnpj.component';
8
- export * from './src/input-mask/input-cep.component';
9
- export * from './src/input-mask/input-cpf-cnpj.component';
10
- export * from './src/input-mask/input-cpf.component';
11
- export * from './src/input-mask/input-mask.component';
12
- export * from './src/input-mask/input-phone.component';
13
- export * from './src/option-checkbox/all-option-checkbox.component';
14
- export * from './src/option-checkbox/option-checkbox.component';
15
- export * from './src/option-checkbox/option-checkbox-group.component';
16
- export * from './src/select-chips/select-chips.component';
17
- export * from './src/select-autocomplete/select-autocomplete.component';
18
- export * from './src/select-option/select-option';
19
- export * from './src/select-option/select-option-provider';
20
- export * from './src/select-option/select-option.component';
21
- export * from './src/select-option/delegate-option-provider.directive';
22
- export * from './src/select-many-checkbox/select-many-checkbox.component';
23
- export * from './src/select-radio/select-radio.component';
24
- export * from './src/input-telefone-internacional/input-telefone-internacional.component';
25
- export * from './src/input-telefone-internacional/input-telefone-internacional-validator.directive';
@@ -1,48 +0,0 @@
1
- import { ControlValueAccessor, FormGroupDirective, NgControl } from '@angular/forms';
2
- import { Subject } from 'rxjs';
3
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
4
- import { ErrorStateMatcher } from '@angular/material/core';
5
- import { MatFormFieldControl } from '@angular/material/form-field';
6
- import * as i0 from "@angular/core";
7
- export declare abstract class AbstractMatFormFieldControl<T> implements OnInit, ControlValueAccessor, MatFormFieldControl<T | undefined>, OnDestroy {
8
- readonly errorStateMatcher: ErrorStateMatcher;
9
- readonly ngControl: NgControl | null;
10
- readonly parentFormGroup: FormGroupDirective | null;
11
- static nextId: number;
12
- private $value?;
13
- private $placeholder;
14
- private $disabled;
15
- private $required;
16
- focused: boolean;
17
- input: ElementRef;
18
- stateChanges: Subject<void>;
19
- id: string;
20
- describedBy: string;
21
- protected onChange: (val: any) => void;
22
- protected onTouched: () => void;
23
- get value(): T | undefined;
24
- set value(value: T | undefined);
25
- get empty(): boolean;
26
- get autofilled(): boolean;
27
- get userAriaDescribedBy(): undefined;
28
- get disableAutomaticLabeling(): undefined;
29
- onContainerClick(event: MouseEvent): void;
30
- ngOnInit(): void;
31
- get shouldLabelFloat(): any;
32
- get placeholder(): string;
33
- set placeholder(plh: string);
34
- get required(): any;
35
- set required(value: any);
36
- get disabled(): boolean;
37
- set disabled(value: boolean);
38
- get errorState(): boolean;
39
- get controlType(): string;
40
- setDescribedByIds(ids: string[]): void;
41
- ngOnDestroy(): void;
42
- registerOnTouched(fn: any): void;
43
- registerOnChange(fn: any): void;
44
- setDisabledState(isDisabled: boolean): void;
45
- writeValue(value: T): void;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractMatFormFieldControl<any>, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractMatFormFieldControl<any>, "ng-component", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
48
- }
@@ -1,28 +0,0 @@
1
- import { AfterContentInit } from '@angular/core';
2
- import { Observable, Subscription } from 'rxjs';
3
- import { FormControl } from '@angular/forms';
4
- import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
5
- import { AbstractMatFormFieldControl } from './abstract-mat-form-field-control';
6
- import { SelectOption } from './select-option/select-option';
7
- import { SelectOptionProvider } from './select-option/select-option-provider';
8
- import * as i0 from "@angular/core";
9
- export declare abstract class AbstractMatFormFieldSelectControl<T> extends AbstractMatFormFieldControl<T> implements AfterContentInit {
10
- protected readonly optionProvider: SelectOptionProvider<any> | null;
11
- protected optionsSubscription?: Subscription;
12
- private $args;
13
- private wvt;
14
- filteredOptions?: Observable<SelectOption[]>;
15
- control: FormControl<string | null>;
16
- trackBy: (val: any) => any;
17
- private options;
18
- private defaultOptionProvider;
19
- doTrackBy(val: any): any;
20
- set args(args: any);
21
- ngAfterContentInit(): void;
22
- ngOnDestroy(): void;
23
- seleciona(event: MatAutocompleteSelectedEvent): void;
24
- doSeleciona(value: any | undefined): void;
25
- writeValue(value: any): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractMatFormFieldSelectControl<any>, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractMatFormFieldSelectControl<any>, "ng-component", never, { "trackBy": { "alias": "trackBy"; "required": false; }; "args": { "alias": "args"; "required": false; }; }, {}, ["options"], never, true, never>;
28
- }
@@ -1,11 +0,0 @@
1
- import { AbstractMatFormFieldControl } from '../abstract-mat-form-field-control';
2
- import * as i0 from "@angular/core";
3
- export declare class InputCurrencyComponent extends AbstractMatFormFieldControl<string> {
4
- get value(): string | undefined;
5
- set value(value: string | undefined);
6
- protected applyMask(value: string | undefined): string | undefined;
7
- protected removeMask(value: string | undefined): string | undefined;
8
- writeValue(value: any): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<InputCurrencyComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCurrencyComponent, "mcl-input[currency]", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,24 +0,0 @@
1
- import { AbstractMatFormFieldControl } from '../abstract-mat-form-field-control';
2
- import { MatDatetimepickerComponent } from '@mat-datetimepicker/core';
3
- import { Moment } from 'moment';
4
- import * as i0 from "@angular/core";
5
- export declare class InputDatetimeComponent extends AbstractMatFormFieldControl<Date | Moment | undefined> {
6
- private readonly formats;
7
- private readonly adapter;
8
- type: 'datetime' | 'date' | 'time';
9
- readonly: any;
10
- name?: string;
11
- picker: MatDatetimepickerComponent<Date>;
12
- private innerValue?;
13
- private $maskedValue?;
14
- get empty(): boolean;
15
- get maskedValue(): string | undefined;
16
- set maskedValue(maskedValue: string);
17
- get mask(): "##/##/####" | "##:##" | "##/##/#### ##:##";
18
- get format(): any;
19
- get value(): Date | Moment | undefined;
20
- set value(value: Date | Moment | undefined);
21
- writeValue(value: Date | undefined): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<InputDatetimeComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<InputDatetimeComponent, "mcl-input-datetime", never, { "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
24
- }
@@ -1,69 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
- import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
3
- import { Observable, Subject } from 'rxjs';
4
- import { MatFormFieldControl } from '@angular/material/form-field';
5
- import { ErrorStateMatcher } from '@angular/material/core';
6
- import { ArquivoManagerService } from '@main-class/componentes/arquivo';
7
- import * as i0 from "@angular/core";
8
- export declare class InputFileUploadComponent implements ControlValueAccessor, MatFormFieldControl<string | Array<string>>, OnDestroy {
9
- private errorStateMatcher;
10
- ngControl: NgControl;
11
- private parentForm;
12
- private changeDetectorRef;
13
- private parentFormGroup;
14
- private arquivoService;
15
- static nextId: number;
16
- private $placeholder;
17
- private $disabled;
18
- private $required;
19
- value: any;
20
- multiple: any;
21
- limite: any;
22
- accept?: string | Array<string>;
23
- template: 'chips' | 'preview' | 'manual';
24
- agrupadores?: string[];
25
- input: ElementRef;
26
- selectCancel: EventEmitter<any>;
27
- stateChanges: Subject<void>;
28
- change: EventEmitter<any>;
29
- id: string;
30
- describedBy: string;
31
- constructor(errorStateMatcher: ErrorStateMatcher, ngControl: NgControl, parentForm: NgForm, changeDetectorRef: ChangeDetectorRef, parentFormGroup: FormGroupDirective, arquivoService: ArquivoManagerService);
32
- private onChange;
33
- private onTouched;
34
- get focused(): any;
35
- get empty(): boolean;
36
- onContainerClick(event: MouseEvent): void;
37
- get shouldLabelFloat(): boolean;
38
- get placeholder(): string;
39
- set placeholder(plh: string);
40
- get required(): any;
41
- set required(value: any);
42
- get disabled(): boolean;
43
- set disabled(value: boolean);
44
- get errorState(): boolean;
45
- get controlType(): string;
46
- setDescribedByIds(ids: string[]): void;
47
- ngOnDestroy(): void;
48
- upload(arquivo: UploadingAttachment): Observable<unknown>;
49
- private parseLimite;
50
- private validaFormato;
51
- uploadNext(): void;
52
- onFileChange(event: any): void;
53
- openFileChooser(): void;
54
- remover(arquivo: UploadingAttachment): Promise<void>;
55
- registerOnTouched(fn: any): void;
56
- registerOnChange(fn: any): void;
57
- setDisabledState(isDisabled: boolean): void;
58
- writeValue(obj: any): void;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFileUploadComponent, [null, { optional: true; self: true; }, { optional: true; }, null, { optional: true; }, null]>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<InputFileUploadComponent, "mcl-input-fileupload", never, { "multiple": { "alias": "multiple"; "required": false; }; "limite": { "alias": "limite"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "template": { "alias": "template"; "required": false; }; "agrupadores": { "alias": "agrupadores"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectCancel": "selectCancel"; "stateChanges": "change"; "change": "change"; }, never, never, true, never>;
61
- }
62
- export interface UploadingAttachment {
63
- nome: string;
64
- length?: number;
65
- loading: boolean;
66
- progresso?: number;
67
- error?: any;
68
- file: File;
69
- }
@@ -1,8 +0,0 @@
1
- import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class InputFileUploadValidatorDirective implements Validator {
4
- multiple: boolean;
5
- validate(control: AbstractControl): ValidationErrors | null;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFileUploadValidatorDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<InputFileUploadValidatorDirective, "mcl-input-fileupload,[mclFileupload]", never, { "multiple": { "alias": "multiple"; "required": false; }; }, {}, never, never, true, never>;
8
- }
@@ -1,7 +0,0 @@
1
- import { InputMaskComponent } from './input-mask.component';
2
- import * as i0 from "@angular/core";
3
- export declare class InputCepComponent extends InputMaskComponent {
4
- constructor();
5
- static ɵfac: i0.ɵɵFactoryDeclaration<InputCepComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCepComponent, "mcl-input[cep]", never, {}, {}, never, never, true, never>;
7
- }
@@ -1,7 +0,0 @@
1
- import { InputMaskComponent } from './input-mask.component';
2
- import * as i0 from "@angular/core";
3
- export declare class InputCnpjComponent extends InputMaskComponent {
4
- constructor();
5
- static ɵfac: i0.ɵɵFactoryDeclaration<InputCnpjComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCnpjComponent, "mcl-input[cnpj]", never, {}, {}, never, never, true, never>;
7
- }
@@ -1,8 +0,0 @@
1
- import { InputMaskComponent } from './input-mask.component';
2
- import * as i0 from "@angular/core";
3
- export declare class InputCpfCnpjComponent extends InputMaskComponent {
4
- get value(): string | undefined;
5
- set value(value: string | undefined);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<InputCpfCnpjComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCpfCnpjComponent, "mcl-input[cpfCnpj]", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,7 +0,0 @@
1
- import { InputMaskComponent } from './input-mask.component';
2
- import * as i0 from "@angular/core";
3
- export declare class InputCpfComponent extends InputMaskComponent {
4
- constructor();
5
- static ɵfac: i0.ɵɵFactoryDeclaration<InputCpfComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCpfComponent, "mcl-input[cpf]", never, {}, {}, never, never, true, never>;
7
- }
@@ -1,18 +0,0 @@
1
- import { AbstractMatFormFieldControl } from '../abstract-mat-form-field-control';
2
- import * as i0 from "@angular/core";
3
- export declare class InputMaskComponent extends AbstractMatFormFieldControl<string> {
4
- /**
5
- * Example ###.###
6
- * @private
7
- */
8
- private $mask?;
9
- keepMask?: boolean;
10
- get value(): string | undefined;
11
- set value(value: string | undefined);
12
- set mask(mask: string);
13
- protected applyMask(value: string | undefined): string;
14
- protected removeMask<T extends string | undefined>(value: T): T;
15
- writeValue(value: any): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<InputMaskComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<InputMaskComponent, "mcl-input[mask]", never, { "keepMask": { "alias": "keepMask"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; }, {}, never, never, true, never>;
18
- }
@@ -1,7 +0,0 @@
1
- import { InputMaskComponent } from './input-mask.component';
2
- import * as i0 from "@angular/core";
3
- export declare class InputPhoneComponent extends InputMaskComponent {
4
- protected applyMask(value: string | undefined): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<InputPhoneComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<InputPhoneComponent, "mcl-input[phone]", never, {}, {}, never, never, true, never>;
7
- }
@@ -1,8 +0,0 @@
1
- import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class InputTelefoneInternacionalValidatorDirective implements Validator {
4
- constructor();
5
- validate(control: AbstractControl): ValidationErrors | null;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<InputTelefoneInternacionalValidatorDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<InputTelefoneInternacionalValidatorDirective, "mcl-input-telefone-intl,[mclInputTelefoneIntl]", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,21 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { AbstractMatFormFieldControl } from '../abstract-mat-form-field-control';
3
- import { LacMatTelInputComponent } from 'lac-mat-tel-input';
4
- import * as i0 from "@angular/core";
5
- export declare class InputTelefoneInternacionalComponent extends AbstractMatFormFieldControl<string | undefined> {
6
- preferredContries: Array<string>;
7
- readonly: any;
8
- blur: EventEmitter<any>;
9
- alwaysShowCountry: boolean;
10
- telInput?: LacMatTelInputComponent;
11
- private $innerValue?;
12
- get value(): string | undefined;
13
- set value(value: string | undefined);
14
- get shouldLabelFloat(): any;
15
- get empty(): boolean;
16
- onFocus(): void;
17
- onBlur(): void;
18
- writeValue(value: string): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<InputTelefoneInternacionalComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<InputTelefoneInternacionalComponent, "mcl-input-telefone-intl", never, { "preferredContries": { "alias": "preferredContries"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "alwaysShowCountry": { "alias": "alwaysShowCountry"; "required": false; }; }, { "blur": "blur"; }, never, never, true, never>;
21
- }
@@ -1,18 +0,0 @@
1
- import { EventEmitter } from "@angular/core";
2
- import { OptionCheckboxService } from "./option-checkbox.service";
3
- import { Observable } from "rxjs";
4
- import * as i0 from "@angular/core";
5
- export declare class AllOptionCheckboxComponent {
6
- private fotonOptionCheckboxService;
7
- private _name;
8
- disabled: boolean;
9
- change: EventEmitter<any>;
10
- selected?: Observable<boolean | undefined>;
11
- private pool?;
12
- constructor(fotonOptionCheckboxService: OptionCheckboxService);
13
- get name(): string;
14
- set name(name: string);
15
- setSelected(selected: boolean): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<AllOptionCheckboxComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<AllOptionCheckboxComponent, "mcl-option-checkbox[select-all-option]", never, { "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
18
- }
@@ -1,23 +0,0 @@
1
- import { OptionNode } from "./option-node";
2
- import { Observable } from "rxjs";
3
- import { OptionCheckboxGroupComponent } from "./option-checkbox-group.component";
4
- export declare class NodePool {
5
- name: string;
6
- private _nodes;
7
- private _touch;
8
- private _groups;
9
- constructor(name: string);
10
- model(): Observable<Array<any> | undefined>;
11
- touch(): Observable<any>;
12
- all(): Observable<boolean>;
13
- get empty(): boolean;
14
- dispose(): void;
15
- touched(): void;
16
- register(value: any): OptionNode;
17
- unregister(node: OptionNode): void;
18
- registerGroup(group: OptionCheckboxGroupComponent): void;
19
- unregisterGroup(group: OptionCheckboxGroupComponent): void;
20
- private lastValues;
21
- writeValue(values: Array<any>): void;
22
- setAll(selected: boolean): void;
23
- }
@@ -1,25 +0,0 @@
1
- import { EventEmitter, OnDestroy } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { OptionCheckboxService } from './option-checkbox.service';
4
- import * as i0 from "@angular/core";
5
- export declare class OptionCheckboxGroupComponent implements ControlValueAccessor, OnDestroy {
6
- private optionCheckboxService;
7
- private callbackTimeout;
8
- private _name;
9
- private pool?;
10
- disabled: boolean;
11
- change: EventEmitter<any>;
12
- touched: EventEmitter<any>;
13
- constructor(optionCheckboxService: OptionCheckboxService);
14
- private onTouchedCallback;
15
- private onChangeCallback;
16
- get name(): any;
17
- set name(n: any);
18
- onBlur(): void;
19
- ngOnDestroy(): void;
20
- writeValue(value: any): void;
21
- registerOnChange(fn: any): void;
22
- registerOnTouched(fn: any): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionCheckboxGroupComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<OptionCheckboxGroupComponent, "mcl-option-checkbox-group", never, { "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "change": "change"; "touched": "touched"; }, never, never, true, never>;
25
- }
@@ -1,23 +0,0 @@
1
- import { EventEmitter, OnDestroy } from '@angular/core';
2
- import { OptionCheckboxService } from "./option-checkbox.service";
3
- import { Observable } from "rxjs";
4
- import * as i0 from "@angular/core";
5
- export declare class OptionCheckboxComponent implements OnDestroy {
6
- private fotonOptionCheckboxService;
7
- private _name;
8
- private _value;
9
- private node?;
10
- selected?: Observable<boolean>;
11
- disabled: boolean;
12
- change: EventEmitter<any>;
13
- constructor(fotonOptionCheckboxService: OptionCheckboxService);
14
- setSelected(selected: boolean): void;
15
- get value(): any;
16
- set value(v: any);
17
- get name(): any;
18
- set name(n: any);
19
- onBlur(): void;
20
- ngOnDestroy(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionCheckboxComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<OptionCheckboxComponent, "mcl-option-checkbox:not([select-all-option])", never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
23
- }
@@ -1,16 +0,0 @@
1
- import { NodePool } from "./node-pool";
2
- import { OptionNode } from "./option-node";
3
- import { OptionCheckboxGroupComponent } from "./option-checkbox-group.component";
4
- import * as i0 from "@angular/core";
5
- export declare class OptionCheckboxService {
6
- private nodes;
7
- getPool(name: string): NodePool;
8
- registerGroup(name: string, group: OptionCheckboxGroupComponent): NodePool;
9
- unregisterGroup(name: string, group: OptionCheckboxGroupComponent): void;
10
- unregister(name: string, node: OptionNode): void;
11
- register(name: string, value: any): OptionNode;
12
- setAll(name: string, selected: boolean): void;
13
- writeValue(name: string, model: Array<any>): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionCheckboxService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<OptionCheckboxService>;
16
- }
@@ -1,13 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import { NodePool } from "./node-pool";
3
- export declare class OptionNode {
4
- private pool;
5
- value: any;
6
- private readonly subject;
7
- constructor(pool: NodePool, value: any, selected?: boolean);
8
- get model(): Observable<Array<any> | undefined>;
9
- get observable(): Observable<boolean>;
10
- setSelected(selected: boolean): void;
11
- dispose(): void;
12
- touched(): void;
13
- }
@@ -1,17 +0,0 @@
1
- import { AfterContentInit, EventEmitter } from '@angular/core';
2
- import { AbstractMatFormFieldSelectControl } from '../abstract-mat-form-field-select-control';
3
- import * as i0 from "@angular/core";
4
- export declare class SelectAutocompleteComponent extends AbstractMatFormFieldSelectControl<any> implements AfterContentInit {
5
- readonly: any;
6
- select: EventEmitter<any>;
7
- blur: EventEmitter<any>;
8
- get shouldLabelFloat(): any;
9
- get empty(): boolean;
10
- onFocus(): void;
11
- onBlur(): void;
12
- didTouch(): void;
13
- ngOnDestroy(): void;
14
- setDisabledState(isDisabled: boolean): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectAutocompleteComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectAutocompleteComponent, "mcl-select-autocomplete", never, { "readonly": { "alias": "readonly"; "required": false; }; }, { "select": "select"; "blur": "blur"; }, never, never, true, never>;
17
- }
@@ -1,11 +0,0 @@
1
- import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
2
- import { AbstractMatFormFieldSelectControl } from '../abstract-mat-form-field-select-control';
3
- import { MatChipInputEvent } from '@angular/material/chips';
4
- import * as i0 from "@angular/core";
5
- export declare class SelectChipsComponent extends AbstractMatFormFieldSelectControl<any> {
6
- add(event: MatChipInputEvent): void;
7
- remove(item: string): void;
8
- selected(event: MatAutocompleteSelectedEvent): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectChipsComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectChipsComponent, "mcl-select-chips", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,10 +0,0 @@
1
- import { AbstractMatFormFieldSelectControl } from '../abstract-mat-form-field-select-control';
2
- import * as i0 from "@angular/core";
3
- export declare class SelectManyCheckboxComponent extends AbstractMatFormFieldSelectControl<any> {
4
- layout: 'vertical' | 'grid' | 'horizontal';
5
- layoutColumns: number;
6
- selected(value: any): boolean;
7
- change(value: any, checked: boolean): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectManyCheckboxComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectManyCheckboxComponent, "mcl-select-many-checkbox", never, { "layout": { "alias": "layout"; "required": false; }; "layoutColumns": { "alias": "layoutColumns"; "required": false; }; }, {}, never, never, true, never>;
10
- }
@@ -1,13 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import { SelectOptionProvider } from './select-option-provider';
3
- import { SelectOption } from './select-option';
4
- import * as i0 from "@angular/core";
5
- export declare class DelegateOptionProviderDirective implements SelectOptionProvider {
6
- delegate?: SelectOptionProvider;
7
- type(): "number" | "object" | "string" | "date";
8
- provide(search: string | null): Observable<SelectOption<any>[]>;
9
- label(value: any): string;
10
- trackBy(value: any): any;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<DelegateOptionProviderDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<DelegateOptionProviderDirective, "mcl-select-autocomplete[delegate]", never, { "delegate": { "alias": "delegate"; "required": false; }; }, {}, never, never, true, never>;
13
- }
@@ -1,10 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import { SelectOption } from "./select-option";
3
- import { InjectionToken } from "@angular/core";
4
- export declare const SELECT_OPTION_PROVIDER: InjectionToken<SelectOptionProvider<any>>;
5
- export interface SelectOptionProvider<T = any> {
6
- type(): 'number' | 'object' | 'string' | 'date';
7
- provide(search: string | null): Observable<SelectOption<T>[]>;
8
- label(value: T): string;
9
- trackBy?(value: T | undefined): any;
10
- }
@@ -1,10 +0,0 @@
1
- import { SelectOption } from "./select-option";
2
- import * as i0 from "@angular/core";
3
- export declare class SelectOptionComponent implements SelectOption {
4
- value?: any;
5
- private $label?;
6
- set label(label: any);
7
- get label(): any;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectOptionComponent, "mcl-select-option", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
10
- }
@@ -1,4 +0,0 @@
1
- export interface SelectOption<T = any> {
2
- value?: T;
3
- label?: any;
4
- }
@@ -1,8 +0,0 @@
1
- import { AbstractMatFormFieldSelectControl } from '../abstract-mat-form-field-select-control';
2
- import * as i0 from "@angular/core";
3
- export declare class SelectRadioComponent extends AbstractMatFormFieldSelectControl<any> {
4
- layout: 'vertical' | 'horizontal';
5
- get shouldLabelFloat(): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectRadioComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectRadioComponent, "mcl-select-radio", never, { "layout": { "alias": "layout"; "required": false; }; }, {}, never, never, true, never>;
8
- }
package/loader/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './src/loader.component';
2
- export * from './src/loader.service';