@main-class/componentes 3.11.2 → 4.0.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/README.md +17 -0
- package/fesm2022/main-class-componentes-arquivo.mjs +851 -369
- package/fesm2022/main-class-componentes-arquivo.mjs.map +1 -1
- package/fesm2022/main-class-componentes-core.mjs +288 -240
- package/fesm2022/main-class-componentes-core.mjs.map +1 -1
- package/fesm2022/main-class-componentes-crud.mjs +1004 -546
- package/fesm2022/main-class-componentes-crud.mjs.map +1 -1
- package/fesm2022/main-class-componentes-dialog.mjs +758 -385
- package/fesm2022/main-class-componentes-dialog.mjs.map +1 -1
- package/fesm2022/main-class-componentes-form.mjs +299 -196
- package/fesm2022/main-class-componentes-form.mjs.map +1 -1
- package/fesm2022/main-class-componentes-input.mjs +4143 -2141
- package/fesm2022/main-class-componentes-input.mjs.map +1 -1
- package/fesm2022/main-class-componentes-loader.mjs +262 -212
- package/fesm2022/main-class-componentes-loader.mjs.map +1 -1
- package/fesm2022/main-class-componentes-misc.mjs +508 -354
- package/fesm2022/main-class-componentes-misc.mjs.map +1 -1
- package/fesm2022/main-class-componentes-pipe.mjs +39 -26
- package/fesm2022/main-class-componentes-pipe.mjs.map +1 -1
- package/fesm2022/main-class-componentes-table.mjs +1331 -624
- package/fesm2022/main-class-componentes-table.mjs.map +1 -1
- package/fesm2022/main-class-componentes.mjs +3 -11
- package/fesm2022/main-class-componentes.mjs.map +1 -1
- package/package.json +32 -16
- package/types/main-class-componentes-arquivo.d.ts +190 -0
- package/types/main-class-componentes-core.d.ts +99 -0
- package/types/main-class-componentes-crud.d.ts +172 -0
- package/types/main-class-componentes-dialog.d.ts +125 -0
- package/types/main-class-componentes-form.d.ts +70 -0
- package/types/main-class-componentes-input.d.ts +687 -0
- package/types/main-class-componentes-loader.d.ts +69 -0
- package/types/main-class-componentes-misc.d.ts +87 -0
- package/types/main-class-componentes-pipe.d.ts +10 -0
- package/types/main-class-componentes-table.d.ts +265 -0
- package/types/main-class-componentes.d.ts +4 -0
- package/arquivo/index.d.ts +0 -5
- package/arquivo/src/arquivo-manager.service.d.ts +0 -13
- package/arquivo/src/download-arquivo.directive.d.ts +0 -12
- package/arquivo/src/imagem.directive.d.ts +0 -21
- package/arquivo/src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.d.ts +0 -23
- package/arquivo/src/preview-arquivo/preview-arquivo.component.d.ts +0 -27
- package/core/index.d.ts +0 -4
- package/core/src/criptografia/criptografia.service.d.ts +0 -6
- package/core/src/mensageria/mensageria.service.d.ts +0 -17
- package/core/src/mobile/mobile.service.d.ts +0 -15
- package/core/src/validator/valida-modulo11.service.d.ts +0 -55
- package/crud/index.d.ts +0 -7
- package/crud/src/abstract-consulta-paginada-component.d.ts +0 -24
- package/crud/src/abstract-edicao-component.d.ts +0 -19
- package/crud/src/abstract-edicao-modal-component.d.ts +0 -19
- package/crud/src/query/query-field/query-field.component.d.ts +0 -40
- package/crud/src/query/query-form-field/query-form-field.component.d.ts +0 -12
- package/crud/src/query/query-form.component.d.ts +0 -28
- package/crud/src/query/query-modal-form/query-modal-form.component.d.ts +0 -13
- package/dialog/index.d.ts +0 -10
- package/dialog/src/dialog-confirmacao/dialog-confirmacao.component.d.ts +0 -23
- package/dialog/src/dialog-iframe/dialog-iframe.component.d.ts +0 -21
- package/dialog/src/dialog-sidebar/modal-template/modal-body.directive.d.ts +0 -9
- package/dialog/src/dialog-sidebar/modal-template/modal-close.directive.d.ts +0 -9
- package/dialog/src/dialog-sidebar/modal-template/modal-footer.directive.d.ts +0 -6
- package/dialog/src/dialog-sidebar/modal-template/modal-header.directive.d.ts +0 -6
- package/dialog/src/dialog-sidebar/modal-template/modal-template.component.d.ts +0 -12
- package/dialog/src/dialog-sidebar/modal.component.d.ts +0 -8
- package/dialog/src/dialog-sidebar/sidebar-modal-ref.d.ts +0 -21
- package/dialog/src/dialog.service.d.ts +0 -26
- package/form/index.d.ts +0 -3
- package/form/src/form.component.d.ts +0 -24
- package/form/src/mensagens-erro/mensagens-erro.component.d.ts +0 -17
- package/form/src/single-click.directive.d.ts +0 -13
- package/index.d.ts +0 -5
- package/input/index.d.ts +0 -26
- package/input/src/abstract-control-value-accessor.d.ts +0 -18
- package/input/src/abstract-mat-form-field-control.d.ts +0 -42
- package/input/src/abstract-mat-form-field-select-control.d.ts +0 -31
- package/input/src/input-currency/input-currency.component.d.ts +0 -9
- package/input/src/input-datetime/input-datetime.component.d.ts +0 -32
- package/input/src/input-fileupload/input-fileupload-validator.directive.d.ts +0 -8
- package/input/src/input-fileupload/input-fileupload.component.d.ts +0 -70
- package/input/src/input-mask/documento-validators.d.ts +0 -7
- package/input/src/input-mask/input-cep.component.d.ts +0 -7
- package/input/src/input-mask/input-cnpj.component.d.ts +0 -7
- package/input/src/input-mask/input-cpf-cnpj.component.d.ts +0 -7
- package/input/src/input-mask/input-cpf.component.d.ts +0 -7
- package/input/src/input-mask/input-mask-validator.directive.d.ts +0 -16
- package/input/src/input-mask/input-mask.component.d.ts +0 -24
- package/input/src/input-mask/input-phone.component.d.ts +0 -7
- package/input/src/input-mask/mask-functions.d.ts +0 -2
- package/input/src/input-telefone-internacional/input-telefone-internacional-validator.directive.d.ts +0 -8
- package/input/src/input-telefone-internacional/input-telefone-internacional.component.d.ts +0 -19
- package/input/src/option-checkbox/all-option-checkbox.component.d.ts +0 -18
- package/input/src/option-checkbox/node-pool.d.ts +0 -23
- package/input/src/option-checkbox/option-checkbox-group.component.d.ts +0 -25
- package/input/src/option-checkbox/option-checkbox.component.d.ts +0 -23
- package/input/src/option-checkbox/option-checkbox.service.d.ts +0 -16
- package/input/src/option-checkbox/option-node.d.ts +0 -13
- package/input/src/select-autocomplete/select-autocomplete.component.d.ts +0 -15
- package/input/src/select-chips/select-chips.component.d.ts +0 -12
- package/input/src/select-many-checkbox/select-many-checkbox.component.d.ts +0 -12
- package/input/src/select-option/delegate-option-provider.directive.d.ts +0 -13
- package/input/src/select-option/select-option-provider.d.ts +0 -10
- package/input/src/select-option/select-option.component.d.ts +0 -10
- package/input/src/select-option/select-option.d.ts +0 -4
- package/input/src/select-radio/select-radio.component.d.ts +0 -9
- package/loader/index.d.ts +0 -2
- package/loader/src/loader.component.d.ts +0 -25
- package/loader/src/loader.service.d.ts +0 -20
- package/misc/index.d.ts +0 -12
- package/misc/src/cnpj/cnpj.directive.d.ts +0 -12
- package/misc/src/cnpj/cnpjs.pipe.d.ts +0 -7
- package/misc/src/cpf/cpf.directive.d.ts +0 -12
- package/misc/src/cpf/cpf.pipe.d.ts +0 -7
- package/misc/src/cpf-cnpj/cpf-cnpj.directive.d.ts +0 -12
- package/misc/src/cpf-cnpj/cpf-cnpj.pipe.d.ts +0 -7
- package/misc/src/mask/mask.pipe.d.ts +0 -8
- package/misc/src/monetario/monetario-mask.d.ts +0 -1
- package/misc/src/monetario/monetario.pipe.d.ts +0 -7
- package/misc/src/porcentagem/porcentagem-mask.d.ts +0 -1
- package/misc/src/porcentagem/porcentagem.pipe.d.ts +0 -7
- package/misc/src/telefone/telefone.pipe.d.ts +0 -7
- package/misc/src/unsafe-inner-html/unsafe-inner-html.directive.d.ts +0 -10
- package/pipe/index.d.ts +0 -1
- package/pipe/src/nome-resumido.pipe.d.ts +0 -7
- package/public-api.d.ts +0 -2
- package/table/index.d.ts +0 -10
- package/table/src/column/column-cell.directive.d.ts +0 -8
- package/table/src/column/column-footer.directive.d.ts +0 -8
- package/table/src/column/column-header.directive.d.ts +0 -8
- package/table/src/column/column.directive.d.ts +0 -16
- package/table/src/numeric-paginator/numeric-paginator.component.d.ts +0 -26
- package/table/src/paginated-table/paginated-table.component.d.ts +0 -58
- package/table/src/paginator-i18n.d.ts +0 -8
- package/table/src/table/table.component.d.ts +0 -41
- package/table/src/td/td.component.d.ts +0 -8
- package/table/src/th/th.component.d.ts +0 -8
- package/table/src/undefined-paginator/undefined-paginator.component.d.ts +0 -25
- package/table/src/virtual-paginated-table/virtual-paginated-table.component.d.ts +0 -28
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { ElementRef, OnInit } from "@angular/core";
|
|
6
|
+
import { Observable } from "rxjs";
|
|
7
|
+
export interface LoaderBase {
|
|
8
|
+
shown: boolean;
|
|
9
|
+
show(): void;
|
|
10
|
+
hide(): void;
|
|
11
|
+
}
|
|
12
|
+
export declare class LoaderService {
|
|
13
|
+
constructor();
|
|
14
|
+
private executando;
|
|
15
|
+
private ajaxCount;
|
|
16
|
+
private loader?;
|
|
17
|
+
init(loader: LoaderBase): void;
|
|
18
|
+
incrementaAJAX(executando?: boolean): string;
|
|
19
|
+
decrementaAJAX(token: string): void;
|
|
20
|
+
listen<T>(call: Observable<T> | Promise<T>): Observable<T>;
|
|
21
|
+
private doExecuta;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
24
|
+
}
|
|
25
|
+
export declare class LoaderComponent implements LoaderBase, OnInit {
|
|
26
|
+
private parent;
|
|
27
|
+
progresso: any;
|
|
28
|
+
private $shown;
|
|
29
|
+
loader?: ElementRef;
|
|
30
|
+
private $component;
|
|
31
|
+
labelLoading: string;
|
|
32
|
+
showOnInit: boolean;
|
|
33
|
+
constructor(parent: ElementRef);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
get shown(): boolean;
|
|
36
|
+
get component(): HTMLElement | boolean;
|
|
37
|
+
set component(component: HTMLElement | boolean);
|
|
38
|
+
private buscando?;
|
|
39
|
+
listen<T>(observable: Observable<T> | Promise<T>): Observable<T>;
|
|
40
|
+
get visibility(): "shown" | "hidden";
|
|
41
|
+
show(): void;
|
|
42
|
+
hide(): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, [{
|
|
44
|
+
optional: true;
|
|
45
|
+
host: true;
|
|
46
|
+
}]>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "mcl-loader", ["loader"], {
|
|
48
|
+
"progresso": {
|
|
49
|
+
"alias": "progresso";
|
|
50
|
+
"required": false;
|
|
51
|
+
};
|
|
52
|
+
"$shown": {
|
|
53
|
+
"alias": "show";
|
|
54
|
+
"required": false;
|
|
55
|
+
};
|
|
56
|
+
"labelLoading": {
|
|
57
|
+
"alias": "labelLoading";
|
|
58
|
+
"required": false;
|
|
59
|
+
};
|
|
60
|
+
"showOnInit": {
|
|
61
|
+
"alias": "showOnInit";
|
|
62
|
+
"required": false;
|
|
63
|
+
};
|
|
64
|
+
"component": {
|
|
65
|
+
"alias": "component";
|
|
66
|
+
"required": false;
|
|
67
|
+
};
|
|
68
|
+
}, {}, never, never, true, never>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import { AbstractControl, Validator } from "@angular/forms";
|
|
5
|
+
import { ValidaModulo11Service } from "@main-class/componentes/core";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import { ElementRef, PipeTransform, Sanitizer } from "@angular/core";
|
|
8
|
+
export declare class CnpjDirective implements Validator {
|
|
9
|
+
private modulo11Service;
|
|
10
|
+
constructor(modulo11Service: ValidaModulo11Service);
|
|
11
|
+
validate(control: AbstractControl): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
} | null;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CnpjDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CnpjDirective, "[mclCnpj],[mclModel][cnpj]", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
export declare class CnpjsPipe implements PipeTransform {
|
|
18
|
+
transform(value: any): any;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CnpjsPipe, never>;
|
|
20
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CnpjsPipe, "cnpj", true>;
|
|
21
|
+
}
|
|
22
|
+
export declare class CpfDirective implements Validator {
|
|
23
|
+
private modulo11Service;
|
|
24
|
+
constructor(modulo11Service: ValidaModulo11Service);
|
|
25
|
+
validate(control: AbstractControl): {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
} | null;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CpfDirective, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CpfDirective, "[mclCpf],[mclModel][cpf]", never, {}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
31
|
+
export declare class CpfPipe implements PipeTransform {
|
|
32
|
+
transform(value: any): any;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CpfPipe, never>;
|
|
34
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CpfPipe, "cpf", true>;
|
|
35
|
+
}
|
|
36
|
+
export declare class CpfCnpjDirective implements Validator {
|
|
37
|
+
private modulo11Service;
|
|
38
|
+
constructor(modulo11Service: ValidaModulo11Service);
|
|
39
|
+
validate(control: AbstractControl): {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
} | null;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CpfCnpjDirective, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CpfCnpjDirective, "[mclCpfCnpj],[mclModel][cpfCnpj]", never, {}, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
export declare class CpfCnpjPipe implements PipeTransform {
|
|
46
|
+
transform(value: any): any;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CpfCnpjPipe, never>;
|
|
48
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CpfCnpjPipe, "cpfCnpj", true>;
|
|
49
|
+
}
|
|
50
|
+
export declare function doApplyMask(val: string | undefined, mask: string): string;
|
|
51
|
+
export declare class MaskPipe implements PipeTransform {
|
|
52
|
+
transform(value: string | undefined | null, mask: string): string | undefined;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaskPipe, never>;
|
|
54
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MaskPipe, "mask", true>;
|
|
55
|
+
}
|
|
56
|
+
export declare class MonetarioPipe implements PipeTransform {
|
|
57
|
+
transform(value: string | undefined, symbol?: string, thousandDivider?: string, fractionalDivider?: string, mascara?: string): any;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonetarioPipe, never>;
|
|
59
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MonetarioPipe, "mclMonetario", true>;
|
|
60
|
+
}
|
|
61
|
+
export declare const monetarioMask: (value: any, prefixo?: string, milhar?: string, fracional?: string, mascara?: string) => string | undefined;
|
|
62
|
+
export declare class PorcentagemPipe implements PipeTransform {
|
|
63
|
+
transform(value: string, symbol?: string, thousandDivider?: string, fractionalDivider?: string, mascara?: string): any;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PorcentagemPipe, never>;
|
|
65
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PorcentagemPipe, "mclPorcentagem", true>;
|
|
66
|
+
}
|
|
67
|
+
export declare const porcentagemMask: (value: any, sufixo?: string, milhar?: string, fracional?: string, mascara?: string) => string | undefined;
|
|
68
|
+
export declare class TelefonePipe implements PipeTransform {
|
|
69
|
+
transform(value: string | undefined, ...args: any[]): string;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TelefonePipe, never>;
|
|
71
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TelefonePipe, "telefone", true>;
|
|
72
|
+
}
|
|
73
|
+
export declare class UnsafeInnerHtmlDirective {
|
|
74
|
+
private sanitizer;
|
|
75
|
+
private element;
|
|
76
|
+
constructor(sanitizer: Sanitizer, element: ElementRef);
|
|
77
|
+
set unsafeInnerHtml(value: string | undefined);
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnsafeInnerHtmlDirective, [null, {
|
|
79
|
+
self: true;
|
|
80
|
+
}]>;
|
|
81
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UnsafeInnerHtmlDirective, "[mclUnsafeInnerHtml]", never, {
|
|
82
|
+
"unsafeInnerHtml": {
|
|
83
|
+
"alias": "mclUnsafeInnerHtml";
|
|
84
|
+
"required": false;
|
|
85
|
+
};
|
|
86
|
+
}, {}, never, never, true, never>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { PipeTransform } from "@angular/core";
|
|
6
|
+
export declare class NomeResumidoPipe implements PipeTransform {
|
|
7
|
+
transform(value: any, ...args: any[]): any;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NomeResumidoPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NomeResumidoPipe, "nomeResumido", true>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { AfterViewInit, DoCheck, ElementRef, EventEmitter, InjectionToken, OnDestroy, OnInit, QueryList, TemplateRef } from "@angular/core";
|
|
6
|
+
import { MatTable } from "@angular/material/table";
|
|
7
|
+
import { BehaviorSubject, Observable } from "rxjs";
|
|
8
|
+
import { MobileService } from "@main-class/componentes/core";
|
|
9
|
+
import { MatPaginatorIntl, PageEvent } from "@angular/material/paginator";
|
|
10
|
+
import { LoaderComponent } from "@main-class/componentes/loader";
|
|
11
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
12
|
+
export declare class ColumnCellDirective {
|
|
13
|
+
template: TemplateRef<any>;
|
|
14
|
+
constructor(template: TemplateRef<any>);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnCellDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnCellDirective, "[mclColumnCell]", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
export declare class ColumnFooterDirective {
|
|
19
|
+
template: TemplateRef<any>;
|
|
20
|
+
constructor(template: TemplateRef<any>);
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnFooterDirective, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnFooterDirective, "[mclColumnFooter]", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
export declare class ColumnHeaderDirective {
|
|
25
|
+
template: TemplateRef<any>;
|
|
26
|
+
constructor(template: TemplateRef<any>);
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnHeaderDirective, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnHeaderDirective, "[mclColumnHeader]", never, {}, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
export declare class ColumnDirective {
|
|
31
|
+
private static lastId;
|
|
32
|
+
name: string;
|
|
33
|
+
viewType: 'web' | 'mobile' | 'both';
|
|
34
|
+
header: ColumnHeaderDirective;
|
|
35
|
+
cell: ColumnCellDirective;
|
|
36
|
+
footer?: ColumnFooterDirective;
|
|
37
|
+
constructor();
|
|
38
|
+
get columnDefName(): string;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnDirective, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnDirective, "mcl-column,[mclColumn]", never, {
|
|
41
|
+
"name": {
|
|
42
|
+
"alias": "name";
|
|
43
|
+
"required": false;
|
|
44
|
+
};
|
|
45
|
+
"viewType": {
|
|
46
|
+
"alias": "viewType";
|
|
47
|
+
"required": false;
|
|
48
|
+
};
|
|
49
|
+
}, {}, ["header", "cell", "footer"], never, true, never>;
|
|
50
|
+
}
|
|
51
|
+
export declare class TableComponent<T> implements AfterViewInit, DoCheck, OnDestroy {
|
|
52
|
+
private mobileService;
|
|
53
|
+
private readonly injector;
|
|
54
|
+
itemsSubject: BehaviorSubject<any[]>;
|
|
55
|
+
emptyStateMessage: string;
|
|
56
|
+
table: MatTable<T>;
|
|
57
|
+
emptyStatePlaceholder?: ElementRef;
|
|
58
|
+
columnsDef: QueryList<ColumnDirective>;
|
|
59
|
+
items?: Array<T>;
|
|
60
|
+
private $outerItems?;
|
|
61
|
+
sticky: boolean;
|
|
62
|
+
private currentColumns;
|
|
63
|
+
private $activeColumnNames;
|
|
64
|
+
private $loading;
|
|
65
|
+
private oldLength;
|
|
66
|
+
private columnsChangeSubscription?;
|
|
67
|
+
private mobileListener;
|
|
68
|
+
constructor(mobileService: MobileService);
|
|
69
|
+
get outerItems(): Array<T> | undefined;
|
|
70
|
+
set outerItems(items: Array<T> | undefined);
|
|
71
|
+
get activeColumnNames(): string[];
|
|
72
|
+
get hasFooter(): boolean;
|
|
73
|
+
private mergeColumnsDef;
|
|
74
|
+
ngAfterViewInit(): void;
|
|
75
|
+
ngDoCheck(): void;
|
|
76
|
+
getItems(): T[] | undefined;
|
|
77
|
+
getCurrentLength(): number | undefined;
|
|
78
|
+
ngOnDestroy(): void;
|
|
79
|
+
private removeColumnDef;
|
|
80
|
+
private addColumnDef;
|
|
81
|
+
private mapColumnDef;
|
|
82
|
+
private currentColumnsContains;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "mcl-table:not([page]):not([paginated])", never, {
|
|
85
|
+
"emptyStateMessage": {
|
|
86
|
+
"alias": "emptyStateMessage";
|
|
87
|
+
"required": false;
|
|
88
|
+
};
|
|
89
|
+
"sticky": {
|
|
90
|
+
"alias": "sticky";
|
|
91
|
+
"required": false;
|
|
92
|
+
};
|
|
93
|
+
"outerItems": {
|
|
94
|
+
"alias": "items";
|
|
95
|
+
"required": false;
|
|
96
|
+
};
|
|
97
|
+
}, {}, ["emptyStatePlaceholder", "columnsDef"], ["[mclEmptyState]"], true, never>;
|
|
98
|
+
}
|
|
99
|
+
export declare const PAGINATION_CONFIGURATION: InjectionToken<PaginationConfiguration>;
|
|
100
|
+
export interface NumericPagination {
|
|
101
|
+
type: 'numeric';
|
|
102
|
+
size: number;
|
|
103
|
+
total: number;
|
|
104
|
+
page: number;
|
|
105
|
+
hasNext: boolean;
|
|
106
|
+
hasPrevious: boolean;
|
|
107
|
+
}
|
|
108
|
+
export interface UndefinedPagination {
|
|
109
|
+
type: 'undefined';
|
|
110
|
+
size: number;
|
|
111
|
+
total?: number;
|
|
112
|
+
nextPageRef?: any;
|
|
113
|
+
previousPageRef?: any;
|
|
114
|
+
}
|
|
115
|
+
export interface Page<T> {
|
|
116
|
+
items: T[];
|
|
117
|
+
pagination: NumericPagination | UndefinedPagination;
|
|
118
|
+
}
|
|
119
|
+
export interface NumericPaginationEvent {
|
|
120
|
+
type: 'numeric';
|
|
121
|
+
size: number;
|
|
122
|
+
page: number;
|
|
123
|
+
}
|
|
124
|
+
export interface UndefinedPaginationEvent {
|
|
125
|
+
type: 'undefined';
|
|
126
|
+
size: number;
|
|
127
|
+
action: 'next' | 'previous' | 'first' | 'last';
|
|
128
|
+
}
|
|
129
|
+
export interface PaginationConfiguration {
|
|
130
|
+
sizes: Array<number>;
|
|
131
|
+
}
|
|
132
|
+
export declare function PaginatorIntlFactory(translateService: TranslateService): MatPaginatorIntl;
|
|
133
|
+
export declare class PaginatedTableComponent<T> extends TableComponent<T> {
|
|
134
|
+
sizes: number[];
|
|
135
|
+
paginate: EventEmitter<NumericPaginationEvent | UndefinedPaginationEvent>;
|
|
136
|
+
page?: Page<T>;
|
|
137
|
+
loader?: LoaderComponent;
|
|
138
|
+
constructor(mobileService: MobileService, paginationConfiguration?: PaginationConfiguration);
|
|
139
|
+
get numericPagination(): NumericPagination | undefined;
|
|
140
|
+
get undefinedPagination(): UndefinedPagination | undefined;
|
|
141
|
+
getCurrentLength(): number | undefined;
|
|
142
|
+
getItems(): Array<T> | undefined;
|
|
143
|
+
loadingAround<T>(action: Observable<T> | Promise<T>): Observable<T>;
|
|
144
|
+
numericPageEvent(page: number, size: number): void;
|
|
145
|
+
undefinedPageEvent(action: 'next' | 'previous' | 'first' | 'last', size: number): void;
|
|
146
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatedTableComponent<any>, [null, {
|
|
147
|
+
optional: true;
|
|
148
|
+
}]>;
|
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatedTableComponent<any>, "mcl-table[page]", never, {
|
|
150
|
+
"sizes": {
|
|
151
|
+
"alias": "sizes";
|
|
152
|
+
"required": false;
|
|
153
|
+
};
|
|
154
|
+
"page": {
|
|
155
|
+
"alias": "page";
|
|
156
|
+
"required": false;
|
|
157
|
+
};
|
|
158
|
+
}, {
|
|
159
|
+
"paginate": "paginate";
|
|
160
|
+
}, never, ["[mclEmptyState]"], true, never>;
|
|
161
|
+
}
|
|
162
|
+
export declare class VirtualPaginatedTableComponent<T> extends TableComponent<T> {
|
|
163
|
+
sizes: number[];
|
|
164
|
+
paginate: EventEmitter<NumericPaginationEvent | UndefinedPaginationEvent>;
|
|
165
|
+
loader?: LoaderComponent;
|
|
166
|
+
private pageItems;
|
|
167
|
+
page: number;
|
|
168
|
+
size: number;
|
|
169
|
+
constructor(mobileService: MobileService, paginationConfiguration?: PaginationConfiguration);
|
|
170
|
+
get outerItems(): Array<T> | undefined;
|
|
171
|
+
set outerItems(items: Array<T> | undefined);
|
|
172
|
+
get numericPagination(): NumericPagination | undefined;
|
|
173
|
+
get undefinedPagination(): UndefinedPagination | undefined;
|
|
174
|
+
ngAfterViewInit(): void;
|
|
175
|
+
getCurrentLength(): number | undefined;
|
|
176
|
+
getItems(): Array<T> | undefined;
|
|
177
|
+
loadingAround<T>(action: Observable<T> | Promise<T>): Observable<T>;
|
|
178
|
+
numericPageEvent(page: number, size: number): void;
|
|
179
|
+
undefinedPageEvent(action: 'next' | 'previous' | 'first' | 'last', size: number): void;
|
|
180
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VirtualPaginatedTableComponent<any>, [null, {
|
|
181
|
+
optional: true;
|
|
182
|
+
}]>;
|
|
183
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VirtualPaginatedTableComponent<any>, "mcl-table[paginated]", never, {
|
|
184
|
+
"sizes": {
|
|
185
|
+
"alias": "sizes";
|
|
186
|
+
"required": false;
|
|
187
|
+
};
|
|
188
|
+
"outerItems": {
|
|
189
|
+
"alias": "items";
|
|
190
|
+
"required": false;
|
|
191
|
+
};
|
|
192
|
+
}, {
|
|
193
|
+
"paginate": "paginate";
|
|
194
|
+
}, never, ["[mclEmptyState]"], true, never>;
|
|
195
|
+
}
|
|
196
|
+
export declare class TdComponent implements OnInit {
|
|
197
|
+
constructor(element: ElementRef);
|
|
198
|
+
ngOnInit(): void;
|
|
199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdComponent, [{
|
|
200
|
+
self: true;
|
|
201
|
+
}]>;
|
|
202
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdComponent, "td,mcl-td", never, {}, {}, never, ["*"], true, never>;
|
|
203
|
+
}
|
|
204
|
+
export declare class ThComponent implements OnInit {
|
|
205
|
+
constructor(element: ElementRef);
|
|
206
|
+
ngOnInit(): void;
|
|
207
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThComponent, [{
|
|
208
|
+
self: true;
|
|
209
|
+
}]>;
|
|
210
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThComponent, "th,mcl-th", never, {}, {}, never, ["*"], true, never>;
|
|
211
|
+
}
|
|
212
|
+
export declare class NumericPaginatorComponent {
|
|
213
|
+
length: number;
|
|
214
|
+
pageIndex: number;
|
|
215
|
+
pageSize: number;
|
|
216
|
+
pageSizeOptions: number[];
|
|
217
|
+
hidePageSize: boolean;
|
|
218
|
+
showFirstLastButtons: boolean;
|
|
219
|
+
disabled: boolean;
|
|
220
|
+
page: EventEmitter<PageEvent>;
|
|
221
|
+
totalPages(): number;
|
|
222
|
+
hasPrevious(): boolean;
|
|
223
|
+
hasNext(): boolean;
|
|
224
|
+
pages(): number[];
|
|
225
|
+
rangeLabel(): string;
|
|
226
|
+
private emit;
|
|
227
|
+
goTo(page1Based: number): void;
|
|
228
|
+
previousPage(): void;
|
|
229
|
+
nextPage(): void;
|
|
230
|
+
firstPage(): void;
|
|
231
|
+
lastPage(): void;
|
|
232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumericPaginatorComponent, never>;
|
|
233
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumericPaginatorComponent, "mcl-numeric-paginator", never, {
|
|
234
|
+
"length": {
|
|
235
|
+
"alias": "length";
|
|
236
|
+
"required": false;
|
|
237
|
+
};
|
|
238
|
+
"pageIndex": {
|
|
239
|
+
"alias": "pageIndex";
|
|
240
|
+
"required": false;
|
|
241
|
+
};
|
|
242
|
+
"pageSize": {
|
|
243
|
+
"alias": "pageSize";
|
|
244
|
+
"required": false;
|
|
245
|
+
};
|
|
246
|
+
"pageSizeOptions": {
|
|
247
|
+
"alias": "pageSizeOptions";
|
|
248
|
+
"required": false;
|
|
249
|
+
};
|
|
250
|
+
"hidePageSize": {
|
|
251
|
+
"alias": "hidePageSize";
|
|
252
|
+
"required": false;
|
|
253
|
+
};
|
|
254
|
+
"showFirstLastButtons": {
|
|
255
|
+
"alias": "showFirstLastButtons";
|
|
256
|
+
"required": false;
|
|
257
|
+
};
|
|
258
|
+
"disabled": {
|
|
259
|
+
"alias": "disabled";
|
|
260
|
+
"required": false;
|
|
261
|
+
};
|
|
262
|
+
}, {
|
|
263
|
+
"page": "page";
|
|
264
|
+
}, never, never, true, never>;
|
|
265
|
+
}
|
package/arquivo/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './src/download-arquivo.directive';
|
|
2
|
-
export * from './src/preview-arquivo/preview-arquivo.component';
|
|
3
|
-
export * from './src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component';
|
|
4
|
-
export * from './src/arquivo-manager.service';
|
|
5
|
-
export * from './src/imagem.directive';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export declare const ARQUIVO_MANAGER_SERVICE: InjectionToken<ArquivoManagerService>;
|
|
4
|
-
export interface UploadEvent {
|
|
5
|
-
type: 'progresso' | 'conclusao';
|
|
6
|
-
progresso?: number;
|
|
7
|
-
attachment?: any;
|
|
8
|
-
}
|
|
9
|
-
export interface ArquivoManagerService {
|
|
10
|
-
upload(file: File, ...agrupadores: string[]): Observable<UploadEvent>;
|
|
11
|
-
downloadURL(attachment: any): Observable<string>;
|
|
12
|
-
fileName?(attachment: any): string;
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ArquivoManagerService } from './arquivo-manager.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DownloadArquivoDirective {
|
|
4
|
-
private arquivoService;
|
|
5
|
-
attachment: any | string;
|
|
6
|
-
target: string;
|
|
7
|
-
constructor(arquivoService: ArquivoManagerService);
|
|
8
|
-
private getUrlArquivo;
|
|
9
|
-
download(): Promise<void>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DownloadArquivoDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DownloadArquivoDirective, "[mclDownloadArquivo]", never, { "attachment": { "alias": "mclDownloadArquivo"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ElementRef, InjectionToken, OnInit } from '@angular/core';
|
|
2
|
-
import { ArquivoManagerService } from './arquivo-manager.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const MCL_IMAGE_PADRAO: InjectionToken<string>;
|
|
5
|
-
export declare class ImagemDirective implements OnInit {
|
|
6
|
-
private _padrao;
|
|
7
|
-
private element;
|
|
8
|
-
private arquivoManagerService;
|
|
9
|
-
private attachment;
|
|
10
|
-
private _setter?;
|
|
11
|
-
private backgroundSetter;
|
|
12
|
-
private srcSetter;
|
|
13
|
-
constructor(_padrao: string, element: ElementRef, arquivoManagerService: ArquivoManagerService);
|
|
14
|
-
set imagemSrc(imagem: string | any | undefined);
|
|
15
|
-
set imagemBackground(imagem: string | any | undefined);
|
|
16
|
-
set padrao(padrao: string);
|
|
17
|
-
private setPath;
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImagemDirective, [{ optional: true; }, { self: true; }, null]>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ImagemDirective, "[mclImagemSrc],[mclImagemBackground]", never, { "imagemSrc": { "alias": "mclImagemSrc"; "required": false; }; "imagemBackground": { "alias": "mclImagemBackground"; "required": false; }; "padrao": { "alias": "padrao"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
-
}
|
package/arquivo/src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ArquivoManagerService } from '../../arquivo-manager.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface DadosPreview {
|
|
5
|
-
src: string;
|
|
6
|
-
type: 'image' | 'pdf' | 'other';
|
|
7
|
-
group: string[];
|
|
8
|
-
}
|
|
9
|
-
export declare class DialogPreviewArquivoComponent implements OnInit {
|
|
10
|
-
private dadosPreview;
|
|
11
|
-
private arquivoService;
|
|
12
|
-
loadingFile: boolean;
|
|
13
|
-
constructor(dadosPreview: DadosPreview, arquivoService: ArquivoManagerService);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
get src(): string;
|
|
16
|
-
get type(): "image" | "pdf" | "other";
|
|
17
|
-
get group(): string[];
|
|
18
|
-
handleEvent(evento: any): void;
|
|
19
|
-
previewCarregado(e?: CustomEvent): void;
|
|
20
|
-
download(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogPreviewArquivoComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogPreviewArquivoComponent, "mcl-dialog-preview-arquivo", never, {}, {}, never, never, true, never>;
|
|
23
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { ArquivoManagerService } from '../arquivo-manager.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PreviewArquivoComponent implements OnInit {
|
|
6
|
-
private arquivoManagerService;
|
|
7
|
-
private dialog;
|
|
8
|
-
src: any;
|
|
9
|
-
filename?: string;
|
|
10
|
-
type?: 'image' | 'pdf' | 'other';
|
|
11
|
-
showLoading: boolean;
|
|
12
|
-
height: string;
|
|
13
|
-
width: string;
|
|
14
|
-
group?: Array<string>;
|
|
15
|
-
private $arquivo?;
|
|
16
|
-
private $url?;
|
|
17
|
-
constructor(arquivoManagerService: ArquivoManagerService, dialog: MatDialog);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
get arquivo(): any;
|
|
20
|
-
set arquivo(arquivo: any);
|
|
21
|
-
private parseArquivo;
|
|
22
|
-
private carregaArrayBuffFile;
|
|
23
|
-
private parseType;
|
|
24
|
-
abrePreview(): Promise<void>;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PreviewArquivoComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PreviewArquivoComponent, "mcl-preview-arquivo", never, { "showLoading": { "alias": "showLoading"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "group": { "alias": "group"; "required": false; }; "arquivo": { "alias": "arquivo"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|
package/core/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CriptografiaService {
|
|
3
|
-
criptografa(chavePublica: string, senha: string): string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CriptografiaService, never>;
|
|
5
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CriptografiaService>;
|
|
6
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { MatSnackBar, MatSnackBarConfig, MatSnackBarHorizontalPosition, MatSnackBarVerticalPosition } from '@angular/material/snack-bar';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MensageriaService {
|
|
5
|
-
private snackBar;
|
|
6
|
-
private translateService;
|
|
7
|
-
defaultHorizontalPosition: MatSnackBarHorizontalPosition;
|
|
8
|
-
defaultVerticalPosition: MatSnackBarVerticalPosition;
|
|
9
|
-
defaultDuration: number;
|
|
10
|
-
private $defaultComponent;
|
|
11
|
-
constructor(snackBar: MatSnackBar, translateService: TranslateService);
|
|
12
|
-
setDefaultComponent(defaultComponent: any): void;
|
|
13
|
-
addMensagemFromComponent(component: any, config?: MatSnackBarConfig): void;
|
|
14
|
-
addMensagem(mensagem: string, args?: {}, action?: string, config?: MatSnackBarConfig): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MensageriaService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MensageriaService>;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { MediaMatcher } from '@angular/cdk/layout';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MobileService {
|
|
4
|
-
mobileQuery: MediaQueryList;
|
|
5
|
-
tabletQuery: MediaQueryList;
|
|
6
|
-
private mobileQueryListener;
|
|
7
|
-
private listeners;
|
|
8
|
-
constructor(media: MediaMatcher);
|
|
9
|
-
addListener(listener: (mobile: boolean, tablet?: boolean) => void): void;
|
|
10
|
-
removeListener(listener: (mobile: boolean, tablet?: boolean) => void): void;
|
|
11
|
-
get mobile(): boolean;
|
|
12
|
-
get tablet(): boolean;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MobileService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MobileService>;
|
|
15
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ValidaModulo11Service {
|
|
3
|
-
/**
|
|
4
|
-
* Método que verifica a validade de um CPF.
|
|
5
|
-
*
|
|
6
|
-
* @param cpf - String com CPF a ser validado.
|
|
7
|
-
* @return True se CPF é válido e false caso contrário.
|
|
8
|
-
*/
|
|
9
|
-
isValidCpf(cpf: string): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* <P>
|
|
12
|
-
* Método que verifica a validade de um CGC (CNPJ).
|
|
13
|
-
* Suporta o novo formato alfanumérico.
|
|
14
|
-
* </p>
|
|
15
|
-
* <P>
|
|
16
|
-
* Um CGC é válido se tiver o seguinte formato: RRRRRRRRFFFFDD (tamanho 14), onde:
|
|
17
|
-
* </p>
|
|
18
|
-
* <UL>
|
|
19
|
-
* <li>RRRRRRRR - Raiz do CGC;</li>
|
|
20
|
-
* <li>FFFF - Filial;</li>
|
|
21
|
-
* <li>DD - Dígito verificador.</li>
|
|
22
|
-
* </ul>
|
|
23
|
-
*
|
|
24
|
-
* @param cgc - String com CGC a ser validado.
|
|
25
|
-
* @return True se CGC é válido e false caso contrário.
|
|
26
|
-
*/
|
|
27
|
-
isValidCgc(cgc: string): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Calcula o dígito verificador do CNPJ (numérico ou alfanumérico).
|
|
30
|
-
* @param base A parte do CNPJ sobre a qual o DV será calculado.
|
|
31
|
-
* @param weights Os pesos para o cálculo.
|
|
32
|
-
* @private
|
|
33
|
-
*/
|
|
34
|
-
private calculateCnpjDv;
|
|
35
|
-
/**
|
|
36
|
-
* Método que verifica se cadeia é composta apenas por caracteres numéricos repetidos (tudo 0 ou tudo 1, ...). Utilizado nas rotinas que
|
|
37
|
-
* testam cpf e cgc.
|
|
38
|
-
*
|
|
39
|
-
* @param cadeia - Cadeia a ser checada.
|
|
40
|
-
* @return True caso cadeia seja formado somente com dígitos e false caso contrário.
|
|
41
|
-
*/
|
|
42
|
-
isRepeatedNumber(cadeia: string): boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Método que calcula o dígito verificador módulo 11 de uma cadeia.
|
|
45
|
-
*
|
|
46
|
-
* @param cadeia - Cadeia ser calculado o dígito verificador.
|
|
47
|
-
* @param tam - Número de dígitos a serem utilizados no cálculo.
|
|
48
|
-
* @param fatorInicial - Valor base no fator de multiplicação.
|
|
49
|
-
* @param fatorFinal - Valor limite do fator de multiplicação.
|
|
50
|
-
* @return Valor (decimal) do d�gito verificador.
|
|
51
|
-
*/
|
|
52
|
-
calculateDvMod11(cadeia: string, tam: number, fatorInicial: number, fatorFinal: number): number;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValidaModulo11Service, never>;
|
|
54
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ValidaModulo11Service>;
|
|
55
|
-
}
|
package/crud/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './src/query/query-field/query-field.component';
|
|
2
|
-
export * from './src/query/query-form-field/query-form-field.component';
|
|
3
|
-
export * from './src/query/query-modal-form/query-modal-form.component';
|
|
4
|
-
export * from './src/query/query-form.component';
|
|
5
|
-
export * from './src/abstract-consulta-paginada-component';
|
|
6
|
-
export * from './src/abstract-edicao-component';
|
|
7
|
-
export * from './src/abstract-edicao-modal-component';
|