@cellaware/utils 8.6.11 → 8.6.12
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/dist/chatwms/datagrid.js +4 -3
- package/package.json +1 -1
package/dist/chatwms/datagrid.js
CHANGED
|
@@ -806,7 +806,6 @@ function processHtmlStyles(value, columnFormat, rowStyles, columnStyles) {
|
|
|
806
806
|
export function mapTeamsStyles(columnNames, htmlRowStyles, htmlColumnStyles, teamsRowStyles, teamsColumnStyles) {
|
|
807
807
|
// IMPORTANT: both column/row style sorting have **already** been reversed (line 1170).
|
|
808
808
|
// We can simply iterate over all the matched styles and accumulate them.
|
|
809
|
-
console.log(htmlColumnStyles);
|
|
810
809
|
const getColumnStyle = (style) => {
|
|
811
810
|
switch (style) {
|
|
812
811
|
case 'conditional-format-style-green-background':
|
|
@@ -868,6 +867,8 @@ export function mapTeamsStyles(columnNames, htmlRowStyles, htmlColumnStyles, tea
|
|
|
868
867
|
styles: htmlColumnStyle.styles.map(style => getColumnStyle(style))
|
|
869
868
|
});
|
|
870
869
|
}
|
|
870
|
+
console.log('A.');
|
|
871
|
+
console.log(JSON.stringify(teamsColumnStyles));
|
|
871
872
|
const applyRowStyleToColumns = (style) => {
|
|
872
873
|
for (const columnName of columnNames) {
|
|
873
874
|
const columnStyle = getColumnStyle(style);
|
|
@@ -1016,8 +1017,8 @@ function createTeamsTableRow(columnNames, values, rowStyles, columnStyles) {
|
|
|
1016
1017
|
for (const style of rowStyles) {
|
|
1017
1018
|
rowStyle = style;
|
|
1018
1019
|
}
|
|
1019
|
-
console.log(
|
|
1020
|
-
console.log(columnStyles);
|
|
1020
|
+
console.log('B.');
|
|
1021
|
+
console.log(JSON.stringify(columnStyles));
|
|
1021
1022
|
return {
|
|
1022
1023
|
type: "TableRow",
|
|
1023
1024
|
style: rowStyle,
|