@univerjs-pro/sheets-chart-ui 1.0.0-alpha.7 → 1.0.0-beta.0
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/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +14 -377
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/focused-chart.command.d.ts +1 -1
- package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +4 -1
- package/lib/types/commands/operations/open-chart-panel-operation.d.ts +1 -1
- package/lib/types/config/config.d.ts +4 -0
- package/lib/types/controllers/chart-element-float-menu.controller.d.ts +4 -3
- package/lib/types/controllers/chart-render.controller.d.ts +3 -1
- package/lib/types/controllers/ui.controller.d.ts +7 -6
- package/lib/types/index.d.ts +0 -2
- package/lib/types/locale/en-US.d.ts +55 -302
- package/lib/types/services/chart-element-selection.d.ts +6 -6
- package/lib/types/services/chart-render.service.d.ts +10 -10
- package/lib/types/services/sheet-chart-host.d.ts +2 -4
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +2 -2
- package/lib/types/services/sheets-chart-ui.service.d.ts +25 -138
- package/lib/types/util.d.ts +7 -4
- package/lib/types/views/chart-edit-panel/chart-editor-default-values.d.ts +79 -0
- package/lib/types/views/chart-edit-panel/data-tab-panel/DataTabPanel.d.ts +4 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/StyleTabPanel.d.ts +4 -5
- package/lib/types/views/chart-menu/chart-menu-factory.d.ts +1 -2
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -20
- package/lib/types/hooks.d.ts +0 -3
- package/lib/types/services/chart-panel-route.d.ts +0 -20
- package/lib/types/views/chart-edit-panel/Options.d.ts +0 -165
- package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +0 -3
- package/lib/types/views/chart-edit-panel/button-switch/ButtonSwitch.d.ts +0 -8
- package/lib/types/views/chart-edit-panel/button-switch/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/data-tab-panel/BubbleDataEdit.d.ts +0 -6
- package/lib/types/views/chart-edit-panel/data-tab-panel/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +0 -9
- package/lib/types/views/chart-edit-panel/style-tab-panel/ChartNumfmtDialog.d.ts +0 -6
- package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +0 -25
- package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +0 -16
- package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +0 -5
- package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +0 -6
- package/lib/types/views/chart-edit-panel/style-tab-panel/RelationEdit.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/TrendLineEdit.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/WaterfallSeriesEdit.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/WordCloudShapeSelector.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +0 -7
- package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +0 -4
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts +0 -11
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +0 -7
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +0 -7
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/Widgets.d.ts +0 -33
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/const.d.ts +0 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +0 -3
|
@@ -3,335 +3,88 @@ declare const locale: {
|
|
|
3
3
|
permission: {
|
|
4
4
|
editErr: string;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exportImage: string;
|
|
11
|
-
copy: string;
|
|
12
|
-
hideChartPanel: string;
|
|
13
|
-
setupChart: string;
|
|
14
|
-
customChart: string;
|
|
15
|
-
default: string;
|
|
16
|
-
reset: string;
|
|
17
|
-
chartType: string;
|
|
18
|
-
themes: string;
|
|
19
|
-
dataRange: string;
|
|
20
|
-
stack: string;
|
|
21
|
-
category: string;
|
|
22
|
-
aggregate: string;
|
|
23
|
-
allSeries: string;
|
|
24
|
-
series: string;
|
|
25
|
-
addSeries: string;
|
|
26
|
-
moreSettings: string;
|
|
27
|
-
min: string;
|
|
28
|
-
max: string;
|
|
29
|
-
invalidType: {
|
|
30
|
-
gaps: string;
|
|
31
|
-
zero: string;
|
|
32
|
-
connectDataPointsWithStraightLines: string;
|
|
33
|
-
};
|
|
34
|
-
blank: string;
|
|
35
|
-
seriesBlock: {
|
|
36
|
-
format: string;
|
|
37
|
-
dataPointStyle: string;
|
|
38
|
-
};
|
|
39
|
-
backgroundColor: string;
|
|
40
|
-
chartBorderColor: string;
|
|
41
|
-
titles: {
|
|
42
|
-
title: string;
|
|
43
|
-
mainTitle: string;
|
|
44
|
-
subTitle: string;
|
|
45
|
-
xAxisTitle: string;
|
|
46
|
-
yAxisTitle: string;
|
|
47
|
-
rightYAxisTitle: string;
|
|
48
|
-
titleFormat: string;
|
|
49
|
-
titleText: string;
|
|
50
|
-
titlePosition: string;
|
|
51
|
-
titleAlign: string;
|
|
52
|
-
};
|
|
53
|
-
axisPositionType: {
|
|
54
|
-
start: string;
|
|
55
|
-
center: string;
|
|
56
|
-
end: string;
|
|
57
|
-
};
|
|
58
|
-
gradientFill: string;
|
|
59
|
-
settingsLabels: {
|
|
60
|
-
switchToRowOrColumn: string;
|
|
6
|
+
common: {
|
|
7
|
+
setup: string;
|
|
8
|
+
customize: string;
|
|
9
|
+
editChart: string;
|
|
61
10
|
useAsCategoryLabels: string;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
right: string;
|
|
72
|
-
hide: string;
|
|
73
|
-
};
|
|
74
|
-
align: {
|
|
75
|
-
left: string;
|
|
76
|
-
center: string;
|
|
77
|
-
right: string;
|
|
78
|
-
};
|
|
79
|
-
alignY: {
|
|
80
|
-
top: string;
|
|
81
|
-
middle: string;
|
|
82
|
-
bottom: string;
|
|
83
|
-
};
|
|
84
|
-
chartStyle: string;
|
|
85
|
-
chartAndAxisTitles: string;
|
|
86
|
-
legend: string;
|
|
87
|
-
legendSelectMode: string;
|
|
88
|
-
legendSelectModeType: {
|
|
89
|
-
single: string;
|
|
90
|
-
multiple: string;
|
|
91
|
-
close: string;
|
|
92
|
-
};
|
|
93
|
-
legendVisualMapType: {
|
|
94
|
-
continuous: string;
|
|
95
|
-
piecewise: string;
|
|
96
|
-
};
|
|
97
|
-
axes: {
|
|
98
|
-
axis: string;
|
|
99
|
-
axisOptions: string;
|
|
11
|
+
switchRowColumn: string;
|
|
12
|
+
dataRange: string;
|
|
13
|
+
insertChart: string;
|
|
14
|
+
openChartPanel: string;
|
|
15
|
+
deleteChart: string;
|
|
16
|
+
hideChartPanel: string;
|
|
17
|
+
chartAndAxisTitles: string;
|
|
18
|
+
chartStyle: string;
|
|
19
|
+
heatmap: string;
|
|
100
20
|
horizontalAxis: string;
|
|
101
|
-
|
|
21
|
+
legend: string;
|
|
102
22
|
rightVerticalAxis: string;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
gridlinesAndTicks: string;
|
|
110
|
-
indicatorLine: string;
|
|
111
|
-
indicatorLineType: string;
|
|
112
|
-
indicatorLineColor: string;
|
|
113
|
-
indicatorLabel: string;
|
|
114
|
-
indicatorValue: string;
|
|
115
|
-
shape: {
|
|
116
|
-
polygon: string;
|
|
117
|
-
circle: string;
|
|
118
|
-
square: string;
|
|
119
|
-
triangle: string;
|
|
120
|
-
diamond: string;
|
|
121
|
-
rect: string;
|
|
122
|
-
roundRect: string;
|
|
123
|
-
pin: string;
|
|
124
|
-
arrow: string;
|
|
125
|
-
none: string;
|
|
126
|
-
emptyCircle: string;
|
|
127
|
-
emptySquare: string;
|
|
128
|
-
emptyTriangle: string;
|
|
129
|
-
emptyDiamond: string;
|
|
130
|
-
emptyRect: string;
|
|
131
|
-
emptyRoundRect: string;
|
|
132
|
-
emptyPin: string;
|
|
133
|
-
emptyArrow: string;
|
|
134
|
-
};
|
|
135
|
-
border: string;
|
|
136
|
-
value: string;
|
|
137
|
-
fill: string;
|
|
138
|
-
line: string;
|
|
139
|
-
withOpacity: string;
|
|
140
|
-
withColor: string;
|
|
141
|
-
withThickness: string;
|
|
142
|
-
withType: string;
|
|
143
|
-
withSize: string;
|
|
144
|
-
withShape: string;
|
|
145
|
-
withFormat: string;
|
|
146
|
-
dataPoint: string;
|
|
147
|
-
dataNodeShape: string;
|
|
148
|
-
addDataPoint: string;
|
|
149
|
-
point: string;
|
|
150
|
-
percentage: string;
|
|
151
|
-
lineType: {
|
|
152
|
-
line: string;
|
|
153
|
-
smooth: string;
|
|
154
|
-
step: string;
|
|
155
|
-
};
|
|
156
|
-
stackType: {
|
|
157
|
-
stack: string;
|
|
158
|
-
percent: string;
|
|
159
|
-
};
|
|
160
|
-
lineDashType: string;
|
|
161
|
-
dashType: {
|
|
162
|
-
solid: string;
|
|
163
|
-
dash: string;
|
|
164
|
-
dot: string;
|
|
165
|
-
};
|
|
166
|
-
color: string;
|
|
167
|
-
gridlines: {
|
|
168
|
-
majorGridlines: string;
|
|
169
|
-
text: string;
|
|
170
|
-
};
|
|
171
|
-
ticks: {
|
|
172
|
-
majorTick: string;
|
|
173
|
-
tickPosition: string;
|
|
174
|
-
tickLength: string;
|
|
175
|
-
};
|
|
176
|
-
none: string;
|
|
177
|
-
theIndexItem: string;
|
|
178
|
-
seriesDefaultName: string;
|
|
179
|
-
categoryDefaultName: string;
|
|
180
|
-
styleEditPanel: {
|
|
181
|
-
showLabels: string;
|
|
182
|
-
showDataLabels: string;
|
|
183
|
-
padAngle: string;
|
|
184
|
-
halfPie: string;
|
|
185
|
-
rosePie: string;
|
|
186
|
-
pieValScale: string;
|
|
187
|
-
pieValSuffix: string;
|
|
188
|
-
pieDigitalFixed: string;
|
|
189
|
-
showLabelLine: string;
|
|
190
|
-
reverseAxisOrder: string;
|
|
191
|
-
showAxisLine: string;
|
|
192
|
-
labelPosition: string;
|
|
193
|
-
labelText: string;
|
|
194
|
-
repeatWordCould: string;
|
|
195
|
-
gap: string;
|
|
196
|
-
useAbsValue: string;
|
|
197
|
-
labelRotate: string;
|
|
198
|
-
wordCloudShape: string;
|
|
199
|
-
useDateAxis: string;
|
|
200
|
-
dateAxisTips: string;
|
|
201
|
-
};
|
|
202
|
-
doughnutHole: string;
|
|
203
|
-
radar: {
|
|
204
|
-
fill: string;
|
|
205
|
-
};
|
|
206
|
-
msg: {
|
|
207
|
-
invalidSource: string;
|
|
208
|
-
emptyTips: string;
|
|
209
|
-
sankeyCircularTips: string;
|
|
210
|
-
};
|
|
211
|
-
cloud: {
|
|
212
|
-
title: string;
|
|
213
|
-
word: string;
|
|
214
|
-
frequency: string;
|
|
215
|
-
};
|
|
216
|
-
trendline: {
|
|
217
|
-
name: string;
|
|
218
|
-
displayName: string;
|
|
219
|
-
addTrendLine: string;
|
|
220
|
-
trendlineType: string;
|
|
221
|
-
trendlineName: string;
|
|
222
|
-
trendlineColor: string;
|
|
223
|
-
trendlineThickness: string;
|
|
224
|
-
trendlineDashType: string;
|
|
225
|
-
exp: string;
|
|
226
|
-
linear: string;
|
|
227
|
-
log: string;
|
|
228
|
-
pow: string;
|
|
229
|
-
movingAvg: string;
|
|
230
|
-
poly: string;
|
|
231
|
-
order: string;
|
|
232
|
-
period: string;
|
|
233
|
-
showFormula: string;
|
|
234
|
-
showR2: string;
|
|
235
|
-
formula: string;
|
|
236
|
-
r2: string;
|
|
237
|
-
};
|
|
238
|
-
bubble: {
|
|
239
|
-
xAxis: string;
|
|
240
|
-
yAxis: string;
|
|
241
|
-
size: string;
|
|
242
|
-
label: string;
|
|
243
|
-
emptyTips: string;
|
|
244
|
-
};
|
|
245
|
-
relation: {
|
|
246
|
-
title: string;
|
|
247
|
-
auto: string;
|
|
248
|
-
circular: string;
|
|
249
|
-
force: string;
|
|
250
|
-
useValueAsSymbolSize: string;
|
|
251
|
-
layoutType: string;
|
|
252
|
-
forceOptions: string;
|
|
253
|
-
repulsion: string;
|
|
254
|
-
gravity: string;
|
|
255
|
-
edgeLength: string;
|
|
256
|
-
rotateLabel: string;
|
|
257
|
-
emphasis: string;
|
|
258
|
-
emptyTips: string;
|
|
23
|
+
series: string;
|
|
24
|
+
trendline: string;
|
|
25
|
+
verticalAxis: string;
|
|
26
|
+
category: string;
|
|
27
|
+
copy: string;
|
|
28
|
+
exportImage: string;
|
|
259
29
|
};
|
|
260
30
|
waterfall: {
|
|
261
|
-
|
|
262
|
-
arrangement: string;
|
|
263
|
-
stacked: string;
|
|
31
|
+
subtotal: string;
|
|
264
32
|
positive: string;
|
|
265
33
|
negative: string;
|
|
266
|
-
subtotal: string;
|
|
267
|
-
showSubtotal: string;
|
|
268
|
-
positiveStyle: string;
|
|
269
|
-
negativeStyle: string;
|
|
270
|
-
subtotalStyle: string;
|
|
271
|
-
positiveLegendText: string;
|
|
272
|
-
negativeLegendText: string;
|
|
273
|
-
subtotalLegendText: string;
|
|
274
|
-
};
|
|
275
|
-
pareto: {
|
|
276
|
-
lineName: string;
|
|
277
|
-
lineSeries: string;
|
|
278
|
-
barSeries: string;
|
|
279
|
-
};
|
|
280
|
-
visualMapScope: string;
|
|
281
|
-
boxplot: {
|
|
282
|
-
min: string;
|
|
283
|
-
q1: string;
|
|
284
|
-
median: string;
|
|
285
|
-
q3: string;
|
|
286
|
-
max: string;
|
|
287
34
|
};
|
|
288
35
|
chartTypes: {
|
|
289
36
|
line: string;
|
|
290
|
-
area: string;
|
|
291
|
-
areaStacked: string;
|
|
292
|
-
areaPercentStacked: string;
|
|
293
37
|
column: string;
|
|
294
38
|
bar: string;
|
|
295
39
|
barStacked: string;
|
|
296
40
|
barPercentStacked: string;
|
|
297
41
|
pie: string;
|
|
298
42
|
donut: string;
|
|
299
|
-
|
|
43
|
+
pieOfPie: string;
|
|
44
|
+
barOfPie: string;
|
|
45
|
+
area: string;
|
|
46
|
+
areaStacked: string;
|
|
47
|
+
areaPercentStacked: string;
|
|
300
48
|
radar: string;
|
|
301
|
-
|
|
302
|
-
stock: string;
|
|
49
|
+
scatter: string;
|
|
303
50
|
combination: string;
|
|
304
51
|
wordCloud: string;
|
|
305
52
|
funnel: string;
|
|
53
|
+
bubble: string;
|
|
306
54
|
relation: string;
|
|
307
55
|
waterfall: string;
|
|
308
56
|
pareto: string;
|
|
309
57
|
sankey: string;
|
|
310
58
|
heatmap: string;
|
|
311
59
|
boxplot: string;
|
|
60
|
+
candlestick: string;
|
|
61
|
+
histogram: string;
|
|
62
|
+
treemap: string;
|
|
63
|
+
sunburst: string;
|
|
64
|
+
gauge: string;
|
|
65
|
+
chord: string;
|
|
66
|
+
};
|
|
67
|
+
section: {
|
|
68
|
+
candlestick: string;
|
|
69
|
+
chord: string;
|
|
70
|
+
funnel: string;
|
|
71
|
+
gauge: string;
|
|
72
|
+
gridlinesAndTicks: string;
|
|
73
|
+
histogram: string;
|
|
74
|
+
indicatorLine: string;
|
|
75
|
+
lineAndArea: string;
|
|
76
|
+
paretoBar: string;
|
|
77
|
+
paretoLine: string;
|
|
78
|
+
pie: string;
|
|
79
|
+
radar: string;
|
|
80
|
+
relation: string;
|
|
81
|
+
sunburst: string;
|
|
82
|
+
treemap: string;
|
|
83
|
+
waterfall: string;
|
|
84
|
+
wordCloud: string;
|
|
312
85
|
};
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
general: string;
|
|
316
|
-
accounting: string;
|
|
317
|
-
currency: string;
|
|
318
|
-
date: string;
|
|
319
|
-
thousandthPercentile: string;
|
|
320
|
-
fieldSetting: string;
|
|
321
|
-
formatTypes: string;
|
|
322
|
-
confirm: string;
|
|
323
|
-
cancel: string;
|
|
324
|
-
generalDesc: string;
|
|
325
|
-
accountingDesc: string;
|
|
326
|
-
currencyDesc: string;
|
|
327
|
-
dateDesc: string;
|
|
328
|
-
thousandthPercentileDesc: string;
|
|
329
|
-
decimalPlaces: string;
|
|
330
|
-
currencyTypes: string;
|
|
331
|
-
negativeNumberTypes: string;
|
|
332
|
-
dateTypes: string;
|
|
333
|
-
};
|
|
334
|
-
setFormat: string;
|
|
86
|
+
chord: {
|
|
87
|
+
target: string;
|
|
335
88
|
};
|
|
336
89
|
};
|
|
337
90
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IChartElementSelection } from '@univerjs-pro/chart-ui';
|
|
2
2
|
import type { ChartModel, IChartElementHit } from '@univerjs-pro/engine-chart';
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
route:
|
|
7
|
-
showFloatMenu: boolean;
|
|
3
|
+
import { resolveChartEditPanelRoute } from '@univerjs-pro/chart-ui';
|
|
4
|
+
import { ChartTypeBits } from '@univerjs-pro/engine-chart';
|
|
5
|
+
export interface ISheetsChartElementSelection extends IChartElementSelection {
|
|
6
|
+
route: NonNullable<ReturnType<typeof resolveChartEditPanelRoute>>;
|
|
8
7
|
}
|
|
8
|
+
export declare function supportsSheetsChartElementFloatMenu(chartType: ChartTypeBits): boolean;
|
|
9
9
|
export declare function resolveSheetsChartElementSelection(chartModel: ChartModel, hit: IChartElementHit): ISheetsChartElementSelection | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChartDirection, ChartElementEventHandler, ChartElementEventType, ChartImageSource, ChartStyle, IChartConfig
|
|
1
|
+
import type { ChartDirection, ChartElementEventHandler, ChartElementEventType, ChartImageSource, ChartRuntimeStyle, ChartStyle, IChartConfig } from '@univerjs-pro/engine-chart';
|
|
2
2
|
import type { IDisposable } from '@univerjs/core';
|
|
3
3
|
import type { Scene } from '@univerjs/engine-render';
|
|
4
4
|
import { ChartThemeService, IChartRenderModelManagerService } from '@univerjs-pro/engine-chart';
|
|
@@ -9,13 +9,14 @@ import { IRenderManagerService } from '@univerjs/engine-render';
|
|
|
9
9
|
import { SheetCanvasFloatDomManagerService } from '@univerjs/sheets-drawing-ui';
|
|
10
10
|
import { ChartSnapshotStoreService } from './chart-snapshot-store.service';
|
|
11
11
|
import { IChartHostProviderService } from './sheets-chart-host-provider.service';
|
|
12
|
+
import { ISheetsChartUIService } from './sheets-chart-ui.service';
|
|
12
13
|
interface IRuntimeChartModel {
|
|
13
14
|
id?: string;
|
|
14
15
|
chartType?: IChartConfig['type'];
|
|
15
16
|
style: ChartStyle;
|
|
16
|
-
getRuntimeContext(direction?: ChartDirection):
|
|
17
|
+
getRuntimeContext(direction?: ChartDirection): ChartRuntimeStyle['runtime'];
|
|
17
18
|
}
|
|
18
|
-
export declare function createRuntimeChartStyle(chartModel: IRuntimeChartModel, direction: ChartDirection):
|
|
19
|
+
export declare function createRuntimeChartStyle(chartModel: IRuntimeChartModel, direction: ChartDirection, addWatermark?: boolean): ChartRuntimeStyle;
|
|
19
20
|
export declare class ChartRenderService extends Disposable {
|
|
20
21
|
private _chartHostProvider;
|
|
21
22
|
private readonly _sheetCanvasFloatDomManagerService;
|
|
@@ -24,26 +25,25 @@ export declare class ChartRenderService extends Disposable {
|
|
|
24
25
|
private _univerInstanceService;
|
|
25
26
|
private _renderManagerService;
|
|
26
27
|
private readonly _localeService;
|
|
28
|
+
private readonly _chartUIService;
|
|
27
29
|
protected readonly _injector: Injector;
|
|
28
30
|
private readonly _chartThemeService;
|
|
29
31
|
private readonly _themeService;
|
|
30
32
|
private readonly _configService;
|
|
31
33
|
private readonly _chartSnapshotStoreService;
|
|
34
|
+
private readonly _renderModelManager;
|
|
32
35
|
private _chartInstanceMap;
|
|
33
36
|
private _chartEventHandlers;
|
|
34
37
|
private _chartEventSubscriptions;
|
|
35
38
|
private _chartElementEditMode;
|
|
36
|
-
private readonly _renderModelManager;
|
|
37
39
|
private _renderDebounceMap;
|
|
38
40
|
private _debounceHandleMap;
|
|
39
41
|
private readonly _chartRenderMode;
|
|
42
|
+
private readonly _addWatermark;
|
|
40
43
|
private readonly _lastRenderInputMap;
|
|
41
44
|
private _activeChartId;
|
|
42
45
|
private _lastActiveSheet;
|
|
43
|
-
constructor(_chartHostProvider: IChartHostProviderService, _sheetCanvasFloatDomManagerService: SheetCanvasFloatDomManagerService, _chartModelService: ChartModelService, _drawingManagerService: IDrawingManagerService, _univerInstanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _localeService: LocaleService, _injector: Injector, _chartThemeService: ChartThemeService, _themeService: ThemeService, _configService: IConfigService, _chartSnapshotStoreService: ChartSnapshotStoreService,
|
|
44
|
-
private _getWatermark;
|
|
45
|
-
registerRenderModel(name: string, renderModel: IChartRenderModel): void;
|
|
46
|
-
setRenderModel(name: string): void;
|
|
46
|
+
constructor(_chartHostProvider: IChartHostProviderService, _sheetCanvasFloatDomManagerService: SheetCanvasFloatDomManagerService, _chartModelService: ChartModelService, _drawingManagerService: IDrawingManagerService, _univerInstanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _localeService: LocaleService, _chartUIService: ISheetsChartUIService, _injector: Injector, _chartThemeService: ChartThemeService, _themeService: ThemeService, _configService: IConfigService, _chartSnapshotStoreService: ChartSnapshotStoreService, _renderModelManager: IChartRenderModelManagerService);
|
|
47
47
|
getChartSnapshotImage(id: string): ChartImageSource | undefined;
|
|
48
48
|
private _resolveChartRenderMode;
|
|
49
49
|
private _getChartSnapshotKey;
|
|
@@ -75,10 +75,10 @@ export declare class ChartRenderService extends Disposable {
|
|
|
75
75
|
private _bindChartEventHandler;
|
|
76
76
|
private _disposeChartEventSubscription;
|
|
77
77
|
private _disposeChartEventSubscriptions;
|
|
78
|
-
|
|
78
|
+
createRuntimeChartStyle(chartModel: IRuntimeChartModel, direction: ChartDirection): ChartRuntimeStyle;
|
|
79
79
|
checkChartCanRender(id: string): boolean;
|
|
80
80
|
private _getChartRenderSkipReason;
|
|
81
|
-
render(id: string, config: IChartConfig, style:
|
|
81
|
+
render(id: string, config: IChartConfig, style: ChartRuntimeStyle): Promise<void>;
|
|
82
82
|
/** Render static chart snapshots into the print scene so drawing z-order is preserved. */
|
|
83
83
|
renderChartsForPrinting(unitId: string, subUnitId: string, scene: Scene): Promise<void>;
|
|
84
84
|
private _createPrintingChartObject;
|
|
@@ -7,7 +7,6 @@ export interface IChartHostHandle {
|
|
|
7
7
|
mountNode: HTMLElement;
|
|
8
8
|
dispose: () => void;
|
|
9
9
|
}
|
|
10
|
-
export type ChartHostHandle = IChartHostHandle;
|
|
11
10
|
export interface ISheetChartHostPlacement {
|
|
12
11
|
width: number;
|
|
13
12
|
height: number;
|
|
@@ -16,7 +15,6 @@ export interface ISheetChartHostPlacement {
|
|
|
16
15
|
scaleX: number;
|
|
17
16
|
scaleY: number;
|
|
18
17
|
}
|
|
19
|
-
export type SheetChartHostPlacement = ISheetChartHostPlacement;
|
|
20
18
|
export declare class SheetChartHost extends Disposable implements IDomChartHost {
|
|
21
19
|
readonly chartId: string;
|
|
22
20
|
private readonly _getFloatDomInfo;
|
|
@@ -33,12 +31,12 @@ export declare class SheetChartHost extends Disposable implements IDomChartHost
|
|
|
33
31
|
private _waiter;
|
|
34
32
|
private _hostStyle;
|
|
35
33
|
private _savedWrapperStyle;
|
|
36
|
-
constructor(chartId: string, _getFloatDomInfo: () => ReturnType<SheetCanvasFloatDomManagerService['getFloatDomInfo']>, _getPlacement: () =>
|
|
34
|
+
constructor(chartId: string, _getFloatDomInfo: () => ReturnType<SheetCanvasFloatDomManagerService['getFloatDomInfo']>, _getPlacement: () => ISheetChartHostPlacement | null, _setHostStyle: (style: IChartHostStyle) => void, _isProviderDisposed: () => boolean, _markReady: () => void, _markNotReady: () => void);
|
|
37
35
|
isManaged(): boolean;
|
|
38
36
|
markUnmanaged(): void;
|
|
39
37
|
getRect(): IChartHostRect | null;
|
|
40
38
|
setStyle(style: IChartHostStyle): void;
|
|
41
|
-
ensureHandle(): Promise<
|
|
39
|
+
ensureHandle(): Promise<IChartHostHandle>;
|
|
42
40
|
ensureMount(): Promise<HTMLElement | null>;
|
|
43
41
|
checkMounted(): boolean;
|
|
44
42
|
syncLayout(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IDomChartHost, IImageChartHost } from '@univerjs-pro/engine-chart';
|
|
2
2
|
import type { Observable } from 'rxjs';
|
|
3
3
|
import type { IChartOuterRect } from './chart-content-layout';
|
|
4
|
-
import type {
|
|
4
|
+
import type { IChartHostHandle } from './sheet-chart-host';
|
|
5
5
|
import { ChartHostRenderMode } from '@univerjs-pro/engine-chart';
|
|
6
6
|
import { Disposable } from '@univerjs/core';
|
|
7
7
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
@@ -44,7 +44,7 @@ export declare class SheetsChartHostProviderService extends Disposable implement
|
|
|
44
44
|
checkHost(id: string): boolean;
|
|
45
45
|
syncHostLayout(id: string): void;
|
|
46
46
|
removeHost(id: string): void;
|
|
47
|
-
ensureHost(id: string): Promise<
|
|
47
|
+
ensureHost(id: string): Promise<IChartHostHandle>;
|
|
48
48
|
ensureHost(id: string, mode: ChartHostRenderMode.Image | 'image'): Promise<IImageChartHost | null>;
|
|
49
49
|
ensureHost(id: string, mode: ChartHostRenderMode.Dom | 'dom'): Promise<IDomChartHost | null>;
|
|
50
50
|
ensureHost(id: string, mode: ChartHostRenderMode | 'image' | 'dom'): Promise<IImageChartHost | IDomChartHost | null>;
|