@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.
Files changed (32) hide show
  1. package/esm2020/lib/core.component.mjs +94 -43
  2. package/esm2020/lib/core.module.mjs +4 -4
  3. package/esm2020/lib/core.service.mjs +3 -3
  4. package/esm2020/lib/gt-delta/gt-delta.component.mjs +95 -73
  5. package/esm2020/lib/models/table-config.interface.mjs +1 -1
  6. package/esm2020/lib/models/table-events.interface.mjs +1 -1
  7. package/esm2020/lib/models/table-sort.interface.mjs +1 -1
  8. package/esm2020/lib/pagination/pagination.component.mjs +3 -3
  9. package/esm2020/lib/pagination/pagination.module.mjs +4 -4
  10. package/esm2020/lib/pipes/capital-case.pipe.mjs +3 -3
  11. package/esm2020/lib/pipes/dash-case.pipe.mjs +3 -3
  12. package/esm2020/lib/pipes/dynamic.pipe.mjs +3 -3
  13. package/esm2020/lib/pipes/highlight.pipe.mjs +3 -3
  14. package/esm2020/lib/pipes/sort-class.pipe.mjs +29 -12
  15. package/esm2020/lib/utilities/utilities.mjs +23 -1
  16. package/fesm2015/angular-generic-table-core.mjs +259 -155
  17. package/fesm2015/angular-generic-table-core.mjs.map +1 -1
  18. package/fesm2020/angular-generic-table-core.mjs +260 -153
  19. package/fesm2020/angular-generic-table-core.mjs.map +1 -1
  20. package/lib/core.component.d.ts +14 -7
  21. package/lib/gt-delta/gt-delta.component.d.ts +16 -4
  22. package/lib/models/table-column.interface.d.ts +1 -1
  23. package/lib/models/table-config.interface.d.ts +6 -2
  24. package/lib/models/table-events.interface.d.ts +7 -0
  25. package/lib/models/table-sort.interface.d.ts +6 -4
  26. package/lib/pagination/pagination.component.d.ts +1 -1
  27. package/lib/pipes/sort-class.pipe.d.ts +2 -5
  28. package/lib/utilities/utilities.d.ts +6 -0
  29. package/package.json +3 -3
  30. package/scss/index.scss +26 -4
  31. package/esm2020/lib/enums/order.enum.mjs +0 -6
  32. 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::before {
238
- display: block;
239
- content: $delta-positive-prefix;
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=
@@ -1,4 +0,0 @@
1
- export declare enum Order {
2
- ASC = "asc",
3
- DESC = "desc"
4
- }