c3-components 0.12.0 → 0.12.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/fesm2022/c3-components.mjs +4 -3
- package/fesm2022/c3-components.mjs.map +1 -1
- package/lib/c3-file-displayer/c3-file-display-list/c3-file-display-list-column-def.directive.d.ts +2 -1
- package/lib/c3-file-displayer/c3-file-display-list/c3-file-display-list.component.scss +26 -67
- package/package.json +1 -1
package/lib/c3-file-displayer/c3-file-display-list/c3-file-display-list-column-def.directive.d.ts
CHANGED
|
@@ -2,11 +2,12 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class C3FileDisplayListColumnDefDirective {
|
|
4
4
|
readonly title: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly classList: import("@angular/core").InputSignal<string[]>;
|
|
5
6
|
private readonly _table;
|
|
6
7
|
readonly headerCellDef: import("@angular/core").Signal<C3FileDisplayListHeaderCellDefDirective | undefined>;
|
|
7
8
|
readonly cellDef: import("@angular/core").Signal<C3FileDisplayListCellDefDirective | undefined>;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<C3FileDisplayListColumnDefDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<C3FileDisplayListColumnDefDirective, "[c3FileDisplayListColumnDef]", never, { "title": { "alias": "c3FileDisplayListColumnDef"; "required": true; "isSignal": true; }; }, {}, ["headerCellDef", "cellDef"], never, true, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<C3FileDisplayListColumnDefDirective, "[c3FileDisplayListColumnDef]", never, { "title": { "alias": "c3FileDisplayListColumnDef"; "required": true; "isSignal": true; }; "classList": { "alias": "classList"; "required": false; "isSignal": true; }; }, {}, ["headerCellDef", "cellDef"], never, true, never>;
|
|
10
11
|
}
|
|
11
12
|
export declare class C3FileDisplayListHeaderCellDefDirective {
|
|
12
13
|
template: TemplateRef<any>;
|
|
@@ -3,84 +3,43 @@
|
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
margin: 0.5rem;
|
|
5
5
|
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
.file-table {
|
|
7
|
+
width: 100%;
|
|
8
|
+
border-collapse: collapse;
|
|
9
|
+
|
|
10
|
+
th,
|
|
11
|
+
td {
|
|
12
|
+
padding: 0.5rem;
|
|
13
|
+
text-align: left;
|
|
14
|
+
border-bottom: 1px solid var(--mat-divider-color);
|
|
15
|
+
}
|
|
11
16
|
|
|
12
|
-
|
|
13
|
-
flex-basis: 304px;
|
|
14
|
-
width: 304px;
|
|
17
|
+
th {
|
|
15
18
|
font-size: 1.5rem;
|
|
16
19
|
font-weight: bold;
|
|
17
|
-
|
|
18
|
-
&.full {
|
|
19
|
-
flex: auto;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.icon {
|
|
23
|
-
flex: 0 0 auto;
|
|
24
|
-
width: 56px;
|
|
25
|
-
min-width: 56px;
|
|
26
|
-
}
|
|
20
|
+
background-color: var(--mat-table-header-container-background-color);
|
|
27
21
|
}
|
|
28
22
|
|
|
29
|
-
|
|
30
|
-
flex-basis: 40px;
|
|
31
|
-
width: 40px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.file-display-list {
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
|
|
39
|
-
> button {
|
|
40
|
-
display: flex;
|
|
41
|
-
flex-direction: row;
|
|
42
|
-
height: 3rem;
|
|
43
|
-
align-items: center;
|
|
44
|
-
border-bottom: 1px solid var(--mat-divider-color);
|
|
45
|
-
background-color: var(--mdc-protected-button-container-color);
|
|
46
|
-
text-align: start;
|
|
47
|
-
padding: 0 0.5rem;
|
|
48
|
-
|
|
23
|
+
tr {
|
|
49
24
|
&:hover {
|
|
50
25
|
background-color: var(--background-hover);
|
|
51
26
|
}
|
|
27
|
+
}
|
|
52
28
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
align-items: center;
|
|
59
|
-
justify-content: center;
|
|
60
|
-
padding: 0 0.5rem;
|
|
61
|
-
|
|
62
|
-
.icon {
|
|
63
|
-
display: flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
justify-content: center;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.name {
|
|
70
|
-
flex: auto;
|
|
71
|
-
flex-basis: 304px;
|
|
72
|
-
width: 304px;
|
|
73
|
-
}
|
|
29
|
+
.icon {
|
|
30
|
+
width: 56px;
|
|
31
|
+
min-width: 56px;
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
74
34
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
35
|
+
:where(th, td):not(.full) {
|
|
36
|
+
width: 0;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
}
|
|
79
39
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
40
|
+
.actions {
|
|
41
|
+
width: 48px;
|
|
42
|
+
text-align: center;
|
|
84
43
|
}
|
|
85
44
|
}
|
|
86
45
|
}
|