@homebound/beam 2.252.0 → 2.252.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.
|
@@ -119,16 +119,18 @@ function tableRowStyles(as, column) {
|
|
|
119
119
|
}
|
|
120
120
|
exports.tableRowStyles = tableRowStyles;
|
|
121
121
|
function resolveStyles(style) {
|
|
122
|
-
const
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
122
|
+
const defKeysRecord = {
|
|
123
|
+
inlineEditing: true,
|
|
124
|
+
grouped: true,
|
|
125
|
+
rowHeight: true,
|
|
126
|
+
cellHighlight: true,
|
|
127
|
+
allWhite: true,
|
|
128
|
+
bordered: true,
|
|
129
|
+
rowHover: true,
|
|
130
|
+
vAlign: true,
|
|
131
|
+
};
|
|
131
132
|
const keys = (0, utils_1.safeKeys)(style);
|
|
133
|
+
const defKeys = (0, utils_1.safeKeys)(defKeysRecord);
|
|
132
134
|
if (keys.length === 0 || keys.some((k) => defKeys.includes(k))) {
|
|
133
135
|
return (0, exports.getTableStyles)(style);
|
|
134
136
|
}
|