@angular-generic-table/core 5.0.0-rc.14 → 5.0.0-rc.16
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 +94 -43
- package/esm2020/lib/core.module.mjs +4 -4
- package/esm2020/lib/core.service.mjs +3 -3
- package/esm2020/lib/gt-delta/gt-delta.component.mjs +95 -73
- 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-sort.interface.mjs +1 -1
- package/esm2020/lib/pagination/pagination.component.mjs +3 -3
- package/esm2020/lib/pagination/pagination.module.mjs +4 -4
- package/esm2020/lib/pipes/capital-case.pipe.mjs +3 -3
- package/esm2020/lib/pipes/dash-case.pipe.mjs +3 -3
- package/esm2020/lib/pipes/dynamic.pipe.mjs +3 -3
- package/esm2020/lib/pipes/highlight.pipe.mjs +3 -3
- package/esm2020/lib/pipes/sort-class.pipe.mjs +29 -12
- package/esm2020/lib/utilities/utilities.mjs +23 -1
- package/fesm2015/angular-generic-table-core.mjs +259 -155
- package/fesm2015/angular-generic-table-core.mjs.map +1 -1
- package/fesm2020/angular-generic-table-core.mjs +260 -153
- package/fesm2020/angular-generic-table-core.mjs.map +1 -1
- package/lib/core.component.d.ts +14 -7
- package/lib/gt-delta/gt-delta.component.d.ts +16 -4
- package/lib/models/table-column.interface.d.ts +1 -1
- package/lib/models/table-config.interface.d.ts +6 -2
- package/lib/models/table-events.interface.d.ts +7 -0
- package/lib/models/table-sort.interface.d.ts +6 -4
- package/lib/pagination/pagination.component.d.ts +1 -1
- package/lib/pipes/sort-class.pipe.d.ts +2 -5
- package/lib/utilities/utilities.d.ts +6 -0
- package/package.json +3 -3
- package/scss/index.scss +26 -4
- package/esm2020/lib/enums/order.enum.mjs +0 -6
- package/lib/enums/order.enum.d.ts +0 -4
package/scss/index.scss
CHANGED
|
@@ -83,6 +83,14 @@ $skeleton-loader-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2
|
|
|
83
83
|
align-items: center;
|
|
84
84
|
justify-content: inherit;
|
|
85
85
|
transition: box-shadow 0.25s ease-in-out;
|
|
86
|
+
&[data-sort-order]::before {
|
|
87
|
+
content: attr(data-sort-order);
|
|
88
|
+
order: 2;
|
|
89
|
+
font-variant: diagonal-fractions;
|
|
90
|
+
font-weight: normal;
|
|
91
|
+
align-self: flex-start;
|
|
92
|
+
line-height: initial;
|
|
93
|
+
}
|
|
86
94
|
&::after {
|
|
87
95
|
content: '';
|
|
88
96
|
background: $sort-icon-color;
|
|
@@ -182,7 +190,7 @@ $skeleton-loader-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2
|
|
|
182
190
|
}
|
|
183
191
|
}
|
|
184
192
|
}
|
|
185
|
-
tbody {
|
|
193
|
+
tbody, tfoot {
|
|
186
194
|
tr {
|
|
187
195
|
display: flex;
|
|
188
196
|
flex-direction: column;
|
|
@@ -206,6 +214,17 @@ $skeleton-loader-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2
|
|
|
206
214
|
}
|
|
207
215
|
}
|
|
208
216
|
}
|
|
217
|
+
tfoot {
|
|
218
|
+
td:first-child::before {
|
|
219
|
+
font-weight: $mobile-style-header-font-weight;
|
|
220
|
+
}
|
|
221
|
+
td::before {
|
|
222
|
+
font-weight: normal;
|
|
223
|
+
}
|
|
224
|
+
td:not(:first-child).gt-no-content {
|
|
225
|
+
display: none;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
209
228
|
}
|
|
210
229
|
}
|
|
211
230
|
}
|
|
@@ -234,9 +253,12 @@ $skeleton-loader-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2
|
|
|
234
253
|
@mixin delta-style() {
|
|
235
254
|
.gt-delta {
|
|
236
255
|
display: flex;
|
|
237
|
-
&.gt-delta-positive
|
|
238
|
-
display:
|
|
239
|
-
|
|
256
|
+
&.gt-delta-positive > span {
|
|
257
|
+
display: inline-flex;
|
|
258
|
+
&::before {
|
|
259
|
+
display: block;
|
|
260
|
+
content: $delta-positive-prefix;
|
|
261
|
+
}
|
|
240
262
|
}
|
|
241
263
|
}
|
|
242
264
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export var Order;
|
|
2
|
-
(function (Order) {
|
|
3
|
-
Order["ASC"] = "asc";
|
|
4
|
-
Order["DESC"] = "desc";
|
|
5
|
-
})(Order || (Order = {}));
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvc3JjL2xpYi9lbnVtcy9vcmRlci5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLEtBR1g7QUFIRCxXQUFZLEtBQUs7SUFDZixvQkFBVyxDQUFBO0lBQ1gsc0JBQWEsQ0FBQTtBQUNmLENBQUMsRUFIVyxLQUFLLEtBQUwsS0FBSyxRQUdoQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIE9yZGVyIHtcbiAgQVNDID0gJ2FzYycsXG4gIERFU0MgPSAnZGVzYycsXG59XG4iXX0=
|