@main-class/componentes 3.11.2 → 4.0.0-next.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 (136) hide show
  1. package/README.md +17 -0
  2. package/fesm2022/main-class-componentes-arquivo.mjs +851 -369
  3. package/fesm2022/main-class-componentes-arquivo.mjs.map +1 -1
  4. package/fesm2022/main-class-componentes-core.mjs +288 -240
  5. package/fesm2022/main-class-componentes-core.mjs.map +1 -1
  6. package/fesm2022/main-class-componentes-crud.mjs +1004 -546
  7. package/fesm2022/main-class-componentes-crud.mjs.map +1 -1
  8. package/fesm2022/main-class-componentes-dialog.mjs +758 -385
  9. package/fesm2022/main-class-componentes-dialog.mjs.map +1 -1
  10. package/fesm2022/main-class-componentes-form.mjs +299 -196
  11. package/fesm2022/main-class-componentes-form.mjs.map +1 -1
  12. package/fesm2022/main-class-componentes-input.mjs +4143 -2141
  13. package/fesm2022/main-class-componentes-input.mjs.map +1 -1
  14. package/fesm2022/main-class-componentes-loader.mjs +262 -212
  15. package/fesm2022/main-class-componentes-loader.mjs.map +1 -1
  16. package/fesm2022/main-class-componentes-misc.mjs +508 -354
  17. package/fesm2022/main-class-componentes-misc.mjs.map +1 -1
  18. package/fesm2022/main-class-componentes-pipe.mjs +39 -26
  19. package/fesm2022/main-class-componentes-pipe.mjs.map +1 -1
  20. package/fesm2022/main-class-componentes-table.mjs +1331 -624
  21. package/fesm2022/main-class-componentes-table.mjs.map +1 -1
  22. package/fesm2022/main-class-componentes.mjs +3 -11
  23. package/fesm2022/main-class-componentes.mjs.map +1 -1
  24. package/package.json +32 -16
  25. package/types/main-class-componentes-arquivo.d.ts +190 -0
  26. package/types/main-class-componentes-core.d.ts +99 -0
  27. package/types/main-class-componentes-crud.d.ts +172 -0
  28. package/types/main-class-componentes-dialog.d.ts +125 -0
  29. package/types/main-class-componentes-form.d.ts +70 -0
  30. package/types/main-class-componentes-input.d.ts +687 -0
  31. package/types/main-class-componentes-loader.d.ts +69 -0
  32. package/types/main-class-componentes-misc.d.ts +87 -0
  33. package/types/main-class-componentes-pipe.d.ts +10 -0
  34. package/types/main-class-componentes-table.d.ts +265 -0
  35. package/types/main-class-componentes.d.ts +4 -0
  36. package/arquivo/index.d.ts +0 -5
  37. package/arquivo/src/arquivo-manager.service.d.ts +0 -13
  38. package/arquivo/src/download-arquivo.directive.d.ts +0 -12
  39. package/arquivo/src/imagem.directive.d.ts +0 -21
  40. package/arquivo/src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.d.ts +0 -23
  41. package/arquivo/src/preview-arquivo/preview-arquivo.component.d.ts +0 -27
  42. package/core/index.d.ts +0 -4
  43. package/core/src/criptografia/criptografia.service.d.ts +0 -6
  44. package/core/src/mensageria/mensageria.service.d.ts +0 -17
  45. package/core/src/mobile/mobile.service.d.ts +0 -15
  46. package/core/src/validator/valida-modulo11.service.d.ts +0 -55
  47. package/crud/index.d.ts +0 -7
  48. package/crud/src/abstract-consulta-paginada-component.d.ts +0 -24
  49. package/crud/src/abstract-edicao-component.d.ts +0 -19
  50. package/crud/src/abstract-edicao-modal-component.d.ts +0 -19
  51. package/crud/src/query/query-field/query-field.component.d.ts +0 -40
  52. package/crud/src/query/query-form-field/query-form-field.component.d.ts +0 -12
  53. package/crud/src/query/query-form.component.d.ts +0 -28
  54. package/crud/src/query/query-modal-form/query-modal-form.component.d.ts +0 -13
  55. package/dialog/index.d.ts +0 -10
  56. package/dialog/src/dialog-confirmacao/dialog-confirmacao.component.d.ts +0 -23
  57. package/dialog/src/dialog-iframe/dialog-iframe.component.d.ts +0 -21
  58. package/dialog/src/dialog-sidebar/modal-template/modal-body.directive.d.ts +0 -9
  59. package/dialog/src/dialog-sidebar/modal-template/modal-close.directive.d.ts +0 -9
  60. package/dialog/src/dialog-sidebar/modal-template/modal-footer.directive.d.ts +0 -6
  61. package/dialog/src/dialog-sidebar/modal-template/modal-header.directive.d.ts +0 -6
  62. package/dialog/src/dialog-sidebar/modal-template/modal-template.component.d.ts +0 -12
  63. package/dialog/src/dialog-sidebar/modal.component.d.ts +0 -8
  64. package/dialog/src/dialog-sidebar/sidebar-modal-ref.d.ts +0 -21
  65. package/dialog/src/dialog.service.d.ts +0 -26
  66. package/form/index.d.ts +0 -3
  67. package/form/src/form.component.d.ts +0 -24
  68. package/form/src/mensagens-erro/mensagens-erro.component.d.ts +0 -17
  69. package/form/src/single-click.directive.d.ts +0 -13
  70. package/index.d.ts +0 -5
  71. package/input/index.d.ts +0 -26
  72. package/input/src/abstract-control-value-accessor.d.ts +0 -18
  73. package/input/src/abstract-mat-form-field-control.d.ts +0 -42
  74. package/input/src/abstract-mat-form-field-select-control.d.ts +0 -31
  75. package/input/src/input-currency/input-currency.component.d.ts +0 -9
  76. package/input/src/input-datetime/input-datetime.component.d.ts +0 -32
  77. package/input/src/input-fileupload/input-fileupload-validator.directive.d.ts +0 -8
  78. package/input/src/input-fileupload/input-fileupload.component.d.ts +0 -70
  79. package/input/src/input-mask/documento-validators.d.ts +0 -7
  80. package/input/src/input-mask/input-cep.component.d.ts +0 -7
  81. package/input/src/input-mask/input-cnpj.component.d.ts +0 -7
  82. package/input/src/input-mask/input-cpf-cnpj.component.d.ts +0 -7
  83. package/input/src/input-mask/input-cpf.component.d.ts +0 -7
  84. package/input/src/input-mask/input-mask-validator.directive.d.ts +0 -16
  85. package/input/src/input-mask/input-mask.component.d.ts +0 -24
  86. package/input/src/input-mask/input-phone.component.d.ts +0 -7
  87. package/input/src/input-mask/mask-functions.d.ts +0 -2
  88. package/input/src/input-telefone-internacional/input-telefone-internacional-validator.directive.d.ts +0 -8
  89. package/input/src/input-telefone-internacional/input-telefone-internacional.component.d.ts +0 -19
  90. package/input/src/option-checkbox/all-option-checkbox.component.d.ts +0 -18
  91. package/input/src/option-checkbox/node-pool.d.ts +0 -23
  92. package/input/src/option-checkbox/option-checkbox-group.component.d.ts +0 -25
  93. package/input/src/option-checkbox/option-checkbox.component.d.ts +0 -23
  94. package/input/src/option-checkbox/option-checkbox.service.d.ts +0 -16
  95. package/input/src/option-checkbox/option-node.d.ts +0 -13
  96. package/input/src/select-autocomplete/select-autocomplete.component.d.ts +0 -15
  97. package/input/src/select-chips/select-chips.component.d.ts +0 -12
  98. package/input/src/select-many-checkbox/select-many-checkbox.component.d.ts +0 -12
  99. package/input/src/select-option/delegate-option-provider.directive.d.ts +0 -13
  100. package/input/src/select-option/select-option-provider.d.ts +0 -10
  101. package/input/src/select-option/select-option.component.d.ts +0 -10
  102. package/input/src/select-option/select-option.d.ts +0 -4
  103. package/input/src/select-radio/select-radio.component.d.ts +0 -9
  104. package/loader/index.d.ts +0 -2
  105. package/loader/src/loader.component.d.ts +0 -25
  106. package/loader/src/loader.service.d.ts +0 -20
  107. package/misc/index.d.ts +0 -12
  108. package/misc/src/cnpj/cnpj.directive.d.ts +0 -12
  109. package/misc/src/cnpj/cnpjs.pipe.d.ts +0 -7
  110. package/misc/src/cpf/cpf.directive.d.ts +0 -12
  111. package/misc/src/cpf/cpf.pipe.d.ts +0 -7
  112. package/misc/src/cpf-cnpj/cpf-cnpj.directive.d.ts +0 -12
  113. package/misc/src/cpf-cnpj/cpf-cnpj.pipe.d.ts +0 -7
  114. package/misc/src/mask/mask.pipe.d.ts +0 -8
  115. package/misc/src/monetario/monetario-mask.d.ts +0 -1
  116. package/misc/src/monetario/monetario.pipe.d.ts +0 -7
  117. package/misc/src/porcentagem/porcentagem-mask.d.ts +0 -1
  118. package/misc/src/porcentagem/porcentagem.pipe.d.ts +0 -7
  119. package/misc/src/telefone/telefone.pipe.d.ts +0 -7
  120. package/misc/src/unsafe-inner-html/unsafe-inner-html.directive.d.ts +0 -10
  121. package/pipe/index.d.ts +0 -1
  122. package/pipe/src/nome-resumido.pipe.d.ts +0 -7
  123. package/public-api.d.ts +0 -2
  124. package/table/index.d.ts +0 -10
  125. package/table/src/column/column-cell.directive.d.ts +0 -8
  126. package/table/src/column/column-footer.directive.d.ts +0 -8
  127. package/table/src/column/column-header.directive.d.ts +0 -8
  128. package/table/src/column/column.directive.d.ts +0 -16
  129. package/table/src/numeric-paginator/numeric-paginator.component.d.ts +0 -26
  130. package/table/src/paginated-table/paginated-table.component.d.ts +0 -58
  131. package/table/src/paginator-i18n.d.ts +0 -8
  132. package/table/src/table/table.component.d.ts +0 -41
  133. package/table/src/td/td.component.d.ts +0 -8
  134. package/table/src/th/th.component.d.ts +0 -8
  135. package/table/src/undefined-paginator/undefined-paginator.component.d.ts +0 -25
  136. package/table/src/virtual-paginated-table/virtual-paginated-table.component.d.ts +0 -28
@@ -1,70 +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
- fileName(arquivo: any): any;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFileUploadComponent, [null, { optional: true; self: true; }, { optional: true; }, null, { optional: true; }, null]>;
61
- 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>;
62
- }
63
- export interface UploadingAttachment {
64
- nome: string;
65
- length?: number;
66
- loading: boolean;
67
- progresso?: number;
68
- error?: any;
69
- file: File;
70
- }
@@ -1,7 +0,0 @@
1
- import { AbstractControl, ValidationErrors } from '@angular/forms';
2
- /** Valida o dígito verificador de um CPF completo (11 dígitos). */
3
- export declare function validateCpf(control: AbstractControl): ValidationErrors | null;
4
- /** Valida o dígito verificador de um CNPJ completo (14 caracteres, incluindo alfanumérico). */
5
- export declare function validateCnpj(control: AbstractControl): ValidationErrors | null;
6
- /** Valida CPF (11) ou CNPJ (14) conforme o comprimento do valor. */
7
- export declare function validateCpfCnpj(control: AbstractControl): ValidationErrors | null;
@@ -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,7 +0,0 @@
1
- import { InputMaskComponent } from './input-mask.component';
2
- import * as i0 from "@angular/core";
3
- export declare class InputCpfCnpjComponent extends InputMaskComponent {
4
- protected applyMask(value: string | undefined): string | undefined;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<InputCpfCnpjComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCpfCnpjComponent, "mcl-input[cpfCnpj]", 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 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,16 +0,0 @@
1
- import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
2
- import { InjectionToken } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export type MaskResolver = (value: string) => string;
5
- export declare const MASK_RESOLVER: InjectionToken<unknown>;
6
- export declare class InputMaskValidatorDirective implements Validator {
7
- private readonly maskResolver?;
8
- private $mask?;
9
- private onValidatorChange;
10
- constructor(maskResolver?: MaskResolver);
11
- set mask(mask: string | undefined);
12
- validate(control: AbstractControl): ValidationErrors | null;
13
- registerOnValidatorChange(fn: () => void): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<InputMaskValidatorDirective, [{ optional: true; }]>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<InputMaskValidatorDirective, "mcl-input[mask]", never, { "mask": { "alias": "mask"; "required": false; }; }, {}, never, never, true, never>;
16
- }
@@ -1,24 +0,0 @@
1
- import { AfterViewInit, EventEmitter } from '@angular/core';
2
- import { AbstractMatFormFieldControl } from '../abstract-mat-form-field-control';
3
- import * as i0 from "@angular/core";
4
- export declare class InputMaskComponent extends AbstractMatFormFieldControl<string> implements AfterViewInit {
5
- /**
6
- * Example ###.###
7
- * @private
8
- */
9
- protected $mask?: string;
10
- keepMask?: boolean;
11
- onFocusin: EventEmitter<any>;
12
- onFocusout: EventEmitter<any>;
13
- protected onControlValueChange(value: string | undefined): void;
14
- set mask(mask: string);
15
- ngAfterViewInit(): void;
16
- reinforceMask(): void;
17
- protected applyMask(value: string | undefined): string | undefined;
18
- protected removeMask(value: string | undefined): string | undefined;
19
- writeValue(value: any): void;
20
- focusin(): void;
21
- focusout(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<InputMaskComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<InputMaskComponent, "mcl-input[mask]", never, { "keepMask": { "alias": "keepMask"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; }, { "onFocusin": "focusin"; "onFocusout": "focusout"; }, never, never, true, never>;
24
- }
@@ -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 | undefined;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<InputPhoneComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<InputPhoneComponent, "mcl-input[phone]", never, {}, {}, never, never, true, never>;
7
- }
@@ -1,2 +0,0 @@
1
- export declare function applyMask(value: string | undefined, mask?: string): string;
2
- export declare function removeMask<T extends string | undefined>(value: T, mask?: string): T;
@@ -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,19 +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
- protected onControlValueChange(value: string | undefined): void;
12
- get shouldLabelFloat(): any;
13
- get empty(): boolean;
14
- onFocus(): void;
15
- onBlur(): void;
16
- writeValue(value: string): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<InputTelefoneInternacionalComponent, never>;
18
- 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>;
19
- }
@@ -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,15 +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
- onFocus(): void;
9
- onBlur(): void;
10
- didTouch(): void;
11
- ngOnDestroy(): void;
12
- setDisabledState(isDisabled: boolean): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectAutocompleteComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectAutocompleteComponent, "mcl-select-autocomplete", never, { "readonly": { "alias": "readonly"; "required": false; }; }, { "select": "select"; "blur": "blur"; }, never, never, true, never>;
15
- }
@@ -1,12 +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
- get shouldFilter(): boolean;
7
- add(event: MatChipInputEvent): void;
8
- remove(item: string): void;
9
- selected(event: MatAutocompleteSelectedEvent): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectChipsComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectChipsComponent, "mcl-select-chips", never, {}, {}, never, never, true, never>;
12
- }
@@ -1,12 +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
- get shouldFilter(): boolean;
7
- get shouldLabelFloat(): any;
8
- selected(value: any): boolean;
9
- change(value: any, checked: boolean): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectManyCheckboxComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectManyCheckboxComponent, "mcl-select-many-checkbox", never, { "layout": { "alias": "layout"; "required": false; }; "layoutColumns": { "alias": "layoutColumns"; "required": false; }; }, {}, never, never, true, never>;
12
- }
@@ -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,9 +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 shouldFilter(): boolean;
6
- get shouldLabelFloat(): any;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectRadioComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectRadioComponent, "mcl-select-radio", never, { "layout": { "alias": "layout"; "required": false; }; }, {}, never, never, true, never>;
9
- }
package/loader/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './src/loader.component';
2
- export * from './src/loader.service';
@@ -1,25 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { LoaderBase } from './loader.service';
4
- import * as i0 from "@angular/core";
5
- export declare class LoaderComponent implements LoaderBase, OnInit {
6
- private parent;
7
- progresso: any;
8
- private $shown;
9
- loader?: ElementRef;
10
- private $component;
11
- labelLoading: string;
12
- showOnInit: boolean;
13
- constructor(parent: ElementRef);
14
- ngOnInit(): void;
15
- get shown(): boolean;
16
- get component(): HTMLElement | boolean;
17
- set component(component: HTMLElement | boolean);
18
- private buscando?;
19
- listen<T>(observable: Observable<T> | Promise<T>): Observable<T>;
20
- get visibility(): "shown" | "hidden";
21
- show(): void;
22
- hide(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, [{ optional: true; host: true; }]>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "mcl-loader", ["loader"], { "progresso": { "alias": "progresso"; "required": false; }; "$shown": { "alias": "show"; "required": false; }; "labelLoading": { "alias": "labelLoading"; "required": false; }; "showOnInit": { "alias": "showOnInit"; "required": false; }; "component": { "alias": "component"; "required": false; }; }, {}, never, never, true, never>;
25
- }
@@ -1,20 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export interface LoaderBase {
4
- shown: boolean;
5
- show(): void;
6
- hide(): void;
7
- }
8
- export declare class LoaderService {
9
- constructor();
10
- private executando;
11
- private ajaxCount;
12
- private loader?;
13
- init(loader: LoaderBase): void;
14
- incrementaAJAX(executando?: boolean): string;
15
- decrementaAJAX(token: string): void;
16
- listen<T>(call: Observable<T> | Promise<T>): Observable<T>;
17
- private doExecuta;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
20
- }
package/misc/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- export * from './src/cnpj/cnpj.directive';
2
- export * from './src/cnpj/cnpjs.pipe';
3
- export * from './src/cpf/cpf.directive';
4
- export * from './src/cpf/cpf.pipe';
5
- export * from './src/cpf-cnpj/cpf-cnpj.directive';
6
- export * from './src/cpf-cnpj/cpf-cnpj.pipe';
7
- export * from './src/mask/mask.pipe';
8
- export * from './src/monetario/monetario.pipe';
9
- export * from './src/monetario/monetario-mask';
10
- export * from './src/porcentagem/porcentagem.pipe';
11
- export * from './src/telefone/telefone.pipe';
12
- export * from './src/unsafe-inner-html/unsafe-inner-html.directive';
@@ -1,12 +0,0 @@
1
- import { AbstractControl, Validator } from '@angular/forms';
2
- import { ValidaModulo11Service } from '@main-class/componentes/core';
3
- import * as i0 from "@angular/core";
4
- export declare class CnpjDirective implements Validator {
5
- private modulo11Service;
6
- constructor(modulo11Service: ValidaModulo11Service);
7
- validate(control: AbstractControl): {
8
- [key: string]: any;
9
- } | null;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CnpjDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<CnpjDirective, "[mclCnpj],[mclModel][cnpj]", never, {}, {}, never, never, true, never>;
12
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CnpjsPipe implements PipeTransform {
4
- transform(value: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CnpjsPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<CnpjsPipe, "cnpj", true>;
7
- }
@@ -1,12 +0,0 @@
1
- import { AbstractControl, Validator } from '@angular/forms';
2
- import { ValidaModulo11Service } from '@main-class/componentes/core';
3
- import * as i0 from "@angular/core";
4
- export declare class CpfDirective implements Validator {
5
- private modulo11Service;
6
- constructor(modulo11Service: ValidaModulo11Service);
7
- validate(control: AbstractControl): {
8
- [key: string]: any;
9
- } | null;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CpfDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<CpfDirective, "[mclCpf],[mclModel][cpf]", never, {}, {}, never, never, true, never>;
12
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CpfPipe implements PipeTransform {
4
- transform(value: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CpfPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<CpfPipe, "cpf", true>;
7
- }
@@ -1,12 +0,0 @@
1
- import { AbstractControl, Validator } from '@angular/forms';
2
- import { ValidaModulo11Service } from '@main-class/componentes/core';
3
- import * as i0 from "@angular/core";
4
- export declare class CpfCnpjDirective implements Validator {
5
- private modulo11Service;
6
- constructor(modulo11Service: ValidaModulo11Service);
7
- validate(control: AbstractControl): {
8
- [key: string]: any;
9
- } | null;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CpfCnpjDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<CpfCnpjDirective, "[mclCpfCnpj],[mclModel][cpfCnpj]", never, {}, {}, never, never, true, never>;
12
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CpfCnpjPipe implements PipeTransform {
4
- transform(value: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CpfCnpjPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<CpfCnpjPipe, "cpfCnpj", true>;
7
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare function doApplyMask(val: string | undefined, mask: string): string;
4
- export declare class MaskPipe implements PipeTransform {
5
- transform(value: string | undefined | null, mask: string): string | undefined;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<MaskPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<MaskPipe, "mask", true>;
8
- }
@@ -1 +0,0 @@
1
- export declare const monetarioMask: (value: any, prefixo?: string, milhar?: string, fracional?: string, mascara?: string) => string | undefined;
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MonetarioPipe implements PipeTransform {
4
- transform(value: string | undefined, symbol?: string, thousandDivider?: string, fractionalDivider?: string, mascara?: string): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MonetarioPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<MonetarioPipe, "mclMonetario", true>;
7
- }
@@ -1 +0,0 @@
1
- export declare const porcentagemMask: (value: any, sufixo?: string, milhar?: string, fracional?: string, mascara?: string) => string | undefined;
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PorcentagemPipe implements PipeTransform {
4
- transform(value: string, symbol?: string, thousandDivider?: string, fractionalDivider?: string, mascara?: string): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<PorcentagemPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<PorcentagemPipe, "mclPorcentagem", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TelefonePipe implements PipeTransform {
4
- transform(value: string | undefined, ...args: any[]): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TelefonePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TelefonePipe, "telefone", true>;
7
- }
@@ -1,10 +0,0 @@
1
- import { ElementRef, Sanitizer } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class UnsafeInnerHtmlDirective {
4
- private sanitizer;
5
- private element;
6
- constructor(sanitizer: Sanitizer, element: ElementRef);
7
- set unsafeInnerHtml(value: string | undefined);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<UnsafeInnerHtmlDirective, [null, { self: true; }]>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<UnsafeInnerHtmlDirective, "[mclUnsafeInnerHtml]", never, { "unsafeInnerHtml": { "alias": "mclUnsafeInnerHtml"; "required": false; }; }, {}, never, never, true, never>;
10
- }
package/pipe/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./src/nome-resumido.pipe";