@angular-generic-table/core 5.0.0-rc.13 → 5.0.0-rc.14
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/lib/core.component.mjs +37 -13
- package/esm2020/lib/core.module.mjs +11 -8
- package/esm2020/lib/core.service.mjs +3 -3
- package/esm2020/lib/gt-delta/gt-delta.component.mjs +7 -7
- package/esm2020/lib/models/table-column.interface.mjs +1 -1
- package/esm2020/lib/models/table-config.interface.mjs +1 -1
- package/esm2020/lib/models/table-events.interface.mjs +1 -1
- package/esm2020/lib/models/table-meta.interface.mjs +1 -1
- package/esm2020/lib/models/table-row.interface.mjs +1 -1
- package/esm2020/lib/pagination/pagination.component.mjs +6 -6
- package/esm2020/lib/pagination/pagination.module.mjs +6 -7
- package/esm2020/lib/pipes/capital-case.pipe.mjs +5 -4
- package/esm2020/lib/pipes/dash-case.pipe.mjs +5 -4
- package/esm2020/lib/pipes/dynamic.pipe.mjs +5 -4
- package/esm2020/lib/pipes/highlight.pipe.mjs +5 -4
- package/esm2020/lib/pipes/sort-class.pipe.mjs +5 -4
- package/esm2020/lib/utilities/utilities.mjs +72 -2
- package/fesm2015/angular-generic-table-core.mjs +186 -79
- package/fesm2015/angular-generic-table-core.mjs.map +1 -1
- package/fesm2020/angular-generic-table-core.mjs +179 -79
- package/fesm2020/angular-generic-table-core.mjs.map +1 -1
- package/lib/core.component.d.ts +12 -6
- package/lib/core.module.d.ts +9 -9
- package/lib/gt-delta/gt-delta.component.d.ts +3 -3
- package/lib/models/table-column.interface.d.ts +4 -2
- package/lib/models/table-config.interface.d.ts +22 -3
- package/lib/models/table-events.interface.d.ts +4 -4
- package/lib/models/table-meta.interface.d.ts +3 -3
- package/lib/models/table-row.interface.d.ts +0 -1
- package/lib/pagination/pagination.component.d.ts +3 -3
- package/lib/pagination/pagination.module.d.ts +3 -3
- package/lib/pipes/capital-case.pipe.d.ts +1 -1
- package/lib/pipes/dash-case.pipe.d.ts +1 -1
- package/lib/pipes/dynamic.pipe.d.ts +1 -1
- package/lib/pipes/highlight.pipe.d.ts +1 -1
- package/lib/pipes/sort-class.pipe.d.ts +1 -1
- package/lib/utilities/utilities.d.ts +5 -0
- package/package.json +1 -1
- package/scss/index.scss +35 -0
package/scss/index.scss
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
$highlight-background-color: #ffdd00 !default;
|
|
2
2
|
$style-selector: '.table' !default;
|
|
3
|
+
$footer-header-font-weight: 400 !default;
|
|
4
|
+
$footer-cell-font-weight: 500 !default;
|
|
5
|
+
$footer-header-text-align: end !default;
|
|
6
|
+
$footer-border-top: solid 2px var(--bs-table-color, #000) !default;
|
|
3
7
|
$mobile-style-selector: 'table.table-mobile:not(.table-horizontal)' !default;
|
|
4
8
|
$mobile-style-max-width: 576px !default;
|
|
5
9
|
$mobile-style-header-font-weight: 500 !default;
|
|
@@ -49,6 +53,7 @@ $skeleton-loader-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2
|
|
|
49
53
|
|
|
50
54
|
@mixin styles() {
|
|
51
55
|
@include default-style;
|
|
56
|
+
@include footer-style;
|
|
52
57
|
@include search-style;
|
|
53
58
|
@include mobile-style;
|
|
54
59
|
@include pagination-style;
|
|
@@ -76,6 +81,7 @@ $skeleton-loader-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2
|
|
|
76
81
|
text-align: left;
|
|
77
82
|
display: flex;
|
|
78
83
|
align-items: center;
|
|
84
|
+
justify-content: inherit;
|
|
79
85
|
transition: box-shadow 0.25s ease-in-out;
|
|
80
86
|
&::after {
|
|
81
87
|
content: '';
|
|
@@ -113,6 +119,35 @@ $skeleton-loader-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2
|
|
|
113
119
|
padding: $cell-padding-y $cell-padding-x;
|
|
114
120
|
}
|
|
115
121
|
}
|
|
122
|
+
tfoot {
|
|
123
|
+
th {
|
|
124
|
+
font-weight: $footer-header-font-weight;
|
|
125
|
+
text-align: $footer-header-text-align;
|
|
126
|
+
}
|
|
127
|
+
td[data-header]:first-child {
|
|
128
|
+
display: flex;
|
|
129
|
+
justify-content: space-between;
|
|
130
|
+
align-items: center;
|
|
131
|
+
border-top: none !important;
|
|
132
|
+
&::before {
|
|
133
|
+
content: attr(data-header);
|
|
134
|
+
display: block;
|
|
135
|
+
font-weight: $footer-header-font-weight;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@mixin footer-style {
|
|
143
|
+
tfoot tr:first-child {
|
|
144
|
+
border-top: $footer-border-top;
|
|
145
|
+
}
|
|
146
|
+
tfoot tr th {
|
|
147
|
+
font-weight: $footer-header-font-weight;
|
|
148
|
+
}
|
|
149
|
+
tfoot tr td {
|
|
150
|
+
font-weight: $footer-cell-font-weight;
|
|
116
151
|
}
|
|
117
152
|
}
|
|
118
153
|
|