@tots/table 15.0.40 → 15.0.41
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/{esm2020 → esm2022}/lib/columns/balance-currency-column/balance-currency-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/balance-currency-icon-column/balance-currency-icon-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/base-print-column/base-print-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/boolean-column/boolean-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/checkbox-column/checkbox-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/currency-column/currency-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/icon-button-column/icon-button-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/more-menu-column/more-menu-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/option-column/option-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/status-column/status-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/status-icon-column/status-icon-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/string-column/string-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/tots-base-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/two-string-column/two-string-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/columns/user-column/user-column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/tots-table/tots-table.component.mjs +10 -6
- package/{esm2020 → esm2022}/lib/components/tots-table-api/tots-table-api.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/table.module.mjs +37 -37
- package/{fesm2020 → fesm2022}/tots-table.mjs +96 -89
- package/fesm2022/tots-table.mjs.map +1 -0
- package/lib/columns/base-print-column/base-print-column.component.d.ts +1 -1
- package/lib/columns/tots-base-column.component.d.ts +1 -1
- package/lib/components/tots-table/tots-table.component.d.ts +5 -2
- package/lib/components/tots-table-api/tots-table-api.component.d.ts +1 -1
- package/package.json +5 -11
- package/fesm2015/tots-table.mjs +0 -589
- package/fesm2015/tots-table.mjs.map +0 -1
- package/fesm2020/tots-table.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/entities/tots-action-table.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/entities/tots-column.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/entities/tots-table-api-config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/entities/tots-table-config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/helpers/tots-table-helper.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tots-table.mjs +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { PageEvent } from '@angular/material/paginator';
|
|
3
3
|
import { TotsListResponse } from '@tots/core';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
@@ -7,6 +7,7 @@ import { TotsColumn } from '../../entities/tots-column';
|
|
|
7
7
|
import { TotsTableConfig } from '../../entities/tots-table-config';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class TotsTableComponent implements OnInit {
|
|
10
|
+
protected changeDectetor: ChangeDetectorRef;
|
|
10
11
|
config: TotsTableConfig;
|
|
11
12
|
pageIndex: number;
|
|
12
13
|
pageSize: number;
|
|
@@ -17,6 +18,7 @@ export declare class TotsTableComponent implements OnInit {
|
|
|
17
18
|
isLoading: boolean;
|
|
18
19
|
dataItems?: TotsListResponse<any>;
|
|
19
20
|
displayColumns: Array<String>;
|
|
21
|
+
constructor(changeDectetor: ChangeDetectorRef);
|
|
20
22
|
ngOnInit(): void;
|
|
21
23
|
onClickOrder(column: TotsColumn): void;
|
|
22
24
|
onClickRow(item: any): void;
|
|
@@ -26,6 +28,7 @@ export declare class TotsTableComponent implements OnInit {
|
|
|
26
28
|
loadColumns(): void;
|
|
27
29
|
getDataItems(): TotsListResponse<any> | undefined;
|
|
28
30
|
refreshDataItems(newData: TotsListResponse<any> | undefined): void;
|
|
31
|
+
detectChanges(): void;
|
|
29
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<TotsTableComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TotsTableComponent, "tots-table", never, { "config": "config"; "pageIndex": "pageIndex"; "pageSize": "pageSize"; "hasPagination": "hasPagination"; "messageNotFound": "messageNotFound"; }, { "onAction": "onAction"; }, never, never, false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TotsTableComponent, "tots-table", never, { "config": { "alias": "config"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "hasPagination": { "alias": "hasPagination"; "required": false; }; "messageNotFound": { "alias": "messageNotFound"; "required": false; }; }, { "onAction": "onAction"; }, never, never, false, never>;
|
|
31
34
|
}
|
|
@@ -21,5 +21,5 @@ export declare class TotsTableApiComponent implements OnInit {
|
|
|
21
21
|
getDataItems(): TotsListResponse<any> | undefined;
|
|
22
22
|
setObs(obs: Observable<TotsListResponse<any>>): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TotsTableApiComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TotsTableApiComponent, "tots-table-api", never, { "config": "config"; "hasPagination": "hasPagination"; "isPaginationStartIndexInZero": "isPaginationStartIndexInZero"; }, { "onAction": "onAction"; }, never, never, false, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TotsTableApiComponent, "tots-table-api", never, { "config": { "alias": "config"; "required": false; }; "hasPagination": { "alias": "hasPagination"; "required": false; }; "isPaginationStartIndexInZero": { "alias": "isPaginationStartIndexInZero"; "required": false; }; }, { "onAction": "onAction"; }, never, never, false, never>;
|
|
25
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tots/table",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.41",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^15.0.0",
|
|
6
6
|
"@angular/core": "^15.0.0",
|
|
@@ -9,11 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.3.0"
|
|
11
11
|
},
|
|
12
|
-
"module": "
|
|
13
|
-
"es2020": "fesm2020/tots-table.mjs",
|
|
14
|
-
"esm2020": "esm2020/tots-table.mjs",
|
|
15
|
-
"fesm2020": "fesm2020/tots-table.mjs",
|
|
16
|
-
"fesm2015": "fesm2015/tots-table.mjs",
|
|
12
|
+
"module": "fesm2022/tots-table.mjs",
|
|
17
13
|
"typings": "index.d.ts",
|
|
18
14
|
"exports": {
|
|
19
15
|
"./package.json": {
|
|
@@ -21,11 +17,9 @@
|
|
|
21
17
|
},
|
|
22
18
|
".": {
|
|
23
19
|
"types": "./index.d.ts",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"node": "./fesm2015/tots-table.mjs",
|
|
28
|
-
"default": "./fesm2020/tots-table.mjs"
|
|
20
|
+
"esm2022": "./esm2022/tots-table.mjs",
|
|
21
|
+
"esm": "./esm2022/tots-table.mjs",
|
|
22
|
+
"default": "./fesm2022/tots-table.mjs"
|
|
29
23
|
}
|
|
30
24
|
},
|
|
31
25
|
"sideEffects": false
|