@office-open/core 0.6.10 → 0.7.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/dist/chart/index.d.mts +2 -2
- package/dist/chart/index.mjs +2 -2
- package/dist/chart-ChqlyVeb.mjs +1097 -0
- package/dist/drawingml/index.d.mts +1 -1
- package/dist/{index-BWboZ6Uq.d.mts → index-C0lMGS9A.d.mts} +1 -0
- package/dist/index-C4Wm3RBo.d.mts +220 -0
- package/dist/index.d.mts +6 -4
- package/dist/index.mjs +1256 -3
- package/package.json +3 -2
- package/dist/chart-dfAcyzCL.mjs +0 -617
- package/dist/index-CtcOpyfu.d.mts +0 -119
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { b as XmlComponent } from "./index-Borh69Zs.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/chart/axes.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* c:catAx — category axis.
|
|
6
|
-
*
|
|
7
|
-
* XSD sequence: EG_AxShared (axId, scaling, delete, axPos, ..., crossAx, crosses)
|
|
8
|
-
* then: auto, lblAlgn, lblOffset, tickLblSkip, tickMarkSkip, noMultiLvlLbl
|
|
9
|
-
*/
|
|
10
|
-
declare class CatAx extends XmlComponent {
|
|
11
|
-
constructor(axId: number, crossAx: number);
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* c:valAx — value axis.
|
|
15
|
-
*
|
|
16
|
-
* XSD sequence: EG_AxShared (axId, scaling, delete, axPos, ..., spPr, ..., crossAx, crosses)
|
|
17
|
-
* then: crossBetween, majorUnit, minorUnit, dispUnits
|
|
18
|
-
*/
|
|
19
|
-
declare class ValAx extends XmlComponent {
|
|
20
|
-
constructor(axId: number, crossAx: number);
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
//#region src/chart/chart-types/area-chart.d.ts
|
|
24
|
-
interface AreaChartOptions {
|
|
25
|
-
readonly categories: readonly string[];
|
|
26
|
-
readonly series: readonly ChartSeriesData[];
|
|
27
|
-
}
|
|
28
|
-
declare class AreaChart extends XmlComponent {
|
|
29
|
-
constructor(options: AreaChartOptions);
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/chart/chart-types/bar-chart.d.ts
|
|
33
|
-
interface BarChartOptions {
|
|
34
|
-
readonly barDirection: "col" | "bar";
|
|
35
|
-
readonly categories: readonly string[];
|
|
36
|
-
readonly series: readonly ChartSeriesData[];
|
|
37
|
-
}
|
|
38
|
-
declare class BarChart extends XmlComponent {
|
|
39
|
-
constructor(options: BarChartOptions);
|
|
40
|
-
}
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region src/chart/chart-types/line-chart.d.ts
|
|
43
|
-
interface LineChartOptions {
|
|
44
|
-
readonly categories: readonly string[];
|
|
45
|
-
readonly series: readonly ChartSeriesData[];
|
|
46
|
-
}
|
|
47
|
-
declare class LineChart extends XmlComponent {
|
|
48
|
-
constructor(options: LineChartOptions);
|
|
49
|
-
}
|
|
50
|
-
//#endregion
|
|
51
|
-
//#region src/chart/chart-types/pie-chart.d.ts
|
|
52
|
-
interface PieChartOptions {
|
|
53
|
-
readonly categories: readonly string[];
|
|
54
|
-
readonly series: readonly ChartSeriesData[];
|
|
55
|
-
}
|
|
56
|
-
declare class PieChart extends XmlComponent {
|
|
57
|
-
constructor(options: PieChartOptions);
|
|
58
|
-
}
|
|
59
|
-
//#endregion
|
|
60
|
-
//#region src/chart/chart-types/scatter-chart.d.ts
|
|
61
|
-
interface ScatterChartOptions {
|
|
62
|
-
readonly categories: readonly string[];
|
|
63
|
-
readonly series: readonly ChartSeriesData[];
|
|
64
|
-
}
|
|
65
|
-
declare class ScatterChart extends XmlComponent {
|
|
66
|
-
constructor(options: ScatterChartOptions);
|
|
67
|
-
}
|
|
68
|
-
//#endregion
|
|
69
|
-
//#region src/chart/create-chart-type.d.ts
|
|
70
|
-
interface ChartSeriesData {
|
|
71
|
-
readonly name: string;
|
|
72
|
-
readonly values: readonly number[];
|
|
73
|
-
}
|
|
74
|
-
type ChartType = "column" | "bar" | "line" | "pie" | "area" | "scatter";
|
|
75
|
-
interface ChartTypeOptions {
|
|
76
|
-
readonly type: ChartType;
|
|
77
|
-
readonly series: readonly ChartSeriesData[];
|
|
78
|
-
readonly categories: readonly string[];
|
|
79
|
-
}
|
|
80
|
-
declare const createChartType: (options: ChartTypeOptions) => BarChart | LineChart | PieChart | AreaChart | ScatterChart;
|
|
81
|
-
//#endregion
|
|
82
|
-
//#region src/chart/chart-space.d.ts
|
|
83
|
-
interface ChartSpaceOptions {
|
|
84
|
-
readonly title?: string;
|
|
85
|
-
readonly type: ChartType;
|
|
86
|
-
readonly categories: readonly string[];
|
|
87
|
-
readonly series: readonly ChartSeriesData[];
|
|
88
|
-
readonly showLegend?: boolean;
|
|
89
|
-
readonly style?: number;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* c:chartSpace — root element for chart XML parts.
|
|
93
|
-
*/
|
|
94
|
-
declare class ChartSpace extends XmlComponent {
|
|
95
|
-
constructor(options: ChartSpaceOptions);
|
|
96
|
-
}
|
|
97
|
-
//#endregion
|
|
98
|
-
//#region src/chart/chart-collection.d.ts
|
|
99
|
-
interface ChartData {
|
|
100
|
-
readonly key: string;
|
|
101
|
-
readonly chartSpace: XmlComponent;
|
|
102
|
-
}
|
|
103
|
-
declare class ChartCollection {
|
|
104
|
-
private readonly map;
|
|
105
|
-
constructor();
|
|
106
|
-
addChart(key: string, chartData: ChartData): void;
|
|
107
|
-
get array(): readonly ChartData[];
|
|
108
|
-
}
|
|
109
|
-
//#endregion
|
|
110
|
-
//#region src/chart/series/series-data.d.ts
|
|
111
|
-
declare const createStrRef: (values: string | readonly string[]) => XmlComponent;
|
|
112
|
-
declare const createNumRef: (values: readonly number[]) => XmlComponent;
|
|
113
|
-
//#endregion
|
|
114
|
-
//#region src/chart/title.d.ts
|
|
115
|
-
declare class ChartTitle extends XmlComponent {
|
|
116
|
-
constructor(title: string);
|
|
117
|
-
}
|
|
118
|
-
//#endregion
|
|
119
|
-
export { CatAx as _, ChartData as a, ChartSeriesData as c, createChartType as d, ScatterChart as f, AreaChart as g, BarChart as h, ChartCollection as i, ChartType as l, LineChart as m, createNumRef as n, ChartSpace as o, PieChart as p, createStrRef as r, ChartSpaceOptions as s, ChartTitle as t, ChartTypeOptions as u, ValAx as v };
|