@office-open/core 0.11.0 → 0.12.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-Kf_utasF.mjs → chart-BAnjzVoe.mjs} +861 -287
- package/dist/chart-BAnjzVoe.mjs.map +1 -0
- package/dist/data-type-CZMKVaaT.d.mts.map +1 -1
- package/dist/descriptor/index.d.mts +1 -1
- package/dist/descriptor/index.mjs +1 -1
- package/dist/{descriptor-BX8xW8na.mjs → descriptor-BqaNZrrZ.mjs} +38 -10
- package/dist/{descriptor-BX8xW8na.mjs.map → descriptor-BqaNZrrZ.mjs.map} +1 -1
- package/dist/drawing/index.d.mts +2 -2
- package/dist/drawing/index.mjs +2 -2
- package/dist/{drawing-FBzd2I0m.mjs → drawing-BVwCkNXB.mjs} +3062 -3131
- package/dist/drawing-BVwCkNXB.mjs.map +1 -0
- package/dist/{generators-CElPsAhd.mjs → ext-uri-BHBcIrW7.mjs} +599 -343
- package/dist/ext-uri-BHBcIrW7.mjs.map +1 -0
- package/dist/index-BAxlDUQ1.d.mts +590 -0
- package/dist/index-BAxlDUQ1.d.mts.map +1 -0
- package/dist/{index-CLX7gU9J.d.mts → index-BQLIofaF.d.mts} +3 -2
- package/dist/index-BQLIofaF.d.mts.map +1 -0
- package/dist/{index-k8WKLXnA.d.mts → index-CaNwM5_e.d.mts} +19 -20
- package/dist/index-CaNwM5_e.d.mts.map +1 -0
- package/dist/{index-CnjCK-lF.d.mts → index-DPkf_CtG.d.mts} +566 -597
- package/dist/index-DPkf_CtG.d.mts.map +1 -0
- package/dist/{index-BsTUn4K1.d.mts → index-DcukVskh.d.mts} +9 -6
- package/dist/index-DcukVskh.d.mts.map +1 -0
- package/dist/{index-Cgz88FU0.d.mts → index-Di6XPdGl.d.mts} +26 -12
- package/dist/index-Di6XPdGl.d.mts.map +1 -0
- package/dist/{index-C0ClOhmZ.d.mts → index-L6AXewfV.d.mts} +11 -8
- package/dist/index-L6AXewfV.d.mts.map +1 -0
- package/dist/{index-DxwLMnBF.d.mts → index-k1h_t946.d.mts} +219 -99
- package/dist/index-k1h_t946.d.mts.map +1 -0
- package/dist/index.d.mts +161 -29
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +873 -87
- package/dist/index.mjs.map +1 -1
- package/dist/{output-D_G_JR_8.d.mts → output-yyxdkG0C.d.mts} +2 -3
- package/dist/output-yyxdkG0C.d.mts.map +1 -0
- package/dist/patch/index.d.mts +2 -2
- package/dist/patch/index.mjs +2 -2
- package/dist/{patch-3KLx2yEP.mjs → patch-AkQY17CD.mjs} +71 -26
- package/dist/patch-AkQY17CD.mjs.map +1 -0
- package/dist/smartart/index.d.mts +2 -2
- package/dist/smartart/index.mjs +1 -1
- package/dist/{smartart-BxnkROOp.mjs → smartart-DV6ZcN5R.mjs} +27 -26
- package/dist/smartart-DV6ZcN5R.mjs.map +1 -0
- package/dist/{style-matrix-DAP6XrLv.mjs → style-matrix-DjhMuuQg.mjs} +4 -4
- package/dist/style-matrix-DjhMuuQg.mjs.map +1 -0
- package/dist/theme/index.d.mts +4 -4
- package/dist/theme/index.mjs +3 -2
- package/dist/{theme-OAuRcA9_.mjs → theme-Dx0Db9bX.mjs} +37 -71
- package/dist/theme-Dx0Db9bX.mjs.map +1 -0
- package/dist/{theme-options-BbWccl85.d.mts → theme-options-kO89NUEX.d.mts} +17 -17
- package/dist/theme-options-kO89NUEX.d.mts.map +1 -0
- package/dist/util/index.d.mts +3 -3
- package/dist/util/index.mjs +3 -3
- package/dist/{util-C94-JKtp.mjs → util-ptE16MEk.mjs} +69 -37
- package/dist/util-ptE16MEk.mjs.map +1 -0
- package/dist/{values-aVoirbWB.d.mts → values-BECDm4zr.d.mts} +15 -31
- package/dist/values-BECDm4zr.d.mts.map +1 -0
- package/dist/vector/index.d.mts +2 -2
- package/dist/vector/index.mjs +2 -2
- package/dist/{vector-TpjW6ZSc.mjs → vector-DhLGZjP5.mjs} +104 -147
- package/dist/vector-DhLGZjP5.mjs.map +1 -0
- package/package.json +3 -3
- package/dist/chart-Kf_utasF.mjs.map +0 -1
- package/dist/drawing-FBzd2I0m.mjs.map +0 -1
- package/dist/generators-CElPsAhd.mjs.map +0 -1
- package/dist/index-BsTUn4K1.d.mts.map +0 -1
- package/dist/index-C0ClOhmZ.d.mts.map +0 -1
- package/dist/index-CLX7gU9J.d.mts.map +0 -1
- package/dist/index-Cgz88FU0.d.mts.map +0 -1
- package/dist/index-CnjCK-lF.d.mts.map +0 -1
- package/dist/index-DpPeyf5f.d.mts +0 -316
- package/dist/index-DpPeyf5f.d.mts.map +0 -1
- package/dist/index-DxwLMnBF.d.mts.map +0 -1
- package/dist/index-k8WKLXnA.d.mts.map +0 -1
- package/dist/output-D_G_JR_8.d.mts.map +0 -1
- package/dist/patch-3KLx2yEP.mjs.map +0 -1
- package/dist/smartart-BxnkROOp.mjs.map +0 -1
- package/dist/style-matrix-DAP6XrLv.mjs.map +0 -1
- package/dist/theme-OAuRcA9_.mjs.map +0 -1
- package/dist/theme-options-BbWccl85.d.mts.map +0 -1
- package/dist/util-C94-JKtp.mjs.map +0 -1
- package/dist/values-aVoirbWB.d.mts.map +0 -1
- package/dist/vector-TpjW6ZSc.mjs.map +0 -1
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { t as DataType } from "./data-type-CZMKVaaT.mjs";
|
|
2
|
+
import { f as CustomDescriptor } from "./index-BQLIofaF.mjs";
|
|
3
|
+
import { Bn as Transform2DOptions, Gn as BlipFillOptions, Zt as NonVisualDrawingPropertiesOptions, m as GroupShapePropertiesOptions, on as GraphicFrameLockingOptions, si as ShapePropertiesOptions, tr as TextBodyOptions } from "./index-DPkf_CtG.mjs";
|
|
4
|
+
import { o as DefaultShapeStyleOptions, t as ColorMappingOptions } from "./theme-options-kO89NUEX.mjs";
|
|
5
5
|
//#region src/chart/chart-collection.d.ts
|
|
6
6
|
interface ChartData {
|
|
7
7
|
key: string;
|
|
8
8
|
chartSpaceXml: string;
|
|
9
|
+
embedding?: {
|
|
10
|
+
relationshipId: string;
|
|
11
|
+
fileName: string;
|
|
12
|
+
data: DataType;
|
|
13
|
+
};
|
|
14
|
+
userShapes?: {
|
|
15
|
+
relationshipId: string;
|
|
16
|
+
xml: string;
|
|
17
|
+
};
|
|
9
18
|
}
|
|
10
19
|
declare class ChartCollection {
|
|
11
20
|
private map;
|
|
@@ -14,9 +23,90 @@ declare class ChartCollection {
|
|
|
14
23
|
get array(): ChartData[];
|
|
15
24
|
}
|
|
16
25
|
//#endregion
|
|
26
|
+
//#region src/chart/user-shapes/user-shapes.d.ts
|
|
27
|
+
interface UserShapeMarkerOptions {
|
|
28
|
+
x: number;
|
|
29
|
+
y: number;
|
|
30
|
+
}
|
|
31
|
+
interface UserShapeExtentOptions {
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
}
|
|
35
|
+
interface RelativeSizeAnchorOptions {
|
|
36
|
+
from: UserShapeMarkerOptions;
|
|
37
|
+
to: UserShapeMarkerOptions;
|
|
38
|
+
object: UserShapeObjectOptions;
|
|
39
|
+
}
|
|
40
|
+
interface AbsoluteSizeAnchorOptions {
|
|
41
|
+
from: UserShapeMarkerOptions;
|
|
42
|
+
extent: UserShapeExtentOptions;
|
|
43
|
+
object: UserShapeObjectOptions;
|
|
44
|
+
}
|
|
45
|
+
interface ObjectCommonAttributes {
|
|
46
|
+
id: number;
|
|
47
|
+
macro?: string;
|
|
48
|
+
published?: boolean;
|
|
49
|
+
}
|
|
50
|
+
interface UserShapeShapeOptions extends ObjectCommonAttributes {
|
|
51
|
+
type: "shape";
|
|
52
|
+
nonVisualProperties?: NonVisualDrawingPropertiesOptions;
|
|
53
|
+
textBox?: boolean;
|
|
54
|
+
shapeProperties: ShapePropertiesOptions;
|
|
55
|
+
style?: DefaultShapeStyleOptions;
|
|
56
|
+
textBody?: TextBodyOptions;
|
|
57
|
+
textLink?: string;
|
|
58
|
+
locksText?: boolean;
|
|
59
|
+
}
|
|
60
|
+
interface UserShapeConnectorOptions extends ObjectCommonAttributes {
|
|
61
|
+
type: "connector";
|
|
62
|
+
nonVisualProperties?: NonVisualDrawingPropertiesOptions;
|
|
63
|
+
shapeProperties: ShapePropertiesOptions;
|
|
64
|
+
style?: DefaultShapeStyleOptions;
|
|
65
|
+
}
|
|
66
|
+
interface UserShapePictureOptions extends ObjectCommonAttributes {
|
|
67
|
+
type: "picture";
|
|
68
|
+
nonVisualProperties?: NonVisualDrawingPropertiesOptions;
|
|
69
|
+
referenceId: string;
|
|
70
|
+
blipFill?: BlipFillOptions;
|
|
71
|
+
shapeProperties: ShapePropertiesOptions;
|
|
72
|
+
style?: DefaultShapeStyleOptions;
|
|
73
|
+
}
|
|
74
|
+
interface UserShapeGraphicFrameOptions extends ObjectCommonAttributes {
|
|
75
|
+
type: "graphicFrame";
|
|
76
|
+
nonVisualProperties?: NonVisualDrawingPropertiesOptions;
|
|
77
|
+
graphicFrameLocks?: GraphicFrameLockingOptions | null;
|
|
78
|
+
transform: Transform2DOptions;
|
|
79
|
+
graphic: string;
|
|
80
|
+
}
|
|
81
|
+
interface UserShapeGroupOptions extends ObjectCommonAttributes {
|
|
82
|
+
type: "group";
|
|
83
|
+
nonVisualProperties?: NonVisualDrawingPropertiesOptions;
|
|
84
|
+
groupShapeProperties: GroupShapePropertiesOptions;
|
|
85
|
+
children: UserShapeObjectOptions[];
|
|
86
|
+
}
|
|
87
|
+
type UserShapeObjectOptions = UserShapeShapeOptions | UserShapeConnectorOptions | UserShapePictureOptions | UserShapeGraphicFrameOptions | UserShapeGroupOptions;
|
|
88
|
+
interface UserShapesOptions {
|
|
89
|
+
anchors: (RelativeSizeAnchorOptions | AbsoluteSizeAnchorOptions)[];
|
|
90
|
+
}
|
|
91
|
+
declare const userShapesDesc: CustomDescriptor<UserShapesOptions>;
|
|
92
|
+
declare function buildUserShapesData(userShapes: {
|
|
93
|
+
relationshipId?: string;
|
|
94
|
+
anchors: UserShapesOptions["anchors"];
|
|
95
|
+
}): {
|
|
96
|
+
relationshipId: string;
|
|
97
|
+
xml: string;
|
|
98
|
+
};
|
|
99
|
+
//#endregion
|
|
17
100
|
//#region src/chart/types.d.ts
|
|
18
101
|
interface ChartSeriesCommon {
|
|
19
|
-
|
|
102
|
+
index?: number;
|
|
103
|
+
order?: number;
|
|
104
|
+
name?: string;
|
|
105
|
+
nameFormula?: string;
|
|
106
|
+
nameLiteral?: boolean;
|
|
107
|
+
valueFormula?: string;
|
|
108
|
+
valueLiteral?: boolean;
|
|
109
|
+
formatCode?: string;
|
|
20
110
|
trendlines?: readonly TrendlineOptions[];
|
|
21
111
|
errorBars?: ErrorBarOptions;
|
|
22
112
|
dataLabels?: DataLabelsOptions;
|
|
@@ -26,15 +116,19 @@ interface ChartSeriesCommon {
|
|
|
26
116
|
smooth?: boolean;
|
|
27
117
|
explosion?: number;
|
|
28
118
|
pictureOptions?: PictureOptionsOptions;
|
|
119
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
29
120
|
shape?: BarShape;
|
|
30
121
|
bubble3D?: boolean;
|
|
122
|
+
ext?: string;
|
|
31
123
|
}
|
|
32
|
-
interface
|
|
124
|
+
interface ScatterSeriesData extends ChartSeriesCommon {
|
|
33
125
|
xValues: readonly number[];
|
|
34
126
|
yValues: readonly number[];
|
|
127
|
+
}
|
|
128
|
+
interface BubbleSeriesData extends ScatterSeriesData {
|
|
35
129
|
bubbleSize: readonly number[];
|
|
36
130
|
}
|
|
37
|
-
type TrendlineType = "
|
|
131
|
+
type TrendlineType = "exponential" | "linear" | "logarithmic" | "movingAverage" | "polynomial" | "power";
|
|
38
132
|
interface TrendlineLabelOptions {
|
|
39
133
|
numberFormat?: string;
|
|
40
134
|
}
|
|
@@ -50,9 +144,9 @@ interface TrendlineOptions {
|
|
|
50
144
|
dispEq?: boolean;
|
|
51
145
|
label?: TrendlineLabelOptions;
|
|
52
146
|
}
|
|
53
|
-
type ErrorBarDirection = "
|
|
147
|
+
type ErrorBarDirection = "x" | "y";
|
|
54
148
|
type ErrorBarType = "both" | "minus" | "plus";
|
|
55
|
-
type ErrorValueType = "
|
|
149
|
+
type ErrorValueType = "custom" | "fixedValue" | "percentage" | "standardDeviation" | "standardError";
|
|
56
150
|
interface ErrorBarOptions {
|
|
57
151
|
direction?: ErrorBarDirection;
|
|
58
152
|
barType?: ErrorBarType;
|
|
@@ -62,14 +156,29 @@ interface ErrorBarOptions {
|
|
|
62
156
|
plusValue?: number;
|
|
63
157
|
minusValue?: number;
|
|
64
158
|
}
|
|
65
|
-
type DataLabelPosition = "bestFit" | "
|
|
159
|
+
type DataLabelPosition = "bestFit" | "bottom" | "center" | "insideBase" | "insideEnd" | "left" | "outsideEnd" | "right" | "top";
|
|
66
160
|
interface DataLabelOptions {
|
|
67
161
|
index: number;
|
|
68
162
|
delete?: boolean;
|
|
163
|
+
text?: TextBodyOptions;
|
|
164
|
+
layout?: ManualLayoutOptions | true;
|
|
69
165
|
position?: DataLabelPosition;
|
|
70
166
|
numberFormat?: string;
|
|
167
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
168
|
+
textProperties?: TextBodyOptions;
|
|
169
|
+
showLegendKey?: boolean;
|
|
170
|
+
showVal?: boolean;
|
|
171
|
+
showCatName?: boolean;
|
|
172
|
+
showSerName?: boolean;
|
|
173
|
+
showPercent?: boolean;
|
|
174
|
+
showBubbleSize?: boolean;
|
|
175
|
+
separator?: string;
|
|
71
176
|
}
|
|
72
177
|
interface DataLabelsOptions {
|
|
178
|
+
delete?: boolean;
|
|
179
|
+
numberFormat?: string;
|
|
180
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
181
|
+
textProperties?: TextBodyOptions;
|
|
73
182
|
position?: DataLabelPosition;
|
|
74
183
|
showVal?: boolean;
|
|
75
184
|
showCatName?: boolean;
|
|
@@ -86,19 +195,72 @@ interface ChartSeriesData extends ChartSeriesCommon {
|
|
|
86
195
|
values: readonly number[];
|
|
87
196
|
}
|
|
88
197
|
type ChartType = "column" | "bar" | "line" | "pie" | "area" | "scatter" | "bubble" | "doughnut" | "radar" | "stock" | "surface" | "ofPie";
|
|
198
|
+
interface ChartTitleOptions {
|
|
199
|
+
text?: string | TextBodyOptions;
|
|
200
|
+
layout?: boolean | ManualLayoutOptions;
|
|
201
|
+
overlay?: boolean;
|
|
202
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
203
|
+
textProperties?: TextBodyOptions;
|
|
204
|
+
}
|
|
205
|
+
interface ChartStyle2010Options {
|
|
206
|
+
style: number;
|
|
207
|
+
fallbackStyle?: number;
|
|
208
|
+
}
|
|
209
|
+
interface ChartLinesOptions {
|
|
210
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
211
|
+
}
|
|
212
|
+
type ChartGrouping = "clustered" | "standard" | "stacked" | "percentStacked";
|
|
213
|
+
interface SecondaryChartGroupOptions {
|
|
214
|
+
type: ChartType;
|
|
215
|
+
series: readonly ChartSeriesData[];
|
|
216
|
+
grouping?: ChartGrouping;
|
|
217
|
+
varyColors?: boolean;
|
|
218
|
+
markers?: boolean;
|
|
219
|
+
smooth?: boolean;
|
|
220
|
+
dataLabels?: DataLabelsOptions;
|
|
221
|
+
gapWidth?: number;
|
|
222
|
+
overlap?: number;
|
|
223
|
+
gapDepth?: number;
|
|
224
|
+
seriesLines?: boolean | ChartLinesOptions;
|
|
225
|
+
dropLines?: boolean | ChartLinesOptions;
|
|
226
|
+
highLowLines?: boolean | ChartLinesOptions;
|
|
227
|
+
upDownBars?: boolean;
|
|
228
|
+
upDownBarsGapWidth?: number;
|
|
229
|
+
axisIds?: readonly number[];
|
|
230
|
+
}
|
|
89
231
|
interface ChartSpaceOptions {
|
|
90
|
-
|
|
232
|
+
dialect?: "transitional" | "strict";
|
|
233
|
+
title?: string | ChartTitleOptions;
|
|
234
|
+
date1904?: boolean;
|
|
235
|
+
lang?: string;
|
|
236
|
+
roundedCorners?: boolean;
|
|
237
|
+
style2010?: ChartStyle2010Options;
|
|
238
|
+
autoTitleDeleted?: boolean;
|
|
239
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
240
|
+
textProperties?: TextBodyOptions;
|
|
91
241
|
type: ChartType;
|
|
92
242
|
categories?: readonly string[];
|
|
243
|
+
numericCategories?: boolean;
|
|
244
|
+
categoryFormula?: string;
|
|
245
|
+
categoryFormatCode?: string;
|
|
93
246
|
multiLevelCategories?: readonly (readonly string[])[];
|
|
94
247
|
categoryLabels?: readonly string[];
|
|
95
|
-
series: readonly ChartSeriesData[] | readonly BubbleSeriesData[];
|
|
248
|
+
series: readonly ChartSeriesData[] | readonly ScatterSeriesData[] | readonly BubbleSeriesData[];
|
|
249
|
+
varyColors?: boolean;
|
|
250
|
+
grouping?: ChartGrouping;
|
|
251
|
+
markers?: boolean;
|
|
252
|
+
smooth?: boolean;
|
|
253
|
+
shape?: BarShape;
|
|
254
|
+
dataLabels?: DataLabelsOptions;
|
|
96
255
|
showLegend?: boolean;
|
|
97
256
|
style?: number;
|
|
98
257
|
threeD?: boolean;
|
|
99
258
|
view3D?: View3DOptions;
|
|
100
259
|
axes?: readonly AxisOptions[];
|
|
260
|
+
axisIds?: readonly number[];
|
|
261
|
+
secondaryGroups?: readonly SecondaryChartGroupOptions[];
|
|
101
262
|
plotAreaLayout?: ManualLayoutOptions;
|
|
263
|
+
plotAreaShapeProperties?: ShapePropertiesOptions;
|
|
102
264
|
floor?: SurfaceOptions;
|
|
103
265
|
sideWall?: SurfaceOptions;
|
|
104
266
|
backWall?: SurfaceOptions;
|
|
@@ -114,13 +276,14 @@ interface ChartSpaceOptions {
|
|
|
114
276
|
showNegativeBubbles?: boolean;
|
|
115
277
|
sizeRepresents?: SizeRepresents;
|
|
116
278
|
wireframe?: boolean;
|
|
117
|
-
highLowLines?: boolean;
|
|
279
|
+
highLowLines?: boolean | ChartLinesOptions;
|
|
118
280
|
upDownBars?: boolean;
|
|
119
281
|
upDownBarsGapWidth?: number;
|
|
120
|
-
dropLines?: boolean;
|
|
121
|
-
seriesLines?: boolean;
|
|
282
|
+
dropLines?: boolean | ChartLinesOptions;
|
|
283
|
+
seriesLines?: boolean | ChartLinesOptions;
|
|
122
284
|
dataTable?: DataTableOptions;
|
|
123
285
|
ofPieType?: OfPieType;
|
|
286
|
+
radarStyle?: RadarStyle;
|
|
124
287
|
splitType?: SplitType;
|
|
125
288
|
splitPosition?: number;
|
|
126
289
|
customSplitPoints?: readonly number[];
|
|
@@ -133,8 +296,17 @@ interface ChartSpaceOptions {
|
|
|
133
296
|
pivotFormats?: readonly ChartPivotFormatOptions[];
|
|
134
297
|
bandFormats?: readonly BandFormatOptions[];
|
|
135
298
|
legendPosition?: LegendPosition;
|
|
299
|
+
legendOverlay?: boolean;
|
|
300
|
+
legendShapeProperties?: ShapePropertiesOptions;
|
|
301
|
+
legendLayout?: boolean | ManualLayoutOptions;
|
|
302
|
+
legendTextProperties?: TextBodyOptions;
|
|
136
303
|
legendEntries?: readonly LegendEntryOptions[];
|
|
137
|
-
userShapes?:
|
|
304
|
+
userShapes?: ChartUserShapesOptions;
|
|
305
|
+
ext?: string;
|
|
306
|
+
}
|
|
307
|
+
interface ChartUserShapesOptions {
|
|
308
|
+
relationshipId?: string;
|
|
309
|
+
anchors: (RelativeSizeAnchorOptions | AbsoluteSizeAnchorOptions)[];
|
|
138
310
|
}
|
|
139
311
|
type TimeUnit = "days" | "months" | "years";
|
|
140
312
|
interface View3DOptions {
|
|
@@ -146,13 +318,13 @@ interface View3DOptions {
|
|
|
146
318
|
perspective?: number;
|
|
147
319
|
}
|
|
148
320
|
type AxisKind = "category" | "value" | "date" | "series";
|
|
149
|
-
type AxisPosition = "
|
|
321
|
+
type AxisPosition = "bottom" | "left" | "right" | "top";
|
|
150
322
|
type AxisTickMark = "cross" | "in" | "none" | "out";
|
|
151
323
|
type AxisTickLabelPosition = "high" | "low" | "nextTo" | "none";
|
|
152
|
-
type AxisCrosses = "
|
|
153
|
-
type AxisCrossBetween = "between" | "
|
|
154
|
-
type AxisOrientation = "
|
|
155
|
-
type AxisLabelAlignment = "
|
|
324
|
+
type AxisCrosses = "zero" | "max" | "min";
|
|
325
|
+
type AxisCrossBetween = "between" | "middleOfCategory";
|
|
326
|
+
type AxisOrientation = "ascending" | "descending";
|
|
327
|
+
type AxisLabelAlignment = "center" | "left" | "right";
|
|
156
328
|
type BuiltInDisplayUnit = "hundreds" | "thousands" | "tenThousands" | "hundredThousands" | "millions" | "tenMillions" | "hundredMillions" | "billions" | "trillions";
|
|
157
329
|
interface AxisScalingOptions {
|
|
158
330
|
logBase?: number;
|
|
@@ -165,17 +337,21 @@ interface DisplayUnitsOptions {
|
|
|
165
337
|
builtInUnit?: BuiltInDisplayUnit;
|
|
166
338
|
label?: boolean;
|
|
167
339
|
}
|
|
340
|
+
interface AxisNumberFormatOptions {
|
|
341
|
+
formatCode: string;
|
|
342
|
+
sourceLinked?: boolean;
|
|
343
|
+
}
|
|
168
344
|
interface AxisOptions {
|
|
169
345
|
kind: AxisKind;
|
|
170
|
-
id
|
|
171
|
-
crossAxisId
|
|
346
|
+
id?: number;
|
|
347
|
+
crossAxisId?: number;
|
|
172
348
|
scaling?: AxisScalingOptions;
|
|
173
349
|
delete?: boolean;
|
|
174
350
|
position?: AxisPosition;
|
|
175
|
-
majorGridlines?: boolean;
|
|
176
|
-
minorGridlines?: boolean;
|
|
177
|
-
title?: string;
|
|
178
|
-
numberFormat?: string;
|
|
351
|
+
majorGridlines?: boolean | ChartLinesOptions;
|
|
352
|
+
minorGridlines?: boolean | ChartLinesOptions;
|
|
353
|
+
title?: string | ChartTitleOptions;
|
|
354
|
+
numberFormat?: string | AxisNumberFormatOptions;
|
|
179
355
|
majorTickMark?: AxisTickMark;
|
|
180
356
|
minorTickMark?: AxisTickMark;
|
|
181
357
|
tickLabelPosition?: AxisTickLabelPosition;
|
|
@@ -194,11 +370,14 @@ interface AxisOptions {
|
|
|
194
370
|
minorUnit?: number;
|
|
195
371
|
crossBetween?: AxisCrossBetween;
|
|
196
372
|
displayUnits?: DisplayUnitsOptions;
|
|
373
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
374
|
+
textProperties?: TextBodyOptions;
|
|
197
375
|
}
|
|
198
376
|
type MarkerSymbol = "circle" | "dash" | "diamond" | "dot" | "none" | "picture" | "plus" | "square" | "star" | "triangle" | "x";
|
|
199
377
|
interface MarkerOptions {
|
|
200
378
|
symbol?: MarkerSymbol;
|
|
201
379
|
size?: number;
|
|
380
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
202
381
|
}
|
|
203
382
|
interface DataPointOptions {
|
|
204
383
|
index: number;
|
|
@@ -206,6 +385,7 @@ interface DataPointOptions {
|
|
|
206
385
|
marker?: MarkerOptions;
|
|
207
386
|
bubble3D?: boolean;
|
|
208
387
|
explosion?: number;
|
|
388
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
209
389
|
pictureOptions?: PictureOptionsOptions;
|
|
210
390
|
}
|
|
211
391
|
type PictureFormat = "stack" | "scale" | "stackScale" | "stretch";
|
|
@@ -232,14 +412,17 @@ interface ManualLayoutOptions {
|
|
|
232
412
|
}
|
|
233
413
|
interface SurfaceOptions {
|
|
234
414
|
thickness?: number | string;
|
|
415
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
235
416
|
}
|
|
236
417
|
type DisplayBlanksAs = "gap" | "span" | "zero";
|
|
237
|
-
type SizeRepresents = "area" | "
|
|
418
|
+
type SizeRepresents = "area" | "width";
|
|
238
419
|
interface DataTableOptions {
|
|
239
420
|
showHorizontalBorder?: boolean;
|
|
240
421
|
showVerticalBorder?: boolean;
|
|
241
422
|
showOutline?: boolean;
|
|
242
423
|
showLegendKeys?: boolean;
|
|
424
|
+
shapeProperties?: ShapePropertiesOptions;
|
|
425
|
+
textProperties?: TextBodyOptions;
|
|
243
426
|
}
|
|
244
427
|
interface ProtectionOptions {
|
|
245
428
|
chartObject?: boolean;
|
|
@@ -251,6 +434,8 @@ interface ProtectionOptions {
|
|
|
251
434
|
interface ExternalDataOptions {
|
|
252
435
|
relationshipId: string;
|
|
253
436
|
autoUpdate?: boolean;
|
|
437
|
+
data?: DataType;
|
|
438
|
+
fileName?: string;
|
|
254
439
|
}
|
|
255
440
|
interface ChartHeaderFooterOptions {
|
|
256
441
|
oddHeader?: string;
|
|
@@ -292,7 +477,8 @@ interface PrintSettingsOptions {
|
|
|
292
477
|
legacyDrawingId?: string;
|
|
293
478
|
}
|
|
294
479
|
type OfPieType = "pie" | "bar";
|
|
295
|
-
type
|
|
480
|
+
type RadarStyle = "standard" | "marker" | "filled";
|
|
481
|
+
type SplitType = "auto" | "custom" | "percent" | "position" | "value";
|
|
296
482
|
interface PivotSourceOptions {
|
|
297
483
|
name: string;
|
|
298
484
|
formatId: number;
|
|
@@ -304,81 +490,15 @@ interface ChartPivotFormatOptions {
|
|
|
304
490
|
interface BandFormatOptions {
|
|
305
491
|
index: number;
|
|
306
492
|
}
|
|
307
|
-
type LegendPosition = "
|
|
493
|
+
type LegendPosition = "bottom" | "topRight" | "left" | "right" | "top";
|
|
308
494
|
interface LegendEntryOptions {
|
|
309
495
|
index: number;
|
|
310
496
|
delete?: boolean;
|
|
497
|
+
textProperties?: TextBodyOptions;
|
|
311
498
|
}
|
|
312
499
|
//#endregion
|
|
313
500
|
//#region src/chart/chart-descriptors.d.ts
|
|
314
501
|
declare const chartSpaceDesc: CustomDescriptor<ChartSpaceOptions>;
|
|
315
502
|
//#endregion
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
x: number;
|
|
319
|
-
y: number;
|
|
320
|
-
}
|
|
321
|
-
interface UserShapeExtentOptions {
|
|
322
|
-
width: number;
|
|
323
|
-
height: number;
|
|
324
|
-
}
|
|
325
|
-
interface RelativeSizeAnchorOptions {
|
|
326
|
-
from: UserShapeMarkerOptions;
|
|
327
|
-
to: UserShapeMarkerOptions;
|
|
328
|
-
object: UserShapeObjectOptions;
|
|
329
|
-
}
|
|
330
|
-
interface AbsoluteSizeAnchorOptions {
|
|
331
|
-
from: UserShapeMarkerOptions;
|
|
332
|
-
extent: UserShapeExtentOptions;
|
|
333
|
-
object: UserShapeObjectOptions;
|
|
334
|
-
}
|
|
335
|
-
interface ObjectCommonAttributes {
|
|
336
|
-
id: number;
|
|
337
|
-
macro?: string;
|
|
338
|
-
published?: boolean;
|
|
339
|
-
}
|
|
340
|
-
interface UserShapeShapeOptions extends ObjectCommonAttributes {
|
|
341
|
-
type: "shape";
|
|
342
|
-
nonVisualProperties?: NonVisualDrawingPropertiesOptions;
|
|
343
|
-
textBox?: boolean;
|
|
344
|
-
shapeProperties: ShapePropertiesOptions;
|
|
345
|
-
style?: DefaultShapeStyleOptions;
|
|
346
|
-
textBody?: TextBodyOptions;
|
|
347
|
-
textLink?: string;
|
|
348
|
-
locksText?: boolean;
|
|
349
|
-
}
|
|
350
|
-
interface UserShapeConnectorOptions extends ObjectCommonAttributes {
|
|
351
|
-
type: "connector";
|
|
352
|
-
nonVisualProperties?: NonVisualDrawingPropertiesOptions;
|
|
353
|
-
shapeProperties: ShapePropertiesOptions;
|
|
354
|
-
style?: DefaultShapeStyleOptions;
|
|
355
|
-
}
|
|
356
|
-
interface UserShapePictureOptions extends ObjectCommonAttributes {
|
|
357
|
-
type: "picture";
|
|
358
|
-
nonVisualProperties?: NonVisualDrawingPropertiesOptions;
|
|
359
|
-
referenceId: string;
|
|
360
|
-
blipFill?: BlipFillOptions;
|
|
361
|
-
shapeProperties: ShapePropertiesOptions;
|
|
362
|
-
style?: DefaultShapeStyleOptions;
|
|
363
|
-
}
|
|
364
|
-
interface UserShapeGraphicFrameOptions extends ObjectCommonAttributes {
|
|
365
|
-
type: "graphicFrame";
|
|
366
|
-
nonVisualProperties?: NonVisualDrawingPropertiesOptions;
|
|
367
|
-
graphicFrameLocks?: GraphicFrameLockingOptions | null;
|
|
368
|
-
transform: Transform2DOptions;
|
|
369
|
-
graphic: string;
|
|
370
|
-
}
|
|
371
|
-
interface UserShapeGroupOptions extends ObjectCommonAttributes {
|
|
372
|
-
type: "group";
|
|
373
|
-
nonVisualProperties?: NonVisualDrawingPropertiesOptions;
|
|
374
|
-
groupShapeProperties: GroupShapePropertiesOptions;
|
|
375
|
-
children: UserShapeObjectOptions[];
|
|
376
|
-
}
|
|
377
|
-
type UserShapeObjectOptions = UserShapeShapeOptions | UserShapeConnectorOptions | UserShapePictureOptions | UserShapeGraphicFrameOptions | UserShapeGroupOptions;
|
|
378
|
-
interface UserShapesOptions {
|
|
379
|
-
anchors: (RelativeSizeAnchorOptions | AbsoluteSizeAnchorOptions)[];
|
|
380
|
-
}
|
|
381
|
-
declare const userShapesDesc: CustomDescriptor<UserShapesOptions>;
|
|
382
|
-
//#endregion
|
|
383
|
-
export { MarkerOptions as $, ChartPageSetupOptions as A, DataTableOptions as B, AxisTickMark as C, BuiltInDisplayUnit as D, BubbleSeriesData as E, ChartType as F, ErrorBarType as G, DisplayUnitsOptions as H, DataLabelOptions as I, LayoutMode as J, ErrorValueType as K, DataLabelPosition as L, ChartSeriesCommon as M, ChartSeriesData as N, ChartHeaderFooterOptions as O, ChartSpaceOptions as P, ManualLayoutOptions as Q, DataLabelsOptions as R, AxisTickLabelPosition as S, BarShape as T, ErrorBarDirection as U, DisplayBlanksAs as V, ErrorBarOptions as W, LegendEntryOptions as X, LayoutTarget as Y, LegendPosition as Z, AxisLabelAlignment as _, ChartData as _t, UserShapeGraphicFrameOptions as a, PivotSourceOptions as at, AxisPosition as b, UserShapeObjectOptions as c, SizeRepresents as ct, UserShapesOptions as d, TimeUnit as dt, MarkerSymbol as et, userShapesDesc as f, TrendlineLabelOptions as ft, AxisKind as g, ChartCollection as gt, AxisCrosses as h, View3DOptions as ht, UserShapeExtentOptions as i, PictureOptionsOptions as it, ChartPivotFormatOptions as j, ChartPageMarginsOptions as k, UserShapePictureOptions as l, SplitType as lt, AxisCrossBetween as m, TrendlineType as mt, RelativeSizeAnchorOptions as n, PageSetupOrientation as nt, UserShapeGroupOptions as o, PrintSettingsOptions as ot, chartSpaceDesc as p, TrendlineOptions as pt, ExternalDataOptions as q, UserShapeConnectorOptions as r, PictureFormat as rt, UserShapeMarkerOptions as s, ProtectionOptions as st, AbsoluteSizeAnchorOptions as t, OfPieType as tt, UserShapeShapeOptions as u, SurfaceOptions as ut, AxisOptions as v, BandFormatOptions as w, AxisScalingOptions as x, AxisOrientation as y, DataPointOptions as z };
|
|
384
|
-
//# sourceMappingURL=index-DxwLMnBF.d.mts.map
|
|
503
|
+
export { PivotSourceOptions as $, DataLabelOptions as A, ErrorValueType as B, ChartSeriesCommon as C, UserShapesOptions as Ct, ChartTitleOptions as D, ChartData as Dt, ChartStyle2010Options as E, ChartCollection as Et, DisplayBlanksAs as F, LegendPosition as G, LayoutMode as H, DisplayUnitsOptions as I, MarkerSymbol as J, ManualLayoutOptions as K, ErrorBarDirection as L, DataLabelsOptions as M, DataPointOptions as N, ChartType as O, DataTableOptions as P, PictureOptionsOptions as Q, ErrorBarOptions as R, ChartPivotFormatOptions as S, UserShapeShapeOptions as St, ChartSpaceOptions as T, userShapesDesc as Tt, LayoutTarget as U, ExternalDataOptions as V, LegendEntryOptions as W, PageSetupOrientation as X, OfPieType as Y, PictureFormat as Z, ChartGrouping as _, UserShapeGraphicFrameOptions as _t, AxisLabelAlignment as a, SizeRepresents as at, ChartPageMarginsOptions as b, UserShapeObjectOptions as bt, AxisOrientation as c, TimeUnit as ct, AxisTickLabelPosition as d, TrendlineType as dt, PrintSettingsOptions as et, AxisTickMark as f, View3DOptions as ft, BuiltInDisplayUnit as g, UserShapeExtentOptions as gt, BubbleSeriesData as h, UserShapeConnectorOptions as ht, AxisKind as i, SecondaryChartGroupOptions as it, DataLabelPosition as j, ChartUserShapesOptions as k, AxisPosition as l, TrendlineLabelOptions as lt, BarShape as m, RelativeSizeAnchorOptions as mt, AxisCrossBetween as n, RadarStyle as nt, AxisNumberFormatOptions as o, SplitType as ot, BandFormatOptions as p, AbsoluteSizeAnchorOptions as pt, MarkerOptions as q, AxisCrosses as r, ScatterSeriesData as rt, AxisOptions as s, SurfaceOptions as st, chartSpaceDesc as t, ProtectionOptions as tt, AxisScalingOptions as u, TrendlineOptions as ut, ChartHeaderFooterOptions as v, UserShapeGroupOptions as vt, ChartSeriesData as w, buildUserShapesData as wt, ChartPageSetupOptions as x, UserShapePictureOptions as xt, ChartLinesOptions as y, UserShapeMarkerOptions as yt, ErrorBarType as z };
|
|
504
|
+
//# sourceMappingURL=index-k1h_t946.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-k1h_t946.d.mts","names":[],"sources":["../src/chart/chart-collection.ts","../src/chart/user-shapes/user-shapes.ts","../src/chart/types.ts","../src/chart/chart-descriptors.ts"],"mappings":";;;;;UAOiB;EACf;EACA;EAKA;IACE;IACA;IACA,MAAM;;EAMR;IACE;IACA;;;cAIS;UACH;;EAMD,SAAS,aAAa,WAAW;MAI7B,SAAS;;;;UCaL;EACf;EACA;;UAIe;EACf;EACA;;UAIe;EACf,MAAM;EACN,IAAI;EACJ,QAAQ;;UAIO;EACf,MAAM;EACN,QAAQ;EACR,QAAQ;;UAMA;EAER;EAEA;EAEA;;UAGe,8BAA8B;EAC7C;EAEA,sBAAsB;EAEtB;EACA,iBAAiB;EACjB,QAAQ;EACR,WAAW;EAEX;EAEA;;UAGe,kCAAkC;EACjD;EACA,sBAAsB;EACtB,iBAAiB;EACjB,QAAQ;;UAGO,gCAAgC;EAC/C;EACA,sBAAsB;EAEtB;EACA,WAAW;EACX,iBAAiB;EACjB,QAAQ;;UAGO,qCAAqC;EACpD;EACA,sBAAsB;EAEtB,oBAAoB;EAEpB,WAAW;EAKX;;UAGe,8BAA8B;EAC7C;EACA,sBAAsB;EACtB,sBAAsB;EACtB,UAAU;;KAGA,yBACR,wBACA,4BACA,0BACA,+BACA;UAGa;EACf,UAAU,4BAA4B;;cAuS3B,gBAAgB,iBAAiB;iBA8E9B,oBAAoB;EAClC;EACA,SAAS;;EACL;EAAwB;;;;U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