xls-codec 4.7.5 → 4.8.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/README.md +7 -2
- package/dist/biff/record-types.cjs +21 -0
- package/dist/biff/record-types.d.cts +15 -1
- package/dist/biff/record-types.d.ts +15 -1
- package/dist/biff/record-types.js +15 -1
- package/dist/biff/substreams.cjs +7 -8
- package/dist/biff/substreams.d.cts +1 -1
- package/dist/biff/substreams.d.ts +1 -1
- package/dist/biff/substreams.js +7 -8
- package/dist/{conditional-format-12-DBhe7Zo6.d.cts → conditional-format-12-CZ43-CR4.d.cts} +2 -2
- package/dist/{conditional-format-12-D-X5g_O3.d.ts → conditional-format-12-Xl52VBCj.d.ts} +2 -2
- package/dist/{conditional-format-Czh2oTzQ.d.cts → conditional-format-Bt1vRWgc.d.cts} +1 -1
- package/dist/{conditional-format-DOdazxWe.d.ts → conditional-format-Cqcjnm7O.d.ts} +1 -1
- package/dist/content.cjs +40 -18
- package/dist/content.js +40 -18
- package/dist/{data-validation-BXvIVU0e.d.ts → data-validation-BeYpL3Nb.d.ts} +1 -1
- package/dist/{data-validation-DfpjUN-N.d.cts → data-validation-lJWM9-AP.d.cts} +1 -1
- package/dist/drawing/blips.cjs +83 -0
- package/dist/drawing/blips.d.cts +10 -0
- package/dist/drawing/blips.d.ts +10 -0
- package/dist/drawing/blips.js +82 -0
- package/dist/drawing/bytes.cjs +15 -0
- package/dist/drawing/bytes.d.cts +5 -0
- package/dist/drawing/bytes.d.ts +5 -0
- package/dist/drawing/bytes.js +14 -0
- package/dist/drawing/escher-constants.cjs +52 -0
- package/dist/drawing/escher-constants.d.cts +34 -0
- package/dist/drawing/escher-constants.d.ts +34 -0
- package/dist/drawing/escher-constants.js +34 -0
- package/dist/drawing/escher.cjs +84 -0
- package/dist/drawing/escher.d.cts +30 -0
- package/dist/drawing/escher.d.ts +30 -0
- package/dist/drawing/escher.js +80 -0
- package/dist/drawing/shapes.cjs +80 -0
- package/dist/drawing/shapes.d.cts +24 -0
- package/dist/drawing/shapes.d.ts +24 -0
- package/dist/drawing/shapes.js +79 -0
- package/dist/index.cjs +10 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/{print-names-CCwUHAoL.d.cts → print-names-B2OR0fvs.d.cts} +1 -1
- package/dist/{print-names-CxAbgcjB.d.ts → print-names-BXcmmwVi.d.ts} +1 -1
- package/dist/{substreams-Dp5cZoUo.d.ts → substreams-CgTHx5kX.d.ts} +1 -1
- package/dist/{substreams-CHv3oWmn.d.cts → substreams-XDNgDvRJ.d.cts} +1 -1
- package/dist/units.cjs +7 -0
- package/dist/units.d.cts +6 -1
- package/dist/units.d.ts +6 -1
- package/dist/units.js +6 -1
- package/dist/workbook/chart.cjs +230 -0
- package/dist/workbook/chart.d.cts +19 -0
- package/dist/workbook/chart.d.ts +19 -0
- package/dist/workbook/chart.js +229 -0
- package/dist/workbook/comments.cjs +2 -1
- package/dist/workbook/comments.d.cts +7 -2
- package/dist/workbook/comments.d.ts +7 -2
- package/dist/workbook/comments.js +2 -2
- package/dist/workbook/conditional-format-12.d.cts +1 -1
- package/dist/workbook/conditional-format-12.d.ts +1 -1
- package/dist/workbook/conditional-format.d.cts +1 -1
- package/dist/workbook/conditional-format.d.ts +1 -1
- package/dist/workbook/data-validation.d.cts +1 -1
- package/dist/workbook/data-validation.d.ts +1 -1
- package/dist/workbook/drawing.cjs +270 -0
- package/dist/workbook/drawing.d.cts +31 -0
- package/dist/workbook/drawing.d.ts +31 -0
- package/dist/workbook/drawing.js +268 -0
- package/dist/workbook/globals-writer.d.cts +1 -1
- package/dist/workbook/globals-writer.d.ts +1 -1
- package/dist/workbook/globals.d.cts +2 -2
- package/dist/workbook/globals.d.ts +2 -2
- package/dist/workbook/print-names.d.cts +1 -1
- package/dist/workbook/print-names.d.ts +1 -1
- package/dist/workbook/sheet-writer.cjs +1 -1
- package/dist/workbook/sheet-writer.js +1 -1
- package/dist/workbook/sheet.d.cts +4 -4
- package/dist/workbook/sheet.d.ts +4 -4
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RECORD_BOF } from "../biff/record-types.js";
|
|
2
2
|
import { pointsToColumnWidth, pointsToInches, pointsToTwips } from "../units.js";
|
|
3
3
|
import { packSetupFlags, paperSelectionFor } from "../biff/print-setup.js";
|
|
4
|
+
import { errorCodeOf } from "../biff/errors.js";
|
|
4
5
|
import { BiffWriteError } from "../biff/write-errors.js";
|
|
5
6
|
import { isoDateTimeToSerial, isoDateToSerial, isoTimeToSerial } from "../serial.js";
|
|
6
7
|
import { RecordBuilder } from "../biff/builder.js";
|
|
7
8
|
import { concatRecords, writeRecord } from "../biff/record-writer.js";
|
|
8
|
-
import { errorCodeOf } from "../biff/errors.js";
|
|
9
9
|
import { writeBofData } from "../biff/bof-writer.js";
|
|
10
10
|
import { GENERAL_CELL_XF_INDEX } from "./globals-writer.js";
|
|
11
11
|
import { cellCarriesFormatting, writesCellRecord } from "../written-cells.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as SetupFields } from "../print-setup-B_ihDvm5.cjs";
|
|
2
2
|
import { r as FormulaSheetContext } from "../ptg-CCBbJLZJ.cjs";
|
|
3
|
-
import { t as RecordGroup } from "../substreams-
|
|
4
|
-
import { n as RawConditionalFormat } from "../conditional-format-
|
|
5
|
-
import { a as RawConditionalFormat12 } from "../conditional-format-12-
|
|
6
|
-
import { t as RawDataValidation } from "../data-validation-
|
|
3
|
+
import { t as RecordGroup } from "../substreams-XDNgDvRJ.cjs";
|
|
4
|
+
import { n as RawConditionalFormat } from "../conditional-format-Bt1vRWgc.cjs";
|
|
5
|
+
import { a as RawConditionalFormat12 } from "../conditional-format-12-CZ43-CR4.cjs";
|
|
6
|
+
import { t as RawDataValidation } from "../data-validation-lJWM9-AP.cjs";
|
|
7
7
|
//#region src/workbook/sheet.d.ts
|
|
8
8
|
/** A cell's value as its own record carries it, before number-format classification decides whether a number is really a date, a percentage, or an amount of money. */
|
|
9
9
|
type RawCellValue = {
|
package/dist/workbook/sheet.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as SetupFields } from "../print-setup-B_ihDvm5.js";
|
|
2
2
|
import { r as FormulaSheetContext } from "../ptg-CCBbJLZJ.js";
|
|
3
|
-
import { t as RecordGroup } from "../substreams-
|
|
4
|
-
import { n as RawConditionalFormat } from "../conditional-format-
|
|
5
|
-
import { a as RawConditionalFormat12 } from "../conditional-format-12-
|
|
6
|
-
import { t as RawDataValidation } from "../data-validation-
|
|
3
|
+
import { t as RecordGroup } from "../substreams-CgTHx5kX.js";
|
|
4
|
+
import { n as RawConditionalFormat } from "../conditional-format-Cqcjnm7O.js";
|
|
5
|
+
import { a as RawConditionalFormat12 } from "../conditional-format-12-Xl52VBCj.js";
|
|
6
|
+
import { t as RawDataValidation } from "../data-validation-BeYpL3Nb.js";
|
|
7
7
|
//#region src/workbook/sheet.d.ts
|
|
8
8
|
/** A cell's value as its own record carries it, before number-format classification decides whether a number is really a date, a percentage, or an amount of money. */
|
|
9
9
|
type RawCellValue = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xls-codec",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "Hand-written reader for the legacy Excel Binary File Format (.xls, BIFF8) as specified by [MS-XLS], mapping a workbook's record stream onto the shared document-schema.js spreadsheet model - the .xls codec for the documents.js family.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
},
|
|
71
71
|
"packageManager": "pnpm@11.6.0",
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"archive-codec": "1.9.
|
|
74
|
-
"document-schema.js": "7.
|
|
73
|
+
"archive-codec": "1.9.2",
|
|
74
|
+
"document-schema.js": "7.5.0",
|
|
75
75
|
"excel-number-format": "1.1.1"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|