@main-class/componentes 3.2.6 → 3.2.7
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/crud/index.d.ts +7 -0
- package/crud/src/abstract-consulta-paginada-component.d.ts +24 -0
- package/crud/src/abstract-edicao-component.d.ts +19 -0
- package/crud/src/abstract-edicao-modal-component.d.ts +19 -0
- package/crud/src/query/query-field/query-field.component.d.ts +37 -0
- package/crud/src/query/query-form-field/query-form-field.component.d.ts +11 -0
- package/crud/src/query/query-form.component.d.ts +23 -0
- package/crud/src/query/query-modal-form/query-modal-form.component.d.ts +13 -0
- package/dialog/index.d.ts +10 -0
- package/dialog/src/dialog-confirmacao/dialog-confirmacao.component.d.ts +23 -0
- package/dialog/src/dialog-iframe/dialog-iframe.component.d.ts +21 -0
- package/dialog/src/dialog-sidebar/modal-template/modal-body.directive.d.ts +9 -0
- package/dialog/src/dialog-sidebar/modal-template/modal-close.directive.d.ts +9 -0
- package/dialog/src/dialog-sidebar/modal-template/modal-footer.directive.d.ts +6 -0
- package/dialog/src/dialog-sidebar/modal-template/modal-header.directive.d.ts +6 -0
- package/dialog/src/dialog-sidebar/modal-template/modal-template.component.d.ts +12 -0
- package/dialog/src/dialog-sidebar/modal.component.d.ts +8 -0
- package/dialog/src/dialog-sidebar/sidebar-modal-ref.d.ts +17 -0
- package/dialog/src/dialog.service.d.ts +26 -0
- package/fesm2022/main-class-componentes-crud.mjs +458 -0
- package/fesm2022/main-class-componentes-crud.mjs.map +1 -0
- package/fesm2022/main-class-componentes-dialog.mjs +393 -0
- package/fesm2022/main-class-componentes-dialog.mjs.map +1 -0
- package/fesm2022/main-class-componentes-form.mjs +209 -0
- package/fesm2022/main-class-componentes-form.mjs.map +1 -0
- package/fesm2022/main-class-componentes-input.mjs +1845 -0
- package/fesm2022/main-class-componentes-input.mjs.map +1 -0
- package/fesm2022/main-class-componentes-loader.mjs +213 -0
- package/fesm2022/main-class-componentes-loader.mjs.map +1 -0
- package/fesm2022/main-class-componentes-pipe.mjs +27 -0
- package/fesm2022/main-class-componentes-pipe.mjs.map +1 -0
- package/fesm2022/main-class-componentes-table.mjs +443 -0
- package/fesm2022/main-class-componentes-table.mjs.map +1 -0
- package/form/index.d.ts +3 -0
- package/form/src/form.component.d.ts +24 -0
- package/form/src/mensagens-erro/mensagens-erro.component.d.ts +17 -0
- package/form/src/single-click.directive.d.ts +13 -0
- package/input/index.d.ts +25 -0
- package/input/src/abstract-mat-form-field-control.d.ts +50 -0
- package/input/src/abstract-mat-form-field-select-control.d.ts +28 -0
- package/input/src/input-currency/input-currency.component.d.ts +11 -0
- package/input/src/input-datetime/input-datetime.component.d.ts +28 -0
- package/input/src/input-fileupload/input-fileupload.component.d.ts +69 -0
- package/input/src/input-fileupload/input-fileupload.directive.d.ts +8 -0
- package/input/src/input-mask/input-cep.component.d.ts +7 -0
- package/input/src/input-mask/input-cnpj.component.d.ts +7 -0
- package/input/src/input-mask/input-cpf-cnpj.component.d.ts +8 -0
- package/input/src/input-mask/input-cpf.component.d.ts +7 -0
- package/input/src/input-mask/input-mask.component.d.ts +20 -0
- package/input/src/input-mask/input-phone.component.d.ts +7 -0
- package/input/src/input-telefone-internacional/input-telefone-internacional-validator.directive.d.ts +8 -0
- package/input/src/input-telefone-internacional/input-telefone-internacional.component.d.ts +21 -0
- package/input/src/option-checkbox/all-option-checkbox.component.d.ts +18 -0
- package/input/src/option-checkbox/node-pool.d.ts +23 -0
- package/input/src/option-checkbox/option-checkbox-group.component.d.ts +25 -0
- package/input/src/option-checkbox/option-checkbox.component.d.ts +23 -0
- package/input/src/option-checkbox/option-checkbox.service.d.ts +16 -0
- package/input/src/option-checkbox/option-node.d.ts +13 -0
- package/input/src/select-autocomplete/select-autocomplete.component.d.ts +17 -0
- package/input/src/select-chips/select-chips.component.d.ts +11 -0
- package/input/src/select-many-checkbox/select-many-checkbox.component.d.ts +11 -0
- package/input/src/select-option/delegate-option-provider.directive.d.ts +13 -0
- package/input/src/select-option/select-option-provider.d.ts +10 -0
- package/input/src/select-option/select-option.component.d.ts +10 -0
- package/input/src/select-option/select-option.d.ts +4 -0
- package/input/src/select-radio/select-radio.component.d.ts +8 -0
- package/loader/index.d.ts +2 -0
- package/loader/src/loader.component.d.ts +25 -0
- package/loader/src/loader.service.d.ts +20 -0
- package/package.json +9 -9
- package/pipe/index.d.ts +1 -0
- package/pipe/src/nome-resumido.pipe.d.ts +7 -0
- package/table/index.d.ts +9 -0
- package/table/src/column/column-cell.directive.d.ts +8 -0
- package/table/src/column/column-footer.directive.d.ts +8 -0
- package/table/src/column/column-header.directive.d.ts +8 -0
- package/table/src/column/column.directive.d.ts +16 -0
- package/table/src/numeric-paginator/numeric-paginator.component.d.ts +6 -0
- package/table/src/paginated-table/paginated-table.component.d.ts +58 -0
- package/table/src/paginator-i18n.d.ts +8 -0
- package/table/src/table/table.component.d.ts +39 -0
- package/table/src/td/td.component.d.ts +8 -0
- package/table/src/th/th.component.d.ts +8 -0
- package/table/src/undefined-paginator/undefined-paginator.component.d.ts +25 -0
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@main-class/componentes",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.7",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.2.0",
|
|
6
6
|
"@angular/core": "^19.2.0"
|
|
@@ -31,26 +31,26 @@
|
|
|
31
31
|
"types": "./crud/index.d.ts",
|
|
32
32
|
"default": "./fesm2022/main-class-componentes-crud.mjs"
|
|
33
33
|
},
|
|
34
|
-
"./dialog": {
|
|
35
|
-
"types": "./dialog/index.d.ts",
|
|
36
|
-
"default": "./fesm2022/main-class-componentes-dialog.mjs"
|
|
37
|
-
},
|
|
38
34
|
"./form": {
|
|
39
35
|
"types": "./form/index.d.ts",
|
|
40
36
|
"default": "./fesm2022/main-class-componentes-form.mjs"
|
|
41
37
|
},
|
|
38
|
+
"./dialog": {
|
|
39
|
+
"types": "./dialog/index.d.ts",
|
|
40
|
+
"default": "./fesm2022/main-class-componentes-dialog.mjs"
|
|
41
|
+
},
|
|
42
42
|
"./loader": {
|
|
43
43
|
"types": "./loader/index.d.ts",
|
|
44
44
|
"default": "./fesm2022/main-class-componentes-loader.mjs"
|
|
45
45
|
},
|
|
46
|
-
"./input": {
|
|
47
|
-
"types": "./input/index.d.ts",
|
|
48
|
-
"default": "./fesm2022/main-class-componentes-input.mjs"
|
|
49
|
-
},
|
|
50
46
|
"./misc": {
|
|
51
47
|
"types": "./misc/index.d.ts",
|
|
52
48
|
"default": "./fesm2022/main-class-componentes-misc.mjs"
|
|
53
49
|
},
|
|
50
|
+
"./input": {
|
|
51
|
+
"types": "./input/index.d.ts",
|
|
52
|
+
"default": "./fesm2022/main-class-componentes-input.mjs"
|
|
53
|
+
},
|
|
54
54
|
"./pipe": {
|
|
55
55
|
"types": "./pipe/index.d.ts",
|
|
56
56
|
"default": "./fesm2022/main-class-componentes-pipe.mjs"
|
package/pipe/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./src/nome-resumido.pipe";
|
|
@@ -0,0 +1,7 @@
|
|
|
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/table/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
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/table/table.component';
|
|
7
|
+
export * from './src/td/td.component';
|
|
8
|
+
export * from './src/th/th.component';
|
|
9
|
+
export * from './src/numeric-paginator/numeric-paginator.component';
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NumericPaginatorComponent extends MatPaginator {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumericPaginatorComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumericPaginatorComponent, "mcl-numeric-paginator", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
outerItems?: Array<T>;
|
|
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 activeColumnNames(): string[];
|
|
26
|
+
get hasFooter(): boolean;
|
|
27
|
+
private mergeColumnsDef;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
ngDoCheck(): void;
|
|
30
|
+
getItems(): T[] | undefined;
|
|
31
|
+
getCurrentLength(): number | undefined;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
private removeColumnDef;
|
|
34
|
+
private addColumnDef;
|
|
35
|
+
private mapColumnDef;
|
|
36
|
+
private currentColumnsContains;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "mcl-table:not([page])", never, { "emptyStateMessage": { "alias": "emptyStateMessage"; "required": false; }; "outerItems": { "alias": "items"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; }, {}, ["emptyStatePlaceholder", "columnsDef"], ["[mclEmptyState]"], true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface UndefinedPaginatorEvent {
|
|
5
|
+
size: number;
|
|
6
|
+
action: 'next' | 'previous' | 'first' | 'last';
|
|
7
|
+
}
|
|
8
|
+
export declare class UndefinedPaginatorComponent {
|
|
9
|
+
private options;
|
|
10
|
+
_intl: MatPaginatorIntl;
|
|
11
|
+
_displayedPageSizeOptions: number[];
|
|
12
|
+
pageSize: number;
|
|
13
|
+
hasPrevious: boolean;
|
|
14
|
+
hasNext: boolean;
|
|
15
|
+
page: EventEmitter<UndefinedPaginatorEvent>;
|
|
16
|
+
lastPage(): void;
|
|
17
|
+
_changePageSize(size: number): void;
|
|
18
|
+
firstPage(): void;
|
|
19
|
+
_previousButtonsDisabled(): boolean;
|
|
20
|
+
_nextButtonsDisabled(): boolean;
|
|
21
|
+
previousPage(): void;
|
|
22
|
+
nextPage(): 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
|
+
}
|