@silurus/ooxml 0.78.1 → 0.79.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 +39 -1
- package/THIRD_PARTY_NOTICES.md +13 -0
- package/dist/{canvas-viewer-mechanics-B4K_t5X_.js → canvas-viewer-mechanics-DJ9yfiLN.js} +1 -1
- package/dist/chart-number-format-tjYUR9eS.js +435 -0
- package/dist/dash-CMzZIDz_.js +824 -0
- package/dist/{document-pull-client-5AakVD6e.js → document-pull-client-DYoybVCn.js} +2119 -2113
- package/dist/{docx-bjhRwb2u.js → docx-CSk_-kj_.js} +65 -56
- package/dist/docx.mjs +4 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-BVFW1-Hs.js → line-distribute-CU7vu7XS.js} +1 -1
- package/dist/{line-metrics-DS0NS2Iq.js → line-metrics-A77J_KRx.js} +4229 -3233
- package/dist/math.mjs +1 -1
- package/dist/node.mjs +322 -322
- package/dist/{pptx-D1rCrHGR.js → pptx-CO1Ut97p.js} +192 -183
- package/dist/pptx.mjs +5 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +12708 -0
- package/dist/{render-DhlT5jxZ.js → render-C5m7Ddwx.js} +1 -1
- package/dist/render-worker-host-BhMT5U73.js +27 -0
- package/dist/render-worker-host-DNMxGh5s.js +27 -0
- package/dist/render-worker-host-DWyg7wio.js +27 -0
- package/dist/{resource-measurement-BA-4Q-II.js → resource-measurement-COxqtfGk.js} +1 -1
- package/dist/{session-C_HGxbRD.js → session-CJwZaquG.js} +10 -10
- package/dist/{slide-pull-client-BiC4sVGi.js → slide-pull-client-CFHNk0ek.js} +584 -583
- package/dist/three-d.mjs +2426 -0
- package/dist/types/docx.d.ts +251 -16
- package/dist/types/index.d.ts +266 -20
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +225 -1
- package/dist/types/pptx.d.ts +253 -16
- package/dist/types/region-map.d.ts +586 -0
- package/dist/types/three-d.d.ts +586 -0
- package/dist/types/xlsx.d.ts +256 -16
- package/dist/{worksheet-pull-client-BnvgeqfG.js → worksheet-pull-client-CziyJf24.js} +13 -13
- package/dist/{xlsx-BG_WYSc0.js → xlsx-DHQmjAfh.js} +1246 -1073
- package/dist/xlsx.mjs +5 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +13 -1
- package/dist/render-worker-host-CtJo7hc9.js +0 -27
- package/dist/render-worker-host-D8vv-Asx.js +0 -27
- package/dist/render-worker-host-DAjG9nmw.js +0 -27
- /package/dist/{highlight-rect-CAkCWJ37.js → highlight-rect-cCvVU-MW.js} +0 -0
- /package/dist/{mathjax-CMjda8Ip.js → mathjax-Dqo857oC.js} +0 -0
- /package/dist/{transfer-DCu4c2BL.js → transfer-3QEJrsJa.js} +0 -0
- /package/dist/{visible-index-CgyJLAS_.js → visible-index-CKvgpUrf.js} +0 -0
|
@@ -0,0 +1,586 @@
|
|
|
1
|
+
//#region dist/.types-work/chart-BFzw-erU.d.ts
|
|
2
|
+
interface SolidFill {
|
|
3
|
+
fillType: 'solid';
|
|
4
|
+
color: string;
|
|
5
|
+
}
|
|
6
|
+
interface GradientStop {
|
|
7
|
+
position: number;
|
|
8
|
+
color: string;
|
|
9
|
+
}
|
|
10
|
+
interface GradientFill {
|
|
11
|
+
fillType: 'gradient';
|
|
12
|
+
stops: GradientStop[];
|
|
13
|
+
angle: number;
|
|
14
|
+
gradType: string;
|
|
15
|
+
scaled?: boolean;
|
|
16
|
+
path?: 'shape' | 'circle' | 'rect' | string;
|
|
17
|
+
fillToRect?: FillRect;
|
|
18
|
+
tileRect?: FillRect;
|
|
19
|
+
flip?: 'none' | 'x' | 'y' | 'xy' | string;
|
|
20
|
+
rotWithShape?: boolean;
|
|
21
|
+
}
|
|
22
|
+
interface PatternFill {
|
|
23
|
+
fillType: 'pattern';
|
|
24
|
+
fg: string;
|
|
25
|
+
bg: string;
|
|
26
|
+
preset: string;
|
|
27
|
+
}
|
|
28
|
+
interface FillRect {
|
|
29
|
+
l?: number;
|
|
30
|
+
t?: number;
|
|
31
|
+
r?: number;
|
|
32
|
+
b?: number;
|
|
33
|
+
}
|
|
34
|
+
interface ChartSeries {
|
|
35
|
+
name: string;
|
|
36
|
+
chartexFormatIdx?: number | null;
|
|
37
|
+
color: string | null;
|
|
38
|
+
fillPattern?: PatternFill | null;
|
|
39
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
40
|
+
lineColor?: string | null;
|
|
41
|
+
lineWidthEmu?: number | null;
|
|
42
|
+
threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
|
|
43
|
+
values: (number | null)[];
|
|
44
|
+
dataPointColors?: (string | null)[] | null;
|
|
45
|
+
dataLabelColors?: (string | null)[] | null;
|
|
46
|
+
labelColor?: string | null;
|
|
47
|
+
seriesType?: string | null;
|
|
48
|
+
useSecondaryAxis?: boolean | null;
|
|
49
|
+
categories?: string[] | null;
|
|
50
|
+
showMarker?: boolean | null;
|
|
51
|
+
valFormatCode?: string | null;
|
|
52
|
+
catFormatCode?: string | null;
|
|
53
|
+
catFormatCodes?: (string | null)[] | null;
|
|
54
|
+
markerSymbol?: string | null;
|
|
55
|
+
markerSize?: number | null;
|
|
56
|
+
markerFill?: string | null;
|
|
57
|
+
markerLine?: string | null;
|
|
58
|
+
markerLineWidthEmu?: number | null;
|
|
59
|
+
dataPointOverrides?: ChartDataPointOverride[] | null;
|
|
60
|
+
dataLabelOverrides?: ChartDataLabelOverride[] | null;
|
|
61
|
+
seriesDataLabels?: ChartSeriesDataLabels | null;
|
|
62
|
+
errBars?: ChartErrBars[] | null;
|
|
63
|
+
bubbleSizes?: (number | null)[] | null;
|
|
64
|
+
smooth?: boolean | null;
|
|
65
|
+
trendLines?: ChartTrendline[] | null;
|
|
66
|
+
lineHidden?: boolean | null;
|
|
67
|
+
}
|
|
68
|
+
interface ChartTrendline {
|
|
69
|
+
trendlineType: string;
|
|
70
|
+
order?: number | null;
|
|
71
|
+
period?: number | null;
|
|
72
|
+
forward?: number | null;
|
|
73
|
+
backward?: number | null;
|
|
74
|
+
intercept?: number | null;
|
|
75
|
+
dispRSqr?: boolean | null;
|
|
76
|
+
dispEq?: boolean | null;
|
|
77
|
+
labelManualLayout?: ChartManualLayout | null;
|
|
78
|
+
labelText?: string | null;
|
|
79
|
+
labelFontSizeHpt?: number | null;
|
|
80
|
+
labelFontBold?: boolean | null;
|
|
81
|
+
labelFontItalic?: boolean | null;
|
|
82
|
+
labelFontColor?: string | null;
|
|
83
|
+
labelFontFace?: string | null;
|
|
84
|
+
labelBox?: ChartLabelBox | null;
|
|
85
|
+
labelTextAlign?: string | null;
|
|
86
|
+
lineColor?: string | null;
|
|
87
|
+
lineWidthEmu?: number | null;
|
|
88
|
+
lineDash?: string | null;
|
|
89
|
+
lineHidden?: boolean | null;
|
|
90
|
+
}
|
|
91
|
+
interface ChartDataPointOverride {
|
|
92
|
+
idx: number;
|
|
93
|
+
color?: string;
|
|
94
|
+
fillHidden?: boolean;
|
|
95
|
+
lineColor?: string;
|
|
96
|
+
lineWidthEmu?: number;
|
|
97
|
+
lineDash?: string;
|
|
98
|
+
lineHidden?: boolean;
|
|
99
|
+
markerSymbol?: string;
|
|
100
|
+
markerSize?: number;
|
|
101
|
+
markerFill?: string;
|
|
102
|
+
markerLine?: string;
|
|
103
|
+
markerLineWidthEmu?: number;
|
|
104
|
+
explosion?: number;
|
|
105
|
+
}
|
|
106
|
+
interface ChartDataLabelOverride {
|
|
107
|
+
idx: number;
|
|
108
|
+
text: string;
|
|
109
|
+
richRuns?: ChartTextRun[];
|
|
110
|
+
position?: string;
|
|
111
|
+
fontColor?: string;
|
|
112
|
+
fontSizeHpt?: number;
|
|
113
|
+
fontFace?: string;
|
|
114
|
+
fontBold?: boolean;
|
|
115
|
+
formatCode?: string;
|
|
116
|
+
separator?: string;
|
|
117
|
+
manualLayout?: ChartManualLayout;
|
|
118
|
+
labelBox?: ChartLabelBox;
|
|
119
|
+
showVal?: boolean;
|
|
120
|
+
showCatName?: boolean;
|
|
121
|
+
showSerName?: boolean;
|
|
122
|
+
showPercent?: boolean;
|
|
123
|
+
deleted?: boolean;
|
|
124
|
+
}
|
|
125
|
+
interface ChartLabelBox {
|
|
126
|
+
fill?: string;
|
|
127
|
+
borderColor?: string;
|
|
128
|
+
borderWidthEmu?: number;
|
|
129
|
+
}
|
|
130
|
+
interface ChartSeriesDataLabels {
|
|
131
|
+
showVal: boolean;
|
|
132
|
+
showCatName: boolean;
|
|
133
|
+
showSerName: boolean;
|
|
134
|
+
showPercent: boolean;
|
|
135
|
+
position?: string;
|
|
136
|
+
fontColor?: string;
|
|
137
|
+
formatCode?: string;
|
|
138
|
+
separator?: string;
|
|
139
|
+
fontBold?: boolean;
|
|
140
|
+
fontSizeHpt?: number;
|
|
141
|
+
fontFace?: string;
|
|
142
|
+
labelBox?: ChartLabelBox;
|
|
143
|
+
showLeaderLines?: boolean;
|
|
144
|
+
leaderLineColor?: string;
|
|
145
|
+
leaderLineWidthEmu?: number;
|
|
146
|
+
}
|
|
147
|
+
interface ChartErrBars {
|
|
148
|
+
dir: string;
|
|
149
|
+
barType: string;
|
|
150
|
+
plus: (number | null)[];
|
|
151
|
+
minus: (number | null)[];
|
|
152
|
+
noEndCap: boolean;
|
|
153
|
+
color?: string;
|
|
154
|
+
lineWidthEmu?: number;
|
|
155
|
+
dash?: string;
|
|
156
|
+
}
|
|
157
|
+
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
|
|
158
|
+
interface ChartExElementStyle {
|
|
159
|
+
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
160
|
+
fillColors?: Array<string | null> | null;
|
|
161
|
+
fillHidden?: boolean | null;
|
|
162
|
+
fillNoStyle?: boolean | null;
|
|
163
|
+
lineColors?: Array<string | null> | null;
|
|
164
|
+
lineWidthEmu?: number | null;
|
|
165
|
+
lineHidden?: boolean | null;
|
|
166
|
+
lineNoStyle?: boolean | null;
|
|
167
|
+
lineDash?: string | null;
|
|
168
|
+
lineCap?: string | null;
|
|
169
|
+
lineJoin?: string | null;
|
|
170
|
+
fillColorIndex?: number | null;
|
|
171
|
+
lineColorIndex?: number | null;
|
|
172
|
+
}
|
|
173
|
+
interface ChartModel {
|
|
174
|
+
chartType: ChartType;
|
|
175
|
+
title: string | null;
|
|
176
|
+
titlePresent?: boolean;
|
|
177
|
+
categories: string[];
|
|
178
|
+
series: ChartSeries[];
|
|
179
|
+
chartTextBoxes?: ChartTextBox[] | null;
|
|
180
|
+
varyColors?: boolean | null;
|
|
181
|
+
showDataLabels: boolean;
|
|
182
|
+
valMin: number | null;
|
|
183
|
+
valMax: number | null;
|
|
184
|
+
catAxisTitle: string | null;
|
|
185
|
+
valAxisTitle: string | null;
|
|
186
|
+
catAxisHidden: boolean;
|
|
187
|
+
valAxisHidden: boolean;
|
|
188
|
+
catAxisLineHidden: boolean;
|
|
189
|
+
valAxisLineHidden: boolean;
|
|
190
|
+
plotAreaBg: string | null;
|
|
191
|
+
chartBg: string | null;
|
|
192
|
+
showLegend: boolean;
|
|
193
|
+
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
194
|
+
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
195
|
+
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
196
|
+
catAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
197
|
+
valAxisMinorTickMark?: 'cross' | 'out' | 'in' | 'none' | string | null;
|
|
198
|
+
catAxisMinorTickMark?: 'cross' | 'out' | 'in' | 'none' | string | null;
|
|
199
|
+
titleFontSizeHpt: number | null;
|
|
200
|
+
titleFontColor: string | null;
|
|
201
|
+
titleFontFace: string | null;
|
|
202
|
+
catAxisFontSizeHpt: number | null;
|
|
203
|
+
valAxisFontSizeHpt: number | null;
|
|
204
|
+
catAxisFontColor?: string | null;
|
|
205
|
+
valAxisFontColor?: string | null;
|
|
206
|
+
dataLabelFontSizeHpt: number | null;
|
|
207
|
+
dataLabelFontBold?: boolean | null;
|
|
208
|
+
subtotalIndices: number[];
|
|
209
|
+
legendManualLayout?: LegendManualLayout | null;
|
|
210
|
+
valAxisFormatCode?: string | null;
|
|
211
|
+
valAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
212
|
+
catAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
213
|
+
barGapWidth?: number | null;
|
|
214
|
+
barOverlap?: number | null;
|
|
215
|
+
dataLabelPosition?: string | null;
|
|
216
|
+
dataLabelFontColor?: string | null;
|
|
217
|
+
dataLabelFormatCode?: string | null;
|
|
218
|
+
titleFontBold?: boolean | null;
|
|
219
|
+
catAxisFontBold?: boolean | null;
|
|
220
|
+
catAxisFontItalic?: boolean | null;
|
|
221
|
+
valAxisFontBold?: boolean | null;
|
|
222
|
+
valAxisFontItalic?: boolean | null;
|
|
223
|
+
catAxisTitleFontSizeHpt?: number | null;
|
|
224
|
+
catAxisTitleFontBold?: boolean | null;
|
|
225
|
+
catAxisTitleFontItalic?: boolean | null;
|
|
226
|
+
catAxisTitleFontColor?: string | null;
|
|
227
|
+
catAxisTitleRotation?: number | null;
|
|
228
|
+
catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
229
|
+
catAxisTitleManualLayout?: ChartManualLayout | null;
|
|
230
|
+
valAxisTitleFontSizeHpt?: number | null;
|
|
231
|
+
valAxisTitleFontBold?: boolean | null;
|
|
232
|
+
valAxisTitleFontItalic?: boolean | null;
|
|
233
|
+
valAxisTitleFontColor?: string | null;
|
|
234
|
+
valAxisTitleRotation?: number | null;
|
|
235
|
+
valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
236
|
+
valAxisTitleManualLayout?: ChartManualLayout | null;
|
|
237
|
+
catAxisFontFace?: string | null;
|
|
238
|
+
valAxisFontFace?: string | null;
|
|
239
|
+
catAxisTitleFontFace?: string | null;
|
|
240
|
+
valAxisTitleFontFace?: string | null;
|
|
241
|
+
dataLabelFontFace?: string | null;
|
|
242
|
+
legendFontFace?: string | null;
|
|
243
|
+
legendFontColor?: string | null;
|
|
244
|
+
legendFontSizeHpt?: number | null;
|
|
245
|
+
legendFontBold?: boolean | null;
|
|
246
|
+
legendFillColor?: string | null;
|
|
247
|
+
legendLineColor?: string | null;
|
|
248
|
+
legendLineWidthEmu?: number | null;
|
|
249
|
+
themeMajorFontLatin?: string | null;
|
|
250
|
+
themeMinorFontLatin?: string | null;
|
|
251
|
+
chartBorderColor?: string | null;
|
|
252
|
+
chartBorderWidthEmu?: number | null;
|
|
253
|
+
catAxisCrosses?: string | null;
|
|
254
|
+
catAxisCrossesAt?: number | null;
|
|
255
|
+
valAxisCrosses?: string | null;
|
|
256
|
+
valAxisCrossesAt?: number | null;
|
|
257
|
+
catAxisLineColor?: string | null;
|
|
258
|
+
catAxisLineWidthEmu?: number | null;
|
|
259
|
+
valAxisLineColor?: string | null;
|
|
260
|
+
valAxisLineWidthEmu?: number | null;
|
|
261
|
+
catAxisFormatCode?: string | null;
|
|
262
|
+
catAxisMin?: number | null;
|
|
263
|
+
catAxisMax?: number | null;
|
|
264
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
265
|
+
plotAreaManualLayout?: ChartManualLayout | null;
|
|
266
|
+
scatterStyle?: string | null;
|
|
267
|
+
bubbleScale?: number | null;
|
|
268
|
+
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
269
|
+
showNegativeBubbles?: boolean | null;
|
|
270
|
+
radarStyle?: string | null;
|
|
271
|
+
secondaryValAxis?: SecondaryValueAxis | null;
|
|
272
|
+
secondaryCatAxis?: SecondaryValueAxis | null;
|
|
273
|
+
date1904?: boolean;
|
|
274
|
+
holeSize?: number | null;
|
|
275
|
+
firstSliceAngle?: number | null;
|
|
276
|
+
dispBlanksAs?: string | null;
|
|
277
|
+
valAxisMajorGridlines?: boolean | null;
|
|
278
|
+
catAxisMajorGridlines?: boolean | null;
|
|
279
|
+
valAxisGridlineColor?: string | null;
|
|
280
|
+
valAxisGridlineWidthEmu?: number | null;
|
|
281
|
+
valAxisGridlineDash?: string | null;
|
|
282
|
+
catAxisGridlineColor?: string | null;
|
|
283
|
+
catAxisGridlineWidthEmu?: number | null;
|
|
284
|
+
catAxisGridlineDash?: string | null;
|
|
285
|
+
valAxisMinorGridlines?: boolean | null;
|
|
286
|
+
valAxisMinorGridlineColor?: string | null;
|
|
287
|
+
valAxisMinorGridlineWidthEmu?: number | null;
|
|
288
|
+
valAxisMinorGridlineDash?: string | null;
|
|
289
|
+
catAxisMinorGridlines?: boolean | null;
|
|
290
|
+
catAxisMinorGridlineColor?: string | null;
|
|
291
|
+
catAxisMinorGridlineWidthEmu?: number | null;
|
|
292
|
+
catAxisMinorGridlineDash?: string | null;
|
|
293
|
+
valAxisMajorUnit?: number | null;
|
|
294
|
+
valAxisMinorUnit?: number | null;
|
|
295
|
+
catAxisMajorUnit?: number | null;
|
|
296
|
+
catAxisMinorUnit?: number | null;
|
|
297
|
+
valAxisLogBase?: number | null;
|
|
298
|
+
catAxisLogBase?: number | null;
|
|
299
|
+
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
300
|
+
catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
301
|
+
catAxisTickLabelPos?: string | null;
|
|
302
|
+
catAxisTickLabelSkip?: number | null;
|
|
303
|
+
catAxisTickMarkSkip?: number | null;
|
|
304
|
+
valAxisTickLabelPos?: string | null;
|
|
305
|
+
catAxisLabelRotation?: number | null;
|
|
306
|
+
stockHiLowLines?: boolean | null;
|
|
307
|
+
stockHiLowLineColor?: string | null;
|
|
308
|
+
stockUpDownBars?: boolean | null;
|
|
309
|
+
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
310
|
+
ofPie?: ChartOfPie | null;
|
|
311
|
+
threeD?: ChartThreeD | null;
|
|
312
|
+
chartexBox?: ChartexBoxWhisker | null;
|
|
313
|
+
chartexSunburst?: ChartexSunburst | null;
|
|
314
|
+
chartexTreemap?: ChartexTreemap | null;
|
|
315
|
+
chartexRegionMap?: ChartexRegionMap | null;
|
|
316
|
+
chartexHistogramBinning?: ChartexHistogramBinning | null;
|
|
317
|
+
chartexAccents?: string[] | null;
|
|
318
|
+
chartexColorPalette?: Array<string | null> | null;
|
|
319
|
+
chartexColorStyleMethod?: string | null;
|
|
320
|
+
chartexDataPointStyle?: ChartExElementStyle | null;
|
|
321
|
+
chartexDataPointLineStyle?: ChartExElementStyle | null;
|
|
322
|
+
chartexSeriesLineStyle?: ChartExElementStyle | null;
|
|
323
|
+
chartexDataPointMarkerStyle?: ChartExElementStyle | null;
|
|
324
|
+
chartexMarkerSizePt?: number | null;
|
|
325
|
+
chartexMarkerSymbol?: string | null;
|
|
326
|
+
chartexConnectorLines?: boolean | null;
|
|
327
|
+
}
|
|
328
|
+
interface ChartStockBarPaint {
|
|
329
|
+
fillColor?: string | null;
|
|
330
|
+
fillHidden?: boolean | null;
|
|
331
|
+
lineColor?: string | null;
|
|
332
|
+
lineWidthEmu?: number | null;
|
|
333
|
+
lineHidden?: boolean | null;
|
|
334
|
+
}
|
|
335
|
+
interface ChartStockUpDownBarStyle {
|
|
336
|
+
gapWidthPercent: number;
|
|
337
|
+
up: ChartStockBarPaint;
|
|
338
|
+
down: ChartStockBarPaint;
|
|
339
|
+
}
|
|
340
|
+
interface ChartOfPie {
|
|
341
|
+
type: 'pie' | 'bar';
|
|
342
|
+
splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
|
|
343
|
+
splitPos?: number | null;
|
|
344
|
+
customSplitIndices?: number[] | null;
|
|
345
|
+
secondPieSizePercent: number;
|
|
346
|
+
gapWidthPercent: number;
|
|
347
|
+
seriesLines: boolean;
|
|
348
|
+
}
|
|
349
|
+
interface ChartThreeDSurface {
|
|
350
|
+
fillColor?: string | null;
|
|
351
|
+
fillHidden?: boolean | null;
|
|
352
|
+
lineColor?: string | null;
|
|
353
|
+
lineWidthEmu?: number | null;
|
|
354
|
+
lineDash?: string | null;
|
|
355
|
+
lineHidden?: boolean | null;
|
|
356
|
+
}
|
|
357
|
+
interface ChartThreeD {
|
|
358
|
+
rotationX?: number | null;
|
|
359
|
+
rotationY?: number | null;
|
|
360
|
+
heightPercent?: number | null;
|
|
361
|
+
depthPercent?: number | null;
|
|
362
|
+
perspective?: number | null;
|
|
363
|
+
rightAngleAxes?: boolean | null;
|
|
364
|
+
gapDepthPercent?: number | null;
|
|
365
|
+
shape?: string | null;
|
|
366
|
+
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
367
|
+
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
368
|
+
floor?: ChartThreeDSurface | null;
|
|
369
|
+
sideWall?: ChartThreeDSurface | null;
|
|
370
|
+
backWall?: ChartThreeDSurface | null;
|
|
371
|
+
}
|
|
372
|
+
interface ChartThreeDSeriesAxis {
|
|
373
|
+
title?: string | null;
|
|
374
|
+
hidden: boolean;
|
|
375
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
376
|
+
tickLabelPos?: string | null;
|
|
377
|
+
tickLabelSkip?: number | null;
|
|
378
|
+
tickMarkSkip?: number | null;
|
|
379
|
+
majorTickMark: string;
|
|
380
|
+
fontColor?: string | null;
|
|
381
|
+
fontSizeHpt?: number | null;
|
|
382
|
+
fontBold?: boolean | null;
|
|
383
|
+
fontItalic?: boolean | null;
|
|
384
|
+
fontFace?: string | null;
|
|
385
|
+
lineColor?: string | null;
|
|
386
|
+
lineWidthEmu?: number | null;
|
|
387
|
+
lineHidden: boolean;
|
|
388
|
+
titleFontSizeHpt?: number | null;
|
|
389
|
+
titleFontBold?: boolean | null;
|
|
390
|
+
titleFontItalic?: boolean | null;
|
|
391
|
+
titleFontColor?: string | null;
|
|
392
|
+
titleFontFace?: string | null;
|
|
393
|
+
titleRotation?: number | null;
|
|
394
|
+
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
395
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
396
|
+
}
|
|
397
|
+
interface ChartTextRun {
|
|
398
|
+
text: string;
|
|
399
|
+
fontSizeHpt?: number | null;
|
|
400
|
+
bold?: boolean | null;
|
|
401
|
+
color?: string | null;
|
|
402
|
+
fontFace?: string | null;
|
|
403
|
+
}
|
|
404
|
+
interface ChartTextParagraph {
|
|
405
|
+
runs: ChartTextRun[];
|
|
406
|
+
align?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
|
|
407
|
+
}
|
|
408
|
+
interface ChartTextBox {
|
|
409
|
+
x: number;
|
|
410
|
+
y: number;
|
|
411
|
+
w: number;
|
|
412
|
+
h: number;
|
|
413
|
+
paragraphs: ChartTextParagraph[];
|
|
414
|
+
verticalAnchor?: 't' | 'ctr' | 'b' | 'just' | 'dist' | string | null;
|
|
415
|
+
wrap?: 'none' | 'square' | string | null;
|
|
416
|
+
lIns?: number;
|
|
417
|
+
tIns?: number;
|
|
418
|
+
rIns?: number;
|
|
419
|
+
bIns?: number;
|
|
420
|
+
}
|
|
421
|
+
interface ChartexBoxSeries {
|
|
422
|
+
name: string;
|
|
423
|
+
chartexFormatIdx?: number | null;
|
|
424
|
+
color?: string | null;
|
|
425
|
+
lineColor?: string | null;
|
|
426
|
+
lineWidthEmu?: number | null;
|
|
427
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
428
|
+
valuesByCategory: number[][];
|
|
429
|
+
meanMarker: boolean;
|
|
430
|
+
meanLine: boolean;
|
|
431
|
+
showOutliers: boolean;
|
|
432
|
+
showNonoutliers: boolean;
|
|
433
|
+
quartileMethod: string;
|
|
434
|
+
}
|
|
435
|
+
interface ChartexBoxWhisker {
|
|
436
|
+
oneBoxPerSeries?: boolean;
|
|
437
|
+
categories: string[];
|
|
438
|
+
series: ChartexBoxSeries[];
|
|
439
|
+
}
|
|
440
|
+
interface ChartexSunburstRow {
|
|
441
|
+
path: string[];
|
|
442
|
+
size: number;
|
|
443
|
+
}
|
|
444
|
+
interface ChartexSunburst {
|
|
445
|
+
rows: ChartexSunburstRow[];
|
|
446
|
+
}
|
|
447
|
+
interface ChartexTreemap {
|
|
448
|
+
rows: ChartexSunburstRow[];
|
|
449
|
+
parentLabelLayout?: string | null;
|
|
450
|
+
}
|
|
451
|
+
interface ChartexRegionMapRow {
|
|
452
|
+
label: string;
|
|
453
|
+
entityId?: string | null;
|
|
454
|
+
value?: number | null;
|
|
455
|
+
}
|
|
456
|
+
interface ChartexGeography {
|
|
457
|
+
projectionType?: 'mercator' | 'miller' | 'robinson' | 'albers' | string | null;
|
|
458
|
+
viewedRegionType?: string | null;
|
|
459
|
+
cultureLanguage?: string | null;
|
|
460
|
+
cultureRegion?: string | null;
|
|
461
|
+
attribution?: string | null;
|
|
462
|
+
cacheProvider?: string | null;
|
|
463
|
+
cachePresent: boolean;
|
|
464
|
+
}
|
|
465
|
+
interface ChartexValueColorStop {
|
|
466
|
+
kind: 'extremeValue' | 'number' | 'percent' | string;
|
|
467
|
+
value?: number | null;
|
|
468
|
+
}
|
|
469
|
+
interface ChartexRegionMapColors {
|
|
470
|
+
stopCount?: 2 | 3 | null;
|
|
471
|
+
minColor?: string | null;
|
|
472
|
+
midColor?: string | null;
|
|
473
|
+
maxColor?: string | null;
|
|
474
|
+
minPosition?: ChartexValueColorStop | null;
|
|
475
|
+
midPosition?: ChartexValueColorStop | null;
|
|
476
|
+
maxPosition?: ChartexValueColorStop | null;
|
|
477
|
+
}
|
|
478
|
+
interface ChartexRegionMap {
|
|
479
|
+
rows: ChartexRegionMapRow[];
|
|
480
|
+
regionLabelLayout?: 'none' | 'bestFitOnly' | 'showAll' | null;
|
|
481
|
+
geography?: ChartexGeography | null;
|
|
482
|
+
colors?: ChartexRegionMapColors | null;
|
|
483
|
+
}
|
|
484
|
+
interface ChartexHistogramBinning {
|
|
485
|
+
binSize?: number | null;
|
|
486
|
+
binCount?: number | null;
|
|
487
|
+
intervalClosed?: 'l' | 'r' | null;
|
|
488
|
+
underflow?: number | null;
|
|
489
|
+
overflow?: number | null;
|
|
490
|
+
}
|
|
491
|
+
interface SecondaryValueAxis {
|
|
492
|
+
min: number | null;
|
|
493
|
+
max: number | null;
|
|
494
|
+
title: string | null;
|
|
495
|
+
hidden: boolean;
|
|
496
|
+
formatCode?: string | null;
|
|
497
|
+
displayUnits?: ChartDisplayUnits | null;
|
|
498
|
+
fontColor?: string | null;
|
|
499
|
+
fontSizeHpt?: number | null;
|
|
500
|
+
fontItalic?: boolean | null;
|
|
501
|
+
fontBold?: boolean | null;
|
|
502
|
+
fontFace?: string | null;
|
|
503
|
+
lineColor?: string | null;
|
|
504
|
+
lineWidthEmu?: number | null;
|
|
505
|
+
lineHidden: boolean;
|
|
506
|
+
majorTickMark: string;
|
|
507
|
+
minorTickMark?: string | null;
|
|
508
|
+
minorGridlines?: boolean;
|
|
509
|
+
minorGridlineColor?: string | null;
|
|
510
|
+
minorGridlineWidthEmu?: number | null;
|
|
511
|
+
minorGridlineDash?: string | null;
|
|
512
|
+
majorGridlines?: boolean;
|
|
513
|
+
majorGridlineColor?: string | null;
|
|
514
|
+
majorGridlineWidthEmu?: number | null;
|
|
515
|
+
majorGridlineDash?: string | null;
|
|
516
|
+
majorUnit?: number | null;
|
|
517
|
+
minorUnit?: number | null;
|
|
518
|
+
logBase?: number | null;
|
|
519
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
520
|
+
tickLabelPos?: string | null;
|
|
521
|
+
tickLabelSkip?: number | null;
|
|
522
|
+
tickMarkSkip?: number | null;
|
|
523
|
+
crosses?: string | null;
|
|
524
|
+
crossesAt?: number | null;
|
|
525
|
+
titleFontSizeHpt?: number | null;
|
|
526
|
+
titleFontBold?: boolean | null;
|
|
527
|
+
titleFontItalic?: boolean | null;
|
|
528
|
+
titleFontColor?: string | null;
|
|
529
|
+
titleFontFace?: string | null;
|
|
530
|
+
titleRotation?: number | null;
|
|
531
|
+
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
532
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
533
|
+
}
|
|
534
|
+
interface ChartDisplayUnits {
|
|
535
|
+
divisor: number;
|
|
536
|
+
builtInUnit?: string | null;
|
|
537
|
+
label?: ChartDisplayUnitsLabel | null;
|
|
538
|
+
}
|
|
539
|
+
interface ChartDisplayUnitsLabel {
|
|
540
|
+
text?: string | null;
|
|
541
|
+
manualLayout?: ChartManualLayout | null;
|
|
542
|
+
fontSizeHpt?: number | null;
|
|
543
|
+
fontBold?: boolean | null;
|
|
544
|
+
fontItalic?: boolean | null;
|
|
545
|
+
fontColor?: string | null;
|
|
546
|
+
fontFace?: string | null;
|
|
547
|
+
rotation?: number | null;
|
|
548
|
+
boxStyle?: ChartLabelBox | null;
|
|
549
|
+
}
|
|
550
|
+
interface ChartManualLayout {
|
|
551
|
+
xMode?: string;
|
|
552
|
+
yMode?: string;
|
|
553
|
+
wMode?: string;
|
|
554
|
+
hMode?: string;
|
|
555
|
+
layoutTarget?: string;
|
|
556
|
+
x: number;
|
|
557
|
+
y: number;
|
|
558
|
+
w?: number;
|
|
559
|
+
h?: number;
|
|
560
|
+
}
|
|
561
|
+
interface LegendManualLayout {
|
|
562
|
+
xMode?: string;
|
|
563
|
+
yMode?: string;
|
|
564
|
+
wMode?: string;
|
|
565
|
+
hMode?: string;
|
|
566
|
+
x: number;
|
|
567
|
+
y: number;
|
|
568
|
+
w: number;
|
|
569
|
+
h: number;
|
|
570
|
+
}
|
|
571
|
+
interface ChartRect {
|
|
572
|
+
x: number;
|
|
573
|
+
y: number;
|
|
574
|
+
w: number;
|
|
575
|
+
h: number;
|
|
576
|
+
}
|
|
577
|
+
//#endregion
|
|
578
|
+
//#region dist/.types-work/region-map-contract-D3eTzib8.d.ts
|
|
579
|
+
interface ChartRegionMapRenderer {
|
|
580
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
581
|
+
}
|
|
582
|
+
//#endregion
|
|
583
|
+
//#region dist/.types-work/region-map.d.ts
|
|
584
|
+
declare const regionMap: ChartRegionMapRenderer;
|
|
585
|
+
//#endregion
|
|
586
|
+
export { type ChartRegionMapRenderer, regionMap };
|