@paperless/angular 2.18.4 → 2.18.5
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/modules/table/components/table/table.component.mjs +4 -1
- package/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +3 -7
- package/fesm2015/paperless-angular.mjs +6 -7
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +5 -6
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3045,12 +3045,8 @@ class TableCell {
|
|
|
3045
3045
|
get class() {
|
|
3046
3046
|
return cn(getTableCellColumnClasses(this.definition, this.variant, this.checkboxOffset), {
|
|
3047
3047
|
"sticky left-4 z-[2]": !!this.definition?.sticky,
|
|
3048
|
-
"bg-gradient-to-r from-white to-transparent dark:from-hurricane-700 from-80%": this.definition?.sticky &&
|
|
3049
|
-
|
|
3050
|
-
this.definition?.sticky !== "extra-header",
|
|
3051
|
-
"bg-gradient-to-r from-off-white-300 to-transparent dark:from-hurricane-400 from-80%": this.definition?.sticky &&
|
|
3052
|
-
(this.definition?.sticky === "footer" ||
|
|
3053
|
-
this.definition?.sticky === "extra-header"),
|
|
3048
|
+
"bg-gradient-to-r from-white to-transparent dark:from-hurricane-700 from-80%": this.definition?.sticky && this.definition?.sticky !== "secondary",
|
|
3049
|
+
"bg-gradient-to-r from-off-white-300 to-transparent dark:from-hurricane-400 from-80%": this.definition?.sticky && this.definition?.sticky === "secondary",
|
|
3054
3050
|
"flex-shrink": !this.scrollable,
|
|
3055
3051
|
"flex-shrink-0": this.scrollable,
|
|
3056
3052
|
});
|
|
@@ -3981,6 +3977,9 @@ let Table = class Table {
|
|
|
3981
3977
|
_generateExtraHeaders() {
|
|
3982
3978
|
let definitionsArray = Array.from(this.extraHeaderDefinitions);
|
|
3983
3979
|
definitionsArray = this._parseDefinitions(definitionsArray);
|
|
3980
|
+
for (const col of definitionsArray) {
|
|
3981
|
+
col.sticky = col.sticky === true ? "secondary" : false;
|
|
3982
|
+
}
|
|
3984
3983
|
this.extraHeaders$.next(definitionsArray);
|
|
3985
3984
|
}
|
|
3986
3985
|
_checkboxDisabled(item, rowIndex) {
|