reke-ui 0.5.2 → 0.5.4
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/custom-elements.json +764 -3
- package/dist/components/reke-bar-chart/reke-bar-chart.d.ts +99 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.d.ts.map +1 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.js +319 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.styles.d.ts +2 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.styles.d.ts.map +1 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.styles.js +36 -0
- package/dist/components/reke-dialog/reke-dialog.d.ts +19 -0
- package/dist/components/reke-dialog/reke-dialog.d.ts.map +1 -1
- package/dist/components/reke-dialog/reke-dialog.js +40 -15
- package/dist/components/reke-dialog/reke-dialog.styles.d.ts.map +1 -1
- package/dist/components/reke-dialog/reke-dialog.styles.js +110 -0
- package/dist/components/reke-pie-chart/reke-pie-chart.d.ts +52 -1
- package/dist/components/reke-pie-chart/reke-pie-chart.d.ts.map +1 -1
- package/dist/components/reke-pie-chart/reke-pie-chart.js +181 -42
- package/dist/components/reke-pie-chart/reke-pie-chart.styles.d.ts.map +1 -1
- package/dist/components/reke-pie-chart/reke-pie-chart.styles.js +47 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -20
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +50 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +431 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +65 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +22 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +142 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +99 -0
- package/dist/node_modules/echarts/lib/chart/helper/axisSnippets.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +55 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +3 -3
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +471 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +34 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +59 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +135 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +32 -32
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +69 -69
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +25 -25
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +16 -16
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +153 -153
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +13 -13
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +106 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +50 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +20 -20
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +30 -30
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +13 -13
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +114 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +189 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +15 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +21 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +75 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +465 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +17 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +55 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +88 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +14 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +132 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +32 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +172 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +15 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +29 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +31 -31
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +61 -61
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +29 -29
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +4 -4
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +105 -105
- package/dist/node_modules/echarts/lib/coord/Axis.js +92 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +76 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +124 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +123 -14
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisNiceTicks.js +64 -0
- package/dist/node_modules/echarts/lib/coord/axisStatistics.js +101 -22
- package/dist/node_modules/echarts/lib/coord/axisStatisticsMetricsImpl.js +43 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +151 -5
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +24 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +18 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +23 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +69 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +314 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +40 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +43 -12
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +175 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +39 -16
- package/dist/node_modules/echarts/lib/core/echarts.js +421 -421
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +30 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +18 -18
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +6 -6
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +59 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +13 -13
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +7 -4
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +40 -8
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/transform.js +8 -8
- package/dist/node_modules/echarts/lib/extension.js +10 -10
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +10 -10
- package/dist/node_modules/echarts/lib/label/labelStyle.js +34 -25
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +83 -0
- package/dist/node_modules/echarts/lib/layout/barCommon.js +19 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +165 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/loading/default.js +6 -6
- package/dist/node_modules/echarts/lib/model/Component.js +39 -39
- package/dist/node_modules/echarts/lib/model/Global.js +122 -122
- package/dist/node_modules/echarts/lib/model/Series.js +78 -78
- package/dist/node_modules/echarts/lib/model/referHelper.js +58 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +43 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +100 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +92 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +13 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +242 -0
- package/dist/node_modules/echarts/lib/scale/break.js +10 -2
- package/dist/node_modules/echarts/lib/scale/helper.js +61 -3
- package/dist/node_modules/echarts/lib/scale/minorTicks.js +22 -0
- package/dist/node_modules/echarts/lib/scale/scaleMapper.js +89 -7
- package/dist/node_modules/echarts/lib/util/clazz.js +35 -35
- package/dist/node_modules/echarts/lib/util/component.js +16 -16
- package/dist/node_modules/echarts/lib/util/cycleCache.js +4 -1
- package/dist/node_modules/echarts/lib/util/decal.js +11 -11
- package/dist/node_modules/echarts/lib/util/format.js +1 -1
- package/dist/node_modules/echarts/lib/util/graphic.js +170 -170
- package/dist/node_modules/echarts/lib/util/layout.js +23 -23
- package/dist/node_modules/echarts/lib/util/model.js +128 -68
- package/dist/node_modules/echarts/lib/util/number.js +55 -37
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +25 -0
- package/dist/node_modules/echarts/lib/util/states.js +96 -82
- package/dist/node_modules/echarts/lib/util/styleCompat.js +10 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +24 -21
- package/dist/node_modules/echarts/lib/util/time.js +154 -18
- package/dist/node_modules/echarts/lib/util/vendor.js +26 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +19 -19
- package/dist/node_modules/echarts/lib/view/Component.js +7 -7
- package/dist/node_modules/echarts/lib/visual/style.js +5 -5
- package/dist/node_modules/zrender/lib/Element.js +35 -35
- package/dist/node_modules/zrender/lib/canvas/graphic.js +36 -36
- package/dist/node_modules/zrender/lib/core/PathProxy.js +25 -25
- package/dist/node_modules/zrender/lib/core/event.js +4 -1
- package/dist/node_modules/zrender/lib/core/util.js +69 -64
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +7 -7
- package/dist/node_modules/zrender/lib/graphic/Text.js +37 -37
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +59 -59
- package/dist/node_modules/zrender/lib/tool/color.js +60 -41
- package/dist/react.d.ts +10 -0
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +85 -73
- package/dist/shared/tailwind.js +1 -1
- package/dist/tokens/reke-tokens.css +1 -0
- package/package.json +5 -1
package/custom-elements.json
CHANGED
|
@@ -128,6 +128,471 @@
|
|
|
128
128
|
}
|
|
129
129
|
]
|
|
130
130
|
},
|
|
131
|
+
{
|
|
132
|
+
"kind": "javascript-module",
|
|
133
|
+
"path": "src/components/reke-bar-chart/reke-bar-chart.ts",
|
|
134
|
+
"declarations": [
|
|
135
|
+
{
|
|
136
|
+
"kind": "class",
|
|
137
|
+
"description": "",
|
|
138
|
+
"name": "RekeBarChart",
|
|
139
|
+
"cssProperties": [
|
|
140
|
+
{
|
|
141
|
+
"description": "Series colors 1–6 (`--reke-chart-1` … `--reke-chart-6`).",
|
|
142
|
+
"name": "--reke-chart-1",
|
|
143
|
+
"default": "#22C55E"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"description": "Chart height.",
|
|
147
|
+
"name": "--reke-bar-chart-height",
|
|
148
|
+
"default": "280px"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"description": "Loading spinner color.",
|
|
152
|
+
"name": "--reke-color-primary",
|
|
153
|
+
"default": "#22C55E"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"description": "Loading mask tint.",
|
|
157
|
+
"name": "--reke-color-bg",
|
|
158
|
+
"default": "#0A0A0B"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"description": "Tooltip background.",
|
|
162
|
+
"name": "--reke-color-surface",
|
|
163
|
+
"default": "#1A1A1A"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"description": "Tooltip border and grid lines.",
|
|
167
|
+
"name": "--reke-color-border",
|
|
168
|
+
"default": "#252525"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"description": "Tooltip text.",
|
|
172
|
+
"name": "--reke-color-text",
|
|
173
|
+
"default": "#E5E5E5"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"description": "Axis labels and legend text.",
|
|
177
|
+
"name": "--reke-color-text-label",
|
|
178
|
+
"default": "#8A8A8A"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"description": "Legend items toggled off.",
|
|
182
|
+
"name": "--reke-color-text-disabled",
|
|
183
|
+
"default": "#3B3B3B"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"description": "Chart font family.",
|
|
187
|
+
"name": "--reke-font-mono",
|
|
188
|
+
"default": "JetBrains Mono"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"cssParts": [
|
|
192
|
+
{
|
|
193
|
+
"description": "The chart canvas container.",
|
|
194
|
+
"name": "chart"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"members": [
|
|
198
|
+
{
|
|
199
|
+
"kind": "field",
|
|
200
|
+
"name": "categories",
|
|
201
|
+
"type": {
|
|
202
|
+
"text": "string[]"
|
|
203
|
+
},
|
|
204
|
+
"default": "[]",
|
|
205
|
+
"description": "X-axis categories (e.g. months)."
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"kind": "field",
|
|
209
|
+
"name": "series",
|
|
210
|
+
"type": {
|
|
211
|
+
"text": "BarChartSeries[]"
|
|
212
|
+
},
|
|
213
|
+
"default": "[]",
|
|
214
|
+
"description": "Bar series; each `data` array is aligned with `categories`."
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"kind": "field",
|
|
218
|
+
"name": "label",
|
|
219
|
+
"type": {
|
|
220
|
+
"text": "string"
|
|
221
|
+
},
|
|
222
|
+
"default": "'Bar chart'",
|
|
223
|
+
"description": "Accessible label describing the chart. Required for screen readers.",
|
|
224
|
+
"attribute": "label"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"kind": "field",
|
|
228
|
+
"name": "stacked",
|
|
229
|
+
"type": {
|
|
230
|
+
"text": "boolean"
|
|
231
|
+
},
|
|
232
|
+
"default": "false",
|
|
233
|
+
"description": "Stack every series into a single bar per category instead of grouping them side by side.",
|
|
234
|
+
"attribute": "stacked",
|
|
235
|
+
"reflects": true
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"kind": "field",
|
|
239
|
+
"name": "showLegend",
|
|
240
|
+
"type": {
|
|
241
|
+
"text": "boolean"
|
|
242
|
+
},
|
|
243
|
+
"default": "false",
|
|
244
|
+
"description": "Show the legend above the chart.",
|
|
245
|
+
"attribute": "show-legend",
|
|
246
|
+
"reflects": true
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"kind": "field",
|
|
250
|
+
"name": "loading",
|
|
251
|
+
"type": {
|
|
252
|
+
"text": "boolean"
|
|
253
|
+
},
|
|
254
|
+
"default": "false",
|
|
255
|
+
"description": "Show ECharts' native loading spinner over the chart.",
|
|
256
|
+
"attribute": "loading",
|
|
257
|
+
"reflects": true
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"kind": "field",
|
|
261
|
+
"name": "palette",
|
|
262
|
+
"type": {
|
|
263
|
+
"text": "string[] | undefined"
|
|
264
|
+
},
|
|
265
|
+
"description": "Explicit color palette. Overrides the `--reke-chart-*` tokens when set."
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"kind": "field",
|
|
269
|
+
"name": "animationDuration",
|
|
270
|
+
"type": {
|
|
271
|
+
"text": "number"
|
|
272
|
+
},
|
|
273
|
+
"default": "700",
|
|
274
|
+
"description": "Entry/update animation length in ms. `0` disables animation.",
|
|
275
|
+
"attribute": "animation-duration"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"kind": "field",
|
|
279
|
+
"name": "maxVisible",
|
|
280
|
+
"type": {
|
|
281
|
+
"text": "number"
|
|
282
|
+
},
|
|
283
|
+
"default": "0",
|
|
284
|
+
"description": "Most categories drawn at once. Past it the chart opens on the latest ones\nand becomes scrollable/zoomable (wheel, drag, and a slider below). `0` = show all.",
|
|
285
|
+
"attribute": "max-visible"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"kind": "field",
|
|
289
|
+
"name": "chart",
|
|
290
|
+
"type": {
|
|
291
|
+
"text": "ECharts | undefined"
|
|
292
|
+
},
|
|
293
|
+
"privacy": "private"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"kind": "field",
|
|
297
|
+
"name": "observer",
|
|
298
|
+
"type": {
|
|
299
|
+
"text": "ResizeObserver | undefined"
|
|
300
|
+
},
|
|
301
|
+
"privacy": "private"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "field",
|
|
305
|
+
"name": "themeObserver",
|
|
306
|
+
"type": {
|
|
307
|
+
"text": "MutationObserver | undefined"
|
|
308
|
+
},
|
|
309
|
+
"privacy": "private"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "field",
|
|
313
|
+
"name": "colorScheme",
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "MediaQueryList | undefined"
|
|
316
|
+
},
|
|
317
|
+
"privacy": "private"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "method",
|
|
321
|
+
"name": "readToken",
|
|
322
|
+
"privacy": "private",
|
|
323
|
+
"return": {
|
|
324
|
+
"type": {
|
|
325
|
+
"text": "string"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"parameters": [
|
|
329
|
+
{
|
|
330
|
+
"name": "name",
|
|
331
|
+
"type": {
|
|
332
|
+
"text": "string"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "fallback",
|
|
337
|
+
"type": {
|
|
338
|
+
"text": "string"
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
"description": "Read a CSS custom property off the host's computed style (canvas can't read var())."
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"kind": "method",
|
|
346
|
+
"name": "motionDuration",
|
|
347
|
+
"privacy": "private",
|
|
348
|
+
"return": {
|
|
349
|
+
"type": {
|
|
350
|
+
"text": "number"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"description": "Honours the OS \"reduce motion\" setting: 0ms means ECharts paints statically."
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"kind": "method",
|
|
357
|
+
"name": "resolvePalette",
|
|
358
|
+
"privacy": "private",
|
|
359
|
+
"return": {
|
|
360
|
+
"type": {
|
|
361
|
+
"text": "string[]"
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"kind": "method",
|
|
367
|
+
"name": "watchTheme",
|
|
368
|
+
"privacy": "private",
|
|
369
|
+
"return": {
|
|
370
|
+
"type": {
|
|
371
|
+
"text": "void"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"description": "Repaints with freshly read tokens when the theme switches."
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"kind": "field",
|
|
378
|
+
"name": "repaint",
|
|
379
|
+
"privacy": "private",
|
|
380
|
+
"description": "Static repaint: a theme switch should not replay the entry animation."
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"kind": "method",
|
|
384
|
+
"name": "applyLoading",
|
|
385
|
+
"privacy": "private",
|
|
386
|
+
"return": {
|
|
387
|
+
"type": {
|
|
388
|
+
"text": "void"
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"kind": "method",
|
|
394
|
+
"name": "describeCategory",
|
|
395
|
+
"privacy": "private",
|
|
396
|
+
"return": {
|
|
397
|
+
"type": {
|
|
398
|
+
"text": "string"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"parameters": [
|
|
402
|
+
{
|
|
403
|
+
"name": "index",
|
|
404
|
+
"type": {
|
|
405
|
+
"text": "number"
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
"description": "\"2026-01: USDC 100, USDT 20\" — one line per category for assistive tech."
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"kind": "field",
|
|
413
|
+
"name": "chartAriaLabel",
|
|
414
|
+
"type": {
|
|
415
|
+
"text": "string"
|
|
416
|
+
},
|
|
417
|
+
"privacy": "private",
|
|
418
|
+
"readonly": true
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"kind": "method",
|
|
422
|
+
"name": "buildOption",
|
|
423
|
+
"privacy": "private",
|
|
424
|
+
"return": {
|
|
425
|
+
"type": {
|
|
426
|
+
"text": "ChartOption"
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
"parameters": [
|
|
430
|
+
{
|
|
431
|
+
"name": "animate",
|
|
432
|
+
"type": {
|
|
433
|
+
"text": "boolean"
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
]
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"kind": "method",
|
|
440
|
+
"name": "itemRadius",
|
|
441
|
+
"privacy": "private",
|
|
442
|
+
"return": {
|
|
443
|
+
"type": {
|
|
444
|
+
"text": "number | number[]"
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"parameters": [
|
|
448
|
+
{
|
|
449
|
+
"name": "i",
|
|
450
|
+
"type": {
|
|
451
|
+
"text": "number"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"name": "index",
|
|
456
|
+
"type": {
|
|
457
|
+
"text": "number"
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"name": "value",
|
|
462
|
+
"type": {
|
|
463
|
+
"text": "number"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"name": "stacked",
|
|
468
|
+
"type": {
|
|
469
|
+
"text": "boolean"
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
"description": "Corner radius per bar item. A bar is rounded at its far end from zero: top\ncorners above zero, bottom corners below. Stacked, only the outermost\nsegment on each side of zero is rounded, so each stack reads as one shape\n(ECharts stacks positives and negatives separately — `samesign`)."
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"kind": "method",
|
|
477
|
+
"name": "buildSeries",
|
|
478
|
+
"privacy": "private",
|
|
479
|
+
"return": {
|
|
480
|
+
"type": {
|
|
481
|
+
"text": "BarSeriesOption | LineSeriesOption"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"parameters": [
|
|
485
|
+
{
|
|
486
|
+
"name": "s",
|
|
487
|
+
"type": {
|
|
488
|
+
"text": "BarChartSeries"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "i",
|
|
493
|
+
"type": {
|
|
494
|
+
"text": "number"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "stacked",
|
|
499
|
+
"type": {
|
|
500
|
+
"text": "boolean"
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
]
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"events": [
|
|
507
|
+
{
|
|
508
|
+
"description": "Fired when a bar is clicked. `detail: { category, series, value, index }`.",
|
|
509
|
+
"name": "reke-bar-chart-select"
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"attributes": [
|
|
513
|
+
{
|
|
514
|
+
"name": "label",
|
|
515
|
+
"type": {
|
|
516
|
+
"text": "string"
|
|
517
|
+
},
|
|
518
|
+
"default": "'Bar chart'",
|
|
519
|
+
"description": "Accessible label describing the chart. Required for screen readers.",
|
|
520
|
+
"fieldName": "label"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "stacked",
|
|
524
|
+
"type": {
|
|
525
|
+
"text": "boolean"
|
|
526
|
+
},
|
|
527
|
+
"default": "false",
|
|
528
|
+
"description": "Stack every series into a single bar per category instead of grouping them side by side.",
|
|
529
|
+
"fieldName": "stacked"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "show-legend",
|
|
533
|
+
"type": {
|
|
534
|
+
"text": "boolean"
|
|
535
|
+
},
|
|
536
|
+
"default": "false",
|
|
537
|
+
"description": "Show the legend above the chart.",
|
|
538
|
+
"fieldName": "showLegend"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "loading",
|
|
542
|
+
"type": {
|
|
543
|
+
"text": "boolean"
|
|
544
|
+
},
|
|
545
|
+
"default": "false",
|
|
546
|
+
"description": "Show ECharts' native loading spinner over the chart.",
|
|
547
|
+
"fieldName": "loading"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "animation-duration",
|
|
551
|
+
"type": {
|
|
552
|
+
"text": "number"
|
|
553
|
+
},
|
|
554
|
+
"default": "700",
|
|
555
|
+
"description": "Entry/update animation length in ms. `0` disables animation.",
|
|
556
|
+
"fieldName": "animationDuration"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "max-visible",
|
|
560
|
+
"type": {
|
|
561
|
+
"text": "number"
|
|
562
|
+
},
|
|
563
|
+
"default": "0",
|
|
564
|
+
"description": "Most categories drawn at once. Past it the chart opens on the latest ones\nand becomes scrollable/zoomable (wheel, drag, and a slider below). `0` = show all.",
|
|
565
|
+
"fieldName": "maxVisible"
|
|
566
|
+
}
|
|
567
|
+
],
|
|
568
|
+
"superclass": {
|
|
569
|
+
"name": "RekeElement",
|
|
570
|
+
"module": "/src/shared/base-element.js"
|
|
571
|
+
},
|
|
572
|
+
"tagName": "reke-bar-chart",
|
|
573
|
+
"customElement": true,
|
|
574
|
+
"summary": "A categorical bar chart (grouped or stacked) rendered with ECharts, isolated in Shadow DOM.\n\nCanvas cannot resolve `var()`, so every token below is read off the host's\ncomputed style and re-read whenever `data-reke-theme` or the OS color scheme\nchanges on the document."
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"exports": [
|
|
578
|
+
{
|
|
579
|
+
"kind": "js",
|
|
580
|
+
"name": "RekeBarChart",
|
|
581
|
+
"declaration": {
|
|
582
|
+
"name": "RekeBarChart",
|
|
583
|
+
"module": "src/components/reke-bar-chart/reke-bar-chart.ts"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"kind": "custom-element-definition",
|
|
588
|
+
"name": "reke-bar-chart",
|
|
589
|
+
"declaration": {
|
|
590
|
+
"name": "RekeBarChart",
|
|
591
|
+
"module": "src/components/reke-bar-chart/reke-bar-chart.ts"
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
]
|
|
595
|
+
},
|
|
131
596
|
{
|
|
132
597
|
"kind": "javascript-module",
|
|
133
598
|
"path": "src/components/reke-badge/reke-badge.ts",
|
|
@@ -2117,6 +2582,35 @@
|
|
|
2117
2582
|
"attribute": "position",
|
|
2118
2583
|
"reflects": true
|
|
2119
2584
|
},
|
|
2585
|
+
{
|
|
2586
|
+
"kind": "field",
|
|
2587
|
+
"name": "_closing",
|
|
2588
|
+
"type": {
|
|
2589
|
+
"text": "boolean"
|
|
2590
|
+
},
|
|
2591
|
+
"privacy": "private",
|
|
2592
|
+
"default": "false",
|
|
2593
|
+
"description": "Kept rendering after `open` flips to false so the panel can animate out.\nWithout it `render()` would return `nothing` and the exit would be instant."
|
|
2594
|
+
},
|
|
2595
|
+
{
|
|
2596
|
+
"kind": "field",
|
|
2597
|
+
"name": "_settled",
|
|
2598
|
+
"type": {
|
|
2599
|
+
"text": "boolean"
|
|
2600
|
+
},
|
|
2601
|
+
"privacy": "private",
|
|
2602
|
+
"default": "false",
|
|
2603
|
+
"description": "Set once the enter animation has finished so the resting panel can drop its\n`transform`. `animation-fill-mode: both` otherwise keeps the final keyframe\napplied forever, and a transformed element becomes the containing block for\nits `position: fixed` descendants — which silently relocates every floating\nlayer inside the dialog (combobox dropdowns, menus) because their\nviewport-based coordinates are suddenly resolved against the panel."
|
|
2604
|
+
},
|
|
2605
|
+
{
|
|
2606
|
+
"kind": "field",
|
|
2607
|
+
"name": "_exitTimer",
|
|
2608
|
+
"type": {
|
|
2609
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2610
|
+
},
|
|
2611
|
+
"privacy": "private",
|
|
2612
|
+
"default": "null"
|
|
2613
|
+
},
|
|
2120
2614
|
{
|
|
2121
2615
|
"kind": "field",
|
|
2122
2616
|
"name": "_previouslyFocused",
|
|
@@ -2209,6 +2703,21 @@
|
|
|
2209
2703
|
"name": "handleClosed",
|
|
2210
2704
|
"privacy": "private"
|
|
2211
2705
|
},
|
|
2706
|
+
{
|
|
2707
|
+
"kind": "method",
|
|
2708
|
+
"name": "startExit",
|
|
2709
|
+
"privacy": "private"
|
|
2710
|
+
},
|
|
2711
|
+
{
|
|
2712
|
+
"kind": "method",
|
|
2713
|
+
"name": "cancelExit",
|
|
2714
|
+
"privacy": "private"
|
|
2715
|
+
},
|
|
2716
|
+
{
|
|
2717
|
+
"kind": "field",
|
|
2718
|
+
"name": "handleExitAnimationEnd",
|
|
2719
|
+
"privacy": "private"
|
|
2720
|
+
},
|
|
2212
2721
|
{
|
|
2213
2722
|
"kind": "method",
|
|
2214
2723
|
"name": "lockScroll",
|
|
@@ -3341,15 +3850,69 @@
|
|
|
3341
3850
|
"name": "RekePieChart",
|
|
3342
3851
|
"cssProperties": [
|
|
3343
3852
|
{
|
|
3344
|
-
"description": "
|
|
3853
|
+
"description": "Slice colors 1–6 (`--reke-chart-1` … `--reke-chart-6`).",
|
|
3854
|
+
"name": "--reke-chart-1",
|
|
3855
|
+
"default": "#22C55E"
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
"description": "Chart height when `size` is not set.",
|
|
3859
|
+
"name": "--reke-pie-chart-height",
|
|
3860
|
+
"default": "240px"
|
|
3861
|
+
},
|
|
3862
|
+
{
|
|
3863
|
+
"description": "Loading spinner color.",
|
|
3345
3864
|
"name": "--reke-color-primary",
|
|
3346
3865
|
"default": "#22C55E"
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
"description": "Loading mask tint.",
|
|
3869
|
+
"name": "--reke-color-bg",
|
|
3870
|
+
"default": "#0A0A0B"
|
|
3871
|
+
},
|
|
3872
|
+
{
|
|
3873
|
+
"description": "Tooltip background.",
|
|
3874
|
+
"name": "--reke-color-surface",
|
|
3875
|
+
"default": "#1A1A1A"
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"description": "Tooltip border.",
|
|
3879
|
+
"name": "--reke-color-border",
|
|
3880
|
+
"default": "#252525"
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"description": "Center value, labels and tooltip text.",
|
|
3884
|
+
"name": "--reke-color-text",
|
|
3885
|
+
"default": "#E5E5E5"
|
|
3886
|
+
},
|
|
3887
|
+
{
|
|
3888
|
+
"description": "Legend and center caption text.",
|
|
3889
|
+
"name": "--reke-color-text-label",
|
|
3890
|
+
"default": "#8A8A8A"
|
|
3891
|
+
},
|
|
3892
|
+
{
|
|
3893
|
+
"description": "Legend items toggled off.",
|
|
3894
|
+
"name": "--reke-color-text-disabled",
|
|
3895
|
+
"default": "#3B3B3B"
|
|
3896
|
+
},
|
|
3897
|
+
{
|
|
3898
|
+
"description": "Pie label connector lines.",
|
|
3899
|
+
"name": "--reke-color-border-hover",
|
|
3900
|
+
"default": "#3A3A3A"
|
|
3901
|
+
},
|
|
3902
|
+
{
|
|
3903
|
+
"description": "Chart font family.",
|
|
3904
|
+
"name": "--reke-font-mono",
|
|
3905
|
+
"default": "JetBrains Mono"
|
|
3347
3906
|
}
|
|
3348
3907
|
],
|
|
3349
3908
|
"cssParts": [
|
|
3350
3909
|
{
|
|
3351
3910
|
"description": "The chart canvas container.",
|
|
3352
3911
|
"name": "chart"
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"description": "The donut center overlay (total, or the hovered slice).",
|
|
3915
|
+
"name": "center"
|
|
3353
3916
|
}
|
|
3354
3917
|
],
|
|
3355
3918
|
"members": [
|
|
@@ -3422,6 +3985,37 @@
|
|
|
3422
3985
|
},
|
|
3423
3986
|
"description": "Explicit color palette. Overrides the `--reke-chart-*` tokens when set."
|
|
3424
3987
|
},
|
|
3988
|
+
{
|
|
3989
|
+
"kind": "field",
|
|
3990
|
+
"name": "centerLabel",
|
|
3991
|
+
"type": {
|
|
3992
|
+
"text": "string"
|
|
3993
|
+
},
|
|
3994
|
+
"default": "'Total'",
|
|
3995
|
+
"description": "Caption under the total in the donut center.",
|
|
3996
|
+
"attribute": "center-label"
|
|
3997
|
+
},
|
|
3998
|
+
{
|
|
3999
|
+
"kind": "field",
|
|
4000
|
+
"name": "hideCenter",
|
|
4001
|
+
"type": {
|
|
4002
|
+
"text": "boolean"
|
|
4003
|
+
},
|
|
4004
|
+
"default": "false",
|
|
4005
|
+
"description": "Hide the donut center overlay (total / hovered slice).",
|
|
4006
|
+
"attribute": "hide-center",
|
|
4007
|
+
"reflects": true
|
|
4008
|
+
},
|
|
4009
|
+
{
|
|
4010
|
+
"kind": "field",
|
|
4011
|
+
"name": "animationDuration",
|
|
4012
|
+
"type": {
|
|
4013
|
+
"text": "number"
|
|
4014
|
+
},
|
|
4015
|
+
"default": "700",
|
|
4016
|
+
"description": "Entry/update animation length in ms. `0` disables animation.",
|
|
4017
|
+
"attribute": "animation-duration"
|
|
4018
|
+
},
|
|
3425
4019
|
{
|
|
3426
4020
|
"kind": "field",
|
|
3427
4021
|
"name": "chart",
|
|
@@ -3438,6 +4032,56 @@
|
|
|
3438
4032
|
},
|
|
3439
4033
|
"privacy": "private"
|
|
3440
4034
|
},
|
|
4035
|
+
{
|
|
4036
|
+
"kind": "field",
|
|
4037
|
+
"name": "visibility",
|
|
4038
|
+
"type": {
|
|
4039
|
+
"text": "IntersectionObserver | undefined"
|
|
4040
|
+
},
|
|
4041
|
+
"privacy": "private"
|
|
4042
|
+
},
|
|
4043
|
+
{
|
|
4044
|
+
"kind": "field",
|
|
4045
|
+
"name": "themeObserver",
|
|
4046
|
+
"type": {
|
|
4047
|
+
"text": "MutationObserver | undefined"
|
|
4048
|
+
},
|
|
4049
|
+
"privacy": "private"
|
|
4050
|
+
},
|
|
4051
|
+
{
|
|
4052
|
+
"kind": "field",
|
|
4053
|
+
"name": "colorScheme",
|
|
4054
|
+
"type": {
|
|
4055
|
+
"text": "MediaQueryList | undefined"
|
|
4056
|
+
},
|
|
4057
|
+
"privacy": "private"
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
"kind": "field",
|
|
4061
|
+
"name": "hovered",
|
|
4062
|
+
"type": {
|
|
4063
|
+
"text": "HoveredSlice | undefined"
|
|
4064
|
+
},
|
|
4065
|
+
"privacy": "private",
|
|
4066
|
+
"description": "Slice under the pointer; the donut center shows it instead of the total."
|
|
4067
|
+
},
|
|
4068
|
+
{
|
|
4069
|
+
"kind": "field",
|
|
4070
|
+
"name": "hiddenNames",
|
|
4071
|
+
"privacy": "private",
|
|
4072
|
+
"default": "new Set<string>()",
|
|
4073
|
+
"description": "Slices toggled off from the legend, excluded from the center total."
|
|
4074
|
+
},
|
|
4075
|
+
{
|
|
4076
|
+
"kind": "field",
|
|
4077
|
+
"name": "revealed",
|
|
4078
|
+
"type": {
|
|
4079
|
+
"text": "boolean"
|
|
4080
|
+
},
|
|
4081
|
+
"privacy": "private",
|
|
4082
|
+
"default": "false",
|
|
4083
|
+
"description": "The entry animation is held back until the chart is actually on screen.\nECharts animates the moment `setOption` runs, so a chart mounted below the\nfold plays its reveal into a canvas nobody is looking at and is already\nstatic by the time it is scrolled to."
|
|
4084
|
+
},
|
|
3441
4085
|
{
|
|
3442
4086
|
"kind": "method",
|
|
3443
4087
|
"name": "readToken",
|
|
@@ -3463,6 +4107,17 @@
|
|
|
3463
4107
|
],
|
|
3464
4108
|
"description": "Read a CSS custom property off the host's computed style (canvas can't read var())."
|
|
3465
4109
|
},
|
|
4110
|
+
{
|
|
4111
|
+
"kind": "method",
|
|
4112
|
+
"name": "motionDuration",
|
|
4113
|
+
"privacy": "private",
|
|
4114
|
+
"return": {
|
|
4115
|
+
"type": {
|
|
4116
|
+
"text": "number"
|
|
4117
|
+
}
|
|
4118
|
+
},
|
|
4119
|
+
"description": "Honours the OS \"reduce motion\" setting: 0ms means ECharts paints statically."
|
|
4120
|
+
},
|
|
3466
4121
|
{
|
|
3467
4122
|
"kind": "method",
|
|
3468
4123
|
"name": "resolvePalette",
|
|
@@ -3473,6 +4128,54 @@
|
|
|
3473
4128
|
}
|
|
3474
4129
|
}
|
|
3475
4130
|
},
|
|
4131
|
+
{
|
|
4132
|
+
"kind": "method",
|
|
4133
|
+
"name": "watchTheme",
|
|
4134
|
+
"privacy": "private",
|
|
4135
|
+
"return": {
|
|
4136
|
+
"type": {
|
|
4137
|
+
"text": "void"
|
|
4138
|
+
}
|
|
4139
|
+
},
|
|
4140
|
+
"description": "Repaints with freshly read tokens when the theme switches."
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
"kind": "field",
|
|
4144
|
+
"name": "repaint",
|
|
4145
|
+
"privacy": "private",
|
|
4146
|
+
"description": "Static repaint: a theme switch should not replay the entry animation."
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
"kind": "method",
|
|
4150
|
+
"name": "inViewport",
|
|
4151
|
+
"privacy": "private",
|
|
4152
|
+
"return": {
|
|
4153
|
+
"type": {
|
|
4154
|
+
"text": "boolean"
|
|
4155
|
+
}
|
|
4156
|
+
}
|
|
4157
|
+
},
|
|
4158
|
+
{
|
|
4159
|
+
"kind": "method",
|
|
4160
|
+
"name": "watchVisibility",
|
|
4161
|
+
"privacy": "private",
|
|
4162
|
+
"return": {
|
|
4163
|
+
"type": {
|
|
4164
|
+
"text": "void"
|
|
4165
|
+
}
|
|
4166
|
+
},
|
|
4167
|
+
"description": "Reveals on first intersection and then stops observing: the animation is an\nentrance, not something to replay on every scroll past."
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
"kind": "method",
|
|
4171
|
+
"name": "reveal",
|
|
4172
|
+
"privacy": "private",
|
|
4173
|
+
"return": {
|
|
4174
|
+
"type": {
|
|
4175
|
+
"text": "void"
|
|
4176
|
+
}
|
|
4177
|
+
}
|
|
4178
|
+
},
|
|
3476
4179
|
{
|
|
3477
4180
|
"kind": "method",
|
|
3478
4181
|
"name": "applyLoading",
|
|
@@ -3492,6 +4195,24 @@
|
|
|
3492
4195
|
"privacy": "private",
|
|
3493
4196
|
"readonly": true
|
|
3494
4197
|
},
|
|
4198
|
+
{
|
|
4199
|
+
"kind": "field",
|
|
4200
|
+
"name": "showCenter",
|
|
4201
|
+
"type": {
|
|
4202
|
+
"text": "boolean"
|
|
4203
|
+
},
|
|
4204
|
+
"privacy": "private",
|
|
4205
|
+
"readonly": true
|
|
4206
|
+
},
|
|
4207
|
+
{
|
|
4208
|
+
"kind": "field",
|
|
4209
|
+
"name": "visibleTotal",
|
|
4210
|
+
"type": {
|
|
4211
|
+
"text": "number"
|
|
4212
|
+
},
|
|
4213
|
+
"privacy": "private",
|
|
4214
|
+
"readonly": true
|
|
4215
|
+
},
|
|
3495
4216
|
{
|
|
3496
4217
|
"kind": "field",
|
|
3497
4218
|
"name": "chartAriaLabel",
|
|
@@ -3509,7 +4230,20 @@
|
|
|
3509
4230
|
"type": {
|
|
3510
4231
|
"text": "ChartOption"
|
|
3511
4232
|
}
|
|
3512
|
-
}
|
|
4233
|
+
},
|
|
4234
|
+
"parameters": [
|
|
4235
|
+
{
|
|
4236
|
+
"name": "animate",
|
|
4237
|
+
"type": {
|
|
4238
|
+
"text": "boolean"
|
|
4239
|
+
}
|
|
4240
|
+
}
|
|
4241
|
+
]
|
|
4242
|
+
},
|
|
4243
|
+
{
|
|
4244
|
+
"kind": "method",
|
|
4245
|
+
"name": "renderCenter",
|
|
4246
|
+
"privacy": "private"
|
|
3513
4247
|
}
|
|
3514
4248
|
],
|
|
3515
4249
|
"events": [
|
|
@@ -3562,6 +4296,33 @@
|
|
|
3562
4296
|
"default": "false",
|
|
3563
4297
|
"description": "Show ECharts' native loading spinner (skeleton) over the chart.",
|
|
3564
4298
|
"fieldName": "loading"
|
|
4299
|
+
},
|
|
4300
|
+
{
|
|
4301
|
+
"name": "center-label",
|
|
4302
|
+
"type": {
|
|
4303
|
+
"text": "string"
|
|
4304
|
+
},
|
|
4305
|
+
"default": "'Total'",
|
|
4306
|
+
"description": "Caption under the total in the donut center.",
|
|
4307
|
+
"fieldName": "centerLabel"
|
|
4308
|
+
},
|
|
4309
|
+
{
|
|
4310
|
+
"name": "hide-center",
|
|
4311
|
+
"type": {
|
|
4312
|
+
"text": "boolean"
|
|
4313
|
+
},
|
|
4314
|
+
"default": "false",
|
|
4315
|
+
"description": "Hide the donut center overlay (total / hovered slice).",
|
|
4316
|
+
"fieldName": "hideCenter"
|
|
4317
|
+
},
|
|
4318
|
+
{
|
|
4319
|
+
"name": "animation-duration",
|
|
4320
|
+
"type": {
|
|
4321
|
+
"text": "number"
|
|
4322
|
+
},
|
|
4323
|
+
"default": "700",
|
|
4324
|
+
"description": "Entry/update animation length in ms. `0` disables animation.",
|
|
4325
|
+
"fieldName": "animationDuration"
|
|
3565
4326
|
}
|
|
3566
4327
|
],
|
|
3567
4328
|
"superclass": {
|
|
@@ -3570,7 +4331,7 @@
|
|
|
3570
4331
|
},
|
|
3571
4332
|
"tagName": "reke-pie-chart",
|
|
3572
4333
|
"customElement": true,
|
|
3573
|
-
"summary": "A circular (pie / donut) chart rendered with ECharts, isolated in Shadow DOM."
|
|
4334
|
+
"summary": "A circular (pie / donut) chart rendered with ECharts, isolated in Shadow DOM.\n\nCanvas cannot resolve `var()`, so every token below is read off the host's\ncomputed style and re-read whenever `data-reke-theme` or the OS color scheme\nchanges on the document."
|
|
3574
4335
|
}
|
|
3575
4336
|
],
|
|
3576
4337
|
"exports": [
|