@cj-tech-master/excelts 3.1.0-canary.20260102043356.6791d4e → 3.1.0-canary.20260102054456.77dafd9
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/browser/excelts.esm.js +7 -7
- package/dist/browser/excelts.esm.js.map +1 -1
- package/dist/browser/excelts.esm.min.js +3 -3
- package/dist/browser/excelts.iife.js +7 -7
- package/dist/browser/excelts.iife.js.map +1 -1
- package/dist/browser/excelts.iife.min.js +3 -3
- package/dist/cjs/modules/excel/utils/stream-buf.js +0 -1
- package/dist/cjs/modules/stream/streams.browser.js +9 -2
- package/dist/esm/index.browser.js +3 -8
- package/dist/esm/modules/excel/utils/stream-buf.js +0 -1
- package/dist/esm/modules/stream/streams.browser.js +9 -2
- package/dist/types/index.browser.d.ts +20 -20
- package/dist/types/index.d.ts +23 -23
- package/dist/types/modules/archive/compress.browser.d.ts +1 -1
- package/dist/types/modules/archive/compress.d.ts +2 -2
- package/dist/types/modules/archive/crc32.browser.d.ts +1 -1
- package/dist/types/modules/archive/crc32.d.ts +1 -1
- package/dist/types/modules/archive/defaults.d.ts +1 -1
- package/dist/types/modules/archive/extract.d.ts +2 -2
- package/dist/types/modules/archive/index.base.d.ts +4 -4
- package/dist/types/modules/archive/index.browser.d.ts +5 -5
- package/dist/types/modules/archive/index.d.ts +5 -5
- package/dist/types/modules/archive/parse.base.d.ts +3 -3
- package/dist/types/modules/archive/parse.browser.d.ts +2 -2
- package/dist/types/modules/archive/parse.d.ts +3 -3
- package/dist/types/modules/archive/streaming-compress.browser.d.ts +2 -2
- package/dist/types/modules/archive/streaming-compress.d.ts +2 -2
- package/dist/types/modules/archive/streaming-zip.d.ts +2 -2
- package/dist/types/modules/archive/zip-builder.d.ts +2 -2
- package/dist/types/modules/archive/zip-entry-metadata.d.ts +1 -1
- package/dist/types/modules/archive/zip-parser.d.ts +1 -1
- package/dist/types/modules/csv/csv-stream.d.ts +3 -3
- package/dist/types/modules/csv/csv.browser.d.ts +9 -9
- package/dist/types/modules/csv/csv.d.ts +4 -4
- package/dist/types/modules/excel/anchor.d.ts +1 -1
- package/dist/types/modules/excel/cell.d.ts +7 -7
- package/dist/types/modules/excel/column.d.ts +3 -3
- package/dist/types/modules/excel/defined-names.d.ts +4 -4
- package/dist/types/modules/excel/image.d.ts +2 -2
- package/dist/types/modules/excel/pivot-table.d.ts +1 -1
- package/dist/types/modules/excel/range.d.ts +1 -1
- package/dist/types/modules/excel/row.d.ts +3 -3
- package/dist/types/modules/excel/stream/hyperlink-reader.d.ts +2 -2
- package/dist/types/modules/excel/stream/workbook-reader.browser.d.ts +6 -6
- package/dist/types/modules/excel/stream/workbook-reader.d.ts +5 -5
- package/dist/types/modules/excel/stream/workbook-writer.browser.d.ts +8 -8
- package/dist/types/modules/excel/stream/workbook-writer.d.ts +2 -2
- package/dist/types/modules/excel/stream/worksheet-reader.d.ts +6 -6
- package/dist/types/modules/excel/stream/worksheet-writer.d.ts +9 -9
- package/dist/types/modules/excel/table.d.ts +2 -2
- package/dist/types/modules/excel/utils/col-cache.d.ts +1 -1
- package/dist/types/modules/excel/utils/sheet-utils.d.ts +3 -3
- package/dist/types/modules/excel/utils/stream-buf.d.ts +2 -2
- package/dist/types/modules/excel/workbook.d.ts +9 -9
- package/dist/types/modules/excel/worksheet.d.ts +10 -10
- package/dist/types/modules/excel/xlsx/xform/base-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/book/defined-name-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/book/sheet-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/book/workbook-calc-properties-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/book/workbook-pivot-cache-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/book/workbook-properties-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/book/workbook-view-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/book/workbook-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/comment/comment-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/comment/comments-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/comment/style/vml-position-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/comment/style/vml-protection-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/comment/vml-anchor-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/comment/vml-client-data-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/comment/vml-notes-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/comment/vml-shape-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/comment/vml-textbox-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/composite-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/core/app-heading-pairs-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/core/app-titles-of-parts-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/core/app-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/core/content-types-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/core/core-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/core/relationship-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/core/relationships-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/base-cell-anchor-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/blip-fill-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/drawing/blip-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/c-nv-pic-pr-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/c-nv-pr-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/cell-position-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/drawing/drawing-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/ext-lst-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/ext-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/hlink-click-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/nv-pic-pr-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/one-cell-anchor-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/pic-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/drawing/two-cell-anchor-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/list-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/pivot-table/cache-field-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/pivot-table/pivot-cache-definition-xform.d.ts +3 -3
- package/dist/types/modules/excel/xlsx/xform/pivot-table/pivot-cache-records-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/pivot-table/pivot-table-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/auto-filter-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/cell-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/cf/cf-rule-xform.d.ts +6 -6
- package/dist/types/modules/excel/xlsx/xform/sheet/cf/cfvo-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/cf/color-scale-xform.d.ts +3 -3
- package/dist/types/modules/excel/xlsx/xform/sheet/cf/conditional-formatting-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/cf/conditional-formattings-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/sheet/cf/databar-xform.d.ts +3 -3
- package/dist/types/modules/excel/xlsx/xform/sheet/cf/ext-lst-ref-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/cf/formula-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/cf/icon-set-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/sheet/cf-ext/cf-icon-ext-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/cf-ext/cf-rule-ext-xform.d.ts +3 -3
- package/dist/types/modules/excel/xlsx/xform/sheet/cf-ext/cfvo-ext-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/sheet/cf-ext/conditional-formatting-ext-xform.d.ts +3 -3
- package/dist/types/modules/excel/xlsx/xform/sheet/cf-ext/conditional-formattings-ext-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/sheet/cf-ext/databar-ext-xform.d.ts +3 -3
- package/dist/types/modules/excel/xlsx/xform/sheet/cf-ext/f-ext-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/cf-ext/icon-set-ext-xform.d.ts +3 -3
- package/dist/types/modules/excel/xlsx/xform/sheet/cf-ext/sqref-ext-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/col-breaks-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/col-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/data-validations-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/dimension-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/drawing-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/ext-lst-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/header-footer-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/hyperlink-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/merge-cell-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/outline-properties-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/page-breaks-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/page-margins-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/page-setup-properties-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/page-setup-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/picture-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/print-options-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/row-breaks-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/row-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/sheet-format-properties-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/sheet-properties-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/sheet-protection-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/sheet-view-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/table-part-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/sheet/worksheet-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/simple/boolean-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/simple/date-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/simple/float-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/simple/integer-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/simple/string-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/static-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/strings/phonetic-text-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/strings/rich-text-xform.d.ts +3 -3
- package/dist/types/modules/excel/xlsx/xform/strings/shared-string-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/strings/shared-strings-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/strings/text-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/style/alignment-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/style/border-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/style/color-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/style/dxf-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/style/fill-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/style/font-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/style/numfmt-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/style/protection-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/style/style-xform.d.ts +3 -3
- package/dist/types/modules/excel/xlsx/xform/style/styles-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/style/underline-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/table/auto-filter-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/table/custom-filter-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/table/filter-column-xform.d.ts +2 -2
- package/dist/types/modules/excel/xlsx/xform/table/filter-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/table/table-column-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/table/table-style-info-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xform/table/table-xform.d.ts +1 -1
- package/dist/types/modules/excel/xlsx/xlsx.browser.d.ts +3 -3
- package/dist/types/modules/excel/xlsx/xlsx.d.ts +1 -1
- package/dist/types/modules/stream/base-transform.d.ts +1 -1
- package/dist/types/modules/stream/buffered-stream.d.ts +1 -1
- package/dist/types/modules/stream/index.browser.d.ts +8 -8
- package/dist/types/modules/stream/index.d.ts +8 -8
- package/dist/types/modules/stream/pull-stream.d.ts +1 -1
- package/dist/types/modules/stream/streams.browser.d.ts +4 -4
- package/dist/types/modules/stream/streams.d.ts +3 -3
- package/dist/types/modules/stream/utils.d.ts +1 -1
- package/dist/types/utils/utils.browser.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extends base with file path support and temp file storage for large files.
|
|
5
5
|
*/
|
|
6
|
-
import type { Readable } from "
|
|
7
|
-
import { WorksheetReader } from "
|
|
8
|
-
import { HyperlinkReader } from "
|
|
9
|
-
import { WorkbookReaderBase, type CommonInput, type WorkbookReaderOptions, type WorksheetReadyEvent, WorkbookReaderOptionsSchema } from "
|
|
10
|
-
export type { WorkbookReaderOptions, InternalWorksheetOptions, SharedStringRichText, SharedStringValue, WorkbookRelationship, SheetMetadata, WorkbookModel, WorkbookPropertiesXform, ParseEventType, SharedStringEvent, WorksheetReadyEvent, HyperlinksEvent, ParseEvent } from "
|
|
6
|
+
import type { Readable } from "../../stream/index.d.ts";
|
|
7
|
+
import { WorksheetReader } from "./worksheet-reader.d.ts";
|
|
8
|
+
import { HyperlinkReader } from "./hyperlink-reader.d.ts";
|
|
9
|
+
import { WorkbookReaderBase, type CommonInput, type WorkbookReaderOptions, type WorksheetReadyEvent, WorkbookReaderOptionsSchema } from "./workbook-reader.browser.d.ts";
|
|
10
|
+
export type { WorkbookReaderOptions, InternalWorksheetOptions, SharedStringRichText, SharedStringValue, WorkbookRelationship, SheetMetadata, WorkbookModel, WorkbookPropertiesXform, ParseEventType, SharedStringEvent, WorksheetReadyEvent, HyperlinksEvent, ParseEvent } from "./workbook-reader.browser.d.ts";
|
|
11
11
|
export type NodeInput = string | CommonInput;
|
|
12
12
|
interface WaitingWorksheet {
|
|
13
13
|
sheetNo: string;
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
* Node.js uses `workbook-writer.ts`, which extends the same base implementation
|
|
8
8
|
* with filesystem-specific features (filename output + image loading).
|
|
9
9
|
*/
|
|
10
|
-
import { Zip } from "
|
|
11
|
-
import { StreamBuf } from "
|
|
12
|
-
import { StylesXform } from "
|
|
13
|
-
import { SharedStrings } from "
|
|
14
|
-
import { DefinedNames } from "
|
|
15
|
-
import type { Writable } from "
|
|
16
|
-
import type { Image, WorkbookView, AddWorksheetOptions } from "
|
|
17
|
-
import { WorksheetWriter } from "
|
|
10
|
+
import { Zip } from "../../archive/streaming-zip.d.ts";
|
|
11
|
+
import { StreamBuf } from "../utils/stream-buf.d.ts";
|
|
12
|
+
import { StylesXform } from "../xlsx/xform/style/styles-xform.d.ts";
|
|
13
|
+
import { SharedStrings } from "../utils/shared-strings.d.ts";
|
|
14
|
+
import { DefinedNames } from "../defined-names.d.ts";
|
|
15
|
+
import type { Writable } from "../../stream/index.d.ts";
|
|
16
|
+
import type { Image, WorkbookView, AddWorksheetOptions } from "../types.d.ts";
|
|
17
|
+
import { WorksheetWriter } from "./worksheet-writer.d.ts";
|
|
18
18
|
interface Medium extends Image {
|
|
19
19
|
type: "image";
|
|
20
20
|
name: string;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extends base with file path support and file system image loading.
|
|
5
5
|
*/
|
|
6
|
-
import { WorksheetWriter } from "
|
|
7
|
-
import { WorkbookWriterBase, type WorkbookWriterOptions as BaseOptions, type ZipOptions, type ZlibOptions } from "
|
|
6
|
+
import { WorksheetWriter } from "./worksheet-writer.d.ts";
|
|
7
|
+
import { WorkbookWriterBase, type WorkbookWriterOptions as BaseOptions, type ZipOptions, type ZlibOptions } from "./workbook-writer.browser.d.ts";
|
|
8
8
|
export type { ZipOptions, ZlibOptions };
|
|
9
9
|
export interface WorkbookWriterOptions extends BaseOptions {
|
|
10
10
|
/** If stream not specified, this field specifies the path to a file to write the XLSX workbook to */
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Works in both Node.js and Browser.
|
|
5
5
|
*/
|
|
6
|
-
import { EventEmitter } from "
|
|
7
|
-
import { Dimensions } from "
|
|
8
|
-
import { Row } from "
|
|
9
|
-
import { Column } from "
|
|
10
|
-
import type { InternalWorksheetOptions } from "
|
|
11
|
-
import type { WorksheetState } from "
|
|
6
|
+
import { EventEmitter } from "../../stream/index.d.ts";
|
|
7
|
+
import { Dimensions } from "../range.d.ts";
|
|
8
|
+
import { Row } from "../row.d.ts";
|
|
9
|
+
import { Column } from "../column.d.ts";
|
|
10
|
+
import type { InternalWorksheetOptions } from "./workbook-reader.browser.d.ts";
|
|
11
|
+
import type { WorksheetState } from "../types.d.ts";
|
|
12
12
|
/** Hyperlink reference from worksheet XML */
|
|
13
13
|
export interface WorksheetHyperlink {
|
|
14
14
|
ref: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Dimensions } from "
|
|
2
|
-
import { StringBuf } from "
|
|
3
|
-
import { Row } from "
|
|
4
|
-
import { Column } from "
|
|
5
|
-
import { SheetRelsWriter } from "
|
|
6
|
-
import { SheetCommentsWriter } from "
|
|
7
|
-
import { DataValidations } from "
|
|
8
|
-
import type { StreamBuf } from "
|
|
9
|
-
import type { RowBreak, ColBreak, PageSetup, HeaderFooter, WorksheetProperties, WorksheetView, WorksheetState, AutoFilter, WorksheetProtection, ConditionalFormattingOptions } from "
|
|
1
|
+
import { Dimensions } from "../range.d.ts";
|
|
2
|
+
import { StringBuf } from "../utils/string-buf.d.ts";
|
|
3
|
+
import { Row } from "../row.d.ts";
|
|
4
|
+
import { Column } from "../column.d.ts";
|
|
5
|
+
import { SheetRelsWriter } from "./sheet-rels-writer.d.ts";
|
|
6
|
+
import { SheetCommentsWriter } from "./sheet-comments-writer.d.ts";
|
|
7
|
+
import { DataValidations } from "../data-validations.d.ts";
|
|
8
|
+
import type { StreamBuf } from "../utils/stream-buf.d.ts";
|
|
9
|
+
import type { RowBreak, ColBreak, PageSetup, HeaderFooter, WorksheetProperties, WorksheetView, WorksheetState, AutoFilter, WorksheetProtection, ConditionalFormattingOptions } from "../types.d.ts";
|
|
10
10
|
interface WorksheetWriterOptions {
|
|
11
11
|
id: number;
|
|
12
12
|
name?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Address, CellFormulaValue, CellValue, Style, TableColumnProperties, TableStyleProperties } from "
|
|
2
|
-
import type { Worksheet } from "
|
|
1
|
+
import type { Address, CellFormulaValue, CellValue, Style, TableColumnProperties, TableStyleProperties } from "./types.d.ts";
|
|
2
|
+
import type { Worksheet } from "./worksheet.d.ts";
|
|
3
3
|
interface TableModel {
|
|
4
4
|
ref: string;
|
|
5
5
|
name: string;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Utility functions for ExcelTS
|
|
3
3
|
* Provides convenient helper functions for common spreadsheet operations
|
|
4
4
|
*/
|
|
5
|
-
import { Workbook } from "
|
|
6
|
-
import type { Worksheet } from "
|
|
7
|
-
import type { CellValue } from "
|
|
5
|
+
import { Workbook } from "../workbook.d.ts";
|
|
6
|
+
import type { Worksheet } from "../worksheet.d.ts";
|
|
7
|
+
import type { CellValue } from "../types.d.ts";
|
|
8
8
|
/**
|
|
9
9
|
* Cell address object (0-indexed)
|
|
10
10
|
*/
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* - As StreamHub: pipe to multiple writable streams
|
|
10
10
|
* - As readable stream: feed data into writable part and read from it
|
|
11
11
|
*/
|
|
12
|
-
import { EventEmitter } from "
|
|
13
|
-
import { StringBuf } from "
|
|
12
|
+
import { EventEmitter } from "../../stream/index.d.ts";
|
|
13
|
+
import { StringBuf } from "./string-buf.d.ts";
|
|
14
14
|
type TextEncoding = "utf-8" | "utf8" | BufferEncoding;
|
|
15
15
|
interface StreamBufOptions {
|
|
16
16
|
bufSize?: number;
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
* Note: Browser build uses rolldown aliases to swap in browser-specific
|
|
10
10
|
* implementations for xlsx, csv, and stream modules.
|
|
11
11
|
*/
|
|
12
|
-
import { Worksheet, type WorksheetModel } from "
|
|
13
|
-
import { DefinedNames, type DefinedNameModel } from "
|
|
14
|
-
import { XLSX } from "
|
|
15
|
-
import { CSV } from "
|
|
16
|
-
import { WorkbookWriter, type WorkbookWriterOptions } from "
|
|
17
|
-
import { WorkbookReader, type WorkbookReaderOptions } from "
|
|
18
|
-
import type { Readable } from "
|
|
19
|
-
import type { PivotTable } from "
|
|
20
|
-
import type { AddWorksheetOptions, CalculationProperties, Image, WorkbookProperties, WorkbookView, Buffer as ExcelBuffer } from "
|
|
12
|
+
import { Worksheet, type WorksheetModel } from "./worksheet.d.ts";
|
|
13
|
+
import { DefinedNames, type DefinedNameModel } from "./defined-names.d.ts";
|
|
14
|
+
import { XLSX } from "./xlsx/xlsx.d.ts";
|
|
15
|
+
import { CSV } from "../csv/csv.d.ts";
|
|
16
|
+
import { WorkbookWriter, type WorkbookWriterOptions } from "./stream/workbook-writer.d.ts";
|
|
17
|
+
import { WorkbookReader, type WorkbookReaderOptions } from "./stream/workbook-reader.d.ts";
|
|
18
|
+
import type { Readable } from "../stream/index.d.ts";
|
|
19
|
+
import type { PivotTable } from "./pivot-table.d.ts";
|
|
20
|
+
import type { AddWorksheetOptions, CalculationProperties, Image, WorkbookProperties, WorkbookView, Buffer as ExcelBuffer } from "./types.d.ts";
|
|
21
21
|
/** Internal media type - more flexible than public Media type */
|
|
22
22
|
export interface WorkbookMedia {
|
|
23
23
|
type: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Range, type RangeInput } from "
|
|
2
|
-
import { Row, type RowModel } from "
|
|
3
|
-
import { Column, type ColumnModel, type ColumnDefn } from "
|
|
4
|
-
import type { Cell, FormulaResult } from "
|
|
5
|
-
import { Image, type ImageModel } from "
|
|
6
|
-
import { Table, type TableModel } from "
|
|
7
|
-
import { DataValidations } from "
|
|
8
|
-
import { type PivotTable, type PivotTableModel } from "
|
|
9
|
-
import type { Workbook } from "
|
|
10
|
-
import type { AddImageRange, AutoFilter, CellValue, ColBreak, ConditionalFormattingOptions, DataValidation, RowBreak, RowValues, TableProperties, WorksheetProperties, WorksheetView } from "
|
|
1
|
+
import { Range, type RangeInput } from "./range.d.ts";
|
|
2
|
+
import { Row, type RowModel } from "./row.d.ts";
|
|
3
|
+
import { Column, type ColumnModel, type ColumnDefn } from "./column.d.ts";
|
|
4
|
+
import type { Cell, FormulaResult } from "./cell.d.ts";
|
|
5
|
+
import { Image, type ImageModel } from "./image.d.ts";
|
|
6
|
+
import { Table, type TableModel } from "./table.d.ts";
|
|
7
|
+
import { DataValidations } from "./data-validations.d.ts";
|
|
8
|
+
import { type PivotTable, type PivotTableModel } from "./pivot-table.d.ts";
|
|
9
|
+
import type { Workbook } from "./workbook.d.ts";
|
|
10
|
+
import type { AddImageRange, AutoFilter, CellValue, ColBreak, ConditionalFormattingOptions, DataValidation, RowBreak, RowValues, TableProperties, WorksheetProperties, WorksheetView } from "./types.d.ts";
|
|
11
11
|
type DataValidationModel = {
|
|
12
12
|
[address: string]: DataValidation | undefined;
|
|
13
13
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseXform } from "
|
|
2
|
-
import { StaticXform } from "
|
|
1
|
+
import { BaseXform } from "../base-xform.d.ts";
|
|
2
|
+
import { StaticXform } from "../static-xform.d.ts";
|
|
3
3
|
declare class WorkbookXform extends BaseXform {
|
|
4
4
|
parser: any;
|
|
5
5
|
constructor();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RichTextXform } from "
|
|
2
|
-
import { BaseXform } from "
|
|
1
|
+
import { RichTextXform } from "../strings/rich-text-xform.d.ts";
|
|
2
|
+
import { BaseXform } from "../base-xform.d.ts";
|
|
3
3
|
interface NoteText {
|
|
4
4
|
font?: any;
|
|
5
5
|
text: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseXform } from "
|
|
2
|
-
import { CommentXform } from "
|
|
1
|
+
import { BaseXform } from "../base-xform.d.ts";
|
|
2
|
+
import { CommentXform } from "./comment-xform.d.ts";
|
|
3
3
|
interface CommentsModel {
|
|
4
4
|
comments: any[];
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseXform } from "
|
|
2
|
-
import { BlipXform } from "
|
|
1
|
+
import { BaseXform } from "../base-xform.d.ts";
|
|
2
|
+
import { BlipXform } from "./blip-xform.d.ts";
|
|
3
3
|
declare class BlipFillXform extends BaseXform {
|
|
4
4
|
map: {
|
|
5
5
|
[key: string]: BlipXform;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseXform } from "
|
|
2
|
-
import { IntegerXform } from "
|
|
1
|
+
import { BaseXform } from "../base-xform.d.ts";
|
|
2
|
+
import { IntegerXform } from "../simple/integer-xform.d.ts";
|
|
3
3
|
interface PositionModel {
|
|
4
4
|
nativeCol: number;
|
|
5
5
|
nativeColOff: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseXform } from "
|
|
2
|
-
import { type CacheFieldModel } from "
|
|
3
|
-
import type { PivotTableSource } from "
|
|
1
|
+
import { BaseXform } from "../base-xform.d.ts";
|
|
2
|
+
import { type CacheFieldModel } from "./cache-field-xform.d.ts";
|
|
3
|
+
import type { PivotTableSource } from "../../../pivot-table.d.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Model for parsed pivot cache definition
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseXform } from "
|
|
2
|
-
import type { PivotTableSource } from "
|
|
1
|
+
import { BaseXform } from "../base-xform.d.ts";
|
|
2
|
+
import type { PivotTableSource } from "../../../pivot-table.d.ts";
|
|
3
3
|
/**
|
|
4
4
|
* Model for generating pivot cache records (with live source)
|
|
5
5
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CompositeXform } from "
|
|
2
|
-
import { DatabarXform } from "
|
|
3
|
-
import { ExtLstRefXform } from "
|
|
4
|
-
import { FormulaXform } from "
|
|
5
|
-
import { ColorScaleXform } from "
|
|
6
|
-
import { IconSetXform } from "
|
|
1
|
+
import { CompositeXform } from "../../composite-xform.d.ts";
|
|
2
|
+
import { DatabarXform } from "./databar-xform.d.ts";
|
|
3
|
+
import { ExtLstRefXform } from "./ext-lst-ref-xform.d.ts";
|
|
4
|
+
import { FormulaXform } from "./formula-xform.d.ts";
|
|
5
|
+
import { ColorScaleXform } from "./color-scale-xform.d.ts";
|
|
6
|
+
import { IconSetXform } from "./icon-set-xform.d.ts";
|
|
7
7
|
declare class CfRuleXform extends CompositeXform {
|
|
8
8
|
databarXform: DatabarXform;
|
|
9
9
|
extLstRefXform: ExtLstRefXform;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CompositeXform } from "
|
|
2
|
-
import { ColorXform } from "
|
|
3
|
-
import { CfvoXform } from "
|
|
1
|
+
import { CompositeXform } from "../../composite-xform.d.ts";
|
|
2
|
+
import { ColorXform } from "../../style/color-xform.d.ts";
|
|
3
|
+
import { CfvoXform } from "./cfvo-xform.d.ts";
|
|
4
4
|
declare class ColorScaleXform extends CompositeXform {
|
|
5
5
|
cfvoXform: CfvoXform;
|
|
6
6
|
colorXform: ColorXform;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseXform } from "
|
|
2
|
-
import { ConditionalFormattingXform } from "
|
|
1
|
+
import { BaseXform } from "../../base-xform.d.ts";
|
|
2
|
+
import { ConditionalFormattingXform } from "./conditional-formatting-xform.d.ts";
|
|
3
3
|
declare class ConditionalFormattingsXform extends BaseXform {
|
|
4
4
|
cfXform: ConditionalFormattingXform;
|
|
5
5
|
parser: any;
|