@silurus/ooxml 0.23.0 → 0.24.0
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/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/types/index.d.ts +17 -0
- package/dist/types/xlsx.d.ts +17 -0
- package/dist/xlsx-BjHnRtA7.cjs +11 -0
- package/dist/xlsx-BnoJbkJM.js +2887 -0
- package/dist/xlsx.cjs +1 -1
- package/dist/xlsx.mjs +1 -1
- package/package.json +1 -1
- package/dist/xlsx-C1BPPkHW.js +0 -2886
- package/dist/xlsx-C338java.cjs +0 -11
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./xlsx-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./xlsx-BjHnRtA7.cjs`),t=require(`./pptx-Ywwc_EMp.cjs`),n=require(`./docx-DKPVLT6O.cjs`);Object.defineProperty(exports,`docx`,{enumerable:!0,get:function(){return n.t}}),Object.defineProperty(exports,`pptx`,{enumerable:!0,get:function(){return t.t}}),Object.defineProperty(exports,`xlsx`,{enumerable:!0,get:function(){return e.t}});
|
package/dist/index.mjs
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1737,6 +1737,17 @@ declare interface TableCell {
|
|
|
1737
1737
|
vMerge: boolean;
|
|
1738
1738
|
}
|
|
1739
1739
|
|
|
1740
|
+
/** Per-column DXF references inside a `<table>` element
|
|
1741
|
+
* (ECMA-376 §18.5.1.3 `tableColumn`). */
|
|
1742
|
+
declare interface TableColumnInfo {
|
|
1743
|
+
/** `<tableColumn dataDxfId>` — applied to data cells in this column. */
|
|
1744
|
+
dataDxfId?: number;
|
|
1745
|
+
/** `<tableColumn headerRowDxfId>` — applied to the header cell of this column. */
|
|
1746
|
+
headerRowDxfId?: number;
|
|
1747
|
+
/** `<tableColumn totalsRowDxfId>` — applied to the totals cell of this column. */
|
|
1748
|
+
totalsRowDxfId?: number;
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1740
1751
|
declare interface TableElement {
|
|
1741
1752
|
type: 'table';
|
|
1742
1753
|
x: number;
|
|
@@ -1767,6 +1778,12 @@ declare interface TableInfo {
|
|
|
1767
1778
|
/** Dxf index for the `headerRow` element of a custom `<tableStyle>` —
|
|
1768
1779
|
* provides header background, font color/weight, and vertical separators. */
|
|
1769
1780
|
headerRowDxf?: number;
|
|
1781
|
+
/** Per-column DXF references (ECMA-376 §18.5.1.3 `tableColumn`). Index by
|
|
1782
|
+
* `cellCol - range.left`. The renderer can use these to apply column-level
|
|
1783
|
+
* overlays for named-style tables; for files where Excel pre-bakes the
|
|
1784
|
+
* column DXF result into the cell `xf` (the common case), reading `xf` is
|
|
1785
|
+
* sufficient and these fields are informational. */
|
|
1786
|
+
columns: TableColumnInfo[];
|
|
1770
1787
|
}
|
|
1771
1788
|
|
|
1772
1789
|
declare interface TableRow {
|
package/dist/types/xlsx.d.ts
CHANGED
|
@@ -700,6 +700,17 @@ export declare interface Styles {
|
|
|
700
700
|
dxfs: Dxf[];
|
|
701
701
|
}
|
|
702
702
|
|
|
703
|
+
/** Per-column DXF references inside a `<table>` element
|
|
704
|
+
* (ECMA-376 §18.5.1.3 `tableColumn`). */
|
|
705
|
+
declare interface TableColumnInfo {
|
|
706
|
+
/** `<tableColumn dataDxfId>` — applied to data cells in this column. */
|
|
707
|
+
dataDxfId?: number;
|
|
708
|
+
/** `<tableColumn headerRowDxfId>` — applied to the header cell of this column. */
|
|
709
|
+
headerRowDxfId?: number;
|
|
710
|
+
/** `<tableColumn totalsRowDxfId>` — applied to the totals cell of this column. */
|
|
711
|
+
totalsRowDxfId?: number;
|
|
712
|
+
}
|
|
713
|
+
|
|
703
714
|
declare interface TableInfo {
|
|
704
715
|
range: CellRange_2;
|
|
705
716
|
styleName: string;
|
|
@@ -719,6 +730,12 @@ declare interface TableInfo {
|
|
|
719
730
|
/** Dxf index for the `headerRow` element of a custom `<tableStyle>` —
|
|
720
731
|
* provides header background, font color/weight, and vertical separators. */
|
|
721
732
|
headerRowDxf?: number;
|
|
733
|
+
/** Per-column DXF references (ECMA-376 §18.5.1.3 `tableColumn`). Index by
|
|
734
|
+
* `cellCol - range.left`. The renderer can use these to apply column-level
|
|
735
|
+
* overlays for named-style tables; for files where Excel pre-bakes the
|
|
736
|
+
* column DXF result into the cell `xf` (the common case), reading `xf` is
|
|
737
|
+
* sufficient and these fields are informational. */
|
|
738
|
+
columns: TableColumnInfo[];
|
|
722
739
|
}
|
|
723
740
|
|
|
724
741
|
/** Emitted once per cell that has text, with the cell's canvas-pixel bounds. */
|