@sheetxl/io-xlsx 0.8.0-beta.10 → 0.8.0-beta.11
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/browser/esm/{NQIuOQIleHC4NUW6.mjs → BiDqExNXiY7ykk8E.mjs} +527 -646
- package/browser/esm/{2EOdn2WRK5y1L58S.mjs → Bs0EzhdU8WgGfPzf.mjs} +2 -2
- package/browser/esm/CLWsOc6DO8l1G_LF.mjs +2213 -0
- package/browser/esm/{xc_LzCPgHn-acgFZ.mjs → CZ9I80og75SDRjv0.mjs} +2 -2
- package/browser/esm/{DXopGe8PrLWmwGaV.mjs → CuAXx5i4uqTz-mMY.mjs} +1 -1
- package/browser/esm/{BLXcoiDAaOMjFuhw.mjs → Cv3R6fGatARKedSn.mjs} +2531 -1952
- package/browser/esm/{B-jb5SuiVh5NnBG_.mjs → CzFYJPxmLyKgEKF0.mjs} +2 -2
- package/browser/esm/{BKT8OBj-bhQwdg49.mjs → DICL6ecj9BdJv8aX.mjs} +47 -10
- package/browser/esm/DatIA9fZbEPjW4bh.mjs +5638 -0
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{CI_CZI5m5-KkiAK5.mjs → yveeVJ6hKDI5KDEz.mjs} +1599 -990
- package/node/esm/B9Zn6H1RV07Ob377.mjs +2294 -0
- package/node/esm/Bpqm_PpGLpdjL47-.mjs +2368 -0
- package/node/esm/{BmdmvgO5Zdgx-RWo.mjs → CAJxmJdobUbzpUz5.mjs} +2 -2
- package/node/esm/{CHqRP_NjPpPd7m9L.mjs → CxlSbH7mmnEEsqmX.mjs} +1 -1
- package/node/esm/DD-yXSBzvDYy0TX5.mjs +5842 -0
- package/node/esm/{nNQ7MG89sGKwkjMA.mjs → DScqM1V4wPntNP6-.mjs} +1672 -1086
- package/node/esm/{O5mti2R9drFOlXc7.mjs → fopiRR7OiVoEiF7B.mjs} +2 -2
- package/node/esm/index.mjs +64 -27
- package/node/esm/{CtAF486aZqYzMeLM.mjs → ipiyzn5Pfohw2afB.mjs} +1777 -1157
- package/package.json +3 -3
- package/types/src/AutoFilterRules.d.ts +8 -1
- package/types/src/DefinedNameAttributes.d.ts +8 -0
- package/types/src/ExcelCompat.d.ts +15 -3
- package/types/src/KnownFonts.d.ts +50 -0
- package/types/src/LegacyFormula.d.ts +13 -0
- package/types/src/PageLayoutAttributes.d.ts +8 -0
- package/types/src/Plugin.d.ts +12 -0
- package/types/src/ProtectionAttributes.d.ts +2 -2
- package/types/src/SheetKinds.d.ts +57 -0
- package/types/src/SheetViewAttributes.d.ts +4 -0
- package/types/src/SortExtent.d.ts +16 -0
- package/types/src/Types.d.ts +11 -0
- package/types/src/XlsxHeader.d.ts +19 -0
- package/types/src/chart/ChartExXml.d.ts +38 -0
- package/types/src/chart/ChartPartXml.d.ts +47 -0
- package/types/src/chart/ChartSpaceXml.d.ts +36 -0
- package/types/src/chart/_XmlTree.d.ts +34 -0
- package/types/src/chart/_chartCodecs.d.ts +10 -0
- package/types/src/chart/_chartExCodecs.d.ts +7 -0
- package/types/src/chart/_chartExFold.d.ts +14 -0
- package/types/src/chart/_chartExMarkup.d.ts +236 -0
- package/types/src/chart/_chartExStyle.d.ts +22 -0
- package/types/src/chart/_codec.d.ts +78 -0
- package/types/src/chart/_drawingml.d.ts +10 -0
- package/types/src/chart/_xml.d.ts +70 -0
- package/types/src/reader/DocumentPropertiesRead.d.ts +16 -0
- package/types/src/reader/DummyFunctionUnwrap.d.ts +2 -2
- package/types/src/reader/HeaderStyles.d.ts +15 -0
- package/types/src/reader/IsoDateCell.d.ts +20 -0
- package/types/src/reader/LibreOfficeDataTable.d.ts +11 -0
- package/types/src/reader/domVisitors/AppPropertiesVisitor.d.ts +13 -1
- package/types/src/reader/domVisitors/AutoFilterVisitor.d.ts +3 -3
- package/types/src/reader/domVisitors/CommentVisitor.d.ts +2 -2
- package/types/src/reader/domVisitors/DrawingElementVisitor.d.ts +3 -1
- package/types/src/reader/domVisitors/DrawingGraphicFrameVisitor.d.ts +2 -2
- package/types/src/reader/domVisitors/DrawingPicVisitor.d.ts +23 -8
- package/types/src/reader/domVisitors/FontSchemeVisitor.d.ts +3 -2
- package/types/src/reader/domVisitors/ObjectDefaultsVisitor.d.ts +11 -0
- package/types/src/reader/domVisitors/SheetColorContainerVisitor.d.ts +2 -2
- package/types/src/reader/domVisitors/SheetStyleVisitor.d.ts +2 -0
- package/types/src/reader/domVisitors/SortStateVisitor.d.ts +2 -2
- package/types/src/reader/domVisitors/ThreadedCommentsVisitor.d.ts +2 -2
- package/types/src/reader/domVisitors/_Dxfs.d.ts +10 -0
- package/types/src/reader/domVisitors/index.d.ts +2 -30
- package/types/src/reader/saxVisitors/SharedStringsVisitor.d.ts +46 -6
- package/types/src/reader/saxVisitors/WorksheetVisitor.d.ts +16 -11
- package/types/src/utils/DrawingMLText.d.ts +2 -2
- package/types/src/utils/FormControls.d.ts +4 -4
- package/types/src/utils/SharedNames.d.ts +13 -0
- package/types/src/utils/SpreadsheetFont.d.ts +38 -0
- package/types/src/utils/VmlNoteShapes.d.ts +16 -23
- package/types/src/utils/VmlNoteStyle.d.ts +44 -0
- package/types/src/utils/VmlPrefixes.d.ts +24 -0
- package/types/src/writer/builder/PackageBuilder.d.ts +2 -0
- package/types/src/writer/builder/Types.d.ts +7 -0
- package/types/src/writer/emitters/CommentsEmitter.d.ts +3 -3
- package/types/src/writer/emitters/DrawingEmitter.d.ts +2 -2
- package/types/src/writer/emitters/LegacyDrawingEmitter.d.ts +4 -4
- package/types/src/writer/emitters/PropsCoreEmitter.d.ts +7 -2
- package/types/src/writer/emitters/PropsCustomEmitter.d.ts +15 -0
- package/types/src/writer/emitters/SharedStringsEmitter.d.ts +6 -3
- package/types/src/writer/emitters/SlicerEmitter.d.ts +3 -3
- package/types/src/writer/emitters/WorkbookEmitter.d.ts +5 -0
- package/types/src/writer/emitters/WorksheetEmitter.d.ts +4 -3
- package/types/src/writer/utils/AutoFilter.d.ts +1 -1
- package/types/src/writer/utils/DefaultRows.d.ts +38 -0
- package/types/src/writer/utils/DxfCollector.d.ts +11 -8
- package/types/src/writer/utils/HiddenFormulaXfs.d.ts +1 -1
- package/types/src/writer/utils/SheetStyleLayout.d.ts +73 -0
- package/types/src/writer/utils/TextUtils.d.ts +6 -1
- package/types/src/writer/utils/UnsupportedFunctions.d.ts +2 -2
- package/browser/esm/BPmehfSqdvgsLBsB.mjs +0 -5153
- package/node/esm/BpxxiZ2oKPkUSfdB.mjs +0 -2486
- package/node/esm/QS_theNoeqNGLStj.mjs +0 -5298
- package/types/src/legacyChart/OOXMLMappings.d.ts +0 -8
- package/types/src/legacyChart/OOXMLUtils.d.ts +0 -78
- package/types/src/legacyChart/ToOOXMLConverter.d.ts +0 -30
- package/types/src/reader/domVisitors/AxisVisitor.d.ts +0 -12
- package/types/src/reader/domVisitors/BarChartTypeVisitor.d.ts +0 -6
- package/types/src/reader/domVisitors/ChartSpaceVisitor.d.ts +0 -6
- package/types/src/reader/domVisitors/ChartTypeVisitor.d.ts +0 -7
- package/types/src/reader/domVisitors/ChartVisitor.d.ts +0 -7
- package/types/src/reader/domVisitors/DataLabelsVisitor.d.ts +0 -8
- package/types/src/reader/domVisitors/DataPointVisitor.d.ts +0 -6
- package/types/src/reader/domVisitors/LayoutVisitor.d.ts +0 -5
- package/types/src/reader/domVisitors/LegendEntryVisitor.d.ts +0 -5
- package/types/src/reader/domVisitors/LegendVisitor.d.ts +0 -5
- package/types/src/reader/domVisitors/MarkerVisitor.d.ts +0 -5
- package/types/src/reader/domVisitors/NegativeShapeVisitor.d.ts +0 -6
- package/types/src/reader/domVisitors/PlotAreaVisitor.d.ts +0 -5
- package/types/src/reader/domVisitors/SeriesVisitor.d.ts +0 -8
- package/types/src/reader/domVisitors/TitleVisitor.d.ts +0 -9
- package/types/src/writer/emitters/ChartColorsEmitter.d.ts +0 -7
- package/types/src/writer/emitters/ChartEmitter.d.ts +0 -14
- package/types/src/writer/emitters/ChartStyleEmitter.d.ts +0 -46
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const toOOXMLLineCap: (value: string) => string | undefined;
|
|
2
|
-
export declare const toOOXMLAlign: (value: string) => string;
|
|
3
|
-
export declare const toOOXMLCompound: (value: string) => string;
|
|
4
|
-
export declare const toOOXMLGradientType: (value: string) => string;
|
|
5
|
-
export declare const toOOXMLPoints: (pixels: number) => number;
|
|
6
|
-
export declare const toPixelFromEmu: (emu: number) => number;
|
|
7
|
-
export declare const toOOXMLAngle: (deg: number) => number;
|
|
8
|
-
//# sourceMappingURL=OOXMLMappings.d.ts.map
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
export declare const getAxisID: () => number;
|
|
2
|
-
export declare const isMultiLevel: (objChartSeries: any, pointCoord: any) => boolean;
|
|
3
|
-
export declare function getValues(objChartSeries: any, pointCoord: any, isMultiLevel?: boolean): {
|
|
4
|
-
isNumericList: boolean;
|
|
5
|
-
values: any[];
|
|
6
|
-
formatCodes: Map<any, any>;
|
|
7
|
-
listFormatCode: any;
|
|
8
|
-
allSameFormatCodes: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare function getMultiLevelValues(objChartSeries: any, pointCoord: any): {
|
|
11
|
-
isNumericList: boolean;
|
|
12
|
-
values: number[][];
|
|
13
|
-
formatCodes: Map<any, any>;
|
|
14
|
-
listFormatCode: null;
|
|
15
|
-
allSameFormatCodes: boolean;
|
|
16
|
-
};
|
|
17
|
-
export declare function createDataList(execContext: any, values: any, xmlNode: any, setFormatCodes?: boolean, formatCodes?: Map<number, string> | null): void;
|
|
18
|
-
export declare function getDPt(execContext: any, dPtNodes: any, idx: number): any;
|
|
19
|
-
export declare const builtInDisplayUnitsKeys: string[];
|
|
20
|
-
export declare const builtInDisplayUnits: {
|
|
21
|
-
none: {
|
|
22
|
-
description: string;
|
|
23
|
-
multi: number;
|
|
24
|
-
};
|
|
25
|
-
hundreds: {
|
|
26
|
-
description: string;
|
|
27
|
-
multi: number;
|
|
28
|
-
};
|
|
29
|
-
thousands: {
|
|
30
|
-
description: string;
|
|
31
|
-
multi: number;
|
|
32
|
-
};
|
|
33
|
-
tenThousands: {
|
|
34
|
-
description: string;
|
|
35
|
-
multi: number;
|
|
36
|
-
};
|
|
37
|
-
hundredThousands: {
|
|
38
|
-
description: string;
|
|
39
|
-
multi: number;
|
|
40
|
-
};
|
|
41
|
-
millions: {
|
|
42
|
-
description: string;
|
|
43
|
-
multi: number;
|
|
44
|
-
};
|
|
45
|
-
tenMillions: {
|
|
46
|
-
description: string;
|
|
47
|
-
multi: number;
|
|
48
|
-
};
|
|
49
|
-
hundredMillions: {
|
|
50
|
-
description: string;
|
|
51
|
-
multi: number;
|
|
52
|
-
};
|
|
53
|
-
billions: {
|
|
54
|
-
description: string;
|
|
55
|
-
multi: number;
|
|
56
|
-
};
|
|
57
|
-
trillions: {
|
|
58
|
-
description: string;
|
|
59
|
-
multi: number;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
export declare const isLineType: (chartType: string) => boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Create a string from an array of cells.
|
|
65
|
-
* @param cells
|
|
66
|
-
* @param separator
|
|
67
|
-
* This is being used by OOXML import from the charting code. Not sure what it is doing but it's incorrectly.
|
|
68
|
-
*/
|
|
69
|
-
export declare const stringFromCells: (cells: any[], separator?: string) => string;
|
|
70
|
-
/**
|
|
71
|
-
* Rolls a potential 2d array into a single array.
|
|
72
|
-
* @param array
|
|
73
|
-
*
|
|
74
|
-
* @remarks
|
|
75
|
-
* This is not recursive and only handles arrays of 2 levels deep.
|
|
76
|
-
*/
|
|
77
|
-
export declare function flatten2DArray<T = any>(array: readonly T[]): T[] | null;
|
|
78
|
-
//# sourceMappingURL=OOXMLUtils.d.ts.map
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Document as PartialDocument, Element as PartialElement } from '@xmldom/xmldom';
|
|
2
|
-
export declare function getNativeClass(obj: any): string;
|
|
3
|
-
export declare function getAnyClass(obj: any): string;
|
|
4
|
-
export interface ToOOXMLContext {
|
|
5
|
-
}
|
|
6
|
-
export declare class ToOOXMLConverter {
|
|
7
|
-
visitHandlerRegistry: Record<string, any>;
|
|
8
|
-
rootModelObj: any;
|
|
9
|
-
rootXmlDoc: PartialDocument | null;
|
|
10
|
-
visitedModels: any[];
|
|
11
|
-
nodePath: PartialElement[];
|
|
12
|
-
axisIds: Map<number, any>;
|
|
13
|
-
c16UniqueIdCounter: number;
|
|
14
|
-
constructor();
|
|
15
|
-
setAttribute(xmlNode: PartialElement, attrName: string, attrValue: any): void;
|
|
16
|
-
createNode(xmlNodeName: string): PartialElement;
|
|
17
|
-
createChildNodes(xmlNode: PartialElement, xpath: string): PartialElement;
|
|
18
|
-
createTextNode(text: string): PartialElement;
|
|
19
|
-
createChildNode(xmlNode: PartialElement, childNodeName: string): PartialElement;
|
|
20
|
-
appendChildNode(xmlParentNode: PartialElement, xmlChildNode: PartialElement, condition?: boolean): void;
|
|
21
|
-
appendNonEmptyChildNode(xmlParentNode: PartialElement, xmlChildNode: PartialElement): void;
|
|
22
|
-
copyValue(modelObj: any, modelPropertyPath: string, xmlNode: PartialElement, xmlChildNodeName: string, setterFunction: any, copyCheck?: (prop: any) => boolean): void;
|
|
23
|
-
getNode(xmlNode: PartialElement, xpath: string): PartialElement | undefined;
|
|
24
|
-
visit(xmlNode: PartialElement, modelChildObj: any, xmlChildNodeName: string | null, visitorOverride?: any): PartialElement | null;
|
|
25
|
-
getParentNode(): PartialElement;
|
|
26
|
-
getParentModel(): any;
|
|
27
|
-
convert(chartShape: any, options?: any): string;
|
|
28
|
-
}
|
|
29
|
-
export type ToHandler<T = any> = (context: any, json: T, element: PartialElement) => void;
|
|
30
|
-
//# sourceMappingURL=ToOOXMLConverter.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Visitor, ExecutionContext } from '../dom';
|
|
2
|
-
export declare class AxisVisitor implements Visitor {
|
|
3
|
-
visit(context: ExecutionContext, elemParent: Element, _jsonParent: any): any;
|
|
4
|
-
parseTimeUnits(context: ExecutionContext, elemParent: Element, jsonParent: any, jsonKey: string, timeUnitXPath: string, unitXPath: string): void;
|
|
5
|
-
parseDisplayCustOrBuiltInUnit(elemParent: Element, context: ExecutionContext, jsonAxis: any): void;
|
|
6
|
-
parseLabelAlign(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
7
|
-
parseOrientation(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
8
|
-
parseNumFormat(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
9
|
-
parseScaling(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
10
|
-
afterVisit(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=AxisVisitor.d.ts.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Visitor, ExecutionContext } from '../dom';
|
|
2
|
-
import { ChartTypeVisitor } from './ChartTypeVisitor';
|
|
3
|
-
export declare class BarChartTypeVisitor extends ChartTypeVisitor implements Visitor {
|
|
4
|
-
parseType(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=BarChartTypeVisitor.d.ts.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Visitor, ExecutionContext } from '../dom';
|
|
2
|
-
export declare class ChartSpaceVisitor implements Visitor {
|
|
3
|
-
visit(context: ExecutionContext, elemParent: Element, jsonParent: any): any;
|
|
4
|
-
afterVisit(context: ExecutionContext, chartSpaceElement: Element, jsonChartSpace: any): void;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=ChartSpaceVisitor.d.ts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Visitor, ExecutionContext } from '../dom';
|
|
2
|
-
export declare class ChartTypeVisitor implements Visitor {
|
|
3
|
-
visit(context: ExecutionContext, elemParent: Element, _jsonParent: any): any;
|
|
4
|
-
parseType(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
5
|
-
parseAxisIds(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=ChartTypeVisitor.d.ts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Visitor } from '../dom/Visitor';
|
|
2
|
-
import { ExecutionContext } from '../dom/ExecutionContext';
|
|
3
|
-
export declare class ChartVisitor implements Visitor {
|
|
4
|
-
visit(context: ExecutionContext, elemParent: Element, jsonParent: any): any;
|
|
5
|
-
afterVisit(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=ChartVisitor.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Visitor, ExecutionContext } from '../dom';
|
|
2
|
-
export declare class DataLabelsVisitor implements Visitor {
|
|
3
|
-
private jsonKey;
|
|
4
|
-
constructor(jsonKey: string);
|
|
5
|
-
visit(context: ExecutionContext, elemParent: Element, jsonParent: any): any;
|
|
6
|
-
parseNumFormat(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=DataLabelsVisitor.d.ts.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Visitor, ExecutionContext } from '../dom';
|
|
2
|
-
export declare class DataPointVisitor implements Visitor {
|
|
3
|
-
DataPointVisitor(): void;
|
|
4
|
-
visit(context: ExecutionContext, elemParent: Element, jsonParent: any): any;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=DataPointVisitor.d.ts.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ExecutionContext } from '../dom';
|
|
2
|
-
import { ShapePropertiesVisitor } from './ShapePropertiesVisitor';
|
|
3
|
-
export declare class NegativeShapeVisitor extends ShapePropertiesVisitor {
|
|
4
|
-
visit(context: ExecutionContext, elemParent: Element, jsonParent: any): any;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=NegativeShapeVisitor.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Visitor, ExecutionContext } from '../dom';
|
|
2
|
-
export declare class SeriesVisitor implements Visitor {
|
|
3
|
-
visit(context: ExecutionContext, elemParent: Element, _jsonParent: any): any;
|
|
4
|
-
parseTitleRangeOrValue(context: ExecutionContext, elemParent: Element, jsonSeries: any): void;
|
|
5
|
-
parsePointsAsString(context: ExecutionContext, elemParent: Element): string;
|
|
6
|
-
afterVisit(context: ExecutionContext, elemParent: Element, jsonParent: any): void;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=SeriesVisitor.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ExecutionContext } from '../dom';
|
|
2
|
-
import { TextPropertiesVisitor } from './TextPropertiesVisitor';
|
|
3
|
-
export declare class TitleVisitor extends TextPropertiesVisitor {
|
|
4
|
-
constructor(jsonKey?: string);
|
|
5
|
-
parseTitleRangeOrValue(context: ExecutionContext, elemParent: Element, jsonTitle: any): void;
|
|
6
|
-
visit(context: ExecutionContext, elemParent: Element, jsonParent: any): any;
|
|
7
|
-
afterVisit(context: ExecutionContext, xmlElementContext: Element, jsonTitle: any): void;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=TitleVisitor.d.ts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Emitter, EmitContext } from '../builder';
|
|
2
|
-
export declare class ChartColorsEmitter extends Emitter<Map<any, string>> {
|
|
3
|
-
constructor();
|
|
4
|
-
/** @inheritdoc IEmitter.emit */
|
|
5
|
-
emit(colors: Map<any, string>, ctx: EmitContext): Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=ChartColorsEmitter.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IChart, IStyleCollection } from '@sheetxl/sdk';
|
|
2
|
-
import { Emitter, EmitContext } from '../builder';
|
|
3
|
-
export declare class ChartEmitter extends Emitter<ModelHandle> {
|
|
4
|
-
constructor();
|
|
5
|
-
/** @inheritdoc IEmitter.emit */
|
|
6
|
-
emit(handle: ModelHandle, ctx: EmitContext): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
type ModelHandle = {
|
|
9
|
-
json: IChart.JSON;
|
|
10
|
-
model: IChart;
|
|
11
|
-
styles: IStyleCollection;
|
|
12
|
-
};
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=ChartEmitter.d.ts.map
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { IStyleCollection } from '@sheetxl/sdk';
|
|
2
|
-
import { Emitter, EmitContext } from '../builder';
|
|
3
|
-
export declare class ChartStyleEmitter extends Emitter<Handle> {
|
|
4
|
-
constructor();
|
|
5
|
-
/** @inheritdoc IEmitter.emit */
|
|
6
|
-
emit(handle: Handle, ctx: EmitContext): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
interface Handle {
|
|
9
|
-
styles: IStyleCollection;
|
|
10
|
-
}
|
|
11
|
-
export declare const PartTypes: {
|
|
12
|
-
readonly AxisTitle: "axisTitle";
|
|
13
|
-
readonly CategoryAxis: "categoryAxis";
|
|
14
|
-
readonly ChartArea: "chartArea";
|
|
15
|
-
readonly DataLabel: "dataLabel";
|
|
16
|
-
readonly DataLabelCallout: "dataLabelCallout";
|
|
17
|
-
readonly DataPoint: "dataPoint";
|
|
18
|
-
readonly DataPoint3D: "dataPoint3D";
|
|
19
|
-
readonly DataPointLine: "dataPointLine";
|
|
20
|
-
readonly DataPointMarker: "dataPointMarker";
|
|
21
|
-
readonly DataPointMarkerLayout: "dataPointMarkerLayout";
|
|
22
|
-
readonly DataPointWireframe: "dataPointWireframe";
|
|
23
|
-
readonly DataTable: "dataTable";
|
|
24
|
-
readonly DownBar: "downBar";
|
|
25
|
-
readonly DropLine: "dropLine";
|
|
26
|
-
readonly ErrorBar: "errorBar";
|
|
27
|
-
readonly Floor: "floor";
|
|
28
|
-
readonly GridlineMajor: "gridlineMajor";
|
|
29
|
-
readonly GridlineMinor: "gridlineMinor";
|
|
30
|
-
readonly HiLoLine: "hiLoLine";
|
|
31
|
-
readonly LeaderLine: "leaderLine";
|
|
32
|
-
readonly Legend: "legend";
|
|
33
|
-
readonly PlotArea: "plotArea";
|
|
34
|
-
readonly PlotArea3D: "plotArea3D";
|
|
35
|
-
readonly SeriesAxis: "seriesAxis";
|
|
36
|
-
readonly SeriesLine: "seriesLine";
|
|
37
|
-
readonly Title: "title";
|
|
38
|
-
readonly Trendline: "trendline";
|
|
39
|
-
readonly TrendlineLabel: "trendlineLabel";
|
|
40
|
-
readonly UpBar: "upBar";
|
|
41
|
-
readonly ValueAxis: "valueAxis";
|
|
42
|
-
readonly Wall: "wall";
|
|
43
|
-
};
|
|
44
|
-
export type PartTypes = typeof PartTypes[keyof typeof PartTypes];
|
|
45
|
-
export {};
|
|
46
|
-
//# sourceMappingURL=ChartStyleEmitter.d.ts.map
|