vue-data-ui 3.10.0 → 3.10.2
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-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.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-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-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-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,43 +1,47 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { c as _e, t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import
|
|
12
|
-
import { _ as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { _ as
|
|
16
|
-
const pt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, arcs: { stroke: "#1A1A1A", labels: { color: "#CCCCCC" } }, ribbons: { stroke: "#1A1A1A", labels: { color: "#CCCCCC", connector: { stroke: "#CCCCCC" }, marker: { stroke: "#1A1A1A" } } } } } },
|
|
1
|
+
import { useCssVars as vo, defineAsyncComponent as H, ref as d, shallowRef as it, toRefs as ho, watch as xe, computed as y, onMounted as ct, onBeforeUnmount as dt, createElementBlock as i, openBlock as s, unref as v, normalizeStyle as N, normalizeClass as R, createBlock as G, createCommentVNode as h, renderSlot as b, createElementVNode as I, withCtx as p, normalizeProps as z, guardReactiveProps as j, createSlots as Ie, withModifiers as vt, createVNode as fe, Fragment as U, renderList as Q, mergeProps as ht, toDisplayString as Z, Teleport as fo, resolveDynamicComponent as bo, createTextVNode as ft, nextTick as bt } from "vue";
|
|
2
|
+
import { c as _e, t as go, i as po, j as be, o as mo, g as gt, l as yo, k as ko, m as Co, X as Ao, x as $o, d as Pe, as as wo, au as Mo, v as xo, r as Io, a as _o } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as Po, u as Bo } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as So, a as Be } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as To, B as Do } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
+
import { u as Eo } from "./usePrinter-1NmjuP-i.js";
|
|
7
|
+
import { u as Fo } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as Oo } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as Lo } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as No } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import Ro from "./img-6fNF_rG0.js";
|
|
12
|
+
import { _ as zo } from "./Shape-PzdCMGsP.js";
|
|
13
|
+
import jo from "./Title-NgeRXqRA.js";
|
|
14
|
+
import Uo from "./Legend-DN5UJOBH.js";
|
|
15
|
+
import { _ as Xo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const pt = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 } } } }, mt = { userOptions: { show: !1 }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, arcs: { stroke: "#1A1A1A", labels: { color: "#CCCCCC" } }, ribbons: { stroke: "#1A1A1A", labels: { color: "#CCCCCC", connector: { stroke: "#CCCCCC" }, marker: { stroke: "#1A1A1A" } } } } } }, yt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, arcs: { stroke: "#1A1A1A", labels: { color: "#CCCCCC" } }, ribbons: { stroke: "#1A1A1A", labels: { color: "#CCCCCC", connector: { stroke: "#CCCCCC" }, marker: { stroke: "#1A1A1A" } } } } } }, kt = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", title: { color: "#424242", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, arcs: { stroke: "#FFF8E1", labels: { color: "#424242" } }, ribbons: { stroke: "#FFF8E1", labels: { color: "#424242", connector: { stroke: "#424242" }, marker: { stroke: "#FFF8E1" } } } } } }, Ct = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, arcs: { stroke: "#1E1E1E", labels: { color: "#BDBDBD" } }, ribbons: { stroke: "#1E1E1E", labels: { color: "#BDBDBD", connector: { stroke: "#BDBDBD" }, marker: { stroke: "#1E1E1E" } } } } } }, At = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, arcs: { stroke: "#1A1A1A", labels: { color: "#99AA99" } }, ribbons: { stroke: "#1A1A1A", labels: { color: "#99AA99", connector: { stroke: "#99AA99" }, marker: { stroke: "#1A1A1A" } } } } } }, $t = { table: { th: { backgroundColor: "#fbfafa", color: "#8A9892" }, td: { backgroundColor: "#fbfafa", color: "#8A9892" } }, style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#fbfafa", color: "#8A9892" }, arcs: { stroke: "#fbfafa", labels: { color: "#8A9892" } }, ribbons: { stroke: "#fbfafa", labels: { color: "#8A9892", connector: { stroke: "#8A9892" }, marker: { stroke: "#fbfafa" } } } } } }, wt = { table: { th: { backgroundColor: "#fbfafa", color: "#8A9892" }, td: { backgroundColor: "#fbfafa", color: "#8A9892" } }, style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", title: { color: "#50606C", subtitle: { color: "#718890" } }, legend: { backgroundColor: "#f6f6fb", color: "#50606C" }, arcs: { stroke: "#f6f6fb", labels: { color: "#50606C" } }, ribbons: { stroke: "#f6f6fb", labels: { color: "#50606C", connector: { stroke: "#50606C" }, marker: { stroke: "#f6f6fb" } } } } } }, Mt = {
|
|
17
17
|
default: {},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
minimal: pt,
|
|
19
|
+
minimalDark: mt,
|
|
20
|
+
dark: yt,
|
|
21
|
+
celebration: kt,
|
|
22
|
+
celebrationNight: Ct,
|
|
23
|
+
hack: At,
|
|
24
|
+
zen: $t,
|
|
25
|
+
concrete: wt
|
|
26
|
+
}, Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
27
|
__proto__: null,
|
|
26
|
-
celebration:
|
|
27
|
-
celebrationNight:
|
|
28
|
-
concrete:
|
|
29
|
-
dark:
|
|
30
|
-
default:
|
|
31
|
-
hack:
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
celebration: kt,
|
|
29
|
+
celebrationNight: Ct,
|
|
30
|
+
concrete: wt,
|
|
31
|
+
dark: yt,
|
|
32
|
+
default: Mt,
|
|
33
|
+
hack: At,
|
|
34
|
+
minimal: pt,
|
|
35
|
+
minimalDark: mt,
|
|
36
|
+
zen: $t
|
|
37
|
+
}, Symbol.toStringTag, { value: "Module" })), Vo = ["id"], Go = ["id"], Yo = ["xmlns", "viewBox"], Wo = ["width", "height"], qo = { key: 1 }, Ho = ["id", "d"], Qo = { key: 2 }, Zo = ["transform"], Jo = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Ko = ["d", "fill", "stroke", "stroke-width"], ea = ["d", "fill"], ta = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick", "onMouseleave"], oa = ["d", "fill", "stroke", "stroke-width"], aa = ["d", "fill", "stroke", "stroke-width"], la = ["d", "fill", "stroke", "stroke-width"], na = { key: 0 }, ra = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], sa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ua = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], ia = ["transform", "fill", "text-anchor", "font-size", "font-weight"], ca = { key: 1 }, da = ["font-size", "font-weight", "fill"], va = ["href"], ha = ["transform", "text-anchor", "font-size", "font-weight", "fill", "innerHTML"], fa = {
|
|
34
38
|
key: 4,
|
|
35
39
|
class: "vue-data-ui-watermark"
|
|
36
|
-
},
|
|
40
|
+
}, ba = ["id"], ga = ["onClick"], pa = {
|
|
37
41
|
key: 7,
|
|
38
42
|
"data-dom-to-png-ignore": "",
|
|
39
43
|
class: "reset-wrapper"
|
|
40
|
-
},
|
|
44
|
+
}, ma = { style: { "text-align": "right", width: "100%" } }, ya = {
|
|
41
45
|
__name: "vue-ui-chord",
|
|
42
46
|
props: {
|
|
43
47
|
dataset: {
|
|
@@ -54,12 +58,12 @@ const pt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
54
58
|
}
|
|
55
59
|
},
|
|
56
60
|
emits: ["selectLegend", "selectGroup", "selectRibbon"],
|
|
57
|
-
setup(
|
|
58
|
-
|
|
61
|
+
setup(xt, { expose: It, emit: _t }) {
|
|
62
|
+
vo((e) => ({
|
|
59
63
|
v0e648af8: e.slicerColor
|
|
60
64
|
}));
|
|
61
|
-
const
|
|
62
|
-
...
|
|
65
|
+
const Pt = H(() => import("./vue-ui-accordion-DFKaB_05.js")), Se = H(() => import("./BaseIcon-4uOct8re.js")), Bt = H(() => import("./DataTable-DyoDzNNY.js")), St = H(() => import("./PackageVersion-CQxJyGQr.js")), Tt = H(() => import("./PenAndPaper-LTuSTmWE.js")), Dt = H(() => import("./UserOptions-CX7Xsusk.js")), Et = H(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_chord: Ft } = So(), { isThemeValid: Ot, warnInvalidTheme: Lt } = Oo(), T = xt, se = _t, O = d(!!T.dataset && Object.hasOwn(T.dataset, "matrix")), $ = d(_e()), w = d(null), k = d(null), g = d(null), Te = d(0), D = d(null), De = d(null), Ee = d(null), Fe = d(null), Oe = d(null), ge = d(0), pe = d(0), me = d(0), J = d(!1), X = it(null), K = it(null), Le = d(!1), te = d(null), ye = d(null), t = d(Ce()), { loading: Ne, FINAL_DATASET: M, manualLoading: oe } = To({
|
|
66
|
+
...ho(T),
|
|
63
67
|
FINAL_CONFIG: t,
|
|
64
68
|
prepareConfig: Ce,
|
|
65
69
|
callback: () => {
|
|
@@ -77,7 +81,7 @@ const pt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
77
81
|
labels: [],
|
|
78
82
|
colors: ["#DBDBDB", "#C4C4C4", "#ADADAD", "#969696"]
|
|
79
83
|
},
|
|
80
|
-
skeletonConfig:
|
|
84
|
+
skeletonConfig: go({
|
|
81
85
|
defaultConfig: t.value,
|
|
82
86
|
userConfig: {
|
|
83
87
|
useCssAnimation: !1,
|
|
@@ -106,7 +110,7 @@ const pt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
106
110
|
}
|
|
107
111
|
}
|
|
108
112
|
})
|
|
109
|
-
}), { userOptionsVisible: ke, setUserOptionsVisibility: Re, keepUserOptionState: ze } =
|
|
113
|
+
}), { userOptionsVisible: ke, setUserOptionsVisibility: Re, keepUserOptionState: ze } = Lo({ config: t.value }), { svgRef: ee } = No({ config: t.value.style.chart.title }), { isPrinting: je, isImaging: Ue, generatePdf: Xe, generateImage: Ve } = Eo({
|
|
110
114
|
elementId: `chord_${$.value}`,
|
|
111
115
|
fileName: t.value.style.chart.title.text || "vue-ui-chord",
|
|
112
116
|
options: t.value.userOptions.print
|
|
@@ -116,13 +120,13 @@ const pt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
116
120
|
function Ce() {
|
|
117
121
|
const e = Be({
|
|
118
122
|
userConfig: T.config,
|
|
119
|
-
defaultConfig:
|
|
123
|
+
defaultConfig: Ft
|
|
120
124
|
}), a = e.theme;
|
|
121
125
|
if (!a) return e;
|
|
122
|
-
if (!
|
|
123
|
-
return
|
|
126
|
+
if (!Ot.value(e))
|
|
127
|
+
return Lt(e), e;
|
|
124
128
|
const o = Be({
|
|
125
|
-
userConfig:
|
|
129
|
+
userConfig: Mt[a] || T.config,
|
|
126
130
|
defaultConfig: e
|
|
127
131
|
}), l = Be({
|
|
128
132
|
userConfig: T.config,
|
|
@@ -130,7 +134,7 @@ const pt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
130
134
|
});
|
|
131
135
|
return {
|
|
132
136
|
...l,
|
|
133
|
-
customPalette: l.customPalette.length ? l.customPalette :
|
|
137
|
+
customPalette: l.customPalette.length ? l.customPalette : po[a] || be
|
|
134
138
|
};
|
|
135
139
|
}
|
|
136
140
|
xe(() => T.config, (e) => {
|
|
@@ -141,7 +145,7 @@ const pt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
141
145
|
Ye(), Ae(), ge.value += 1, pe.value += 1, me.value += 1;
|
|
142
146
|
});
|
|
143
147
|
function Ye() {
|
|
144
|
-
if (
|
|
148
|
+
if (mo(T.dataset)) {
|
|
145
149
|
gt({
|
|
146
150
|
componentName: "VueUiChord",
|
|
147
151
|
type: "dataset",
|
|
@@ -149,7 +153,7 @@ const pt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
149
153
|
}), O.value = !1, oe.value = !0;
|
|
150
154
|
return;
|
|
151
155
|
}
|
|
152
|
-
const e =
|
|
156
|
+
const e = yo({
|
|
153
157
|
datasetObject: T.dataset,
|
|
154
158
|
requiredAttributes: ["matrix"]
|
|
155
159
|
});
|
|
@@ -187,23 +191,23 @@ dataset.matrix[${l}] = [${Array.isArray(a[l]) ? a[l].toString() : "invalid"}]`
|
|
|
187
191
|
}
|
|
188
192
|
function Ae() {
|
|
189
193
|
if (Ye(), t.value.responsive) {
|
|
190
|
-
const e =
|
|
191
|
-
const { width: a, height: o, heightNoTitle: l, heightSource: r, heightTitle: n, heightLegend: u } =
|
|
192
|
-
chart:
|
|
193
|
-
title: t.value.style.chart.title.text ?
|
|
194
|
-
legend: t.value.style.chart.legend.show ?
|
|
194
|
+
const e = Po(() => {
|
|
195
|
+
const { width: a, height: o, heightNoTitle: l, heightSource: r, heightTitle: n, heightLegend: u } = Bo({
|
|
196
|
+
chart: D.value,
|
|
197
|
+
title: t.value.style.chart.title.text ? De.value : null,
|
|
198
|
+
legend: t.value.style.chart.legend.show ? Ee.value : null,
|
|
195
199
|
source: Fe.value,
|
|
196
200
|
noTitle: Oe.value
|
|
197
201
|
}), f = n + u + r + l;
|
|
198
|
-
a < o ?
|
|
202
|
+
a < o ? D.value.style.width = "100%" : (D.value.style.height = "100%", ee.value.style.height = `calc(100% - ${f}px)`);
|
|
199
203
|
}, 100);
|
|
200
|
-
X.value && (K.value && X.value.unobserve(K.value), X.value.disconnect()), X.value = new ResizeObserver(e), K.value =
|
|
204
|
+
X.value && (K.value && X.value.unobserve(K.value), X.value.disconnect()), X.value = new ResizeObserver(e), K.value = D.value.parentNode, X.value.observe(K.value), e();
|
|
201
205
|
}
|
|
202
206
|
We.value = setTimeout(() => {
|
|
203
207
|
J.value = !0;
|
|
204
208
|
}, 500);
|
|
205
209
|
}
|
|
206
|
-
function
|
|
210
|
+
function Nt() {
|
|
207
211
|
if (!M.value || !Object.hasOwn(M.value, "matrix") || M.value.matrix.length < 2) {
|
|
208
212
|
console.warn(`VueUiChord: dataset.matrix requires a minimum of 2 datapoints, for example:
|
|
209
213
|
|
|
@@ -223,18 +227,18 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
223
227
|
ct(() => {
|
|
224
228
|
Le.value = !0, Ae();
|
|
225
229
|
});
|
|
226
|
-
const
|
|
230
|
+
const E = d({
|
|
227
231
|
height: 600,
|
|
228
232
|
width: 600
|
|
229
|
-
}),
|
|
230
|
-
inner:
|
|
231
|
-
outer:
|
|
232
|
-
})),
|
|
233
|
+
}), Rt = y(() => t.value.userOptions.show && !t.value.style.chart.title.text), zt = y(() => ko(t.value.customPalette)), m = y(() => ({
|
|
234
|
+
inner: E.value.width * 0.3 * t.value.style.chart.arcs.innerRadiusRatio,
|
|
235
|
+
outer: E.value.width * 0.34 * t.value.style.chart.arcs.outerRadiusRatio
|
|
236
|
+
})), jt = y(() => t.value.style.chart.arcs.padAngle / 100), C = y(() => ({
|
|
233
237
|
matrix: M.value.matrix ?? [[0]],
|
|
234
238
|
labels: M.value.labels ?? [""],
|
|
235
|
-
colors: M.value.colors && Array.isArray(M.value.colors) && M.value.colors.length ? M.value.colors.map((e) =>
|
|
239
|
+
colors: M.value.colors && Array.isArray(M.value.colors) && M.value.colors.length ? M.value.colors.map((e) => Co(e)) : M.value.matrix.map((e, a) => zt.value[a] || be[a] || be[a % be.length])
|
|
236
240
|
}));
|
|
237
|
-
function
|
|
241
|
+
function Ut(e, a) {
|
|
238
242
|
const o = e.length, l = m.value.inner, r = new Array(o).fill(0);
|
|
239
243
|
let n = 0;
|
|
240
244
|
for (let c = 0; c < o; c += 1)
|
|
@@ -288,11 +292,11 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
288
292
|
return { groups: f, chords: L };
|
|
289
293
|
}
|
|
290
294
|
const x = y(() => {
|
|
291
|
-
const e =
|
|
292
|
-
return
|
|
295
|
+
const e = Ut(C.value.matrix, jt.value);
|
|
296
|
+
return Nt(), e.chords.sort(
|
|
293
297
|
(a, o) => Math.max(o.source.value, o.target.value) - Math.max(a.source.value, a.target.value)
|
|
294
298
|
), e;
|
|
295
|
-
}),
|
|
299
|
+
}), Xt = y(() => {
|
|
296
300
|
const e = m.value.outer + t.value.style.chart.ribbons.labels.offset + 12, o = t.value.style.chart.ribbons.labels.fontSize * 0.6, l = [];
|
|
297
301
|
if (k.value) {
|
|
298
302
|
const n = k.value;
|
|
@@ -351,8 +355,8 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
351
355
|
});
|
|
352
356
|
}
|
|
353
357
|
return g.value && r(g.value), w.value && r(w.value.id), l;
|
|
354
|
-
}),
|
|
355
|
-
const e =
|
|
358
|
+
}), Vt = y(() => {
|
|
359
|
+
const e = Xt.value.map((r) => ({ ...r })).sort((r, n) => r.theta - n.theta), a = t.value.style.chart.ribbons.labels.minSeparationDeg * Math.PI / 180;
|
|
356
360
|
let o = !0, l = 0;
|
|
357
361
|
for (; o && l++ < 10; ) {
|
|
358
362
|
o = !1;
|
|
@@ -374,21 +378,21 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
374
378
|
return `M${f},${P}A${o},${o} 0 ${V} 1 ${B},${L}Q0,0 ${c},${A}A${o},${o} 0 ${q} 1 ${S},${F}Q0,0 ${f},${P}Z`;
|
|
375
379
|
}
|
|
376
380
|
const He = y(() => _.value * Math.PI / 180);
|
|
377
|
-
function
|
|
381
|
+
function Gt(e) {
|
|
378
382
|
return (e.startAngle + e.endAngle) / 2;
|
|
379
383
|
}
|
|
380
|
-
function
|
|
381
|
-
return ((
|
|
384
|
+
function Yt(e) {
|
|
385
|
+
return ((Gt(e) + He.value) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
|
|
382
386
|
}
|
|
383
|
-
function
|
|
387
|
+
function Wt(e) {
|
|
384
388
|
let a = e + He.value;
|
|
385
389
|
return a = (a % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI), a > Math.PI ? "end" : "start";
|
|
386
390
|
}
|
|
387
|
-
function
|
|
391
|
+
function qt(e) {
|
|
388
392
|
const a = e - Math.PI / 2, o = Math.cos(a) * (m.value.outer + t.value.style.chart.arcs.labels.offset + 24), l = Math.sin(a) * (m.value.outer + t.value.style.chart.arcs.labels.offset + 24);
|
|
389
393
|
return `translate(${o},${l})`;
|
|
390
394
|
}
|
|
391
|
-
function
|
|
395
|
+
function Ht(e, a, o) {
|
|
392
396
|
const l = e - Math.PI / 2, r = a - Math.PI / 2, n = Math.cos(l) * o, u = Math.sin(l) * o, f = Math.cos(r) * o, P = Math.sin(r) * o, B = a - e > Math.PI ? 1 : 0;
|
|
393
397
|
return `M${n},${u} A${o},${o} 0 ${B} 1 ${f},${P}`;
|
|
394
398
|
}
|
|
@@ -410,7 +414,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
410
414
|
ae.value = !1;
|
|
411
415
|
}
|
|
412
416
|
function et(e) {
|
|
413
|
-
return
|
|
417
|
+
return _o(
|
|
414
418
|
t.value.style.chart.ribbons.labels.formatter,
|
|
415
419
|
e,
|
|
416
420
|
Pe({
|
|
@@ -430,22 +434,22 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
430
434
|
function tt(e) {
|
|
431
435
|
de.value = e, Te.value += 1;
|
|
432
436
|
}
|
|
433
|
-
function
|
|
437
|
+
function Qt(e, a) {
|
|
434
438
|
t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: a }), !g.value && (w.value = e);
|
|
435
439
|
}
|
|
436
|
-
function
|
|
440
|
+
function Zt(e, a) {
|
|
437
441
|
w.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: a });
|
|
438
442
|
}
|
|
439
|
-
function
|
|
443
|
+
function Jt(e, a) {
|
|
440
444
|
se("selectGroup", e), t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: e, seriesIndex: a });
|
|
441
445
|
}
|
|
442
|
-
function
|
|
446
|
+
function Kt(e, a) {
|
|
443
447
|
t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: a }), !g.value && (k.value = e);
|
|
444
448
|
}
|
|
445
|
-
function
|
|
449
|
+
function eo(e, a) {
|
|
446
450
|
k.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: a });
|
|
447
451
|
}
|
|
448
|
-
function
|
|
452
|
+
function to(e, a) {
|
|
449
453
|
se("selectRibbon", e), t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: e, seriesIndex: a });
|
|
450
454
|
}
|
|
451
455
|
function ot(e) {
|
|
@@ -461,7 +465,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
461
465
|
function lt() {
|
|
462
466
|
Y.value.showTable = !Y.value.showTable;
|
|
463
467
|
}
|
|
464
|
-
function
|
|
468
|
+
function oo() {
|
|
465
469
|
return x.value;
|
|
466
470
|
}
|
|
467
471
|
const W = d(null);
|
|
@@ -488,7 +492,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
488
492
|
id: e.id,
|
|
489
493
|
select: () => rt(e.id),
|
|
490
494
|
opacity: g.value ? g.value === e.id ? 1 : 0.3 : 1
|
|
491
|
-
}))),
|
|
495
|
+
}))), ao = y(() => ({
|
|
492
496
|
cy: "chord-div-legend",
|
|
493
497
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
494
498
|
color: t.value.style.chart.legend.color,
|
|
@@ -537,13 +541,13 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
537
541
|
[""],
|
|
538
542
|
...C.value.labels.map((r, n) => [r || n])
|
|
539
543
|
]
|
|
540
|
-
].concat(a), l =
|
|
541
|
-
e ? e(l) :
|
|
544
|
+
].concat(a), l = xo(o);
|
|
545
|
+
e ? e(l) : Io({ csvContent: l, title: t.value.style.chart.title.text || "vue-ui-chord" });
|
|
542
546
|
});
|
|
543
547
|
}
|
|
544
|
-
async function
|
|
545
|
-
if (!
|
|
546
|
-
const { width: a, height: o } =
|
|
548
|
+
async function lo({ scale: e = 2 } = {}) {
|
|
549
|
+
if (!D.value) return;
|
|
550
|
+
const { width: a, height: o } = D.value.getBoundingClientRect(), l = a / o, { imageUri: r, base64: n } = await Ro({ domElement: D.value, base64: !0, img: !0, scale: e });
|
|
547
551
|
return {
|
|
548
552
|
imageUri: r,
|
|
549
553
|
base64: n,
|
|
@@ -553,7 +557,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
553
557
|
aspectRatio: l
|
|
554
558
|
};
|
|
555
559
|
}
|
|
556
|
-
function
|
|
560
|
+
function no(e, a) {
|
|
557
561
|
return `${C.value.labels[a]}${t.value.style.chart.arcs.labels.showPercentage ? Pe({
|
|
558
562
|
p: " (",
|
|
559
563
|
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
@@ -564,7 +568,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
564
568
|
const ne = y(() => {
|
|
565
569
|
const e = t.value.table.useDialog && !t.value.table.show, a = Y.value.showTable;
|
|
566
570
|
return {
|
|
567
|
-
component: e ?
|
|
571
|
+
component: e ? Et : Pt,
|
|
568
572
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? `: ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
569
573
|
props: e ? {
|
|
570
574
|
backgroundColor: t.value.table.th.backgroundColor,
|
|
@@ -572,7 +576,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
572
576
|
headerColor: t.value.table.th.color,
|
|
573
577
|
headerBg: t.value.table.th.backgroundColor,
|
|
574
578
|
isFullscreen: de.value,
|
|
575
|
-
fullscreenParent:
|
|
579
|
+
fullscreenParent: D.value,
|
|
576
580
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
577
581
|
} : {
|
|
578
582
|
hideDetails: !0,
|
|
@@ -597,23 +601,23 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
597
601
|
function st() {
|
|
598
602
|
Y.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
|
|
599
603
|
}
|
|
600
|
-
const
|
|
604
|
+
const ro = y(() => t.value.style.chart.backgroundColor), so = y(() => t.value.style.chart.legend), uo = y(() => t.value.style.chart.title), { exportSvg: io, getSvg: co } = Fo({
|
|
601
605
|
svg: ee,
|
|
602
|
-
title:
|
|
603
|
-
legend:
|
|
606
|
+
title: uo,
|
|
607
|
+
legend: so,
|
|
604
608
|
legendItems: we,
|
|
605
|
-
backgroundColor:
|
|
609
|
+
backgroundColor: ro
|
|
606
610
|
});
|
|
607
611
|
async function ut({ isCb: e }) {
|
|
608
612
|
if (e) {
|
|
609
|
-
const { blob: a, url: o, text: l, dataUrl: r } = await
|
|
613
|
+
const { blob: a, url: o, text: l, dataUrl: r } = await co();
|
|
610
614
|
t.value.userOptions.callbacks.svg({ blob: a, url: o, text: l, dataUrl: r });
|
|
611
615
|
} else
|
|
612
|
-
|
|
616
|
+
io();
|
|
613
617
|
}
|
|
614
|
-
return
|
|
615
|
-
getData:
|
|
616
|
-
getImage:
|
|
618
|
+
return It({
|
|
619
|
+
getData: oo,
|
|
620
|
+
getImage: lo,
|
|
617
621
|
generateCsv: Me,
|
|
618
622
|
generateImage: Ve,
|
|
619
623
|
generateSvg: ut,
|
|
@@ -623,7 +627,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
623
627
|
toggleFullscreen: tt
|
|
624
628
|
}), (e, a) => (s(), i("div", {
|
|
625
629
|
ref_key: "chordChart",
|
|
626
|
-
ref:
|
|
630
|
+
ref: D,
|
|
627
631
|
class: R({
|
|
628
632
|
"vue-data-ui-component": !0,
|
|
629
633
|
"vue-ui-chord": !0,
|
|
@@ -635,7 +639,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
635
639
|
onMouseenter: a[2] || (a[2] = () => v(Re)(!0)),
|
|
636
640
|
onMouseleave: a[3] || (a[3] = () => v(Re)(!1))
|
|
637
641
|
}, [
|
|
638
|
-
t.value.userOptions.buttons.annotator && v(ee) ? (s(), G(v(
|
|
642
|
+
t.value.userOptions.buttons.annotator && v(ee) ? (s(), G(v(Tt), {
|
|
639
643
|
key: 0,
|
|
640
644
|
color: t.value.style.chart.color,
|
|
641
645
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -664,7 +668,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
664
668
|
_: 3
|
|
665
669
|
}, 8, ["color", "backgroundColor", "active", "svgRef"])) : h("", !0),
|
|
666
670
|
b(e.$slots, "userConfig", {}, void 0, !0),
|
|
667
|
-
|
|
671
|
+
Rt.value ? (s(), i("div", {
|
|
668
672
|
key: 1,
|
|
669
673
|
ref_key: "noTitle",
|
|
670
674
|
ref: Oe,
|
|
@@ -674,10 +678,10 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
674
678
|
t.value.style.chart.title.text ? (s(), i("div", {
|
|
675
679
|
key: 2,
|
|
676
680
|
ref_key: "chartTitle",
|
|
677
|
-
ref:
|
|
681
|
+
ref: De,
|
|
678
682
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
679
683
|
}, [
|
|
680
|
-
(s(), G(
|
|
684
|
+
(s(), G(jo, {
|
|
681
685
|
key: `title_${ge.value}`,
|
|
682
686
|
config: {
|
|
683
687
|
title: {
|
|
@@ -693,8 +697,8 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
693
697
|
], 512)) : h("", !0),
|
|
694
698
|
I("div", {
|
|
695
699
|
id: `legend-top-${$.value}`
|
|
696
|
-
}, null, 8,
|
|
697
|
-
t.value.userOptions.show && O.value && (v(ze) || v(ke)) ? (s(), G(v(
|
|
700
|
+
}, null, 8, Go),
|
|
701
|
+
t.value.userOptions.show && O.value && (v(ze) || v(ke)) ? (s(), G(v(Dt), {
|
|
698
702
|
ref_key: "userOptionsRef",
|
|
699
703
|
ref: ye,
|
|
700
704
|
key: `user_option_${Te.value}`,
|
|
@@ -712,7 +716,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
712
716
|
hasLabel: !1,
|
|
713
717
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
714
718
|
isFullscreen: de.value,
|
|
715
|
-
chartElement:
|
|
719
|
+
chartElement: D.value,
|
|
716
720
|
position: t.value.userOptions.position,
|
|
717
721
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
718
722
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
@@ -789,10 +793,10 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
789
793
|
} : void 0
|
|
790
794
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
791
795
|
(s(), i("svg", {
|
|
792
|
-
xmlns: v(
|
|
796
|
+
xmlns: v(Ao),
|
|
793
797
|
ref_key: "svgRef",
|
|
794
798
|
ref: ee,
|
|
795
|
-
viewBox: `0 0 ${
|
|
799
|
+
viewBox: `0 0 ${E.value.width} ${E.value.height}`,
|
|
796
800
|
preserveAspectRatio: "xMidYMid meet",
|
|
797
801
|
style: {
|
|
798
802
|
overflow: "visible"
|
|
@@ -801,38 +805,38 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
801
805
|
onMousedown: vt(Ke, ["prevent"]),
|
|
802
806
|
onTouchstart: vt(Ke, ["prevent"])
|
|
803
807
|
}, [
|
|
804
|
-
fe(v(
|
|
808
|
+
fe(v(St)),
|
|
805
809
|
e.$slots["chart-background"] ? (s(), i("foreignObject", {
|
|
806
810
|
key: 0,
|
|
807
811
|
x: 0,
|
|
808
812
|
y: 0,
|
|
809
|
-
width:
|
|
810
|
-
height:
|
|
813
|
+
width: E.value.width <= 0 ? 10 : E.value.width,
|
|
814
|
+
height: E.value.height <= 0 ? 10 : E.value.height,
|
|
811
815
|
style: {
|
|
812
816
|
pointerEvents: "none"
|
|
813
817
|
}
|
|
814
818
|
}, [
|
|
815
819
|
b(e.$slots, "chart-background", {}, void 0, !0)
|
|
816
|
-
], 8,
|
|
817
|
-
t.value.style.chart.arcs.labels.curved ? (s(), i("defs",
|
|
820
|
+
], 8, Wo)) : h("", !0),
|
|
821
|
+
t.value.style.chart.arcs.labels.curved ? (s(), i("defs", qo, [
|
|
818
822
|
(s(!0), i(U, null, Q(x.value.groups, (o, l) => (s(), i("path", {
|
|
819
823
|
key: `labelPath-${l}`,
|
|
820
824
|
id: `labelPath-${l}_${$.value}`,
|
|
821
|
-
d:
|
|
825
|
+
d: Ht(
|
|
822
826
|
o.startAngle,
|
|
823
827
|
o.endAngle,
|
|
824
828
|
(m.value.inner + m.value.outer) / 2 + t.value.style.chart.arcs.labels.offset
|
|
825
829
|
),
|
|
826
830
|
fill: "none"
|
|
827
|
-
}, null, 8,
|
|
831
|
+
}, null, 8, Ho))), 128))
|
|
828
832
|
])) : h("", !0),
|
|
829
|
-
e.$slots.pattern ? (s(), i("g",
|
|
833
|
+
e.$slots.pattern ? (s(), i("g", Qo, [
|
|
830
834
|
(s(!0), i(U, null, Q(x.value.groups, (o, l) => (s(), i("defs", null, [
|
|
831
835
|
b(e.$slots, "pattern", ht({ ref_for: !0 }, { seriesIndex: o.index, patternId: `pattern_${$.value}_${l}` }), void 0, !0)
|
|
832
836
|
]))), 256))
|
|
833
837
|
])) : h("", !0),
|
|
834
838
|
I("g", {
|
|
835
|
-
transform: `translate(${
|
|
839
|
+
transform: `translate(${E.value.width / 2}, ${E.value.height / 2}) rotate(${_.value})`
|
|
836
840
|
}, [
|
|
837
841
|
(s(!0), i(U, null, Q(x.value.groups, (o, l) => (s(), i("g", null, [
|
|
838
842
|
(s(), i("path", {
|
|
@@ -852,10 +856,10 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
852
856
|
style: N({
|
|
853
857
|
opacity: at(o)
|
|
854
858
|
}),
|
|
855
|
-
onMouseenter: (r) =>
|
|
856
|
-
onMouseleave: (r) =>
|
|
857
|
-
onClick: (r) =>
|
|
858
|
-
}, null, 46,
|
|
859
|
+
onMouseenter: (r) => Qt(o, l),
|
|
860
|
+
onMouseleave: (r) => Zt(o, l),
|
|
861
|
+
onClick: (r) => Jt(o, l)
|
|
862
|
+
}, null, 46, Jo)),
|
|
859
863
|
e.$slots.pattern ? (s(), i("path", {
|
|
860
864
|
class: R({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": t.value.useCssAnimation && !J.value }),
|
|
861
865
|
key: `arc-${l}`,
|
|
@@ -874,7 +878,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
874
878
|
opacity: at(o),
|
|
875
879
|
pointerEvents: "none"
|
|
876
880
|
})
|
|
877
|
-
}, null, 14,
|
|
881
|
+
}, null, 14, Ko)) : h("", !0)
|
|
878
882
|
]))), 256)),
|
|
879
883
|
I("g", null, [
|
|
880
884
|
(s(!0), i(U, null, Q(w.value ? x.value.chords.filter((o) => o.source.groupId === w.value.id) : g.value ? x.value.chords.filter((o) => o.source.groupId === g.value) : x.value.chords, (o, l) => (s(), i(U, {
|
|
@@ -886,7 +890,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
886
890
|
d: ue(o.source, o.target),
|
|
887
891
|
fill: t.value.style.chart.backgroundColor,
|
|
888
892
|
style: N({ opacity: t.value.style.chart.ribbons.underlayerOpacity })
|
|
889
|
-
}, null, 14,
|
|
893
|
+
}, null, 14, ea)) : h("", !0),
|
|
890
894
|
o.source.value ? (s(), i("path", {
|
|
891
895
|
key: 1,
|
|
892
896
|
class: R({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": t.value.useCssAnimation && !J.value }),
|
|
@@ -897,20 +901,20 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
897
901
|
"stroke-linecap": "round",
|
|
898
902
|
"stroke-linejoin": "round",
|
|
899
903
|
style: N({ opacity: ot(o) }),
|
|
900
|
-
onMouseenter: (r) =>
|
|
904
|
+
onMouseenter: (r) => Kt({
|
|
901
905
|
...o,
|
|
902
906
|
path: ue(o.source, o.target),
|
|
903
907
|
color: C.value.colors[o.source.index]
|
|
904
908
|
}, l),
|
|
905
|
-
onClick: (r) =>
|
|
909
|
+
onClick: (r) => to({
|
|
906
910
|
...o,
|
|
907
911
|
color: C.value.colors[o.source.index]
|
|
908
912
|
}, l),
|
|
909
|
-
onMouseleave: (r) =>
|
|
913
|
+
onMouseleave: (r) => eo({
|
|
910
914
|
...o,
|
|
911
915
|
color: C.value.colors[o.source.index]
|
|
912
916
|
}, l)
|
|
913
|
-
}, null, 46,
|
|
917
|
+
}, null, 46, ta)) : h("", !0),
|
|
914
918
|
o.source.value && e.$slots.pattern ? (s(), i("path", {
|
|
915
919
|
key: 2,
|
|
916
920
|
class: R({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": t.value.useCssAnimation && !J.value }),
|
|
@@ -924,7 +928,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
924
928
|
opacity: ot(o),
|
|
925
929
|
pointerEvents: "none"
|
|
926
930
|
})
|
|
927
|
-
}, null, 14,
|
|
931
|
+
}, null, 14, oa)) : h("", !0)
|
|
928
932
|
], 64))), 128)),
|
|
929
933
|
k.value ? (s(), i("path", {
|
|
930
934
|
key: 0,
|
|
@@ -938,7 +942,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
938
942
|
style: {
|
|
939
943
|
pointerEvents: "none"
|
|
940
944
|
}
|
|
941
|
-
}, null, 8,
|
|
945
|
+
}, null, 8, aa)) : h("", !0),
|
|
942
946
|
k.value && e.$slots.pattern ? (s(), i("path", {
|
|
943
947
|
key: 1,
|
|
944
948
|
d: k.value.path,
|
|
@@ -951,10 +955,10 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
951
955
|
style: {
|
|
952
956
|
pointerEvents: "none"
|
|
953
957
|
}
|
|
954
|
-
}, null, 8,
|
|
958
|
+
}, null, 8, la)) : h("", !0)
|
|
955
959
|
]),
|
|
956
|
-
(w.value || k.value || g.value) && t.value.style.chart.ribbons.labels.show ? (s(), i("g",
|
|
957
|
-
(s(!0), i(U, null, Q(
|
|
960
|
+
(w.value || k.value || g.value) && t.value.style.chart.ribbons.labels.show ? (s(), i("g", na, [
|
|
961
|
+
(s(!0), i(U, null, Q(Vt.value, (o) => (s(), i(U, {
|
|
958
962
|
key: o.id
|
|
959
963
|
}, [
|
|
960
964
|
I("line", {
|
|
@@ -965,7 +969,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
965
969
|
stroke: t.value.style.chart.backgroundColor,
|
|
966
970
|
"stroke-width": t.value.style.chart.ribbons.labels.connector.strokeWidth * 3,
|
|
967
971
|
"pointer-events": "none"
|
|
968
|
-
}, null, 8,
|
|
972
|
+
}, null, 8, ra),
|
|
969
973
|
I("line", {
|
|
970
974
|
x1: o.midBaseX,
|
|
971
975
|
y1: o.midBaseY,
|
|
@@ -974,7 +978,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
974
978
|
stroke: t.value.style.chart.ribbons.labels.connector.stroke,
|
|
975
979
|
"stroke-width": t.value.style.chart.ribbons.labels.connector.strokeWidth,
|
|
976
980
|
"pointer-events": "none"
|
|
977
|
-
}, null, 8,
|
|
981
|
+
}, null, 8, sa),
|
|
978
982
|
t.value.style.chart.ribbons.labels.marker.show ? (s(), i("circle", {
|
|
979
983
|
key: 0,
|
|
980
984
|
cx: Math.cos(o.theta - Math.PI / 2) * (m.value.outer + t.value.style.chart.ribbons.labels.offset + 12),
|
|
@@ -984,7 +988,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
984
988
|
"stroke-width": t.value.style.chart.ribbons.labels.marker.strokeWidth,
|
|
985
989
|
fill: o.groupColor,
|
|
986
990
|
"pointer-events": "none"
|
|
987
|
-
}, null, 8,
|
|
991
|
+
}, null, 8, ua)) : h("", !0),
|
|
988
992
|
I("text", {
|
|
989
993
|
transform: `
|
|
990
994
|
translate(
|
|
@@ -993,21 +997,21 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
993
997
|
) rotate(${-_.value})
|
|
994
998
|
`,
|
|
995
999
|
fill: t.value.style.chart.ribbons.labels.useSerieColor ? o.groupColor : t.value.style.chart.ribbons.labels.color,
|
|
996
|
-
"text-anchor":
|
|
1000
|
+
"text-anchor": Wt(o.theta),
|
|
997
1001
|
"font-size": t.value.style.chart.ribbons.labels.fontSize,
|
|
998
1002
|
"font-weight": t.value.style.chart.ribbons.labels.bold ? "bold" : "normal",
|
|
999
1003
|
dy: ".35em",
|
|
1000
1004
|
"pointer-events": "none"
|
|
1001
|
-
}, Z(et(o.value)), 9,
|
|
1005
|
+
}, Z(et(o.value)), 9, ia)
|
|
1002
1006
|
], 64))), 128))
|
|
1003
1007
|
])) : h("", !0),
|
|
1004
|
-
t.value.style.chart.arcs.labels.show ? (s(), i("g",
|
|
1008
|
+
t.value.style.chart.arcs.labels.show ? (s(), i("g", ca, [
|
|
1005
1009
|
t.value.style.chart.arcs.labels.curved ? (s(!0), i(U, { key: 0 }, Q(x.value.groups, (o, l) => (s(), i("text", {
|
|
1006
1010
|
class: "vue-ui-chord-label-curved",
|
|
1007
1011
|
key: `curved-label-${l}`,
|
|
1008
1012
|
"font-size": t.value.style.chart.arcs.labels.fontSize,
|
|
1009
1013
|
"font-weight": t.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
1010
|
-
fill: t.value.style.chart.arcs.labels.adaptColorToBackground ? v(
|
|
1014
|
+
fill: t.value.style.chart.arcs.labels.adaptColorToBackground ? v($o)(C.value.colors[l]) : t.value.style.chart.arcs.labels.color
|
|
1011
1015
|
}, [
|
|
1012
1016
|
I("textPath", {
|
|
1013
1017
|
href: `#labelPath-${l}_${$.value}`,
|
|
@@ -1018,49 +1022,49 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1018
1022
|
v: isNaN(o.proportion) ? 0 : o.proportion * 100,
|
|
1019
1023
|
s: "%)",
|
|
1020
1024
|
r: t.value.style.chart.arcs.labels.roundingPercentage
|
|
1021
|
-
}) : ""), 9,
|
|
1022
|
-
], 8,
|
|
1025
|
+
}) : ""), 9, va)
|
|
1026
|
+
], 8, da))), 128)) : !w.value && !k.value && !g.value ? (s(!0), i(U, { key: 1 }, Q(x.value.groups, (o, l) => (s(), i("text", {
|
|
1023
1027
|
class: "vue-ui-chord-label-straight",
|
|
1024
1028
|
key: `label-${l}`,
|
|
1025
1029
|
transform: `
|
|
1026
|
-
${
|
|
1030
|
+
${qt((o.startAngle + o.endAngle) / 2)}
|
|
1027
1031
|
rotate(${-_.value})
|
|
1028
1032
|
`,
|
|
1029
1033
|
dy: ".35em",
|
|
1030
|
-
"text-anchor":
|
|
1034
|
+
"text-anchor": Yt(o) > Math.PI ? "end" : "start",
|
|
1031
1035
|
"font-size": t.value.style.chart.arcs.labels.fontSize,
|
|
1032
1036
|
"font-weight": t.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
1033
1037
|
fill: t.value.style.chart.arcs.labels.color,
|
|
1034
|
-
innerHTML: v(
|
|
1035
|
-
content: v(
|
|
1038
|
+
innerHTML: v(wo)({
|
|
1039
|
+
content: v(Mo)(no(o, l)),
|
|
1036
1040
|
fontSize: t.value.style.chart.arcs.labels.fontSize,
|
|
1037
1041
|
fill: t.value.style.chart.arcs.labels.color,
|
|
1038
1042
|
x: 0,
|
|
1039
1043
|
y: 0
|
|
1040
1044
|
})
|
|
1041
|
-
}, null, 8,
|
|
1045
|
+
}, null, 8, ha))), 128)) : h("", !0)
|
|
1042
1046
|
])) : h("", !0)
|
|
1043
|
-
], 8,
|
|
1047
|
+
], 8, Zo),
|
|
1044
1048
|
b(e.$slots, "svg", { svg: { height: 600, width: 600 } }, void 0, !0)
|
|
1045
|
-
], 42,
|
|
1046
|
-
e.$slots.watermark ? (s(), i("div",
|
|
1049
|
+
], 42, Yo)),
|
|
1050
|
+
e.$slots.watermark ? (s(), i("div", fa, [
|
|
1047
1051
|
b(e.$slots, "watermark", z(j({ isPrinting: v(je) || v(Ue) })), void 0, !0)
|
|
1048
1052
|
])) : h("", !0),
|
|
1049
1053
|
I("div", {
|
|
1050
1054
|
id: `legend-bottom-${$.value}`
|
|
1051
|
-
}, null, 8,
|
|
1052
|
-
Le.value ? (s(), G(
|
|
1055
|
+
}, null, 8, ba),
|
|
1056
|
+
Le.value ? (s(), G(fo, {
|
|
1053
1057
|
key: 5,
|
|
1054
1058
|
to: t.value.style.chart.legend.position === "top" ? `#legend-top-${$.value}` : `#legend-bottom-${$.value}`
|
|
1055
1059
|
}, [
|
|
1056
1060
|
I("div", {
|
|
1057
1061
|
ref_key: "chartLegend",
|
|
1058
|
-
ref:
|
|
1062
|
+
ref: Ee
|
|
1059
1063
|
}, [
|
|
1060
|
-
t.value.style.chart.legend.show ? (s(), G(
|
|
1064
|
+
t.value.style.chart.legend.show ? (s(), G(Uo, {
|
|
1061
1065
|
key: `legend_${me.value}`,
|
|
1062
1066
|
legendSet: we.value,
|
|
1063
|
-
config:
|
|
1067
|
+
config: ao.value,
|
|
1064
1068
|
onClickMarker: a[0] || (a[0] = ({ legend: o }) => rt(o.id))
|
|
1065
1069
|
}, Ie({
|
|
1066
1070
|
item: p(({ legend: o }) => [
|
|
@@ -1069,14 +1073,14 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1069
1073
|
opacity: g.value ? g.value === o.id ? 1 : 0.3 : 1
|
|
1070
1074
|
}),
|
|
1071
1075
|
onClick: (l) => o.select()
|
|
1072
|
-
}, Z(o.name), 13,
|
|
1076
|
+
}, Z(o.name), 13, ga)
|
|
1073
1077
|
]),
|
|
1074
1078
|
_: 2
|
|
1075
1079
|
}, [
|
|
1076
1080
|
e.$slots.pattern ? {
|
|
1077
1081
|
name: "legend-pattern",
|
|
1078
1082
|
fn: p(({ legend: o, index: l }) => [
|
|
1079
|
-
fe(
|
|
1083
|
+
fe(zo, {
|
|
1080
1084
|
shape: o.shape,
|
|
1081
1085
|
radius: 30,
|
|
1082
1086
|
stroke: "none",
|
|
@@ -1098,7 +1102,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1098
1102
|
}, [
|
|
1099
1103
|
b(e.$slots, "source", {}, void 0, !0)
|
|
1100
1104
|
], 512)) : h("", !0),
|
|
1101
|
-
_.value !== t.value.initialRotation ? (s(), i("div",
|
|
1105
|
+
_.value !== t.value.initialRotation ? (s(), i("div", pa, [
|
|
1102
1106
|
b(e.$slots, "reset-action", { reset: nt }, () => [
|
|
1103
1107
|
I("button", {
|
|
1104
1108
|
"data-cy-reset": "",
|
|
@@ -1117,13 +1121,13 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1117
1121
|
], 4)
|
|
1118
1122
|
], !0)
|
|
1119
1123
|
])) : h("", !0),
|
|
1120
|
-
O.value && t.value.userOptions.buttons.table ? (s(), G(
|
|
1124
|
+
O.value && t.value.userOptions.buttons.table ? (s(), G(bo(ne.value.component), ht({ key: 8 }, ne.value.props, {
|
|
1121
1125
|
ref_key: "tableUnit",
|
|
1122
1126
|
ref: te,
|
|
1123
1127
|
onClose: st
|
|
1124
1128
|
}), Ie({
|
|
1125
1129
|
content: p(() => [
|
|
1126
|
-
(s(), G(v(
|
|
1130
|
+
(s(), G(v(Bt), {
|
|
1127
1131
|
key: `table_${pe.value}`,
|
|
1128
1132
|
colNames: he.value.colNames,
|
|
1129
1133
|
head: he.value.head,
|
|
@@ -1137,7 +1141,7 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1137
1141
|
ft(Z(o.name), 1)
|
|
1138
1142
|
]),
|
|
1139
1143
|
td: p(({ td: o }) => [
|
|
1140
|
-
I("div",
|
|
1144
|
+
I("div", ma, Z(o.name ? o.name : et(o)), 1)
|
|
1141
1145
|
]),
|
|
1142
1146
|
_: 1
|
|
1143
1147
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1168,15 +1172,15 @@ dataset.matrix[${a}] = [${e.toString()}] has a length of ${e.length} but should
|
|
|
1168
1172
|
key: "1"
|
|
1169
1173
|
} : void 0
|
|
1170
1174
|
]), 1040)) : h("", !0),
|
|
1171
|
-
v(Ne) ? (s(), G(
|
|
1172
|
-
], 46,
|
|
1175
|
+
v(Ne) ? (s(), G(Do, { key: 9 })) : h("", !0)
|
|
1176
|
+
], 46, Vo));
|
|
1173
1177
|
}
|
|
1174
|
-
},
|
|
1178
|
+
}, ka = /* @__PURE__ */ Xo(ya, [["__scopeId", "data-v-8b52dff2"]]), La = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1175
1179
|
__proto__: null,
|
|
1176
|
-
default:
|
|
1180
|
+
default: ka
|
|
1177
1181
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1178
1182
|
export {
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1183
|
+
Oa as a,
|
|
1184
|
+
La as b,
|
|
1185
|
+
ka as v
|
|
1182
1186
|
};
|