@webilix/ngx-table-m3 0.0.2 → 0.0.4
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 +141 -135
- package/fesm2022/webilix-ngx-table-m3.mjs.map +1 -1
- package/lib/columns/column.interface.d.ts +0 -2
- package/lib/filters/filter.component.d.ts +1 -0
- package/lib/filters/multi-select/filter-multi-select.component.d.ts +1 -0
- package/lib/filters/search/filter-search.component.d.ts +1 -0
- package/lib/filters/select/filter-select.component.d.ts +1 -0
- package/lib/ngx-table.component.d.ts +0 -2
- package/lib/ngx-table.config.d.ts +3 -29
- package/lib/views/action/view-action.component.d.ts +2 -1
- package/lib/views/card/toolbar/view-card-toolbar.component.d.ts +2 -1
- package/lib/views/card/view-card.component.d.ts +2 -2
- package/lib/views/pagination/view-pagination.component.d.ts +1 -0
- package/lib/views/table/view-table.component.d.ts +1 -0
- package/lib/views/value/view-value.component.d.ts +1 -0
- package/lib/views/view.interface.d.ts +2 -20
- package/ngx-table-m3.css +466 -0
- package/package.json +6 -6
|
@@ -36,9 +36,7 @@ export declare abstract class ColumnMethods<C /** COLUMN **/, V /** VALUE **/> {
|
|
|
36
36
|
}
|
|
37
37
|
export interface IColumnConfig {
|
|
38
38
|
readonly isEN: boolean;
|
|
39
|
-
readonly enClass: string;
|
|
40
39
|
readonly isDeactive: boolean;
|
|
41
|
-
readonly deactiveClass: string;
|
|
42
40
|
}
|
|
43
41
|
export declare const COLUMN_TYPE: InjectionToken<any>;
|
|
44
42
|
export declare const COLUMN_CONFIG: InjectionToken<IColumnConfig>;
|
|
@@ -2,6 +2,7 @@ import { IViewConfig } from '../../views';
|
|
|
2
2
|
import { IFilterMultiSelect } from './filter-multi-select.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FilterMultiSelectComponent {
|
|
5
|
+
private className;
|
|
5
6
|
data: {
|
|
6
7
|
filter: IFilterMultiSelect;
|
|
7
8
|
viewConfig: IViewConfig;
|
|
@@ -3,6 +3,7 @@ import { IViewConfig } from '../../views';
|
|
|
3
3
|
import { IFilterSearch, IFilterSearchValue } from './filter-search.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FilterSearchComponent implements AfterViewInit {
|
|
6
|
+
private className;
|
|
6
7
|
private searchInput?;
|
|
7
8
|
data: {
|
|
8
9
|
filter: IFilterSearch;
|
|
@@ -2,6 +2,7 @@ import { IViewConfig } from '../../views';
|
|
|
2
2
|
import { IFilterSelect } from './filter-select.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FilterSelectComponent {
|
|
5
|
+
private className;
|
|
5
6
|
data: {
|
|
6
7
|
filter: IFilterSelect;
|
|
7
8
|
viewConfig: IViewConfig;
|
|
@@ -18,8 +18,6 @@ export declare class NgxTableComponent<T> implements OnInit, OnChanges {
|
|
|
18
18
|
pagination?: INgxTablePagination | null;
|
|
19
19
|
filterChanged: EventEmitter<INgxTableFilter>;
|
|
20
20
|
isMobile: boolean;
|
|
21
|
-
loaderClass: string;
|
|
22
|
-
emptyClass: string;
|
|
23
21
|
viewConfig: IViewConfig;
|
|
24
22
|
private filter;
|
|
25
23
|
hasFilter: boolean;
|
|
@@ -3,39 +3,13 @@ export interface INgxTableConfig {
|
|
|
3
3
|
readonly mobileWidth: number;
|
|
4
4
|
readonly alternateRows: boolean;
|
|
5
5
|
readonly iconSize: number;
|
|
6
|
-
readonly
|
|
7
|
-
readonly loader?: string;
|
|
8
|
-
readonly empty?: string;
|
|
9
|
-
readonly en?: string;
|
|
10
|
-
readonly deactive?: string;
|
|
11
|
-
};
|
|
12
|
-
readonly colors: {
|
|
13
|
-
readonly border?: string;
|
|
14
|
-
readonly background?: string;
|
|
15
|
-
readonly headerText?: string;
|
|
16
|
-
readonly headerBackground?: string;
|
|
17
|
-
readonly oddRowsBackground?: string;
|
|
18
|
-
readonly evenRowsBackground?: string;
|
|
19
|
-
readonly cardBackground?: string;
|
|
20
|
-
readonly paginationBackground?: string;
|
|
21
|
-
readonly highlightText?: string;
|
|
22
|
-
readonly highlightBackground?: string;
|
|
23
|
-
readonly inputText?: string;
|
|
24
|
-
readonly inputBackground?: string;
|
|
25
|
-
};
|
|
26
|
-
readonly action: {
|
|
27
|
-
readonly buttonSize?: string;
|
|
28
|
-
readonly buttonColor?: string;
|
|
29
|
-
readonly menuColor?: string;
|
|
30
|
-
readonly warnColor?: string;
|
|
31
|
-
readonly menuTitle?: string;
|
|
32
|
-
};
|
|
6
|
+
readonly actionMenuTitle?: string;
|
|
33
7
|
readonly stickyView: {
|
|
34
|
-
readonly
|
|
8
|
+
readonly top?: string | {
|
|
35
9
|
readonly desktopView: string;
|
|
36
10
|
readonly mobileView: string;
|
|
37
11
|
};
|
|
38
|
-
readonly
|
|
12
|
+
readonly bottom?: string | {
|
|
39
13
|
readonly desktopView: string;
|
|
40
14
|
readonly mobileView: string;
|
|
41
15
|
};
|
|
@@ -7,11 +7,12 @@ interface Action<T> {
|
|
|
7
7
|
readonly title: string;
|
|
8
8
|
readonly icon: string;
|
|
9
9
|
readonly action: (data: T) => string[] | void;
|
|
10
|
-
readonly color
|
|
10
|
+
readonly color?: string;
|
|
11
11
|
readonly isDisabled: boolean;
|
|
12
12
|
}
|
|
13
13
|
export declare class ViewActionComponent<T> implements OnChanges {
|
|
14
14
|
private readonly router;
|
|
15
|
+
private className;
|
|
15
16
|
actions: NgxTableAction<T>[];
|
|
16
17
|
item: T;
|
|
17
18
|
viewConfig: IViewConfig;
|
|
@@ -4,6 +4,7 @@ import { IViewConfig, IViewOrder } from '../../view.interface';
|
|
|
4
4
|
import { Orders } from '../../view.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ViewCardToolbarComponent implements OnChanges {
|
|
7
|
+
private className;
|
|
7
8
|
orders: Orders;
|
|
8
9
|
filters: Filters;
|
|
9
10
|
viewConfig: IViewConfig;
|
|
@@ -17,7 +18,7 @@ export declare class ViewCardToolbarComponent implements OnChanges {
|
|
|
17
18
|
private swipeLeft;
|
|
18
19
|
ngOnChanges(changes: SimpleChanges): void;
|
|
19
20
|
updateOrder(id: string, type: 'ASC' | 'DESC'): void;
|
|
20
|
-
swipe(event: MouseEvent | TouchEvent, action: 'START' | 'MOVE' | 'END',
|
|
21
|
+
swipe(event: MouseEvent | TouchEvent, action: 'START' | 'MOVE' | 'END', container: HTMLElement, items: HTMLElement): void;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewCardToolbarComponent, never>;
|
|
22
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<ViewCardToolbarComponent, "view-card-toolbar", never, { "orders": { "alias": "orders"; "required": true; }; "filters": { "alias": "filters"; "required": true; }; "viewConfig": { "alias": "viewConfig"; "required": true; }; }, { "orderChanged": "orderChanged"; "updateFilter": "updateFilter"; "clearFilter": "clearFilter"; }, never, never, true, never>;
|
|
23
24
|
}
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class ViewCardComponent<T> implements OnChanges {
|
|
8
8
|
private readonly filterService;
|
|
9
9
|
private readonly viewService;
|
|
10
|
-
private
|
|
10
|
+
private className;
|
|
11
11
|
ngxTable: INgxTable<T>;
|
|
12
12
|
data: T[];
|
|
13
13
|
viewConfig: IViewConfig;
|
|
@@ -28,7 +28,7 @@ export declare class ViewCardComponent<T> implements OnChanges {
|
|
|
28
28
|
orders: Orders;
|
|
29
29
|
filters: Filters;
|
|
30
30
|
hasToolbar: boolean;
|
|
31
|
-
|
|
31
|
+
top: string;
|
|
32
32
|
hasContent: boolean;
|
|
33
33
|
constructor(filterService: FilterService, viewService: ViewService);
|
|
34
34
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1,31 +1,13 @@
|
|
|
1
1
|
export interface IViewConfig {
|
|
2
2
|
readonly alternateRows: boolean;
|
|
3
3
|
readonly iconSize: string;
|
|
4
|
-
readonly enClass: string;
|
|
5
|
-
readonly deactiveClass: string;
|
|
6
|
-
readonly borderColor: string;
|
|
7
|
-
readonly backgroundColor: string;
|
|
8
|
-
readonly headerTextColor: string;
|
|
9
|
-
readonly headerBackgroundColor: string;
|
|
10
|
-
readonly oddRowsBackgroundColor: string;
|
|
11
|
-
readonly evenRowsBackgroundColor: string;
|
|
12
|
-
readonly cardBackgroundColor: string;
|
|
13
|
-
readonly paginationBackgroundColor: string;
|
|
14
|
-
readonly highlightText: string;
|
|
15
|
-
readonly highlightBackground: string;
|
|
16
|
-
readonly inputText: string;
|
|
17
|
-
readonly inputBackground: string;
|
|
18
|
-
readonly actionButtonSize: string;
|
|
19
|
-
readonly actionButtonColor: string;
|
|
20
|
-
readonly actionMenuColor: string;
|
|
21
|
-
readonly actionWarnColor: string;
|
|
22
4
|
readonly actionMenuTitle: string;
|
|
23
5
|
readonly stickyView?: {
|
|
24
|
-
readonly
|
|
6
|
+
readonly top?: {
|
|
25
7
|
readonly desktopView: string;
|
|
26
8
|
readonly mobileView: string;
|
|
27
9
|
};
|
|
28
|
-
readonly
|
|
10
|
+
readonly bottom?: {
|
|
29
11
|
readonly desktopView: string;
|
|
30
12
|
readonly mobileView: string;
|
|
31
13
|
};
|
package/ngx-table-m3.css
ADDED
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
/* GLOBAL VALUES */
|
|
2
|
+
:root {
|
|
3
|
+
--ngx-table-m3-toolbar-height: 32px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/* DATA LOADER */
|
|
7
|
+
.ngx-table-m3-loader {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
|
|
11
|
+
padding: 5rem 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* EMPTY DATA SET */
|
|
15
|
+
.ngx-table-m3-empty {
|
|
16
|
+
direction: rtl;
|
|
17
|
+
padding: 3rem 0;
|
|
18
|
+
text-align: center;
|
|
19
|
+
font-size: 18px;
|
|
20
|
+
font-weight: 500;
|
|
21
|
+
color: var(--error);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* ENGLISH VALUES */
|
|
25
|
+
.ngx-table-m3-en {
|
|
26
|
+
font-size: 13px;
|
|
27
|
+
direction: ltr;
|
|
28
|
+
font-family: Roboto, 'Helvetica Neue', sans-serif !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* DEACTIVE DATA VIEW */
|
|
32
|
+
.ngx-table-m3-deactive {
|
|
33
|
+
opacity: 0.6;
|
|
34
|
+
text-decoration: line-through;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* FILTER VIEWS */
|
|
38
|
+
.ngx-table-m3-filter {
|
|
39
|
+
display: block;
|
|
40
|
+
position: relative;
|
|
41
|
+
|
|
42
|
+
input {
|
|
43
|
+
padding: 0.75rem 0.5rem;
|
|
44
|
+
border-radius: 8px;
|
|
45
|
+
border-width: 0;
|
|
46
|
+
border-bottom: 1px solid var(--outline-variant);
|
|
47
|
+
outline: none;
|
|
48
|
+
width: 100%;
|
|
49
|
+
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
color: var(--on-surface);
|
|
52
|
+
background-color: var(--surface-container-highest);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
input::placeholder {
|
|
56
|
+
font-family: Yekan;
|
|
57
|
+
text-align: right;
|
|
58
|
+
direction: rtl;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.filter-search {
|
|
62
|
+
margin: 1rem 1rem 0 1rem;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.filter-items {
|
|
66
|
+
padding: 0.5rem;
|
|
67
|
+
|
|
68
|
+
mat-checkbox {
|
|
69
|
+
display: block;
|
|
70
|
+
|
|
71
|
+
.title {
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
mat-radio-group {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
|
|
80
|
+
mat-radio-button {
|
|
81
|
+
.title {
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.filter-item-search {
|
|
89
|
+
position: sticky;
|
|
90
|
+
top: 0;
|
|
91
|
+
z-index: 1;
|
|
92
|
+
|
|
93
|
+
input {
|
|
94
|
+
border-radius: 0;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.filter-footer {
|
|
99
|
+
display: flex;
|
|
100
|
+
justify-content: flex-end;
|
|
101
|
+
padding: 1rem;
|
|
102
|
+
column-gap: 0.5rem;
|
|
103
|
+
|
|
104
|
+
button.confirm {
|
|
105
|
+
flex: 1;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* ROW ACTIONS */
|
|
111
|
+
.ngx-table-m3-action {
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
justify-content: flex-end;
|
|
115
|
+
|
|
116
|
+
button {
|
|
117
|
+
font-size: 90%;
|
|
118
|
+
color: var(--primary);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
button.desktop-view {
|
|
122
|
+
border-radius: 0;
|
|
123
|
+
z-index: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
mat-icon {
|
|
127
|
+
color: var(--primary);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
mat-icon.disabled {
|
|
131
|
+
color: unset;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* PAGINATION */
|
|
136
|
+
.ngx-table-m3-pagination {
|
|
137
|
+
display: block;
|
|
138
|
+
margin-top: 1rem;
|
|
139
|
+
z-index: 1;
|
|
140
|
+
|
|
141
|
+
.pagination-content {
|
|
142
|
+
display: flex;
|
|
143
|
+
align-items: center;
|
|
144
|
+
|
|
145
|
+
margin: 0 auto;
|
|
146
|
+
padding: 0.5rem 0;
|
|
147
|
+
background-color: var(--background);
|
|
148
|
+
border-radius: 8px;
|
|
149
|
+
border: 1px solid var(--surface-container-highest);
|
|
150
|
+
|
|
151
|
+
.counts {
|
|
152
|
+
display: block;
|
|
153
|
+
padding-right: 0.75rem;
|
|
154
|
+
|
|
155
|
+
.title {
|
|
156
|
+
font-weight: 500;
|
|
157
|
+
line-height: 1;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.total {
|
|
161
|
+
font-size: 80%;
|
|
162
|
+
opacity: 0.75;
|
|
163
|
+
line-height: 1;
|
|
164
|
+
margin-top: 0.25rem;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.pagination-content.desktop-view {
|
|
170
|
+
column-gap: 0.5rem;
|
|
171
|
+
width: fit-content;
|
|
172
|
+
|
|
173
|
+
.counts {
|
|
174
|
+
min-width: 250px;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.pagination-content.mobile-view {
|
|
179
|
+
.counts {
|
|
180
|
+
flex: 1;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.pagination-content.has-shadow {
|
|
185
|
+
border: 1px solid var(--outline-variant);
|
|
186
|
+
box-shadow: 0 0 10px 0 var(--outline-variant);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* DATA VALUES */
|
|
191
|
+
.ngx-table-m3-value {
|
|
192
|
+
.value-container {
|
|
193
|
+
display: block;
|
|
194
|
+
|
|
195
|
+
.value {
|
|
196
|
+
display: inline-flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
|
|
199
|
+
mat-icon {
|
|
200
|
+
font-size: 100%;
|
|
201
|
+
padding: 0 0.5rem;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.sub-value {
|
|
206
|
+
font-size: 85%;
|
|
207
|
+
font-weight: normal;
|
|
208
|
+
opacity: 0.5;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.value-container.card-title {
|
|
213
|
+
font-weight: 500;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.value-container.card-sub-title {
|
|
217
|
+
font-size: 85%;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* TABLE VIEW */
|
|
222
|
+
.ngx-table-m3 .ngx-table-m3-table-view {
|
|
223
|
+
table {
|
|
224
|
+
thead {
|
|
225
|
+
z-index: 1;
|
|
226
|
+
background-color: var(--surface-container-highest);
|
|
227
|
+
|
|
228
|
+
th {
|
|
229
|
+
padding: 1.25rem 1rem;
|
|
230
|
+
|
|
231
|
+
.column {
|
|
232
|
+
display: flex;
|
|
233
|
+
align-items: center;
|
|
234
|
+
column-gap: 0.5rem;
|
|
235
|
+
|
|
236
|
+
mat-icon {
|
|
237
|
+
font-size: 100%;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
th.active-filters {
|
|
243
|
+
padding: 0;
|
|
244
|
+
text-align: right;
|
|
245
|
+
border-bottom: 1px solid var(--outline-variant);
|
|
246
|
+
|
|
247
|
+
.toolbar {
|
|
248
|
+
display: flex;
|
|
249
|
+
align-items: center;
|
|
250
|
+
flex-wrap: wrap;
|
|
251
|
+
row-gap: 0.5rem;
|
|
252
|
+
column-gap: 0.5rem;
|
|
253
|
+
|
|
254
|
+
overflow: hidden;
|
|
255
|
+
padding: 0.75rem;
|
|
256
|
+
|
|
257
|
+
.item {
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
|
|
261
|
+
font-size: 85%;
|
|
262
|
+
border-radius: 16px;
|
|
263
|
+
border: 1px solid var(--outline);
|
|
264
|
+
white-space: nowrap;
|
|
265
|
+
|
|
266
|
+
.title {
|
|
267
|
+
cursor: pointer;
|
|
268
|
+
padding: 0 0.75rem 0 0.5rem;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.value {
|
|
272
|
+
cursor: pointer;
|
|
273
|
+
padding-left: 0.5rem;
|
|
274
|
+
font-weight: normal;
|
|
275
|
+
max-width: 150px;
|
|
276
|
+
overflow: hidden;
|
|
277
|
+
text-overflow: ellipsis;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.icon {
|
|
281
|
+
display: flex;
|
|
282
|
+
align-items: center;
|
|
283
|
+
justify-content: center;
|
|
284
|
+
|
|
285
|
+
cursor: pointer;
|
|
286
|
+
padding: 0.25rem 0.5rem;
|
|
287
|
+
|
|
288
|
+
mat-icon {
|
|
289
|
+
font-size: 100%;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.clear {
|
|
295
|
+
color: var(--secondary);
|
|
296
|
+
border-color: var(--secondary);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
tbody {
|
|
303
|
+
tr {
|
|
304
|
+
td {
|
|
305
|
+
padding: 0.75rem 1rem;
|
|
306
|
+
vertical-align: top;
|
|
307
|
+
border-top: 1px solid var(--outline-variant);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
td.icon {
|
|
311
|
+
padding-left: 0;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
td.action {
|
|
315
|
+
padding: 0.25rem 0 0 0;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
td.description {
|
|
319
|
+
padding-top: 0;
|
|
320
|
+
font-size: 85%;
|
|
321
|
+
line-height: 1.5;
|
|
322
|
+
text-align: justify;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
tr.odd-row {
|
|
327
|
+
background-color: var(--surface-container);
|
|
328
|
+
|
|
329
|
+
td {
|
|
330
|
+
border-top-width: 0;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
tr.even-row {
|
|
335
|
+
background-color: var(--background);
|
|
336
|
+
|
|
337
|
+
td {
|
|
338
|
+
border-top-width: 0;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/* CARD VIEW */
|
|
346
|
+
.ngx-table-m3 .ngx-table-m3-card-view {
|
|
347
|
+
.card-container {
|
|
348
|
+
display: flex;
|
|
349
|
+
flex-direction: column;
|
|
350
|
+
row-gap: 1rem;
|
|
351
|
+
|
|
352
|
+
.card {
|
|
353
|
+
border-bottom: 1px solid var(--outline-variant);
|
|
354
|
+
|
|
355
|
+
.card-header {
|
|
356
|
+
display: flex;
|
|
357
|
+
align-items: flex-start;
|
|
358
|
+
column-gap: 0.75rem;
|
|
359
|
+
z-index: 1;
|
|
360
|
+
|
|
361
|
+
padding: 0.25rem 0.75rem 0.25rem 0;
|
|
362
|
+
border: 1px solid var(--outline-variant);
|
|
363
|
+
background-color: var(--surface-container-highest);
|
|
364
|
+
border-bottom-width: 0;
|
|
365
|
+
|
|
366
|
+
.icon {
|
|
367
|
+
padding: 0.5rem 0;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.title {
|
|
371
|
+
flex: 1;
|
|
372
|
+
padding: 0.5rem 0;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.card-content {
|
|
377
|
+
display: block;
|
|
378
|
+
padding: 1rem 0 0.5rem 0;
|
|
379
|
+
border: 1px solid var(--outline-variant);
|
|
380
|
+
border-top-width: 0;
|
|
381
|
+
border-bottom-width: 0;
|
|
382
|
+
background-color: var(--surface-container-low);
|
|
383
|
+
|
|
384
|
+
.item {
|
|
385
|
+
display: flex;
|
|
386
|
+
align-items: flex-start;
|
|
387
|
+
column-gap: 1rem;
|
|
388
|
+
|
|
389
|
+
padding: 0 1rem 0.5rem 1rem;
|
|
390
|
+
|
|
391
|
+
.title {
|
|
392
|
+
width: 25%;
|
|
393
|
+
font-size: 85%;
|
|
394
|
+
font-weight: 500;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.value {
|
|
398
|
+
flex: 1;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.description {
|
|
403
|
+
text-align: justify;
|
|
404
|
+
font-size: 85%;
|
|
405
|
+
line-height: 1.5;
|
|
406
|
+
margin-top: 0.5rem;
|
|
407
|
+
padding: 0.75rem 1rem 0 1rem;
|
|
408
|
+
border-top: 1px solid var(--outline-variant);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.ngx-table-m3 .ngx-table-m3-card-view-toolbar {
|
|
416
|
+
.toolbar-container {
|
|
417
|
+
z-index: 2;
|
|
418
|
+
height: calc(var(--ngx-table-m3-toolbar-height) + 2px);
|
|
419
|
+
background-color: var(--background);
|
|
420
|
+
overflow-x: hidden;
|
|
421
|
+
|
|
422
|
+
.toolbar-items {
|
|
423
|
+
display: inline-flex;
|
|
424
|
+
align-items: center;
|
|
425
|
+
column-gap: 0.5rem;
|
|
426
|
+
|
|
427
|
+
position: relative;
|
|
428
|
+
left: 0;
|
|
429
|
+
|
|
430
|
+
.item {
|
|
431
|
+
display: flex;
|
|
432
|
+
align-items: center;
|
|
433
|
+
column-gap: 0.25rem;
|
|
434
|
+
|
|
435
|
+
padding: 0 0.5rem;
|
|
436
|
+
border-radius: 8px;
|
|
437
|
+
border: 1px solid var(--outline);
|
|
438
|
+
height: var(--ngx-table-m3-toolbar-height);
|
|
439
|
+
|
|
440
|
+
mat-icon {
|
|
441
|
+
font-size: 100%;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
span {
|
|
445
|
+
font-size: 80%;
|
|
446
|
+
white-space: nowrap;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.active {
|
|
451
|
+
color: var(--secondary);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.clear {
|
|
455
|
+
color: var(--secondary);
|
|
456
|
+
border-color: var(--secondary);
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.toolbar-seperator {
|
|
462
|
+
z-index: 2;
|
|
463
|
+
height: 1rem;
|
|
464
|
+
background-color: var(--background);
|
|
465
|
+
}
|
|
466
|
+
}
|