@tots/table 16.0.20 → 20.0.1
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 +139 -13
- package/fesm2022/tots-table.mjs +116 -106
- package/fesm2022/tots-table.mjs.map +1 -1
- package/index.d.ts +384 -5
- package/package.json +5 -7
- package/esm2022/lib/column-factories/tots-balance-column.mjs +0 -12
- package/esm2022/lib/column-factories/tots-balance-icon-column.mjs +0 -15
- package/esm2022/lib/column-factories/tots-boolean-column.mjs +0 -8
- package/esm2022/lib/column-factories/tots-checkbox-column.mjs +0 -13
- package/esm2022/lib/column-factories/tots-currency-column.mjs +0 -8
- package/esm2022/lib/column-factories/tots-icon-button-column.mjs +0 -15
- package/esm2022/lib/column-factories/tots-link-column.mjs +0 -12
- package/esm2022/lib/column-factories/tots-more-menu-column.mjs +0 -12
- package/esm2022/lib/column-factories/tots-number-column.mjs +0 -12
- package/esm2022/lib/column-factories/tots-option-column.mjs +0 -13
- package/esm2022/lib/column-factories/tots-status-column.mjs +0 -13
- package/esm2022/lib/column-factories/tots-status-icon-column.mjs +0 -13
- package/esm2022/lib/column-factories/tots-string-column.mjs +0 -11
- package/esm2022/lib/column-factories/tots-two-string-column.mjs +0 -11
- package/esm2022/lib/column-factories/tots-user-column.mjs +0 -16
- package/esm2022/lib/columns/balance-currency-column/balance-currency-column.component.mjs +0 -23
- package/esm2022/lib/columns/balance-currency-icon-column/balance-currency-icon-column.component.mjs +0 -23
- package/esm2022/lib/columns/base-print-column/base-print-column.component.mjs +0 -29
- package/esm2022/lib/columns/boolean-column/boolean-column.component.mjs +0 -13
- package/esm2022/lib/columns/checkbox-column/checkbox-column.component.mjs +0 -20
- package/esm2022/lib/columns/currency-column/currency-column.component.mjs +0 -13
- package/esm2022/lib/columns/icon-button-column/icon-button-column.component.mjs +0 -28
- package/esm2022/lib/columns/link-column/link-column.component.mjs +0 -18
- package/esm2022/lib/columns/more-menu-column/more-menu-column.component.mjs +0 -21
- package/esm2022/lib/columns/number-column/number-column.component.mjs +0 -13
- package/esm2022/lib/columns/option-column/option-column.component.mjs +0 -22
- package/esm2022/lib/columns/status-column/status-column.component.mjs +0 -32
- package/esm2022/lib/columns/status-icon-column/status-icon-column.component.mjs +0 -24
- package/esm2022/lib/columns/string-column/string-column.component.mjs +0 -24
- package/esm2022/lib/columns/tots-base-column.component.mjs +0 -26
- package/esm2022/lib/columns/two-string-column/two-string-column.component.mjs +0 -16
- package/esm2022/lib/columns/user-column/user-column.component.mjs +0 -67
- package/esm2022/lib/components/loading-animation-renderer/loading-animation-renderer.component.mjs +0 -42
- package/esm2022/lib/components/tots-table/tots-table.component.mjs +0 -108
- package/esm2022/lib/components/tots-table-api/tots-table-api.component.mjs +0 -67
- package/esm2022/lib/entities/tots-action-table.mjs +0 -6
- package/esm2022/lib/entities/tots-column-option.mjs +0 -7
- package/esm2022/lib/entities/tots-column.mjs +0 -12
- package/esm2022/lib/entities/tots-more-menu-item.mjs +0 -9
- package/esm2022/lib/entities/tots-status-column-option.mjs +0 -9
- package/esm2022/lib/entities/tots-status-icon-column-option.mjs +0 -8
- package/esm2022/lib/entities/tots-table-api-config.mjs +0 -10
- package/esm2022/lib/entities/tots-table-config.mjs +0 -8
- package/esm2022/lib/entities/tots-table-default-config.mjs +0 -11
- package/esm2022/lib/helpers/tots-table-helper.mjs +0 -25
- package/esm2022/lib/table.module.mjs +0 -142
- package/esm2022/public-api.mjs +0 -66
- package/esm2022/tots-table.mjs +0 -5
- package/lib/column-factories/tots-balance-column.d.ts +0 -4
- package/lib/column-factories/tots-balance-icon-column.d.ts +0 -4
- package/lib/column-factories/tots-boolean-column.d.ts +0 -4
- package/lib/column-factories/tots-checkbox-column.d.ts +0 -5
- package/lib/column-factories/tots-currency-column.d.ts +0 -4
- package/lib/column-factories/tots-icon-button-column.d.ts +0 -5
- package/lib/column-factories/tots-link-column.d.ts +0 -4
- package/lib/column-factories/tots-more-menu-column.d.ts +0 -5
- package/lib/column-factories/tots-number-column.d.ts +0 -4
- package/lib/column-factories/tots-option-column.d.ts +0 -5
- package/lib/column-factories/tots-status-column.d.ts +0 -5
- package/lib/column-factories/tots-status-icon-column.d.ts +0 -5
- package/lib/column-factories/tots-string-column.d.ts +0 -4
- package/lib/column-factories/tots-two-string-column.d.ts +0 -4
- package/lib/column-factories/tots-user-column.d.ts +0 -4
- package/lib/columns/balance-currency-column/balance-currency-column.component.d.ts +0 -9
- package/lib/columns/balance-currency-icon-column/balance-currency-icon-column.component.d.ts +0 -9
- package/lib/columns/base-print-column/base-print-column.component.d.ts +0 -16
- package/lib/columns/boolean-column/boolean-column.component.d.ts +0 -6
- package/lib/columns/checkbox-column/checkbox-column.component.d.ts +0 -8
- package/lib/columns/currency-column/currency-column.component.d.ts +0 -6
- package/lib/columns/icon-button-column/icon-button-column.component.d.ts +0 -10
- package/lib/columns/link-column/link-column.component.d.ts +0 -10
- package/lib/columns/more-menu-column/more-menu-column.component.d.ts +0 -7
- package/lib/columns/number-column/number-column.component.d.ts +0 -6
- package/lib/columns/option-column/option-column.component.d.ts +0 -7
- package/lib/columns/status-column/status-column.component.d.ts +0 -8
- package/lib/columns/status-icon-column/status-icon-column.component.d.ts +0 -7
- package/lib/columns/string-column/string-column.component.d.ts +0 -8
- package/lib/columns/tots-base-column.component.d.ts +0 -13
- package/lib/columns/two-string-column/two-string-column.component.d.ts +0 -7
- package/lib/columns/user-column/user-column.component.d.ts +0 -15
- package/lib/components/loading-animation-renderer/loading-animation-renderer.component.d.ts +0 -15
- package/lib/components/tots-table/tots-table.component.d.ts +0 -44
- package/lib/components/tots-table-api/tots-table-api.component.d.ts +0 -25
- package/lib/entities/tots-action-table.d.ts +0 -4
- package/lib/entities/tots-column-option.d.ts +0 -5
- package/lib/entities/tots-column.d.ts +0 -12
- package/lib/entities/tots-more-menu-item.d.ts +0 -7
- package/lib/entities/tots-status-column-option.d.ts +0 -6
- package/lib/entities/tots-status-icon-column-option.d.ts +0 -5
- package/lib/entities/tots-table-api-config.d.ts +0 -9
- package/lib/entities/tots-table-config.d.ts +0 -9
- package/lib/entities/tots-table-default-config.d.ts +0 -36
- package/lib/helpers/tots-table-helper.d.ts +0 -9
- package/lib/table.module.d.ts +0 -34
- package/public-api.d.ts +0 -62
package/esm2022/public-api.mjs
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of table
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Entities
|
|
6
|
-
*/
|
|
7
|
-
export * from './lib/entities/tots-column';
|
|
8
|
-
export * from './lib/entities/tots-table-config';
|
|
9
|
-
export * from './lib/entities/tots-table-default-config';
|
|
10
|
-
export * from './lib/entities/tots-action-table';
|
|
11
|
-
export * from './lib/entities/tots-table-api-config';
|
|
12
|
-
export * from './lib/entities/tots-column-option';
|
|
13
|
-
export * from './lib/entities/tots-more-menu-item';
|
|
14
|
-
export * from './lib/entities/tots-status-column-option';
|
|
15
|
-
export * from './lib/entities/tots-status-icon-column-option';
|
|
16
|
-
/**
|
|
17
|
-
* Helpers
|
|
18
|
-
*/
|
|
19
|
-
export * from './lib/helpers/tots-table-helper';
|
|
20
|
-
/**
|
|
21
|
-
* Columns
|
|
22
|
-
*/
|
|
23
|
-
export * from './lib/columns/tots-base-column.component';
|
|
24
|
-
export * from './lib/columns/balance-currency-column/balance-currency-column.component';
|
|
25
|
-
export * from './lib/columns/balance-currency-icon-column/balance-currency-icon-column.component';
|
|
26
|
-
export * from './lib/columns/boolean-column/boolean-column.component';
|
|
27
|
-
export * from './lib/columns/checkbox-column/checkbox-column.component';
|
|
28
|
-
export * from './lib/columns/currency-column/currency-column.component';
|
|
29
|
-
export * from './lib/columns/icon-button-column/icon-button-column.component';
|
|
30
|
-
export * from './lib/columns/link-column/link-column.component';
|
|
31
|
-
export * from './lib/columns/more-menu-column/more-menu-column.component';
|
|
32
|
-
export * from './lib/columns/number-column/number-column.component';
|
|
33
|
-
export * from './lib/columns/option-column/option-column.component';
|
|
34
|
-
export * from './lib/columns/status-column/status-column.component';
|
|
35
|
-
export * from './lib/columns/status-icon-column/status-icon-column.component';
|
|
36
|
-
export * from './lib/columns/string-column/string-column.component';
|
|
37
|
-
export * from './lib/columns/two-string-column/two-string-column.component';
|
|
38
|
-
export * from './lib/columns/user-column/user-column.component';
|
|
39
|
-
/**
|
|
40
|
-
* Factories
|
|
41
|
-
*/
|
|
42
|
-
export * from './lib/column-factories/tots-balance-column';
|
|
43
|
-
export * from './lib/column-factories/tots-balance-icon-column';
|
|
44
|
-
export * from './lib/column-factories/tots-boolean-column';
|
|
45
|
-
export * from './lib/column-factories/tots-checkbox-column';
|
|
46
|
-
export * from './lib/column-factories/tots-currency-column';
|
|
47
|
-
export * from './lib/column-factories/tots-icon-button-column';
|
|
48
|
-
export * from './lib/column-factories/tots-link-column';
|
|
49
|
-
export * from './lib/column-factories/tots-more-menu-column';
|
|
50
|
-
export * from './lib/column-factories/tots-number-column';
|
|
51
|
-
export * from './lib/column-factories/tots-option-column';
|
|
52
|
-
export * from './lib/column-factories/tots-status-column';
|
|
53
|
-
export * from './lib/column-factories/tots-status-icon-column';
|
|
54
|
-
export * from './lib/column-factories/tots-string-column';
|
|
55
|
-
export * from './lib/column-factories/tots-two-string-column';
|
|
56
|
-
export * from './lib/column-factories/tots-user-column';
|
|
57
|
-
/**
|
|
58
|
-
* Components
|
|
59
|
-
*/
|
|
60
|
-
export * from './lib/components/tots-table/tots-table.component';
|
|
61
|
-
export * from './lib/components/tots-table-api/tots-table-api.component';
|
|
62
|
-
/**
|
|
63
|
-
* Modules
|
|
64
|
-
*/
|
|
65
|
-
export * from './lib/table.module';
|
|
66
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3RvdHMvdGFibGUvc3JjL3B1YmxpYy1hcGkudHMiX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YmxlLWFwaS5jb21wb25lbnQnO1xuXG4vKipcbiAqIE1vZHVsZXNcbiAqL1xuZXhwb3J0ICogZnJvbSAnLi9saWIvdGFibGUubW9kdWxlJztcbiJdfQ==
|
package/esm2022/tots-table.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG90cy10YWJsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3RvdHMvdGFibGUvc3JjL3RvdHMtdGFibGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TotsColumn, TotsColumnOrder } from "../entities/tots-column";
|
|
2
|
-
export declare class TotsBalanceColumn extends TotsColumn {
|
|
3
|
-
constructor(id: string, activeAssetFieldKey: string | string[], passiveAssetFieldKey: string | string[], title?: string, hasOrder?: boolean, order?: TotsColumnOrder);
|
|
4
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TotsColumn, TotsColumnOrder } from "../entities/tots-column";
|
|
2
|
-
export declare class TotsBalanceIconColumn extends TotsColumn {
|
|
3
|
-
constructor(id: string, activeAssetFieldKey: string | string[], passiveAssetFieldKey: string | string[], neutralIcon: string, positiveIcon: string, negativeIcon: string, title?: string, hasOrder?: boolean, order?: TotsColumnOrder);
|
|
4
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ThemePalette } from "@angular/material/core";
|
|
2
|
-
import { TotsColumn, TotsColumnOrder } from "../entities/tots-column";
|
|
3
|
-
export declare class TotsCheckboxColumn extends TotsColumn {
|
|
4
|
-
constructor(id: string, fieldKey?: string | string[], title?: string, color?: ThemePalette, cssClass?: string, hasOrder?: boolean, order?: TotsColumnOrder, stickyEnd?: true);
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ThemePalette } from "@angular/material/core";
|
|
2
|
-
import { TotsColumn } from "../entities/tots-column";
|
|
3
|
-
export declare class TotsIconButtonColumn extends TotsColumn {
|
|
4
|
-
constructor(id: string, icon: string, action: string, color?: ThemePalette, title?: string, cssClass?: string, stickyEnd?: boolean);
|
|
5
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TotsColumn, TotsColumnOrder } from "../entities/tots-column";
|
|
2
|
-
export declare class TotsLinkColumn extends TotsColumn {
|
|
3
|
-
constructor(id: string, fieldKey: string | string[], title?: string, hasOrder?: boolean, order?: TotsColumnOrder, caption?: string, target?: "_blank" | "_self");
|
|
4
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { TotsColumn } from "../entities/tots-column";
|
|
2
|
-
import { TotsMoreMenuItem } from "../entities/tots-more-menu-item";
|
|
3
|
-
export declare class TotsMoreMenuColumn extends TotsColumn {
|
|
4
|
-
constructor(id: string, items: TotsMoreMenuItem[], title?: string, stickyEnd?: boolean);
|
|
5
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TotsColumn, TotsColumnOrder } from "../entities/tots-column";
|
|
2
|
-
export declare class TotsNumberColumn extends TotsColumn {
|
|
3
|
-
constructor(id: string, fieldKey: string | string[], title?: string, hasOrder?: boolean, order?: TotsColumnOrder, prepend?: number | string, append?: number | string);
|
|
4
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { TotsColumn, TotsColumnOrder } from "../entities/tots-column";
|
|
2
|
-
import { TotsColumnOption } from "../entities/tots-column-option";
|
|
3
|
-
export declare class TotsOptionColumn extends TotsColumn {
|
|
4
|
-
constructor(id: string, fieldKey: string | string[], options: TotsColumnOption[], title?: string, hasOrder?: boolean, order?: TotsColumnOrder);
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { TotsColumn, TotsColumnOrder } from "../entities/tots-column";
|
|
2
|
-
import { TotsStatusColumnOption } from "../entities/tots-status-column-option";
|
|
3
|
-
export declare class TotsStatusColumn extends TotsColumn {
|
|
4
|
-
constructor(id: string, fieldKey: string | string[], options: TotsStatusColumnOption[], title?: string, hasOrder?: boolean, order?: TotsColumnOrder);
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { TotsColumn, TotsColumnOrder } from "../entities/tots-column";
|
|
2
|
-
import { TotsStatusIconColumnOption } from "../entities/tots-status-icon-column-option";
|
|
3
|
-
export declare class TotsStatusIconColumn extends TotsColumn {
|
|
4
|
-
constructor(id: string, fieldKey: string | string[], options: TotsStatusIconColumnOption[], title?: string, hasOrder?: boolean, order?: TotsColumnOrder);
|
|
5
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TotsColumn, TotsColumnOrder } from "../entities/tots-column";
|
|
2
|
-
export declare class TotsTwoStringColumn extends TotsColumn {
|
|
3
|
-
constructor(id: string, fieldKey: string | string[], secondFieldKey: string | string[], title?: string, hasOrder?: boolean, order?: TotsColumnOrder);
|
|
4
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TotsColumn, TotsColumnOrder } from "../entities/tots-column";
|
|
2
|
-
export declare class TotsUserColumn extends TotsColumn {
|
|
3
|
-
constructor(id: string, firstNameFieldKey: string | string[], lastNameFieldKey: string | string[], photoFieldKey: string | string[], secondLineFieldKey?: string | string[], title?: string, onlineFieldKey?: string, hasOrder?: boolean, order?: TotsColumnOrder);
|
|
4
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BalanceCurrencyColumnComponent extends TotsBaseColumnComponent {
|
|
4
|
-
getBalance(): number;
|
|
5
|
-
getDebit(): any;
|
|
6
|
-
getCredit(): any;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BalanceCurrencyColumnComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BalanceCurrencyColumnComponent, "tots-balance-currency-column", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
package/lib/columns/balance-currency-icon-column/balance-currency-icon-column.component.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BalanceCurrencyColumnComponent } from '../balance-currency-column/balance-currency-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BalanceCurrencyIconColumnComponent extends BalanceCurrencyColumnComponent {
|
|
4
|
-
getIconPositive(): any;
|
|
5
|
-
getIconNegative(): any;
|
|
6
|
-
getIconNeutral(): any;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BalanceCurrencyIconColumnComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BalanceCurrencyIconColumnComponent, "tots-balance-currency-icon-column", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { TotsActionTable } from '../../entities/tots-action-table';
|
|
4
|
-
import { TotsColumn } from '../../entities/tots-column';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BasePrintColumnComponent {
|
|
7
|
-
protected viewContainerRef: ViewContainerRef;
|
|
8
|
-
column: TotsColumn;
|
|
9
|
-
item: any;
|
|
10
|
-
onAction: Subject<TotsActionTable>;
|
|
11
|
-
index?: number;
|
|
12
|
-
constructor(viewContainerRef: ViewContainerRef);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BasePrintColumnComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasePrintColumnComponent, "tots-base-print-column", never, { "column": { "alias": "column"; "required": false; }; "item": { "alias": "item"; "required": false; }; "onAction": { "alias": "onAction"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BooleanColumnComponent extends TotsBaseColumnComponent {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanColumnComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanColumnComponent, "tots-boolean-column", never, {}, {}, never, never, false, never>;
|
|
6
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CheckboxColumnComponent extends TotsBaseColumnComponent {
|
|
5
|
-
onChange(event: MatCheckboxChange): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxColumnComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxColumnComponent, "tots-checkbox-column", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CurrencyColumnComponent extends TotsBaseColumnComponent {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyColumnComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyColumnComponent, "tots-currency-column", never, {}, {}, never, never, false, never>;
|
|
6
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IconButtonColumnComponent extends TotsBaseColumnComponent {
|
|
4
|
-
clickButton($event: UIEvent): boolean;
|
|
5
|
-
getIconName(): string;
|
|
6
|
-
getButtonColor(): string;
|
|
7
|
-
getClasses(): string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonColumnComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonColumnComponent, "tots-icon-button-column", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LinkColumnComponent extends TotsBaseColumnComponent implements OnInit {
|
|
5
|
-
protected linkCaption: string;
|
|
6
|
-
protected target: "_blank" | "_self";
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LinkColumnComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LinkColumnComponent, "tots-link-column", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MoreMenuColumnComponent extends TotsBaseColumnComponent {
|
|
4
|
-
clickButton(itemAction: any, $event: UIEvent): boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MoreMenuColumnComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MoreMenuColumnComponent, "tots-more-menu-column", never, {}, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NumberColumnComponent extends TotsBaseColumnComponent {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumberColumnComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberColumnComponent, "tots-number-column", never, {}, {}, never, never, false, never>;
|
|
6
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OptionColumnComponent extends TotsBaseColumnComponent {
|
|
4
|
-
getItemValue(): any;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OptionColumnComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionColumnComponent, "tots-option-column", never, {}, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OptionColumnComponent } from '../option-column/option-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class StatusColumnComponent extends OptionColumnComponent {
|
|
4
|
-
getBackgroundColor(): string;
|
|
5
|
-
getFontColor(): string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StatusColumnComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StatusColumnComponent, "tots-status-column", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { OptionColumnComponent } from '../option-column/option-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class StatusIconColumnComponent extends OptionColumnComponent {
|
|
4
|
-
getFontColor(): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StatusIconColumnComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StatusIconColumnComponent, "tots-status-icon-column", never, {}, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class StringColumnComponent extends TotsBaseColumnComponent {
|
|
4
|
-
getItemValue(): any;
|
|
5
|
-
protected get prepend(): string | undefined;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StringColumnComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StringColumnComponent, "tots-string-column", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { TotsActionTable } from "../entities/tots-action-table";
|
|
3
|
-
import { TotsColumn } from "../entities/tots-column";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TotsBaseColumnComponent {
|
|
6
|
-
column: TotsColumn;
|
|
7
|
-
item: any;
|
|
8
|
-
onAction: Subject<TotsActionTable>;
|
|
9
|
-
index?: number;
|
|
10
|
-
getItemValue(): any;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TotsBaseColumnComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TotsBaseColumnComponent, "tots-base-column", never, { "column": { "alias": "column"; "required": false; }; "item": { "alias": "item"; "required": false; }; "onAction": { "alias": "onAction"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TwoStringColumnComponent extends TotsBaseColumnComponent {
|
|
4
|
-
getSubtitleValue(): any;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TwoStringColumnComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TwoStringColumnComponent, "tots-two-string-column", never, {}, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TotsBaseColumnComponent } from '../tots-base-column.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class UserColumnComponent extends TotsBaseColumnComponent {
|
|
4
|
-
onClick(event: any): void;
|
|
5
|
-
getFirstname(): any;
|
|
6
|
-
getLastname(): any;
|
|
7
|
-
getFullname(): string;
|
|
8
|
-
getPhoto(): any;
|
|
9
|
-
getSubtitle(): any;
|
|
10
|
-
isOnline(): any;
|
|
11
|
-
isClickable(): boolean;
|
|
12
|
-
getClickEvent(): any;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserColumnComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserColumnComponent, "tots-user-column", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { TotsTableDefaultConfig } from '../../entities/tots-table-default-config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LoadingAnimationRendererComponent implements OnDestroy {
|
|
5
|
-
private totsTableDefaultConfig;
|
|
6
|
-
private viewContainerRef;
|
|
7
|
-
loadingComponentContainer: ViewContainerRef;
|
|
8
|
-
loadingComponent: ComponentRef<any>;
|
|
9
|
-
constructor(totsTableDefaultConfig: TotsTableDefaultConfig, viewContainerRef: ViewContainerRef);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
private setLoader;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingAnimationRendererComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingAnimationRendererComponent, "tots-loading-animation-renderer", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
3
|
-
import { TotsListResponse } from '@tots/core';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { TotsActionTable } from '../../entities/tots-action-table';
|
|
6
|
-
import { TotsColumn } from '../../entities/tots-column';
|
|
7
|
-
import { TotsTableConfig } from '../../entities/tots-table-config';
|
|
8
|
-
import { TotsTableDefaultConfig } from '../../entities/tots-table-default-config';
|
|
9
|
-
import { ThemePalette } from '@angular/material/core';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class TotsTableComponent implements OnInit {
|
|
12
|
-
protected changeDectetor: ChangeDetectorRef;
|
|
13
|
-
private totsTableDefaultConfig;
|
|
14
|
-
config: TotsTableConfig;
|
|
15
|
-
pageIndex: number;
|
|
16
|
-
pageSize: number;
|
|
17
|
-
hasPagination: boolean;
|
|
18
|
-
messageNotFound: string;
|
|
19
|
-
onAction: EventEmitter<TotsActionTable>;
|
|
20
|
-
privateActions: Subject<TotsActionTable>;
|
|
21
|
-
dataItems?: TotsListResponse<any>;
|
|
22
|
-
displayColumns: Array<String>;
|
|
23
|
-
isLoading: boolean;
|
|
24
|
-
firstLoad: boolean;
|
|
25
|
-
matColor: ThemePalette;
|
|
26
|
-
upperPaginator: boolean;
|
|
27
|
-
lowerPaginator: boolean;
|
|
28
|
-
upperProgressBar: boolean;
|
|
29
|
-
lowerProgressBar: boolean;
|
|
30
|
-
constructor(changeDectetor: ChangeDetectorRef, totsTableDefaultConfig: TotsTableDefaultConfig);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
loadConfig(): void;
|
|
33
|
-
loadItems(): import("rxjs").Subscription | undefined;
|
|
34
|
-
private stopLoading;
|
|
35
|
-
onClickOrder(column: TotsColumn): void;
|
|
36
|
-
onClickRow(item: any): void;
|
|
37
|
-
onPageChange(event: PageEvent): void;
|
|
38
|
-
loadColumns(): void;
|
|
39
|
-
getDataItems(): TotsListResponse<any> | undefined;
|
|
40
|
-
refreshDataItems(newData: TotsListResponse<any> | undefined): void;
|
|
41
|
-
detectChanges(): void;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TotsTableComponent, never>;
|
|
43
|
-
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>;
|
|
44
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { TotsListResponse } from '@tots/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { TotsActionTable } from '../../entities/tots-action-table';
|
|
5
|
-
import { TotsTableApiConfig } from '../../entities/tots-table-api-config';
|
|
6
|
-
import { TotsTableConfig } from '../../entities/tots-table-config';
|
|
7
|
-
import { TotsTableComponent } from '../tots-table/tots-table.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class TotsTableApiComponent implements OnInit {
|
|
10
|
-
tableComp: TotsTableComponent;
|
|
11
|
-
config: TotsTableApiConfig;
|
|
12
|
-
hasPagination: boolean;
|
|
13
|
-
isPaginationStartIndexInZero: boolean;
|
|
14
|
-
onAction: EventEmitter<TotsActionTable>;
|
|
15
|
-
configTable: TotsTableConfig;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
onTableAction(action: TotsActionTable): void;
|
|
18
|
-
loadConfig(): void;
|
|
19
|
-
refreshQueryAndLoadItems(): import("rxjs").Subscription | undefined;
|
|
20
|
-
loadItems(): import("rxjs").Subscription | undefined;
|
|
21
|
-
getDataItems(): TotsListResponse<any> | undefined;
|
|
22
|
-
setObs(obs: Observable<TotsListResponse<any>>): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TotsTableApiComponent, 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
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare class TotsColumn {
|
|
2
|
-
key: string;
|
|
3
|
-
component: any;
|
|
4
|
-
field_key?: string | Array<string>;
|
|
5
|
-
title?: string;
|
|
6
|
-
extra?: any;
|
|
7
|
-
is_show?: boolean;
|
|
8
|
-
hasOrder?: boolean;
|
|
9
|
-
order?: 'asc' | 'desc';
|
|
10
|
-
constructor(key: string, component: any, field_key?: string | string[], title?: string, hasOrder?: boolean, order?: TotsColumnOrder);
|
|
11
|
-
}
|
|
12
|
-
export type TotsColumnOrder = "asc" | "desc";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TotsColumnOption } from "./tots-column-option";
|
|
2
|
-
export declare class TotsStatusColumnOption extends TotsColumnOption {
|
|
3
|
-
background_color: string;
|
|
4
|
-
font_color: string;
|
|
5
|
-
constructor(value: number | string, caption: string, backgroundColor: string, fontColor: string);
|
|
6
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TotsBaseHttpService, TotsQuery } from "@tots/core";
|
|
2
|
-
import { TotsColumn } from "./tots-column";
|
|
3
|
-
export declare class TotsTableApiConfig {
|
|
4
|
-
id?: string;
|
|
5
|
-
columns: Array<TotsColumn>;
|
|
6
|
-
service: TotsBaseHttpService<any>;
|
|
7
|
-
query: TotsQuery;
|
|
8
|
-
classes?: string;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TotsListResponse } from "@tots/core";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { TotsColumn } from "./tots-column";
|
|
4
|
-
export declare class TotsTableConfig {
|
|
5
|
-
id?: string;
|
|
6
|
-
columns: Array<TotsColumn>;
|
|
7
|
-
obs?: Observable<TotsListResponse<any>>;
|
|
8
|
-
classes?: string;
|
|
9
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
import { ThemePalette } from "@angular/material/core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const TOTS_TABLE_DEFAULT_CONFIG: InjectionToken<TotsTableDefaultConfig>;
|
|
5
|
-
export declare class TotsTableDefaultConfig {
|
|
6
|
-
/**
|
|
7
|
-
* Message shown when there are no entries in the table
|
|
8
|
-
*/
|
|
9
|
-
messageNotFound?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Replaces default mat spinner
|
|
12
|
-
*/
|
|
13
|
-
loadingComponent?: any;
|
|
14
|
-
/**
|
|
15
|
-
* Applies to the default initial loading spinner and to the upper and/or lower progress bars
|
|
16
|
-
*/
|
|
17
|
-
matColor?: ThemePalette;
|
|
18
|
-
/**
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
upperPaginator?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* @default true
|
|
24
|
-
*/
|
|
25
|
-
lowerPaginator?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
upperProgressBar?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* @default true
|
|
32
|
-
*/
|
|
33
|
-
lowerProgressBar?: boolean;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TotsTableDefaultConfig, never>;
|
|
35
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TotsTableDefaultConfig>;
|
|
36
|
-
}
|
package/lib/table.module.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/tots-table/tots-table.component";
|
|
3
|
-
import * as i2 from "./columns/base-print-column/base-print-column.component";
|
|
4
|
-
import * as i3 from "./columns/string-column/string-column.component";
|
|
5
|
-
import * as i4 from "./components/tots-table-api/tots-table-api.component";
|
|
6
|
-
import * as i5 from "./columns/more-menu-column/more-menu-column.component";
|
|
7
|
-
import * as i6 from "./columns/boolean-column/boolean-column.component";
|
|
8
|
-
import * as i7 from "./columns/two-string-column/two-string-column.component";
|
|
9
|
-
import * as i8 from "./columns/icon-button-column/icon-button-column.component";
|
|
10
|
-
import * as i9 from "./columns/checkbox-column/checkbox-column.component";
|
|
11
|
-
import * as i10 from "./columns/option-column/option-column.component";
|
|
12
|
-
import * as i11 from "./columns/user-column/user-column.component";
|
|
13
|
-
import * as i12 from "./columns/currency-column/currency-column.component";
|
|
14
|
-
import * as i13 from "./columns/status-column/status-column.component";
|
|
15
|
-
import * as i14 from "./columns/balance-currency-column/balance-currency-column.component";
|
|
16
|
-
import * as i15 from "./columns/status-icon-column/status-icon-column.component";
|
|
17
|
-
import * as i16 from "./columns/balance-currency-icon-column/balance-currency-icon-column.component";
|
|
18
|
-
import * as i17 from "./components/loading-animation-renderer/loading-animation-renderer.component";
|
|
19
|
-
import * as i18 from "./columns/link-column/link-column.component";
|
|
20
|
-
import * as i19 from "./columns/number-column/number-column.component";
|
|
21
|
-
import * as i20 from "@angular/common";
|
|
22
|
-
import * as i21 from "@angular/material/icon";
|
|
23
|
-
import * as i22 from "@angular/material/table";
|
|
24
|
-
import * as i23 from "@angular/material/paginator";
|
|
25
|
-
import * as i24 from "@angular/material/button";
|
|
26
|
-
import * as i25 from "@angular/material/menu";
|
|
27
|
-
import * as i26 from "@angular/material/checkbox";
|
|
28
|
-
import * as i27 from "@angular/material/progress-spinner";
|
|
29
|
-
import * as i28 from "@angular/material/progress-bar";
|
|
30
|
-
export declare class TotsTableModule {
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TotsTableModule, never>;
|
|
32
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TotsTableModule, [typeof i1.TotsTableComponent, typeof i2.BasePrintColumnComponent, typeof i3.StringColumnComponent, typeof i4.TotsTableApiComponent, typeof i5.MoreMenuColumnComponent, typeof i6.BooleanColumnComponent, typeof i7.TwoStringColumnComponent, typeof i8.IconButtonColumnComponent, typeof i9.CheckboxColumnComponent, typeof i10.OptionColumnComponent, typeof i11.UserColumnComponent, typeof i12.CurrencyColumnComponent, typeof i13.StatusColumnComponent, typeof i14.BalanceCurrencyColumnComponent, typeof i15.StatusIconColumnComponent, typeof i16.BalanceCurrencyIconColumnComponent, typeof i17.LoadingAnimationRendererComponent, typeof i18.LinkColumnComponent, typeof i19.NumberColumnComponent], [typeof i20.CommonModule, typeof i21.MatIconModule, typeof i22.MatTableModule, typeof i23.MatPaginatorModule, typeof i24.MatButtonModule, typeof i25.MatMenuModule, typeof i26.MatCheckboxModule, typeof i27.MatProgressSpinnerModule, typeof i28.MatProgressBarModule], [typeof i1.TotsTableComponent, typeof i4.TotsTableApiComponent]>;
|
|
33
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TotsTableModule>;
|
|
34
|
-
}
|