vue-data-ui 3.6.0 → 3.7.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/README.md +26 -26
- package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
- package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
- package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
- package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
- package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
- package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
- package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
- package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-Bq_mtsqr.js} +1 -1
- package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
- package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
- package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
- package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
- package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
- package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
- package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
- package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +3 -3
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +3 -3
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +3 -3
- package/dist/components/vue-ui-candlestick.js +3 -3
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +3 -3
- package/dist/components/vue-ui-chord.js +3 -3
- package/dist/components/vue-ui-circle-pack.js +3 -3
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +2 -2
- package/dist/components/vue-ui-donut.js +3 -3
- package/dist/components/vue-ui-dumbbell.js +3 -3
- package/dist/components/vue-ui-flow.js +3 -3
- package/dist/components/vue-ui-funnel.js +2 -2
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +3 -3
- package/dist/components/vue-ui-horizontal-bar.js +3 -3
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +3 -3
- package/dist/components/vue-ui-mood-radar.js +3 -3
- package/dist/components/vue-ui-nested-donuts.js +2 -2
- package/dist/components/vue-ui-onion.js +3 -3
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +3 -3
- package/dist/components/vue-ui-quick-chart.js +3 -3
- package/dist/components/vue-ui-radar.js +3 -3
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +3 -3
- package/dist/components/vue-ui-ridgeline.js +3 -3
- package/dist/components/vue-ui-rings.js +3 -3
- package/dist/components/vue-ui-scatter.js +3 -3
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +2 -2
- package/dist/components/vue-ui-sparkgauge.js +3 -3
- package/dist/components/vue-ui-sparkhistogram.js +3 -3
- package/dist/components/vue-ui-sparkline.js +3 -3
- package/dist/components/vue-ui-sparkstackbar.js +2 -2
- package/dist/components/vue-ui-stackbar.js +3 -3
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +3 -3
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +2 -2
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +3 -3
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +2 -2
- package/dist/components/vue-ui-treemap.js +3 -3
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +2 -2
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +3 -3
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +3 -3
- package/dist/components/vue-ui-xy.js +3 -3
- package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
- package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
- package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
- package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
- package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
- package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
- package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
- package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
- package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-ByLTJx5V.js} +78 -78
- package/dist/vue-data-ui.js +225 -205
- package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
- package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
- package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
- package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
- package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
- package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
- package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
- package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
- package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
- package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
- package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
- package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
- package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
- package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BLb0kj_P.js} +634 -602
- package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
- package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
- package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
- package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
- package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
- package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
- package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
- package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
- package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
- package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
- package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
- package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
- package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
- package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
- package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
- package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
- package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
- package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
- package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
- package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
- package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
- package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
- package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
- package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
- package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
- package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
- package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
- package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
- package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
- package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
- package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
- package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
- package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
- package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
- package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
- package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-DMM090pe.js} +5 -5
- package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
- package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
- package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
- package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-jTnS3ES5.js} +25 -25
- package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
- package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
- package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
- package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-DIALVfvc.js} +376 -347
- package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
- package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
- package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-CVLlgp2f.js} +57 -57
- package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
- package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
- package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
- package/package.json +5 -5
- package/dist/themes-DH-N_ePR.js +0 -54
- package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
- package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
- package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
- package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
- package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
- package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
- package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
- package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
- package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
- package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
- package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
- package/dist/vue-ui-molecule-CasngKZI.js +0 -753
- package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
- package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
- package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
- package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
- package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
- package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
- package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
- package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
- package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
- package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
- package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
- package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
- package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
- package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
- package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
- package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
- package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
- package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
- package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
- package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
- package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
- package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
- package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
- package/dist/vue-ui-xy-BT67faLv.js +0 -3424
- package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as n } from "./dom-to-png
|
|
1
|
+
import { d as n } from "./dom-to-png-CH2DfsJe.js";
|
|
2
2
|
async function u({ domElement: t, fileName: c, format: f = "png", scale: i = 2, base64: a = !1, img: g = !1 }) {
|
|
3
3
|
if (!t) return Promise.reject("No element provided");
|
|
4
4
|
const h = typeof navigator < "u" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { unref as J, isRef as tt, toRaw as
|
|
2
|
-
const
|
|
3
|
-
dataset:
|
|
4
|
-
datasetAttribute:
|
|
5
|
-
datasetAttributeEmpty:
|
|
6
|
-
datasetSerieAttribute:
|
|
7
|
-
notBuildable:
|
|
8
|
-
attributeWrongValue:
|
|
1
|
+
import { unref as J, isRef as tt, toRaw as ut } from "vue";
|
|
2
|
+
const ft = "#COMP# dataset prop is either missing, undefined or empty.", ht = "#COMP# dataset is missing the '#ATTR#' attribute.", Ft = "#COMP# dataset '#ATTR#' attribute cannot be empty.", dt = "#COMP# dataset #KEY# item at index #INDX# is missing the '#ATTR#' attribute.", gt = "#COMP# : Chart could not be built. Dataset is not formatted correctly", pt = "#COMP# : A wrong value was provided to the #ATTR# attribute (#KEY# is not a valid value).", Et = {
|
|
3
|
+
dataset: ft,
|
|
4
|
+
datasetAttribute: ht,
|
|
5
|
+
datasetAttributeEmpty: Ft,
|
|
6
|
+
datasetSerieAttribute: dt,
|
|
7
|
+
notBuildable: gt,
|
|
8
|
+
attributeWrongValue: pt
|
|
9
9
|
};
|
|
10
10
|
function kt(t, n, e, o, r, s = 1.99999, c = 2, i = 1.45, l = 360, u = 105.25, a = 0) {
|
|
11
11
|
const { series: f } = t;
|
|
@@ -68,7 +68,7 @@ function nt([t, n], [e, o]) {
|
|
|
68
68
|
function et([[t, n], [e, o]], [r, s]) {
|
|
69
69
|
return [t * r + n * s, e * r + o * s];
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function At(t) {
|
|
72
72
|
return [
|
|
73
73
|
[Math.cos(t), -Math.sin(t)],
|
|
74
74
|
[Math.sin(t), Math.cos(t)]
|
|
@@ -76,7 +76,7 @@ function Et(t) {
|
|
|
76
76
|
}
|
|
77
77
|
function Z([t, n], [e, o], [r, s], c, i = 360, l = 2, u = !1) {
|
|
78
78
|
s = s % (l * Math.PI);
|
|
79
|
-
const a =
|
|
79
|
+
const a = At(c), [f, h] = nt(
|
|
80
80
|
et(a, [
|
|
81
81
|
e * Math.cos(r),
|
|
82
82
|
o * Math.sin(r)
|
|
@@ -105,12 +105,12 @@ function Z([t, n], [e, o], [r, s], c, i = 360, l = 2, u = !1) {
|
|
|
105
105
|
].join(" ")}`
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function yt({ defaultConfig: t, userConfig: n }) {
|
|
109
109
|
const e = { ...t };
|
|
110
110
|
return Object.keys(e).forEach((o) => {
|
|
111
111
|
if (Object.hasOwn(n, o)) {
|
|
112
112
|
const r = n[o];
|
|
113
|
-
r === null ? e[o] = null : ["boolean", "function"].includes(typeof r) ? e[o] = r : ["string", "number"].includes(typeof r) ?
|
|
113
|
+
r === null ? e[o] = null : ["boolean", "function"].includes(typeof r) ? e[o] = r : ["string", "number"].includes(typeof r) ? at(r) && (e[o] = r) : Array.isArray(e[o]) ? xt({ userConfig: n, key: o }) && (e[o] = r) : mt({ userConfig: n, key: o }) && (e[o] = yt({
|
|
114
114
|
defaultConfig: e[o],
|
|
115
115
|
userConfig: r
|
|
116
116
|
}));
|
|
@@ -122,25 +122,25 @@ function At({ defaultConfig: t, userConfig: n }) {
|
|
|
122
122
|
}
|
|
123
123
|
}), e;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function xt({ userConfig: t, key: n }) {
|
|
126
126
|
return Object.hasOwn(t, n) && Array.isArray(t[n]) && t[n].length >= 0;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function mt({ userConfig: t, key: n }) {
|
|
129
129
|
return Object.hasOwn(t, n) && !Array.isArray(t[n]) && typeof t[n] == "object";
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function at(t) {
|
|
132
132
|
return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
|
|
133
133
|
}
|
|
134
134
|
function Yt(t) {
|
|
135
135
|
return ![void 0, NaN, 1 / 0, -1 / 0].includes(t);
|
|
136
136
|
}
|
|
137
137
|
function Ht(t, n = 0) {
|
|
138
|
-
return
|
|
138
|
+
return at(t) ? t : n;
|
|
139
139
|
}
|
|
140
140
|
function A(t, n = 0) {
|
|
141
141
|
return isNaN(t) ? n : t;
|
|
142
142
|
}
|
|
143
|
-
const
|
|
143
|
+
const rt = [
|
|
144
144
|
"#1f77b4",
|
|
145
145
|
"#aec7e8",
|
|
146
146
|
"#ff7f0e",
|
|
@@ -199,7 +199,8 @@ function Ut(t = "default") {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
const v = {
|
|
202
|
-
default:
|
|
202
|
+
default: rt,
|
|
203
|
+
dark: rt,
|
|
203
204
|
celebration: [
|
|
204
205
|
"#D32F2F",
|
|
205
206
|
"#E64A19",
|
|
@@ -362,8 +363,8 @@ const v = {
|
|
|
362
363
|
"#C3C5C5",
|
|
363
364
|
"#A0AC94"
|
|
364
365
|
]
|
|
365
|
-
},
|
|
366
|
-
function
|
|
366
|
+
}, st = ["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"];
|
|
367
|
+
function lt(t) {
|
|
367
368
|
const n = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, e = /^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, o = /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)$/i, r = /^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*([\d.]+))?\)$/i;
|
|
368
369
|
if (t == null || typeof t == "number" && isNaN(t))
|
|
369
370
|
return null;
|
|
@@ -587,21 +588,21 @@ function K(t) {
|
|
|
587
588
|
function Q(t) {
|
|
588
589
|
return !!t && (t.__v_isRef || t.__v_isReactive || t.__v_isReadonly || t.effect || t.dep || t.deps || t.subs);
|
|
589
590
|
}
|
|
590
|
-
function
|
|
591
|
-
return t === "" ? "#000000" : t === "transparent" ? "#FFFFFF00" :
|
|
591
|
+
function ot(t) {
|
|
592
|
+
return t === "" ? "#000000" : t === "transparent" ? "#FFFFFF00" : lt(t) ?? t;
|
|
592
593
|
}
|
|
593
594
|
function q(t, n = /* @__PURE__ */ new WeakSet()) {
|
|
594
|
-
const e =
|
|
595
|
+
const e = ut(t);
|
|
595
596
|
if (!K(e) || n.has(e)) return e;
|
|
596
597
|
n.add(e);
|
|
597
598
|
for (const o in e) {
|
|
598
599
|
const r = tt(e[o]) ? J(e[o]) : e[o];
|
|
599
600
|
if (o === "color" || o === "backgroundColor") {
|
|
600
|
-
typeof r == "string" && (e[o] =
|
|
601
|
+
typeof r == "string" && (e[o] = ot(r));
|
|
601
602
|
continue;
|
|
602
603
|
}
|
|
603
604
|
if (o === "stroke") {
|
|
604
|
-
typeof r == "string" ? e[o] =
|
|
605
|
+
typeof r == "string" ? e[o] = ot(r) : K(r) && !Q(r) && q(r, n);
|
|
605
606
|
continue;
|
|
606
607
|
}
|
|
607
608
|
if (Array.isArray(r)) {
|
|
@@ -851,7 +852,7 @@ function gn(t) {
|
|
|
851
852
|
function pn({ componentName: t, type: n, property: e = "", index: o = "", key: r = "", warn: s = !0, debug: c = !0 }) {
|
|
852
853
|
if (!c) return;
|
|
853
854
|
const i = `
|
|
854
|
-
> ${
|
|
855
|
+
> ${Et[n].replace("#COMP#", t).replace("#ATTR#", e).replace("#INDX#", o).replace("#KEY#", r)}
|
|
855
856
|
`;
|
|
856
857
|
if (s)
|
|
857
858
|
console.warn(i);
|
|
@@ -904,7 +905,7 @@ function An({ datasetObject: t, requiredAttributes: n }) {
|
|
|
904
905
|
Object.hasOwn(t, o) || e.push(o);
|
|
905
906
|
}), e;
|
|
906
907
|
}
|
|
907
|
-
const
|
|
908
|
+
const it = {
|
|
908
909
|
ALICEBLUE: "#F0F8FF",
|
|
909
910
|
ANTIQUEWHITE: "#FAEBD7",
|
|
910
911
|
AQUA: "#00FFFF",
|
|
@@ -1054,7 +1055,7 @@ function Bt(t) {
|
|
|
1054
1055
|
if (e === "" || e[0] === "#") return e;
|
|
1055
1056
|
if (e.toLowerCase() === "transparent") return "#FFFFFF00";
|
|
1056
1057
|
const o = e.toUpperCase(), r = o.replace(/GRAY/g, "GREY");
|
|
1057
|
-
return
|
|
1058
|
+
return it[o] || it[r] || e;
|
|
1058
1059
|
}
|
|
1059
1060
|
const yn = "http://www.w3.org/2000/svg";
|
|
1060
1061
|
function xn(t) {
|
|
@@ -1101,7 +1102,7 @@ function Mn({
|
|
|
1101
1102
|
}), i;
|
|
1102
1103
|
}
|
|
1103
1104
|
function Cn(t) {
|
|
1104
|
-
return t.length ? t.map((n) =>
|
|
1105
|
+
return t.length ? t.map((n) => lt(n)) : [];
|
|
1105
1106
|
}
|
|
1106
1107
|
function $n(t, n = null) {
|
|
1107
1108
|
const e = t.replace(/[\p{P}\p{S}]+/gu, " ").trim(), c = (/[\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(t) ? [...e] : e.split(/\s+/)).filter((i) => i.trim().length > 0).reduce((i, l) => (i[l] ? i[l] += 1 : i[l] = 1, i), {});
|
|
@@ -1259,7 +1260,7 @@ function Nn(t, n = [], e = !1) {
|
|
|
1259
1260
|
return r(t);
|
|
1260
1261
|
}
|
|
1261
1262
|
function On(t, n = 100) {
|
|
1262
|
-
return t.length === 9 ? t.substring(0, 7) +
|
|
1263
|
+
return t.length === 9 ? t.substring(0, 7) + st[n] : t + st[n];
|
|
1263
1264
|
}
|
|
1264
1265
|
function wn({ series: t, center: n, maxRadius: e, hasGhost: o = !1 }) {
|
|
1265
1266
|
const s = 360 / (t.length - (o ? 1 : 0));
|
|
@@ -1498,13 +1499,13 @@ function Wn(t) {
|
|
|
1498
1499
|
function Ot(t) {
|
|
1499
1500
|
return t && typeof t == "object" && !Array.isArray(t) && Object.keys(t).length === 0 ? null : t;
|
|
1500
1501
|
}
|
|
1501
|
-
function
|
|
1502
|
+
function ct(t) {
|
|
1502
1503
|
if (Array.isArray(t))
|
|
1503
|
-
return t.map(
|
|
1504
|
+
return t.map(ct);
|
|
1504
1505
|
if (t && typeof t == "object" && !Array.isArray(t)) {
|
|
1505
1506
|
const n = {};
|
|
1506
1507
|
for (const e in t)
|
|
1507
|
-
Object.hasOwn(t, e) && (n[e] =
|
|
1508
|
+
Object.hasOwn(t, e) && (n[e] = ct(t[e]));
|
|
1508
1509
|
return Ot(n);
|
|
1509
1510
|
}
|
|
1510
1511
|
return t;
|
|
@@ -1842,92 +1843,92 @@ function oe(t) {
|
|
|
1842
1843
|
return String(t).replaceAll("&", "&").replaceAll('"', """).replaceAll("<", "<").replaceAll(">", ">");
|
|
1843
1844
|
}
|
|
1844
1845
|
export {
|
|
1845
|
-
|
|
1846
|
+
V as $,
|
|
1846
1847
|
Xn as A,
|
|
1847
1848
|
_t as B,
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1849
|
+
ne as C,
|
|
1850
|
+
at as D,
|
|
1851
|
+
Hn as E,
|
|
1852
|
+
an as F,
|
|
1853
|
+
ln as G,
|
|
1854
|
+
Yt as H,
|
|
1855
|
+
Ht as I,
|
|
1856
|
+
Pn as J,
|
|
1857
|
+
re as K,
|
|
1858
|
+
Dn as L,
|
|
1859
|
+
A as M,
|
|
1860
|
+
Kn as N,
|
|
1861
|
+
vn as O,
|
|
1862
|
+
Gn as P,
|
|
1863
|
+
te as Q,
|
|
1864
|
+
dn as R,
|
|
1865
|
+
hn as S,
|
|
1866
|
+
Mn as T,
|
|
1867
|
+
mn as U,
|
|
1868
|
+
Un as V,
|
|
1869
|
+
Ln as W,
|
|
1869
1870
|
yn as X,
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1871
|
+
Rn as Y,
|
|
1872
|
+
kt as Z,
|
|
1873
|
+
Jt as _,
|
|
1873
1874
|
In as a,
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1875
|
+
W as a0,
|
|
1876
|
+
wn as a1,
|
|
1877
|
+
qt as a2,
|
|
1878
|
+
bn as a3,
|
|
1879
|
+
Vn as a4,
|
|
1880
|
+
Nn as a5,
|
|
1881
|
+
tn as a6,
|
|
1882
|
+
nn as a7,
|
|
1883
|
+
ct as a8,
|
|
1884
|
+
En as a9,
|
|
1885
|
+
Yn as aa,
|
|
1886
|
+
_ as ab,
|
|
1887
|
+
en as ac,
|
|
1888
|
+
Sn as ad,
|
|
1889
|
+
Tn as ae,
|
|
1890
|
+
jt as af,
|
|
1891
|
+
Zt as ag,
|
|
1892
|
+
xn as ah,
|
|
1893
|
+
un as ai,
|
|
1894
|
+
kn as aj,
|
|
1895
|
+
Vt as ak,
|
|
1896
|
+
qn as al,
|
|
1897
|
+
Bn as am,
|
|
1898
|
+
Wn as an,
|
|
1899
|
+
Jn as ao,
|
|
1900
|
+
$n as ap,
|
|
1901
|
+
Qn as aq,
|
|
1902
|
+
_n as ar,
|
|
1903
|
+
zn as as,
|
|
1904
|
+
Ut as at,
|
|
1905
|
+
se as au,
|
|
1906
|
+
oe as av,
|
|
1906
1907
|
ee as aw,
|
|
1907
|
-
|
|
1908
|
-
|
|
1908
|
+
st as ax,
|
|
1909
|
+
Xt as b,
|
|
1909
1910
|
Qt as c,
|
|
1910
1911
|
fn as d,
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1912
|
+
vt as e,
|
|
1913
|
+
Zn as f,
|
|
1914
|
+
pn as g,
|
|
1915
|
+
Gt as h,
|
|
1916
|
+
v as i,
|
|
1917
|
+
Cn as j,
|
|
1918
|
+
An as k,
|
|
1919
|
+
lt as l,
|
|
1920
|
+
Wt as m,
|
|
1921
|
+
on as n,
|
|
1921
1922
|
gn as o,
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1923
|
+
rt as p,
|
|
1924
|
+
rn as q,
|
|
1925
|
+
cn as r,
|
|
1925
1926
|
On as s,
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1927
|
+
yt as t,
|
|
1928
|
+
sn as u,
|
|
1929
|
+
q as v,
|
|
1930
|
+
Kt as w,
|
|
1931
|
+
Fn as x,
|
|
1931
1932
|
jn as y,
|
|
1932
1933
|
zt as z
|
|
1933
1934
|
};
|