minerva-design 1.13.1 → 1.14.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/CHANGELOG.md +16 -0
- package/custom-elements.json +194 -12
- package/dist/angular/fesm2022/minerva-angular.mjs +20 -0
- package/dist/angular/fesm2022/minerva-angular.mjs.map +1 -1
- package/dist/angular/types/minerva-angular.d.ts +10 -1
- package/dist/charts/canvas.d.cts +1 -0
- package/dist/charts/canvas.d.ts +1 -0
- package/dist/charts/engine/canvas.cjs +1 -1
- package/dist/charts/engine/canvas.cjs.map +1 -1
- package/dist/charts/engine/canvas.js +152 -128
- package/dist/charts/engine/canvas.js.map +1 -1
- package/dist/charts/engine/chart.cjs +1 -1
- package/dist/charts/engine/chart.cjs.map +1 -1
- package/dist/charts/engine/chart.js +475 -405
- package/dist/charts/engine/chart.js.map +1 -1
- package/dist/charts/engine/controller.cjs +2 -2
- package/dist/charts/engine/controller.cjs.map +1 -1
- package/dist/charts/engine/controller.js +263 -248
- package/dist/charts/engine/controller.js.map +1 -1
- package/dist/charts/engine/dom.cjs +1 -1
- package/dist/charts/engine/dom.cjs.map +1 -1
- package/dist/charts/engine/dom.d.cts +34 -0
- package/dist/charts/engine/dom.d.ts +34 -0
- package/dist/charts/engine/dom.js +62 -51
- package/dist/charts/engine/dom.js.map +1 -1
- package/dist/charts/engine/graph/chart.cjs +1 -1
- package/dist/charts/engine/graph/chart.cjs.map +1 -1
- package/dist/charts/engine/graph/chart.js +835 -821
- package/dist/charts/engine/graph/chart.js.map +1 -1
- package/dist/charts/engine/graph/dom.cjs +1 -1
- package/dist/charts/engine/graph/dom.cjs.map +1 -1
- package/dist/charts/engine/graph/dom.js +44 -51
- package/dist/charts/engine/graph/dom.js.map +1 -1
- package/dist/charts/engine/hover-rect.cjs +2 -0
- package/dist/charts/engine/hover-rect.cjs.map +1 -0
- package/dist/charts/engine/hover-rect.d.cts +10 -0
- package/dist/charts/engine/hover-rect.d.ts +10 -0
- package/dist/charts/engine/hover-rect.js +47 -0
- package/dist/charts/engine/hover-rect.js.map +1 -0
- package/dist/charts/engine/items.cjs +1 -1
- package/dist/charts/engine/items.cjs.map +1 -1
- package/dist/charts/engine/items.js +8 -8
- package/dist/charts/engine/model.cjs +1 -1
- package/dist/charts/engine/model.cjs.map +1 -1
- package/dist/charts/engine/model.js +191 -191
- package/dist/charts/engine/model.js.map +1 -1
- package/dist/charts/engine/orderbook/depth.cjs +1 -1
- package/dist/charts/engine/orderbook/depth.cjs.map +1 -1
- package/dist/charts/engine/orderbook/depth.js +63 -63
- package/dist/charts/engine/orderbook/heatmap.cjs +1 -1
- package/dist/charts/engine/orderbook/heatmap.cjs.map +1 -1
- package/dist/charts/engine/orderbook/heatmap.js +155 -155
- package/dist/charts/engine/orderbook/host.cjs +1 -1
- package/dist/charts/engine/orderbook/host.cjs.map +1 -1
- package/dist/charts/engine/orderbook/host.js +87 -75
- package/dist/charts/engine/orderbook/host.js.map +1 -1
- package/dist/charts/engine/orderbook/ladder.cjs +1 -1
- package/dist/charts/engine/orderbook/ladder.cjs.map +1 -1
- package/dist/charts/engine/orderbook/ladder.js +41 -41
- package/dist/charts/engine/orderbook/tape.cjs +1 -1
- package/dist/charts/engine/orderbook/tape.cjs.map +1 -1
- package/dist/charts/engine/orderbook/tape.js +31 -31
- package/dist/charts/engine/presets.cjs +2 -2
- package/dist/charts/engine/presets.cjs.map +1 -1
- package/dist/charts/engine/presets.js +15 -15
- package/dist/charts/engine/renderers/vector-gpu.cjs +24 -0
- package/dist/charts/engine/renderers/vector-gpu.cjs.map +1 -0
- package/dist/charts/engine/renderers/vector-gpu.d.cts +22 -0
- package/dist/charts/engine/renderers/vector-gpu.d.ts +22 -0
- package/dist/charts/engine/renderers/vector-gpu.js +301 -0
- package/dist/charts/engine/renderers/vector-gpu.js.map +1 -0
- package/dist/charts/engine/renderers/vector.cjs +2 -0
- package/dist/charts/engine/renderers/vector.cjs.map +1 -0
- package/dist/charts/engine/renderers/vector.d.cts +140 -0
- package/dist/charts/engine/renderers/vector.d.ts +140 -0
- package/dist/charts/engine/renderers/vector.js +568 -0
- package/dist/charts/engine/renderers/vector.js.map +1 -0
- package/dist/charts/engine/scene.cjs +1 -1
- package/dist/charts/engine/scene.cjs.map +1 -1
- package/dist/charts/engine/scene.d.cts +43 -3
- package/dist/charts/engine/scene.d.ts +43 -3
- package/dist/charts/engine/scene.js +411 -338
- package/dist/charts/engine/scene.js.map +1 -1
- package/dist/charts/engine/shapes/bullet.cjs +1 -1
- package/dist/charts/engine/shapes/bullet.cjs.map +1 -1
- package/dist/charts/engine/shapes/bullet.js +36 -36
- package/dist/charts/engine/shapes/calendar.cjs +1 -1
- package/dist/charts/engine/shapes/calendar.cjs.map +1 -1
- package/dist/charts/engine/shapes/calendar.js +53 -53
- package/dist/charts/engine/shapes/chart.cjs +1 -1
- package/dist/charts/engine/shapes/chart.cjs.map +1 -1
- package/dist/charts/engine/shapes/chart.d.cts +3 -2
- package/dist/charts/engine/shapes/chart.d.ts +3 -2
- package/dist/charts/engine/shapes/chart.js +192 -162
- package/dist/charts/engine/shapes/chart.js.map +1 -1
- package/dist/charts/engine/shapes/draw.cjs +1 -1
- package/dist/charts/engine/shapes/draw.cjs.map +1 -1
- package/dist/charts/engine/shapes/draw.js +87 -86
- package/dist/charts/engine/shapes/draw.js.map +1 -1
- package/dist/charts/engine/shapes/layout.cjs +2 -2
- package/dist/charts/engine/shapes/layout.cjs.map +1 -1
- package/dist/charts/engine/shapes/layout.d.cts +8 -7
- package/dist/charts/engine/shapes/layout.d.ts +8 -7
- package/dist/charts/engine/shapes/layout.js +262 -166
- package/dist/charts/engine/shapes/layout.js.map +1 -1
- package/dist/charts/engine/shapes/types.d.cts +13 -1
- package/dist/charts/engine/shapes/types.d.ts +13 -1
- package/dist/charts/engine/three-d/chart.cjs +1 -1
- package/dist/charts/engine/three-d/chart.cjs.map +1 -1
- package/dist/charts/engine/three-d/chart.js +266 -257
- package/dist/charts/engine/three-d/chart.js.map +1 -1
- package/dist/charts/engine/three-d/dom.cjs +1 -1
- package/dist/charts/engine/three-d/dom.cjs.map +1 -1
- package/dist/charts/engine/three-d/dom.js +28 -35
- package/dist/charts/engine/three-d/dom.js.map +1 -1
- package/dist/charts/engine/three-d/geometry.cjs +1 -1
- package/dist/charts/engine/three-d/geometry.cjs.map +1 -1
- package/dist/charts/engine/three-d/geometry.js +70 -70
- package/dist/charts/engine/three-d/overlay.cjs +1 -1
- package/dist/charts/engine/three-d/overlay.cjs.map +1 -1
- package/dist/charts/engine/three-d/overlay.js +15 -15
- package/dist/charts/engine/tooltip.cjs +2 -0
- package/dist/charts/engine/tooltip.cjs.map +1 -0
- package/dist/charts/engine/tooltip.d.cts +94 -0
- package/dist/charts/engine/tooltip.d.ts +94 -0
- package/dist/charts/engine/tooltip.js +242 -0
- package/dist/charts/engine/tooltip.js.map +1 -0
- package/dist/charts/engine/trading/chart.cjs +1 -1
- package/dist/charts/engine/trading/chart.cjs.map +1 -1
- package/dist/charts/engine/trading/chart.js +135 -135
- package/dist/charts/react/shapes.cjs +1 -1
- package/dist/charts/react/shapes.cjs.map +1 -1
- package/dist/charts/react/shapes.d.cts +10 -1
- package/dist/charts/react/shapes.d.ts +10 -1
- package/dist/charts/react/shapes.js +24 -19
- package/dist/charts/react/shapes.js.map +1 -1
- package/dist/core/contracts.cjs +1 -1
- package/dist/core/contracts.cjs.map +1 -1
- package/dist/core/contracts.js +1 -1
- package/dist/core/contracts.js.map +1 -1
- package/dist/native/charts/src/canvas.cjs +1 -1
- package/dist/native/charts/src/canvas.js +8 -7
- package/dist/native/charts/src/engine/canvas.cjs +1 -1
- package/dist/native/charts/src/engine/canvas.js +2 -0
- package/dist/native/charts/src/engine/controller.cjs +2 -2
- package/dist/native/charts/src/engine/controller.cjs.map +1 -1
- package/dist/native/charts/src/engine/controller.js +102 -87
- package/dist/native/charts/src/engine/controller.js.map +1 -1
- package/dist/native/charts/src/engine/hover-rect.cjs +2 -0
- package/dist/native/charts/src/engine/hover-rect.cjs.map +1 -0
- package/dist/native/charts/src/engine/hover-rect.js +47 -0
- package/dist/native/charts/src/engine/hover-rect.js.map +1 -0
- package/dist/native/charts/src/engine/scene.cjs +1 -1
- package/dist/native/charts/src/engine/scene.cjs.map +1 -1
- package/dist/native/charts/src/engine/scene.js +318 -245
- package/dist/native/charts/src/engine/scene.js.map +1 -1
- package/dist/native/charts/src/engine/shapes/draw.cjs +1 -1
- package/dist/native/charts/src/engine/shapes/draw.cjs.map +1 -1
- package/dist/native/charts/src/engine/shapes/draw.js +81 -80
- package/dist/native/charts/src/engine/shapes/draw.js.map +1 -1
- package/dist/native/charts/src/engine/shapes/layout.cjs +2 -2
- package/dist/native/charts/src/engine/shapes/layout.cjs.map +1 -1
- package/dist/native/charts/src/engine/shapes/layout.js +239 -143
- package/dist/native/charts/src/engine/shapes/layout.js.map +1 -1
- package/dist/native/charts/src/engine/tooltip.cjs +2 -0
- package/dist/native/charts/src/engine/tooltip.cjs.map +1 -0
- package/dist/native/charts/src/engine/tooltip.js +164 -0
- package/dist/native/charts/src/engine/tooltip.js.map +1 -0
- package/dist/native/components/Chart/scene.cjs +1 -1
- package/dist/native/components/Chart/scene.cjs.map +1 -1
- package/dist/native/components/Chart/scene.js +210 -187
- package/dist/native/components/Chart/scene.js.map +1 -1
- package/dist/native/source/components/Chart/scene.tsx +55 -2
- package/dist/taro/index.js +2026 -1626
- package/dist/taro/style.css +2 -0
- package/dist/uni/charts-canvas.js +1 -0
- package/dist/vue/components/Chart/BulletChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/CalendarHeatmap.vue.d.ts +2 -0
- package/dist/vue/components/Chart/ChordChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/DonutChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/FunnelChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/GaugeChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/PieChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/RadarChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/RadialBarChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/SankeyChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/SunburstChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/TreemapChart.vue.d.ts +2 -0
- package/dist/vue/components/Chart/props.d.ts +2 -0
- package/dist/vue/components/Chart/props.js +1 -0
- package/dist/vue/components/Chart/props.js.map +1 -1
- package/dist/vue/components/Chart/shape.d.ts +2 -1
- package/dist/vue/components/Chart/shape.js +2 -0
- package/dist/vue/components/Chart/shape.js.map +1 -1
- package/dist/vue/components/Chart/types.d.ts +2 -0
- package/dist/weapp/charts/canvas.js +2576 -1969
- package/dist/weapp/charts/core.js +1 -0
- package/dist/web-components/components/chart/shape-chart.d.ts +9 -7
- package/dist/web-components/components/chart/shape-chart.js +3 -0
- package/dist/web-components/components/chart/shape-chart.js.map +1 -1
- package/dist/web-components/components/chart/shapes-extended.d.ts +6 -6
- package/dist/web-components/components/chart/shapes-extended.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# minerva-design
|
|
2
2
|
|
|
3
|
+
## 1.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 7a36351: Charts: GPU shape charts, glass tooltips that stay off the hovered mark, clearer hover emphasis.
|
|
8
|
+
|
|
9
|
+
- **Shape charts on the GPU**: pie / donut, radar, gauge, funnel, treemap, sankey, sunburst, radial bar, calendar heatmap, bullet and chord charts now draw their shapes with WebGPU, then WebGL2 / WebGL (same order and software-GPU rules as the other charts, following `setDefaultChartRenderer`), with Canvas2D as the fallback. Paths are tessellated into triangles drawn with 4x MSAA and stencil-based nonzero fills; text stays on a 2D canvas above. New `renderer` option / prop (React, Vue, Web Components `options`, Angular) and `getRenderer()`; the chart root reports its backend in `data-renderer`. Mini-program canvas hosts keep Canvas2D.
|
|
10
|
+
- **Tooltips**: translucent background with a backdrop blur (opaque where `color-mix` is unsupported), placed beside the hovered bar group, point, cell, slice or row instead of over it (Gantt and horizontal bars: above / below the row). Tooltips larger than a tiny chart (sparklines) are shown outside it, in the top layer where the Popover API exists. Shape chart tooltips also avoid labels. Native and canvas tooltips are translucent too.
|
|
11
|
+
- **Hover emphasis**: the hovered bar (bar charts, histograms, waterfalls, Gantt tasks) is redrawn thicker (never longer), ringed and lifted above a veil that dims the rest of the plot; grouped bars never grow into their neighbours. Heatmap cells get a 2px contrasting ring, a halo and a larger lift. A short grow-in animation is skipped when the user prefers reduced motion.
|
|
12
|
+
|
|
13
|
+
## 1.13.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 73e21ad: Taro: page sections keep their bottom-only 24px spacing now that they also match the shared `.mn-page-section` rule (no extra top margin).
|
|
18
|
+
|
|
3
19
|
## 1.13.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/custom-elements.json
CHANGED
|
@@ -10440,6 +10440,20 @@
|
|
|
10440
10440
|
"module": "src/components/chart/shape-chart.ts"
|
|
10441
10441
|
}
|
|
10442
10442
|
},
|
|
10443
|
+
{
|
|
10444
|
+
"kind": "method",
|
|
10445
|
+
"name": "getRenderer",
|
|
10446
|
+
"return": {
|
|
10447
|
+
"type": {
|
|
10448
|
+
"text": "ChartRendererKind | null"
|
|
10449
|
+
}
|
|
10450
|
+
},
|
|
10451
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
10452
|
+
"inheritedFrom": {
|
|
10453
|
+
"name": "MinervaShapeChartElement",
|
|
10454
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
10455
|
+
}
|
|
10456
|
+
},
|
|
10443
10457
|
{
|
|
10444
10458
|
"kind": "field",
|
|
10445
10459
|
"name": "height",
|
|
@@ -10587,7 +10601,7 @@
|
|
|
10587
10601
|
"type": {
|
|
10588
10602
|
"text": "Partial<Omit<PieChartOptions, \"type\">> | undefined"
|
|
10589
10603
|
},
|
|
10590
|
-
"description": "Other engine options (`PieChartOptions`: palette, legend, startAngle, labelContent, format...); property only"
|
|
10604
|
+
"description": "Other engine options (`PieChartOptions`: renderer, palette, legend, startAngle, labelContent, format...); property only"
|
|
10591
10605
|
},
|
|
10592
10606
|
{
|
|
10593
10607
|
"kind": "method",
|
|
@@ -10611,6 +10625,20 @@
|
|
|
10611
10625
|
"module": "src/components/chart/shape-chart.ts"
|
|
10612
10626
|
}
|
|
10613
10627
|
},
|
|
10628
|
+
{
|
|
10629
|
+
"kind": "method",
|
|
10630
|
+
"name": "getRenderer",
|
|
10631
|
+
"return": {
|
|
10632
|
+
"type": {
|
|
10633
|
+
"text": "ChartRendererKind | null"
|
|
10634
|
+
}
|
|
10635
|
+
},
|
|
10636
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
10637
|
+
"inheritedFrom": {
|
|
10638
|
+
"name": "MinervaShapeChartElement",
|
|
10639
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
10640
|
+
}
|
|
10641
|
+
},
|
|
10614
10642
|
{
|
|
10615
10643
|
"kind": "field",
|
|
10616
10644
|
"name": "height",
|
|
@@ -10832,7 +10860,7 @@
|
|
|
10832
10860
|
"type": {
|
|
10833
10861
|
"text": "Partial<Omit<PieChartOptions, \"type\">> | undefined"
|
|
10834
10862
|
},
|
|
10835
|
-
"description": "Other engine options (`PieChartOptions`: palette, legend, startAngle, labelContent, format...); property only",
|
|
10863
|
+
"description": "Other engine options (`PieChartOptions`: renderer, palette, legend, startAngle, labelContent, format...); property only",
|
|
10836
10864
|
"inheritedFrom": {
|
|
10837
10865
|
"name": "MinervaPieChart",
|
|
10838
10866
|
"module": "src/components/chart/shape-chart.ts"
|
|
@@ -10860,6 +10888,20 @@
|
|
|
10860
10888
|
"module": "src/components/chart/shape-chart.ts"
|
|
10861
10889
|
}
|
|
10862
10890
|
},
|
|
10891
|
+
{
|
|
10892
|
+
"kind": "method",
|
|
10893
|
+
"name": "getRenderer",
|
|
10894
|
+
"return": {
|
|
10895
|
+
"type": {
|
|
10896
|
+
"text": "ChartRendererKind | null"
|
|
10897
|
+
}
|
|
10898
|
+
},
|
|
10899
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
10900
|
+
"inheritedFrom": {
|
|
10901
|
+
"name": "MinervaShapeChartElement",
|
|
10902
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
10903
|
+
}
|
|
10904
|
+
},
|
|
10863
10905
|
{
|
|
10864
10906
|
"kind": "field",
|
|
10865
10907
|
"name": "height",
|
|
@@ -11050,7 +11092,7 @@
|
|
|
11050
11092
|
"type": {
|
|
11051
11093
|
"text": "Partial<Omit<RadarChartOptions, \"type\">> | undefined"
|
|
11052
11094
|
},
|
|
11053
|
-
"description": "Other engine options (`RadarChartOptions`: palette, legend, dots, format...); property only"
|
|
11095
|
+
"description": "Other engine options (`RadarChartOptions`: renderer, palette, legend, dots, format...); property only"
|
|
11054
11096
|
},
|
|
11055
11097
|
{
|
|
11056
11098
|
"kind": "method",
|
|
@@ -11074,6 +11116,20 @@
|
|
|
11074
11116
|
"module": "src/components/chart/shape-chart.ts"
|
|
11075
11117
|
}
|
|
11076
11118
|
},
|
|
11119
|
+
{
|
|
11120
|
+
"kind": "method",
|
|
11121
|
+
"name": "getRenderer",
|
|
11122
|
+
"return": {
|
|
11123
|
+
"type": {
|
|
11124
|
+
"text": "ChartRendererKind | null"
|
|
11125
|
+
}
|
|
11126
|
+
},
|
|
11127
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
11128
|
+
"inheritedFrom": {
|
|
11129
|
+
"name": "MinervaShapeChartElement",
|
|
11130
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
11131
|
+
}
|
|
11132
|
+
},
|
|
11077
11133
|
{
|
|
11078
11134
|
"kind": "field",
|
|
11079
11135
|
"name": "height",
|
|
@@ -11241,7 +11297,7 @@
|
|
|
11241
11297
|
"type": {
|
|
11242
11298
|
"text": "Partial<Omit<GaugeChartOptions, \"type\">> | undefined"
|
|
11243
11299
|
},
|
|
11244
|
-
"description": "Other engine options (`GaugeChartOptions`: sweep, thickness, color, ticks, format...); property only"
|
|
11300
|
+
"description": "Other engine options (`GaugeChartOptions`: renderer, sweep, thickness, color, ticks, format...); property only"
|
|
11245
11301
|
},
|
|
11246
11302
|
{
|
|
11247
11303
|
"kind": "method",
|
|
@@ -11265,6 +11321,20 @@
|
|
|
11265
11321
|
"module": "src/components/chart/shape-chart.ts"
|
|
11266
11322
|
}
|
|
11267
11323
|
},
|
|
11324
|
+
{
|
|
11325
|
+
"kind": "method",
|
|
11326
|
+
"name": "getRenderer",
|
|
11327
|
+
"return": {
|
|
11328
|
+
"type": {
|
|
11329
|
+
"text": "ChartRendererKind | null"
|
|
11330
|
+
}
|
|
11331
|
+
},
|
|
11332
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
11333
|
+
"inheritedFrom": {
|
|
11334
|
+
"name": "MinervaShapeChartElement",
|
|
11335
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
11336
|
+
}
|
|
11337
|
+
},
|
|
11268
11338
|
{
|
|
11269
11339
|
"kind": "field",
|
|
11270
11340
|
"name": "height",
|
|
@@ -11439,7 +11509,7 @@
|
|
|
11439
11509
|
"type": {
|
|
11440
11510
|
"text": "Partial<Omit<FunnelChartOptions, \"type\">> | undefined"
|
|
11441
11511
|
},
|
|
11442
|
-
"description": "Other engine options (`FunnelChartOptions`: gap, palette, legend, format...); property only"
|
|
11512
|
+
"description": "Other engine options (`FunnelChartOptions`: renderer, gap, palette, legend, format...); property only"
|
|
11443
11513
|
},
|
|
11444
11514
|
{
|
|
11445
11515
|
"kind": "method",
|
|
@@ -11463,6 +11533,20 @@
|
|
|
11463
11533
|
"module": "src/components/chart/shape-chart.ts"
|
|
11464
11534
|
}
|
|
11465
11535
|
},
|
|
11536
|
+
{
|
|
11537
|
+
"kind": "method",
|
|
11538
|
+
"name": "getRenderer",
|
|
11539
|
+
"return": {
|
|
11540
|
+
"type": {
|
|
11541
|
+
"text": "ChartRendererKind | null"
|
|
11542
|
+
}
|
|
11543
|
+
},
|
|
11544
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
11545
|
+
"inheritedFrom": {
|
|
11546
|
+
"name": "MinervaShapeChartElement",
|
|
11547
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
11548
|
+
}
|
|
11549
|
+
},
|
|
11466
11550
|
{
|
|
11467
11551
|
"kind": "field",
|
|
11468
11552
|
"name": "height",
|
|
@@ -11610,7 +11694,7 @@
|
|
|
11610
11694
|
"type": {
|
|
11611
11695
|
"text": "Partial<Omit<TreemapChartOptions, \"type\">> | undefined"
|
|
11612
11696
|
},
|
|
11613
|
-
"description": "Other engine options (`TreemapChartOptions`: palette, tooltip, format...); property only"
|
|
11697
|
+
"description": "Other engine options (`TreemapChartOptions`: renderer, palette, tooltip, format...); property only"
|
|
11614
11698
|
},
|
|
11615
11699
|
{
|
|
11616
11700
|
"kind": "method",
|
|
@@ -11634,6 +11718,20 @@
|
|
|
11634
11718
|
"module": "src/components/chart/shape-chart.ts"
|
|
11635
11719
|
}
|
|
11636
11720
|
},
|
|
11721
|
+
{
|
|
11722
|
+
"kind": "method",
|
|
11723
|
+
"name": "getRenderer",
|
|
11724
|
+
"return": {
|
|
11725
|
+
"type": {
|
|
11726
|
+
"text": "ChartRendererKind | null"
|
|
11727
|
+
}
|
|
11728
|
+
},
|
|
11729
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
11730
|
+
"inheritedFrom": {
|
|
11731
|
+
"name": "MinervaShapeChartElement",
|
|
11732
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
11733
|
+
}
|
|
11734
|
+
},
|
|
11637
11735
|
{
|
|
11638
11736
|
"kind": "field",
|
|
11639
11737
|
"name": "height",
|
|
@@ -11854,7 +11952,7 @@
|
|
|
11854
11952
|
"type": {
|
|
11855
11953
|
"text": "Partial<Omit<SankeyChartOptions, \"type\">> | undefined"
|
|
11856
11954
|
},
|
|
11857
|
-
"description": "Other engine options (`SankeyChartOptions`: nodeWidth, nodePadding, iterations, palette, format...); property only"
|
|
11955
|
+
"description": "Other engine options (`SankeyChartOptions`: renderer, nodeWidth, nodePadding, iterations, palette, format...); property only"
|
|
11858
11956
|
},
|
|
11859
11957
|
{
|
|
11860
11958
|
"kind": "method",
|
|
@@ -11878,6 +11976,20 @@
|
|
|
11878
11976
|
"module": "src/components/chart/shape-chart.ts"
|
|
11879
11977
|
}
|
|
11880
11978
|
},
|
|
11979
|
+
{
|
|
11980
|
+
"kind": "method",
|
|
11981
|
+
"name": "getRenderer",
|
|
11982
|
+
"return": {
|
|
11983
|
+
"type": {
|
|
11984
|
+
"text": "ChartRendererKind | null"
|
|
11985
|
+
}
|
|
11986
|
+
},
|
|
11987
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
11988
|
+
"inheritedFrom": {
|
|
11989
|
+
"name": "MinervaShapeChartElement",
|
|
11990
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
11991
|
+
}
|
|
11992
|
+
},
|
|
11881
11993
|
{
|
|
11882
11994
|
"kind": "field",
|
|
11883
11995
|
"name": "height",
|
|
@@ -12043,7 +12155,7 @@
|
|
|
12043
12155
|
"type": {
|
|
12044
12156
|
"text": "Partial<Omit<SunburstChartOptions, \"type\">> | undefined"
|
|
12045
12157
|
},
|
|
12046
|
-
"description": "Other engine options (`SunburstChartOptions`: levels, startAngle, padAngle, palette, format...); property only"
|
|
12158
|
+
"description": "Other engine options (`SunburstChartOptions`: renderer, levels, startAngle, padAngle, palette, format...); property only"
|
|
12047
12159
|
},
|
|
12048
12160
|
{
|
|
12049
12161
|
"kind": "method",
|
|
@@ -12085,6 +12197,20 @@
|
|
|
12085
12197
|
"module": "src/components/chart/shape-chart.ts"
|
|
12086
12198
|
}
|
|
12087
12199
|
},
|
|
12200
|
+
{
|
|
12201
|
+
"kind": "method",
|
|
12202
|
+
"name": "getRenderer",
|
|
12203
|
+
"return": {
|
|
12204
|
+
"type": {
|
|
12205
|
+
"text": "ChartRendererKind | null"
|
|
12206
|
+
}
|
|
12207
|
+
},
|
|
12208
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
12209
|
+
"inheritedFrom": {
|
|
12210
|
+
"name": "MinervaShapeChartElement",
|
|
12211
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
12212
|
+
}
|
|
12213
|
+
},
|
|
12088
12214
|
{
|
|
12089
12215
|
"kind": "field",
|
|
12090
12216
|
"name": "height",
|
|
@@ -12263,7 +12389,7 @@
|
|
|
12263
12389
|
"type": {
|
|
12264
12390
|
"text": "Partial<Omit<RadialBarChartOptions, \"type\">> | undefined"
|
|
12265
12391
|
},
|
|
12266
|
-
"description": "Other engine options (`RadialBarChartOptions`: startAngle, gap, track, rounded, labels, palette...); property only"
|
|
12392
|
+
"description": "Other engine options (`RadialBarChartOptions`: renderer, startAngle, gap, track, rounded, labels, palette...); property only"
|
|
12267
12393
|
},
|
|
12268
12394
|
{
|
|
12269
12395
|
"kind": "method",
|
|
@@ -12287,6 +12413,20 @@
|
|
|
12287
12413
|
"module": "src/components/chart/shape-chart.ts"
|
|
12288
12414
|
}
|
|
12289
12415
|
},
|
|
12416
|
+
{
|
|
12417
|
+
"kind": "method",
|
|
12418
|
+
"name": "getRenderer",
|
|
12419
|
+
"return": {
|
|
12420
|
+
"type": {
|
|
12421
|
+
"text": "ChartRendererKind | null"
|
|
12422
|
+
}
|
|
12423
|
+
},
|
|
12424
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
12425
|
+
"inheritedFrom": {
|
|
12426
|
+
"name": "MinervaShapeChartElement",
|
|
12427
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
12428
|
+
}
|
|
12429
|
+
},
|
|
12290
12430
|
{
|
|
12291
12431
|
"kind": "field",
|
|
12292
12432
|
"name": "height",
|
|
@@ -12475,7 +12615,7 @@
|
|
|
12475
12615
|
"type": {
|
|
12476
12616
|
"text": "Partial<Omit<CalendarHeatmapOptions, \"type\">> | undefined"
|
|
12477
12617
|
},
|
|
12478
|
-
"description": "Other engine options (`CalendarHeatmapOptions`: weekStart, colors, thresholds, gap, radius...); property only"
|
|
12618
|
+
"description": "Other engine options (`CalendarHeatmapOptions`: renderer, weekStart, colors, thresholds, gap, radius...); property only"
|
|
12479
12619
|
},
|
|
12480
12620
|
{
|
|
12481
12621
|
"kind": "method",
|
|
@@ -12499,6 +12639,20 @@
|
|
|
12499
12639
|
"module": "src/components/chart/shape-chart.ts"
|
|
12500
12640
|
}
|
|
12501
12641
|
},
|
|
12642
|
+
{
|
|
12643
|
+
"kind": "method",
|
|
12644
|
+
"name": "getRenderer",
|
|
12645
|
+
"return": {
|
|
12646
|
+
"type": {
|
|
12647
|
+
"text": "ChartRendererKind | null"
|
|
12648
|
+
}
|
|
12649
|
+
},
|
|
12650
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
12651
|
+
"inheritedFrom": {
|
|
12652
|
+
"name": "MinervaShapeChartElement",
|
|
12653
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
12654
|
+
}
|
|
12655
|
+
},
|
|
12502
12656
|
{
|
|
12503
12657
|
"kind": "field",
|
|
12504
12658
|
"name": "height",
|
|
@@ -12668,7 +12822,7 @@
|
|
|
12668
12822
|
"type": {
|
|
12669
12823
|
"text": "Partial<Omit<BulletChartOptions, \"type\">> | undefined"
|
|
12670
12824
|
},
|
|
12671
|
-
"description": "Other engine options (`BulletChartOptions`: rangeColors, barSize, ticks, palette, format...); property only"
|
|
12825
|
+
"description": "Other engine options (`BulletChartOptions`: renderer, rangeColors, barSize, ticks, palette, format...); property only"
|
|
12672
12826
|
},
|
|
12673
12827
|
{
|
|
12674
12828
|
"kind": "method",
|
|
@@ -12692,6 +12846,20 @@
|
|
|
12692
12846
|
"module": "src/components/chart/shape-chart.ts"
|
|
12693
12847
|
}
|
|
12694
12848
|
},
|
|
12849
|
+
{
|
|
12850
|
+
"kind": "method",
|
|
12851
|
+
"name": "getRenderer",
|
|
12852
|
+
"return": {
|
|
12853
|
+
"type": {
|
|
12854
|
+
"text": "ChartRendererKind | null"
|
|
12855
|
+
}
|
|
12856
|
+
},
|
|
12857
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
12858
|
+
"inheritedFrom": {
|
|
12859
|
+
"name": "MinervaShapeChartElement",
|
|
12860
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
12861
|
+
}
|
|
12862
|
+
},
|
|
12695
12863
|
{
|
|
12696
12864
|
"kind": "field",
|
|
12697
12865
|
"name": "height",
|
|
@@ -12863,7 +13031,7 @@
|
|
|
12863
13031
|
"type": {
|
|
12864
13032
|
"text": "Partial<Omit<ChordChartOptions, \"type\">> | undefined"
|
|
12865
13033
|
},
|
|
12866
|
-
"description": "Other engine options (`ChordChartOptions`: padAngle, startAngle, sortGroups, sortSubgroups, ribbonOpacity, arcWidth, ticks, arrows, palette, format, percentFormat...); property only"
|
|
13034
|
+
"description": "Other engine options (`ChordChartOptions`: renderer, padAngle, startAngle, sortGroups, sortSubgroups, ribbonOpacity, arcWidth, ticks, arrows, palette, format, percentFormat...); property only"
|
|
12867
13035
|
},
|
|
12868
13036
|
{
|
|
12869
13037
|
"kind": "method",
|
|
@@ -12887,6 +13055,20 @@
|
|
|
12887
13055
|
"module": "src/components/chart/shape-chart.ts"
|
|
12888
13056
|
}
|
|
12889
13057
|
},
|
|
13058
|
+
{
|
|
13059
|
+
"kind": "method",
|
|
13060
|
+
"name": "getRenderer",
|
|
13061
|
+
"return": {
|
|
13062
|
+
"type": {
|
|
13063
|
+
"text": "ChartRendererKind | null"
|
|
13064
|
+
}
|
|
13065
|
+
},
|
|
13066
|
+
"description": "Backend drawing the shapes (`webgpu`, `webgl2`, `webgl`, `canvas2d`; set with the `renderer` engine option), `null` until ready",
|
|
13067
|
+
"inheritedFrom": {
|
|
13068
|
+
"name": "MinervaShapeChartElement",
|
|
13069
|
+
"module": "src/components/chart/shape-chart.ts"
|
|
13070
|
+
}
|
|
13071
|
+
},
|
|
12890
13072
|
{
|
|
12891
13073
|
"kind": "field",
|
|
12892
13074
|
"name": "height",
|
|
@@ -39441,6 +39441,9 @@ var MnShapeChartBase = class MnShapeChartBase extends MnChartEngine {
|
|
|
39441
39441
|
toggle(index) {
|
|
39442
39442
|
this.instance()?.toggle(index);
|
|
39443
39443
|
}
|
|
39444
|
+
getRenderer() {
|
|
39445
|
+
return this.instance()?.getRenderer() ?? null;
|
|
39446
|
+
}
|
|
39444
39447
|
static {
|
|
39445
39448
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
39446
39449
|
minVersion: "12.0.0",
|
|
@@ -39491,6 +39494,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
39491
39494
|
var MnShapeChartCommon = class MnShapeChartCommon extends MnShapeChartBase {
|
|
39492
39495
|
constructor() {
|
|
39493
39496
|
super(...arguments);
|
|
39497
|
+
this.renderer = input(void 0, ...ngDevMode ? [{ debugName: "renderer" }] : /* istanbul ignore next */ []);
|
|
39494
39498
|
this.palette = input(void 0, ...ngDevMode ? [{ debugName: "palette" }] : /* istanbul ignore next */ []);
|
|
39495
39499
|
this.legend = input(void 0, ...ngDevMode ? [{ debugName: "legend" }] : /* istanbul ignore next */ []);
|
|
39496
39500
|
this.tooltip = input(void 0, ...ngDevMode ? [{ debugName: "tooltip" }] : /* istanbul ignore next */ []);
|
|
@@ -39509,6 +39513,7 @@ var MnShapeChartCommon = class MnShapeChartCommon extends MnShapeChartBase {
|
|
|
39509
39513
|
commonOptions() {
|
|
39510
39514
|
const hidden = this.hidden();
|
|
39511
39515
|
return {
|
|
39516
|
+
renderer: this.renderer(),
|
|
39512
39517
|
palette: this.palette(),
|
|
39513
39518
|
legend: this.legend(),
|
|
39514
39519
|
tooltip: this.tooltip(),
|
|
@@ -39539,6 +39544,13 @@ var MnShapeChartCommon = class MnShapeChartCommon extends MnShapeChartBase {
|
|
|
39539
39544
|
type: MnShapeChartCommon,
|
|
39540
39545
|
isStandalone: true,
|
|
39541
39546
|
inputs: {
|
|
39547
|
+
renderer: {
|
|
39548
|
+
classPropertyName: "renderer",
|
|
39549
|
+
publicName: "renderer",
|
|
39550
|
+
isSignal: true,
|
|
39551
|
+
isRequired: false,
|
|
39552
|
+
transformFunction: null
|
|
39553
|
+
},
|
|
39542
39554
|
palette: {
|
|
39543
39555
|
classPropertyName: "palette",
|
|
39544
39556
|
publicName: "palette",
|
|
@@ -39629,6 +39641,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
39629
39641
|
type: MnShapeChartCommon,
|
|
39630
39642
|
decorators: [{ type: Directive }],
|
|
39631
39643
|
propDecorators: {
|
|
39644
|
+
renderer: [{
|
|
39645
|
+
type: i0.Input,
|
|
39646
|
+
args: [{
|
|
39647
|
+
isSignal: true,
|
|
39648
|
+
alias: "renderer",
|
|
39649
|
+
required: false
|
|
39650
|
+
}]
|
|
39651
|
+
}],
|
|
39632
39652
|
palette: [{
|
|
39633
39653
|
type: i0.Input,
|
|
39634
39654
|
args: [{
|