vue-data-ui 3.26.4 → 3.27.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/dist/{Arrow-BW_Fs3gD.js → Arrow-DKO1l8oR.js} +1 -1
- package/dist/{BaseDraggableDialog-BniZj4c8.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
- package/dist/{BaseIcon-CPBlYfWq.js → BaseIcon-Cx9FD751.js} +1 -1
- package/dist/{BaseLegendToggle-CWtURpCj.js → BaseLegendToggle-CP3sddwv.js} +1 -1
- package/dist/{BaseZoomControls-jfXIQvEi.js → BaseZoomControls-vNi8YykO.js} +2 -2
- package/dist/{ColorPicker-BKndMOAm.js → ColorPicker-hmC2bvwS.js} +2 -2
- package/dist/{DataTable-DV4Plrm3.js → DataTable-CjF_An2h.js} +2 -2
- package/dist/{HillActions-B45z2DmP.js → HillActions-DqqGB33u.js} +1 -1
- package/dist/{Legend-CJzCVAWl.js → Legend-CulFgjUY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B3I_UGDm.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
- package/dist/{PackageVersion-DEAYvEjl.js → PackageVersion-D7H9nfK0.js} +1 -1
- package/dist/{PenAndPaper-Dv8WPVwA.js → PenAndPaper-CNiuGw6k.js} +3 -3
- package/dist/{Shape-BIe6C0HJ.js → Shape-DSwamtmO.js} +1 -1
- package/dist/{SlicerPreview-8atniw0P.js → SlicerPreview-k5YerMA9.js} +12 -12
- package/dist/{SparkTooltip-DsGcGbm2.js → SparkTooltip-D35KVv6N.js} +6 -6
- package/dist/{Title-B4UpMerH.js → Title-BMCuINbv.js} +1 -1
- package/dist/{Tooltip-BmfGHn1L.js → Tooltip-C4ZTwkLF.js} +1 -1
- package/dist/{UserOptions-C92R4ACT.js → UserOptions-CORYQiif.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.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 +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.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-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- 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 +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BL08UcHI.js → dom-to-png-CBusMkua.js} +1 -1
- package/dist/{exposedLib-CBUiJ5b-.js → exposedLib-UNxZlnAS.js} +10 -10
- package/dist/{img--C0otIB0.js → img-Bb5rHcpO.js} +1 -1
- package/dist/{labelUtils-CfQIxXGL.js → labelUtils-Ccn9kK7T.js} +1 -1
- package/dist/{lib-DTiqmM1G.js → lib-D4wK6ljP.js} +130 -136
- package/dist/{package-Dj6ohGVJ.js → package-DmQufM0G.js} +1 -1
- package/dist/{pdf-CbSwKZjC.js → pdf-BzIQHx-F.js} +1 -1
- package/dist/{render-common-vuBsglf8.js → render-common-BtfjXdkJ.js} +10 -10
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +212 -60
- package/dist/types/vue-ui-stackbar.d.ts +10 -0
- package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
- package/dist/{useNestedProp-D8cRQaVo.js → useNestedProp-DR_8JPol.js} +1 -1
- package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
- package/dist/{usePrinter-R2nu9g4B.js → usePrinter-DdW2GSm0.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-CijFk00w.js → vue-data-ui-Df7WV80w.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-BxmndVBz.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
- package/dist/{vue-ui-accordion-CxMo-mXC.js → vue-ui-accordion-CaoNWreI.js} +4 -4
- package/dist/{vue-ui-age-pyramid-ysX_ySuK.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
- package/dist/{vue-ui-annotator-IAqTX-5M.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
- package/dist/{vue-ui-bullet-rO5_pB7t.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
- package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
- package/dist/{vue-ui-candlestick-BLxP54W4.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
- package/dist/{vue-ui-carousel-table-DHbt40ze.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
- package/dist/{vue-ui-chestnut-CHHZx5ek.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
- package/dist/{vue-ui-chord-WmqFMK4A.js → vue-ui-chord-MF4xF5az.js} +46 -46
- package/dist/{vue-ui-circle-pack-D2RXFToP.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
- package/dist/{vue-ui-cursor-CDf6s7AZ.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
- package/dist/{vue-ui-dag-Ba3Bkxd7.js → vue-ui-dag-D2EUqeDN.js} +65 -65
- package/dist/{vue-ui-dashboard-DKCEm56d.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
- package/dist/{vue-ui-digits-B6cSEytP.js → vue-ui-digits-zSqwYWHm.js} +4 -4
- package/dist/{vue-ui-donut-BfAlXtvS.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
- package/dist/{vue-ui-donut-evolution-C2TYUKag.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
- package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
- package/dist/{vue-ui-dumbbell-GMQ4JZf_.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
- package/dist/{vue-ui-flow-B53jXaVQ.js → vue-ui-flow-iSH6dyGw.js} +109 -109
- package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
- package/dist/{vue-ui-galaxy-CE7LYi8M.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
- package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
- package/dist/{vue-ui-geo-B4a2hwYf.js → vue-ui-geo-mwTtvIHY.js} +19 -19
- package/dist/{vue-ui-gizmo-CY4cLNcJ.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
- package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
- package/dist/{vue-ui-hill-CTPzgkCs.js → vue-ui-hill-DPfTt3UE.js} +18 -18
- package/dist/{vue-ui-history-plot-CGFijdmp.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
- package/dist/{vue-ui-kpi-Bu2OpF5d.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
- package/dist/{vue-ui-label-CWFQzKOy.js → vue-ui-label-r3-QloJL.js} +65 -65
- package/dist/{vue-ui-mini-loader-hdh8SSxW.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
- package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DN2PgxeK.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
- package/dist/{vue-ui-onion-lrDciRpg.js → vue-ui-onion-_L0uEATI.js} +209 -209
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
- package/dist/{vue-ui-quadrant-DrcflMPg.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
- package/dist/{vue-ui-quick-chart-D5ZFV0Aj.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
- package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
- package/dist/{vue-ui-rating-DxBJXbPW.js → vue-ui-rating-C_iTttXB.js} +25 -25
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
- package/dist/{vue-ui-rings-6OHcBlOC.js → vue-ui-rings-D_GPkgbD.js} +318 -318
- package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
- package/dist/{vue-ui-skeleton--HlS7ySk.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
- package/dist/{vue-ui-smiley-ZrM6-QCy.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
- package/dist/{vue-ui-spark-trend-CIfpocxI.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
- package/dist/{vue-ui-sparkbar-Db7Ntacd.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
- package/dist/{vue-ui-sparkgauge-DEuNFkU_.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
- package/dist/{vue-ui-sparkline-CSsnkXMJ.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
- package/dist/{vue-ui-sparkstackbar-BnN7KebI.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
- package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
- package/dist/{vue-ui-stackline-CqjwxpU1.js → vue-ui-stackline-CSMuUup2.js} +303 -303
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
- package/dist/{vue-ui-table-CsMozTrM.js → vue-ui-table-BCEIbg8-.js} +14 -14
- package/dist/{vue-ui-table-heatmap-DFcESbBy.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
- package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
- package/dist/{vue-ui-timer-CFxvU_q1.js → vue-ui-timer-BKr8RVnn.js} +10 -10
- package/dist/{vue-ui-tiremarks-DIjsyNwO.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
- package/dist/{vue-ui-treemap-BuvFUWJm.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
- package/dist/{vue-ui-waffle-B8Knvp7m.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
- package/dist/{vue-ui-wheel-2_4BOo6P.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
- package/dist/{vue-ui-word-cloud-BEgmAfj1.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
- package/dist/{vue-ui-world-D4WMHq7E.js → vue-ui-world-BZ09DOiF.js} +498 -498
- package/dist/{vue-ui-xy-DBLJ8Uhc.js → vue-ui-xy-C3h54loZ.js} +405 -405
- package/dist/{vue-ui-xy-canvas-Dv0pk4Wd.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
- package/dist/{vue-ui-xy-DGIz4MDV.js → vue-ui-xy-jemv5dsf.js} +288 -288
- package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
- package/package.json +1 -1
- package/dist/vue-ui-bump-BIyTRpqJ.js +0 -1242
- package/dist/vue-ui-donut-DMISY-E8.js +0 -2427
- package/dist/vue-ui-funnel-eVH871L3.js +0 -749
- package/dist/vue-ui-gauge-D_jNBHjA.js +0 -934
- package/dist/vue-ui-heatmap-DW7bo_Um.js +0 -1613
- package/dist/vue-ui-horizontal-bar-vPeWNfxO.js +0 -1723
- package/dist/vue-ui-molecule-ejjPjG63.js +0 -941
- package/dist/vue-ui-mood-radar-pqMAcUWm.js +0 -1111
- package/dist/vue-ui-parallel-coordinate-plot-McES6sLT.js +0 -1444
- package/dist/vue-ui-radar-DZPVV9cU.js +0 -1386
- package/dist/vue-ui-relation-circle-BtESVsB0.js +0 -905
- package/dist/vue-ui-ridgeline-CSLuDJWq.js +0 -1630
- package/dist/vue-ui-scatter-CKJ87fhp.js +0 -2418
- package/dist/vue-ui-sparkhistogram-CQTwLaZi.js +0 -589
- package/dist/vue-ui-stackbar-CISQXhoK.js +0 -2660
- package/dist/vue-ui-strip-plot-CRZDCNc1.js +0 -1752
- package/dist/vue-ui-table-sparkline-CwsrD7te.js +0 -738
- package/dist/vue-ui-thermometer-_zSQM0Nk.js +0 -758
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { l as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, D as n, Dt as r, Ht as i, J as a, Jt as o, Kt as ee, S as te, X as ne, Yt as re, at as ie, b as ae, en as oe, et as se, i as ce, nn as le, nt as ue, pt as de, t as fe, w as pe, yt as me, zt as he } from "./lib-D4wK6ljP.js";
|
|
3
|
+
import { n as ge, t as _e } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as ve } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
+
import { t as ye } from "./usePrinter-DdW2GSm0.js";
|
|
6
|
+
import { n as be, t as xe } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
+
import { t as Se } from "./useNestedProp-DR_8JPol.js";
|
|
8
|
+
import { t as Ce } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as we } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
+
import { t as Te } from "./useTransitions-g_zBREk2.js";
|
|
11
|
+
import { t as Ee } from "./img-Bb5rHcpO.js";
|
|
12
|
+
import { n as De } from "./Title-BMCuINbv.js";
|
|
13
|
+
import { t as Oe } from "./Shape-DSwamtmO.js";
|
|
14
|
+
import { t as ke } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
|
+
import { l as Ae, t as je } from "./useResponsive-ZtArZtUf.js";
|
|
16
|
+
import { t as Me } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
+
import { t as Ne } from "./BaseLegendToggle-CP3sddwv.js";
|
|
18
|
+
import { t as Pe } from "./A11yDataTable-DdRsVULz.js";
|
|
19
|
+
import { t as Fe } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
|
+
import { t as Ie } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
+
import { t as Le } from "./labelUtils-Ccn9kK7T.js";
|
|
22
|
+
import { t as Re } from "./Legend-CulFgjUY.js";
|
|
23
|
+
import { t as ze } from "./vue_ui_rings-BVgD2aMn.js";
|
|
24
|
+
import { Fragment as Be, Teleport as Ve, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as He, createTextVNode as Ue, createVNode as We, defineAsyncComponent as f, guardReactiveProps as p, mergeProps as Ge, nextTick as Ke, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as qe, onMounted as Je, openBlock as _, ref as v, renderList as Ye, renderSlot as y, resolveDynamicComponent as Xe, shallowRef as Ze, toDisplayString as Qe, toRefs as $e, unref as b, useSlots as et, watch as tt, withCtx as x } from "vue";
|
|
25
25
|
//#region src/components/vue-ui-rings.vue
|
|
26
|
-
var
|
|
26
|
+
var nt = /* @__PURE__ */ e({ default: () => Ct }), rt = ["id"], it = ["id"], at = ["id"], ot = { style: { position: "relative" } }, st = [
|
|
27
27
|
"xmlns",
|
|
28
28
|
"viewBox",
|
|
29
29
|
"aria-describedby"
|
|
30
|
-
],
|
|
30
|
+
], ct = ["width", "height"], lt = { key: 1 }, ut = [
|
|
31
31
|
"stroke",
|
|
32
32
|
"cx",
|
|
33
33
|
"cy",
|
|
34
34
|
"r",
|
|
35
35
|
"fill"
|
|
36
|
-
],
|
|
36
|
+
], dt = [
|
|
37
37
|
"stroke",
|
|
38
38
|
"stroke-width",
|
|
39
39
|
"cx",
|
|
40
40
|
"cy",
|
|
41
41
|
"r",
|
|
42
42
|
"fill"
|
|
43
|
-
],
|
|
43
|
+
], ft = [
|
|
44
44
|
"stroke",
|
|
45
45
|
"stroke-width",
|
|
46
46
|
"cx",
|
|
47
47
|
"cy",
|
|
48
48
|
"r",
|
|
49
49
|
"fill"
|
|
50
|
-
],
|
|
50
|
+
], pt = [
|
|
51
51
|
"cx",
|
|
52
52
|
"cy",
|
|
53
53
|
"r",
|
|
54
54
|
"onMouseenter",
|
|
55
55
|
"onMouseleave",
|
|
56
56
|
"onClick"
|
|
57
|
-
],
|
|
57
|
+
], mt = [
|
|
58
58
|
"x",
|
|
59
59
|
"y",
|
|
60
60
|
"width",
|
|
61
61
|
"height",
|
|
62
62
|
"fill",
|
|
63
63
|
"rx"
|
|
64
|
-
],
|
|
64
|
+
], ht = [
|
|
65
65
|
"cx",
|
|
66
66
|
"cy",
|
|
67
67
|
"r",
|
|
68
68
|
"fill",
|
|
69
69
|
"stroke"
|
|
70
|
-
],
|
|
70
|
+
], gt = [
|
|
71
71
|
"text-anchor",
|
|
72
72
|
"font-size",
|
|
73
73
|
"fill",
|
|
@@ -77,7 +77,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
77
77
|
"onMouseleave",
|
|
78
78
|
"onClick",
|
|
79
79
|
"innerHTML"
|
|
80
|
-
],
|
|
80
|
+
], _t = {
|
|
81
81
|
key: 0,
|
|
82
82
|
style: {
|
|
83
83
|
position: "absolute",
|
|
@@ -87,10 +87,10 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
87
87
|
},
|
|
88
88
|
"data-dom-to-png-ignore": "",
|
|
89
89
|
"aria-hidden": "true"
|
|
90
|
-
},
|
|
90
|
+
}, vt = {
|
|
91
91
|
key: 5,
|
|
92
92
|
class: "vue-data-ui-watermark"
|
|
93
|
-
},
|
|
93
|
+
}, yt = ["id"], bt = ["onClick"], xt = { key: 0 }, St = { key: 1 }, Ct = /*#__PURE__*/ ke({
|
|
94
94
|
__name: "vue-ui-rings",
|
|
95
95
|
props: {
|
|
96
96
|
config: {
|
|
@@ -107,18 +107,18 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
emits: ["selectLegend", "copyAlt"],
|
|
110
|
-
setup(e, { expose:
|
|
111
|
-
let
|
|
110
|
+
setup(e, { expose: ke, emit: nt }) {
|
|
111
|
+
let Ct = f(() => import("./Tooltip-C4ZTwkLF.js")), wt = f(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Tt = f(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), Et = f(() => import("./DataTable-CjF_An2h.js")), Dt = f(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), Ot = f(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), kt = f(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), At = f(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_rings: jt } = ve(), { isThemeValid: Mt, warnInvalidTheme: Nt } = Ce(), Pt = et(), S = e, C = v(!1), Ft = s(() => !!S.dataset && S.dataset.length), w = v(ne()), T = v(!1), It = v(""), E = v(null), Lt = v(0), D = v(null), Rt = v(null), zt = v(null), Bt = v(null), Vt = v(null), Ht = v(0), Ut = v(0), Wt = v(0), Gt = v(!1), Kt = v(!1), qt = v(null), Jt = v(null), O = v(null), Yt = v({
|
|
112
112
|
x: 0,
|
|
113
113
|
y: 0
|
|
114
|
-
}),
|
|
115
|
-
|
|
114
|
+
}), k = v("pointer"), Xt = v(!1), A = v(rn()), j = s(() => A.value.userOptions), M = s(() => A.value.style.chart.layout.rings), N = s(() => A.value.style.chart.layout.labels), P = s(() => A.value.style.chart.tooltip), F = s(() => A.value.style.chart);
|
|
115
|
+
ge({
|
|
116
116
|
config: () => A.value,
|
|
117
|
-
dataset: () =>
|
|
117
|
+
dataset: () => S.dataset,
|
|
118
118
|
component: "VueUiRings",
|
|
119
119
|
rules: [
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
_e.singleSeries,
|
|
121
|
+
_e.emptyArray,
|
|
122
122
|
{
|
|
123
123
|
test: (e) => e.length > 6,
|
|
124
124
|
message: [
|
|
@@ -133,10 +133,10 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
133
133
|
}
|
|
134
134
|
]
|
|
135
135
|
});
|
|
136
|
-
let { transitionEnabled: I } =
|
|
136
|
+
let { transitionEnabled: I } = Te({
|
|
137
137
|
config: () => A.value.transitions,
|
|
138
|
-
dataset: () =>
|
|
139
|
-
}), L =
|
|
138
|
+
dataset: () => S.dataset
|
|
139
|
+
}), L = s(() => A.value.userOptions.useCursorPointer), Zt = s(() => le({
|
|
140
140
|
defaultConfig: {
|
|
141
141
|
userOptions: { show: !1 },
|
|
142
142
|
table: { show: !1 },
|
|
@@ -153,11 +153,11 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
153
153
|
} }
|
|
154
154
|
},
|
|
155
155
|
userConfig: A.value.skeletonConfig ?? {}
|
|
156
|
-
})), { loading: R, FINAL_DATASET: Qt, manualLoading: $t } =
|
|
157
|
-
|
|
156
|
+
})), { loading: R, FINAL_DATASET: Qt, manualLoading: $t } = be({
|
|
157
|
+
...$e(S),
|
|
158
158
|
FINAL_CONFIG: A,
|
|
159
159
|
prepareConfig: rn,
|
|
160
|
-
skeletonDataset:
|
|
160
|
+
skeletonDataset: S.config?.skeletonDataset ?? [
|
|
161
161
|
{
|
|
162
162
|
name: "_",
|
|
163
163
|
values: [13],
|
|
@@ -184,36 +184,36 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
184
184
|
color: "#DBDBDB"
|
|
185
185
|
}
|
|
186
186
|
],
|
|
187
|
-
skeletonConfig:
|
|
187
|
+
skeletonConfig: le({
|
|
188
188
|
defaultConfig: A.value,
|
|
189
189
|
userConfig: Zt.value
|
|
190
190
|
})
|
|
191
|
-
}), { userOptionsVisible: en, setUserOptionsVisibility: tn, keepUserOptionState: nn } =
|
|
191
|
+
}), { userOptionsVisible: en, setUserOptionsVisibility: tn, keepUserOptionState: nn } = Fe({ config: A.value }), { svgRef: z } = Ie({ config: F.value.title });
|
|
192
192
|
function rn() {
|
|
193
|
-
let e =
|
|
194
|
-
userConfig:
|
|
195
|
-
defaultConfig:
|
|
193
|
+
let e = Se({
|
|
194
|
+
userConfig: S.config,
|
|
195
|
+
defaultConfig: jt
|
|
196
196
|
}), t = e.theme;
|
|
197
197
|
if (!t) return e;
|
|
198
|
-
if (!
|
|
199
|
-
let
|
|
200
|
-
userConfig:
|
|
198
|
+
if (!Mt.value(e)) return Nt(e), e;
|
|
199
|
+
let n = Se({
|
|
200
|
+
userConfig: ze[t] || S.config,
|
|
201
201
|
defaultConfig: e
|
|
202
202
|
});
|
|
203
203
|
return {
|
|
204
|
-
...
|
|
205
|
-
userConfig:
|
|
206
|
-
defaultConfig:
|
|
204
|
+
...Se({
|
|
205
|
+
userConfig: S.config,
|
|
206
|
+
defaultConfig: n
|
|
207
207
|
}),
|
|
208
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
208
|
+
customPalette: e.customPalette.length ? e.customPalette : oe[e.theme] || i
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
211
|
function an(e) {
|
|
212
|
-
let t =
|
|
212
|
+
let t = se(e);
|
|
213
213
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
214
214
|
}
|
|
215
|
-
let on = an(
|
|
216
|
-
|
|
215
|
+
let on = an(S.config);
|
|
216
|
+
tt(() => S.config, (e, t) => {
|
|
217
217
|
let n = an(e), r = n !== on;
|
|
218
218
|
on = n;
|
|
219
219
|
let i = rn();
|
|
@@ -221,37 +221,37 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
221
221
|
A.value.style.chart.tooltip = i.style.chart.tooltip, U.value.showTooltip = A.value.style.chart.tooltip.show;
|
|
222
222
|
return;
|
|
223
223
|
}
|
|
224
|
-
R.value || (A.value = i), en.value = !A.value.userOptions.showOnChartHover, ln(),
|
|
224
|
+
R.value || (A.value = i), en.value = !A.value.userOptions.showOnChartHover, ln(), Ht.value += 1, Ut.value += 1, Wt.value += 1, U.value.showTable = A.value.table.show, U.value.showTooltip = P.value.show, U.value.showLabels = N.value.dataLabels.show, W.value.width = F.value.size, W.value.height = F.value.size;
|
|
225
225
|
}, { deep: !0 });
|
|
226
|
-
let sn =
|
|
226
|
+
let sn = s(() => {
|
|
227
227
|
let { markers: e } = N.value.dataLabels, t = Y.value / 2, n = U.value.showLabels ? e.position === "left" ? t : -t : 0, r = U.value.showLabels ? W.value.width / 2 - t : 0, i = e.position === "left" ? r : -r;
|
|
228
228
|
return {
|
|
229
229
|
x: A.value.responsive ? i : n / F.value.size * W.value.width,
|
|
230
230
|
y: 0 / F.value.size * W.value.height
|
|
231
231
|
};
|
|
232
|
-
}), B =
|
|
232
|
+
}), B = s(() => ({
|
|
233
233
|
x: W.value.width / 2 + sn.value.x,
|
|
234
234
|
y: W.value.height / 2 + sn.value.y
|
|
235
235
|
}));
|
|
236
|
-
|
|
236
|
+
tt(() => S.dataset, (e) => {
|
|
237
237
|
Array.isArray(e) && e.length > 0 && ($t.value = !1);
|
|
238
238
|
}, { deep: !0 });
|
|
239
|
-
let V =
|
|
240
|
-
|
|
241
|
-
|
|
239
|
+
let V = Ze(null), H = Ze(null);
|
|
240
|
+
Je(() => {
|
|
241
|
+
Kt.value = !0, ln();
|
|
242
242
|
});
|
|
243
|
-
let cn =
|
|
243
|
+
let cn = s(() => A.value.debug);
|
|
244
244
|
function ln() {
|
|
245
|
-
if (
|
|
245
|
+
if (he(S.dataset) ? (ie({
|
|
246
246
|
componentName: "VueUiRings",
|
|
247
247
|
type: "dataset",
|
|
248
248
|
debug: cn.value
|
|
249
|
-
}), $t.value = !0) :
|
|
249
|
+
}), $t.value = !0) : S.dataset.forEach((e, t) => {
|
|
250
250
|
e.values.length || (ie({
|
|
251
251
|
componentName: "VueUiRings",
|
|
252
252
|
type: "dataset",
|
|
253
253
|
debug: cn.value
|
|
254
|
-
}), $t.value = !0),
|
|
254
|
+
}), $t.value = !0), me({
|
|
255
255
|
datasetObject: e,
|
|
256
256
|
requiredAttributes: ["name", "values"]
|
|
257
257
|
}).forEach((e) => {
|
|
@@ -263,49 +263,49 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
263
263
|
debug: cn.value
|
|
264
264
|
});
|
|
265
265
|
});
|
|
266
|
-
}),
|
|
267
|
-
let e =
|
|
268
|
-
|
|
269
|
-
let { width: e, height: t } =
|
|
270
|
-
chart:
|
|
271
|
-
title: F.value.title.text ?
|
|
272
|
-
legend: F.value.legend.show ?
|
|
273
|
-
source:
|
|
274
|
-
noTitle:
|
|
266
|
+
}), he(S.dataset) || ($t.value = A.value.loading), A.value.responsive) {
|
|
267
|
+
let e = Ae(() => {
|
|
268
|
+
Gt.value = !0;
|
|
269
|
+
let { width: e, height: t } = je({
|
|
270
|
+
chart: D.value,
|
|
271
|
+
title: F.value.title.text ? Rt.value : null,
|
|
272
|
+
legend: F.value.legend.show ? zt.value : null,
|
|
273
|
+
source: Bt.value,
|
|
274
|
+
noTitle: Vt.value
|
|
275
275
|
});
|
|
276
276
|
requestAnimationFrame(() => {
|
|
277
|
-
W.value.width = e, W.value.height = t - 12,
|
|
277
|
+
W.value.width = e, W.value.height = t - 12, Gt.value = !1;
|
|
278
278
|
});
|
|
279
279
|
});
|
|
280
|
-
V.value && (H.value && V.value.unobserve(H.value), V.value.disconnect()), V.value = new ResizeObserver(e), H.value =
|
|
280
|
+
V.value && (H.value && V.value.unobserve(H.value), V.value.disconnect()), V.value = new ResizeObserver(e), H.value = D.value.parentNode, V.value.observe(H.value);
|
|
281
281
|
}
|
|
282
282
|
setTimeout(() => {
|
|
283
|
-
|
|
283
|
+
C.value = !0;
|
|
284
284
|
}, 600);
|
|
285
285
|
}
|
|
286
|
-
|
|
286
|
+
qe(() => {
|
|
287
287
|
V.value && (H.value && V.value.unobserve(H.value), V.value.disconnect());
|
|
288
288
|
});
|
|
289
|
-
let { isPrinting: un, isImaging: dn, generatePdf: fn, generateImage: pn } =
|
|
290
|
-
elementId: `rings_${
|
|
289
|
+
let { isPrinting: un, isImaging: dn, generatePdf: fn, generateImage: pn } = ye({
|
|
290
|
+
elementId: `rings_${w.value}`,
|
|
291
291
|
fileName: F.value.title.text || "vue-ui-rings",
|
|
292
292
|
options: A.value.userOptions.print
|
|
293
|
-
}), mn =
|
|
293
|
+
}), mn = s(() => A.value.userOptions.show && !F.value.title.text), hn = s(() => pe(A.value.customPalette)), U = v({
|
|
294
294
|
showTable: A.value.table.show,
|
|
295
295
|
showTooltip: P.value.show,
|
|
296
296
|
showLabels: N.value.dataLabels.show
|
|
297
297
|
});
|
|
298
|
-
|
|
298
|
+
tt(A, () => {
|
|
299
299
|
U.value = {
|
|
300
300
|
showTable: A.value.table.show,
|
|
301
301
|
showTooltip: P.value.show,
|
|
302
302
|
showLabels: N.value.dataLabels.show
|
|
303
303
|
};
|
|
304
304
|
}, { immediate: !0 });
|
|
305
|
-
let W =
|
|
305
|
+
let W = v({
|
|
306
306
|
height: F.value.size,
|
|
307
307
|
width: F.value.size
|
|
308
|
-
}), gn =
|
|
308
|
+
}), gn = s(() => Math.min(W.value.height, W.value.width)), _n = nt, G = v([]);
|
|
309
309
|
function vn() {
|
|
310
310
|
G.value.length ? G.value = [] : En.value.forEach((e) => {
|
|
311
311
|
G.value.push(e.uid);
|
|
@@ -337,21 +337,21 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
337
337
|
let t = xn(e);
|
|
338
338
|
t !== null && (G.value.includes(t.uid) || bn(t.uid));
|
|
339
339
|
}
|
|
340
|
-
let wn =
|
|
340
|
+
let wn = s(() => Math.max(...K.value.filter((e) => !G.value.includes(e.uid)).map(({ value: e }) => e)));
|
|
341
341
|
function Tn(e) {
|
|
342
342
|
return e / wn.value;
|
|
343
343
|
}
|
|
344
|
-
let K =
|
|
345
|
-
let
|
|
344
|
+
let K = s(() => Qt.value.map(({ values: e, name: t, color: n = null }, r) => {
|
|
345
|
+
let a = ee(e).reduce((e, t) => e + t, 0);
|
|
346
346
|
return {
|
|
347
347
|
name: t,
|
|
348
|
-
color: n ||
|
|
349
|
-
value:
|
|
350
|
-
proportion:
|
|
351
|
-
uid:
|
|
348
|
+
color: n || te(n) || hn.value[r] || i[r] || i[r % i.length],
|
|
349
|
+
value: a,
|
|
350
|
+
proportion: a / Qt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
|
|
351
|
+
uid: ne(),
|
|
352
352
|
absoluteIndex: r
|
|
353
353
|
};
|
|
354
|
-
})), En =
|
|
354
|
+
})), En = s(() => K.value.map((e, n) => {
|
|
355
355
|
let r = ce(N.value.dataLabels.formatter, e.value, t({
|
|
356
356
|
p: N.value.dataLabels.prefix,
|
|
357
357
|
v: e.value,
|
|
@@ -378,18 +378,18 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
378
378
|
isSegregated: G.value.includes(e.uid),
|
|
379
379
|
display: `${e.name}${F.value.legend.showPercentage || F.value.legend.showValue ? ": " : ""}${a}`
|
|
380
380
|
};
|
|
381
|
-
}).toSorted((e, t) => t.value - e.value)), Dn =
|
|
381
|
+
}).toSorted((e, t) => t.value - e.value)), Dn = s(() => ({
|
|
382
382
|
cy: "rings-div-legend",
|
|
383
383
|
backgroundColor: F.value.legend.backgroundColor,
|
|
384
384
|
color: F.value.legend.color,
|
|
385
385
|
fontSize: F.value.legend.fontSize,
|
|
386
386
|
paddingBottom: 12,
|
|
387
387
|
fontWeight: F.value.legend.bold ? "bold" : ""
|
|
388
|
-
})), q =
|
|
389
|
-
absoluteIndex:
|
|
388
|
+
})), q = s(() => K.value.filter((e) => !G.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), J = s(() => K.value.filter((e) => !G.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: a }, o) => ({
|
|
389
|
+
absoluteIndex: a,
|
|
390
390
|
uid: r,
|
|
391
391
|
name: e,
|
|
392
|
-
color: n ||
|
|
392
|
+
color: n || te(n) || hn.value[o] || i[o] || i[o % i.length],
|
|
393
393
|
value: t,
|
|
394
394
|
proportion: Tn(t),
|
|
395
395
|
percentage: t / q.value * 100,
|
|
@@ -404,7 +404,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
404
404
|
percentage: i
|
|
405
405
|
}));
|
|
406
406
|
}
|
|
407
|
-
let Y =
|
|
407
|
+
let Y = s(() => gn.value - M.value.strokeWidth * 2);
|
|
408
408
|
function kn(e, t) {
|
|
409
409
|
A.value.events.datapointClick && A.value.events.datapointClick({
|
|
410
410
|
datapoint: e,
|
|
@@ -412,14 +412,14 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
function An(e, t) {
|
|
415
|
-
|
|
415
|
+
E.value = null, T.value = !1, O.value = null, k.value = "pointer", A.value.events.datapointLeave && A.value.events.datapointLeave({
|
|
416
416
|
datapoint: e,
|
|
417
417
|
seriesIndex: t
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
function jn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
|
|
421
421
|
let i = N.value.dataLabels;
|
|
422
|
-
return
|
|
422
|
+
return Le({
|
|
423
423
|
config: i,
|
|
424
424
|
val: e,
|
|
425
425
|
percentage: t,
|
|
@@ -458,25 +458,25 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
458
458
|
y: Pn(e, t) - Nn(e)
|
|
459
459
|
};
|
|
460
460
|
}
|
|
461
|
-
let Fn =
|
|
462
|
-
function In(e, n,
|
|
461
|
+
let Fn = v(null);
|
|
462
|
+
function In(e, n, i = "pointer") {
|
|
463
463
|
if (A.value.events.datapointEnter && A.value.events.datapointEnter({
|
|
464
464
|
datapoint: e,
|
|
465
465
|
seriesIndex: n
|
|
466
|
-
}), G.value.length ===
|
|
466
|
+
}), G.value.length === S.dataset.length) return;
|
|
467
467
|
Fn.value = {
|
|
468
468
|
datapoint: e,
|
|
469
469
|
seriesIndex: n,
|
|
470
470
|
series: J.value,
|
|
471
471
|
config: A.value
|
|
472
|
-
},
|
|
472
|
+
}, E.value = n, O.value = n, k.value = i;
|
|
473
473
|
let a = J.value[n], o = P.value.customFormat;
|
|
474
|
-
if (
|
|
474
|
+
if (r(o) && de(() => o({
|
|
475
475
|
seriesIndex: n,
|
|
476
476
|
datapoint: e,
|
|
477
477
|
series: J.value,
|
|
478
478
|
config: A.value
|
|
479
|
-
})))
|
|
479
|
+
}))) It.value = o({
|
|
480
480
|
seriesIndex: n,
|
|
481
481
|
datapoint: e,
|
|
482
482
|
series: J.value,
|
|
@@ -484,7 +484,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
484
484
|
});
|
|
485
485
|
else {
|
|
486
486
|
let r = "";
|
|
487
|
-
r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${a.color}" />${
|
|
487
|
+
r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${a.color}" />${Pt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${w.value}_${e.absoluteIndex})" />` : ""}</svg>`, r += `<b>${jn({
|
|
488
488
|
showVal: P.value.showValue,
|
|
489
489
|
showPercentage: P.value.showPercentage,
|
|
490
490
|
val: `<span>${ce(N.value.dataLabels.formatter, a.value, t({
|
|
@@ -501,17 +501,17 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
501
501
|
s: "%",
|
|
502
502
|
r: P.value.roundingPercentage
|
|
503
503
|
})
|
|
504
|
-
})}</b></div>`,
|
|
504
|
+
})}</b></div>`, It.value = r;
|
|
505
505
|
}
|
|
506
|
-
|
|
506
|
+
T.value = !0;
|
|
507
507
|
}
|
|
508
|
-
let Z =
|
|
508
|
+
let Z = s(() => ({
|
|
509
509
|
head: J.value.map((e) => ({
|
|
510
510
|
name: e.name,
|
|
511
511
|
color: e.color
|
|
512
512
|
})),
|
|
513
513
|
body: J.value.map((e) => e.value)
|
|
514
|
-
})), Q =
|
|
514
|
+
})), Q = s(() => {
|
|
515
515
|
let e = [
|
|
516
516
|
"__SUM__",
|
|
517
517
|
t({
|
|
@@ -559,12 +559,12 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
559
559
|
};
|
|
560
560
|
});
|
|
561
561
|
function Ln(e = null) {
|
|
562
|
-
|
|
562
|
+
Ke(() => {
|
|
563
563
|
let t = Z.value.head.map((e, t) => [
|
|
564
564
|
[e.name],
|
|
565
565
|
[Z.value.body[t]],
|
|
566
566
|
[isNaN(Z.value.body[t] / q.value) ? "-" : Z.value.body[t] / q.value * 100]
|
|
567
|
-
]),
|
|
567
|
+
]), r = [
|
|
568
568
|
[F.value.title.text],
|
|
569
569
|
[F.value.title.subtitle.text],
|
|
570
570
|
[
|
|
@@ -572,16 +572,16 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
572
572
|
["val"],
|
|
573
573
|
["%"]
|
|
574
574
|
]
|
|
575
|
-
].concat(t), i = r
|
|
576
|
-
e ? e(i) :
|
|
575
|
+
].concat(t), i = n(r);
|
|
576
|
+
e ? e(i) : ue({
|
|
577
577
|
csvContent: i,
|
|
578
578
|
title: F.value.title.text || "vue-ui-rings"
|
|
579
579
|
});
|
|
580
580
|
});
|
|
581
581
|
}
|
|
582
|
-
let $ =
|
|
582
|
+
let $ = v(!1);
|
|
583
583
|
function Rn(e) {
|
|
584
|
-
$.value = e,
|
|
584
|
+
$.value = e, Lt.value += 1;
|
|
585
585
|
}
|
|
586
586
|
function zn() {
|
|
587
587
|
U.value.showTable = !U.value.showTable;
|
|
@@ -592,14 +592,14 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
592
592
|
function Vn() {
|
|
593
593
|
U.value.showLabels = !U.value.showLabels;
|
|
594
594
|
}
|
|
595
|
-
let Hn =
|
|
595
|
+
let Hn = v(!1);
|
|
596
596
|
function Un() {
|
|
597
597
|
Hn.value = !Hn.value;
|
|
598
598
|
}
|
|
599
599
|
async function Wn({ scale: e = 2 } = {}) {
|
|
600
|
-
if (!
|
|
601
|
-
let { width: t, height: n } =
|
|
602
|
-
domElement:
|
|
600
|
+
if (!D.value) return;
|
|
601
|
+
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ee({
|
|
602
|
+
domElement: D.value,
|
|
603
603
|
base64: !0,
|
|
604
604
|
img: !0,
|
|
605
605
|
scale: e
|
|
@@ -613,10 +613,10 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
613
613
|
aspectRatio: r
|
|
614
614
|
};
|
|
615
615
|
}
|
|
616
|
-
let Gn =
|
|
616
|
+
let Gn = s(() => {
|
|
617
617
|
let e = A.value.table.useDialog && !A.value.table.show, t = U.value.showTable;
|
|
618
618
|
return {
|
|
619
|
-
component: e ?
|
|
619
|
+
component: e ? At : Tt,
|
|
620
620
|
title: `${F.value.title.text}${F.value.title.subtitle.text ? `: ${F.value.title.subtitle.text}` : ""}`,
|
|
621
621
|
props: e ? {
|
|
622
622
|
backgroundColor: A.value.table.th.backgroundColor,
|
|
@@ -624,7 +624,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
624
624
|
headerColor: A.value.table.th.color,
|
|
625
625
|
headerBg: A.value.table.th.backgroundColor,
|
|
626
626
|
isFullscreen: $.value,
|
|
627
|
-
fullscreenParent:
|
|
627
|
+
fullscreenParent: D.value,
|
|
628
628
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
629
629
|
isCursorPointer: L.value
|
|
630
630
|
} : {
|
|
@@ -644,16 +644,16 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
644
644
|
}
|
|
645
645
|
};
|
|
646
646
|
});
|
|
647
|
-
|
|
648
|
-
A.value.table.show || (e && A.value.table.useDialog &&
|
|
647
|
+
tt(() => U.value.showTable, (e) => {
|
|
648
|
+
A.value.table.show || (e && A.value.table.useDialog && qt.value ? qt.value.open() : "close" in qt.value && qt.value.close());
|
|
649
649
|
});
|
|
650
650
|
function Kn() {
|
|
651
|
-
U.value.showTable = !1,
|
|
651
|
+
U.value.showTable = !1, Jt.value && Jt.value.setTableIconState(!1);
|
|
652
652
|
}
|
|
653
|
-
let qn =
|
|
653
|
+
let qn = s(() => En.value.map((e) => ({
|
|
654
654
|
...e,
|
|
655
655
|
name: e.display
|
|
656
|
-
}))), Jn =
|
|
656
|
+
}))), Jn = s(() => F.value.backgroundColor), Yn = s(() => F.value.legend), Xn = s(() => F.value.title), { isCallbackImaging: Zn, isCallbackSvg: Qn, generateSvg: $n, onGenerateImage: er } = we({
|
|
657
657
|
svg: z,
|
|
658
658
|
title: Xn,
|
|
659
659
|
legend: Yn,
|
|
@@ -676,27 +676,27 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
676
676
|
}));
|
|
677
677
|
}
|
|
678
678
|
function nr() {
|
|
679
|
-
|
|
679
|
+
O.value = null, Xt.value = !0;
|
|
680
680
|
}
|
|
681
681
|
function rr() {
|
|
682
|
-
|
|
682
|
+
O.value = null, k.value = "pointer", T.value = !1, E.value = null, Xt.value = !1;
|
|
683
683
|
}
|
|
684
684
|
function ir(e) {
|
|
685
|
-
if (!z.value || Hn.value || document.activeElement !== z.value || !J.value.length || G.value.length ===
|
|
685
|
+
if (!z.value || Hn.value || document.activeElement !== z.value || !J.value.length || G.value.length === S.dataset.length) return;
|
|
686
686
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
687
687
|
if (!t && !n && !r && !i) return;
|
|
688
688
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
689
|
-
|
|
689
|
+
O.value = null, k.value = "pointer", T.value = !1, E.value = null;
|
|
690
690
|
return;
|
|
691
691
|
}
|
|
692
692
|
if (r) {
|
|
693
|
-
if (
|
|
694
|
-
let e = J.value[
|
|
693
|
+
if (O.value === null) return;
|
|
694
|
+
let e = J.value[O.value];
|
|
695
695
|
if (!e) return;
|
|
696
|
-
kn(e,
|
|
696
|
+
kn(e, O.value);
|
|
697
697
|
return;
|
|
698
698
|
}
|
|
699
|
-
let a =
|
|
699
|
+
let a = O.value;
|
|
700
700
|
a === null || a < 0 || a >= J.value.length ? a = n ? 0 : J.value.length - 1 : n ? (a += 1, a >= J.value.length && (a = 0)) : t && (--a, a < 0 && (a = J.value.length - 1));
|
|
701
701
|
let o = J.value[a];
|
|
702
702
|
o && (ar(a), In(o, a, "keyboard"));
|
|
@@ -706,16 +706,16 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
706
706
|
let t = J.value[e];
|
|
707
707
|
if (!t) return;
|
|
708
708
|
let n = X(t, e), r = z.value.getBoundingClientRect();
|
|
709
|
-
|
|
709
|
+
Yt.value = {
|
|
710
710
|
x: r.left + n.x / W.value.width * r.width,
|
|
711
711
|
y: r.top + n.y / W.value.height * r.height
|
|
712
712
|
};
|
|
713
713
|
}
|
|
714
|
-
let or =
|
|
714
|
+
let or = s(() => ({
|
|
715
715
|
headers: Q.value?.colNames ?? [],
|
|
716
716
|
rows: Q.value?.a11yBody ?? []
|
|
717
717
|
}));
|
|
718
|
-
return
|
|
718
|
+
return ke({
|
|
719
719
|
getData: On,
|
|
720
720
|
getImage: Wn,
|
|
721
721
|
generatePdf: fn,
|
|
@@ -730,24 +730,24 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
730
730
|
toggleFullscreen: Rn,
|
|
731
731
|
toggleLabels: Vn,
|
|
732
732
|
copyAlt: tr
|
|
733
|
-
}), (e, t) => (
|
|
733
|
+
}), (e, t) => (_(), u("div", {
|
|
734
734
|
ref_key: "ringsChart",
|
|
735
|
-
ref:
|
|
736
|
-
class:
|
|
737
|
-
style:
|
|
738
|
-
id: `rings_${
|
|
735
|
+
ref: D,
|
|
736
|
+
class: m(`vue-data-ui-component vue-ui-rings ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${A.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
737
|
+
style: g(`font-family:${A.value.style.fontFamily};text-align:center;width:100%;background:${F.value.backgroundColor};${A.value.responsive ? "height: 100%" : ""}`),
|
|
738
|
+
id: `rings_${w.value}`,
|
|
739
739
|
onMouseleave: t[2] ||= (e) => {
|
|
740
|
-
|
|
740
|
+
E.value = null, T.value = !1, b(tn)(!1);
|
|
741
741
|
},
|
|
742
|
-
onMouseenter: t[3] ||= () =>
|
|
742
|
+
onMouseenter: t[3] ||= () => b(tn)(!0)
|
|
743
743
|
}, [
|
|
744
|
-
|
|
745
|
-
id: `chart-instructions-${
|
|
744
|
+
d("div", {
|
|
745
|
+
id: `chart-instructions-${w.value}`,
|
|
746
746
|
class: "sr-only"
|
|
747
|
-
}, [
|
|
748
|
-
or.value?.rows?.length ? (
|
|
747
|
+
}, [d("p", null, Qe(A.value.a11y.translations.keyboardNavigation), 1)], 8, it),
|
|
748
|
+
or.value?.rows?.length ? (_(), c(Pe, {
|
|
749
749
|
key: 0,
|
|
750
|
-
uid:
|
|
750
|
+
uid: w.value,
|
|
751
751
|
head: or.value.headers,
|
|
752
752
|
body: or.value.rows,
|
|
753
753
|
notice: A.value.a11y.translations.tableAvailable,
|
|
@@ -758,10 +758,10 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
758
758
|
"body",
|
|
759
759
|
"notice",
|
|
760
760
|
"caption"
|
|
761
|
-
])) :
|
|
762
|
-
j.value.buttons.annotator ? (
|
|
761
|
+
])) : l("", !0),
|
|
762
|
+
j.value.buttons.annotator ? (_(), c(b(Dt), {
|
|
763
763
|
key: 1,
|
|
764
|
-
svgRef:
|
|
764
|
+
svgRef: b(z),
|
|
765
765
|
backgroundColor: F.value.backgroundColor,
|
|
766
766
|
color: F.value.color,
|
|
767
767
|
active: Hn.value,
|
|
@@ -769,12 +769,12 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
769
769
|
palette: j.value.annotatorPalette,
|
|
770
770
|
onClose: Un
|
|
771
771
|
}, {
|
|
772
|
-
"annotator-action-close":
|
|
773
|
-
"annotator-action-color":
|
|
774
|
-
"annotator-action-draw":
|
|
775
|
-
"annotator-action-undo":
|
|
776
|
-
"annotator-action-redo":
|
|
777
|
-
"annotator-action-delete":
|
|
772
|
+
"annotator-action-close": x(() => [y(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
773
|
+
"annotator-action-color": x(({ color: t }) => [y(e.$slots, "annotator-action-color", h(p({ color: t })), void 0, !0)]),
|
|
774
|
+
"annotator-action-draw": x(({ mode: t }) => [y(e.$slots, "annotator-action-draw", h(p({ mode: t })), void 0, !0)]),
|
|
775
|
+
"annotator-action-undo": x(({ disabled: t }) => [y(e.$slots, "annotator-action-undo", h(p({ disabled: t })), void 0, !0)]),
|
|
776
|
+
"annotator-action-redo": x(({ disabled: t }) => [y(e.$slots, "annotator-action-redo", h(p({ disabled: t })), void 0, !0)]),
|
|
777
|
+
"annotator-action-delete": x(({ disabled: t }) => [y(e.$slots, "annotator-action-delete", h(p({ disabled: t })), void 0, !0)]),
|
|
778
778
|
_: 3
|
|
779
779
|
}, 8, [
|
|
780
780
|
"svgRef",
|
|
@@ -783,21 +783,21 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
783
783
|
"active",
|
|
784
784
|
"isCursorPointer",
|
|
785
785
|
"palette"
|
|
786
|
-
])) :
|
|
787
|
-
mn.value ? (
|
|
786
|
+
])) : l("", !0),
|
|
787
|
+
mn.value ? (_(), u("div", {
|
|
788
788
|
key: 2,
|
|
789
789
|
ref_key: "noTitle",
|
|
790
|
-
ref:
|
|
790
|
+
ref: Vt,
|
|
791
791
|
class: "vue-data-ui-no-title-space",
|
|
792
792
|
style: "height:36px; width: 100%;background:transparent"
|
|
793
|
-
}, null, 512)) :
|
|
794
|
-
F.value.title.text ? (
|
|
793
|
+
}, null, 512)) : l("", !0),
|
|
794
|
+
F.value.title.text ? (_(), u("div", {
|
|
795
795
|
key: 3,
|
|
796
796
|
ref_key: "chartTitle",
|
|
797
|
-
ref:
|
|
797
|
+
ref: Rt,
|
|
798
798
|
style: "width:100%;background:transparent"
|
|
799
|
-
}, [(
|
|
800
|
-
key: `title_${
|
|
799
|
+
}, [(_(), c(De, {
|
|
800
|
+
key: `title_${Ht.value}`,
|
|
801
801
|
config: {
|
|
802
802
|
title: {
|
|
803
803
|
cy: "rings-div-title",
|
|
@@ -808,17 +808,17 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
808
808
|
...F.value.title.subtitle
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
|
-
}, null, 8, ["config"]))], 512)) :
|
|
812
|
-
|
|
813
|
-
j.value.show &&
|
|
811
|
+
}, null, 8, ["config"]))], 512)) : l("", !0),
|
|
812
|
+
d("div", { id: `legend-top-${w.value}` }, null, 8, at),
|
|
813
|
+
j.value.show && Ft.value && (b(nn) || b(en)) ? (_(), c(b(Ot), {
|
|
814
814
|
ref_key: "userOptionsRef",
|
|
815
|
-
ref:
|
|
816
|
-
key: `user_options_${
|
|
815
|
+
ref: Jt,
|
|
816
|
+
key: `user_options_${Lt.value}`,
|
|
817
817
|
backgroundColor: F.value.backgroundColor,
|
|
818
818
|
color: F.value.color,
|
|
819
|
-
isPrinting:
|
|
820
|
-
isImaging:
|
|
821
|
-
uid:
|
|
819
|
+
isPrinting: b(un),
|
|
820
|
+
isImaging: b(dn),
|
|
821
|
+
uid: w.value,
|
|
822
822
|
hasTooltip: j.value.buttons.tooltip && P.value.show,
|
|
823
823
|
hasPdf: j.value.buttons.pdf,
|
|
824
824
|
hasXls: j.value.buttons.csv,
|
|
@@ -831,7 +831,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
831
831
|
isTooltip: U.value.showTooltip,
|
|
832
832
|
isFullscreen: $.value,
|
|
833
833
|
titles: { ...j.value.buttonTitles },
|
|
834
|
-
chartElement:
|
|
834
|
+
chartElement: D.value,
|
|
835
835
|
position: j.value.position,
|
|
836
836
|
hasAnnotator: j.value.buttons.annotator,
|
|
837
837
|
isAnnotation: Hn.value,
|
|
@@ -840,20 +840,20 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
840
840
|
tableDialog: A.value.table.useDialog,
|
|
841
841
|
isCursorPointer: L.value,
|
|
842
842
|
onToggleFullscreen: Rn,
|
|
843
|
-
onGeneratePdf:
|
|
843
|
+
onGeneratePdf: b(fn),
|
|
844
844
|
onGenerateCsv: Ln,
|
|
845
|
-
onGenerateImage:
|
|
846
|
-
onGenerateSvg:
|
|
845
|
+
onGenerateImage: b(er),
|
|
846
|
+
onGenerateSvg: b($n),
|
|
847
847
|
onToggleTable: zn,
|
|
848
848
|
onToggleTooltip: Bn,
|
|
849
849
|
onToggleAnnotator: Un,
|
|
850
850
|
onToggleLabels: Vn,
|
|
851
851
|
onCopyAlt: tr,
|
|
852
|
-
style:
|
|
853
|
-
},
|
|
852
|
+
style: g({ visibility: b(nn) ? b(en) ? "visible" : "hidden" : "visible" })
|
|
853
|
+
}, He({ _: 2 }, [
|
|
854
854
|
e.$slots.menuIcon ? {
|
|
855
855
|
name: "menuIcon",
|
|
856
|
-
fn:
|
|
856
|
+
fn: x(({ isOpen: t, color: n }) => [y(e.$slots, "menuIcon", h(p({
|
|
857
857
|
isOpen: t,
|
|
858
858
|
color: n
|
|
859
859
|
})), void 0, !0)]),
|
|
@@ -861,42 +861,42 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
861
861
|
} : void 0,
|
|
862
862
|
e.$slots.optionTooltip ? {
|
|
863
863
|
name: "optionTooltip",
|
|
864
|
-
fn:
|
|
864
|
+
fn: x(() => [y(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
865
865
|
key: "1"
|
|
866
866
|
} : void 0,
|
|
867
867
|
e.$slots.optionPdf ? {
|
|
868
868
|
name: "optionPdf",
|
|
869
|
-
fn:
|
|
869
|
+
fn: x(() => [y(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
870
870
|
key: "2"
|
|
871
871
|
} : void 0,
|
|
872
872
|
e.$slots.optionCsv ? {
|
|
873
873
|
name: "optionCsv",
|
|
874
|
-
fn:
|
|
874
|
+
fn: x(() => [y(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
875
875
|
key: "3"
|
|
876
876
|
} : void 0,
|
|
877
877
|
e.$slots.optionImg ? {
|
|
878
878
|
name: "optionImg",
|
|
879
|
-
fn:
|
|
879
|
+
fn: x(() => [y(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
880
880
|
key: "4"
|
|
881
881
|
} : void 0,
|
|
882
882
|
e.$slots.optionSvg ? {
|
|
883
883
|
name: "optionSvg",
|
|
884
|
-
fn:
|
|
884
|
+
fn: x(() => [y(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
885
885
|
key: "5"
|
|
886
886
|
} : void 0,
|
|
887
887
|
e.$slots.optionTable ? {
|
|
888
888
|
name: "optionTable",
|
|
889
|
-
fn:
|
|
889
|
+
fn: x(() => [y(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
890
890
|
key: "6"
|
|
891
891
|
} : void 0,
|
|
892
892
|
e.$slots.optionLabels ? {
|
|
893
893
|
name: "optionLabels",
|
|
894
|
-
fn:
|
|
894
|
+
fn: x(() => [y(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
895
895
|
key: "7"
|
|
896
896
|
} : void 0,
|
|
897
897
|
e.$slots.optionFullscreen ? {
|
|
898
898
|
name: "optionFullscreen",
|
|
899
|
-
fn:
|
|
899
|
+
fn: x(({ toggleFullscreen: t, isFullscreen: n }) => [y(e.$slots, "optionFullscreen", h(p({
|
|
900
900
|
toggleFullscreen: t,
|
|
901
901
|
isFullscreen: n
|
|
902
902
|
})), void 0, !0)]),
|
|
@@ -904,7 +904,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
904
904
|
} : void 0,
|
|
905
905
|
e.$slots.optionAnnotator ? {
|
|
906
906
|
name: "optionAnnotator",
|
|
907
|
-
fn:
|
|
907
|
+
fn: x(({ toggleAnnotator: t, isAnnotator: n }) => [y(e.$slots, "optionAnnotator", h(p({
|
|
908
908
|
toggleAnnotator: t,
|
|
909
909
|
isAnnotator: n
|
|
910
910
|
})), void 0, !0)]),
|
|
@@ -912,59 +912,59 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
912
912
|
} : void 0,
|
|
913
913
|
e.$slots.optionAltCopy ? {
|
|
914
914
|
name: "optionAltCopy",
|
|
915
|
-
fn:
|
|
915
|
+
fn: x(({ altCopy: t }) => [y(e.$slots, "optionAltCopy", h(p({ altCopy: t })), void 0, !0)]),
|
|
916
916
|
key: "10"
|
|
917
917
|
} : void 0,
|
|
918
918
|
e.$slots["custom-menu-before"] ? {
|
|
919
919
|
name: "custom-menu-before",
|
|
920
|
-
fn:
|
|
920
|
+
fn: x(() => [y(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
921
921
|
key: "11"
|
|
922
922
|
} : void 0,
|
|
923
923
|
e.$slots["custom-menu-after"] ? {
|
|
924
924
|
name: "custom-menu-after",
|
|
925
|
-
fn:
|
|
925
|
+
fn: x(() => [y(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
926
926
|
key: "12"
|
|
927
927
|
} : void 0
|
|
928
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.hasLabel.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
929
|
-
|
|
928
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.hasLabel.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : l("", !0),
|
|
929
|
+
d("div", ot, [(_(), u("svg", {
|
|
930
930
|
ref_key: "svgRef",
|
|
931
931
|
ref: z,
|
|
932
|
-
xmlns:
|
|
933
|
-
class:
|
|
932
|
+
xmlns: b(fe),
|
|
933
|
+
class: m({
|
|
934
934
|
"vue-data-ui-fullscreen--on": $.value,
|
|
935
935
|
"vue-data-ui-fulscreen--off": !$.value,
|
|
936
|
-
resizing:
|
|
937
|
-
"vue-data-ui-no-transition": !
|
|
936
|
+
resizing: Gt.value || b(R),
|
|
937
|
+
"vue-data-ui-no-transition": !b(I)
|
|
938
938
|
}),
|
|
939
939
|
viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${W.value.height <= 0 ? 10 : W.value.height}`,
|
|
940
|
-
style:
|
|
941
|
-
"aria-describedby": `chart-instructions-${
|
|
940
|
+
style: g(`max-width:100%;overflow:hidden;background:transparent;color:${F.value.color}`),
|
|
941
|
+
"aria-describedby": `chart-instructions-${w.value}`,
|
|
942
942
|
tabindex: "0",
|
|
943
943
|
onFocus: nr,
|
|
944
944
|
onBlur: rr,
|
|
945
945
|
onKeydown: ir
|
|
946
946
|
}, [
|
|
947
|
-
|
|
948
|
-
e.$slots["chart-background"] ? (
|
|
947
|
+
We(b(kt)),
|
|
948
|
+
e.$slots["chart-background"] ? (_(), u("foreignObject", {
|
|
949
949
|
key: 0,
|
|
950
950
|
x: 0,
|
|
951
951
|
y: 0,
|
|
952
952
|
width: W.value.width <= 0 ? 10 : W.value.width,
|
|
953
953
|
height: W.value.height <= 0 ? 10 : W.value.height,
|
|
954
954
|
style: { pointerEvents: "none" }
|
|
955
|
-
}, [
|
|
956
|
-
|
|
955
|
+
}, [y(e.$slots, "chart-background", {}, void 0, !0)], 8, ct)) : l("", !0),
|
|
956
|
+
d("defs", null, [(_(!0), u(Be, null, Ye(J.value, (e, t) => (_(), c(Me, {
|
|
957
957
|
t: "radial",
|
|
958
958
|
cx: "50%",
|
|
959
959
|
cy: "30%",
|
|
960
960
|
r: "50%",
|
|
961
961
|
fx: "50%",
|
|
962
962
|
fy: "50%",
|
|
963
|
-
id: `gradient_${
|
|
964
|
-
key: `gradient_${
|
|
963
|
+
id: `gradient_${w.value}_${t}`,
|
|
964
|
+
key: `gradient_${w.value}_${t}`,
|
|
965
965
|
stops: [[
|
|
966
966
|
"0%",
|
|
967
|
-
|
|
967
|
+
b(o)(b(re)(e.color, .05), 100 - M.value.gradient.intensity),
|
|
968
968
|
1
|
|
969
969
|
], [
|
|
970
970
|
"100%",
|
|
@@ -972,56 +972,56 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
972
972
|
1
|
|
973
973
|
]]
|
|
974
974
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
975
|
-
e.$slots.pattern ? (
|
|
975
|
+
e.$slots.pattern ? (_(), u("g", lt, [(_(!0), u(Be, null, Ye(J.value, (t) => (_(), u("defs", null, [y(e.$slots, "pattern", Ge({ ref_for: !0 }, {
|
|
976
976
|
seriesIndex: t.absoluteIndex,
|
|
977
|
-
patternId: `pattern_${
|
|
978
|
-
}), void 0, !0)]))), 256))])) :
|
|
979
|
-
(
|
|
980
|
-
|
|
981
|
-
class:
|
|
982
|
-
"vue-data-ui-transition":
|
|
983
|
-
"vue-rings-item-onload": !
|
|
984
|
-
"vue-ui-rings-opacity":
|
|
977
|
+
patternId: `pattern_${w.value}_${t.absoluteIndex}`
|
|
978
|
+
}), void 0, !0)]))), 256))])) : l("", !0),
|
|
979
|
+
(_(!0), u(Be, null, Ye(J.value, (t, n) => (_(), u("g", { key: `r_${t.uid}` }, [
|
|
980
|
+
d("circle", {
|
|
981
|
+
class: m({
|
|
982
|
+
"vue-data-ui-transition": C.value && b(I),
|
|
983
|
+
"vue-rings-item-onload": !C.value && A.value.useCssAnimation && !b(R),
|
|
984
|
+
"vue-ui-rings-opacity": E.value !== null && E.value !== n
|
|
985
985
|
}),
|
|
986
|
-
style:
|
|
986
|
+
style: g(`animation-delay:${n * 100}ms`),
|
|
987
987
|
stroke: M.value.stroke,
|
|
988
988
|
cx: B.value.x,
|
|
989
989
|
cy: Pn(t, n),
|
|
990
990
|
r: Nn(t),
|
|
991
991
|
fill: M.value.gradient.underlayerColor
|
|
992
|
-
}, null, 14,
|
|
993
|
-
|
|
994
|
-
class:
|
|
995
|
-
"vue-data-ui-transition":
|
|
996
|
-
"vue-rings-item-onload": !
|
|
992
|
+
}, null, 14, ut),
|
|
993
|
+
d("circle", {
|
|
994
|
+
class: m({
|
|
995
|
+
"vue-data-ui-transition": C.value && b(I),
|
|
996
|
+
"vue-rings-item-onload": !C.value && A.value.useCssAnimation && !b(R),
|
|
997
997
|
"vue-ui-rings-shadow": M.value.useShadow,
|
|
998
|
-
"vue-ui-rings-blur":
|
|
998
|
+
"vue-ui-rings-blur": E.value !== null && E.value !== n
|
|
999
999
|
}),
|
|
1000
|
-
style:
|
|
1000
|
+
style: g(`animation-delay:${n * 100}ms`),
|
|
1001
1001
|
stroke: M.value.stroke,
|
|
1002
1002
|
"stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
|
|
1003
1003
|
cx: B.value.x,
|
|
1004
1004
|
cy: Pn(t, n),
|
|
1005
1005
|
r: Nn(t),
|
|
1006
|
-
fill: M.value.gradient.show ? `url(#gradient_${
|
|
1007
|
-
}, null, 14,
|
|
1008
|
-
e.$slots.pattern ? (
|
|
1006
|
+
fill: M.value.gradient.show ? `url(#gradient_${w.value}_${n})` : t.color
|
|
1007
|
+
}, null, 14, dt),
|
|
1008
|
+
e.$slots.pattern ? (_(), u("circle", {
|
|
1009
1009
|
key: 0,
|
|
1010
|
-
class:
|
|
1011
|
-
"vue-data-ui-transition":
|
|
1012
|
-
"vue-rings-item-onload": !
|
|
1010
|
+
class: m({
|
|
1011
|
+
"vue-data-ui-transition": C.value && b(I),
|
|
1012
|
+
"vue-rings-item-onload": !C.value && A.value.useCssAnimation && !b(R),
|
|
1013
1013
|
"vue-ui-rings-shadow": M.value.useShadow,
|
|
1014
|
-
"vue-ui-rings-blur":
|
|
1014
|
+
"vue-ui-rings-blur": E.value !== null && E.value !== n
|
|
1015
1015
|
}),
|
|
1016
|
-
style:
|
|
1016
|
+
style: g(`animation-delay:${n * 100}ms`),
|
|
1017
1017
|
stroke: M.value.stroke,
|
|
1018
1018
|
"stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
|
|
1019
1019
|
cx: B.value.x,
|
|
1020
1020
|
cy: Pn(t, n),
|
|
1021
1021
|
r: Nn(t),
|
|
1022
|
-
fill: `url(#pattern_${
|
|
1023
|
-
}, null, 14,
|
|
1024
|
-
|
|
1022
|
+
fill: `url(#pattern_${w.value}_${t.absoluteIndex})`
|
|
1023
|
+
}, null, 14, ft)) : l("", !0),
|
|
1024
|
+
d("circle", {
|
|
1025
1025
|
stroke: "none",
|
|
1026
1026
|
cx: B.value.x,
|
|
1027
1027
|
cy: Pn(t, n),
|
|
@@ -1030,51 +1030,51 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
1030
1030
|
onMouseenter: (e) => In(t, n, "pointer"),
|
|
1031
1031
|
onMouseleave: (e) => An(t, n),
|
|
1032
1032
|
onClick: (e) => kn(t, n)
|
|
1033
|
-
}, null, 40,
|
|
1034
|
-
U.value.showLabels ? (
|
|
1035
|
-
|
|
1033
|
+
}, null, 40, pt),
|
|
1034
|
+
U.value.showLabels ? (_(), u(Be, { key: 1 }, [
|
|
1035
|
+
d("rect", {
|
|
1036
1036
|
x: N.value.dataLabels.markers.position === "left" ? X(t, n).x : B.value.x,
|
|
1037
1037
|
y: X(t, n).y - N.value.dataLabels.markers.strokeWidth / 2,
|
|
1038
1038
|
width: Math.abs(B.value.x - X(t, n).x),
|
|
1039
1039
|
height: N.value.dataLabels.markers.strokeWidth,
|
|
1040
1040
|
fill: N.value.dataLabels.markers.stroke,
|
|
1041
1041
|
rx: N.value.dataLabels.markers.strokeWidth,
|
|
1042
|
-
class:
|
|
1043
|
-
"vue-data-ui-transition":
|
|
1044
|
-
"vue-rings-item-onload": !
|
|
1042
|
+
class: m({
|
|
1043
|
+
"vue-data-ui-transition": C.value && b(I),
|
|
1044
|
+
"vue-rings-item-onload": !C.value && A.value.useCssAnimation && !b(R),
|
|
1045
1045
|
"vue-ui-rings-shadow": M.value.useShadow,
|
|
1046
|
-
"vue-ui-rings-blur":
|
|
1046
|
+
"vue-ui-rings-blur": E.value !== null && E.value !== n
|
|
1047
1047
|
})
|
|
1048
|
-
}, null, 10,
|
|
1049
|
-
|
|
1048
|
+
}, null, 10, mt),
|
|
1049
|
+
d("circle", {
|
|
1050
1050
|
cx: X(t, n).x,
|
|
1051
1051
|
cy: X(t, n).y,
|
|
1052
1052
|
r: N.value.dataLabels.markers.radius,
|
|
1053
1053
|
fill: t.color,
|
|
1054
1054
|
stroke: F.value.backgroundColor,
|
|
1055
|
-
class:
|
|
1056
|
-
"vue-data-ui-transition":
|
|
1057
|
-
"vue-rings-item-onload": !
|
|
1055
|
+
class: m({
|
|
1056
|
+
"vue-data-ui-transition": C.value && b(I),
|
|
1057
|
+
"vue-rings-item-onload": !C.value && A.value.useCssAnimation && !b(R),
|
|
1058
1058
|
"vue-ui-rings-shadow": M.value.useShadow,
|
|
1059
|
-
"vue-ui-rings-blur":
|
|
1059
|
+
"vue-ui-rings-blur": E.value !== null && E.value !== n
|
|
1060
1060
|
})
|
|
1061
|
-
}, null, 10,
|
|
1062
|
-
|
|
1061
|
+
}, null, 10, ht),
|
|
1062
|
+
d("text", {
|
|
1063
1063
|
"text-anchor": N.value.dataLabels.markers.position === "left" ? "end" : "start",
|
|
1064
1064
|
"font-size": N.value.dataLabels.fontSize,
|
|
1065
1065
|
fill: N.value.dataLabels.color,
|
|
1066
1066
|
"font-weight": N.value.dataLabels.bold ? "bold" : "normal",
|
|
1067
|
-
class:
|
|
1068
|
-
"vue-data-ui-transition":
|
|
1069
|
-
"vue-rings-item-onload": !
|
|
1067
|
+
class: m({
|
|
1068
|
+
"vue-data-ui-transition": C.value && b(I),
|
|
1069
|
+
"vue-rings-item-onload": !C.value && A.value.useCssAnimation && !b(R),
|
|
1070
1070
|
"vue-ui-rings-shadow": M.value.useShadow,
|
|
1071
|
-
"vue-ui-rings-blur":
|
|
1071
|
+
"vue-ui-rings-blur": E.value !== null && E.value !== n
|
|
1072
1072
|
}),
|
|
1073
1073
|
transform: `translate(${X(t, n).x + (N.value.dataLabels.markers.position === "left" ? -N.value.dataLabels.offsetX - 14 : N.value.dataLabels.offsetX) + 6}, ${X(t, n).y + N.value.dataLabels.fontSize / 3})`,
|
|
1074
1074
|
onMouseenter: (e) => In(t, n, "pointer"),
|
|
1075
1075
|
onMouseleave: (e) => An(t, n),
|
|
1076
1076
|
onClick: (e) => kn(t, n),
|
|
1077
|
-
innerHTML:
|
|
1077
|
+
innerHTML: b(a)({
|
|
1078
1078
|
content: Mn(t),
|
|
1079
1079
|
fontSize: N.value.dataLabels.fontSize,
|
|
1080
1080
|
fill: N.value.dataLabels.color,
|
|
@@ -1082,39 +1082,39 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
1082
1082
|
y: 0,
|
|
1083
1083
|
translateY: !0
|
|
1084
1084
|
})
|
|
1085
|
-
}, null, 42,
|
|
1086
|
-
], 64)) :
|
|
1085
|
+
}, null, 42, gt)
|
|
1086
|
+
], 64)) : l("", !0)
|
|
1087
1087
|
]))), 128)),
|
|
1088
|
-
|
|
1088
|
+
y(e.$slots, "svg", { svg: {
|
|
1089
1089
|
...W.value,
|
|
1090
|
-
isPrintingImg:
|
|
1091
|
-
isPrintingSvg:
|
|
1090
|
+
isPrintingImg: b(un) || b(dn) || b(Zn),
|
|
1091
|
+
isPrintingSvg: b(Qn)
|
|
1092
1092
|
} }, void 0, !0)
|
|
1093
|
-
], 46,
|
|
1093
|
+
], 46, st)), e.$slots.hint ? (_(), u("div", _t, [y(e.$slots, "hint", h(p({
|
|
1094
1094
|
hint: A.value.a11y.translations.keyboardNavigation,
|
|
1095
1095
|
isVisible: Xt.value
|
|
1096
|
-
})), void 0, !0)])) :
|
|
1097
|
-
e.$slots.watermark ? (
|
|
1098
|
-
|
|
1099
|
-
|
|
1096
|
+
})), void 0, !0)])) : l("", !0)]),
|
|
1097
|
+
e.$slots.watermark ? (_(), u("div", vt, [y(e.$slots, "watermark", h(p({ isPrinting: b(un) || b(dn) || b(Zn) || b(Qn) })), void 0, !0)])) : l("", !0),
|
|
1098
|
+
d("div", { id: `legend-bottom-${w.value}` }, null, 8, yt),
|
|
1099
|
+
Kt.value && (F.value.legend.show || e.$slots.legend) ? (_(), c(Ve, {
|
|
1100
1100
|
key: 6,
|
|
1101
|
-
to: F.value.legend.position === "top" ? `#legend-top-${
|
|
1102
|
-
}, [
|
|
1101
|
+
to: F.value.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
|
|
1102
|
+
}, [d("div", {
|
|
1103
1103
|
ref_key: "chartLegend",
|
|
1104
|
-
ref:
|
|
1105
|
-
}, [
|
|
1106
|
-
key: `legend_${
|
|
1104
|
+
ref: zt
|
|
1105
|
+
}, [y(e.$slots, "legend", { legend: En.value }, () => [F.value.legend.show ? (_(), c(Re, {
|
|
1106
|
+
key: `legend_${Wt.value}`,
|
|
1107
1107
|
legendSet: En.value,
|
|
1108
1108
|
config: Dn.value,
|
|
1109
1109
|
isCursorPointer: L.value,
|
|
1110
1110
|
onClickMarker: t[0] ||= ({ legend: e }) => bn(e.uid)
|
|
1111
|
-
},
|
|
1112
|
-
item:
|
|
1111
|
+
}, He({
|
|
1112
|
+
item: x(({ legend: e, index: t }) => [b(R) ? l("", !0) : (_(), u("div", {
|
|
1113
1113
|
key: 0,
|
|
1114
1114
|
onClick: (t) => bn(e.uid),
|
|
1115
|
-
style:
|
|
1116
|
-
},
|
|
1117
|
-
legendToggle:
|
|
1115
|
+
style: g(`opacity:${G.value.includes(e.uid) ? .5 : 1}`)
|
|
1116
|
+
}, Qe(e.display), 13, bt))]),
|
|
1117
|
+
legendToggle: x(() => [En.value.length > 2 && F.value.legend.selectAllToggle.show && !b(R) ? (_(), c(Ne, {
|
|
1118
1118
|
key: 0,
|
|
1119
1119
|
backgroundColor: F.value.legend.selectAllToggle.backgroundColor,
|
|
1120
1120
|
color: F.value.legend.selectAllToggle.color,
|
|
@@ -1128,11 +1128,11 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
1128
1128
|
"fontSize",
|
|
1129
1129
|
"checked",
|
|
1130
1130
|
"isCursorPointer"
|
|
1131
|
-
])) :
|
|
1131
|
+
])) : l("", !0)]),
|
|
1132
1132
|
_: 2
|
|
1133
1133
|
}, [e.$slots.pattern ? {
|
|
1134
1134
|
name: "legend-pattern",
|
|
1135
|
-
fn:
|
|
1135
|
+
fn: x(({ legend: e, index: t }) => [We(Oe, {
|
|
1136
1136
|
shape: e.shape,
|
|
1137
1137
|
radius: 30,
|
|
1138
1138
|
stroke: "none",
|
|
@@ -1140,23 +1140,23 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
1140
1140
|
x: 30,
|
|
1141
1141
|
y: 30
|
|
1142
1142
|
},
|
|
1143
|
-
fill: `url(#pattern_${
|
|
1143
|
+
fill: `url(#pattern_${w.value}_${t})`
|
|
1144
1144
|
}, null, 8, ["shape", "fill"])]),
|
|
1145
1145
|
key: "0"
|
|
1146
1146
|
} : void 0]), 1032, [
|
|
1147
1147
|
"legendSet",
|
|
1148
1148
|
"config",
|
|
1149
1149
|
"isCursorPointer"
|
|
1150
|
-
])) :
|
|
1151
|
-
e.$slots.source ? (
|
|
1150
|
+
])) : l("", !0)], !0)], 512)], 8, ["to"])) : l("", !0),
|
|
1151
|
+
e.$slots.source ? (_(), u("div", {
|
|
1152
1152
|
key: 7,
|
|
1153
1153
|
ref_key: "source",
|
|
1154
|
-
ref:
|
|
1154
|
+
ref: Bt,
|
|
1155
1155
|
dir: "auto"
|
|
1156
|
-
}, [
|
|
1157
|
-
|
|
1156
|
+
}, [y(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0),
|
|
1157
|
+
We(b(Ct), {
|
|
1158
1158
|
teleportTo: P.value.teleportTo,
|
|
1159
|
-
show: U.value.showTooltip &&
|
|
1159
|
+
show: U.value.showTooltip && T.value && G.value.length < S.dataset.length,
|
|
1160
1160
|
backgroundColor: P.value.backgroundColor,
|
|
1161
1161
|
color: P.value.color,
|
|
1162
1162
|
borderRadius: P.value.borderRadius,
|
|
@@ -1167,20 +1167,20 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
1167
1167
|
position: P.value.position,
|
|
1168
1168
|
offsetX: P.value.offsetX,
|
|
1169
1169
|
offsetY: P.value.offsetY,
|
|
1170
|
-
parent:
|
|
1171
|
-
content:
|
|
1170
|
+
parent: D.value,
|
|
1171
|
+
content: It.value,
|
|
1172
1172
|
isFullscreen: $.value,
|
|
1173
1173
|
isCustom: P.value.customFormat && typeof P.value.customFormat == "function",
|
|
1174
1174
|
smooth: P.value.smooth,
|
|
1175
1175
|
backdropFilter: P.value.backdropFilter,
|
|
1176
1176
|
smoothForce: P.value.smoothForce,
|
|
1177
1177
|
smoothSnapThreshold: P.value.smoothSnapThreshold,
|
|
1178
|
-
isA11yMode:
|
|
1179
|
-
a11yPosition:
|
|
1178
|
+
isA11yMode: k.value === "keyboard",
|
|
1179
|
+
a11yPosition: Yt.value
|
|
1180
1180
|
}, {
|
|
1181
|
-
"tooltip-before":
|
|
1182
|
-
tooltip:
|
|
1183
|
-
"tooltip-after":
|
|
1181
|
+
"tooltip-before": x(() => [y(e.$slots, "tooltip-before", h(p({ ...Fn.value })), void 0, !0)]),
|
|
1182
|
+
tooltip: x(() => [y(e.$slots, "tooltip", h(p({ ...Fn.value })), void 0, !0)]),
|
|
1183
|
+
"tooltip-after": x(() => [y(e.$slots, "tooltip-after", h(p({ ...Fn.value })), void 0, !0)]),
|
|
1184
1184
|
_: 3
|
|
1185
1185
|
}, 8, [
|
|
1186
1186
|
"teleportTo",
|
|
@@ -1206,13 +1206,13 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
1206
1206
|
"isA11yMode",
|
|
1207
1207
|
"a11yPosition"
|
|
1208
1208
|
]),
|
|
1209
|
-
|
|
1209
|
+
Ft.value && j.value.buttons.table ? (_(), c(Xe(Gn.value.component), Ge({ key: 8 }, Gn.value.props, {
|
|
1210
1210
|
ref_key: "tableUnit",
|
|
1211
|
-
ref:
|
|
1211
|
+
ref: qt,
|
|
1212
1212
|
onClose: Kn
|
|
1213
|
-
}),
|
|
1214
|
-
content:
|
|
1215
|
-
key: `table_${
|
|
1213
|
+
}), He({
|
|
1214
|
+
content: x(() => [(_(), c(b(Et), {
|
|
1215
|
+
key: `table_${Ut.value}`,
|
|
1216
1216
|
colNames: Q.value.colNames,
|
|
1217
1217
|
head: Q.value.head,
|
|
1218
1218
|
body: Q.value.body,
|
|
@@ -1222,12 +1222,12 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
1222
1222
|
isCursorPointer: L.value,
|
|
1223
1223
|
onClose: Kn
|
|
1224
1224
|
}, {
|
|
1225
|
-
th:
|
|
1225
|
+
th: x(({ th: e }) => [e === "__SUM__" ? (_(), u("div", xt, [We(b(wt), {
|
|
1226
1226
|
name: "sigma",
|
|
1227
1227
|
stroke: Q.value.config.th.color,
|
|
1228
1228
|
size: 16
|
|
1229
|
-
}, null, 8, ["stroke"])])) : (
|
|
1230
|
-
td:
|
|
1229
|
+
}, null, 8, ["stroke"])])) : (_(), u("div", St, Qe(e), 1))]),
|
|
1230
|
+
td: x(({ td: e }) => [Ue(Qe(e.name || e), 1)]),
|
|
1231
1231
|
_: 1
|
|
1232
1232
|
}, 8, [
|
|
1233
1233
|
"colNames",
|
|
@@ -1241,24 +1241,24 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
1241
1241
|
_: 2
|
|
1242
1242
|
}, [A.value.table.useDialog ? {
|
|
1243
1243
|
name: "title",
|
|
1244
|
-
fn:
|
|
1244
|
+
fn: x(() => [Ue(Qe(Gn.value.title), 1)]),
|
|
1245
1245
|
key: "0"
|
|
1246
1246
|
} : void 0, A.value.table.useDialog ? {
|
|
1247
1247
|
name: "actions",
|
|
1248
|
-
fn:
|
|
1248
|
+
fn: x(() => [d("button", {
|
|
1249
1249
|
tabindex: "0",
|
|
1250
1250
|
class: "vue-ui-user-options-button",
|
|
1251
1251
|
onClick: t[1] ||= (e) => Ln(j.value.callbacks.csv),
|
|
1252
|
-
style:
|
|
1253
|
-
}, [
|
|
1252
|
+
style: g({ cursor: L.value ? "pointer" : "default" })
|
|
1253
|
+
}, [We(b(wt), {
|
|
1254
1254
|
name: "fileCsv",
|
|
1255
1255
|
stroke: Gn.value.props.color
|
|
1256
1256
|
}, null, 8, ["stroke"])], 4)]),
|
|
1257
1257
|
key: "1"
|
|
1258
|
-
} : void 0]), 1040)) :
|
|
1259
|
-
|
|
1260
|
-
], 46,
|
|
1258
|
+
} : void 0]), 1040)) : l("", !0),
|
|
1259
|
+
y(e.$slots, "skeleton", {}, () => [b(R) ? (_(), c(xe, { key: 0 })) : l("", !0)], !0)
|
|
1260
|
+
], 46, rt));
|
|
1261
1261
|
}
|
|
1262
1262
|
}, [["__scopeId", "data-v-ada95822"]]);
|
|
1263
1263
|
//#endregion
|
|
1264
|
-
export {
|
|
1264
|
+
export { nt as n, Ct as t };
|