@webilix/ngx-table-m3 0.0.19 → 0.0.22
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/fesm2022/webilix-ngx-table-m3.mjs +95 -77
- package/fesm2022/webilix-ngx-table-m3.mjs.map +1 -1
- package/index.d.ts +322 -5
- package/ngx-table-m3.css +8 -0
- package/package.json +8 -8
- package/lib/columns/column.action.d.ts +0 -24
- package/lib/columns/column.info.d.ts +0 -9
- package/lib/columns/column.interface.d.ts +0 -44
- package/lib/columns/date/column-date.component.d.ts +0 -10
- package/lib/columns/date/column-date.interface.d.ts +0 -10
- package/lib/columns/duration/column-duration.component.d.ts +0 -10
- package/lib/columns/duration/column-duration.interface.d.ts +0 -9
- package/lib/columns/file-size/column-file-size.component.d.ts +0 -10
- package/lib/columns/file-size/column-file-size.interface.d.ts +0 -10
- package/lib/columns/index.d.ts +0 -19
- package/lib/columns/mobile/column-mobile.component.d.ts +0 -10
- package/lib/columns/mobile/column-mobile.interface.d.ts +0 -9
- package/lib/columns/number/column-number.component.d.ts +0 -10
- package/lib/columns/number/column-number.interface.d.ts +0 -9
- package/lib/columns/period/column-period.component.d.ts +0 -13
- package/lib/columns/period/column-period.interface.d.ts +0 -14
- package/lib/columns/text/column-text.component.d.ts +0 -10
- package/lib/columns/text/column-text.interface.d.ts +0 -8
- package/lib/columns/weight/column-weight.component.d.ts +0 -10
- package/lib/columns/weight/column-weight.interface.d.ts +0 -10
- package/lib/filters/date/filter-date.component.d.ts +0 -13
- package/lib/filters/date/filter-date.interface.d.ts +0 -16
- package/lib/filters/filter.component.d.ts +0 -40
- package/lib/filters/filter.info.d.ts +0 -8
- package/lib/filters/filter.interface.d.ts +0 -24
- package/lib/filters/filter.service.d.ts +0 -18
- package/lib/filters/index.d.ts +0 -12
- package/lib/filters/multi-select/filter-multi-select.component.d.ts +0 -23
- package/lib/filters/multi-select/filter-multi-select.interface.d.ts +0 -20
- package/lib/filters/number/filter-number.component.d.ts +0 -34
- package/lib/filters/number/filter-number.interface.d.ts +0 -21
- package/lib/filters/search/filter-search.component.d.ts +0 -23
- package/lib/filters/search/filter-search.interface.d.ts +0 -22
- package/lib/filters/select/filter-select.component.d.ts +0 -23
- package/lib/filters/select/filter-select.interface.d.ts +0 -20
- package/lib/ngx-table.component.d.ts +0 -35
- package/lib/ngx-table.config.d.ts +0 -19
- package/lib/ngx-table.interface.d.ts +0 -43
- package/lib/views/action/view-action.component.d.ts +0 -28
- package/lib/views/card/toolbar/view-card-toolbar.component.d.ts +0 -24
- package/lib/views/card/view-card.component.d.ts +0 -38
- package/lib/views/index.d.ts +0 -4
- package/lib/views/pagination/view-pagination.component.d.ts +0 -27
- package/lib/views/table/view-table.component.d.ts +0 -43
- package/lib/views/value/view-value.component.d.ts +0 -73
- package/lib/views/view.interface.d.ts +0 -23
- package/lib/views/view.service.d.ts +0 -30
- package/public-api.d.ts +0 -3
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { Injector, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { NgxTableColumn } from '../../ngx-table.interface';
|
|
4
|
-
import { IViewConfig } from '../view.interface';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ViewValueComponent<T> implements OnChanges {
|
|
7
|
-
private readonly router;
|
|
8
|
-
private className;
|
|
9
|
-
private textAlign;
|
|
10
|
-
column: NgxTableColumn<T>;
|
|
11
|
-
item: T;
|
|
12
|
-
viewConfig: IViewConfig;
|
|
13
|
-
isDeactive?: boolean;
|
|
14
|
-
isCard?: boolean;
|
|
15
|
-
isCardTitle?: boolean;
|
|
16
|
-
isCardSubTitle?: boolean;
|
|
17
|
-
columnInfo: {
|
|
18
|
-
DATE: {
|
|
19
|
-
readonly methods: import("../../columns").ColumnMethods<any, any>;
|
|
20
|
-
readonly component: import("@angular/cdk/portal").ComponentType<any>;
|
|
21
|
-
};
|
|
22
|
-
NUMBER: {
|
|
23
|
-
readonly methods: import("../../columns").ColumnMethods<any, any>;
|
|
24
|
-
readonly component: import("@angular/cdk/portal").ComponentType<any>;
|
|
25
|
-
};
|
|
26
|
-
DURATION: {
|
|
27
|
-
readonly methods: import("../../columns").ColumnMethods<any, any>;
|
|
28
|
-
readonly component: import("@angular/cdk/portal").ComponentType<any>;
|
|
29
|
-
};
|
|
30
|
-
"FILE-SIZE": {
|
|
31
|
-
readonly methods: import("../../columns").ColumnMethods<any, any>;
|
|
32
|
-
readonly component: import("@angular/cdk/portal").ComponentType<any>;
|
|
33
|
-
};
|
|
34
|
-
MOBILE: {
|
|
35
|
-
readonly methods: import("../../columns").ColumnMethods<any, any>;
|
|
36
|
-
readonly component: import("@angular/cdk/portal").ComponentType<any>;
|
|
37
|
-
};
|
|
38
|
-
PERIOD: {
|
|
39
|
-
readonly methods: import("../../columns").ColumnMethods<any, any>;
|
|
40
|
-
readonly component: import("@angular/cdk/portal").ComponentType<any>;
|
|
41
|
-
};
|
|
42
|
-
TEXT: {
|
|
43
|
-
readonly methods: import("../../columns").ColumnMethods<any, any>;
|
|
44
|
-
readonly component: import("@angular/cdk/portal").ComponentType<any>;
|
|
45
|
-
};
|
|
46
|
-
WEIGHT: {
|
|
47
|
-
readonly methods: import("../../columns").ColumnMethods<any, any>;
|
|
48
|
-
readonly component: import("@angular/cdk/portal").ComponentType<any>;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
injector: Injector;
|
|
52
|
-
value: any;
|
|
53
|
-
subValue?: {
|
|
54
|
-
value: string;
|
|
55
|
-
isEN: boolean;
|
|
56
|
-
};
|
|
57
|
-
color?: string;
|
|
58
|
-
hasClick: boolean;
|
|
59
|
-
copyText?: string;
|
|
60
|
-
isCopied: boolean;
|
|
61
|
-
private copyTimeout;
|
|
62
|
-
constructor(router: Router);
|
|
63
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
64
|
-
getValue(): any;
|
|
65
|
-
getSubValue(): {
|
|
66
|
-
value: string;
|
|
67
|
-
isEN: boolean;
|
|
68
|
-
} | undefined;
|
|
69
|
-
onClick(): void;
|
|
70
|
-
onCopy(): void;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewValueComponent<any>, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewValueComponent<any>, "view-value", never, { "column": { "alias": "column"; "required": true; }; "item": { "alias": "item"; "required": true; }; "viewConfig": { "alias": "viewConfig"; "required": true; }; "isDeactive": { "alias": "isDeactive"; "required": false; }; "isCard": { "alias": "isCard"; "required": false; }; "isCardTitle": { "alias": "isCardTitle"; "required": false; }; "isCardSubTitle": { "alias": "isCardSubTitle"; "required": false; }; }, {}, never, never, true, never>;
|
|
73
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface IViewConfig {
|
|
2
|
-
readonly alternateRows: boolean;
|
|
3
|
-
readonly iconSize: string;
|
|
4
|
-
readonly actionMenuTitle: string;
|
|
5
|
-
readonly stickyView?: {
|
|
6
|
-
readonly top?: {
|
|
7
|
-
readonly desktopView: string;
|
|
8
|
-
readonly mobileView: string;
|
|
9
|
-
};
|
|
10
|
-
readonly bottom?: {
|
|
11
|
-
readonly desktopView: string;
|
|
12
|
-
readonly mobileView: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export interface IViewOrder {
|
|
17
|
-
readonly id: string;
|
|
18
|
-
readonly type: 'ASC' | 'DESC';
|
|
19
|
-
}
|
|
20
|
-
export interface IViewFilter {
|
|
21
|
-
readonly id: string;
|
|
22
|
-
readonly value: any;
|
|
23
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ActivatedRoute } from '@angular/router';
|
|
2
|
-
import { INgxTable } from '../ngx-table.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
type OrderType = 'ASC' | 'DESC';
|
|
5
|
-
interface IOrder {
|
|
6
|
-
readonly title: string;
|
|
7
|
-
readonly type: 'ORDER' | OrderType;
|
|
8
|
-
readonly initial: OrderType;
|
|
9
|
-
readonly current?: OrderType;
|
|
10
|
-
}
|
|
11
|
-
export type Orders = {
|
|
12
|
-
[key: string]: IOrder;
|
|
13
|
-
};
|
|
14
|
-
export declare class ViewService {
|
|
15
|
-
private readonly activatedRoute;
|
|
16
|
-
constructor(activatedRoute: ActivatedRoute);
|
|
17
|
-
getTitleIndex<T>(ngxTable: INgxTable<T>): number;
|
|
18
|
-
getSubTitleIndex<T>(ngxTable: INgxTable<T>): number | undefined;
|
|
19
|
-
getIcons<T>(ngxTable: INgxTable<T>, data: T[]): {
|
|
20
|
-
icon: string;
|
|
21
|
-
color?: string;
|
|
22
|
-
}[];
|
|
23
|
-
getColors<T>(ngxTable: INgxTable<T>, data: T[]): string[];
|
|
24
|
-
getDescriptions<T>(ngxTable: INgxTable<T>, data: T[]): (string | undefined)[];
|
|
25
|
-
getDeactives<T>(ngxTable: INgxTable<T>, data: T[]): number[];
|
|
26
|
-
getOrders<T>(ngxTable: INgxTable<T>): Orders;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewService, never>;
|
|
28
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ViewService>;
|
|
29
|
-
}
|
|
30
|
-
export {};
|
package/public-api.d.ts
DELETED