@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.
- 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
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NomeResumidoPipe implements PipeTransform {
|
|
4
|
-
transform(value: any, ...args: any[]): any;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NomeResumidoPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NomeResumidoPipe, "nomeResumido", true>;
|
|
7
|
-
}
|
package/public-api.d.ts
DELETED
package/table/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './src/column/column-cell.directive';
|
|
2
|
-
export * from './src/column/column-footer.directive';
|
|
3
|
-
export * from './src/column/column-header.directive';
|
|
4
|
-
export * from './src/column/column.directive';
|
|
5
|
-
export * from './src/paginated-table/paginated-table.component';
|
|
6
|
-
export * from './src/virtual-paginated-table/virtual-paginated-table.component';
|
|
7
|
-
export * from './src/table/table.component';
|
|
8
|
-
export * from './src/td/td.component';
|
|
9
|
-
export * from './src/th/th.component';
|
|
10
|
-
export * from './src/numeric-paginator/numeric-paginator.component';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ColumnCellDirective {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnCellDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnCellDirective, "[mclColumnCell]", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ColumnFooterDirective {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnFooterDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnFooterDirective, "[mclColumnFooter]", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ColumnHeaderDirective {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnHeaderDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnHeaderDirective, "[mclColumnHeader]", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ColumnHeaderDirective } from './column-header.directive';
|
|
2
|
-
import { ColumnCellDirective } from './column-cell.directive';
|
|
3
|
-
import { ColumnFooterDirective } from './column-footer.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ColumnDirective {
|
|
6
|
-
private static lastId;
|
|
7
|
-
name: string;
|
|
8
|
-
viewType: 'web' | 'mobile' | 'both';
|
|
9
|
-
header: ColumnHeaderDirective;
|
|
10
|
-
cell: ColumnCellDirective;
|
|
11
|
-
footer?: ColumnFooterDirective;
|
|
12
|
-
constructor();
|
|
13
|
-
get columnDefName(): string;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnDirective, "mcl-column,[mclColumn]", never, { "name": { "alias": "name"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; }, {}, ["header", "cell", "footer"], never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NumericPaginatorComponent {
|
|
5
|
-
length: number;
|
|
6
|
-
pageIndex: number;
|
|
7
|
-
pageSize: number;
|
|
8
|
-
pageSizeOptions: number[];
|
|
9
|
-
hidePageSize: boolean;
|
|
10
|
-
showFirstLastButtons: boolean;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
page: EventEmitter<PageEvent>;
|
|
13
|
-
totalPages(): number;
|
|
14
|
-
hasPrevious(): boolean;
|
|
15
|
-
hasNext(): boolean;
|
|
16
|
-
pages(): number[];
|
|
17
|
-
rangeLabel(): string;
|
|
18
|
-
private emit;
|
|
19
|
-
goTo(page1Based: number): void;
|
|
20
|
-
previousPage(): void;
|
|
21
|
-
nextPage(): void;
|
|
22
|
-
firstPage(): void;
|
|
23
|
-
lastPage(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumericPaginatorComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumericPaginatorComponent, "mcl-numeric-paginator", never, { "length": { "alias": "length"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "page": "page"; }, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, InjectionToken } from '@angular/core';
|
|
2
|
-
import { TableComponent } from '../table/table.component';
|
|
3
|
-
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
4
|
-
import { LoaderComponent } from '@main-class/componentes/loader';
|
|
5
|
-
import { MobileService } from '@main-class/componentes/core';
|
|
6
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
-
import { Observable } from 'rxjs';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare const PAGINATION_CONFIGURATION: InjectionToken<PaginationConfiguration>;
|
|
10
|
-
export interface NumericPagination {
|
|
11
|
-
type: 'numeric';
|
|
12
|
-
size: number;
|
|
13
|
-
total: number;
|
|
14
|
-
page: number;
|
|
15
|
-
hasNext: boolean;
|
|
16
|
-
hasPrevious: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface UndefinedPagination {
|
|
19
|
-
type: 'undefined';
|
|
20
|
-
size: number;
|
|
21
|
-
total?: number;
|
|
22
|
-
nextPageRef?: any;
|
|
23
|
-
previousPageRef?: any;
|
|
24
|
-
}
|
|
25
|
-
export interface Page<T> {
|
|
26
|
-
items: T[];
|
|
27
|
-
pagination: NumericPagination | UndefinedPagination;
|
|
28
|
-
}
|
|
29
|
-
export interface NumericPaginationEvent {
|
|
30
|
-
type: 'numeric';
|
|
31
|
-
size: number;
|
|
32
|
-
page: number;
|
|
33
|
-
}
|
|
34
|
-
export interface UndefinedPaginationEvent {
|
|
35
|
-
type: 'undefined';
|
|
36
|
-
size: number;
|
|
37
|
-
action: 'next' | 'previous' | 'first' | 'last';
|
|
38
|
-
}
|
|
39
|
-
export interface PaginationConfiguration {
|
|
40
|
-
sizes: Array<number>;
|
|
41
|
-
}
|
|
42
|
-
export declare function PaginatorIntlFactory(translateService: TranslateService): MatPaginatorIntl;
|
|
43
|
-
export declare class PaginatedTableComponent<T> extends TableComponent<T> {
|
|
44
|
-
sizes: number[];
|
|
45
|
-
paginate: EventEmitter<NumericPaginationEvent | UndefinedPaginationEvent>;
|
|
46
|
-
page?: Page<T>;
|
|
47
|
-
loader?: LoaderComponent;
|
|
48
|
-
constructor(mobileService: MobileService, paginationConfiguration?: PaginationConfiguration);
|
|
49
|
-
get numericPagination(): NumericPagination | undefined;
|
|
50
|
-
get undefinedPagination(): UndefinedPagination | undefined;
|
|
51
|
-
getCurrentLength(): number | undefined;
|
|
52
|
-
getItems(): Array<T> | undefined;
|
|
53
|
-
loadingAround<T>(action: Observable<T> | Promise<T>): Observable<T>;
|
|
54
|
-
numericPageEvent(page: number, size: number): void;
|
|
55
|
-
undefinedPageEvent(action: 'next' | 'previous' | 'first' | 'last', size: number): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatedTableComponent<any>, [null, { optional: true; }]>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatedTableComponent<any>, "mcl-table[page]", never, { "sizes": { "alias": "sizes"; "required": false; }; "page": { "alias": "page"; "required": false; }; }, { "paginate": "paginate"; }, never, ["[mclEmptyState]"], true, never>;
|
|
58
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
-
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
3
|
-
export declare class PaginatorI18n {
|
|
4
|
-
private readonly translate;
|
|
5
|
-
constructor(translate: TranslateService);
|
|
6
|
-
getPaginatorIntl(): MatPaginatorIntl;
|
|
7
|
-
private getRangeLabel;
|
|
8
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, DoCheck, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
-
import { ColumnDirective } from '../column/column.directive';
|
|
3
|
-
import { MatTable } from '@angular/material/table';
|
|
4
|
-
import { BehaviorSubject } from 'rxjs';
|
|
5
|
-
import { MobileService } from '@main-class/componentes/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TableComponent<T> implements AfterViewInit, DoCheck, OnDestroy {
|
|
8
|
-
private mobileService;
|
|
9
|
-
private readonly injector;
|
|
10
|
-
itemsSubject: BehaviorSubject<any[]>;
|
|
11
|
-
emptyStateMessage: string;
|
|
12
|
-
table: MatTable<T>;
|
|
13
|
-
emptyStatePlaceholder?: ElementRef;
|
|
14
|
-
columnsDef: QueryList<ColumnDirective>;
|
|
15
|
-
items?: Array<T>;
|
|
16
|
-
private $outerItems?;
|
|
17
|
-
sticky: boolean;
|
|
18
|
-
private currentColumns;
|
|
19
|
-
private $activeColumnNames;
|
|
20
|
-
private $loading;
|
|
21
|
-
private oldLength;
|
|
22
|
-
private columnsChangeSubscription?;
|
|
23
|
-
private mobileListener;
|
|
24
|
-
constructor(mobileService: MobileService);
|
|
25
|
-
get outerItems(): Array<T> | undefined;
|
|
26
|
-
set outerItems(items: Array<T> | undefined);
|
|
27
|
-
get activeColumnNames(): string[];
|
|
28
|
-
get hasFooter(): boolean;
|
|
29
|
-
private mergeColumnsDef;
|
|
30
|
-
ngAfterViewInit(): void;
|
|
31
|
-
ngDoCheck(): void;
|
|
32
|
-
getItems(): T[] | undefined;
|
|
33
|
-
getCurrentLength(): number | undefined;
|
|
34
|
-
ngOnDestroy(): void;
|
|
35
|
-
private removeColumnDef;
|
|
36
|
-
private addColumnDef;
|
|
37
|
-
private mapColumnDef;
|
|
38
|
-
private currentColumnsContains;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "mcl-table:not([page]):not([paginated])", never, { "emptyStateMessage": { "alias": "emptyStateMessage"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "outerItems": { "alias": "items"; "required": false; }; }, {}, ["emptyStatePlaceholder", "columnsDef"], ["[mclEmptyState]"], true, never>;
|
|
41
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TdComponent implements OnInit {
|
|
4
|
-
constructor(element: ElementRef);
|
|
5
|
-
ngOnInit(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TdComponent, [{ self: true; }]>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TdComponent, "td,mcl-td", never, {}, {}, never, ["*"], true, never>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ThComponent implements OnInit {
|
|
4
|
-
constructor(element: ElementRef);
|
|
5
|
-
ngOnInit(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThComponent, [{ self: true; }]>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThComponent, "th,mcl-th", never, {}, {}, never, ["*"], true, never>;
|
|
8
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface UndefinedPaginatorEvent {
|
|
4
|
-
size: number;
|
|
5
|
-
action: 'next' | 'previous' | 'first' | 'last';
|
|
6
|
-
}
|
|
7
|
-
export declare class UndefinedPaginatorComponent {
|
|
8
|
-
/** Tamanho do “lote” por navegação */
|
|
9
|
-
pageSize: number;
|
|
10
|
-
/** Há páginas (ou lotes) anteriores? Controla ‘first/previous’. */
|
|
11
|
-
hasPrevious: boolean;
|
|
12
|
-
/** Há páginas (ou lotes) seguintes? Controla ‘next/last’. */
|
|
13
|
-
hasNext: boolean;
|
|
14
|
-
/** Emite ações com o tamanho atual */
|
|
15
|
-
page: EventEmitter<UndefinedPaginatorEvent>;
|
|
16
|
-
/** Opções comuns de tamanho de página (ajuste se quiser) */
|
|
17
|
-
pageSizeOptions: number[];
|
|
18
|
-
first(): void;
|
|
19
|
-
previous(): void;
|
|
20
|
-
next(): void;
|
|
21
|
-
last(): void;
|
|
22
|
-
onSizeChange(size: number): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UndefinedPaginatorComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UndefinedPaginatorComponent, "mcl-undefined-paginator", never, { "pageSize": { "alias": "pageSize"; "required": false; }; "hasPrevious": { "alias": "hasPrevious"; "required": false; }; "hasNext": { "alias": "hasNext"; "required": false; }; }, { "page": "page"; }, never, never, true, never>;
|
|
25
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { TableComponent } from '../table/table.component';
|
|
3
|
-
import { LoaderComponent } from '@main-class/componentes/loader';
|
|
4
|
-
import { MobileService } from '@main-class/componentes/core';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { NumericPagination, NumericPaginationEvent, PaginationConfiguration, UndefinedPagination, UndefinedPaginationEvent } from '../paginated-table/paginated-table.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class VirtualPaginatedTableComponent<T> extends TableComponent<T> {
|
|
9
|
-
sizes: number[];
|
|
10
|
-
paginate: EventEmitter<NumericPaginationEvent | UndefinedPaginationEvent>;
|
|
11
|
-
loader?: LoaderComponent;
|
|
12
|
-
private pageItems;
|
|
13
|
-
page: number;
|
|
14
|
-
size: number;
|
|
15
|
-
constructor(mobileService: MobileService, paginationConfiguration?: PaginationConfiguration);
|
|
16
|
-
get outerItems(): Array<T> | undefined;
|
|
17
|
-
set outerItems(items: Array<T> | undefined);
|
|
18
|
-
get numericPagination(): NumericPagination | undefined;
|
|
19
|
-
get undefinedPagination(): UndefinedPagination | undefined;
|
|
20
|
-
ngAfterViewInit(): void;
|
|
21
|
-
getCurrentLength(): number | undefined;
|
|
22
|
-
getItems(): Array<T> | undefined;
|
|
23
|
-
loadingAround<T>(action: Observable<T> | Promise<T>): Observable<T>;
|
|
24
|
-
numericPageEvent(page: number, size: number): void;
|
|
25
|
-
undefinedPageEvent(action: 'next' | 'previous' | 'first' | 'last', size: number): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VirtualPaginatedTableComponent<any>, [null, { optional: true; }]>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VirtualPaginatedTableComponent<any>, "mcl-table[paginated]", never, { "sizes": { "alias": "sizes"; "required": false; }; "outerItems": { "alias": "items"; "required": false; }; }, { "paginate": "paginate"; }, never, ["[mclEmptyState]"], true, never>;
|
|
28
|
-
}
|