ps-toolkit-ui 0.1.26 → 0.1.29
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/bundles/ps-toolkit-ui.umd.js +984 -3
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +1 -1
- package/esm2015/lib/components/modal/modal.component.js +1 -1
- package/esm2015/lib/components/table-old/loading/table-old.loading.component.js +17 -0
- package/esm2015/lib/components/table-old/pagination/table-old.pagination.component.js +84 -0
- package/esm2015/lib/components/table-old/report/table-old.report.component.js +246 -0
- package/esm2015/lib/components/table-old/row/table-old.row.component.js +381 -0
- package/esm2015/lib/components/table-old/table-old.component.js +179 -0
- package/esm2015/lib/ps-toolkit-ui.module.js +8 -2
- package/esm2015/ps-toolkit-ui.js +6 -1
- package/fesm2015/ps-toolkit-ui.js +884 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/table-old/loading/table-old.loading.component.d.ts +5 -0
- package/lib/components/table-old/pagination/table-old.pagination.component.d.ts +15 -0
- package/lib/components/table-old/report/table-old.report.component.d.ts +34 -0
- package/lib/components/table-old/row/table-old.row.component.d.ts +34 -0
- package/lib/components/table-old/table-old.component.d.ts +40 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.d.ts +5 -0
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TableClass } from '../../../classes/table.class';
|
|
3
|
+
import { InputClass } from '../../../classes/form.class';
|
|
4
|
+
import { InputType } from '../../../classes/enum.class';
|
|
5
|
+
export declare class TableOldPaginationComponent implements OnInit {
|
|
6
|
+
table: TableClass;
|
|
7
|
+
size: number;
|
|
8
|
+
perPageSelect: InputClass;
|
|
9
|
+
next: InputClass;
|
|
10
|
+
get type(): typeof InputType;
|
|
11
|
+
getButtons(): InputClass[];
|
|
12
|
+
add(s: number, f: number): InputClass[];
|
|
13
|
+
changePage(btn: any): void;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { TableClass, TableCollClass } from '../../../classes/table.class';
|
|
3
|
+
import { InputType } from '../../../classes/enum.class';
|
|
4
|
+
import { InputClass } from '../../../classes/form.class';
|
|
5
|
+
import { PsToolkitUiConfigService } from '../../../services/config.service';
|
|
6
|
+
export declare class TableOldReportComponent implements OnInit {
|
|
7
|
+
service: PsToolkitUiConfigService;
|
|
8
|
+
confirmShow: any;
|
|
9
|
+
changeRows: EventEmitter<object>;
|
|
10
|
+
level: number;
|
|
11
|
+
table: TableClass;
|
|
12
|
+
row: any;
|
|
13
|
+
loadParent: EventEmitter<string>;
|
|
14
|
+
get type(): typeof InputType;
|
|
15
|
+
options: InputClass[];
|
|
16
|
+
optEdit: InputClass;
|
|
17
|
+
optDelete: InputClass;
|
|
18
|
+
optStatus: InputClass;
|
|
19
|
+
showChildren: InputClass;
|
|
20
|
+
addChildren: InputClass;
|
|
21
|
+
itemsWidth: number;
|
|
22
|
+
children: any[];
|
|
23
|
+
childrenDiv: ElementRef;
|
|
24
|
+
constructor(service: PsToolkitUiConfigService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
loadChildren(p: any): void;
|
|
27
|
+
select(): void;
|
|
28
|
+
onChangeRows(e: any): void;
|
|
29
|
+
setSortRow(): void;
|
|
30
|
+
getOptions(): InputClass[];
|
|
31
|
+
getCell(col: TableCollClass): any;
|
|
32
|
+
getCol(n: any): string;
|
|
33
|
+
edit(): void;
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { TableClass, TableCollClass } from '../../../classes/table.class';
|
|
3
|
+
import { InputType, TableOptionType } from '../../../classes/enum.class';
|
|
4
|
+
import { InputClass } from '../../../classes/form.class';
|
|
5
|
+
import { PsToolkitUiConfigService } from '../../../services/config.service';
|
|
6
|
+
export declare class TableOldRowComponent implements OnInit {
|
|
7
|
+
service: PsToolkitUiConfigService;
|
|
8
|
+
confirmShow: EventEmitter<object>;
|
|
9
|
+
changeRows: EventEmitter<object>;
|
|
10
|
+
level: number;
|
|
11
|
+
table: TableClass;
|
|
12
|
+
row: any;
|
|
13
|
+
loadParent: EventEmitter<string>;
|
|
14
|
+
get type(): typeof InputType;
|
|
15
|
+
get tableOptionType(): typeof TableOptionType;
|
|
16
|
+
optStatus: InputClass;
|
|
17
|
+
showChildren: InputClass;
|
|
18
|
+
addChildren: InputClass;
|
|
19
|
+
itemsWidth: number;
|
|
20
|
+
children: any[];
|
|
21
|
+
childrenDiv: ElementRef;
|
|
22
|
+
constructor(service: PsToolkitUiConfigService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
loadChildren(p: any): void;
|
|
25
|
+
select(): void;
|
|
26
|
+
onChangeRows(e: any): void;
|
|
27
|
+
onConfirmShow(e: any): void;
|
|
28
|
+
setSortRow(): void;
|
|
29
|
+
getOptions(): InputClass[];
|
|
30
|
+
getCell(col: TableCollClass): any;
|
|
31
|
+
getCol(n: any): string;
|
|
32
|
+
edit(opt: InputClass): void;
|
|
33
|
+
getChildren(): any[];
|
|
34
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { TableClass } from '../../classes/table.class';
|
|
4
|
+
import { InputType, TableCollType, TableOptionType } from '../../classes/enum.class';
|
|
5
|
+
import { InputClass } from '../../classes/form.class';
|
|
6
|
+
import { ConfirmComponent } from '../confirm/confirm.component';
|
|
7
|
+
import { ModalClass } from '../../classes/modal.class';
|
|
8
|
+
export declare class TableOldComponent implements OnInit {
|
|
9
|
+
router: Router;
|
|
10
|
+
table: TableClass;
|
|
11
|
+
changeRows: EventEmitter<object>;
|
|
12
|
+
get type(): typeof InputType;
|
|
13
|
+
get tableOptionType(): typeof TableOptionType;
|
|
14
|
+
get colType(): typeof TableCollType;
|
|
15
|
+
rows: ElementRef;
|
|
16
|
+
tableDiv: ElementRef;
|
|
17
|
+
exportDropDown: ElementRef;
|
|
18
|
+
confirm: ConfirmComponent;
|
|
19
|
+
loadIcon: InputClass;
|
|
20
|
+
sizeIcon: InputClass;
|
|
21
|
+
select: InputClass;
|
|
22
|
+
optDelete: InputClass;
|
|
23
|
+
reload: InputClass;
|
|
24
|
+
maximum: InputClass;
|
|
25
|
+
export: InputClass;
|
|
26
|
+
constructor(router: Router);
|
|
27
|
+
itemsWidth: number;
|
|
28
|
+
options: InputClass[];
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
allSelected(): boolean;
|
|
31
|
+
isSelected(): boolean;
|
|
32
|
+
selectAll(): void;
|
|
33
|
+
getOptions(): InputClass[];
|
|
34
|
+
setSortable(): void;
|
|
35
|
+
getRows(): any[];
|
|
36
|
+
onChangeRows(e: any): void;
|
|
37
|
+
onConfirmShow(e: any): void;
|
|
38
|
+
changeSort(e: any, s: string): void;
|
|
39
|
+
getModals(): ModalClass[];
|
|
40
|
+
}
|
package/package.json
CHANGED
package/ps-toolkit-ui.d.ts
CHANGED
|
@@ -12,6 +12,11 @@ export { FormTreeItemComponent as ɵf } from './lib/components/form/tree/item/fo
|
|
|
12
12
|
export { LoginComponent as ɵj } from './lib/components/login/login.component';
|
|
13
13
|
export { NotificationComponent as ɵk } from './lib/components/notification/notification.component';
|
|
14
14
|
export { SidebarItemComponent as ɵc } from './lib/components/sidebar/item/sidebar.item.component';
|
|
15
|
+
export { TableOldLoadingComponent as ɵp } from './lib/components/table-old/loading/table-old.loading.component';
|
|
16
|
+
export { TableOldPaginationComponent as ɵq } from './lib/components/table-old/pagination/table-old.pagination.component';
|
|
17
|
+
export { TableOldReportComponent as ɵr } from './lib/components/table-old/report/table-old.report.component';
|
|
18
|
+
export { TableOldRowComponent as ɵs } from './lib/components/table-old/row/table-old.row.component';
|
|
19
|
+
export { TableOldComponent as ɵt } from './lib/components/table-old/table-old.component';
|
|
15
20
|
export { TableLoadingComponent as ɵe } from './lib/components/table/loading/table.loading.component';
|
|
16
21
|
export { TablePaginationComponent as ɵb } from './lib/components/table/pagination/table.pagination.component';
|
|
17
22
|
export { TableReportComponent as ɵh } from './lib/components/table/report/table.report.component';
|