@silurus/ooxml 0.4.0 → 0.5.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/{docx-B96_4Bp5.cjs → docx-CGvCIxpo.cjs} +1 -1
- package/dist/{docx-CPf_N42P.js → docx-DUycjjDQ.js} +156 -131
- package/dist/docx.cjs +1 -1
- package/dist/docx.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/types/index.d.ts +21 -0
- package/dist/types/xlsx.d.ts +21 -0
- package/dist/xlsx-BAksLJGU.js +1191 -0
- package/dist/xlsx-Cz9qI8c9.cjs +4 -0
- package/dist/xlsx.cjs +1 -1
- package/dist/xlsx.mjs +1 -1
- package/package.json +1 -1
- package/dist/xlsx--fOMyOGC.js +0 -1078
- package/dist/xlsx-C2jK_dYK.cjs +0 -4
package/dist/types/xlsx.d.ts
CHANGED
|
@@ -190,6 +190,8 @@ export declare interface Fill {
|
|
|
190
190
|
patternType: string;
|
|
191
191
|
fgColor: string | null;
|
|
192
192
|
bgColor: string | null;
|
|
193
|
+
/** Set when the style's `<fill>` was a `<gradientFill>`; patternType stays "none". */
|
|
194
|
+
gradient?: GradientFillSpec | null;
|
|
193
195
|
}
|
|
194
196
|
|
|
195
197
|
export declare interface Font {
|
|
@@ -202,6 +204,22 @@ export declare interface Font {
|
|
|
202
204
|
name: string | null;
|
|
203
205
|
}
|
|
204
206
|
|
|
207
|
+
declare interface GradientFillSpec {
|
|
208
|
+
/** "linear" (default) or "path". */
|
|
209
|
+
gradientType: string;
|
|
210
|
+
/** Rotation in degrees for linear gradients (0 = left→right). */
|
|
211
|
+
degree: number;
|
|
212
|
+
/** Path-gradient bounding box (0..1) — unused for linear. */
|
|
213
|
+
left: number;
|
|
214
|
+
right: number;
|
|
215
|
+
top: number;
|
|
216
|
+
bottom: number;
|
|
217
|
+
stops: {
|
|
218
|
+
position: number;
|
|
219
|
+
color: string;
|
|
220
|
+
}[];
|
|
221
|
+
}
|
|
222
|
+
|
|
205
223
|
declare interface Hyperlink {
|
|
206
224
|
col: number;
|
|
207
225
|
row: number;
|
|
@@ -332,6 +350,9 @@ export declare interface Worksheet {
|
|
|
332
350
|
autoFilter?: CellRange | null;
|
|
333
351
|
/** Hyperlinks in this worksheet (ECMA-376 §18.3.1.47). */
|
|
334
352
|
hyperlinks?: Hyperlink[];
|
|
353
|
+
/** A1-style cell refs of commented cells (ECMA-376 §18.7.3). Rendered as a
|
|
354
|
+
* small red triangle in each cell's top-right corner. */
|
|
355
|
+
commentRefs?: string[];
|
|
335
356
|
}
|
|
336
357
|
|
|
337
358
|
/**
|