@niicojs/excel 0.2.7 → 0.3.1
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 +585 -352
- package/dist/index.cjs +1800 -488
- package/dist/index.d.cts +364 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +364 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1800 -489
- package/package.json +1 -1
- package/src/index.ts +45 -37
- package/src/pivot-cache.ts +300 -291
- package/src/pivot-table.ts +684 -586
- package/src/range.ts +154 -141
- package/src/shared-strings.ts +178 -129
- package/src/styles.ts +819 -648
- package/src/table.ts +386 -0
- package/src/types.ts +314 -238
- package/src/utils/address.ts +121 -118
- package/src/utils/xml.ts +140 -147
- package/src/workbook.ts +1390 -1005
- package/src/worksheet.ts +889 -422
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,37 +1,45 @@
|
|
|
1
|
-
// Main exports
|
|
2
|
-
export { Workbook } from './workbook';
|
|
3
|
-
export { Worksheet } from './worksheet';
|
|
4
|
-
export { Cell } from './cell';
|
|
5
|
-
export { Range } from './range';
|
|
6
|
-
export { SharedStrings } from './shared-strings';
|
|
7
|
-
export { Styles } from './styles';
|
|
8
|
-
export { PivotTable } from './pivot-table';
|
|
9
|
-
export { PivotCache } from './pivot-cache';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
// Main exports
|
|
2
|
+
export { Workbook } from './workbook';
|
|
3
|
+
export { Worksheet } from './worksheet';
|
|
4
|
+
export { Cell } from './cell';
|
|
5
|
+
export { Range } from './range';
|
|
6
|
+
export { SharedStrings } from './shared-strings';
|
|
7
|
+
export { Styles } from './styles';
|
|
8
|
+
export { PivotTable } from './pivot-table';
|
|
9
|
+
export { PivotCache } from './pivot-cache';
|
|
10
|
+
export { Table } from './table';
|
|
11
|
+
export { parseAddress, toAddress, parseRange, toRange } from './utils/address';
|
|
12
|
+
|
|
13
|
+
// Type exports
|
|
14
|
+
export type {
|
|
15
|
+
CellValue,
|
|
16
|
+
CellType,
|
|
17
|
+
CellStyle,
|
|
18
|
+
CellError,
|
|
19
|
+
ErrorType,
|
|
20
|
+
CellAddress,
|
|
21
|
+
RangeAddress,
|
|
22
|
+
BorderStyle,
|
|
23
|
+
BorderType,
|
|
24
|
+
Alignment,
|
|
25
|
+
DateHandling,
|
|
26
|
+
// Pivot table types
|
|
27
|
+
PivotTableConfig,
|
|
28
|
+
PivotValueConfig,
|
|
29
|
+
AggregationType,
|
|
30
|
+
PivotFieldAxis,
|
|
31
|
+
PivotSortOrder,
|
|
32
|
+
PivotFieldFilter,
|
|
33
|
+
// Table types
|
|
34
|
+
TableConfig,
|
|
35
|
+
TableStyleConfig,
|
|
36
|
+
TableTotalFunction,
|
|
37
|
+
// Sheet from data types
|
|
38
|
+
SheetFromDataConfig,
|
|
39
|
+
ColumnConfig,
|
|
40
|
+
RichCellValue,
|
|
41
|
+
// Sheet to JSON types
|
|
42
|
+
SheetToJsonConfig,
|
|
43
|
+
} from './types';
|
|
44
|
+
|
|
45
|
+
// Utility exports
|