@ricsam/react-spreadsheets 0.0.6 → 0.0.7
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/README.md +52 -0
- package/dist/cjs/lib.cjs +24 -26
- package/dist/cjs/lib.cjs.map +3 -3
- package/dist/cjs/package.json +1 -1
- package/dist/mjs/lib.mjs +24 -26
- package/dist/mjs/lib.mjs.map +3 -3
- package/dist/mjs/package.json +1 -1
- package/package.json +1 -1
package/dist/cjs/package.json
CHANGED
package/dist/mjs/lib.mjs
CHANGED
|
@@ -3537,31 +3537,29 @@ function FormulaSheet({
|
|
|
3537
3537
|
workbookName
|
|
3538
3538
|
});
|
|
3539
3539
|
if (!tableInfo) {
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
}
|
|
3564
|
-
return {};
|
|
3540
|
+
const style2 = conditionalStyle ? {
|
|
3541
|
+
...conditionalStyle.backgroundColor && {
|
|
3542
|
+
backgroundColor: conditionalStyle.backgroundColor
|
|
3543
|
+
},
|
|
3544
|
+
...conditionalStyle.color && {
|
|
3545
|
+
color: conditionalStyle.color
|
|
3546
|
+
},
|
|
3547
|
+
...conditionalStyle.fontSize && {
|
|
3548
|
+
fontSize: conditionalStyle.fontSize
|
|
3549
|
+
},
|
|
3550
|
+
...conditionalStyle.bold && {
|
|
3551
|
+
fontWeight: "bold"
|
|
3552
|
+
},
|
|
3553
|
+
...conditionalStyle.italic && {
|
|
3554
|
+
fontStyle: "italic"
|
|
3555
|
+
},
|
|
3556
|
+
...conditionalStyle.underline && {
|
|
3557
|
+
textDecoration: "underline"
|
|
3558
|
+
},
|
|
3559
|
+
...getBorderCellStyle(conditionalStyle),
|
|
3560
|
+
...getWrapCellStyle(conditionalStyle)
|
|
3561
|
+
} : {};
|
|
3562
|
+
return customCellStyle ? customCellStyle(cell, style2) : style2;
|
|
3565
3563
|
}
|
|
3566
3564
|
const isHeaderRow = cell.rowIndex === tableInfo.start.rowIndex;
|
|
3567
3565
|
const isFirstColumn = cell.colIndex === tableInfo.start.colIndex;
|
|
@@ -4109,4 +4107,4 @@ export {
|
|
|
4109
4107
|
useResizeObserver
|
|
4110
4108
|
};
|
|
4111
4109
|
|
|
4112
|
-
//# debugId=
|
|
4110
|
+
//# debugId=F4BFEDA101FB82C464756E2164756E21
|