@office-kit/xlsx 0.10.0 → 0.11.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 +7 -0
- package/dist/cell/cell.d.ts +1 -1
- package/dist/cell/index.d.ts +4 -4
- package/dist/cell/rich-text.d.ts +1 -1
- package/dist/cell-BucgGwl3.mjs.map +1 -1
- package/dist/cell-style-DuvS_Lsg.mjs.map +1 -1
- package/dist/chart/chart-xml.d.ts +1 -1
- package/dist/chart/chart.d.ts +3 -3
- package/dist/chart/cx/chartex-xml.d.ts +1 -1
- package/dist/chart/cx/chartex.d.ts +2 -2
- package/dist/chart/index.d.ts +6 -6
- package/dist/chart/user-shapes-xml.d.ts +1 -1
- package/dist/chart/user-shapes.d.ts +2 -2
- package/dist/chart.mjs.map +1 -1
- package/dist/chartsheet/chartsheet-xml.d.ts +1 -1
- package/dist/chartsheet/chartsheet.d.ts +4 -4
- package/dist/chartsheet/index.d.ts +2 -2
- package/dist/chartsheet-C3-tqkPy.mjs.map +1 -1
- package/dist/coordinate-96Ecci4d.mjs.map +1 -1
- package/dist/datetime-B2ySVlXt.mjs.map +1 -1
- package/dist/defined-names-CviWmtQg.mjs.map +1 -1
- package/dist/differential-DvKU8fJt.mjs.map +1 -1
- package/dist/drawing/dml/dml-xml.d.ts +8 -8
- package/dist/drawing/dml/effect.d.ts +2 -2
- package/dist/drawing/dml/fill.d.ts +1 -1
- package/dist/drawing/dml/geometry.d.ts +1 -1
- package/dist/drawing/dml/line.d.ts +1 -1
- package/dist/drawing/dml/shape-properties.d.ts +5 -5
- package/dist/drawing/dml/text.d.ts +4 -4
- package/dist/drawing/drawing-xml.d.ts +1 -1
- package/dist/drawing/drawing.d.ts +9 -9
- package/dist/drawing/index.d.ts +14 -14
- package/dist/drawing-BxzLuryn.mjs.map +1 -1
- package/dist/drawing.mjs.map +1 -1
- package/dist/{escape-DFTE7ZJc.mjs → escape-rnWSPpWY.mjs} +4 -6
- package/dist/{escape-DFTE7ZJc.mjs.map → escape-rnWSPpWY.mjs.map} +1 -1
- package/dist/formula/tokenizer.d.ts +1 -1
- package/dist/formula/translate.d.ts +2 -2
- package/dist/io/browser.d.ts +2 -2
- package/dist/io/index.d.ts +7 -7
- package/dist/io/load.d.ts +11 -4
- package/dist/io/node-fs.d.ts +2 -2
- package/dist/io/node-save.d.ts +2 -2
- package/dist/io/node.d.ts +2 -2
- package/dist/io/save.d.ts +2 -2
- package/dist/io.mjs +2 -2
- package/dist/io.mjs.map +1 -1
- package/dist/{load-CnPfhGo3.mjs → load-Bghb1YHY.mjs} +8 -8
- package/dist/load-Bghb1YHY.mjs.map +1 -0
- package/dist/{manifest-Cm9K7D62.mjs → manifest-pLmx7KYh.mjs} +3 -3
- package/dist/manifest-pLmx7KYh.mjs.map +1 -0
- package/dist/node.d.ts +3 -3
- package/dist/node.mjs +1 -1
- package/dist/node.mjs.map +1 -1
- package/dist/packaging/core.d.ts +1 -1
- package/dist/packaging/custom.d.ts +2 -2
- package/dist/packaging/extended.d.ts +2 -2
- package/dist/packaging/index.d.ts +10 -10
- package/dist/packaging.mjs +1 -1
- package/dist/{parser-D3SLaOFe.mjs → parser-By6RWZVW.mjs} +39 -10
- package/dist/parser-By6RWZVW.mjs.map +1 -0
- package/dist/reader-BNaUTVCy.mjs.map +1 -1
- package/dist/{save-2moCT3Af.mjs → save-Bqcf8w3g.mjs} +6 -6
- package/dist/save-Bqcf8w3g.mjs.map +1 -0
- package/dist/schema/core.d.ts +1 -1
- package/dist/schema/index.d.ts +3 -3
- package/dist/schema/serialize.d.ts +2 -2
- package/dist/serialize-BC2Wu3bR.mjs.map +1 -1
- package/dist/{serializer-BtO2TrI7.mjs → serializer-C6nm0mRJ.mjs} +2 -2
- package/dist/serializer-C6nm0mRJ.mjs.map +1 -0
- package/dist/streaming/index.d.ts +2 -2
- package/dist/streaming/read-only.d.ts +6 -4
- package/dist/streaming/write-only.d.ts +7 -7
- package/dist/streaming.mjs +13 -11
- package/dist/streaming.mjs.map +1 -1
- package/dist/styles/alignment.schema.d.ts +2 -2
- package/dist/styles/borders.d.ts +1 -1
- package/dist/styles/borders.schema.d.ts +2 -2
- package/dist/styles/cell-style.d.ts +9 -9
- package/dist/styles/colors.schema.d.ts +2 -2
- package/dist/styles/differential.d.ts +7 -7
- package/dist/styles/fills.d.ts +1 -1
- package/dist/styles/fills.schema.d.ts +2 -2
- package/dist/styles/fonts.d.ts +1 -1
- package/dist/styles/fonts.schema.d.ts +2 -2
- package/dist/styles/index.d.ts +21 -21
- package/dist/styles/named-styles.d.ts +6 -6
- package/dist/styles/numbers.schema.d.ts +2 -2
- package/dist/styles/protection.schema.d.ts +2 -2
- package/dist/styles/stylesheet-reader.d.ts +1 -1
- package/dist/styles/stylesheet-writer.d.ts +1 -1
- package/dist/styles/stylesheet.d.ts +8 -8
- package/dist/{stylesheet-writer-BrOw4jMY.mjs → stylesheet-writer-HxaX7bGy.mjs} +6 -6
- package/dist/stylesheet-writer-HxaX7bGy.mjs.map +1 -0
- package/dist/table-1P8we2gS.mjs.map +1 -1
- package/dist/tree-BX-sRRVp.mjs.map +1 -1
- package/dist/user-shapes-DfmCGKB0.mjs.map +1 -1
- package/dist/utf8-Tn3nzyik.mjs.map +1 -1
- package/dist/utils/escape.d.ts +3 -5
- package/dist/utils/index.d.ts +11 -11
- package/dist/utils.mjs +1 -1
- package/dist/workbook/calc-properties.d.ts +1 -1
- package/dist/workbook/defined-names.d.ts +3 -3
- package/dist/workbook/index.d.ts +24 -24
- package/dist/workbook/protection.d.ts +1 -1
- package/dist/workbook/shared-strings.d.ts +2 -2
- package/dist/workbook/views.d.ts +1 -1
- package/dist/workbook/workbook-properties.d.ts +1 -1
- package/dist/workbook/workbook.d.ts +46 -46
- package/dist/{workbook-CARZS94U.mjs → workbook-BlZVXiyG.mjs} +3 -3
- package/dist/workbook-BlZVXiyG.mjs.map +1 -0
- package/dist/workbook.mjs +1 -1
- package/dist/workbook.mjs.map +1 -1
- package/dist/worksheet/auto-filter.d.ts +1 -1
- package/dist/worksheet/cell-range.d.ts +2 -2
- package/dist/worksheet/comments-xml.d.ts +1 -1
- package/dist/worksheet/conditional-formatting.d.ts +2 -2
- package/dist/worksheet/custom-sheet-views.d.ts +2 -2
- package/dist/worksheet/data-validations.d.ts +2 -2
- package/dist/worksheet/errors.d.ts +1 -1
- package/dist/worksheet/hyperlinks.d.ts +1 -1
- package/dist/worksheet/index.d.ts +46 -46
- package/dist/worksheet/ole-objects.d.ts +1 -1
- package/dist/worksheet/page-setup.d.ts +1 -1
- package/dist/worksheet/properties.d.ts +1 -1
- package/dist/worksheet/protected-ranges.d.ts +1 -1
- package/dist/worksheet/protection.d.ts +1 -1
- package/dist/worksheet/reader.d.ts +9 -9
- package/dist/worksheet/scenarios.d.ts +1 -1
- package/dist/worksheet/table-xml.d.ts +1 -1
- package/dist/worksheet/table.d.ts +3 -3
- package/dist/worksheet/worksheet.d.ts +31 -31
- package/dist/worksheet/writer.d.ts +9 -9
- package/dist/worksheet-C5Ensf_j.mjs.map +1 -1
- package/dist/worksheet.mjs.map +1 -1
- package/dist/writer-IyFccCRJ.mjs.map +1 -1
- package/dist/xml/index.d.ts +10 -10
- package/dist/xml/parser.d.ts +1 -1
- package/dist/xml/serializer.d.ts +1 -1
- package/dist/xml/stream-writer.d.ts +1 -1
- package/dist/xml.mjs +3 -3
- package/dist/xml.mjs.map +1 -1
- package/dist/zip/decompression-guard.d.ts +1 -1
- package/dist/zip/index.d.ts +6 -6
- package/dist/zip/random-access-reader.d.ts +2 -2
- package/dist/zip/reader.d.ts +2 -2
- package/dist/zip/writer.d.ts +1 -1
- package/package.json +4 -1
- package/dist/load-CnPfhGo3.mjs.map +0 -1
- package/dist/manifest-Cm9K7D62.mjs.map +0 -1
- package/dist/parser-D3SLaOFe.mjs.map +0 -1
- package/dist/save-2moCT3Af.mjs.map +0 -1
- package/dist/serializer-BtO2TrI7.mjs.map +0 -1
- package/dist/stylesheet-writer-BrOw4jMY.mjs.map +0 -1
- package/dist/workbook-CARZS94U.mjs.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type Schema } from '../schema/core';
|
|
2
|
-
import type { Color } from './colors';
|
|
1
|
+
import { type Schema } from '../schema/core.js';
|
|
2
|
+
import type { Color } from './colors.js';
|
|
3
3
|
export declare const ColorSchema: Schema<Color>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Alignment } from './alignment';
|
|
2
|
-
import type { Border } from './borders';
|
|
3
|
-
import type { Fill } from './fills';
|
|
4
|
-
import type { Font } from './fonts';
|
|
5
|
-
import type { NumberFormat } from './numbers';
|
|
6
|
-
import type { Protection } from './protection';
|
|
7
|
-
import type { Stylesheet } from './stylesheet';
|
|
1
|
+
import type { Alignment } from './alignment.js';
|
|
2
|
+
import type { Border } from './borders.js';
|
|
3
|
+
import type { Fill } from './fills.js';
|
|
4
|
+
import type { Font } from './fonts.js';
|
|
5
|
+
import type { NumberFormat } from './numbers.js';
|
|
6
|
+
import type { Protection } from './protection.js';
|
|
7
|
+
import type { Stylesheet } from './stylesheet.js';
|
|
8
8
|
/**
|
|
9
9
|
* Differential ("partial") style. Every component is optional; only
|
|
10
10
|
* the set fields override the base style of whatever the DXF is
|
package/dist/styles/fills.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Color } from './colors';
|
|
1
|
+
import { type Color } from './colors.js';
|
|
2
2
|
/** Predefined Excel pattern types. `'none'` lives here too as an explicit value. */
|
|
3
3
|
export type PatternType = 'none' | 'solid' | 'darkDown' | 'darkGray' | 'darkGrid' | 'darkHorizontal' | 'darkTrellis' | 'darkUp' | 'darkVertical' | 'gray0625' | 'gray125' | 'lightDown' | 'lightGray' | 'lightGrid' | 'lightHorizontal' | 'lightTrellis' | 'lightUp' | 'lightVertical' | 'mediumGray';
|
|
4
4
|
export declare const PATTERN_TYPES: ReadonlyArray<PatternType>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type XmlNode } from '../xml/tree';
|
|
2
|
-
import { type Fill } from './fills';
|
|
1
|
+
import { type XmlNode } from '../xml/tree.js';
|
|
2
|
+
import { type Fill } from './fills.js';
|
|
3
3
|
/** Build the `<fill>…</fill>` envelope around either variant. */
|
|
4
4
|
export declare function fillToTree(fill: Fill): XmlNode;
|
|
5
5
|
/** Inverse of {@link fillToTree}. Reads `<fill>` and dispatches on the child tag. */
|
package/dist/styles/fonts.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Color } from './colors';
|
|
1
|
+
import { type Color } from './colors.js';
|
|
2
2
|
/** Underline styles per openpyxl's NestedNoneSet. */
|
|
3
3
|
export type UnderlineStyle = 'single' | 'double' | 'singleAccounting' | 'doubleAccounting';
|
|
4
4
|
export declare const UNDERLINE_STYLES: ReadonlyArray<UnderlineStyle>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type Schema } from '../schema/core';
|
|
2
|
-
import type { Font } from './fonts';
|
|
1
|
+
import { type Schema } from '../schema/core.js';
|
|
2
|
+
import type { Font } from './fonts.js';
|
|
3
3
|
export declare const FontSchema: Schema<Font>;
|
package/dist/styles/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export type { Alignment, HorizontalAlignment, VerticalAlignment } from './alignment';
|
|
2
|
-
export { alignmentToCss, makeAlignment } from './alignment';
|
|
3
|
-
export type { Border, Side, SideStyle } from './borders';
|
|
4
|
-
export { borderToCss, makeBorder, makeSide } from './borders';
|
|
5
|
-
export { alignCellHorizontal, alignCellVertical, applyBuiltinStyle, applyNamedStyle, cellStyleToCss, centerCell, clearCellBackground, clearCellStyle, clearRangeStyle, cloneCellStyle, copyCellStyle, formatAsHeader, indentCell, rotateCellText, setBold, setCellBackgroundColor, setFontColor, setFontName, setFontSize, setItalic, setStrikethrough, setUnderline, wrapCellText, getCellAlignment, getCellBorder, getCellFill, getCellFont, getCellNumberFormat, getCellProtection, setCellAlignment, setCellAsCurrency, setCellAsDate, setCellAsNumber, setCellAsPercent, setCellBorder, setCellBorderAll, setCellFill, setCellFont, setCellNumberFormat, setCellProtection, setCellStyle, setRangeBackgroundColor, setRangeBorderBox, setRangeFont, setRangeNumberFormat, setRangeAlignment, setRangeProtection, setRangeStyle, setRangeWrapText, } from './cell-style';
|
|
6
|
-
export type { DifferentialStyle } from './differential';
|
|
7
|
-
export { addDxf, makeDifferentialStyle } from './differential';
|
|
8
|
-
export type { NamedStyle, StylesheetNamedStyle } from './named-styles';
|
|
9
|
-
export { addNamedStyle, BUILTIN_NAMED_STYLES, ensureBuiltinStyle } from './named-styles';
|
|
10
|
-
export type { Color } from './colors';
|
|
11
|
-
export { adjustLightness, adjustSaturation, colorToHex, contrastRatio, darken, hexToHsl, hslToHex, lighten, luminance, makeColor, mixColors, normaliseRgb, pickReadableTextColor, resolveIndexedColor, rgbColor, rotateHue, } from './colors';
|
|
12
|
-
export type { Fill, GradientFill, GradientFillType, GradientStop, PatternFill, PatternType } from './fills';
|
|
13
|
-
export { fillToCss, makeFill, makeGradientFill, makeGradientStop, makePatternFill } from './fills';
|
|
14
|
-
export type { Font, FontScheme, UnderlineStyle, VertAlign } from './fonts';
|
|
15
|
-
export { DEFAULT_FONT, fontToCss, makeFont } from './fonts';
|
|
16
|
-
export type { Protection } from './protection';
|
|
17
|
-
export { makeProtection } from './protection';
|
|
18
|
-
export type { CellXf, Stylesheet } from './stylesheet';
|
|
19
|
-
export { addBorder, addCellStyleXf, addCellXf, addFill, addFont, addNumFmt, defaultCellXf, listBorders, listCellStyleXfs, listCellXfs, listFills, listFonts, makeStylesheet, } from './stylesheet';
|
|
20
|
-
export type { NumberFormat } from './numbers';
|
|
21
|
-
export { BUILTIN_FORMATS, BUILTIN_FORMATS_MAX_SIZE, builtinFormatCode, builtinFormatId, classifyDateFormat, FORMAT_DATE_DATETIME, FORMAT_DATE_TIMEDELTA, FORMAT_DATE_YYYYMMDD2, FORMAT_GENERAL, FORMAT_NUMBER, FORMAT_NUMBER_00, FORMAT_PERCENTAGE, FORMAT_PERCENTAGE_00, FORMAT_TEXT, isBuiltinFormat, isDateFormat, isTimedeltaFormat, makeNumberFormat, } from './numbers';
|
|
1
|
+
export type { Alignment, HorizontalAlignment, VerticalAlignment } from './alignment.js';
|
|
2
|
+
export { alignmentToCss, makeAlignment } from './alignment.js';
|
|
3
|
+
export type { Border, Side, SideStyle } from './borders.js';
|
|
4
|
+
export { borderToCss, makeBorder, makeSide } from './borders.js';
|
|
5
|
+
export { alignCellHorizontal, alignCellVertical, applyBuiltinStyle, applyNamedStyle, cellStyleToCss, centerCell, clearCellBackground, clearCellStyle, clearRangeStyle, cloneCellStyle, copyCellStyle, formatAsHeader, indentCell, rotateCellText, setBold, setCellBackgroundColor, setFontColor, setFontName, setFontSize, setItalic, setStrikethrough, setUnderline, wrapCellText, getCellAlignment, getCellBorder, getCellFill, getCellFont, getCellNumberFormat, getCellProtection, setCellAlignment, setCellAsCurrency, setCellAsDate, setCellAsNumber, setCellAsPercent, setCellBorder, setCellBorderAll, setCellFill, setCellFont, setCellNumberFormat, setCellProtection, setCellStyle, setRangeBackgroundColor, setRangeBorderBox, setRangeFont, setRangeNumberFormat, setRangeAlignment, setRangeProtection, setRangeStyle, setRangeWrapText, } from './cell-style.js';
|
|
6
|
+
export type { DifferentialStyle } from './differential.js';
|
|
7
|
+
export { addDxf, makeDifferentialStyle } from './differential.js';
|
|
8
|
+
export type { NamedStyle, StylesheetNamedStyle } from './named-styles.js';
|
|
9
|
+
export { addNamedStyle, BUILTIN_NAMED_STYLES, ensureBuiltinStyle } from './named-styles.js';
|
|
10
|
+
export type { Color } from './colors.js';
|
|
11
|
+
export { adjustLightness, adjustSaturation, colorToHex, contrastRatio, darken, hexToHsl, hslToHex, lighten, luminance, makeColor, mixColors, normaliseRgb, pickReadableTextColor, resolveIndexedColor, rgbColor, rotateHue, } from './colors.js';
|
|
12
|
+
export type { Fill, GradientFill, GradientFillType, GradientStop, PatternFill, PatternType } from './fills.js';
|
|
13
|
+
export { fillToCss, makeFill, makeGradientFill, makeGradientStop, makePatternFill } from './fills.js';
|
|
14
|
+
export type { Font, FontScheme, UnderlineStyle, VertAlign } from './fonts.js';
|
|
15
|
+
export { DEFAULT_FONT, fontToCss, makeFont } from './fonts.js';
|
|
16
|
+
export type { Protection } from './protection.js';
|
|
17
|
+
export { makeProtection } from './protection.js';
|
|
18
|
+
export type { CellXf, Stylesheet } from './stylesheet.js';
|
|
19
|
+
export { addBorder, addCellStyleXf, addCellXf, addFill, addFont, addNumFmt, defaultCellXf, listBorders, listCellStyleXfs, listCellXfs, listFills, listFonts, makeStylesheet, } from './stylesheet.js';
|
|
20
|
+
export type { NumberFormat } from './numbers.js';
|
|
21
|
+
export { BUILTIN_FORMATS, BUILTIN_FORMATS_MAX_SIZE, builtinFormatCode, builtinFormatId, classifyDateFormat, FORMAT_DATE_DATETIME, FORMAT_DATE_TIMEDELTA, FORMAT_DATE_YYYYMMDD2, FORMAT_GENERAL, FORMAT_NUMBER, FORMAT_NUMBER_00, FORMAT_PERCENTAGE, FORMAT_PERCENTAGE_00, FORMAT_TEXT, isBuiltinFormat, isDateFormat, isTimedeltaFormat, makeNumberFormat, } from './numbers.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Alignment } from './alignment';
|
|
2
|
-
import type { Border } from './borders';
|
|
3
|
-
import type { Fill } from './fills';
|
|
4
|
-
import type { Font } from './fonts';
|
|
5
|
-
import { type Stylesheet } from './stylesheet';
|
|
1
|
+
import type { Alignment } from './alignment.js';
|
|
2
|
+
import type { Border } from './borders.js';
|
|
3
|
+
import type { Fill } from './fills.js';
|
|
4
|
+
import type { Font } from './fonts.js';
|
|
5
|
+
import { type Stylesheet } from './stylesheet.js';
|
|
6
6
|
export interface NamedStyle {
|
|
7
7
|
readonly name: string;
|
|
8
8
|
/** OOXML built-in id (0..N); absent for user-defined styles. */
|
|
@@ -17,7 +17,7 @@ export interface NamedStyle {
|
|
|
17
17
|
readonly protection?: Protection;
|
|
18
18
|
readonly numberFormat?: string;
|
|
19
19
|
}
|
|
20
|
-
import type { Protection } from './protection';
|
|
20
|
+
import type { Protection } from './protection.js';
|
|
21
21
|
/**
|
|
22
22
|
* NamedStyle as it sits inside the Stylesheet (an `<cellStyles>` entry).
|
|
23
23
|
* Captures the resolved cellStyleXfs index so the writer can emit the
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type Schema } from '../schema/core';
|
|
2
|
-
import type { NumberFormat } from './numbers';
|
|
1
|
+
import { type Schema } from '../schema/core.js';
|
|
2
|
+
import type { NumberFormat } from './numbers.js';
|
|
3
3
|
export declare const NumberFormatSchema: Schema<NumberFormat>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type Schema } from '../schema/core';
|
|
2
|
-
import type { Protection } from './protection';
|
|
1
|
+
import { type Schema } from '../schema/core.js';
|
|
2
|
+
import type { Protection } from './protection.js';
|
|
3
3
|
export declare const ProtectionSchema: Schema<Protection>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Alignment } from './alignment';
|
|
2
|
-
import type { Border } from './borders';
|
|
3
|
-
import type { Fill } from './fills';
|
|
4
|
-
import type { Font } from './fonts';
|
|
5
|
-
import type { Protection } from './protection';
|
|
1
|
+
import type { Alignment } from './alignment.js';
|
|
2
|
+
import type { Border } from './borders.js';
|
|
3
|
+
import type { Fill } from './fills.js';
|
|
4
|
+
import type { Font } from './fonts.js';
|
|
5
|
+
import type { Protection } from './protection.js';
|
|
6
6
|
/**
|
|
7
7
|
* One entry in the cellXfs / cellStyleXfs pool. Represents the union of
|
|
8
8
|
* indexes-into-other-pools that a cell or named style points at.
|
|
@@ -38,7 +38,7 @@ export interface Stylesheet {
|
|
|
38
38
|
cellXfs: CellXf[];
|
|
39
39
|
cellStyleXfs: CellXf[];
|
|
40
40
|
/** Named styles (Excel's "Cell Styles" gallery; populated by addNamedStyle). */
|
|
41
|
-
namedStyles?: Array<import('./named-styles').StylesheetNamedStyle>;
|
|
41
|
+
namedStyles?: Array<import('./named-styles.js').StylesheetNamedStyle>;
|
|
42
42
|
/**
|
|
43
43
|
* The tail of `<styleSheet>` this model doesn't cover — `<tableStyles>`,
|
|
44
44
|
* `<colors>` and `<extLst>` (which is where Excel keeps its x14/x15 slicer
|
|
@@ -46,14 +46,14 @@ export interface Stylesheet {
|
|
|
46
46
|
* loaded workbook keeps them; CT_Stylesheet puts all three after `<dxfs>`,
|
|
47
47
|
* so the writer appends them there.
|
|
48
48
|
*/
|
|
49
|
-
stylesXmlTail?: Array<import('../xml/tree').XmlNode>;
|
|
49
|
+
stylesXmlTail?: Array<import('../xml/tree.js').XmlNode>;
|
|
50
50
|
_fontIdByKey: Map<string, number>;
|
|
51
51
|
_fillIdByKey: Map<string, number>;
|
|
52
52
|
_borderIdByKey: Map<string, number>;
|
|
53
53
|
_xfIdByKey: Map<string, number>;
|
|
54
54
|
_styleXfIdByKey: Map<string, number>;
|
|
55
55
|
_numFmtIdByCode: Map<string, number>;
|
|
56
|
-
_namedStyleByName?: Map<string, import('./named-styles').StylesheetNamedStyle>;
|
|
56
|
+
_namedStyleByName?: Map<string, import('./named-styles.js').StylesheetNamedStyle>;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Build a fresh Stylesheet pre-populated with Excel's required default entries.
|
|
@@ -6,15 +6,15 @@ import { C as makeSurface3DChart, S as makeStockChart, _ as makePie3DChart, a as
|
|
|
6
6
|
import { t as makeChartsheet } from "./chartsheet-C3-tqkPy.mjs";
|
|
7
7
|
import { o as makeDrawing } from "./drawing-BxzLuryn.mjs";
|
|
8
8
|
import { n as VALUED_COLOR_MOD_KINDS, r as VALUELESS_COLOR_MOD_KINDS, t as SCHEME_COLOR_NAMES } from "./colors-ovWAwnZI.mjs";
|
|
9
|
-
import { n as escapeXmlAttr$1, r as escapeXmlText$1, t as escapeCellString } from "./escape-
|
|
9
|
+
import { n as escapeXmlAttr$1, r as escapeXmlText$1, t as escapeCellString } from "./escape-rnWSPpWY.mjs";
|
|
10
10
|
import { H as DRAWING_NS, I as CX_NS, T as CHART_NS, a as findChildren, bt as X14_NS, dt as SHEET_DRAWING_NS, ft as SHEET_MAIN_NS, i as findChild, jt as qname, lt as REL_NS, n as el, q as MARKUP_COMPAT_NS, w as CHART_DRAWING_NS } from "./tree-BX-sRRVp.mjs";
|
|
11
|
-
import { t as parseXml } from "./parser-
|
|
11
|
+
import { t as parseXml } from "./parser-By6RWZVW.mjs";
|
|
12
12
|
import { n as toTree, r as defineSchema, t as fromTree } from "./serialize-BC2Wu3bR.mjs";
|
|
13
|
-
import { t as serializeXml } from "./serializer-
|
|
14
|
-
import { Q as findById } from "./manifest-
|
|
13
|
+
import { t as serializeXml } from "./serializer-C6nm0mRJ.mjs";
|
|
14
|
+
import { Q as findById } from "./manifest-pLmx7KYh.mjs";
|
|
15
15
|
import { $t as makeRowDimension, Jt as makeLegacyComment, Qt as makeColumnDimension, Zt as makeSheetView, an as multiCellRangeToString, at as makeWorksheet, bt as setCell, dn as rangeToString, on as parseMultiCellRange, sn as parseRange, wn as makeColor } from "./worksheet-C5Ensf_j.mjs";
|
|
16
16
|
import { Jt as VERTICAL_ALIGNMENTS, Lt as PATTERN_TYPES, Mt as FONT_SCHEMES, Nt as UNDERLINE_STYLES, Pt as VERT_ALIGNS, Ut as SIDE_STYLES, qt as HORIZONTAL_ALIGNMENTS } from "./cell-style-DuvS_Lsg.mjs";
|
|
17
|
-
import { C as addSharedRichText, O as parseRichString, w as addSharedString } from "./workbook-
|
|
17
|
+
import { C as addSharedRichText, O as parseRichString, w as addSharedString } from "./workbook-BlZVXiyG.mjs";
|
|
18
18
|
import { a as makeCfRule, i as makeDataValidation, n as makeTableColumn, o as makeConditionalFormatting, r as makeTableDefinition } from "./table-1P8we2gS.mjs";
|
|
19
19
|
import { i as durationToExcel, r as dateToExcel } from "./datetime-B2ySVlXt.mjs";
|
|
20
20
|
import { n as getDxfs } from "./differential-DvKU8fJt.mjs";
|
|
@@ -8709,4 +8709,4 @@ const cellXfToTree = (xf) => {
|
|
|
8709
8709
|
//#endregion
|
|
8710
8710
|
export { chartExToBytes as C, findUserShapesRId as D, chartToBytes as E, parseChartXml as O, userShapesToBytes as S, parseChartExXml as T, parseChartsheetXml as _, parseCommentsXml as a, parseWorksheetXml as b, NumberFormatSchema as c, BorderSchema as d, AlignmentSchema as f, chartsheetToBytes as g, parseDrawingXml as h, commentsToBytes as i, FontSchema as l, drawingToBytes as m, parseTableXml as n, placeholderVmlDrawing as o, collectRawRelIds as p, tableToBytes as r, ProtectionSchema as s, stylesheetToBytes as t, fillFromTree as u, serializeCell as v, isChartExBytes as w, parseUserShapesXml as x, worksheetToBytes as y };
|
|
8711
8711
|
|
|
8712
|
-
//# sourceMappingURL=stylesheet-writer-
|
|
8712
|
+
//# sourceMappingURL=stylesheet-writer-HxaX7bGy.mjs.map
|