vue-data-ui 2.12.3 → 2.12.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/dist/{Arrow-7DZD153U.js → Arrow-DWXcP0Gw.js} +1 -1
- package/dist/BaseDraggableDialog-DyV-BY6O.js +186 -0
- package/dist/{BaseIcon-4Tt-jDsF.js → BaseIcon-DIIS9hFE.js} +1 -1
- package/dist/{ColorPicker-D9cQ_1h3.js → ColorPicker-D09a5oTx.js} +3 -3
- package/dist/{DataTable-CXRbXtrU.js → DataTable-BAr4XpSA.js} +2 -2
- package/dist/{Legend-CMVT8Hmn.js → Legend-CxZqkiNm.js} +4 -4
- package/dist/{PackageVersion-DrcIKw3H.js → PackageVersion-CQUs0b3q.js} +1 -1
- package/dist/{PenAndPaper-B52M1Af-.js → PenAndPaper-DmGOEcsD.js} +3 -3
- package/dist/{Shape-DsC3hyrC.js → Shape-gJBc0QCq.js} +1 -1
- package/dist/{Slicer-9d1_C4bi.js → Slicer-B81b2Jr1.js} +2 -2
- package/dist/{Title-9qKNVCMA.js → Title-BQKp20eU.js} +1 -1
- package/dist/{Tooltip-n2JxyMqg.js → Tooltip-Bjsc232E.js} +1 -1
- package/dist/{dom-to-png-mBFxJrIS.js → dom-to-png-BAR1EMYe.js} +1 -1
- package/dist/{img-DrpWNEaa.js → img-BDqur_YP.js} +1 -1
- package/dist/{index-CK9QG5R4.js → index-BKDMQMKQ.js} +441 -393
- package/dist/{pdf-BalkhgZX.js → pdf-CMw0Bw1w.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +12 -0
- package/dist/types/vue-data-ui.d.ts +12 -0
- package/dist/{useNestedProp-X5zYwXdP.js → useNestedProp-B_1UW4X2.js} +1 -1
- package/dist/{usePrinter-BZsCVIwN.js → usePrinter-BNaQ2HUw.js} +3 -3
- package/dist/{vue-data-ui-65FSOU9n.js → vue-data-ui-RV3mQ1d3.js} +63 -63
- package/dist/vue-data-ui.js +23 -23
- package/dist/{vue-ui-3d-bar-CaLDkBVj.js → vue-ui-3d-bar-Bq4AcGdm.js} +9 -9
- package/dist/{vue-ui-accordion-BA3mkouQ.js → vue-ui-accordion-DyqkVlpC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DdlGpZy9.js → vue-ui-age-pyramid-BYn8ffyI.js} +10 -10
- package/dist/{vue-ui-annotator-CKvRES98.js → vue-ui-annotator-Biv6tN6c.js} +2 -2
- package/dist/{vue-ui-bullet-CdcJXA6l.js → vue-ui-bullet-DVflwrvi.js} +8 -8
- package/dist/{vue-ui-candlestick-CkllTOUY.js → vue-ui-candlestick-C-gmKrpa.js} +11 -11
- package/dist/{vue-ui-carousel-table-D3vCB81N.js → vue-ui-carousel-table-DJT77KEd.js} +4 -4
- package/dist/{vue-ui-chestnut-BE16kanb.js → vue-ui-chestnut-CuF02nem.js} +8 -8
- package/dist/{vue-ui-chord-BpsjJuE7.js → vue-ui-chord-7PHPveVU.js} +12 -12
- package/dist/{vue-ui-circle-pack-C438GSXx.js → vue-ui-circle-pack-BU_MxW6h.js} +9 -9
- package/dist/{vue-ui-cursor-a30lAfyb.js → vue-ui-cursor-DSFHMrnK.js} +2 -2
- package/dist/{vue-ui-dashboard-BkRc89ac.js → vue-ui-dashboard-CHyk8pO_.js} +62 -62
- package/dist/{vue-ui-digits-C3f9FAdw.js → vue-ui-digits-GOVpxQeg.js} +2 -2
- package/dist/{vue-ui-donut-Dwsm3xe8.js → vue-ui-donut-C5sXao7U.js} +103 -103
- package/dist/vue-ui-donut-evolution-BsoNZw0_.js +871 -0
- package/dist/{vue-ui-dumbbell-CIICXHWw.js → vue-ui-dumbbell-BVX3en_Z.js} +10 -10
- package/dist/{vue-ui-flow-Bs4GfLdc.js → vue-ui-flow-CrRVJbjl.js} +24 -24
- package/dist/{vue-ui-funnel-CASIJPoW.js → vue-ui-funnel-DyJvSMLV.js} +9 -9
- package/dist/{vue-ui-galaxy-BoTSH1dz.js → vue-ui-galaxy-B1WrIt-g.js} +32 -32
- package/dist/{vue-ui-gauge-Cfvwu5jW.js → vue-ui-gauge-C7qvMFcc.js} +19 -19
- package/dist/{vue-ui-gizmo-HB1PEZIT.js → vue-ui-gizmo-Agt3kM2d.js} +3 -3
- package/dist/{vue-ui-heatmap-BXQslQxq.js → vue-ui-heatmap-Czh2uHtX.js} +32 -32
- package/dist/{vue-ui-history-plot-qW_cLH2J.js → vue-ui-history-plot-KGGrayk7.js} +11 -11
- package/dist/{vue-ui-kpi-CHTFlQmm.js → vue-ui-kpi-B-aYK4fp.js} +3 -3
- package/dist/{vue-ui-mini-loader-CZFa8WdC.js → vue-ui-mini-loader-C0W2_f3L.js} +2 -2
- package/dist/{vue-ui-molecule-2XWcGAxa.js → vue-ui-molecule-DjWODfzW.js} +22 -22
- package/dist/{vue-ui-mood-radar-B0wwOAcZ.js → vue-ui-mood-radar-CFEN6SOJ.js} +11 -11
- package/dist/{vue-ui-nested-donuts-CD47r6S8.js → vue-ui-nested-donuts-Dw_TX78M.js} +56 -56
- package/dist/{vue-ui-onion-BrefEoKM.js → vue-ui-onion-CiTCTFRi.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-Ci9k0ZMR.js → vue-ui-parallel-coordinate-plot-YAyEWj2K.js} +36 -36
- package/dist/{vue-ui-quadrant-DRd3t6uQ.js → vue-ui-quadrant-j54lbADV.js} +41 -41
- package/dist/{vue-ui-quick-chart-DVyuMMNZ.js → vue-ui-quick-chart-f9MTErUH.js} +9 -9
- package/dist/{vue-ui-radar-BMlo5wj_.js → vue-ui-radar-BQ45fltP.js} +12 -12
- package/dist/{vue-ui-rating-BZLepZbE.js → vue-ui-rating-BjTlb4Lj.js} +11 -11
- package/dist/{vue-ui-relation-circle-BMWf_-ts.js → vue-ui-relation-circle-NX-yzRRP.js} +7 -7
- package/dist/vue-ui-ridgeline-BezQ7Hj-.js +924 -0
- package/dist/{vue-ui-rings-CyN6PZZw.js → vue-ui-rings-DJbgQBHR.js} +12 -12
- package/dist/{vue-ui-scatter-Dm24n28E.js → vue-ui-scatter-17fw3Pcy.js} +60 -60
- package/dist/{vue-ui-skeleton-CCPLO_mW.js → vue-ui-skeleton-BgWQSBb-.js} +19 -19
- package/dist/{vue-ui-smiley-D5GLTCkV.js → vue-ui-smiley-Bo-A4uMV.js} +2 -2
- package/dist/{vue-ui-spark-trend-DM-YH2Vz.js → vue-ui-spark-trend-BV9qCKr_.js} +5 -5
- package/dist/{vue-ui-sparkbar-Dp-Vp0Bz.js → vue-ui-sparkbar-CSGGtPTT.js} +4 -4
- package/dist/{vue-ui-sparkgauge-AhGrljqS.js → vue-ui-sparkgauge-BAia263V.js} +9 -9
- package/dist/{vue-ui-sparkhistogram-C_WzbJka.js → vue-ui-sparkhistogram-CKexMmEN.js} +5 -5
- package/dist/{vue-ui-sparkline-D3TgSaqu.js → vue-ui-sparkline-DRtP5cMm.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-Dx1gnUfv.js → vue-ui-sparkstackbar-D_bqkCIj.js} +5 -5
- package/dist/{vue-ui-stackbar-kPpS5ytk.js → vue-ui-stackbar-u_kZc4Th.js} +13 -13
- package/dist/{vue-ui-strip-plot-DMgQkOFL.js → vue-ui-strip-plot-UQEhmlcX.js} +11 -11
- package/dist/{vue-ui-table-DhN_orHh.js → vue-ui-table-4BTltNPf.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CghBmNfB.js → vue-ui-table-heatmap-BXlfBI5z.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DwZ6dDd7.js → vue-ui-table-sparkline-DFqDxs2Y.js} +5 -5
- package/dist/{vue-ui-thermometer-Bk2nGclO.js → vue-ui-thermometer-DD0QQ8b8.js} +7 -7
- package/dist/{vue-ui-timer-C7G-xWU0.js → vue-ui-timer-jlPkhU3j.js} +5 -5
- package/dist/{vue-ui-tiremarks-DInEjYlc.js → vue-ui-tiremarks-DZ1kGvwG.js} +7 -7
- package/dist/{vue-ui-treemap-BKvkNCsR.js → vue-ui-treemap-Xo1ZAK3l.js} +12 -12
- package/dist/{vue-ui-vertical-bar-DiQI4bPT.js → vue-ui-vertical-bar-G3mo6Ms5.js} +12 -12
- package/dist/{vue-ui-waffle-z1dbL3gf.js → vue-ui-waffle-B2Oz6oPQ.js} +27 -27
- package/dist/{vue-ui-wheel-cH-wbQMg.js → vue-ui-wheel-Ml-x_ere.js} +7 -7
- package/dist/{vue-ui-word-cloud-L7hmGLCt.js → vue-ui-word-cloud-3LB7Ntxy.js} +49 -49
- package/dist/{vue-ui-world-DNbRBwbT.js → vue-ui-world-ttJISk8E.js} +11 -11
- package/dist/{vue-ui-xy-CHkLFwbF.js → vue-ui-xy-2Z_f3J92.js} +16 -16
- package/dist/{vue-ui-xy-canvas-CXZZH9wb.js → vue-ui-xy-canvas-olPGemLS.js} +12 -12
- package/package.json +1 -1
- package/dist/vue-ui-donut-evolution-HVTx2TzC.js +0 -948
- package/dist/vue-ui-ridgeline-DoNIDa-r.js +0 -1102
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as C } from "vue";
|
|
2
2
|
function dr() {
|
|
3
|
-
const o = "#2D353C", e = "#A1A1A1", r = "#e1e5e8", a = "#CCCCCC", c = "#4A4A4A", t = "#FFFFFF",
|
|
3
|
+
const o = "#2D353C", e = "#A1A1A1", r = "#e1e5e8", a = "#CCCCCC", c = "#4A4A4A", t = "#FFFFFF", n = "#fafafa", s = "#1f77b4", u = "#d62728", i = "#2ca02c", d = "#42d392", b = "#FFD055", l = {
|
|
4
4
|
_10: 10,
|
|
5
5
|
_12: 12,
|
|
6
6
|
_14: 14,
|
|
@@ -61,19 +61,19 @@ function dr() {
|
|
|
61
61
|
position: A.CENTER,
|
|
62
62
|
offsetY: 24
|
|
63
63
|
}, h = ({
|
|
64
|
-
tooltip:
|
|
65
|
-
pdf:
|
|
66
|
-
csv:
|
|
67
|
-
img:
|
|
68
|
-
table:
|
|
69
|
-
labels:
|
|
70
|
-
fullscreen:
|
|
71
|
-
sort:
|
|
72
|
-
stack:
|
|
73
|
-
animation:
|
|
74
|
-
annotator:
|
|
64
|
+
tooltip: R = !1,
|
|
65
|
+
pdf: $ = !1,
|
|
66
|
+
csv: U = !1,
|
|
67
|
+
img: Y = !1,
|
|
68
|
+
table: G = !1,
|
|
69
|
+
labels: H = !1,
|
|
70
|
+
fullscreen: X = !1,
|
|
71
|
+
sort: K = !1,
|
|
72
|
+
stack: j = !1,
|
|
73
|
+
animation: q = !1,
|
|
74
|
+
annotator: Q = !1
|
|
75
75
|
}) => {
|
|
76
|
-
const
|
|
76
|
+
const L = {
|
|
77
77
|
open: "Open options",
|
|
78
78
|
close: "Close options",
|
|
79
79
|
tooltip: "Toggle tooltip",
|
|
@@ -88,25 +88,25 @@ function dr() {
|
|
|
88
88
|
animation: "Toggle animation",
|
|
89
89
|
annotator: "Toggle annotator"
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return R || delete L.tooltip, $ || delete L.pdf, U || delete L.csv, Y || delete L.img, G || delete L.table, H || delete L.labels, X || delete L.fullscreen, K || delete L.sort, j || delete L.stack, q || delete L.animation, Q || delete L.annotator, {
|
|
92
92
|
show: !0,
|
|
93
93
|
showOnChartHover: !1,
|
|
94
94
|
keepStateOnChartLeave: !0,
|
|
95
95
|
position: "right",
|
|
96
96
|
buttons: {
|
|
97
|
-
tooltip:
|
|
98
|
-
pdf:
|
|
99
|
-
csv:
|
|
100
|
-
img:
|
|
101
|
-
table:
|
|
102
|
-
labels:
|
|
103
|
-
fullscreen:
|
|
104
|
-
sort:
|
|
105
|
-
stack:
|
|
106
|
-
animation:
|
|
107
|
-
annotator:
|
|
108
|
-
},
|
|
109
|
-
buttonTitles:
|
|
97
|
+
tooltip: R,
|
|
98
|
+
pdf: $,
|
|
99
|
+
csv: U,
|
|
100
|
+
img: Y,
|
|
101
|
+
table: G,
|
|
102
|
+
labels: H,
|
|
103
|
+
fullscreen: X,
|
|
104
|
+
sort: K,
|
|
105
|
+
stack: j,
|
|
106
|
+
animation: q,
|
|
107
|
+
annotator: Q
|
|
108
|
+
},
|
|
109
|
+
buttonTitles: L,
|
|
110
110
|
print: {
|
|
111
111
|
allowTaint: !1,
|
|
112
112
|
backgroundColor: t,
|
|
@@ -116,13 +116,13 @@ function dr() {
|
|
|
116
116
|
logging: !1
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
|
-
}, y = (
|
|
120
|
-
top:
|
|
121
|
-
right:
|
|
122
|
-
bottom:
|
|
123
|
-
left:
|
|
119
|
+
}, y = (R) => ({
|
|
120
|
+
top: R[0],
|
|
121
|
+
right: R[1],
|
|
122
|
+
bottom: R[2],
|
|
123
|
+
left: R[3]
|
|
124
124
|
}), E = {
|
|
125
|
-
backgroundColor:
|
|
125
|
+
backgroundColor: n,
|
|
126
126
|
color: o,
|
|
127
127
|
outline: "none"
|
|
128
128
|
}, m = {
|
|
@@ -132,7 +132,7 @@ function dr() {
|
|
|
132
132
|
}, x = {
|
|
133
133
|
show: !1,
|
|
134
134
|
responsiveBreakpoint: 400
|
|
135
|
-
},
|
|
135
|
+
}, z = {
|
|
136
136
|
show: !0,
|
|
137
137
|
color: a,
|
|
138
138
|
highlightColor: c,
|
|
@@ -142,16 +142,16 @@ function dr() {
|
|
|
142
142
|
endIndex: null,
|
|
143
143
|
enableRangeHandles: !0,
|
|
144
144
|
enableSelectionDrag: !0
|
|
145
|
-
},
|
|
145
|
+
}, S = {
|
|
146
146
|
show: !1,
|
|
147
147
|
smooth: !1,
|
|
148
|
-
selectedColor:
|
|
148
|
+
selectedColor: s,
|
|
149
149
|
selectedColorOpacity: 0.2,
|
|
150
150
|
lineColor: o,
|
|
151
151
|
selectionRadius: 2,
|
|
152
152
|
indicatorColor: o,
|
|
153
153
|
verticalHandles: !1
|
|
154
|
-
},
|
|
154
|
+
}, lo = {
|
|
155
155
|
theme: "",
|
|
156
156
|
responsive: !1,
|
|
157
157
|
customPalette: [],
|
|
@@ -190,7 +190,7 @@ function dr() {
|
|
|
190
190
|
padding: y([24, 24, 36, 48]),
|
|
191
191
|
title: g,
|
|
192
192
|
legend: F,
|
|
193
|
-
zoom:
|
|
193
|
+
zoom: z,
|
|
194
194
|
tooltip: {
|
|
195
195
|
...D,
|
|
196
196
|
showValue: !0,
|
|
@@ -289,7 +289,7 @@ function dr() {
|
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
},
|
|
292
|
+
}, v = {
|
|
293
293
|
theme: "",
|
|
294
294
|
responsive: !1,
|
|
295
295
|
customPalette: [],
|
|
@@ -302,8 +302,8 @@ function dr() {
|
|
|
302
302
|
height: 600,
|
|
303
303
|
width: 1e3,
|
|
304
304
|
zoom: {
|
|
305
|
-
...
|
|
306
|
-
minimap:
|
|
305
|
+
...z,
|
|
306
|
+
minimap: S
|
|
307
307
|
},
|
|
308
308
|
padding: y([36, 24, 64, 48]),
|
|
309
309
|
highlighter: {
|
|
@@ -533,7 +533,7 @@ function dr() {
|
|
|
533
533
|
td: m
|
|
534
534
|
},
|
|
535
535
|
showTable: !1
|
|
536
|
-
},
|
|
536
|
+
}, w = {
|
|
537
537
|
type: "classic",
|
|
538
538
|
responsive: !1,
|
|
539
539
|
theme: "",
|
|
@@ -841,7 +841,7 @@ function dr() {
|
|
|
841
841
|
roundingPercentage: 0
|
|
842
842
|
}
|
|
843
843
|
}
|
|
844
|
-
},
|
|
844
|
+
}, so = {
|
|
845
845
|
responsive: !1,
|
|
846
846
|
theme: "",
|
|
847
847
|
customPalette: [],
|
|
@@ -921,7 +921,7 @@ function dr() {
|
|
|
921
921
|
value: "Value",
|
|
922
922
|
datapoint: "Datapoint"
|
|
923
923
|
}
|
|
924
|
-
},
|
|
924
|
+
}, no = {
|
|
925
925
|
responsive: !1,
|
|
926
926
|
theme: "",
|
|
927
927
|
customPalette: [],
|
|
@@ -1169,7 +1169,7 @@ function dr() {
|
|
|
1169
1169
|
// or 'arc'
|
|
1170
1170
|
rounded: !0,
|
|
1171
1171
|
inactiveColor: r,
|
|
1172
|
-
activeColor:
|
|
1172
|
+
activeColor: s,
|
|
1173
1173
|
sizeRatio: 0.9,
|
|
1174
1174
|
quantity: 100,
|
|
1175
1175
|
// min 100
|
|
@@ -1220,7 +1220,7 @@ function dr() {
|
|
|
1220
1220
|
curved: !1,
|
|
1221
1221
|
curveAngleX: 10,
|
|
1222
1222
|
curveAngleY: 10,
|
|
1223
|
-
activeColor:
|
|
1223
|
+
activeColor: s,
|
|
1224
1224
|
inactiveColor: r,
|
|
1225
1225
|
ticks: {
|
|
1226
1226
|
gradient: {
|
|
@@ -1232,7 +1232,7 @@ function dr() {
|
|
|
1232
1232
|
percentage: {
|
|
1233
1233
|
show: !0,
|
|
1234
1234
|
useGradientColor: !0,
|
|
1235
|
-
color:
|
|
1235
|
+
color: s,
|
|
1236
1236
|
fontSize: l._16,
|
|
1237
1237
|
bold: !0,
|
|
1238
1238
|
rounding: 1,
|
|
@@ -1651,7 +1651,7 @@ function dr() {
|
|
|
1651
1651
|
},
|
|
1652
1652
|
colors: {
|
|
1653
1653
|
hot: u,
|
|
1654
|
-
cold:
|
|
1654
|
+
cold: s,
|
|
1655
1655
|
underlayer: t
|
|
1656
1656
|
},
|
|
1657
1657
|
spacing: 2,
|
|
@@ -1940,7 +1940,7 @@ function dr() {
|
|
|
1940
1940
|
widthRatio: 0.5
|
|
1941
1941
|
}
|
|
1942
1942
|
},
|
|
1943
|
-
zoom:
|
|
1943
|
+
zoom: z,
|
|
1944
1944
|
title: g,
|
|
1945
1945
|
tooltip: {
|
|
1946
1946
|
...D,
|
|
@@ -1993,13 +1993,13 @@ function dr() {
|
|
|
1993
1993
|
scaleMin: null,
|
|
1994
1994
|
scaleMax: null,
|
|
1995
1995
|
line: {
|
|
1996
|
-
color:
|
|
1996
|
+
color: s,
|
|
1997
1997
|
strokeWidth: 3,
|
|
1998
1998
|
smooth: !1
|
|
1999
1999
|
},
|
|
2000
2000
|
bar: {
|
|
2001
2001
|
borderRadius: 3,
|
|
2002
|
-
color:
|
|
2002
|
+
color: s
|
|
2003
2003
|
},
|
|
2004
2004
|
zeroLine: {
|
|
2005
2005
|
color: o,
|
|
@@ -2014,7 +2014,7 @@ function dr() {
|
|
|
2014
2014
|
verticalIndicator: {
|
|
2015
2015
|
show: !0,
|
|
2016
2016
|
strokeWidth: 1.5,
|
|
2017
|
-
color:
|
|
2017
|
+
color: s,
|
|
2018
2018
|
strokeDasharray: 3
|
|
2019
2019
|
},
|
|
2020
2020
|
dataLabel: {
|
|
@@ -2054,7 +2054,7 @@ function dr() {
|
|
|
2054
2054
|
show: !0,
|
|
2055
2055
|
useGradient: !0,
|
|
2056
2056
|
opacity: 30,
|
|
2057
|
-
color:
|
|
2057
|
+
color: s
|
|
2058
2058
|
}
|
|
2059
2059
|
}
|
|
2060
2060
|
}, Eo = {
|
|
@@ -2183,7 +2183,7 @@ function dr() {
|
|
|
2183
2183
|
shape: f.SQUARE,
|
|
2184
2184
|
strokeWidth: 0,
|
|
2185
2185
|
colors: {
|
|
2186
|
-
positive:
|
|
2186
|
+
positive: s,
|
|
2187
2187
|
negative: u,
|
|
2188
2188
|
gradient: {
|
|
2189
2189
|
show: !0
|
|
@@ -2216,7 +2216,7 @@ function dr() {
|
|
|
2216
2216
|
}
|
|
2217
2217
|
},
|
|
2218
2218
|
selector: {
|
|
2219
|
-
stroke:
|
|
2219
|
+
stroke: s,
|
|
2220
2220
|
strokeWidth: 2,
|
|
2221
2221
|
strokeDasharray: 0,
|
|
2222
2222
|
borderRadius: 2
|
|
@@ -2273,7 +2273,7 @@ function dr() {
|
|
|
2273
2273
|
},
|
|
2274
2274
|
track: {
|
|
2275
2275
|
autoColor: !0,
|
|
2276
|
-
color:
|
|
2276
|
+
color: s,
|
|
2277
2277
|
strokeLinecap: f.ROUND
|
|
2278
2278
|
},
|
|
2279
2279
|
gutter: {
|
|
@@ -2442,7 +2442,7 @@ function dr() {
|
|
|
2442
2442
|
zoomHighlightColor: c,
|
|
2443
2443
|
zoomFontSize: l._14,
|
|
2444
2444
|
zoomUseResetSlot: !1,
|
|
2445
|
-
zoomMinimap:
|
|
2445
|
+
zoomMinimap: S,
|
|
2446
2446
|
zoomStartIndex: null,
|
|
2447
2447
|
zoomEndIndex: null,
|
|
2448
2448
|
zoomEnableRangeHandles: !0,
|
|
@@ -2501,7 +2501,7 @@ function dr() {
|
|
|
2501
2501
|
color: u
|
|
2502
2502
|
},
|
|
2503
2503
|
right: {
|
|
2504
|
-
color:
|
|
2504
|
+
color: s
|
|
2505
2505
|
},
|
|
2506
2506
|
gradient: {
|
|
2507
2507
|
show: !0,
|
|
@@ -2714,13 +2714,61 @@ function dr() {
|
|
|
2714
2714
|
chart: {
|
|
2715
2715
|
backgroundColor: t,
|
|
2716
2716
|
color: o,
|
|
2717
|
-
zoom:
|
|
2717
|
+
zoom: z,
|
|
2718
2718
|
donuts: {
|
|
2719
2719
|
hover: {
|
|
2720
2720
|
hideLabelsUnderValue: 5
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2723
|
+
dialog: {
|
|
2724
|
+
show: !0,
|
|
2725
|
+
backgroundColor: t,
|
|
2726
|
+
color: o,
|
|
2727
|
+
header: {
|
|
2728
|
+
backgroundColor: t,
|
|
2729
|
+
color: o
|
|
2721
2730
|
},
|
|
2722
|
-
|
|
2723
|
-
|
|
2731
|
+
donutChart: {
|
|
2732
|
+
...w,
|
|
2733
|
+
responsive: !0,
|
|
2734
|
+
userOptions: {
|
|
2735
|
+
...w.userOptions,
|
|
2736
|
+
buttons: {
|
|
2737
|
+
...w.userOptions.buttons,
|
|
2738
|
+
pdf: !1
|
|
2739
|
+
}
|
|
2740
|
+
},
|
|
2741
|
+
style: {
|
|
2742
|
+
...w.style,
|
|
2743
|
+
chart: {
|
|
2744
|
+
...w.style.chart,
|
|
2745
|
+
layout: {
|
|
2746
|
+
...w.style.chart.layout,
|
|
2747
|
+
donut: {
|
|
2748
|
+
...w.style.chart.layout.donut,
|
|
2749
|
+
strokeWidth: 64
|
|
2750
|
+
},
|
|
2751
|
+
labels: {
|
|
2752
|
+
...w.style.chart.layout.labels,
|
|
2753
|
+
percentage: {
|
|
2754
|
+
...w.style.chart.layout.labels.percentage,
|
|
2755
|
+
fontSize: 16
|
|
2756
|
+
},
|
|
2757
|
+
name: {
|
|
2758
|
+
...w.style.chart.layout.labels.name,
|
|
2759
|
+
fontSize: 12
|
|
2760
|
+
},
|
|
2761
|
+
hollow: {
|
|
2762
|
+
...w.style.chart.layout.labels.hollow,
|
|
2763
|
+
average: {
|
|
2764
|
+
...w.style.chart.layout.labels.hollow.average,
|
|
2765
|
+
show: !1
|
|
2766
|
+
}
|
|
2767
|
+
}
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2724
2772
|
}
|
|
2725
2773
|
},
|
|
2726
2774
|
layout: {
|
|
@@ -2823,13 +2871,13 @@ function dr() {
|
|
|
2823
2871
|
strokeWidth: 1
|
|
2824
2872
|
},
|
|
2825
2873
|
dataPolygon: {
|
|
2826
|
-
color:
|
|
2874
|
+
color: s,
|
|
2827
2875
|
opacity: 60,
|
|
2828
2876
|
gradient: {
|
|
2829
2877
|
show: !0,
|
|
2830
2878
|
intensity: 1
|
|
2831
2879
|
},
|
|
2832
|
-
stroke:
|
|
2880
|
+
stroke: s,
|
|
2833
2881
|
strokeWidth: 0
|
|
2834
2882
|
},
|
|
2835
2883
|
smileys: {
|
|
@@ -3221,7 +3269,7 @@ function dr() {
|
|
|
3221
3269
|
padding: y([12, 24, 12, 100]),
|
|
3222
3270
|
plots: {
|
|
3223
3271
|
startColor: u,
|
|
3224
|
-
endColor:
|
|
3272
|
+
endColor: s,
|
|
3225
3273
|
radius: 6,
|
|
3226
3274
|
stroke: t,
|
|
3227
3275
|
strokeWidth: 1,
|
|
@@ -3326,8 +3374,8 @@ function dr() {
|
|
|
3326
3374
|
backgroundColor: t,
|
|
3327
3375
|
color: o,
|
|
3328
3376
|
bar: {
|
|
3329
|
-
color:
|
|
3330
|
-
stroke:
|
|
3377
|
+
color: s,
|
|
3378
|
+
stroke: s,
|
|
3331
3379
|
strokeWidth: 0.7,
|
|
3332
3380
|
shadeColor: o
|
|
3333
3381
|
},
|
|
@@ -3360,7 +3408,7 @@ function dr() {
|
|
|
3360
3408
|
dataLabel: {
|
|
3361
3409
|
show: !0,
|
|
3362
3410
|
bold: !0,
|
|
3363
|
-
color:
|
|
3411
|
+
color: s,
|
|
3364
3412
|
fontSize: l._12,
|
|
3365
3413
|
rounding: 1,
|
|
3366
3414
|
formatter: null
|
|
@@ -3485,7 +3533,7 @@ function dr() {
|
|
|
3485
3533
|
heatmapColors: {
|
|
3486
3534
|
useIndividualScale: !1,
|
|
3487
3535
|
min: t,
|
|
3488
|
-
max:
|
|
3536
|
+
max: s
|
|
3489
3537
|
}
|
|
3490
3538
|
},
|
|
3491
3539
|
table: {
|
|
@@ -3603,7 +3651,7 @@ function dr() {
|
|
|
3603
3651
|
min: null,
|
|
3604
3652
|
max: null
|
|
3605
3653
|
},
|
|
3606
|
-
zoom:
|
|
3654
|
+
zoom: z,
|
|
3607
3655
|
selector: {
|
|
3608
3656
|
show: !0,
|
|
3609
3657
|
color: o,
|
|
@@ -3963,7 +4011,7 @@ function dr() {
|
|
|
3963
4011
|
useArrowSlot: !1,
|
|
3964
4012
|
backgroundColor: t,
|
|
3965
4013
|
color: o,
|
|
3966
|
-
iconColor:
|
|
4014
|
+
iconColor: s,
|
|
3967
4015
|
padding: "12px 6px"
|
|
3968
4016
|
},
|
|
3969
4017
|
body: {
|
|
@@ -3987,7 +4035,7 @@ function dr() {
|
|
|
3987
4035
|
titleFontSize: l._16,
|
|
3988
4036
|
useAnimation: !0,
|
|
3989
4037
|
valueBold: !0,
|
|
3990
|
-
valueColor:
|
|
4038
|
+
valueColor: s,
|
|
3991
4039
|
valueClass: "",
|
|
3992
4040
|
valueCss: "",
|
|
3993
4041
|
valueFontSize: l._32,
|
|
@@ -4171,7 +4219,7 @@ function dr() {
|
|
|
4171
4219
|
border: "1px solid #262626",
|
|
4172
4220
|
selected: {
|
|
4173
4221
|
backgroundColor: o,
|
|
4174
|
-
color:
|
|
4222
|
+
color: n,
|
|
4175
4223
|
border: `1px solid ${a}`
|
|
4176
4224
|
}
|
|
4177
4225
|
},
|
|
@@ -4181,13 +4229,13 @@ function dr() {
|
|
|
4181
4229
|
border: "1px solid #262626",
|
|
4182
4230
|
selected: {
|
|
4183
4231
|
backgroundColor: o,
|
|
4184
|
-
color:
|
|
4232
|
+
color: n,
|
|
4185
4233
|
border: `1px solid ${a}`
|
|
4186
4234
|
}
|
|
4187
4235
|
}
|
|
4188
4236
|
},
|
|
4189
4237
|
tooltips: {
|
|
4190
|
-
backgroundColor:
|
|
4238
|
+
backgroundColor: n,
|
|
4191
4239
|
color: o,
|
|
4192
4240
|
border: `1px solid ${a}`,
|
|
4193
4241
|
borderRadius: 6,
|
|
@@ -4441,7 +4489,7 @@ function dr() {
|
|
|
4441
4489
|
color: o,
|
|
4442
4490
|
outline: `1px solid ${t}`,
|
|
4443
4491
|
selected: {
|
|
4444
|
-
backgroundColor:
|
|
4492
|
+
backgroundColor: s,
|
|
4445
4493
|
color: t
|
|
4446
4494
|
}
|
|
4447
4495
|
},
|
|
@@ -4475,7 +4523,7 @@ function dr() {
|
|
|
4475
4523
|
backgroundColor: t,
|
|
4476
4524
|
color: o,
|
|
4477
4525
|
border: "1px solid #CCCCCC",
|
|
4478
|
-
accentColor:
|
|
4526
|
+
accentColor: s
|
|
4479
4527
|
},
|
|
4480
4528
|
dropdowns: {
|
|
4481
4529
|
backgroundColor: r,
|
|
@@ -4502,14 +4550,14 @@ function dr() {
|
|
|
4502
4550
|
opacityDisabled: 0.5
|
|
4503
4551
|
},
|
|
4504
4552
|
navigationIndicator: {
|
|
4505
|
-
backgroundColor:
|
|
4553
|
+
backgroundColor: s
|
|
4506
4554
|
}
|
|
4507
4555
|
},
|
|
4508
4556
|
exportMenu: {
|
|
4509
4557
|
backgroundColor: r,
|
|
4510
4558
|
color: o,
|
|
4511
4559
|
buttons: {
|
|
4512
|
-
backgroundColor:
|
|
4560
|
+
backgroundColor: n,
|
|
4513
4561
|
color: o
|
|
4514
4562
|
}
|
|
4515
4563
|
},
|
|
@@ -4524,7 +4572,7 @@ function dr() {
|
|
|
4524
4572
|
color: o,
|
|
4525
4573
|
buttons: {
|
|
4526
4574
|
selected: {
|
|
4527
|
-
backgroundColor:
|
|
4575
|
+
backgroundColor: s,
|
|
4528
4576
|
color: t
|
|
4529
4577
|
},
|
|
4530
4578
|
unselected: {
|
|
@@ -4540,16 +4588,16 @@ function dr() {
|
|
|
4540
4588
|
strokeWidth: 2
|
|
4541
4589
|
},
|
|
4542
4590
|
bar: {
|
|
4543
|
-
fill:
|
|
4591
|
+
fill: s,
|
|
4544
4592
|
stroke: t
|
|
4545
4593
|
},
|
|
4546
4594
|
line: {
|
|
4547
4595
|
smooth: !0,
|
|
4548
4596
|
useArea: !1,
|
|
4549
|
-
stroke:
|
|
4597
|
+
stroke: s,
|
|
4550
4598
|
strokeWidth: 4,
|
|
4551
4599
|
plot: {
|
|
4552
|
-
fill:
|
|
4600
|
+
fill: s,
|
|
4553
4601
|
stroke: t,
|
|
4554
4602
|
// DEPRECATED
|
|
4555
4603
|
strokeWidth: 1,
|
|
@@ -4717,7 +4765,7 @@ function dr() {
|
|
|
4717
4765
|
// battery | gauge
|
|
4718
4766
|
size: 64,
|
|
4719
4767
|
stroke: a,
|
|
4720
|
-
color:
|
|
4768
|
+
color: s,
|
|
4721
4769
|
useGradient: !0,
|
|
4722
4770
|
gradientColor: "#9db5ed",
|
|
4723
4771
|
showPercentage: !0,
|
|
@@ -4865,7 +4913,7 @@ function dr() {
|
|
|
4865
4913
|
},
|
|
4866
4914
|
bars: {
|
|
4867
4915
|
stroke: t,
|
|
4868
|
-
defaultColor:
|
|
4916
|
+
defaultColor: s,
|
|
4869
4917
|
strokeWidth: 1,
|
|
4870
4918
|
gapRatio: 0.2,
|
|
4871
4919
|
borderRadius: 3,
|
|
@@ -5043,7 +5091,7 @@ function dr() {
|
|
|
5043
5091
|
tooltip: D
|
|
5044
5092
|
}
|
|
5045
5093
|
}
|
|
5046
|
-
},
|
|
5094
|
+
}, sr = {
|
|
5047
5095
|
theme: "",
|
|
5048
5096
|
customPalette: [],
|
|
5049
5097
|
userOptions: h({
|
|
@@ -5128,7 +5176,7 @@ function dr() {
|
|
|
5128
5176
|
}
|
|
5129
5177
|
}
|
|
5130
5178
|
}
|
|
5131
|
-
},
|
|
5179
|
+
}, nr = {
|
|
5132
5180
|
userOptions: h({
|
|
5133
5181
|
tooltip: !0,
|
|
5134
5182
|
pdf: !0,
|
|
@@ -5169,7 +5217,7 @@ function dr() {
|
|
|
5169
5217
|
x: 0,
|
|
5170
5218
|
y: 0
|
|
5171
5219
|
},
|
|
5172
|
-
waterColor:
|
|
5220
|
+
waterColor: s
|
|
5173
5221
|
},
|
|
5174
5222
|
territory: {
|
|
5175
5223
|
stroke: "#666666",
|
|
@@ -5248,17 +5296,17 @@ function dr() {
|
|
|
5248
5296
|
color: o
|
|
5249
5297
|
},
|
|
5250
5298
|
xyChart: {
|
|
5251
|
-
...
|
|
5299
|
+
...v,
|
|
5252
5300
|
responsive: !0,
|
|
5253
5301
|
line: {
|
|
5254
|
-
...
|
|
5302
|
+
...v.line,
|
|
5255
5303
|
labels: {
|
|
5256
|
-
...
|
|
5304
|
+
...v.line.labels,
|
|
5257
5305
|
show: !0
|
|
5258
5306
|
}
|
|
5259
5307
|
},
|
|
5260
5308
|
chart: {
|
|
5261
|
-
...
|
|
5309
|
+
...v.chart,
|
|
5262
5310
|
padding: {
|
|
5263
5311
|
top: 24,
|
|
5264
5312
|
right: 25,
|
|
@@ -5266,20 +5314,20 @@ function dr() {
|
|
|
5266
5314
|
left: 64
|
|
5267
5315
|
},
|
|
5268
5316
|
tooltip: {
|
|
5269
|
-
...
|
|
5317
|
+
...v.chart.tooltip,
|
|
5270
5318
|
showPercentage: !1
|
|
5271
5319
|
},
|
|
5272
5320
|
userOptions: {
|
|
5273
|
-
...
|
|
5321
|
+
...v.chart.userOptions,
|
|
5274
5322
|
buttons: {
|
|
5275
|
-
...
|
|
5323
|
+
...v.chart.userOptions.buttons,
|
|
5276
5324
|
pdf: !1
|
|
5277
5325
|
}
|
|
5278
5326
|
},
|
|
5279
5327
|
zoom: {
|
|
5280
|
-
...
|
|
5328
|
+
...v.chart.zoom,
|
|
5281
5329
|
minimap: {
|
|
5282
|
-
...
|
|
5330
|
+
...v.chart.zoom.minimap,
|
|
5283
5331
|
show: !0
|
|
5284
5332
|
}
|
|
5285
5333
|
}
|
|
@@ -5441,12 +5489,12 @@ function dr() {
|
|
|
5441
5489
|
}
|
|
5442
5490
|
};
|
|
5443
5491
|
return {
|
|
5444
|
-
vue_ui_xy:
|
|
5445
|
-
vue_ui_donut:
|
|
5492
|
+
vue_ui_xy: v,
|
|
5493
|
+
vue_ui_donut: w,
|
|
5446
5494
|
vue_ui_treemap: ao,
|
|
5447
5495
|
vue_ui_waffle: co,
|
|
5448
|
-
vue_ui_radar:
|
|
5449
|
-
vue_ui_quadrant:
|
|
5496
|
+
vue_ui_radar: so,
|
|
5497
|
+
vue_ui_quadrant: no,
|
|
5450
5498
|
vue_ui_gauge: io,
|
|
5451
5499
|
vue_ui_wheel: uo,
|
|
5452
5500
|
vue_ui_tiremarks: bo,
|
|
@@ -5484,11 +5532,11 @@ function dr() {
|
|
|
5484
5532
|
vue_ui_timer: Yo,
|
|
5485
5533
|
vue_ui_carousel_table: tr,
|
|
5486
5534
|
vue_ui_gizmo: er,
|
|
5487
|
-
vue_ui_stackbar:
|
|
5535
|
+
vue_ui_stackbar: lo,
|
|
5488
5536
|
vue_ui_bullet: lr,
|
|
5489
5537
|
vue_ui_funnel: ar,
|
|
5490
5538
|
vue_ui_history_plot: cr,
|
|
5491
|
-
vue_ui_world:
|
|
5539
|
+
vue_ui_world: nr,
|
|
5492
5540
|
vue_ui_ridgeline: ir,
|
|
5493
5541
|
vue_ui_chord: ur,
|
|
5494
5542
|
// non chart components
|
|
@@ -5503,7 +5551,7 @@ function dr() {
|
|
|
5503
5551
|
vue_ui_skeleton: Jo,
|
|
5504
5552
|
vue_ui_table: or,
|
|
5505
5553
|
vue_ui_digits: rr,
|
|
5506
|
-
vue_ui_circle_pack:
|
|
5554
|
+
vue_ui_circle_pack: sr
|
|
5507
5555
|
};
|
|
5508
5556
|
}
|
|
5509
5557
|
function Rt(o) {
|
|
@@ -5561,15 +5609,15 @@ const br = { default: {}, celebration: { table: { th: { backgroundColor: "#FFF8E
|
|
|
5561
5609
|
function Ot(o) {
|
|
5562
5610
|
return at[o];
|
|
5563
5611
|
}
|
|
5564
|
-
const ct = "#COMP# dataset prop is either missing, undefined or empty.",
|
|
5612
|
+
const ct = "#COMP# dataset prop is either missing, undefined or empty.", st = "#COMP# dataset is missing the '#ATTR#' attribute.", nt = "#COMP# dataset '#ATTR#' attribute cannot be empty.", it = "#COMP# dataset #KEY# item at index #INDX# is missing the '#ATTR#' attribute.", ut = "#COMP# : Chart could not be built. Dataset is not formatted correctly", dt = "#COMP# : A wrong value was provided to the #ATTR# attribute (#KEY# is not a valid value).", bt = {
|
|
5565
5613
|
dataset: ct,
|
|
5566
|
-
datasetAttribute:
|
|
5567
|
-
datasetAttributeEmpty:
|
|
5614
|
+
datasetAttribute: st,
|
|
5615
|
+
datasetAttributeEmpty: nt,
|
|
5568
5616
|
datasetSerieAttribute: it,
|
|
5569
5617
|
notBuildable: ut,
|
|
5570
5618
|
attributeWrongValue: dt
|
|
5571
5619
|
};
|
|
5572
|
-
function Nt(o, e, r, a, c, t = 1.99999,
|
|
5620
|
+
function Nt(o, e, r, a, c, t = 1.99999, n = 2, s = 1.45, u = 360, i = 105.25, d = 0) {
|
|
5573
5621
|
let { series: b } = o;
|
|
5574
5622
|
if (!b || o.base === 0)
|
|
5575
5623
|
return {
|
|
@@ -5587,59 +5635,59 @@ function Nt(o, e, r, a, c, t = 1.99999, s = 2, n = 1.45, u = 360, i = 105.25, d
|
|
|
5587
5635
|
for (let B = 0; B < b.length; B += 1) {
|
|
5588
5636
|
const p = Math.min(b[B].value - 1e-4, l);
|
|
5589
5637
|
let g = p / l;
|
|
5590
|
-
const F = g * (Math.PI * t), h = p / 2 / l * (Math.PI *
|
|
5638
|
+
const F = g * (Math.PI * t), h = p / 2 / l * (Math.PI * n), { startX: y, startY: E, endX: m, endY: x, path: z } = W(
|
|
5591
5639
|
[e, r],
|
|
5592
5640
|
[a, c],
|
|
5593
5641
|
[A, F],
|
|
5594
5642
|
i,
|
|
5595
5643
|
u,
|
|
5596
|
-
|
|
5597
|
-
),
|
|
5644
|
+
n
|
|
5645
|
+
), S = W(
|
|
5598
5646
|
[e, r],
|
|
5599
5647
|
[a - d, c - d],
|
|
5600
5648
|
[A, F],
|
|
5601
5649
|
i,
|
|
5602
5650
|
u,
|
|
5603
|
-
|
|
5651
|
+
n,
|
|
5604
5652
|
!0
|
|
5605
5653
|
);
|
|
5606
5654
|
f.push({
|
|
5607
|
-
arcSlice: `${
|
|
5655
|
+
arcSlice: `${z} L ${S.startX} ${S.startY} ${S.path} L ${y} ${E}`,
|
|
5608
5656
|
cx: k(e),
|
|
5609
5657
|
cy: k(r),
|
|
5610
5658
|
...b[B],
|
|
5611
5659
|
proportion: k(g),
|
|
5612
5660
|
ratio: k(F),
|
|
5613
|
-
path:
|
|
5661
|
+
path: z.replaceAll("NaN", "0"),
|
|
5614
5662
|
startX: k(y),
|
|
5615
5663
|
startY: k(E),
|
|
5616
5664
|
endX: k(m),
|
|
5617
5665
|
endY: k(x),
|
|
5618
5666
|
separator: {
|
|
5619
|
-
x:
|
|
5620
|
-
y:
|
|
5667
|
+
x: S.startX,
|
|
5668
|
+
y: S.startY
|
|
5621
5669
|
},
|
|
5622
5670
|
firstSeparator: {
|
|
5623
|
-
x: Number(
|
|
5624
|
-
y: Number(
|
|
5671
|
+
x: Number(S.path.split(" ").at(-2)),
|
|
5672
|
+
y: Number(S.path.split(" ").at(-1))
|
|
5625
5673
|
},
|
|
5626
|
-
center:
|
|
5674
|
+
center: W(
|
|
5627
5675
|
[e, r],
|
|
5628
|
-
[a *
|
|
5676
|
+
[a * s, c * s],
|
|
5629
5677
|
[A, h],
|
|
5630
5678
|
i,
|
|
5631
5679
|
u,
|
|
5632
|
-
|
|
5680
|
+
n
|
|
5633
5681
|
)
|
|
5634
5682
|
// center of the arc, to display the marker. rx & ry are larger to be displayed with a slight offset
|
|
5635
5683
|
}), A += F;
|
|
5636
5684
|
}
|
|
5637
5685
|
return f;
|
|
5638
5686
|
}
|
|
5639
|
-
function
|
|
5687
|
+
function Z([o, e], [r, a]) {
|
|
5640
5688
|
return [o + r, e + a];
|
|
5641
5689
|
}
|
|
5642
|
-
function
|
|
5690
|
+
function J([[o, e], [r, a]], [c, t]) {
|
|
5643
5691
|
return [o * c + e * t, r * c + a * t];
|
|
5644
5692
|
}
|
|
5645
5693
|
function ft(o) {
|
|
@@ -5648,16 +5696,16 @@ function ft(o) {
|
|
|
5648
5696
|
[Math.sin(o), Math.cos(o)]
|
|
5649
5697
|
];
|
|
5650
5698
|
}
|
|
5651
|
-
function
|
|
5699
|
+
function W([o, e], [r, a], [c, t], n, s = 360, u = 2, i = !1) {
|
|
5652
5700
|
t = t % (u * Math.PI);
|
|
5653
|
-
const d = ft(
|
|
5654
|
-
|
|
5701
|
+
const d = ft(n), [b, l] = Z(
|
|
5702
|
+
J(d, [
|
|
5655
5703
|
r * Math.cos(c),
|
|
5656
5704
|
a * Math.sin(c)
|
|
5657
5705
|
]),
|
|
5658
5706
|
[o, e]
|
|
5659
|
-
), [f, A] =
|
|
5660
|
-
|
|
5707
|
+
), [f, A] = Z(
|
|
5708
|
+
J(d, [
|
|
5661
5709
|
r * Math.cos(c + t),
|
|
5662
5710
|
a * Math.sin(c + t)
|
|
5663
5711
|
]),
|
|
@@ -5671,7 +5719,7 @@ function I([o, e], [r, a], [c, t], s, n = 360, u = 2, i = !1) {
|
|
|
5671
5719
|
path: `M${k(i ? f : b)} ${k(i ? A : l)} A ${[
|
|
5672
5720
|
k(r),
|
|
5673
5721
|
k(a),
|
|
5674
|
-
k(
|
|
5722
|
+
k(n / (u * Math.PI) * s),
|
|
5675
5723
|
k(B),
|
|
5676
5724
|
k(p),
|
|
5677
5725
|
k(i ? b : f),
|
|
@@ -5684,7 +5732,7 @@ function At({ defaultConfig: o, userConfig: e }) {
|
|
|
5684
5732
|
return Object.keys(r).forEach((a) => {
|
|
5685
5733
|
if (Object.hasOwn(e, a)) {
|
|
5686
5734
|
const c = e[a];
|
|
5687
|
-
["boolean", "function"].includes(typeof c) ? r[a] = c : ["string", "number"].includes(typeof c) ?
|
|
5735
|
+
["boolean", "function"].includes(typeof c) ? r[a] = c : ["string", "number"].includes(typeof c) ? to(c) && (r[a] = c) : Array.isArray(r[a]) ? gt({ userConfig: e, key: a }) && (r[a] = c) : Ct({ userConfig: e, key: a }) && (r[a] = At({
|
|
5688
5736
|
defaultConfig: r[a],
|
|
5689
5737
|
userConfig: c
|
|
5690
5738
|
}));
|
|
@@ -5697,14 +5745,14 @@ function gt({ userConfig: o, key: e }) {
|
|
|
5697
5745
|
function Ct({ userConfig: o, key: e }) {
|
|
5698
5746
|
return Object.hasOwn(o, e) && !Array.isArray(o[e]) && typeof o[e] == "object";
|
|
5699
5747
|
}
|
|
5700
|
-
function
|
|
5748
|
+
function to(o) {
|
|
5701
5749
|
return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(o);
|
|
5702
5750
|
}
|
|
5703
5751
|
function Pt(o) {
|
|
5704
5752
|
return ![void 0, NaN, 1 / 0, -1 / 0].includes(o);
|
|
5705
5753
|
}
|
|
5706
5754
|
function Tt(o, e = 0) {
|
|
5707
|
-
return
|
|
5755
|
+
return to(o) ? o : e;
|
|
5708
5756
|
}
|
|
5709
5757
|
function k(o, e = 0) {
|
|
5710
5758
|
return isNaN(o) ? e : o;
|
|
@@ -5754,20 +5802,20 @@ const ht = [
|
|
|
5754
5802
|
function Mt(o = "default") {
|
|
5755
5803
|
switch (o) {
|
|
5756
5804
|
case "hack":
|
|
5757
|
-
return
|
|
5805
|
+
return O.hack;
|
|
5758
5806
|
case "zen":
|
|
5759
|
-
return
|
|
5807
|
+
return O.zen;
|
|
5760
5808
|
case "concrete":
|
|
5761
|
-
return
|
|
5809
|
+
return O.concrete;
|
|
5762
5810
|
case "celebration":
|
|
5763
|
-
return
|
|
5811
|
+
return O.celebration;
|
|
5764
5812
|
case "celebrationNight":
|
|
5765
|
-
return
|
|
5813
|
+
return O.celebrationNight;
|
|
5766
5814
|
default:
|
|
5767
|
-
return
|
|
5815
|
+
return O.default;
|
|
5768
5816
|
}
|
|
5769
5817
|
}
|
|
5770
|
-
const
|
|
5818
|
+
const O = {
|
|
5771
5819
|
default: ht,
|
|
5772
5820
|
celebration: [
|
|
5773
5821
|
"#D32F2F",
|
|
@@ -5931,8 +5979,8 @@ const R = {
|
|
|
5931
5979
|
"#C3C5C5",
|
|
5932
5980
|
"#A0AC94"
|
|
5933
5981
|
]
|
|
5934
|
-
},
|
|
5935
|
-
function
|
|
5982
|
+
}, oo = ["00", "03", "05", "08", "0A", "0D", "0F", "12", "14", "17", "1A", "1C", "1F", "21", "24", "26", "29", "2B", "2E", "30", "33", "36", "38", "3B", "3D", "40", "42", "45", "47", "4A", "4D", "4F", "52", "54", "57", "59", "5C", "5E", "61", "63", "66", "69", "6B", "6E", "70", "73", "75", "78", "7A", "7D", "80", "82", "85", "87", "8A", "8C", "8F", "91", "94", "96", "99", "9C", "9E", "A1", "A3", "A6", "A8", "AB", "AD", "B0", "B3", "B5", "B8", "BA", "BD", "BF", "C2", "C4", "C7", "C9", "CC", "CF", "D1", "D4", "D6", "D9", "DB", "DE", "E0", "E3", "E6", "E8", "EB", "ED", "F0", "F2", "F5", "F7", "FA", "FC", "FF"];
|
|
5983
|
+
function P(o) {
|
|
5936
5984
|
const e = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, r = /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)$/i, a = /^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*([\d.]+))?\)$/i;
|
|
5937
5985
|
if ([void 0, null, NaN].includes(o))
|
|
5938
5986
|
return null;
|
|
@@ -5940,36 +5988,36 @@ function N(o) {
|
|
|
5940
5988
|
return "#FFFFFF00";
|
|
5941
5989
|
let c, t = 1;
|
|
5942
5990
|
if (c = o.match(e)) {
|
|
5943
|
-
const [,
|
|
5944
|
-
return t = i ? parseInt(i, 16) / 255 : 1, `#${
|
|
5991
|
+
const [, n, s, u, i] = c;
|
|
5992
|
+
return t = i ? parseInt(i, 16) / 255 : 1, `#${n}${s}${u}${_(Math.round(t * 255))}`;
|
|
5945
5993
|
} else if (c = o.match(r)) {
|
|
5946
|
-
const [,
|
|
5947
|
-
return t = i ? parseFloat(i) : 1, `#${
|
|
5994
|
+
const [, n, s, u, i] = c;
|
|
5995
|
+
return t = i ? parseFloat(i) : 1, `#${_(n)}${_(s)}${_(u)}${_(Math.round(t * 255))}`;
|
|
5948
5996
|
} else if (c = o.match(a)) {
|
|
5949
|
-
const [,
|
|
5997
|
+
const [, n, s, u, i] = c;
|
|
5950
5998
|
t = i ? parseFloat(i) : 1;
|
|
5951
|
-
const d = kt(Number(
|
|
5952
|
-
return `#${
|
|
5999
|
+
const d = kt(Number(n), Number(s), Number(u));
|
|
6000
|
+
return `#${_(d[0])}${_(d[1])}${_(d[2])}${_(Math.round(t * 255))}`;
|
|
5953
6001
|
}
|
|
5954
6002
|
return null;
|
|
5955
6003
|
}
|
|
5956
|
-
function
|
|
6004
|
+
function _(o) {
|
|
5957
6005
|
const e = Number(o).toString(16);
|
|
5958
6006
|
return e.length === 1 ? "0" + e : e;
|
|
5959
6007
|
}
|
|
5960
6008
|
function kt(o, e, r, a = 1) {
|
|
5961
6009
|
o /= 360, e /= 100, r /= 100;
|
|
5962
|
-
let c, t,
|
|
6010
|
+
let c, t, n;
|
|
5963
6011
|
if (e === 0)
|
|
5964
|
-
c = t =
|
|
6012
|
+
c = t = n = r;
|
|
5965
6013
|
else {
|
|
5966
|
-
const
|
|
5967
|
-
c =
|
|
6014
|
+
const s = (d, b, l) => (l < 0 && (l += 1), l > 1 && (l -= 1), l < 0.16666666666666666 ? d + (b - d) * 6 * l : l < 0.5 ? b : l < 0.6666666666666666 ? d + (b - d) * (0.6666666666666666 - l) * 6 : d), u = r < 0.5 ? r * (1 + e) : r + e - r * e, i = 2 * r - u;
|
|
6015
|
+
c = s(i, u, o + 1 / 3), t = s(i, u, o), n = s(i, u, o - 1 / 3);
|
|
5968
6016
|
}
|
|
5969
6017
|
return [
|
|
5970
6018
|
Math.round(c * 255),
|
|
5971
6019
|
Math.round(t * 255),
|
|
5972
|
-
Math.round(
|
|
6020
|
+
Math.round(n * 255),
|
|
5973
6021
|
a
|
|
5974
6022
|
];
|
|
5975
6023
|
}
|
|
@@ -6000,7 +6048,7 @@ function Ft(o, e) {
|
|
|
6000
6048
|
p /= 6;
|
|
6001
6049
|
}
|
|
6002
6050
|
return { h: p, s: g, l: F };
|
|
6003
|
-
},
|
|
6051
|
+
}, n = ({ h: b, s: l, l: f }) => {
|
|
6004
6052
|
let A, B, p;
|
|
6005
6053
|
if (l === 0)
|
|
6006
6054
|
A = B = p = f;
|
|
@@ -6013,9 +6061,9 @@ function Ft(o, e) {
|
|
|
6013
6061
|
g: Math.round(B * 255),
|
|
6014
6062
|
b: Math.round(p * 255)
|
|
6015
6063
|
};
|
|
6016
|
-
},
|
|
6064
|
+
}, s = c(r || "#000000"), u = t(s);
|
|
6017
6065
|
u.h += e, u.h = (u.h + 1) % 1;
|
|
6018
|
-
const i =
|
|
6066
|
+
const i = n(u);
|
|
6019
6067
|
return `#${(i.r << 16 | i.g << 8 | i.b).toString(16).padStart(6, "0")}` + (a || "");
|
|
6020
6068
|
}
|
|
6021
6069
|
function Et({
|
|
@@ -6025,15 +6073,15 @@ function Et({
|
|
|
6025
6073
|
radius: a,
|
|
6026
6074
|
rotation: c
|
|
6027
6075
|
}) {
|
|
6028
|
-
const t = Math.PI / r,
|
|
6029
|
-
let
|
|
6076
|
+
const t = Math.PI / r, n = c;
|
|
6077
|
+
let s = "";
|
|
6030
6078
|
const u = [];
|
|
6031
6079
|
for (let i = 0; i < r * 2; i += 1) {
|
|
6032
|
-
let d = o + Math.cos(i * t +
|
|
6033
|
-
|
|
6080
|
+
let d = o + Math.cos(i * t + n) * a, b = e + Math.sin(i * t + n) * a;
|
|
6081
|
+
s += `${d},${b} `, u.push({ x: d, y: b });
|
|
6034
6082
|
}
|
|
6035
6083
|
return {
|
|
6036
|
-
path: `M${
|
|
6084
|
+
path: `M${s}Z`,
|
|
6037
6085
|
coordinates: u
|
|
6038
6086
|
};
|
|
6039
6087
|
}
|
|
@@ -6043,11 +6091,11 @@ function Vt({
|
|
|
6043
6091
|
sides: r,
|
|
6044
6092
|
rotation: a = 0
|
|
6045
6093
|
}) {
|
|
6046
|
-
const c = o.x, t = o.y,
|
|
6094
|
+
const c = o.x, t = o.y, n = r / 2;
|
|
6047
6095
|
return Et({
|
|
6048
6096
|
centerX: c,
|
|
6049
6097
|
centerY: t,
|
|
6050
|
-
outerPoints:
|
|
6098
|
+
outerPoints: n,
|
|
6051
6099
|
radius: e + 1,
|
|
6052
6100
|
rotation: a
|
|
6053
6101
|
});
|
|
@@ -6059,10 +6107,10 @@ function pt({
|
|
|
6059
6107
|
innerRadius: a,
|
|
6060
6108
|
outerRadius: c
|
|
6061
6109
|
}) {
|
|
6062
|
-
const t = Math.PI / r,
|
|
6110
|
+
const t = Math.PI / r, n = 60, s = r * 2;
|
|
6063
6111
|
let u = "";
|
|
6064
|
-
for (let i = 0; i <
|
|
6065
|
-
let b = i % 2 == 0 ? c : a, l = o + Math.cos(i * t +
|
|
6112
|
+
for (let i = 0; i < s; i += 1) {
|
|
6113
|
+
let b = i % 2 == 0 ? c : a, l = o + Math.cos(i * t + n) * b, f = e + Math.sin(i * t + n) * b;
|
|
6066
6114
|
u += `${l},${f} `;
|
|
6067
6115
|
}
|
|
6068
6116
|
return u;
|
|
@@ -6072,12 +6120,12 @@ function It({
|
|
|
6072
6120
|
radius: e,
|
|
6073
6121
|
apexes: r = 5
|
|
6074
6122
|
}) {
|
|
6075
|
-
const a = o.x, c = o.y, t = r,
|
|
6123
|
+
const a = o.x, c = o.y, t = r, n = e * 3.5 / t, u = n * 2;
|
|
6076
6124
|
return pt({
|
|
6077
6125
|
centerX: a,
|
|
6078
6126
|
centerY: c,
|
|
6079
6127
|
innerCirclePoints: t,
|
|
6080
|
-
innerRadius:
|
|
6128
|
+
innerRadius: n,
|
|
6081
6129
|
outerRadius: u
|
|
6082
6130
|
});
|
|
6083
6131
|
}
|
|
@@ -6093,20 +6141,20 @@ function Wt({ series: o }) {
|
|
|
6093
6141
|
for (const i of o)
|
|
6094
6142
|
i.x < a.x && (a = i);
|
|
6095
6143
|
r[0] = a;
|
|
6096
|
-
let c, t,
|
|
6144
|
+
let c, t, n, s;
|
|
6097
6145
|
c = r[0], t = { x: c.x, y: c.y + 1 };
|
|
6098
6146
|
do {
|
|
6099
|
-
|
|
6147
|
+
n = Math.PI;
|
|
6100
6148
|
for (const i of o)
|
|
6101
|
-
a = e(t, c, i), a <=
|
|
6102
|
-
|
|
6103
|
-
} while (
|
|
6149
|
+
a = e(t, c, i), a <= n && (s = i, n = a);
|
|
6150
|
+
s !== r[0] && (r.push(s), t = c, c = s);
|
|
6151
|
+
} while (s !== r[0]);
|
|
6104
6152
|
let u;
|
|
6105
6153
|
return r.forEach((i) => {
|
|
6106
6154
|
i && i.x && i.y && (u += `${Math.round(i.x)},${Math.round(i.y)} `);
|
|
6107
6155
|
}), u = u.replaceAll("undefined", ""), u;
|
|
6108
6156
|
}
|
|
6109
|
-
function
|
|
6157
|
+
function N(o) {
|
|
6110
6158
|
return o * Math.PI / 180;
|
|
6111
6159
|
}
|
|
6112
6160
|
function $t(o) {
|
|
@@ -6120,14 +6168,14 @@ function $t(o) {
|
|
|
6120
6168
|
}
|
|
6121
6169
|
}
|
|
6122
6170
|
e.charAt(0) !== "#" && (e = this.rgbToHex(o)), e = e.substring(1, 7);
|
|
6123
|
-
let a = parseInt(e.substring(0, 2), 16), c = parseInt(e.substring(2, 4), 16), t = parseInt(e.substring(4, 6), 16),
|
|
6171
|
+
let a = parseInt(e.substring(0, 2), 16), c = parseInt(e.substring(2, 4), 16), t = parseInt(e.substring(4, 6), 16), s = [a / 255, c / 255, t / 255].map((i) => i <= 0.03928 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4)), u = 0.2126 * s[0] + 0.7152 * s[1] + 0.0722 * s[2];
|
|
6124
6172
|
return r < 1 ? r * u + (1 - r) * 1 > 0.3 ? "#000000" : "#FFFFFF" : u > 0.3 ? "#000000" : "#FFFFFF";
|
|
6125
6173
|
}
|
|
6126
6174
|
return "#000000";
|
|
6127
6175
|
}
|
|
6128
6176
|
function Dt(o) {
|
|
6129
6177
|
for (const e in o)
|
|
6130
|
-
typeof o[e] == "object" && !Array.isArray(o[e]) && o[e] !== null ? Dt(o[e]) : ["color", "backgroundColor", "stroke"].includes(e) && (o[e] === "" ? o[e] = "#000000" : o[e] === "transparent" ? o[e] = "#FFFFFF00" : o[e] =
|
|
6178
|
+
typeof o[e] == "object" && !Array.isArray(o[e]) && o[e] !== null ? Dt(o[e]) : ["color", "backgroundColor", "stroke"].includes(e) && (o[e] === "" ? o[e] = "#000000" : o[e] === "transparent" ? o[e] = "#FFFFFF00" : o[e] = P(o[e]));
|
|
6131
6179
|
return o;
|
|
6132
6180
|
}
|
|
6133
6181
|
function Ut(o) {
|
|
@@ -6142,10 +6190,10 @@ function Ut(o) {
|
|
|
6142
6190
|
slope: 0,
|
|
6143
6191
|
trend: 0
|
|
6144
6192
|
};
|
|
6145
|
-
let
|
|
6193
|
+
let n = 0, s = 0, u = 0, i = 0;
|
|
6146
6194
|
for (const { x: f, y: A } of o)
|
|
6147
|
-
|
|
6148
|
-
const d = (t * u -
|
|
6195
|
+
n += f, s += A, u += f * A, i += f * f;
|
|
6196
|
+
const d = (t * u - n * s) / (t * i - n * n), b = (s - d * n) / t;
|
|
6149
6197
|
e = o[0].x, a = o[t - 1].x, r = d * e + b, c = d * a + b;
|
|
6150
6198
|
const l = Bt(o.map((f) => f.value));
|
|
6151
6199
|
return { x1: e, y1: r, x2: a, y2: c, slope: d, trend: l };
|
|
@@ -6153,9 +6201,9 @@ function Ut(o) {
|
|
|
6153
6201
|
function Bt(o) {
|
|
6154
6202
|
const e = o[0], a = o[o.length - 1] - e;
|
|
6155
6203
|
let c = 0;
|
|
6156
|
-
for (let
|
|
6157
|
-
const
|
|
6158
|
-
c +=
|
|
6204
|
+
for (let n = 1; n < o.length; n++) {
|
|
6205
|
+
const s = Math.abs(o[n] - o[n - 1]);
|
|
6206
|
+
c += s;
|
|
6159
6207
|
}
|
|
6160
6208
|
const t = a / c;
|
|
6161
6209
|
return isNaN(t) ? 0 : t;
|
|
@@ -6172,41 +6220,41 @@ function Gt(o) {
|
|
|
6172
6220
|
}
|
|
6173
6221
|
function Ht(o) {
|
|
6174
6222
|
if (o.length < 2) return "0,0";
|
|
6175
|
-
const e = o.length - 1, r = [`${k(o[0].x)},${k(o[0].y)}`], a = [], c = [], t = [],
|
|
6176
|
-
for (let
|
|
6177
|
-
a[
|
|
6178
|
-
|
|
6179
|
-
for (let
|
|
6180
|
-
if (t[
|
|
6181
|
-
s
|
|
6223
|
+
const e = o.length - 1, r = [`${k(o[0].x)},${k(o[0].y)}`], a = [], c = [], t = [], n = [];
|
|
6224
|
+
for (let s = 0; s < e; s += 1)
|
|
6225
|
+
a[s] = o[s + 1].x - o[s].x, c[s] = o[s + 1].y - o[s].y, t[s] = c[s] / a[s];
|
|
6226
|
+
n[0] = t[0], n[e] = t[e - 1];
|
|
6227
|
+
for (let s = 1; s < e; s += 1)
|
|
6228
|
+
if (t[s - 1] * t[s] <= 0)
|
|
6229
|
+
n[s] = 0;
|
|
6182
6230
|
else {
|
|
6183
|
-
const u = 2 * t[
|
|
6184
|
-
s
|
|
6231
|
+
const u = 2 * t[s - 1] * t[s] / (t[s - 1] + t[s]);
|
|
6232
|
+
n[s] = u;
|
|
6185
6233
|
}
|
|
6186
|
-
for (let
|
|
6187
|
-
const u = o[
|
|
6234
|
+
for (let s = 0; s < e; s += 1) {
|
|
6235
|
+
const u = o[s].x, i = o[s].y, d = o[s + 1].x, b = o[s + 1].y, l = n[s], f = n[s + 1], A = u + (d - u) / 3, B = i + l * (d - u) / 3, p = d - (d - u) / 3, g = b - f * (d - u) / 3;
|
|
6188
6236
|
r.push(`C ${k(A)},${k(B)} ${k(p)},${k(g)} ${k(d)},${k(b)}`);
|
|
6189
6237
|
}
|
|
6190
6238
|
return r.join(" ");
|
|
6191
6239
|
}
|
|
6192
6240
|
function Xt(o, e = 0.2) {
|
|
6193
|
-
function r(
|
|
6194
|
-
const u =
|
|
6241
|
+
function r(n, s) {
|
|
6242
|
+
const u = s.x - n.x, i = s.y - n.y;
|
|
6195
6243
|
return {
|
|
6196
6244
|
length: Math.sqrt(Math.pow(u, 2) + Math.pow(i, 2)),
|
|
6197
6245
|
angle: Math.atan2(i, u)
|
|
6198
6246
|
};
|
|
6199
6247
|
}
|
|
6200
|
-
function a(
|
|
6201
|
-
const l = r(
|
|
6248
|
+
function a(n, s, u, i) {
|
|
6249
|
+
const l = r(s || n, u || n), f = l.angle + (i ? Math.PI : 0), A = l.length * e, B = n.x + Math.cos(f) * A, p = n.y + Math.sin(f) * A;
|
|
6202
6250
|
return { x: B, y: p };
|
|
6203
6251
|
}
|
|
6204
|
-
function c(
|
|
6205
|
-
const i = a(u[
|
|
6206
|
-
return `C ${k(i.x)},${k(i.y)} ${k(d.x)},${k(d.y)} ${k(
|
|
6252
|
+
function c(n, s, u) {
|
|
6253
|
+
const i = a(u[s - 1], u[s - 2], n), d = a(n, u[s - 1], u[s + 1], !0);
|
|
6254
|
+
return `C ${k(i.x)},${k(i.y)} ${k(d.x)},${k(d.y)} ${k(n.x)},${k(n.y)}`;
|
|
6207
6255
|
}
|
|
6208
|
-
return o.filter((
|
|
6209
|
-
(
|
|
6256
|
+
return o.filter((n) => !!n).reduce(
|
|
6257
|
+
(n, s, u, i) => u === 0 ? `${k(s.x)},${k(s.y)} ` : `${n} ${c(s, u, i)} `,
|
|
6210
6258
|
""
|
|
6211
6259
|
);
|
|
6212
6260
|
}
|
|
@@ -6216,11 +6264,11 @@ function Kt() {
|
|
|
6216
6264
|
return (o == "x" ? e : e & 3 | 8).toString(16);
|
|
6217
6265
|
});
|
|
6218
6266
|
}
|
|
6219
|
-
function
|
|
6220
|
-
let c = 0, t = e ? r : 0,
|
|
6221
|
-
return o.center.endX > o.cx ? (c = o.center.endX + r + t,
|
|
6267
|
+
function T(o, e = !1, r = 16, a = !1) {
|
|
6268
|
+
let c = 0, t = e ? r : 0, n = a ? "center" : "middle";
|
|
6269
|
+
return o.center.endX > o.cx ? (c = o.center.endX + r + t, n = a ? "left" : "start") : o.center.endX < o.cx ? (c = o.center.endX - r - t, n = a ? "right" : "end") : (c = o.centerX + t, n = a ? "center" : "middle"), { x: c, anchor: n };
|
|
6222
6270
|
}
|
|
6223
|
-
function
|
|
6271
|
+
function M(o, e = 16, r = 16) {
|
|
6224
6272
|
return o.center.endY > o.cy ? o.center.endY + r : o.center.endY < o.cy ? o.center.endY - e : o.center.endY;
|
|
6225
6273
|
}
|
|
6226
6274
|
function jt({
|
|
@@ -6241,21 +6289,21 @@ function yt(o) {
|
|
|
6241
6289
|
e.setAttribute("d", o);
|
|
6242
6290
|
const r = e.getTotalLength();
|
|
6243
6291
|
let a = 0, c = r, t = r / 2;
|
|
6244
|
-
const
|
|
6245
|
-
for (; c - a >
|
|
6292
|
+
const n = 0.01;
|
|
6293
|
+
for (; c - a > n; ) {
|
|
6246
6294
|
const i = (a + c) / 2, b = e.getPointAtLength(i).x;
|
|
6247
|
-
if (Math.abs(b - t) <
|
|
6295
|
+
if (Math.abs(b - t) < n) {
|
|
6248
6296
|
t = i;
|
|
6249
6297
|
break;
|
|
6250
6298
|
} else b < t ? a = i : c = i;
|
|
6251
6299
|
}
|
|
6252
|
-
const { x:
|
|
6253
|
-
return { x:
|
|
6300
|
+
const { x: s, y: u } = e.getPointAtLength(t);
|
|
6301
|
+
return { x: s, y: u };
|
|
6254
6302
|
}
|
|
6255
|
-
function qt(o, e = !1, r = 16, a = 16, c = !1, t = !1,
|
|
6256
|
-
const { x: i } = yt(o.path), d = `${
|
|
6303
|
+
function qt(o, e = !1, r = 16, a = 16, c = !1, t = !1, n = 0, s = 12, u = !1) {
|
|
6304
|
+
const { x: i } = yt(o.path), d = `${T(o).x},${M(o, r, a) - 4} `;
|
|
6257
6305
|
let b = "", l, f;
|
|
6258
|
-
i > o.cx ? (l =
|
|
6306
|
+
i > o.cx ? (l = T(o).x - s, f = M(o, r, a) - 4, b = `${l},${f}`) : i < o.cx ? (l = T(o).x + s, f = M(o, r, a) - 4, b = `${l},${f}`) : (l = T(o).x + s, f = M(o, r, a) - 4, b = `${l},${f}`);
|
|
6259
6307
|
const A = ` ${o.center.endX},${o.center.endY}`;
|
|
6260
6308
|
return u ? t ? `M${b} Q${b} ${A}` : `M${d} Q${b} ${A}` : `M${t ? "" : d}${b}${A}`;
|
|
6261
6309
|
}
|
|
@@ -6292,7 +6340,7 @@ function mt(o, e) {
|
|
|
6292
6340
|
return console.warn("lightenHexColor : Invalid hex color format"), "#000000";
|
|
6293
6341
|
let r = o.replace("#", "");
|
|
6294
6342
|
r.length === 3 && (r = r.split("").map((d) => d + d).join(""));
|
|
6295
|
-
const a = parseInt(r.substring(0, 2), 16), c = parseInt(r.substring(2, 4), 16), t = parseInt(r.substring(4, 6), 16),
|
|
6343
|
+
const a = parseInt(r.substring(0, 2), 16), c = parseInt(r.substring(2, 4), 16), t = parseInt(r.substring(4, 6), 16), n = Math.min(255, a + (255 - a) * e), s = Math.min(255, c + (255 - c) * e), u = Math.min(255, t + (255 - t) * e), i = `#${Math.round(n).toString(16).padStart(2, "0")}${Math.round(s).toString(16).padStart(2, "0")}${Math.round(u).toString(16).padStart(2, "0")}`;
|
|
6296
6344
|
if (r.length === 8) {
|
|
6297
6345
|
const d = r.substring(6, 8);
|
|
6298
6346
|
return i + d;
|
|
@@ -6304,33 +6352,33 @@ function xt(o, e) {
|
|
|
6304
6352
|
return console.warn("darkenHexColor: Invalid hex color format"), "#000000";
|
|
6305
6353
|
let r = o.replace("#", "");
|
|
6306
6354
|
r.length === 3 && (r = r.split("").map((d) => d + d).join(""));
|
|
6307
|
-
const a = parseInt(r.substring(0, 2), 16), c = parseInt(r.substring(2, 4), 16), t = parseInt(r.substring(4, 6), 16),
|
|
6355
|
+
const a = parseInt(r.substring(0, 2), 16), c = parseInt(r.substring(2, 4), 16), t = parseInt(r.substring(4, 6), 16), n = Math.max(0, a - a * e), s = Math.max(0, c - c * e), u = Math.max(0, t - t * e), i = `#${Math.round(n).toString(16).padStart(2, "0")}${Math.round(s).toString(16).padStart(2, "0")}${Math.round(u).toString(16).padStart(2, "0")}`;
|
|
6308
6356
|
if (r.length === 8) {
|
|
6309
6357
|
const d = r.substring(6, 8);
|
|
6310
6358
|
return i + d;
|
|
6311
6359
|
}
|
|
6312
6360
|
return i;
|
|
6313
6361
|
}
|
|
6314
|
-
function
|
|
6362
|
+
function I(o, e) {
|
|
6315
6363
|
const r = Math.floor(Math.log10(o)), a = o / Math.pow(10, r);
|
|
6316
6364
|
let c;
|
|
6317
6365
|
return e ? a < 1.5 ? c = 1 : a < 3 ? c = 2 : a < 7 ? c = 5 : c = 10 : a <= 1 ? c = 1 : a <= 2 ? c = 2 : a <= 5 ? c = 5 : c = 10, c * Math.pow(10, r);
|
|
6318
6366
|
}
|
|
6319
6367
|
function ee(o, e, r, a = !1) {
|
|
6320
|
-
const c = a ? e - o :
|
|
6321
|
-
for (let i =
|
|
6368
|
+
const c = a ? e - o : I(e - o, !1), t = a ? c / (r - 1) : I(c / (r - 1), !0), n = Math.floor(o / t) * t, s = Math.ceil(e / t) * t, u = [];
|
|
6369
|
+
for (let i = n; i <= s; i += t)
|
|
6322
6370
|
u.push(i);
|
|
6323
6371
|
return {
|
|
6324
|
-
min:
|
|
6325
|
-
max:
|
|
6372
|
+
min: n,
|
|
6373
|
+
max: s,
|
|
6326
6374
|
tickSize: t,
|
|
6327
6375
|
ticks: u
|
|
6328
6376
|
};
|
|
6329
6377
|
}
|
|
6330
6378
|
function le(o, e, r, a = !1) {
|
|
6331
|
-
const c = a ? e - o :
|
|
6332
|
-
let u = [], i =
|
|
6333
|
-
for (; i <=
|
|
6379
|
+
const c = a ? e - o : I(e - o, !1), t = a ? c / (r - 1) : I(c / (r - 1), !0), n = Math.floor(o / t) * t, s = Math.ceil(e / t) * t;
|
|
6380
|
+
let u = [], i = n;
|
|
6381
|
+
for (; i <= s; )
|
|
6334
6382
|
i >= o && i <= e && u.push(i), i += t;
|
|
6335
6383
|
return u[0] !== o && (u[0] = o), u[u.length - 1] !== e && (u[u.length - 1] = e), {
|
|
6336
6384
|
min: o,
|
|
@@ -6343,27 +6391,27 @@ function ae(o, e, r, a, c) {
|
|
|
6343
6391
|
const t = (l) => {
|
|
6344
6392
|
let f = parseInt(l.substring(1, 3), 16), A = parseInt(l.substring(3, 5), 16), B = parseInt(l.substring(5, 7), 16), p = 1;
|
|
6345
6393
|
return l.length === 9 && (p = parseInt(l.substring(7, 9), 16) / 255), { r: f, g: A, b: B, a: p };
|
|
6346
|
-
},
|
|
6394
|
+
}, n = ({ r: l, g: f, b: A, a: B }) => {
|
|
6347
6395
|
const p = (F) => F.toString(16).padStart(2, "0"), g = `#${p(l)}${p(f)}${p(A)}`;
|
|
6348
6396
|
if (B !== 1) {
|
|
6349
6397
|
const F = Math.round(B * 255).toString(16).padStart(2, "0");
|
|
6350
6398
|
return g + F;
|
|
6351
6399
|
}
|
|
6352
6400
|
return g;
|
|
6353
|
-
},
|
|
6401
|
+
}, s = t(o), u = t(e);
|
|
6354
6402
|
c = Math.min(Math.max(c, r), a);
|
|
6355
6403
|
const i = (c - r) / (a - r), d = {
|
|
6356
|
-
r: Math.round(
|
|
6357
|
-
g: Math.round(
|
|
6358
|
-
b: Math.round(
|
|
6359
|
-
}, b =
|
|
6360
|
-
return
|
|
6404
|
+
r: Math.round(s.r + (u.r - s.r) * i),
|
|
6405
|
+
g: Math.round(s.g + (u.g - s.g) * i),
|
|
6406
|
+
b: Math.round(s.b + (u.b - s.b) * i)
|
|
6407
|
+
}, b = s.a + (u.a - s.a) * i;
|
|
6408
|
+
return n({ ...d, a: b });
|
|
6361
6409
|
}
|
|
6362
|
-
function ce({ p: o = "", v: e, s: r = "", r: a = 0, space: c = !1, isAnimating: t = !1, regex:
|
|
6410
|
+
function ce({ p: o = "", v: e, s: r = "", r: a = 0, space: c = !1, isAnimating: t = !1, regex: n = /[^%]/g, replacement: s = "-", locale: u = null }) {
|
|
6363
6411
|
const i = u ? Number(Number(e).toFixed(a)).toLocaleString(u) : Number(Number(e).toFixed(a)).toLocaleString(), d = i === 1 / 0 ? "∞" : i === -1 / 0 ? "-∞" : i, b = `${o ?? ""}${c ? " " : ""}${[void 0, null].includes(e) ? "-" : d}${c ? " " : ""}${r ?? ""}`;
|
|
6364
|
-
return t ? b.replace(
|
|
6412
|
+
return t ? b.replace(n, s) : b;
|
|
6365
6413
|
}
|
|
6366
|
-
function
|
|
6414
|
+
function se({ source: o, length: e = 3 }) {
|
|
6367
6415
|
if (!o && o !== 0)
|
|
6368
6416
|
return "";
|
|
6369
6417
|
o = String(o);
|
|
@@ -6379,7 +6427,7 @@ function ne({ source: o, length: e = 3 }) {
|
|
|
6379
6427
|
}), a.join().replaceAll(",", "").toUpperCase();
|
|
6380
6428
|
}
|
|
6381
6429
|
}
|
|
6382
|
-
function
|
|
6430
|
+
function ne(o) {
|
|
6383
6431
|
return !!o && typeof o == "function";
|
|
6384
6432
|
}
|
|
6385
6433
|
function ie(o) {
|
|
@@ -6389,30 +6437,30 @@ function ue(o) {
|
|
|
6389
6437
|
return Array.isArray(o) ? o.length === 0 : Object.keys(o).length === 0;
|
|
6390
6438
|
}
|
|
6391
6439
|
function de({ componentName: o, type: e, property: r = "", index: a = "", key: c = "", warn: t = !0 }) {
|
|
6392
|
-
const
|
|
6440
|
+
const n = `
|
|
6393
6441
|
> ${bt[e].replace("#COMP#", o).replace("#ATTR#", r).replace("#INDX#", a).replace("#KEY#", c)}
|
|
6394
6442
|
`;
|
|
6395
6443
|
if (t)
|
|
6396
|
-
console.warn(
|
|
6444
|
+
console.warn(n);
|
|
6397
6445
|
else
|
|
6398
|
-
throw new Error(
|
|
6446
|
+
throw new Error(n);
|
|
6399
6447
|
}
|
|
6400
6448
|
function wt({ points: o, a: e, b: r, angleStep: a, startX: c, startY: t }) {
|
|
6401
|
-
const
|
|
6402
|
-
for (let
|
|
6403
|
-
const u = a *
|
|
6404
|
-
|
|
6449
|
+
const n = [];
|
|
6450
|
+
for (let s = 0; s < o; s++) {
|
|
6451
|
+
const u = a * s, i = e + r * u, d = i * Math.cos(u) + c, b = i * Math.sin(u) + t;
|
|
6452
|
+
n.push({ x: d, y: b });
|
|
6405
6453
|
}
|
|
6406
|
-
return
|
|
6454
|
+
return n;
|
|
6407
6455
|
}
|
|
6408
6456
|
function be({ points: o, a: e, b: r, angleStep: a, startX: c, startY: t }) {
|
|
6409
|
-
const
|
|
6410
|
-
let
|
|
6411
|
-
for (let u = 1; u <
|
|
6412
|
-
const i =
|
|
6413
|
-
|
|
6457
|
+
const n = wt({ points: o, a: e || 6, b: r || 6, angleStep: a || 0.07, startX: c, startY: t });
|
|
6458
|
+
let s = `M${n[0].x} ${n[0].y}`;
|
|
6459
|
+
for (let u = 1; u < n.length - 2; u += 2) {
|
|
6460
|
+
const i = n[u - 1], d = n[u], b = n[u + 1], l = n[u + 2], f = (i.x + d.x) / 2, A = (i.y + d.y) / 2, B = (d.x + b.x) / 2, p = (d.y + b.y) / 2, g = (b.x + l.x) / 2, F = (b.y + l.y) / 2;
|
|
6461
|
+
s += ` C${f} ${A}, ${B} ${p}, ${g} ${F}`;
|
|
6414
6462
|
}
|
|
6415
|
-
return
|
|
6463
|
+
return s;
|
|
6416
6464
|
}
|
|
6417
6465
|
function fe({ datasetObject: o, requiredAttributes: e }) {
|
|
6418
6466
|
let r = [];
|
|
@@ -6571,11 +6619,11 @@ function ge(o) {
|
|
|
6571
6619
|
return 0;
|
|
6572
6620
|
let e = 0, r = 0;
|
|
6573
6621
|
for (let c = 1; c < o.length; c++) {
|
|
6574
|
-
const t = o[c - 1],
|
|
6622
|
+
const t = o[c - 1], n = o[c];
|
|
6575
6623
|
if ([null, void 0, 0, 1 / 0, -1 / 0].includes(t))
|
|
6576
6624
|
continue;
|
|
6577
|
-
const
|
|
6578
|
-
e +=
|
|
6625
|
+
const s = (n - t) / Math.abs(t) * 100;
|
|
6626
|
+
e += s, r++;
|
|
6579
6627
|
}
|
|
6580
6628
|
return r === 0 ? 0 : e / r;
|
|
6581
6629
|
}
|
|
@@ -6587,39 +6635,39 @@ function Ce({
|
|
|
6587
6635
|
x: c,
|
|
6588
6636
|
y: t
|
|
6589
6637
|
}) {
|
|
6590
|
-
function
|
|
6638
|
+
function n(i, d) {
|
|
6591
6639
|
const b = i.split(" "), l = [];
|
|
6592
6640
|
for (let f = 0; f < b.length; f += d)
|
|
6593
6641
|
l.push(b.slice(f, f + d).join(" "));
|
|
6594
6642
|
return l;
|
|
6595
6643
|
}
|
|
6596
|
-
let
|
|
6597
|
-
return
|
|
6644
|
+
let s = "";
|
|
6645
|
+
return n(o, a).forEach((i, d) => {
|
|
6598
6646
|
const b = `<tspan x="${c}" y="${t + d * e}" fill="${r}">${i}</tspan>`;
|
|
6599
|
-
|
|
6600
|
-
}),
|
|
6647
|
+
s += b;
|
|
6648
|
+
}), s;
|
|
6601
6649
|
}
|
|
6602
6650
|
function he(o) {
|
|
6603
|
-
return o.length ? o.map((e) =>
|
|
6651
|
+
return o.length ? o.map((e) => P(e)) : [];
|
|
6604
6652
|
}
|
|
6605
6653
|
function ke(o, e = null) {
|
|
6606
|
-
const r = o.replace(/[\p{P}\p{S}]+/gu, " ").trim(),
|
|
6607
|
-
return Object.keys(
|
|
6608
|
-
let u =
|
|
6609
|
-
return typeof e == "function" && typeof e(
|
|
6654
|
+
const r = o.replace(/[\p{P}\p{S}]+/gu, " ").trim(), n = (/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(o) ? [...r] : r.split(/\s+/)).filter((s) => s.trim().length > 0).reduce((s, u) => (s[u] ? s[u] += 1 : s[u] = 1, s), {});
|
|
6655
|
+
return Object.keys(n).map((s) => {
|
|
6656
|
+
let u = s;
|
|
6657
|
+
return typeof e == "function" && typeof e(s) == "string" && (u = e(s)), {
|
|
6610
6658
|
name: u,
|
|
6611
|
-
value: s
|
|
6659
|
+
value: n[s]
|
|
6612
6660
|
};
|
|
6613
6661
|
});
|
|
6614
6662
|
}
|
|
6615
6663
|
function Fe(o) {
|
|
6616
|
-
let e = o.reduce((
|
|
6617
|
-
...
|
|
6618
|
-
stackRatio:
|
|
6619
|
-
})),
|
|
6620
|
-
return t = t.map((
|
|
6621
|
-
...
|
|
6622
|
-
cumulatedStackRatio:
|
|
6664
|
+
let e = o.reduce((s, u) => s + (u.stackRatio || 0), 0), r = o.filter((s) => s.stackRatio === void 0).length, a = 1 - e, c = r > 0 ? a / r : 0, t = o.map((s) => ({
|
|
6665
|
+
...s,
|
|
6666
|
+
stackRatio: s.stackRatio !== void 0 ? s.stackRatio : c
|
|
6667
|
+
})), n = 0;
|
|
6668
|
+
return t = t.map((s) => (n += s.stackRatio, {
|
|
6669
|
+
...s,
|
|
6670
|
+
cumulatedStackRatio: n
|
|
6623
6671
|
})), t;
|
|
6624
6672
|
}
|
|
6625
6673
|
function Ee(o) {
|
|
@@ -6636,13 +6684,13 @@ function Ee(o) {
|
|
|
6636
6684
|
return A;
|
|
6637
6685
|
}
|
|
6638
6686
|
const a = o.match(/[a-zA-Z][^a-zA-Z]*/g);
|
|
6639
|
-
let c = 0, t = 0,
|
|
6687
|
+
let c = 0, t = 0, n = 0, s = 0, u = 0;
|
|
6640
6688
|
return a.forEach((i) => {
|
|
6641
6689
|
const d = i[0], b = i.slice(1).trim().split(/[\s,]+/).map(Number);
|
|
6642
6690
|
let l = 0;
|
|
6643
6691
|
switch (d) {
|
|
6644
6692
|
case "M":
|
|
6645
|
-
for (c = b[l++], t = b[l++],
|
|
6693
|
+
for (c = b[l++], t = b[l++], n = c, s = t; l < b.length; )
|
|
6646
6694
|
u += e(c, t, b[l], b[l + 1]), c = b[l++], t = b[l++];
|
|
6647
6695
|
break;
|
|
6648
6696
|
case "L":
|
|
@@ -6667,7 +6715,7 @@ function Ee(o) {
|
|
|
6667
6715
|
), c = b[l + 4], t = b[l + 5], l += 6;
|
|
6668
6716
|
break;
|
|
6669
6717
|
case "Z":
|
|
6670
|
-
u += e(c, t,
|
|
6718
|
+
u += e(c, t, n, s), c = n, t = s;
|
|
6671
6719
|
break;
|
|
6672
6720
|
}
|
|
6673
6721
|
}), u;
|
|
@@ -6680,8 +6728,8 @@ function pe({
|
|
|
6680
6728
|
fallback: c,
|
|
6681
6729
|
max: t = 24
|
|
6682
6730
|
}) {
|
|
6683
|
-
const
|
|
6684
|
-
return
|
|
6731
|
+
const n = o / (e / r);
|
|
6732
|
+
return n > t ? t : n < a ? c : n;
|
|
6685
6733
|
}
|
|
6686
6734
|
function De(o) {
|
|
6687
6735
|
return o.reduce((e, r) => (r.series.forEach((a, c) => {
|
|
@@ -6717,8 +6765,8 @@ function me(o, e = []) {
|
|
|
6717
6765
|
return c.map((t) => a(t));
|
|
6718
6766
|
if (typeof c == "object" && c !== null) {
|
|
6719
6767
|
let t = { ...c };
|
|
6720
|
-
return e.forEach((
|
|
6721
|
-
t.hasOwnProperty(
|
|
6768
|
+
return e.forEach((n) => {
|
|
6769
|
+
t.hasOwnProperty(n) && ![
|
|
6722
6770
|
"NAME",
|
|
6723
6771
|
"name",
|
|
6724
6772
|
"TITLE",
|
|
@@ -6747,9 +6795,9 @@ function me(o, e = []) {
|
|
|
6747
6795
|
"hour",
|
|
6748
6796
|
"HOURS",
|
|
6749
6797
|
"hours"
|
|
6750
|
-
].includes(
|
|
6798
|
+
].includes(n) && Array.isArray(t[n]) && (t[n] = a(t[n]));
|
|
6751
6799
|
}), Object.fromEntries(
|
|
6752
|
-
Object.entries(t).map(([
|
|
6800
|
+
Object.entries(t).map(([n, s]) => [n, a(s)])
|
|
6753
6801
|
);
|
|
6754
6802
|
} else
|
|
6755
6803
|
return r(c);
|
|
@@ -6757,12 +6805,12 @@ function me(o, e = []) {
|
|
|
6757
6805
|
return a(o);
|
|
6758
6806
|
}
|
|
6759
6807
|
function xe(o, e = 100) {
|
|
6760
|
-
return o.length === 9 ? o.substring(0, 7) +
|
|
6808
|
+
return o.length === 9 ? o.substring(0, 7) + oo[e] : o + oo[e];
|
|
6761
6809
|
}
|
|
6762
6810
|
function we({ series: o, center: e, maxRadius: r, hasGhost: a = !1 }) {
|
|
6763
6811
|
const t = 360 / (o.length - (a ? 1 : 0));
|
|
6764
|
-
return o.map((
|
|
6765
|
-
const d =
|
|
6812
|
+
return o.map((s, u) => {
|
|
6813
|
+
const d = s * r, b = u * t, l = b + t, f = b + t / 2, A = N(b) - N(90), B = N(l) - N(90), p = N(f) - N(90), g = e.x + d * Math.cos(A), F = e.y + d * Math.sin(A), D = e.x + d * Math.cos(B), h = e.y + d * Math.sin(B), y = e.x + d * Math.cos(p), E = e.y + d * Math.sin(p);
|
|
6766
6814
|
return {
|
|
6767
6815
|
path: `
|
|
6768
6816
|
M ${e.x} ${e.y}
|
|
@@ -6782,13 +6830,13 @@ function Le({ data: o, threshold: e }) {
|
|
|
6782
6830
|
let c = 0;
|
|
6783
6831
|
r.push(o[c]);
|
|
6784
6832
|
for (let t = 0; t < e - 2; t += 1) {
|
|
6785
|
-
const
|
|
6833
|
+
const n = Math.floor((t + 1) * a) + 1, s = Math.min(Math.floor((t + 2) * a) + 1, o.length), u = o.slice(n, s);
|
|
6786
6834
|
let i = 0, d = 0;
|
|
6787
6835
|
for (const f of u)
|
|
6788
6836
|
i += f.x, d += f.y;
|
|
6789
6837
|
i /= u.length, d /= u.length;
|
|
6790
6838
|
let b = -1, l = c;
|
|
6791
|
-
for (let f =
|
|
6839
|
+
for (let f = n; f < s; f += 1) {
|
|
6792
6840
|
const A = Math.abs(
|
|
6793
6841
|
(o[c].x - i) * (o[f].y - o[c].y) - (o[c].x - o[f].x) * (d - o[c].y)
|
|
6794
6842
|
);
|
|
@@ -6805,9 +6853,9 @@ function Se({ data: o, threshold: e }) {
|
|
|
6805
6853
|
let c = 0;
|
|
6806
6854
|
r.push(o[c]);
|
|
6807
6855
|
for (let t = 0; t < e - 2; t += 1) {
|
|
6808
|
-
const
|
|
6856
|
+
const n = Math.floor((t + 1) * a) + 1, s = Math.min(Math.floor((t + 2) * a) + 1, o.length), u = o.slice(n, s), i = u.reduce((l, f) => l + f, 0) / u.length;
|
|
6809
6857
|
let d = -1, b = c;
|
|
6810
|
-
for (let l =
|
|
6858
|
+
for (let l = n; l < s; l += 1) {
|
|
6811
6859
|
const f = Math.abs((o[c] - i) * (l - c));
|
|
6812
6860
|
f > d && (d = f, b = l);
|
|
6813
6861
|
}
|
|
@@ -6821,10 +6869,10 @@ function ve({ data: o, threshold: e, key: r = "value" }) {
|
|
|
6821
6869
|
const a = [], c = (o.length - 2) / (e - 2);
|
|
6822
6870
|
let t = 0;
|
|
6823
6871
|
a.push(o[t]);
|
|
6824
|
-
for (let
|
|
6825
|
-
const
|
|
6872
|
+
for (let n = 0; n < e - 2; n += 1) {
|
|
6873
|
+
const s = Math.floor((n + 1) * c) + 1, u = Math.min(Math.floor((n + 2) * c) + 1, o.length), i = o.slice(s, u), d = i.reduce((f, A) => f + A[r], 0) / i.length;
|
|
6826
6874
|
let b = -1, l = t;
|
|
6827
|
-
for (let f =
|
|
6875
|
+
for (let f = s; f < u; f += 1) {
|
|
6828
6876
|
const A = Math.abs((o[t][r] - d) * (f - t));
|
|
6829
6877
|
A > b && (b = A, l = f);
|
|
6830
6878
|
}
|
|
@@ -6834,32 +6882,32 @@ function ve({ data: o, threshold: e, key: r = "value" }) {
|
|
|
6834
6882
|
}
|
|
6835
6883
|
function _e({ radius: o, centerX: e, centerY: r, percentage: a }) {
|
|
6836
6884
|
a = Math.max(0, Math.min(1, a));
|
|
6837
|
-
const c = a * Math.PI, t = e - o,
|
|
6838
|
-
return `M ${e},${r} L ${t},${
|
|
6885
|
+
const c = a * Math.PI, t = e - o, n = r, s = e - o * Math.cos(c), u = r - o * Math.sin(c);
|
|
6886
|
+
return `M ${e},${r} L ${t},${n} A ${o},${o} 0 0 1 ${s},${u} Z`.trim();
|
|
6839
6887
|
}
|
|
6840
6888
|
function ze({ svgElement: o, x: e, y: r, offsetY: a = 0, element: c }) {
|
|
6841
6889
|
if (!o || !c) return { top: 0, left: 0 };
|
|
6842
6890
|
const t = o.createSVGPoint();
|
|
6843
6891
|
t.x = e, t.y = r;
|
|
6844
|
-
const
|
|
6892
|
+
const n = t.matrixTransform(o.getScreenCTM()), s = o.getBoundingClientRect(), u = c.getBoundingClientRect();
|
|
6845
6893
|
let i = 0, d = 0;
|
|
6846
|
-
return
|
|
6847
|
-
top:
|
|
6848
|
-
left:
|
|
6894
|
+
return n.x - u.width / 2 < s.left ? i = 0 : n.x + u.width > s.right ? i = -u.width : i = -u.width / 2, n.y - a - u.height < s.top ? d = a : d = -u.height - a, {
|
|
6895
|
+
top: n.y + d,
|
|
6896
|
+
left: n.x + i
|
|
6849
6897
|
};
|
|
6850
6898
|
}
|
|
6851
6899
|
function Re({ svgElement: o, x: e, y: r, element: a, position: c }) {
|
|
6852
6900
|
if (!o || !a) return { top: 0, left: 0 };
|
|
6853
6901
|
const t = o.createSVGPoint();
|
|
6854
6902
|
t.x = e, t.y = r;
|
|
6855
|
-
const
|
|
6856
|
-
let i = c === "right" ? 0 : -u, d = -(
|
|
6903
|
+
const n = t.matrixTransform(o.getScreenCTM()), { height: s, width: u } = a.getBoundingClientRect();
|
|
6904
|
+
let i = c === "right" ? 0 : -u, d = -(s / 2);
|
|
6857
6905
|
return {
|
|
6858
|
-
top:
|
|
6859
|
-
left:
|
|
6906
|
+
top: n.y + d,
|
|
6907
|
+
left: n.x + i
|
|
6860
6908
|
};
|
|
6861
6909
|
}
|
|
6862
|
-
function
|
|
6910
|
+
function V(o) {
|
|
6863
6911
|
if (o === null || typeof o != "object")
|
|
6864
6912
|
return o;
|
|
6865
6913
|
if (o instanceof Date)
|
|
@@ -6869,23 +6917,23 @@ function M(o) {
|
|
|
6869
6917
|
if (o instanceof Map) {
|
|
6870
6918
|
const r = /* @__PURE__ */ new Map();
|
|
6871
6919
|
for (const [a, c] of o.entries())
|
|
6872
|
-
r.set(a,
|
|
6920
|
+
r.set(a, V(c));
|
|
6873
6921
|
return r;
|
|
6874
6922
|
}
|
|
6875
6923
|
if (o instanceof Set) {
|
|
6876
6924
|
const r = /* @__PURE__ */ new Set();
|
|
6877
6925
|
for (const a of o.values())
|
|
6878
|
-
r.add(
|
|
6926
|
+
r.add(V(a));
|
|
6879
6927
|
return r;
|
|
6880
6928
|
}
|
|
6881
6929
|
if (Array.isArray(o))
|
|
6882
|
-
return o.map((r) =>
|
|
6930
|
+
return o.map((r) => V(r));
|
|
6883
6931
|
const e = {};
|
|
6884
6932
|
for (const r in o)
|
|
6885
|
-
Object.prototype.hasOwnProperty.call(o, r) && (e[r] =
|
|
6933
|
+
Object.prototype.hasOwnProperty.call(o, r) && (e[r] = V(o[r]));
|
|
6886
6934
|
return e;
|
|
6887
6935
|
}
|
|
6888
|
-
function
|
|
6936
|
+
function eo(o) {
|
|
6889
6937
|
const e = [];
|
|
6890
6938
|
let r = [];
|
|
6891
6939
|
for (const a of o)
|
|
@@ -6894,30 +6942,30 @@ function to(o) {
|
|
|
6894
6942
|
}
|
|
6895
6943
|
function Oe(o, e) {
|
|
6896
6944
|
if (!o[0]) return [-10, -10, "", -10, -10].toString();
|
|
6897
|
-
const r =
|
|
6945
|
+
const r = eo(o);
|
|
6898
6946
|
return r.length ? r.map((a) => {
|
|
6899
|
-
const c = { x: a[0].x, y: e }, t = { x: a.at(-1).x, y: e },
|
|
6900
|
-
return a.forEach((
|
|
6901
|
-
|
|
6902
|
-
}), [c.x, c.y, ...
|
|
6947
|
+
const c = { x: a[0].x, y: e }, t = { x: a.at(-1).x, y: e }, n = [];
|
|
6948
|
+
return a.forEach((s) => {
|
|
6949
|
+
n.push(`${s.x},${s.y} `);
|
|
6950
|
+
}), [c.x, c.y, ...n, t.x, t.y].toString();
|
|
6903
6951
|
}).join(";") : "";
|
|
6904
6952
|
}
|
|
6905
6953
|
function Ne(o, e) {
|
|
6906
|
-
const r = o.filter((
|
|
6954
|
+
const r = o.filter((n) => !!n);
|
|
6907
6955
|
if (!r[0]) return [-10, -10, "", -10, -10].toString();
|
|
6908
6956
|
const a = { x: r[0].x, y: e }, c = { x: r.at(-1).x, y: e }, t = [];
|
|
6909
|
-
return r.forEach((
|
|
6910
|
-
t.push(`${
|
|
6957
|
+
return r.forEach((n) => {
|
|
6958
|
+
t.push(`${n.x},${n.y} `);
|
|
6911
6959
|
}), [a.x, a.y, ...t, c.x, c.y].toString();
|
|
6912
6960
|
}
|
|
6913
6961
|
function Pe(o, e) {
|
|
6914
6962
|
if (!o[0]) return [-10, -10, "", -10, -10].toString();
|
|
6915
|
-
const r =
|
|
6963
|
+
const r = eo(o);
|
|
6916
6964
|
return r.length ? r.map((a) => {
|
|
6917
|
-
const c = { x: a[0].x, y: e }, t = { x: a.at(-1).x, y: e },
|
|
6918
|
-
return a.forEach((
|
|
6919
|
-
|
|
6920
|
-
}), [c.x, c.y, ...
|
|
6965
|
+
const c = { x: a[0].x, y: e }, t = { x: a.at(-1).x, y: e }, n = [];
|
|
6966
|
+
return a.forEach((s) => {
|
|
6967
|
+
n.push(`${s.x},${s.y} `);
|
|
6968
|
+
}), [c.x, c.y, ...n, t.x, t.y].toString();
|
|
6921
6969
|
}).join(";") : "";
|
|
6922
6970
|
}
|
|
6923
6971
|
function vt(o) {
|
|
@@ -6945,9 +6993,9 @@ function Me(o) {
|
|
|
6945
6993
|
let r = "";
|
|
6946
6994
|
for (const [a, c] of e.entries()) {
|
|
6947
6995
|
if (c.length < 2) continue;
|
|
6948
|
-
const t = c.length - 1,
|
|
6996
|
+
const t = c.length - 1, n = [], s = [], u = [], i = [];
|
|
6949
6997
|
for (let d = 0; d < t; d += 1)
|
|
6950
|
-
|
|
6998
|
+
n[d] = c[d + 1].x - c[d].x, s[d] = c[d + 1].y - c[d].y, u[d] = s[d] / n[d];
|
|
6951
6999
|
i[0] = u[0], i[t] = u[t - 1];
|
|
6952
7000
|
for (let d = 1; d < t; d += 1)
|
|
6953
7001
|
if (u[d - 1] * u[d] <= 0)
|
|
@@ -6965,33 +7013,33 @@ function Me(o) {
|
|
|
6965
7013
|
return r.trim();
|
|
6966
7014
|
}
|
|
6967
7015
|
function Ve(o, e, r = !1, a = !0) {
|
|
6968
|
-
function c(
|
|
6969
|
-
const
|
|
7016
|
+
function c(n) {
|
|
7017
|
+
const s = [];
|
|
6970
7018
|
let u = [];
|
|
6971
|
-
for (const i of
|
|
6972
|
-
!i || i.value == null || Number.isNaN(i.x) || Number.isNaN(i.y) ? (u.length > 1 &&
|
|
6973
|
-
return u.length > 1 &&
|
|
7019
|
+
for (const i of n)
|
|
7020
|
+
!i || i.value == null || Number.isNaN(i.x) || Number.isNaN(i.y) ? (u.length > 1 && s.push(u), u = []) : u.push(i);
|
|
7021
|
+
return u.length > 1 && s.push(u), s;
|
|
6974
7022
|
}
|
|
6975
|
-
return (r ? c(o) : [o]).map((
|
|
6976
|
-
if (
|
|
6977
|
-
const
|
|
6978
|
-
for (let f = 0; f <
|
|
6979
|
-
u[f] =
|
|
6980
|
-
b[0] = d[0], b[
|
|
6981
|
-
for (let f = 1; f <
|
|
7023
|
+
return (r ? c(o) : [o]).map((n) => {
|
|
7024
|
+
if (n.length < 2) return "";
|
|
7025
|
+
const s = n.length - 1, u = [], i = [], d = [], b = [];
|
|
7026
|
+
for (let f = 0; f < s; f += 1)
|
|
7027
|
+
u[f] = n[f + 1].x - n[f].x, i[f] = n[f + 1].y - n[f].y, d[f] = i[f] / u[f];
|
|
7028
|
+
b[0] = d[0], b[s] = d[s - 1];
|
|
7029
|
+
for (let f = 1; f < s; f += 1)
|
|
6982
7030
|
if (d[f - 1] * d[f] <= 0)
|
|
6983
7031
|
b[f] = 0;
|
|
6984
7032
|
else {
|
|
6985
7033
|
const A = 2 * d[f - 1] * d[f] / (d[f - 1] + d[f]);
|
|
6986
7034
|
b[f] = A;
|
|
6987
7035
|
}
|
|
6988
|
-
let l = `M${
|
|
6989
|
-
l += ` L${
|
|
6990
|
-
for (let f = 0; f <
|
|
6991
|
-
const A =
|
|
7036
|
+
let l = `M${n[0].x},${e}`;
|
|
7037
|
+
l += ` L${n[0].x},${n[0].y}`;
|
|
7038
|
+
for (let f = 0; f < s; f += 1) {
|
|
7039
|
+
const A = n[f].x, B = n[f].y, p = n[f + 1].x, g = n[f + 1].y, F = b[f], D = b[f + 1], h = A + (p - A) / 3, y = B + F * (p - A) / 3, E = p - (p - A) / 3, m = g - D * (p - A) / 3;
|
|
6992
7040
|
l += ` C${h},${y} ${E},${m} ${p},${g}`;
|
|
6993
7041
|
}
|
|
6994
|
-
return l += ` L${s
|
|
7042
|
+
return l += ` L${n[s].x},${e} ${a ? "Z" : ""}`, l;
|
|
6995
7043
|
}).filter(Boolean);
|
|
6996
7044
|
}
|
|
6997
7045
|
function Ie(o) {
|
|
@@ -7000,13 +7048,13 @@ function Ie(o) {
|
|
|
7000
7048
|
function _t(o) {
|
|
7001
7049
|
return o && typeof o == "object" && !Array.isArray(o) && Object.keys(o).length === 0 ? null : o;
|
|
7002
7050
|
}
|
|
7003
|
-
function
|
|
7051
|
+
function ro(o) {
|
|
7004
7052
|
if (Array.isArray(o))
|
|
7005
|
-
return o.map(
|
|
7053
|
+
return o.map(ro);
|
|
7006
7054
|
if (o && typeof o == "object" && !Array.isArray(o)) {
|
|
7007
7055
|
const e = {};
|
|
7008
7056
|
for (const r in o)
|
|
7009
|
-
Object.hasOwn(o, r) && (e[r] =
|
|
7057
|
+
Object.hasOwn(o, r) && (e[r] = ro(o[r]));
|
|
7010
7058
|
return _t(e);
|
|
7011
7059
|
}
|
|
7012
7060
|
return o;
|
|
@@ -7015,22 +7063,22 @@ function We(o) {
|
|
|
7015
7063
|
return 1 - Math.pow(1 - o, 3);
|
|
7016
7064
|
}
|
|
7017
7065
|
function $e(o, e) {
|
|
7018
|
-
const r =
|
|
7066
|
+
const r = P(o);
|
|
7019
7067
|
return mt(r, e);
|
|
7020
7068
|
}
|
|
7021
7069
|
function Ue(o, e) {
|
|
7022
|
-
const r =
|
|
7070
|
+
const r = P(o);
|
|
7023
7071
|
return xt(r, e);
|
|
7024
7072
|
}
|
|
7025
7073
|
function Ye(o, e) {
|
|
7026
|
-
const r =
|
|
7074
|
+
const r = P(o);
|
|
7027
7075
|
return Ft(r, e);
|
|
7028
7076
|
}
|
|
7029
|
-
const Ge = C(() => import("./Arrow-
|
|
7077
|
+
const Ge = C(() => import("./Arrow-DWXcP0Gw.js")), He = C(() => import("./vue-data-ui-RV3mQ1d3.js")), Xe = C(() => import("./vue-ui-3d-bar-Bq4AcGdm.js")), Ke = C(() => import("./vue-ui-accordion-DyqkVlpC.js")), je = C(() => import("./vue-ui-age-pyramid-BYn8ffyI.js")), qe = C(() => import("./vue-ui-annotator-Biv6tN6c.js")), Qe = C(() => import("./vue-ui-candlestick-C-gmKrpa.js")), Ze = C(() => import("./vue-ui-chestnut-CuF02nem.js")), Je = C(() => import("./vue-ui-cursor-DSFHMrnK.js")), ol = C(() => import("./vue-ui-dashboard-CHyk8pO_.js")), rl = C(() => import("./vue-ui-digits-GOVpxQeg.js")), tl = C(() => import("./vue-ui-donut-C5sXao7U.js")), el = C(() => import("./vue-ui-donut-evolution-BsoNZw0_.js")), ll = C(() => import("./vue-ui-dumbbell-BVX3en_Z.js")), al = C(() => import("./vue-ui-flow-CrRVJbjl.js")), cl = C(() => import("./vue-ui-galaxy-B1WrIt-g.js")), sl = C(() => import("./vue-ui-gauge-C7qvMFcc.js")), nl = C(() => import("./vue-ui-heatmap-Czh2uHtX.js")), il = C(() => import("./BaseIcon-DIIS9hFE.js")), ul = C(() => import("./vue-ui-kpi-B-aYK4fp.js")), dl = C(() => import("./vue-ui-mini-loader-C0W2_f3L.js")), bl = C(() => import("./vue-ui-molecule-DjWODfzW.js")), fl = C(() => import("./vue-ui-mood-radar-CFEN6SOJ.js")), Al = C(() => import("./vue-ui-nested-donuts-Dw_TX78M.js")), gl = C(() => import("./vue-ui-onion-CiTCTFRi.js")), Cl = C(() => import("./vue-ui-parallel-coordinate-plot-YAyEWj2K.js")), hl = C(() => import("./vue-ui-quadrant-j54lbADV.js")), kl = C(() => import("./vue-ui-quick-chart-f9MTErUH.js")), Fl = C(() => import("./vue-ui-radar-BQ45fltP.js")), El = C(() => import("./vue-ui-rating-BjTlb4Lj.js")), pl = C(() => import("./vue-ui-relation-circle-NX-yzRRP.js")), Dl = C(() => import("./vue-ui-rings-DJbgQBHR.js")), Bl = C(() => import("./vue-ui-scatter-17fw3Pcy.js")), yl = C(() => import("./vue-ui-skeleton-BgWQSBb-.js")), ml = C(() => import("./vue-ui-smiley-Bo-A4uMV.js")), xl = C(() => import("./vue-ui-sparkhistogram-CKexMmEN.js")), wl = C(() => import("./vue-ui-sparkstackbar-D_bqkCIj.js")), Ll = C(() => import("./vue-ui-spark-trend-BV9qCKr_.js")), Sl = C(() => import("./vue-ui-sparkbar-CSGGtPTT.js")), vl = C(() => import("./vue-ui-sparkgauge-BAia263V.js")), _l = C(() => import("./vue-ui-sparkline-DRtP5cMm.js")), zl = C(() => import("./vue-ui-strip-plot-UQEhmlcX.js")), Rl = C(() => import("./vue-ui-table-4BTltNPf.js")), Ol = C(() => import("./vue-ui-table-heatmap-BXlfBI5z.js")), Nl = C(() => import("./vue-ui-table-sparkline-DFqDxs2Y.js")), Pl = C(() => import("./vue-ui-thermometer-DD0QQ8b8.js")), Tl = C(() => import("./vue-ui-timer-jlPkhU3j.js")), Ml = C(() => import("./vue-ui-tiremarks-DZ1kGvwG.js")), Vl = C(() => import("./vue-ui-treemap-Xo1ZAK3l.js")), Il = C(() => import("./vue-ui-vertical-bar-G3mo6Ms5.js")), Wl = C(() => import("./vue-ui-waffle-B2Oz6oPQ.js")), $l = C(() => import("./vue-ui-wheel-Ml-x_ere.js")), Ul = C(() => import("./vue-ui-word-cloud-3LB7Ntxy.js")), Yl = C(() => import("./vue-ui-xy-2Z_f3J92.js")), Gl = C(() => import("./vue-ui-xy-canvas-olPGemLS.js")), Hl = C(() => import("./vue-ui-carousel-table-DJT77KEd.js")), Xl = C(() => import("./vue-ui-gizmo-Agt3kM2d.js")), Kl = C(() => import("./vue-ui-stackbar-u_kZc4Th.js")), jl = C(() => import("./vue-ui-bullet-DVflwrvi.js")), ql = C(() => import("./vue-ui-funnel-DyJvSMLV.js")), Ql = C(() => import("./vue-ui-history-plot-KGGrayk7.js")), Zl = C(() => import("./vue-ui-pattern-DsYgSZWn.js")), Jl = C(() => import("./vue-ui-circle-pack-BU_MxW6h.js")), oa = C(() => import("./vue-ui-world-ttJISk8E.js")), ra = C(() => import("./vue-ui-ridgeline-BezQ7Hj-.js")), ta = C(() => import("./vue-ui-chord-7PHPveVU.js"));
|
|
7030
7078
|
export {
|
|
7031
|
-
|
|
7079
|
+
to as $,
|
|
7032
7080
|
At as A,
|
|
7033
|
-
|
|
7081
|
+
oo as B,
|
|
7034
7082
|
ye as C,
|
|
7035
7083
|
ee as D,
|
|
7036
7084
|
Zt as E,
|
|
@@ -7038,41 +7086,41 @@ export {
|
|
|
7038
7086
|
$t as G,
|
|
7039
7087
|
me as H,
|
|
7040
7088
|
Jt as I,
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7089
|
+
ro as J,
|
|
7090
|
+
se as K,
|
|
7091
|
+
be as L,
|
|
7092
|
+
jt as M,
|
|
7093
|
+
_e as N,
|
|
7094
|
+
ae as O,
|
|
7095
|
+
V as P,
|
|
7096
|
+
Vt as Q,
|
|
7097
|
+
oe as R,
|
|
7098
|
+
We as S,
|
|
7099
|
+
Gt as T,
|
|
7100
|
+
Ht as U,
|
|
7101
|
+
Ee as V,
|
|
7102
|
+
Le as W,
|
|
7055
7103
|
Ae as X,
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7104
|
+
Wt as Y,
|
|
7105
|
+
It as Z,
|
|
7106
|
+
we as _,
|
|
7059
7107
|
at as a,
|
|
7060
7108
|
_l as a$,
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7109
|
+
Xt as a0,
|
|
7110
|
+
Se as a1,
|
|
7111
|
+
ge as a2,
|
|
7112
|
+
ze as a3,
|
|
7113
|
+
ve as a4,
|
|
7114
|
+
Ut as a5,
|
|
7115
|
+
Yt as a6,
|
|
7116
|
+
Tt as a7,
|
|
7117
|
+
Ne as a8,
|
|
7118
|
+
Ve as a9,
|
|
7071
7119
|
ll as aA,
|
|
7072
7120
|
al as aB,
|
|
7073
7121
|
cl as aC,
|
|
7074
|
-
|
|
7075
|
-
|
|
7122
|
+
sl as aD,
|
|
7123
|
+
nl as aE,
|
|
7076
7124
|
il as aF,
|
|
7077
7125
|
ul as aG,
|
|
7078
7126
|
dl as aH,
|
|
@@ -7095,19 +7143,19 @@ export {
|
|
|
7095
7143
|
Ll as aY,
|
|
7096
7144
|
Sl as aZ,
|
|
7097
7145
|
vl as a_,
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7146
|
+
Pe as aa,
|
|
7147
|
+
Oe as ab,
|
|
7148
|
+
Te as ac,
|
|
7149
|
+
Me as ad,
|
|
7150
|
+
Re as ae,
|
|
7151
|
+
Pt as af,
|
|
7152
|
+
Ce as ag,
|
|
7153
|
+
Qt as ah,
|
|
7154
|
+
le as ai,
|
|
7155
|
+
Fe as aj,
|
|
7156
|
+
ke as ak,
|
|
7157
|
+
De as al,
|
|
7158
|
+
Ie as am,
|
|
7111
7159
|
Ge as an,
|
|
7112
7160
|
He as ao,
|
|
7113
7161
|
Xe as ap,
|
|
@@ -7154,27 +7202,27 @@ export {
|
|
|
7154
7202
|
$e as bt,
|
|
7155
7203
|
Ye as bu,
|
|
7156
7204
|
Kt as c,
|
|
7157
|
-
|
|
7205
|
+
P as d,
|
|
7158
7206
|
de as e,
|
|
7159
7207
|
ce as f,
|
|
7160
7208
|
fe as g,
|
|
7161
7209
|
xt as h,
|
|
7162
7210
|
Be as i,
|
|
7163
7211
|
qt as j,
|
|
7164
|
-
|
|
7212
|
+
M as k,
|
|
7165
7213
|
mt as l,
|
|
7166
7214
|
Nt as m,
|
|
7167
|
-
|
|
7215
|
+
T as n,
|
|
7168
7216
|
ue as o,
|
|
7169
7217
|
ht as p,
|
|
7170
7218
|
te as q,
|
|
7171
7219
|
re as r,
|
|
7172
7220
|
xe as s,
|
|
7173
|
-
|
|
7221
|
+
O as t,
|
|
7174
7222
|
dr as u,
|
|
7175
7223
|
k as v,
|
|
7176
7224
|
Ft as w,
|
|
7177
|
-
|
|
7225
|
+
ne as x,
|
|
7178
7226
|
ie as y,
|
|
7179
7227
|
Dt as z
|
|
7180
7228
|
};
|