@blukavantui/charts-community 0.0.0-stage → 1.2.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/LICENSE.txt +103 -0
- package/README.md +98 -2
- package/THIRD_PARTY_NOTICES.txt +288 -0
- package/dist/accessibility.d.ts +53 -0
- package/dist/async.d.ts +2 -0
- package/dist/bar.css +1 -0
- package/dist/bar.d.ts +5 -0
- package/dist/bar.js +1 -0
- package/dist/browser/charts-community.css +1 -0
- package/dist/browser/charts-community.js +52 -0
- package/dist/build-audit.json +209 -0
- package/dist/builders/bar.d.ts +6 -0
- package/dist/builders/doughnut.d.ts +6 -0
- package/dist/builders/heatmap.d.ts +16 -0
- package/dist/builders/line.d.ts +6 -0
- package/dist/builders/pie.d.ts +6 -0
- package/dist/builders/radar.d.ts +6 -0
- package/dist/builders/scatter.d.ts +6 -0
- package/dist/catalogue-model.d.ts +11 -0
- package/dist/catalogue-runtime.d.ts +23 -0
- package/dist/catalogue-types.d.ts +167 -0
- package/dist/chart-state.d.ts +18 -0
- package/dist/chunk-2GUWWKHW.js +1 -0
- package/dist/chunk-3PITHTEO.js +1 -0
- package/dist/chunk-4B5MQ6GZ.js +1 -0
- package/dist/chunk-4EQMOBBN.js +1 -0
- package/dist/chunk-4WDZUJDS.js +1 -0
- package/dist/chunk-5NUOOMHV.js +1 -0
- package/dist/chunk-7OCMRHIH.js +1 -0
- package/dist/chunk-CF5Q2DDP.js +1 -0
- package/dist/chunk-EITBQBN2.js +1 -0
- package/dist/chunk-FXNKAHRG.js +1 -0
- package/dist/chunk-IDMAFTWV.js +1 -0
- package/dist/chunk-ILTENI35.js +1 -0
- package/dist/chunk-KRMM7EWI.js +1 -0
- package/dist/chunk-LUUPBBD4.js +1 -0
- package/dist/chunk-MR5VITXX.js +1 -0
- package/dist/chunk-NASBRHIW.js +1 -0
- package/dist/chunk-NXDBBMF5.js +1 -0
- package/dist/chunk-OQ6MP7PY.js +1 -0
- package/dist/chunk-RC2TCMJF.js +1 -0
- package/dist/chunk-RXOGAN23.js +1 -0
- package/dist/chunk-UGXWOWAG.js +2 -0
- package/dist/chunk-UO2KNHTU.js +2 -0
- package/dist/chunk-UQMMBG26.js +3 -0
- package/dist/chunk-VTJ4XPRV.js +1 -0
- package/dist/chunk-WJ3UHH6J.js +1 -0
- package/dist/chunk-XLJUSNGV.js +1 -0
- package/dist/colors.d.ts +15 -0
- package/dist/community.d.ts +11 -0
- package/dist/doughnut.css +1 -0
- package/dist/doughnut.d.ts +5 -0
- package/dist/doughnut.js +1 -0
- package/dist/export.d.ts +5 -0
- package/dist/fonts/dm-sans-LICENSE.txt +93 -0
- package/dist/fonts/dm-sans-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/dm-sans-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/dm-sans-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/dm-sans-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-LICENSE.txt +93 -0
- package/dist/fonts/ibm-plex-mono-latin-100-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-100-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-200-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-200-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-300-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-300-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-400-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-500-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-600-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-700-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-700-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-100-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-100-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-200-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-200-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-300-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-300-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-400-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-400-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-500-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-500-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-600-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-600-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-700-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-700-normal.woff2 +0 -0
- package/dist/fonts/inter-LICENSE.txt +93 -0
- package/dist/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-LICENSE.txt +93 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/lora-LICENSE.txt +93 -0
- package/dist/fonts/lora-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/lora-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/lora-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/lora-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/manifest.json +618 -0
- package/dist/fonts/manrope-LICENSE.txt +93 -0
- package/dist/fonts/manrope-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/manrope-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/merriweather-LICENSE.txt +93 -0
- package/dist/fonts/merriweather-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/merriweather-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/merriweather-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/merriweather-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/montserrat-LICENSE.txt +93 -0
- package/dist/fonts/montserrat-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/montserrat-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/montserrat-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/montserrat-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/playfair-display-LICENSE.txt +93 -0
- package/dist/fonts/playfair-display-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/playfair-display-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/playfair-display-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/playfair-display-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/roboto-LICENSE.txt +93 -0
- package/dist/fonts/roboto-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/roboto-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/roboto-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/roboto-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/source-sans-3-LICENSE.txt +93 -0
- package/dist/fonts/source-sans-3-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/source-sans-3-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/source-sans-3-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/source-sans-3-latin-wght-normal.woff2 +0 -0
- package/dist/heatmap.css +1 -0
- package/dist/heatmap.d.ts +3 -0
- package/dist/heatmap.js +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +1 -0
- package/dist/legend-export.d.ts +9 -0
- package/dist/legend-model.d.ts +39 -0
- package/dist/legend.d.ts +19 -0
- package/dist/limits.d.ts +16 -0
- package/dist/line.css +1 -0
- package/dist/line.d.ts +5 -0
- package/dist/line.js +1 -0
- package/dist/loading-state.d.ts +6 -0
- package/dist/map-assets.d.ts +4 -0
- package/dist/map-resources.d.ts +24 -0
- package/dist/messages.d.ts +3 -0
- package/dist/model.d.ts +41 -0
- package/dist/motion/bar.css +1 -0
- package/dist/motion/bar.d.ts +8 -0
- package/dist/motion/bar.js +1 -0
- package/dist/motion/doughnut.css +1 -0
- package/dist/motion/doughnut.d.ts +8 -0
- package/dist/motion/doughnut.js +1 -0
- package/dist/motion/heatmap.css +1 -0
- package/dist/motion/heatmap.d.ts +7 -0
- package/dist/motion/heatmap.js +1 -0
- package/dist/motion/line.css +1 -0
- package/dist/motion/line.d.ts +8 -0
- package/dist/motion/line.js +1 -0
- package/dist/motion/pie.css +1 -0
- package/dist/motion/pie.d.ts +8 -0
- package/dist/motion/pie.js +1 -0
- package/dist/motion/radar.css +1 -0
- package/dist/motion/radar.d.ts +8 -0
- package/dist/motion/radar.js +1 -0
- package/dist/motion/scatter.css +1 -0
- package/dist/motion/scatter.d.ts +8 -0
- package/dist/motion/scatter.js +1 -0
- package/dist/motion/sparkline.d.ts +7 -0
- package/dist/motion/sparkline.js +1 -0
- package/dist/motion-collection.d.ts +7 -0
- package/dist/motion-community.d.ts +40 -0
- package/dist/motion-policy.d.ts +14 -0
- package/dist/motion.css +1 -0
- package/dist/motion.d.ts +40 -0
- package/dist/motion.js +1 -0
- package/dist/options.d.ts +11 -0
- package/dist/pie.css +1 -0
- package/dist/pie.d.ts +5 -0
- package/dist/pie.js +1 -0
- package/dist/radar.css +1 -0
- package/dist/radar.d.ts +4 -0
- package/dist/radar.js +1 -0
- package/dist/runtime.d.ts +4 -0
- package/dist/scatter.css +1 -0
- package/dist/scatter.d.ts +5 -0
- package/dist/scatter.js +1 -0
- package/dist/sparkline-runtime/runtime.d.ts +10 -0
- package/dist/sparkline-validation.d.ts +3 -0
- package/dist/sparkline.css +25 -0
- package/dist/sparkline.d.ts +44 -0
- package/dist/sparkline.js +1 -0
- package/dist/state-announcement.d.ts +6 -0
- package/dist/styles.css +496 -0
- package/dist/theme.css +1391 -0
- package/dist/types.d.ts +137 -0
- package/dist/validation.d.ts +8 -0
- package/dist/web-api.json +4305 -0
- package/dist/web-motion-sparkline.d.ts +4 -0
- package/edition.json +48 -0
- package/package.json +103 -4
- package/src/accessibility.ts +81 -0
- package/src/assets.d.ts +1 -0
- package/src/async.ts +12 -0
- package/src/bar.ts +13 -0
- package/src/builders/bar.ts +39 -0
- package/src/builders/doughnut.ts +66 -0
- package/src/builders/heatmap.ts +60 -0
- package/src/builders/line.ts +39 -0
- package/src/builders/pie.ts +66 -0
- package/src/builders/radar.ts +65 -0
- package/src/builders/scatter.ts +34 -0
- package/src/catalogue-model.ts +235 -0
- package/src/catalogue-runtime.ts +244 -0
- package/src/catalogue-types.ts +163 -0
- package/src/chart-state.ts +35 -0
- package/src/charts.css +135 -0
- package/src/colors.ts +277 -0
- package/src/community.ts +11 -0
- package/src/doughnut.ts +12 -0
- package/src/export.ts +50 -0
- package/src/heatmap.ts +11 -0
- package/src/index.ts +11 -0
- package/src/legend-export.ts +36 -0
- package/src/legend-model.ts +76 -0
- package/src/legend.css +64 -0
- package/src/legend.ts +90 -0
- package/src/limits.ts +7 -0
- package/src/line.ts +13 -0
- package/src/loading-state.ts +39 -0
- package/src/map-assets.ts +1 -0
- package/src/map-resources.ts +46 -0
- package/src/messages.ts +5 -0
- package/src/model.ts +32 -0
- package/src/motion/bar.ts +15 -0
- package/src/motion/doughnut.ts +14 -0
- package/src/motion/heatmap.ts +14 -0
- package/src/motion/line.ts +15 -0
- package/src/motion/pie.ts +14 -0
- package/src/motion/radar.ts +15 -0
- package/src/motion/scatter.ts +15 -0
- package/src/motion/sparkline.ts +10 -0
- package/src/motion-collection.ts +20 -0
- package/src/motion-community.ts +22 -0
- package/src/motion-policy.ts +36 -0
- package/src/options.ts +24 -0
- package/src/pie.ts +12 -0
- package/src/radar.ts +12 -0
- package/src/runtime.ts +7 -0
- package/src/scatter.ts +13 -0
- package/src/sparkline-runtime/runtime.d.ts +10 -0
- package/src/sparkline-runtime/runtime.js +263 -0
- package/src/sparkline-validation.ts +19 -0
- package/src/sparkline.css +25 -0
- package/src/sparkline.ts +68 -0
- package/src/state-announcement.ts +17 -0
- package/src/types.ts +104 -0
- package/src/validation.ts +75 -0
- package/src/web-motion-sparkline.ts +37 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sources": [
|
|
3
|
+
"src/motion-collection.ts",
|
|
4
|
+
"src/motion-policy.ts",
|
|
5
|
+
"src/sparkline-runtime/runtime.js",
|
|
6
|
+
"src/limits.ts",
|
|
7
|
+
"src/colors.ts",
|
|
8
|
+
"src/sparkline-validation.ts",
|
|
9
|
+
"src/sparkline.ts",
|
|
10
|
+
"src/web-motion-sparkline.ts",
|
|
11
|
+
"src/motion/sparkline.ts",
|
|
12
|
+
"src/model.ts",
|
|
13
|
+
"src/validation.ts",
|
|
14
|
+
"src/options.ts",
|
|
15
|
+
"src/state-announcement.ts",
|
|
16
|
+
"src/loading-state.ts",
|
|
17
|
+
"src/messages.ts",
|
|
18
|
+
"src/catalogue-model.ts",
|
|
19
|
+
"src/legend-model.ts",
|
|
20
|
+
"src/legend.css",
|
|
21
|
+
"src/legend.ts",
|
|
22
|
+
"src/legend-export.ts",
|
|
23
|
+
"src/async.ts",
|
|
24
|
+
"src/export.ts",
|
|
25
|
+
"src/chart-state.ts",
|
|
26
|
+
"src/map-assets.ts",
|
|
27
|
+
"src/map-resources.ts",
|
|
28
|
+
"src/charts.css",
|
|
29
|
+
"src/catalogue-runtime.ts",
|
|
30
|
+
"src/accessibility.ts",
|
|
31
|
+
"src/builders/line.ts",
|
|
32
|
+
"src/motion/line.ts",
|
|
33
|
+
"src/builders/bar.ts",
|
|
34
|
+
"src/motion/bar.ts",
|
|
35
|
+
"src/builders/pie.ts",
|
|
36
|
+
"src/motion/pie.ts",
|
|
37
|
+
"src/builders/doughnut.ts",
|
|
38
|
+
"src/motion/doughnut.ts",
|
|
39
|
+
"src/builders/scatter.ts",
|
|
40
|
+
"src/motion/scatter.ts",
|
|
41
|
+
"src/builders/radar.ts",
|
|
42
|
+
"src/motion/radar.ts",
|
|
43
|
+
"src/builders/heatmap.ts",
|
|
44
|
+
"src/motion/heatmap.ts",
|
|
45
|
+
"src/motion-community.ts",
|
|
46
|
+
"src/line.ts",
|
|
47
|
+
"src/bar.ts",
|
|
48
|
+
"src/pie.ts",
|
|
49
|
+
"src/doughnut.ts",
|
|
50
|
+
"src/scatter.ts",
|
|
51
|
+
"src/radar.ts",
|
|
52
|
+
"src/runtime.ts",
|
|
53
|
+
"src/heatmap.ts",
|
|
54
|
+
"src/community.ts"
|
|
55
|
+
],
|
|
56
|
+
"outputs": [
|
|
57
|
+
"packages/community/dist/radar.js",
|
|
58
|
+
"packages/community/dist/heatmap.js",
|
|
59
|
+
"packages/community/dist/motion/heatmap.js",
|
|
60
|
+
"packages/community/dist/index.js",
|
|
61
|
+
"packages/community/dist/chunk-XLJUSNGV.js",
|
|
62
|
+
"packages/community/dist/chunk-KRMM7EWI.js",
|
|
63
|
+
"packages/community/dist/sparkline.js",
|
|
64
|
+
"packages/community/dist/line.js",
|
|
65
|
+
"packages/community/dist/chunk-7OCMRHIH.js",
|
|
66
|
+
"packages/community/dist/bar.js",
|
|
67
|
+
"packages/community/dist/chunk-IDMAFTWV.js",
|
|
68
|
+
"packages/community/dist/pie.js",
|
|
69
|
+
"packages/community/dist/chunk-OQ6MP7PY.js",
|
|
70
|
+
"packages/community/dist/doughnut.js",
|
|
71
|
+
"packages/community/dist/chunk-LUUPBBD4.js",
|
|
72
|
+
"packages/community/dist/scatter.js",
|
|
73
|
+
"packages/community/dist/chunk-FXNKAHRG.js",
|
|
74
|
+
"packages/community/dist/motion.js",
|
|
75
|
+
"packages/community/dist/chunk-2GUWWKHW.js",
|
|
76
|
+
"packages/community/dist/chunk-ILTENI35.js",
|
|
77
|
+
"packages/community/dist/motion/sparkline.js",
|
|
78
|
+
"packages/community/dist/chunk-5NUOOMHV.js",
|
|
79
|
+
"packages/community/dist/chunk-RXOGAN23.js",
|
|
80
|
+
"packages/community/dist/motion/line.js",
|
|
81
|
+
"packages/community/dist/chunk-4WDZUJDS.js",
|
|
82
|
+
"packages/community/dist/chunk-WJ3UHH6J.js",
|
|
83
|
+
"packages/community/dist/motion/bar.js",
|
|
84
|
+
"packages/community/dist/chunk-4B5MQ6GZ.js",
|
|
85
|
+
"packages/community/dist/chunk-EITBQBN2.js",
|
|
86
|
+
"packages/community/dist/motion/pie.js",
|
|
87
|
+
"packages/community/dist/chunk-4EQMOBBN.js",
|
|
88
|
+
"packages/community/dist/chunk-UO2KNHTU.js",
|
|
89
|
+
"packages/community/dist/motion/doughnut.js",
|
|
90
|
+
"packages/community/dist/chunk-NASBRHIW.js",
|
|
91
|
+
"packages/community/dist/chunk-UQMMBG26.js",
|
|
92
|
+
"packages/community/dist/motion/scatter.js",
|
|
93
|
+
"packages/community/dist/chunk-CF5Q2DDP.js",
|
|
94
|
+
"packages/community/dist/chunk-NXDBBMF5.js",
|
|
95
|
+
"packages/community/dist/motion/radar.js",
|
|
96
|
+
"packages/community/dist/chunk-VTJ4XPRV.js",
|
|
97
|
+
"packages/community/dist/chunk-UGXWOWAG.js",
|
|
98
|
+
"packages/community/dist/chunk-MR5VITXX.js",
|
|
99
|
+
"packages/community/dist/chunk-3PITHTEO.js",
|
|
100
|
+
"packages/community/dist/chunk-RC2TCMJF.js",
|
|
101
|
+
"packages/community/dist/radar.css",
|
|
102
|
+
"packages/community/dist/heatmap.css",
|
|
103
|
+
"packages/community/dist/motion/heatmap.css",
|
|
104
|
+
"packages/community/dist/index.css",
|
|
105
|
+
"packages/community/dist/line.css",
|
|
106
|
+
"packages/community/dist/bar.css",
|
|
107
|
+
"packages/community/dist/pie.css",
|
|
108
|
+
"packages/community/dist/doughnut.css",
|
|
109
|
+
"packages/community/dist/scatter.css",
|
|
110
|
+
"packages/community/dist/motion.css",
|
|
111
|
+
"packages/community/dist/motion/line.css",
|
|
112
|
+
"packages/community/dist/motion/bar.css",
|
|
113
|
+
"packages/community/dist/motion/pie.css",
|
|
114
|
+
"packages/community/dist/motion/doughnut.css",
|
|
115
|
+
"packages/community/dist/motion/scatter.css",
|
|
116
|
+
"packages/community/dist/motion/radar.css"
|
|
117
|
+
],
|
|
118
|
+
"engineInputs": [
|
|
119
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/helper/createRenderPlanner.js",
|
|
120
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/custom/customSeriesRegister.js",
|
|
121
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/helper/createSeriesData.js",
|
|
122
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/line/LineSeries.js",
|
|
123
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/helper/labelHelper.js",
|
|
124
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/helper/Symbol.js",
|
|
125
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/helper/SymbolDraw.js",
|
|
126
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/line/helper.js",
|
|
127
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/line/lineAnimationDiff.js",
|
|
128
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/line/poly.js",
|
|
129
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js",
|
|
130
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/line/LineView.js",
|
|
131
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/line/install.js",
|
|
132
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/helper/axisSnippets.js",
|
|
133
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/bar/BaseBarSeries.js",
|
|
134
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/bar/BarSeries.js",
|
|
135
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/helper/sectorHelper.js",
|
|
136
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/bar/BarView.js",
|
|
137
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/bar/install.js",
|
|
138
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js",
|
|
139
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/pie/PieSeries.js",
|
|
140
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/pie/labelLayout.js",
|
|
141
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/pie/pieLayout.js",
|
|
142
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/pie/PieView.js",
|
|
143
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/pie/install.js",
|
|
144
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/scatter/ScatterSeries.js",
|
|
145
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js",
|
|
146
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/scatter/ScatterView.js",
|
|
147
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/scatter/install.js",
|
|
148
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/radar/backwardCompat.js",
|
|
149
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/radar/RadarSeries.js",
|
|
150
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/radar/RadarView.js",
|
|
151
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/radar/radarLayout.js",
|
|
152
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/radar/install.js",
|
|
153
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js",
|
|
154
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/heatmap/HeatmapView.js",
|
|
155
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js",
|
|
156
|
+
"../../../../../bluui-charts/node_modules/echarts/lib/chart/heatmap/install.js"
|
|
157
|
+
],
|
|
158
|
+
"sizes": {
|
|
159
|
+
"index": {
|
|
160
|
+
"bytes": 94571,
|
|
161
|
+
"gzipBytes": 38879,
|
|
162
|
+
"externalDependencies": "ECharts and Community Chip/Skeleton; engine cost is measured separately by consumer bundles."
|
|
163
|
+
},
|
|
164
|
+
"sparkline": {
|
|
165
|
+
"bytes": 14038,
|
|
166
|
+
"gzipBytes": 6194,
|
|
167
|
+
"externalDependencies": "ECharts and Community Chip/Skeleton; engine cost is measured separately by consumer bundles."
|
|
168
|
+
},
|
|
169
|
+
"line": {
|
|
170
|
+
"bytes": 61160,
|
|
171
|
+
"gzipBytes": 22878,
|
|
172
|
+
"externalDependencies": "ECharts and Community Chip/Skeleton; engine cost is measured separately by consumer bundles."
|
|
173
|
+
},
|
|
174
|
+
"bar": {
|
|
175
|
+
"bytes": 60733,
|
|
176
|
+
"gzipBytes": 22708,
|
|
177
|
+
"externalDependencies": "ECharts and Community Chip/Skeleton; engine cost is measured separately by consumer bundles."
|
|
178
|
+
},
|
|
179
|
+
"pie": {
|
|
180
|
+
"bytes": 60538,
|
|
181
|
+
"gzipBytes": 22738,
|
|
182
|
+
"externalDependencies": "ECharts and Community Chip/Skeleton; engine cost is measured separately by consumer bundles."
|
|
183
|
+
},
|
|
184
|
+
"doughnut": {
|
|
185
|
+
"bytes": 61084,
|
|
186
|
+
"gzipBytes": 23016,
|
|
187
|
+
"externalDependencies": "ECharts and Community Chip/Skeleton; engine cost is measured separately by consumer bundles."
|
|
188
|
+
},
|
|
189
|
+
"scatter": {
|
|
190
|
+
"bytes": 60259,
|
|
191
|
+
"gzipBytes": 22534,
|
|
192
|
+
"externalDependencies": "ECharts and Community Chip/Skeleton; engine cost is measured separately by consumer bundles."
|
|
193
|
+
},
|
|
194
|
+
"radar": {
|
|
195
|
+
"bytes": 61088,
|
|
196
|
+
"gzipBytes": 22885,
|
|
197
|
+
"externalDependencies": "ECharts and Community Chip/Skeleton; engine cost is measured separately by consumer bundles."
|
|
198
|
+
},
|
|
199
|
+
"heatmap": {
|
|
200
|
+
"bytes": 59659,
|
|
201
|
+
"gzipBytes": 22207,
|
|
202
|
+
"externalDependencies": "ECharts and Community Chip/Skeleton; engine cost is measured separately by consumer bundles."
|
|
203
|
+
},
|
|
204
|
+
"browser": {
|
|
205
|
+
"bytes": 734449,
|
|
206
|
+
"gzipBytes": 250664
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type EChartsCoreOption } from 'echarts/core';
|
|
2
|
+
import type { CatalogueOptions } from '../catalogue-types.ts';
|
|
3
|
+
import type { themeTokens } from '../options.ts';
|
|
4
|
+
type Tokens = ReturnType<typeof themeTokens>;
|
|
5
|
+
export declare function buildOption(options: CatalogueOptions, t: Tokens, mapName?: string, reducedMotion?: boolean, width?: number): EChartsCoreOption;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type EChartsCoreOption } from 'echarts/core';
|
|
2
|
+
import type { CatalogueOptions } from '../catalogue-types.ts';
|
|
3
|
+
import type { themeTokens } from '../options.ts';
|
|
4
|
+
type Tokens = ReturnType<typeof themeTokens>;
|
|
5
|
+
export declare function buildOption(options: CatalogueOptions, t: Tokens, mapName?: string, reducedMotion?: boolean, width?: number): EChartsCoreOption;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { EChartsCoreOption } from 'echarts/core';
|
|
2
|
+
import type { HeatmapOptions } from '../types.ts';
|
|
3
|
+
export interface ChartTheme {
|
|
4
|
+
surface: string;
|
|
5
|
+
text: string;
|
|
6
|
+
muted: string;
|
|
7
|
+
border: string;
|
|
8
|
+
dark: boolean;
|
|
9
|
+
forcedColors?: boolean;
|
|
10
|
+
read: (name: string) => string;
|
|
11
|
+
palette: string[];
|
|
12
|
+
}
|
|
13
|
+
export declare function themeTokens(host: HTMLElement): ChartTheme;
|
|
14
|
+
type Tokens = ReturnType<typeof themeTokens>;
|
|
15
|
+
export declare function heatmapOption(o: HeatmapOptions, t: Tokens): EChartsCoreOption;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type EChartsCoreOption } from 'echarts/core';
|
|
2
|
+
import type { CatalogueOptions } from '../catalogue-types.ts';
|
|
3
|
+
import type { themeTokens } from '../options.ts';
|
|
4
|
+
type Tokens = ReturnType<typeof themeTokens>;
|
|
5
|
+
export declare function buildOption(options: CatalogueOptions, t: Tokens, mapName?: string, reducedMotion?: boolean, width?: number): EChartsCoreOption;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type EChartsCoreOption } from 'echarts/core';
|
|
2
|
+
import type { CatalogueOptions } from '../catalogue-types.ts';
|
|
3
|
+
import type { themeTokens } from '../options.ts';
|
|
4
|
+
type Tokens = ReturnType<typeof themeTokens>;
|
|
5
|
+
export declare function buildOption(options: CatalogueOptions, t: Tokens, mapName?: string, reducedMotion?: boolean, width?: number): EChartsCoreOption;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type EChartsCoreOption } from 'echarts/core';
|
|
2
|
+
import type { CatalogueOptions } from '../catalogue-types.ts';
|
|
3
|
+
import type { themeTokens } from '../options.ts';
|
|
4
|
+
type Tokens = ReturnType<typeof themeTokens>;
|
|
5
|
+
export declare function buildOption(options: CatalogueOptions, t: Tokens, mapName?: string, reducedMotion?: boolean, width?: number): EChartsCoreOption;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type EChartsCoreOption } from 'echarts/core';
|
|
2
|
+
import type { CatalogueOptions } from '../catalogue-types.ts';
|
|
3
|
+
import type { themeTokens } from '../options.ts';
|
|
4
|
+
type Tokens = ReturnType<typeof themeTokens>;
|
|
5
|
+
export declare function buildOption(options: CatalogueOptions, t: Tokens, mapName?: string, reducedMotion?: boolean, width?: number): EChartsCoreOption;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CatalogueKind, CatalogueOptions, GeoMapOptions, GeoJSON, ChartPoint, TreeNode } from './catalogue-types.ts';
|
|
2
|
+
export declare const dataFields: Record<CatalogueKind, string[]>;
|
|
3
|
+
export declare function chartData(kind: CatalogueKind, o: CatalogueOptions): Record<string, unknown>;
|
|
4
|
+
export declare function parseChartData(kind: CatalogueKind, json: string, o: CatalogueOptions): CatalogueOptions;
|
|
5
|
+
export declare function validateGeoJSON(geo: GeoJSON): void;
|
|
6
|
+
export declare function isISODate(value: unknown): value is string;
|
|
7
|
+
export declare function validateCatalogue(kind: CatalogueKind, o: CatalogueOptions): void;
|
|
8
|
+
export declare function validateMapRegions(o: GeoMapOptions, geo: GeoJSON): void;
|
|
9
|
+
export declare function treeTotals(nodes: TreeNode[]): Map<string, number | null>;
|
|
10
|
+
export declare function treeValue(nodes: TreeNode[], n: TreeNode): number | null;
|
|
11
|
+
export declare function cataloguePoints(kind: CatalogueKind, o: CatalogueOptions): ChartPoint[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as echarts from 'echarts/core';
|
|
2
|
+
import type { ChartEvents, ChartInstance } from './types.ts';
|
|
3
|
+
import type { CatalogueKind, OptionsByKind, ChartPoint } from './catalogue-types.ts';
|
|
4
|
+
import { themeTokens } from './options.ts';
|
|
5
|
+
import { type RuntimeKind, type RuntimeOptions } from './chart-state.ts';
|
|
6
|
+
import './charts.css';
|
|
7
|
+
type Builder = (o: any, t: ReturnType<typeof themeTokens>, mapName?: string, reducedMotion?: boolean, width?: number) => echarts.EChartsCoreOption;
|
|
8
|
+
/** Internal opt-in web presentation. Ordinary/native factories omit this policy. */
|
|
9
|
+
export interface ChartPresentation {
|
|
10
|
+
/** Native integration can opt in/out without replacing the chart. */
|
|
11
|
+
enabled?(): boolean;
|
|
12
|
+
mode(host: HTMLElement): 'full' | 'reduced' | 'off';
|
|
13
|
+
timing?(): {
|
|
14
|
+
duration?: number;
|
|
15
|
+
easing?: string;
|
|
16
|
+
curve?: string;
|
|
17
|
+
};
|
|
18
|
+
subscribe(host: HTMLElement, refresh: () => void): () => void;
|
|
19
|
+
}
|
|
20
|
+
export declare function createCatalogueChart<K extends CatalogueKind>(host: HTMLElement, kind: K, initial: OptionsByKind[K], events: ChartEvents<ChartPoint>, build: Builder): ChartInstance<OptionsByKind[K]>;
|
|
21
|
+
/** One lifecycle for all ECharts families. Sparkline deliberately stays independent. */
|
|
22
|
+
export declare function createChartRuntime<O extends RuntimeOptions, P = ChartPoint>(host: HTMLElement, kind: RuntimeKind, initial: O, events: ChartEvents<P>, build: Builder, presentation?: ChartPresentation): ChartInstance<O>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import type { ChartOptions, ChartCategory, ChartColor, ChartIdentity, ChartDatum } from './types.ts';
|
|
2
|
+
export type CatalogueKind = 'line' | 'radar' | 'bar' | 'pie' | 'doughnut' | 'nightingale' | 'polar' | 'scatter' | 'treemap' | 'sankey' | 'funnel' | 'geo-map' | 'calendar-heatmap';
|
|
3
|
+
export interface ValueSeries extends ChartIdentity {
|
|
4
|
+
Values: (number | null)[];
|
|
5
|
+
}
|
|
6
|
+
export interface CartesianOptions extends ChartOptions {
|
|
7
|
+
Categories: ChartCategory[];
|
|
8
|
+
Series: ValueSeries[];
|
|
9
|
+
Orientation?: 'Vertical' | 'Horizontal';
|
|
10
|
+
Stacking?: 'None' | 'Stacked' | 'Percent';
|
|
11
|
+
LineStyle?: 'Straight' | 'Smooth' | 'Step';
|
|
12
|
+
ShowArea?: boolean;
|
|
13
|
+
PolarType?: 'Bar' | 'Line';
|
|
14
|
+
}
|
|
15
|
+
/** Per-axis bounds keep comparisons stable as datasets change. */
|
|
16
|
+
export interface RadarCategory extends ChartCategory {
|
|
17
|
+
Max?: number;
|
|
18
|
+
}
|
|
19
|
+
export interface RadarOptions extends ChartOptions {
|
|
20
|
+
Categories: RadarCategory[];
|
|
21
|
+
Series: ValueSeries[];
|
|
22
|
+
GridShape?: 'Polygon' | 'Circle';
|
|
23
|
+
SplitNumber?: number;
|
|
24
|
+
ShowArea?: boolean;
|
|
25
|
+
ShowAxisBounds?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface Slice extends ChartDatum {
|
|
28
|
+
RingKey?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface Ring extends ChartIdentity {
|
|
31
|
+
}
|
|
32
|
+
export interface CircularOptions extends ChartOptions {
|
|
33
|
+
Items: Slice[];
|
|
34
|
+
Rings?: Ring[];
|
|
35
|
+
Nested?: boolean;
|
|
36
|
+
Shape?: 'Full' | 'Half';
|
|
37
|
+
/** Nested inner levels stay inside; the outermost level uses this position. */
|
|
38
|
+
LabelPosition?: 'Outside' | 'Inside';
|
|
39
|
+
InnerRadius?: number;
|
|
40
|
+
RoseMode?: 'Area' | 'Radius';
|
|
41
|
+
CenterLabel?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface ScatterPoint extends ChartIdentity {
|
|
44
|
+
X: number;
|
|
45
|
+
Y: number;
|
|
46
|
+
Size?: number;
|
|
47
|
+
Group?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface ScatterOptions extends ChartOptions {
|
|
50
|
+
Points: ScatterPoint[];
|
|
51
|
+
Bubble?: boolean;
|
|
52
|
+
XLabel?: string;
|
|
53
|
+
YLabel?: string;
|
|
54
|
+
}
|
|
55
|
+
/** Flat parent keys map directly to OutSystems lists. Branch totals are derived from descendant leaves. */
|
|
56
|
+
export interface TreeNode extends ChartDatum {
|
|
57
|
+
ParentKey: string | null;
|
|
58
|
+
}
|
|
59
|
+
export interface TreemapOptions extends ChartOptions {
|
|
60
|
+
Nodes: TreeNode[];
|
|
61
|
+
Drilldown?: boolean;
|
|
62
|
+
}
|
|
63
|
+
export interface FlowNode extends ChartIdentity {
|
|
64
|
+
}
|
|
65
|
+
export interface FlowLink {
|
|
66
|
+
Key: string;
|
|
67
|
+
SourceKey: string;
|
|
68
|
+
TargetKey: string;
|
|
69
|
+
Value: number;
|
|
70
|
+
}
|
|
71
|
+
export interface SankeyOptions extends ChartOptions {
|
|
72
|
+
Nodes: FlowNode[];
|
|
73
|
+
Links: FlowLink[];
|
|
74
|
+
Orientation?: 'Horizontal' | 'Vertical';
|
|
75
|
+
NodeAlign?: 'Justify' | 'Left' | 'Right';
|
|
76
|
+
}
|
|
77
|
+
export interface FunnelOptions extends ChartOptions {
|
|
78
|
+
Items: Slice[];
|
|
79
|
+
Sort?: 'Input' | 'Descending' | 'Ascending';
|
|
80
|
+
ShowConversion?: boolean;
|
|
81
|
+
}
|
|
82
|
+
export interface GeoRegion extends ChartDatum {
|
|
83
|
+
}
|
|
84
|
+
export interface GeoLocation extends ChartIdentity {
|
|
85
|
+
Longitude: number;
|
|
86
|
+
Latitude: number;
|
|
87
|
+
Value: number;
|
|
88
|
+
}
|
|
89
|
+
export interface GeoFeature {
|
|
90
|
+
type: 'Feature';
|
|
91
|
+
properties: {
|
|
92
|
+
name: string;
|
|
93
|
+
label?: string;
|
|
94
|
+
[key: string]: unknown;
|
|
95
|
+
};
|
|
96
|
+
geometry: {
|
|
97
|
+
type: 'Polygon' | 'MultiPolygon';
|
|
98
|
+
coordinates: number[][][] | number[][][][];
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
export interface GeoJSON {
|
|
102
|
+
type: 'FeatureCollection';
|
|
103
|
+
features: GeoFeature[];
|
|
104
|
+
}
|
|
105
|
+
export interface GeoMapOptions extends ChartOptions {
|
|
106
|
+
Map?: 'World' | 'US' | 'Custom';
|
|
107
|
+
GeoJSON?: GeoJSON;
|
|
108
|
+
/** Custom geometry resource, mutually exclusive with GeoJSON. */
|
|
109
|
+
MapURL?: string;
|
|
110
|
+
/** US defaults to Mainland; Full includes all geometry in the bundled asset. */
|
|
111
|
+
MapView?: 'Mainland' | 'Full';
|
|
112
|
+
Regions: GeoRegion[];
|
|
113
|
+
Locations: GeoLocation[];
|
|
114
|
+
MapMode?: 'Regions' | 'Locations' | 'Combined';
|
|
115
|
+
Roam?: boolean;
|
|
116
|
+
ColorScale?: ChartColor | 'Automatic';
|
|
117
|
+
}
|
|
118
|
+
/** Date-only ISO strings avoid time-zone shifts in OutSystems Date values. */
|
|
119
|
+
export interface CalendarDay extends ChartDatum {
|
|
120
|
+
Date: string;
|
|
121
|
+
}
|
|
122
|
+
export interface CalendarHeatmapOptions extends ChartOptions {
|
|
123
|
+
Items: CalendarDay[];
|
|
124
|
+
RangeStart: string;
|
|
125
|
+
RangeEnd: string;
|
|
126
|
+
FirstDay?: 'Monday' | 'Sunday';
|
|
127
|
+
ColorScale?: ChartColor | 'Automatic';
|
|
128
|
+
ShowMonthLabels?: boolean;
|
|
129
|
+
ShowDayLabels?: boolean;
|
|
130
|
+
}
|
|
131
|
+
export interface OptionsByKind {
|
|
132
|
+
'calendar-heatmap': CalendarHeatmapOptions;
|
|
133
|
+
line: CartesianOptions;
|
|
134
|
+
radar: RadarOptions;
|
|
135
|
+
bar: CartesianOptions;
|
|
136
|
+
polar: CartesianOptions;
|
|
137
|
+
pie: CircularOptions;
|
|
138
|
+
doughnut: CircularOptions;
|
|
139
|
+
nightingale: CircularOptions;
|
|
140
|
+
scatter: ScatterOptions;
|
|
141
|
+
treemap: TreemapOptions;
|
|
142
|
+
sankey: SankeyOptions;
|
|
143
|
+
funnel: FunnelOptions;
|
|
144
|
+
'geo-map': GeoMapOptions;
|
|
145
|
+
}
|
|
146
|
+
export type CatalogueOptions = OptionsByKind[CatalogueKind];
|
|
147
|
+
/** Stable scalar payload suitable for JSON serialization or a native OutSystems structure. */
|
|
148
|
+
export interface ChartPoint {
|
|
149
|
+
Key: string;
|
|
150
|
+
Label: string;
|
|
151
|
+
Value: number | null;
|
|
152
|
+
SeriesKey?: string;
|
|
153
|
+
CategoryKey?: string;
|
|
154
|
+
SeriesName?: string;
|
|
155
|
+
RingKey?: string;
|
|
156
|
+
Date?: string;
|
|
157
|
+
ParentKey?: string | null;
|
|
158
|
+
X?: number;
|
|
159
|
+
Y?: number;
|
|
160
|
+
Size?: number;
|
|
161
|
+
Group?: string;
|
|
162
|
+
SourceKey?: string;
|
|
163
|
+
TargetKey?: string;
|
|
164
|
+
Longitude?: number;
|
|
165
|
+
Latitude?: number;
|
|
166
|
+
PointType?: 'Region' | 'Location' | 'Node' | 'Link' | 'Series';
|
|
167
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ChartOptions, MixedChartOptions, HeatmapOptions } from './types.ts';
|
|
2
|
+
import type { CatalogueKind, CatalogueOptions, ChartPoint } from './catalogue-types.ts';
|
|
3
|
+
export type RuntimeKind = CatalogueKind | 'mixed' | 'heatmap';
|
|
4
|
+
export type RuntimeOptions = CatalogueOptions | MixedChartOptions | HeatmapOptions;
|
|
5
|
+
export declare function validateChart(kind: RuntimeKind, o: RuntimeOptions): void;
|
|
6
|
+
export declare function chartPoints(kind: RuntimeKind, o: RuntimeOptions): ChartPoint[];
|
|
7
|
+
export declare function pointIdentity(kind: RuntimeKind, p: ChartPoint): string;
|
|
8
|
+
export declare function prepareUpdate<O extends RuntimeOptions>(kind: RuntimeKind, current: O, patch: Partial<O>): {
|
|
9
|
+
next: O & Partial<O>;
|
|
10
|
+
cleared: boolean;
|
|
11
|
+
};
|
|
12
|
+
/** Resolve ECharts targets from actual rendered data; display labels never identify a point. */
|
|
13
|
+
export declare function highlightTargets(config: any, key: string): {
|
|
14
|
+
seriesIndex: number;
|
|
15
|
+
dataIndex: number;
|
|
16
|
+
dataType?: string;
|
|
17
|
+
}[];
|
|
18
|
+
export declare function message(o: ChartOptions, key: string, fallback: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-ILTENI35.js";import{g as o}from"./chunk-MR5VITXX.js";import{a as t}from"./chunk-3PITHTEO.js";import{use as f}from"echarts/core";import{HeatmapChart as u}from"echarts/charts";import{GridComponent as C,VisualMapComponent as H}from"echarts/components";function S(a,m,n,p={},i={}){return t(a,n,i,(r,s)=>(f([u,C,H]),o(s,"heatmap",m,p,e,r)))}export{S as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createComponentMotionState as l,validateComponentMotion as m}from"@blukavantui/community/motion/settings";import{motionEasings as f}from"@blukavantui/community/motion";var p={standard:"cubicOut","ease-in":"cubicIn","ease-out":"cubicOut","ease-in-out":"cubicInOut",linear:"linear",spring:"backOut"};function y(s,c){let n=new Set,r={mode(e){return s.mode==="off"||e.closest('[data-blu-motion="off"], .blu-motion-off')?"off":s.mode==="reduced"||e.closest('[data-blu-motion="reduced"]')?"reduced":"full"},timing(){let e=c?.settings;return{duration:e?.duration,easing:e?.easing?p[e.easing]:void 0,curve:e?.easing?f[e.easing]:void 0}},subscribe(e,i){let a=r.mode(e),t=()=>{a=r.mode(e),i()};n.add(t);let d=new MutationObserver(()=>{r.mode(e)!==a&&t()});for(let o=e;o;o=o.parentElement)d.observe(o,{attributes:!0,attributeFilter:["data-blu-motion","class"]});return()=>{n.delete(t),d.disconnect()}},notify(){for(let e of n)e()}};return r}function M(s,c,n,r){m(n);let e=document.createElement("div");e.className="blu-chart-motion-scope",s.append(e);let i=l(e,c,n),a=y(c,i),t;try{t=r(a,e)}catch(u){throw i.destroy(),e.remove(),u}let d=t.destroy.bind(t),o=!1;return t.destroy=()=>{o||(o=!0,d(),i.destroy(),e.remove())},Object.assign(t,{setMotion(u={}){if(o)throw Error("Chart motion is destroyed.");i.update(u),a.notify()}})}export{M as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-EITBQBN2.js";import{g as o}from"./chunk-MR5VITXX.js";import{a as t}from"./chunk-3PITHTEO.js";import{use as C}from"echarts/core";import{BarChart as f}from"echarts/charts";import{GridComponent as u}from"echarts/components";function l(n,i,e,m={},a={}){return t(n,e,a,(p,s)=>(C([f,u]),o(s,"bar",i,m,r,p)))}export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-UO2KNHTU.js";import{g as o}from"./chunk-MR5VITXX.js";import{a as t}from"./chunk-3PITHTEO.js";import{use as u}from"echarts/core";import{PieChart as C}from"echarts/charts";function M(i,e,n,m={},p={}){return t(i,n,p,(a,s)=>(u([C]),o(s,"pie",e,m,r,a)))}export{M as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-WJ3UHH6J.js";import{g as o}from"./chunk-MR5VITXX.js";import{a as t}from"./chunk-3PITHTEO.js";import{use as C}from"echarts/core";import{LineChart as f}from"echarts/charts";import{GridComponent as u}from"echarts/components";function S(r,i,e,m={},p={}){return t(r,e,p,(a,s)=>(C([f,u]),o(s,"line",i,m,n,a)))}export{S as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as v,b}from"./chunk-RXOGAN23.js";import{a as S}from"./chunk-3PITHTEO.js";function g(o,u,m,r){let i=structuredClone(u),a=!1,s=!1,l=()=>{if(r.enabled?.()===!1)return{...i};let e=i.Animation??(i.AnimateGlow===!1?"Off":"Once");return{...i,Animation:r.mode(o)!=="full"||e==="Once"&&r.timing?.().duration===0?"Off":e}};function c(){if(r.enabled?.()===!1||l().Animation!=="Once")return;let e=r.timing?.();for(let n of t.element.querySelectorAll("animateMotion")){e?.duration!==void 0&&n.setAttribute("dur",e.duration/1e3+"s");let k=e?.curve?.match(/^cubic-bezier\((.+)\)$/)?.[1];k?(n.setAttribute("calcMode","spline"),n.setAttribute("keyTimes","0;1"),n.setAttribute("keySplines",k.split(",").map(A=>Math.max(0,Math.min(1,Number(A)))).join(" "))):e?.curve==="linear"&&n.setAttribute("calcMode","linear")}}let t=b(o,l(),m),p=t.update,M=t.destroy,f=e=>{if(!(e.target instanceof Element)||!e.target.closest(".blu-sparkline__pause"))return;let n=t.element.querySelector("svg");n?.animationsPaused&&(s=n.animationsPaused())};t.element.addEventListener("click",f);let d=()=>{let e=t.element.querySelector("svg");s&&e?.animationsPaused&&!e.animationsPaused()&&t.element.querySelector(".blu-sparkline__pause")?.click()};c();let y=r.subscribe(o,()=>{p(l()),c(),d()});return t.update=e=>{if(a)throw Error("Component is destroyed.");let n={...i,...structuredClone(e)};v(n),e.Animation!==void 0&&e.Animation!==i.Animation&&(s=!1),i=n,p(l()),c(),d()},t.destroy=()=>{a||(a=!0,y(),t.element.removeEventListener("click",f),M())},t}function L(o,u,m,r={},i={}){return S(o,m,i,(a,s)=>g(s,u,r,a))}export{L as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-WJ3UHH6J.js";import{f as t}from"./chunk-MR5VITXX.js";import{use as n}from"echarts/core";import{LineChart as p}from"echarts/charts";import{GridComponent as a}from"echarts/components";function f(r,e,i={}){return n([p,a]),t(r,"line",e,i,o)}export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-NXDBBMF5.js";import{g as o}from"./chunk-MR5VITXX.js";import{a as t}from"./chunk-3PITHTEO.js";import{use as c}from"echarts/core";import{ScatterChart as C}from"echarts/charts";import{GridComponent as f}from"echarts/components";function l(e,n,i,m={},a={}){return t(e,i,a,(p,s)=>(c([C,f]),o(s,"scatter",n,m,r,p)))}export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s,d as l,e as C,h as L,j as x,k as O,l as $,m as w,n as f}from"./chunk-MR5VITXX.js";import{i as k,k as u}from"./chunk-RC2TCMJF.js";function Q(p,t,F,T=!1,N=640){let o=p,v=C("bar",p),g=(e,a)=>o.ShowPatterns?$(e,a):void 0,m=t.palette,i=(e,a)=>L(t.forcedColors?t.text:k(e,m[a%m.length],t.dark,t.read),t.surface,3.2),z=(e,a,r)=>f(i(a,r),t.surface,o.SelectedKey===e),P=(e,a)=>v.find(r=>r.Key===e&&(!a||r.SeriesKey===a)),K={data:["line","radar","bar","polar"].includes("bar")?o.Series.map(e=>e.Label):["pie","doughnut","nightingale","funnel"].includes("bar")?[...new Set(o.Items.map(e=>e.Label))]:[],show:o.ShowLegend,type:"scroll",top:6,left:10,right:10,itemWidth:24,itemHeight:12,selectedMode:!1,pageTextStyle:{color:t.muted},pageIconColor:t.text,textStyle:{color:t.muted,fontSize:11}},A={show:o.ShowLabels,color:u(t.surface),fontSize:11,backgroundColor:t.surface,padding:[2,3],borderRadius:2},D={show:o.ShowTooltip,confine:!0,enterable:!0,backgroundColor:t.surface,borderColor:t.border,textStyle:{color:t.text,fontSize:12},formatter:e=>{let a=e.data?.point;if(!a)return`${l(e.name||"")}${e.value==null||Number.isNaN(e.value)?" \xB7 No data":""}`;let r=a.Date?`<br/>${l(a.Date)}<br/><strong>${l(s(a.Value,o))}</strong>`:a.X!==void 0?`<br/>${l(o.XLabel||"X")}: ${a.X}<br/>${l(o.YLabel||"Y")}: ${a.Y}${a.Size===void 0?"":`<br/>Size: ${a.Size}`}`:`<br/><strong>${l(s(a.Value,o))}</strong>`;return`${l(a.SeriesName?`${a.SeriesName} \xB7 ${a.Label}`:a.Label)}${r}${e.data?.conversion?`<br/>${l(e.data.conversion)}`:""}`}},V={backgroundColor:t.surface,color:m.map((e,a)=>i(e,a)),animation:!!o.EnableAnimation&&!T,animationDuration:300,animationDurationUpdate:150,textStyle:{fontFamily:"Inter,system-ui,sans-serif",color:t.text},aria:{enabled:!0,description:`${o.Title}. ${o.Description||""} Exact values and keyboard selection are in the data table.`},tooltip:D},d={axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:t.muted,fontSize:10,hideOverlap:!0},splitLine:{lineStyle:{color:t.border,type:"dashed"}}},n=p,c=n.Stacking==="Percent",S={...d,type:"category",data:n.Categories.map(e=>e.Label),axisLabel:{...d.axisLabel,width:Math.min(140,N*.2),overflow:"truncate"},splitLine:{show:!1}},h={...d,type:"value",max:c?1:void 0,axisLabel:{...d.axisLabel,formatter:e=>c?`${Math.round(e*100)}%`:s(e,o,!0)}},b=!!n.Stacking&&n.Stacking!=="None",M=n.Series.map((e,a)=>({id:e.Key,name:e.Label,type:"bar",coordinateSystem:"cartesian2d",stack:n.Stacking&&n.Stacking!=="None"?"total":void 0,smooth:n.LineStyle==="Smooth",step:n.LineStyle==="Step"?"middle":!1,connectNulls:!1,areaStyle:n.ShowArea?{opacity:.1}:void 0,barMaxWidth:38,symbol:x(a),symbolSize:8,itemStyle:{...f(i(e.Color,a),t.surface),decal:g(a,i(e.Color,a))},lineStyle:{width:2.5,color:i(e.Color,a),type:O(a)},label:{...A,color:b?u(i(e.Color,a)):u(t.surface),backgroundColor:b?i(e.Color,a):t.surface,position:b?"inside":n.Orientation==="Horizontal"?"right":"top",formatter:r=>c?`${Math.round(Number(r.value)*100)}%`:s(r.data.point.Value,o,!0)},labelLayout:{hideOverlap:!0},emphasis:{focus:"none",scale:!1},blur:{itemStyle:{opacity:1},lineStyle:{opacity:1},label:{opacity:1}},data:e.Values.map((r,y)=>({value:r===null?null:c?r/(n.Series.reduce((H,E)=>H+(E.Values[y]||0),0)||1):r,point:P(n.Categories[y].Key,e.Key),itemStyle:{...z(n.Categories[y].Key,e.Color,a),decal:g(a,i(e.Color,a))},emphasis:{itemStyle:w(i(e.Color,a))}}))}));return{...V,legend:K,grid:{left:14,right:22,top:o.ShowLegend?48:20,bottom:16,containLabel:!0},xAxis:n.Orientation==="Horizontal"?h:S,yAxis:n.Orientation==="Horizontal"?{...S,inverse:!0}:h,series:M}}export{Q as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-NXDBBMF5.js";import{f as t}from"./chunk-MR5VITXX.js";import{use as p}from"echarts/core";import{ScatterChart as i}from"echarts/charts";import{GridComponent as n}from"echarts/components";function y(o,e,a={}){return p([i,n]),t(o,"scatter",e,a,r)}export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-EITBQBN2.js";import{f as t}from"./chunk-MR5VITXX.js";import{use as p}from"echarts/core";import{BarChart as i}from"echarts/charts";import{GridComponent as n}from"echarts/components";function f(o,a,e={}){return p([i,n]),t(o,"bar",a,e,r)}export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u,b as f,c as h,d as s,h as d,i as x,m as C,n as y}from"./chunk-MR5VITXX.js";import{f as m,h as p,j as l,k as b}from"./chunk-RC2TCMJF.js";function g(e,t){return{backgroundColor:t.surface,animation:e.EnableAnimation&&!matchMedia("(prefers-reduced-motion: reduce)").matches,animationDuration:350,animationDurationUpdate:180,textStyle:{fontFamily:"Inter, system-ui, sans-serif",color:t.text},aria:{enabled:!0,description:`${e.Title}. ${e.Description||""} Exact values and keyboard selections are available in the chart data table.`},tooltip:{show:e.ShowTooltip,confine:!0,enterable:!0,backgroundColor:t.surface,borderColor:t.border,textStyle:{color:t.text,fontSize:12},extraCssText:"border-radius:8px;box-shadow:0 8px 28px #0002;"}}}function c(e){return{axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:e.muted,fontSize:11}}}function D(e,t){let{min:a,max:n}=h(e),S=p(m(e.ColorScale)?e.ColorScale:"Purple",t.dark,t.read),T=t.forcedColors?t.text:e.ColorScale==="Automatic"?t.palette[0]:e.ColorScale==="Teal"?"#126e5b":S.solid,i=e.ColorScale==="Diverging"&&!t.forcedColors?[d("#ba5943",t.surface,9),d(t.surface,t.surface),d("#6850bf",t.surface,9)]:x(T,t.surface);return{...g(e,t),grid:{left:12,right:12,top:16,bottom:e.ShowLegend?62:12,containLabel:!0},tooltip:{...g(e,t).tooltip,formatter:r=>{let o=f(e,r.dataIndex);return`${s(o.YLabel)} \xB7 ${s(o.XLabel)}<br/><strong>${s(u(o.Value,e))}</strong>`}},xAxis:{...c(t),type:"category",data:e.XCategories.map(r=>r.Label),axisLabel:{...c(t).axisLabel,hideOverlap:!0,width:120,overflow:"truncate"}},yAxis:{...c(t),type:"category",inverse:!0,data:e.YCategories.map(r=>r.Label),axisLabel:{...c(t).axisLabel,width:80,overflow:"truncate"}},visualMap:{show:e.ShowLegend,min:a,max:n,calculable:!1,orient:"horizontal",left:"center",bottom:6,itemWidth:9,itemHeight:130,text:["Higher","Lower"],textGap:9,textStyle:{color:t.muted,fontSize:10},inRange:{color:i}},series:[{type:"heatmap",data:e.Cells.map(r=>({name:r.Key,value:[e.XCategories.findIndex(o=>o.Key===r.XKey),e.YCategories.findIndex(o=>o.Key===r.YKey),r.Value??"-"],itemStyle:{...y(l(i,((r.Value??a)-a)/(n-a)),t.surface,e.SelectedKey===r.Key),borderRadius:4},label:{color:b(l(i,((r.Value??a)-a)/(n-a)))},emphasis:{itemStyle:C(l(i,((r.Value??a)-a)/(n-a)))}})),label:{show:e.ShowLabels,fontSize:10,formatter:r=>u(e.Cells[r.dataIndex].Value,e,!0)},emphasis:{itemStyle:{borderColor:t.text,borderWidth:2,borderType:"solid"}}}]}}export{D as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as p}from"./chunk-ILTENI35.js";import{g as o}from"./chunk-MR5VITXX.js";import{use as i}from"echarts/core";import{HeatmapChart as s}from"echarts/charts";import{GridComponent as h,VisualMapComponent as C}from"echarts/components";function r(t,e,a,n,m){return o(t,e,a,n,m)}function d(t,e,a={}){return i([s,h,C]),r(t,"heatmap",e,a,p)}export{d as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-UQMMBG26.js";import{f as t}from"./chunk-MR5VITXX.js";import{use as p}from"echarts/core";import{PieChart as i}from"echarts/charts";function s(r,e,n={}){return p([i]),t(r,"doughnut",e,n,o)}export{s as a};
|