@memberjunction/export-engine 0.0.1 → 2.133.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/base-exporter.d.ts +64 -0
- package/dist/base-exporter.d.ts.map +1 -0
- package/dist/base-exporter.js +158 -0
- package/dist/base-exporter.js.map +1 -0
- package/dist/csv-exporter.d.ts +27 -0
- package/dist/csv-exporter.d.ts.map +1 -0
- package/dist/csv-exporter.js +109 -0
- package/dist/csv-exporter.js.map +1 -0
- package/dist/excel-exporter.d.ts +125 -0
- package/dist/excel-exporter.d.ts.map +1 -0
- package/dist/excel-exporter.js +889 -0
- package/dist/excel-exporter.js.map +1 -0
- package/dist/export-engine.d.ts +100 -0
- package/dist/export-engine.d.ts.map +1 -0
- package/dist/export-engine.js +158 -0
- package/dist/export-engine.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/json-exporter.d.ts +18 -0
- package/dist/json-exporter.d.ts.map +1 -0
- package/dist/json-exporter.js +66 -0
- package/dist/json-exporter.js.map +1 -0
- package/dist/types.d.ts +612 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +97 -0
- package/dist/types.js.map +1 -0
- package/package.json +22 -7
- package/README.md +0 -45
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,612 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/**
|
|
3
|
+
* Export format types
|
|
4
|
+
*/
|
|
5
|
+
export type ExportFormat = 'excel' | 'csv' | 'json';
|
|
6
|
+
/**
|
|
7
|
+
* Data row type - either an object with string keys or an array
|
|
8
|
+
*/
|
|
9
|
+
export type ExportDataRow = Record<string, unknown> | unknown[];
|
|
10
|
+
/**
|
|
11
|
+
* Data array type for export
|
|
12
|
+
*/
|
|
13
|
+
export type ExportData = ExportDataRow[];
|
|
14
|
+
/**
|
|
15
|
+
* Row sampling mode for exports
|
|
16
|
+
*/
|
|
17
|
+
export type SamplingMode = 'all' | 'top' | 'bottom' | 'every-nth' | 'random';
|
|
18
|
+
/**
|
|
19
|
+
* Column data type hint for formatting
|
|
20
|
+
*/
|
|
21
|
+
export type ColumnDataType = 'string' | 'number' | 'date' | 'boolean' | 'currency' | 'percentage';
|
|
22
|
+
/**
|
|
23
|
+
* Cell border line style
|
|
24
|
+
*/
|
|
25
|
+
export type BorderLineStyle = 'thin' | 'medium' | 'thick' | 'dotted' | 'dashed' | 'double';
|
|
26
|
+
/**
|
|
27
|
+
* Horizontal alignment options
|
|
28
|
+
*/
|
|
29
|
+
export type HorizontalAlignment = 'left' | 'center' | 'right' | 'fill' | 'justify';
|
|
30
|
+
/**
|
|
31
|
+
* Vertical alignment options
|
|
32
|
+
*/
|
|
33
|
+
export type VerticalAlignment = 'top' | 'middle' | 'bottom';
|
|
34
|
+
/**
|
|
35
|
+
* Fill pattern type
|
|
36
|
+
*/
|
|
37
|
+
export type FillPattern = 'none' | 'solid' | 'darkGray' | 'mediumGray' | 'lightGray' | 'darkHorizontal' | 'darkVertical' | 'darkDown' | 'darkUp' | 'darkGrid' | 'darkTrellis' | 'lightHorizontal' | 'lightVertical' | 'lightDown' | 'lightUp' | 'lightGrid' | 'lightTrellis';
|
|
38
|
+
/**
|
|
39
|
+
* Font styling options
|
|
40
|
+
*/
|
|
41
|
+
export interface FontStyle {
|
|
42
|
+
/** Font family name */
|
|
43
|
+
name?: string;
|
|
44
|
+
/** Font size in points */
|
|
45
|
+
size?: number;
|
|
46
|
+
/** Bold text */
|
|
47
|
+
bold?: boolean;
|
|
48
|
+
/** Italic text */
|
|
49
|
+
italic?: boolean;
|
|
50
|
+
/** Underline text */
|
|
51
|
+
underline?: boolean | 'single' | 'double';
|
|
52
|
+
/** Strikethrough text */
|
|
53
|
+
strike?: boolean;
|
|
54
|
+
/** Font color (hex without #, e.g., 'FF0000' for red) */
|
|
55
|
+
color?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Cell fill/background options
|
|
59
|
+
*/
|
|
60
|
+
export interface FillStyle {
|
|
61
|
+
/** Fill pattern type */
|
|
62
|
+
pattern?: FillPattern;
|
|
63
|
+
/** Foreground color (hex without #) */
|
|
64
|
+
fgColor?: string;
|
|
65
|
+
/** Background color (hex without #) */
|
|
66
|
+
bgColor?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Border definition for a single side
|
|
70
|
+
*/
|
|
71
|
+
export interface BorderSide {
|
|
72
|
+
/** Border style */
|
|
73
|
+
style?: BorderLineStyle;
|
|
74
|
+
/** Border color (hex without #) */
|
|
75
|
+
color?: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Cell border options
|
|
79
|
+
*/
|
|
80
|
+
export interface CellBorder {
|
|
81
|
+
top?: BorderSide;
|
|
82
|
+
bottom?: BorderSide;
|
|
83
|
+
left?: BorderSide;
|
|
84
|
+
right?: BorderSide;
|
|
85
|
+
diagonal?: BorderSide & {
|
|
86
|
+
up?: boolean;
|
|
87
|
+
down?: boolean;
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Cell alignment options
|
|
92
|
+
*/
|
|
93
|
+
export interface AlignmentStyle {
|
|
94
|
+
/** Horizontal alignment */
|
|
95
|
+
horizontal?: HorizontalAlignment;
|
|
96
|
+
/** Vertical alignment */
|
|
97
|
+
vertical?: VerticalAlignment;
|
|
98
|
+
/** Wrap text */
|
|
99
|
+
wrapText?: boolean;
|
|
100
|
+
/** Shrink to fit */
|
|
101
|
+
shrinkToFit?: boolean;
|
|
102
|
+
/** Text rotation in degrees (-90 to 90) */
|
|
103
|
+
textRotation?: number;
|
|
104
|
+
/** Indent level */
|
|
105
|
+
indent?: number;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Complete cell style definition
|
|
109
|
+
*/
|
|
110
|
+
export interface CellStyle {
|
|
111
|
+
/** Font styling */
|
|
112
|
+
font?: FontStyle;
|
|
113
|
+
/** Fill/background styling */
|
|
114
|
+
fill?: FillStyle;
|
|
115
|
+
/** Border styling */
|
|
116
|
+
border?: CellBorder;
|
|
117
|
+
/** Alignment styling */
|
|
118
|
+
alignment?: AlignmentStyle;
|
|
119
|
+
/** Number format string (e.g., '#,##0.00', 'yyyy-mm-dd') */
|
|
120
|
+
numFmt?: string;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Column definition for export
|
|
124
|
+
*/
|
|
125
|
+
export interface ExportColumn {
|
|
126
|
+
/** The field/property name in the data */
|
|
127
|
+
name: string;
|
|
128
|
+
/** Display name for the column header */
|
|
129
|
+
displayName?: string;
|
|
130
|
+
/** Column width in characters (Excel only) */
|
|
131
|
+
width?: number;
|
|
132
|
+
/** Data type hint for formatting */
|
|
133
|
+
dataType?: ColumnDataType;
|
|
134
|
+
/** Number format string (Excel only) */
|
|
135
|
+
numberFormat?: string;
|
|
136
|
+
/** Column-level style (applied to all cells in this column) */
|
|
137
|
+
style?: CellStyle;
|
|
138
|
+
/** Whether the column is hidden */
|
|
139
|
+
hidden?: boolean;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Formula definition for a cell
|
|
143
|
+
*/
|
|
144
|
+
export interface CellFormula {
|
|
145
|
+
/** Cell address (e.g., 'A1', 'B5') */
|
|
146
|
+
cell: string;
|
|
147
|
+
/** Formula string (without leading =) */
|
|
148
|
+
formula: string;
|
|
149
|
+
/** Optional result value for display before calculation */
|
|
150
|
+
result?: unknown;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Conditional formatting rule
|
|
154
|
+
*/
|
|
155
|
+
export interface ConditionalFormatRule {
|
|
156
|
+
/** Cell range (e.g., 'A1:A100', 'B2:D50') */
|
|
157
|
+
range: string;
|
|
158
|
+
/** Rule type */
|
|
159
|
+
type: 'cellIs' | 'containsText' | 'colorScale' | 'dataBar' | 'iconSet' | 'top10' | 'aboveAverage' | 'duplicateValues' | 'expression';
|
|
160
|
+
/** Operator for cellIs type */
|
|
161
|
+
operator?: 'equal' | 'notEqual' | 'greaterThan' | 'lessThan' | 'greaterThanOrEqual' | 'lessThanOrEqual' | 'between' | 'notBetween';
|
|
162
|
+
/** Value(s) for comparison */
|
|
163
|
+
value?: unknown;
|
|
164
|
+
/** Second value for 'between' operator */
|
|
165
|
+
value2?: unknown;
|
|
166
|
+
/** Text to search for (containsText type) */
|
|
167
|
+
text?: string;
|
|
168
|
+
/** Style to apply when rule matches */
|
|
169
|
+
style?: CellStyle;
|
|
170
|
+
/** Priority of the rule (lower = higher priority) */
|
|
171
|
+
priority?: number;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Data validation rule
|
|
175
|
+
*/
|
|
176
|
+
export interface DataValidationRule {
|
|
177
|
+
/** Cell range to apply validation */
|
|
178
|
+
range: string;
|
|
179
|
+
/** Validation type */
|
|
180
|
+
type: 'list' | 'whole' | 'decimal' | 'date' | 'time' | 'textLength' | 'custom';
|
|
181
|
+
/** Operator for numeric/date/text validations */
|
|
182
|
+
operator?: 'equal' | 'notEqual' | 'greaterThan' | 'lessThan' | 'greaterThanOrEqual' | 'lessThanOrEqual' | 'between' | 'notBetween';
|
|
183
|
+
/** Formula or value for validation */
|
|
184
|
+
formula1?: string | number | Date;
|
|
185
|
+
/** Second formula/value for between operators */
|
|
186
|
+
formula2?: string | number | Date;
|
|
187
|
+
/** List of allowed values (for list type) */
|
|
188
|
+
allowedValues?: string[];
|
|
189
|
+
/** Show dropdown for list validation */
|
|
190
|
+
showDropdown?: boolean;
|
|
191
|
+
/** Allow blank cells */
|
|
192
|
+
allowBlank?: boolean;
|
|
193
|
+
/** Show error alert */
|
|
194
|
+
showError?: boolean;
|
|
195
|
+
/** Error title */
|
|
196
|
+
errorTitle?: string;
|
|
197
|
+
/** Error message */
|
|
198
|
+
errorMessage?: string;
|
|
199
|
+
/** Error style */
|
|
200
|
+
errorStyle?: 'stop' | 'warning' | 'information';
|
|
201
|
+
/** Show input message */
|
|
202
|
+
showInputMessage?: boolean;
|
|
203
|
+
/** Input title */
|
|
204
|
+
inputTitle?: string;
|
|
205
|
+
/** Input message */
|
|
206
|
+
inputMessage?: string;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Merged cell range definition
|
|
210
|
+
*/
|
|
211
|
+
export interface MergedCellRange {
|
|
212
|
+
/** Start row (1-based) */
|
|
213
|
+
startRow: number;
|
|
214
|
+
/** Start column (1-based) */
|
|
215
|
+
startColumn: number;
|
|
216
|
+
/** End row (1-based) */
|
|
217
|
+
endRow: number;
|
|
218
|
+
/** End column (1-based) */
|
|
219
|
+
endColumn: number;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Image to embed in the worksheet
|
|
223
|
+
*/
|
|
224
|
+
export interface EmbeddedImage {
|
|
225
|
+
/** Image data as base64 string or Buffer */
|
|
226
|
+
data: string | Buffer;
|
|
227
|
+
/** Image type */
|
|
228
|
+
type: 'png' | 'jpeg' | 'gif';
|
|
229
|
+
/** Top-left cell position */
|
|
230
|
+
position: {
|
|
231
|
+
/** Column (1-based or letter) */
|
|
232
|
+
col: number | string;
|
|
233
|
+
/** Row (1-based) */
|
|
234
|
+
row: number;
|
|
235
|
+
/** Offset from left of cell in pixels */
|
|
236
|
+
colOffset?: number;
|
|
237
|
+
/** Offset from top of cell in pixels */
|
|
238
|
+
rowOffset?: number;
|
|
239
|
+
};
|
|
240
|
+
/** Image dimensions */
|
|
241
|
+
size?: {
|
|
242
|
+
/** Width in pixels */
|
|
243
|
+
width?: number;
|
|
244
|
+
/** Height in pixels */
|
|
245
|
+
height?: number;
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Row-level styling
|
|
250
|
+
*/
|
|
251
|
+
export interface RowStyle {
|
|
252
|
+
/** Row number (1-based) */
|
|
253
|
+
row: number;
|
|
254
|
+
/** Row height in points */
|
|
255
|
+
height?: number;
|
|
256
|
+
/** Style to apply to entire row */
|
|
257
|
+
style?: CellStyle;
|
|
258
|
+
/** Whether row is hidden */
|
|
259
|
+
hidden?: boolean;
|
|
260
|
+
/** Outline level for grouping (0-7) */
|
|
261
|
+
outlineLevel?: number;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Specific cell styling (overrides column/row styles)
|
|
265
|
+
*/
|
|
266
|
+
export interface CellStyleOverride {
|
|
267
|
+
/** Cell address (e.g., 'A1') or range (e.g., 'A1:B5') */
|
|
268
|
+
cell: string;
|
|
269
|
+
/** Style to apply */
|
|
270
|
+
style: CellStyle;
|
|
271
|
+
/** Value to set (optional, overrides data) */
|
|
272
|
+
value?: unknown;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Page setup options for printing
|
|
276
|
+
*/
|
|
277
|
+
export interface PageSetup {
|
|
278
|
+
/** Paper size */
|
|
279
|
+
paperSize?: 'letter' | 'legal' | 'tabloid' | 'a3' | 'a4' | 'a5';
|
|
280
|
+
/** Page orientation */
|
|
281
|
+
orientation?: 'portrait' | 'landscape';
|
|
282
|
+
/** Fit to page width (number of pages) */
|
|
283
|
+
fitToWidth?: number;
|
|
284
|
+
/** Fit to page height (number of pages) */
|
|
285
|
+
fitToHeight?: number;
|
|
286
|
+
/** Scale percentage (10-400) */
|
|
287
|
+
scale?: number;
|
|
288
|
+
/** Print gridlines */
|
|
289
|
+
showGridLines?: boolean;
|
|
290
|
+
/** Print row/column headings */
|
|
291
|
+
showRowColHeaders?: boolean;
|
|
292
|
+
/** Margins in inches */
|
|
293
|
+
margins?: {
|
|
294
|
+
left?: number;
|
|
295
|
+
right?: number;
|
|
296
|
+
top?: number;
|
|
297
|
+
bottom?: number;
|
|
298
|
+
header?: number;
|
|
299
|
+
footer?: number;
|
|
300
|
+
};
|
|
301
|
+
/** Header text (use &L, &C, &R for left/center/right) */
|
|
302
|
+
header?: string;
|
|
303
|
+
/** Footer text */
|
|
304
|
+
footer?: string;
|
|
305
|
+
/** Rows to repeat at top (e.g., '1:2' for rows 1-2) */
|
|
306
|
+
printTitlesRow?: string;
|
|
307
|
+
/** Columns to repeat at left (e.g., 'A:B') */
|
|
308
|
+
printTitlesColumn?: string;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Sheet protection options
|
|
312
|
+
*/
|
|
313
|
+
export interface SheetProtection {
|
|
314
|
+
/** Password for protection (will be hashed) */
|
|
315
|
+
password?: string;
|
|
316
|
+
/** Allow selecting locked cells */
|
|
317
|
+
selectLockedCells?: boolean;
|
|
318
|
+
/** Allow selecting unlocked cells */
|
|
319
|
+
selectUnlockedCells?: boolean;
|
|
320
|
+
/** Allow formatting cells */
|
|
321
|
+
formatCells?: boolean;
|
|
322
|
+
/** Allow formatting columns */
|
|
323
|
+
formatColumns?: boolean;
|
|
324
|
+
/** Allow formatting rows */
|
|
325
|
+
formatRows?: boolean;
|
|
326
|
+
/** Allow inserting columns */
|
|
327
|
+
insertColumns?: boolean;
|
|
328
|
+
/** Allow inserting rows */
|
|
329
|
+
insertRows?: boolean;
|
|
330
|
+
/** Allow inserting hyperlinks */
|
|
331
|
+
insertHyperlinks?: boolean;
|
|
332
|
+
/** Allow deleting columns */
|
|
333
|
+
deleteColumns?: boolean;
|
|
334
|
+
/** Allow deleting rows */
|
|
335
|
+
deleteRows?: boolean;
|
|
336
|
+
/** Allow sorting */
|
|
337
|
+
sort?: boolean;
|
|
338
|
+
/** Allow auto filter */
|
|
339
|
+
autoFilter?: boolean;
|
|
340
|
+
/** Allow pivot tables */
|
|
341
|
+
pivotTables?: boolean;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Sheet definition for multi-sheet exports
|
|
345
|
+
*/
|
|
346
|
+
export interface SheetDefinition {
|
|
347
|
+
/** Sheet name (required) */
|
|
348
|
+
name: string;
|
|
349
|
+
/** Data rows for this sheet */
|
|
350
|
+
data: ExportData;
|
|
351
|
+
/** Column definitions (optional, derived from data if not provided) */
|
|
352
|
+
columns?: ExportColumn[];
|
|
353
|
+
/** Custom column headers (alternative to columns) */
|
|
354
|
+
headers?: string[];
|
|
355
|
+
/** Column widths in characters */
|
|
356
|
+
columnWidths?: number[];
|
|
357
|
+
/** Include headers row */
|
|
358
|
+
includeHeaders?: boolean;
|
|
359
|
+
/** Header row style */
|
|
360
|
+
headerStyle?: CellStyle;
|
|
361
|
+
/** Default data row style */
|
|
362
|
+
dataStyle?: CellStyle;
|
|
363
|
+
/** Alternating row style */
|
|
364
|
+
alternateRowStyle?: CellStyle;
|
|
365
|
+
/** Specific row styles */
|
|
366
|
+
rowStyles?: RowStyle[];
|
|
367
|
+
/** Specific cell style overrides */
|
|
368
|
+
cellStyles?: CellStyleOverride[];
|
|
369
|
+
/** Formulas to add */
|
|
370
|
+
formulas?: CellFormula[];
|
|
371
|
+
/** Conditional formatting rules */
|
|
372
|
+
conditionalFormatting?: ConditionalFormatRule[];
|
|
373
|
+
/** Data validation rules */
|
|
374
|
+
dataValidation?: DataValidationRule[];
|
|
375
|
+
/** Merged cell ranges */
|
|
376
|
+
mergedCells?: MergedCellRange[];
|
|
377
|
+
/** Embedded images */
|
|
378
|
+
images?: EmbeddedImage[];
|
|
379
|
+
/** Freeze panes configuration */
|
|
380
|
+
freeze?: {
|
|
381
|
+
/** Freeze at row (1-based, rows above this are frozen) */
|
|
382
|
+
row?: number;
|
|
383
|
+
/** Freeze at column (1-based, columns left of this are frozen) */
|
|
384
|
+
column?: number;
|
|
385
|
+
};
|
|
386
|
+
/** Auto-filter range (e.g., 'A1:D100' or true for all data) */
|
|
387
|
+
autoFilter?: string | boolean;
|
|
388
|
+
/** Tab color (hex without #) */
|
|
389
|
+
tabColor?: string;
|
|
390
|
+
/** Right-to-left reading order */
|
|
391
|
+
rightToLeft?: boolean;
|
|
392
|
+
/** Show gridlines */
|
|
393
|
+
showGridLines?: boolean;
|
|
394
|
+
/** Page setup for printing */
|
|
395
|
+
pageSetup?: PageSetup;
|
|
396
|
+
/** Sheet protection options */
|
|
397
|
+
protection?: SheetProtection;
|
|
398
|
+
/** Default row height */
|
|
399
|
+
defaultRowHeight?: number;
|
|
400
|
+
/** Default column width */
|
|
401
|
+
defaultColWidth?: number;
|
|
402
|
+
/** Outline/grouping settings */
|
|
403
|
+
outlineProperties?: {
|
|
404
|
+
/** Summary rows below detail */
|
|
405
|
+
summaryBelow?: boolean;
|
|
406
|
+
/** Summary columns to right of detail */
|
|
407
|
+
summaryRight?: boolean;
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Row sampling options
|
|
412
|
+
*/
|
|
413
|
+
export interface SamplingOptions {
|
|
414
|
+
/** Sampling mode */
|
|
415
|
+
mode: SamplingMode;
|
|
416
|
+
/** Number of rows for top/bottom/random modes */
|
|
417
|
+
count?: number;
|
|
418
|
+
/** Interval for every-nth mode */
|
|
419
|
+
interval?: number;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Export styling options (Excel only) - simplified version for single-sheet exports
|
|
423
|
+
*/
|
|
424
|
+
export interface ExportStyleOptions {
|
|
425
|
+
/** Apply bold headers */
|
|
426
|
+
boldHeaders?: boolean;
|
|
427
|
+
/** Header background color (hex without #) */
|
|
428
|
+
headerBackgroundColor?: string;
|
|
429
|
+
/** Header text color (hex without #) */
|
|
430
|
+
headerTextColor?: string;
|
|
431
|
+
/** Apply alternating row colors */
|
|
432
|
+
alternatingRowColors?: boolean;
|
|
433
|
+
/** Alternate row background color (hex without #) */
|
|
434
|
+
alternateRowColor?: string;
|
|
435
|
+
/** Freeze header row */
|
|
436
|
+
freezeHeader?: boolean;
|
|
437
|
+
/** Apply auto-filter to headers */
|
|
438
|
+
autoFilter?: boolean;
|
|
439
|
+
/** Full header style (overrides individual header options) */
|
|
440
|
+
headerStyle?: CellStyle;
|
|
441
|
+
/** Full data style (applied to all data cells) */
|
|
442
|
+
dataStyle?: CellStyle;
|
|
443
|
+
/** Full alternate row style (overrides alternateRowColor) */
|
|
444
|
+
alternateRowStyle?: CellStyle;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* Workbook metadata
|
|
448
|
+
*/
|
|
449
|
+
export interface WorkbookMetadata {
|
|
450
|
+
/** Author name */
|
|
451
|
+
author?: string;
|
|
452
|
+
/** Title */
|
|
453
|
+
title?: string;
|
|
454
|
+
/** Subject */
|
|
455
|
+
subject?: string;
|
|
456
|
+
/** Description/comments */
|
|
457
|
+
description?: string;
|
|
458
|
+
/** Keywords (comma-separated or array) */
|
|
459
|
+
keywords?: string | string[];
|
|
460
|
+
/** Category */
|
|
461
|
+
category?: string;
|
|
462
|
+
/** Company */
|
|
463
|
+
company?: string;
|
|
464
|
+
/** Manager */
|
|
465
|
+
manager?: string;
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* CSV-specific options
|
|
469
|
+
*/
|
|
470
|
+
export interface CSVOptions {
|
|
471
|
+
/** Field delimiter (default: ',') */
|
|
472
|
+
delimiter?: string;
|
|
473
|
+
/** Line terminator (default: '\r\n') */
|
|
474
|
+
lineTerminator?: string;
|
|
475
|
+
/** Quote character (default: '"') */
|
|
476
|
+
quoteChar?: string;
|
|
477
|
+
/** Always quote fields */
|
|
478
|
+
alwaysQuote?: boolean;
|
|
479
|
+
/** Escape character for quotes within fields */
|
|
480
|
+
escapeChar?: string;
|
|
481
|
+
/** Include BOM for UTF-8 */
|
|
482
|
+
includeBOM?: boolean;
|
|
483
|
+
/** Encoding (default: 'utf-8') */
|
|
484
|
+
encoding?: 'utf-8' | 'utf-16le' | 'utf-16be' | 'ascii' | 'latin1';
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* JSON-specific options
|
|
488
|
+
*/
|
|
489
|
+
export interface JSONOptions {
|
|
490
|
+
/** Pretty print with indentation */
|
|
491
|
+
pretty?: boolean;
|
|
492
|
+
/** Indentation size (default: 2) */
|
|
493
|
+
indent?: number;
|
|
494
|
+
/** Include metadata wrapper */
|
|
495
|
+
includeMetadata?: boolean;
|
|
496
|
+
/** Custom replacer function for JSON.stringify */
|
|
497
|
+
replacer?: (key: string, value: unknown) => unknown;
|
|
498
|
+
/** Date format for serialization */
|
|
499
|
+
dateFormat?: 'iso' | 'timestamp' | 'locale';
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* Main export options
|
|
503
|
+
*/
|
|
504
|
+
export interface ExportOptions {
|
|
505
|
+
/** Export format */
|
|
506
|
+
format: ExportFormat;
|
|
507
|
+
/** Columns to export (if not provided, derives from data) */
|
|
508
|
+
columns?: ExportColumn[];
|
|
509
|
+
/** Include column headers in output */
|
|
510
|
+
includeHeaders?: boolean;
|
|
511
|
+
/** Row sampling options */
|
|
512
|
+
sampling?: SamplingOptions;
|
|
513
|
+
/** File name (without extension) */
|
|
514
|
+
fileName?: string;
|
|
515
|
+
/** Sheet name (Excel only, for single-sheet export) */
|
|
516
|
+
sheetName?: string;
|
|
517
|
+
/** Styling options (Excel only, for single-sheet export) */
|
|
518
|
+
styling?: ExportStyleOptions;
|
|
519
|
+
/** Workbook metadata */
|
|
520
|
+
metadata?: WorkbookMetadata;
|
|
521
|
+
/** @deprecated Use metadata.author instead */
|
|
522
|
+
author?: string;
|
|
523
|
+
/** @deprecated Use metadata.title instead */
|
|
524
|
+
title?: string;
|
|
525
|
+
/** Multiple sheet definitions (Excel only) */
|
|
526
|
+
sheets?: SheetDefinition[];
|
|
527
|
+
/** Default date format for all sheets */
|
|
528
|
+
defaultDateFormat?: string;
|
|
529
|
+
/** Default number format for all sheets */
|
|
530
|
+
defaultNumberFormat?: string;
|
|
531
|
+
/** Calculate formulas on save */
|
|
532
|
+
calcOnSave?: boolean;
|
|
533
|
+
/** CSV-specific options */
|
|
534
|
+
csv?: CSVOptions;
|
|
535
|
+
/** JSON-specific options */
|
|
536
|
+
json?: JSONOptions;
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* Result of an export operation
|
|
540
|
+
*/
|
|
541
|
+
export interface ExportResult {
|
|
542
|
+
/** Whether the export succeeded */
|
|
543
|
+
success: boolean;
|
|
544
|
+
/** The exported data as a buffer/blob */
|
|
545
|
+
data?: Uint8Array;
|
|
546
|
+
/** MIME type of the exported data */
|
|
547
|
+
mimeType?: string;
|
|
548
|
+
/** Suggested file name with extension */
|
|
549
|
+
fileName?: string;
|
|
550
|
+
/** Number of rows exported (total across all sheets) */
|
|
551
|
+
rowCount?: number;
|
|
552
|
+
/** Number of columns exported */
|
|
553
|
+
columnCount?: number;
|
|
554
|
+
/** Number of sheets (Excel only) */
|
|
555
|
+
sheetCount?: number;
|
|
556
|
+
/** Per-sheet statistics */
|
|
557
|
+
sheetStats?: Array<{
|
|
558
|
+
name: string;
|
|
559
|
+
rowCount: number;
|
|
560
|
+
columnCount: number;
|
|
561
|
+
}>;
|
|
562
|
+
/** File size in bytes */
|
|
563
|
+
sizeBytes?: number;
|
|
564
|
+
/** Error message if failed */
|
|
565
|
+
error?: string;
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* Default export options
|
|
569
|
+
*/
|
|
570
|
+
export declare const DEFAULT_EXPORT_OPTIONS: Partial<ExportOptions>;
|
|
571
|
+
/**
|
|
572
|
+
* Common cell styles for convenience
|
|
573
|
+
*/
|
|
574
|
+
export declare const CommonStyles: {
|
|
575
|
+
/** Bold text */
|
|
576
|
+
bold: CellStyle;
|
|
577
|
+
/** Italic text */
|
|
578
|
+
italic: CellStyle;
|
|
579
|
+
/** Red text */
|
|
580
|
+
redText: CellStyle;
|
|
581
|
+
/** Green text */
|
|
582
|
+
greenText: CellStyle;
|
|
583
|
+
/** Blue text */
|
|
584
|
+
blueText: CellStyle;
|
|
585
|
+
/** Yellow highlight */
|
|
586
|
+
yellowHighlight: CellStyle;
|
|
587
|
+
/** Light gray background */
|
|
588
|
+
lightGrayBg: CellStyle;
|
|
589
|
+
/** Centered text */
|
|
590
|
+
centered: CellStyle;
|
|
591
|
+
/** Right-aligned text */
|
|
592
|
+
rightAligned: CellStyle;
|
|
593
|
+
/** Wrapped text */
|
|
594
|
+
wrapped: CellStyle;
|
|
595
|
+
/** Currency format */
|
|
596
|
+
currency: CellStyle;
|
|
597
|
+
/** Percentage format */
|
|
598
|
+
percentage: CellStyle;
|
|
599
|
+
/** Date format */
|
|
600
|
+
date: CellStyle;
|
|
601
|
+
/** DateTime format */
|
|
602
|
+
dateTime: CellStyle;
|
|
603
|
+
/** Thin border all around */
|
|
604
|
+
thinBorder: CellStyle;
|
|
605
|
+
/** Header style (bold, centered, with background) */
|
|
606
|
+
header: CellStyle;
|
|
607
|
+
};
|
|
608
|
+
/**
|
|
609
|
+
* Helper function to merge cell styles
|
|
610
|
+
*/
|
|
611
|
+
export declare function mergeCellStyles(...styles: (CellStyle | undefined)[]): CellStyle;
|
|
612
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,EAAE,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,aAAa,EAAE,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,CAAC;AAElG;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3F;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,M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