vue-data-ui 3.1.18 → 3.1.19-next.1
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-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-B6W-zkH-.js} +3 -3
- package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CtECQwBN.js → UserOptions-Bn3u4JQu.js} +2 -2
- package/dist/components/arrow.js +5 -0
- package/dist/components/vue-ui-3d-bar.js +5 -0
- package/dist/components/vue-ui-accordion.js +5 -0
- package/dist/components/vue-ui-age-pyramid.js +5 -0
- package/dist/components/vue-ui-bullet.js +5 -0
- package/dist/components/vue-ui-candlestick.js +5 -0
- package/dist/components/vue-ui-carousel-table.js +5 -0
- package/dist/components/vue-ui-chestnut.js +5 -0
- package/dist/components/vue-ui-chord.js +5 -0
- package/dist/components/vue-ui-circle-pack.js +5 -0
- package/dist/components/vue-ui-cursor.js +5 -0
- package/dist/components/vue-ui-dashboard.js +5 -0
- package/dist/components/vue-ui-digits.js +5 -0
- package/dist/components/vue-ui-donut-evolution.js +5 -0
- package/dist/components/vue-ui-donut.js +5 -0
- package/dist/components/vue-ui-dumbbell.js +5 -0
- package/dist/components/vue-ui-flow.js +5 -0
- package/dist/components/vue-ui-funnel.js +5 -0
- package/dist/components/vue-ui-galaxy.js +5 -0
- package/dist/components/vue-ui-gauge.js +5 -0
- package/dist/components/vue-ui-gizmo.js +5 -0
- package/dist/components/vue-ui-heatmap.js +5 -0
- package/dist/components/vue-ui-history-plot.js +5 -0
- package/dist/components/vue-ui-horizontal-bar.js +5 -0
- package/dist/components/vue-ui-icon.js +5 -0
- package/dist/components/vue-ui-kpi.js +5 -0
- package/dist/components/vue-ui-mini-loader.js +5 -0
- package/dist/components/vue-ui-molecule.js +5 -0
- package/dist/components/vue-ui-mood-radar.js +5 -0
- package/dist/components/vue-ui-nested-donuts.js +5 -0
- package/dist/components/vue-ui-onion.js +5 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
- package/dist/components/vue-ui-pattern.js +5 -0
- package/dist/components/vue-ui-quadrant.js +5 -0
- package/dist/components/vue-ui-quick-chart.js +5 -0
- package/dist/components/vue-ui-radar.js +5 -0
- package/dist/components/vue-ui-rating.js +5 -0
- package/dist/components/vue-ui-relation-circle.js +5 -0
- package/dist/components/vue-ui-ridgeline.js +5 -0
- package/dist/components/vue-ui-rings.js +5 -0
- package/dist/components/vue-ui-scatter.js +5 -0
- package/dist/components/vue-ui-skeleton.js +5 -0
- package/dist/components/vue-ui-smiley.js +5 -0
- package/dist/components/vue-ui-spark-trend.js +5 -0
- package/dist/components/vue-ui-sparkbar.js +5 -0
- package/dist/components/vue-ui-sparkgauge.js +5 -0
- package/dist/components/vue-ui-sparkhistogram.js +5 -0
- package/dist/components/vue-ui-sparkline.js +5 -0
- package/dist/components/vue-ui-sparkstackbar.js +5 -0
- package/dist/components/vue-ui-stackbar.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +5 -0
- package/dist/components/vue-ui-table-heatmap.js +5 -0
- package/dist/components/vue-ui-table-sparkline.js +5 -0
- package/dist/components/vue-ui-table.js +5 -0
- package/dist/components/vue-ui-thermometer.js +5 -0
- package/dist/components/vue-ui-timer.js +5 -0
- package/dist/components/vue-ui-tiremarks.js +5 -0
- package/dist/components/vue-ui-treemap.js +5 -0
- package/dist/components/vue-ui-vertical-bar.js +5 -0
- package/dist/components/vue-ui-waffle.js +5 -0
- package/dist/components/vue-ui-wheel.js +5 -0
- package/dist/components/vue-ui-word-cloud.js +5 -0
- package/dist/components/vue-ui-world.js +5 -0
- package/dist/components/vue-ui-xy-canvas.js +5 -0
- package/dist/components/vue-ui-xy.js +5 -0
- package/dist/{dom-to-png-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D1L3r23x.js → pdf-Wd2BQz4D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/themes-D3cUNuKw.js +53 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/vue-data-ui.d.ts +71 -21
- package/dist/types/vue-ui-3d-bar.d.ts +18 -0
- package/dist/types/vue-ui-accordion.d.ts +12 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
- package/dist/types/vue-ui-bullet.d.ts +16 -0
- package/dist/types/vue-ui-candlestick.d.ts +16 -0
- package/dist/types/vue-ui-carousel-table.d.ts +14 -0
- package/dist/types/vue-ui-chestnut.d.ts +17 -0
- package/dist/types/vue-ui-chord.d.ts +19 -0
- package/dist/types/vue-ui-circle-pack.d.ts +17 -0
- package/dist/types/vue-ui-cursor.d.ts +7 -0
- package/dist/types/vue-ui-dashboard.d.ts +14 -0
- package/dist/types/vue-ui-digits.d.ts +10 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
- package/dist/types/vue-ui-donut.d.ts +18 -0
- package/dist/types/vue-ui-dumbbell.d.ts +18 -0
- package/dist/types/vue-ui-flow.d.ts +18 -0
- package/dist/types/vue-ui-funnel.d.ts +15 -0
- package/dist/types/vue-ui-galaxy.d.ts +18 -0
- package/dist/types/vue-ui-gauge.d.ts +16 -0
- package/dist/types/vue-ui-gizmo.d.ts +14 -0
- package/dist/types/vue-ui-heatmap.d.ts +17 -0
- package/dist/types/vue-ui-history-plot.d.ts +19 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
- package/dist/types/vue-ui-icon.d.ts +16 -0
- package/dist/types/vue-ui-kpi.d.ts +13 -0
- package/dist/types/vue-ui-mini-loader.d.ts +13 -0
- package/dist/types/vue-ui-molecule.d.ts +17 -0
- package/dist/types/vue-ui-mood-radar.d.ts +17 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
- package/dist/types/vue-ui-onion.d.ts +18 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
- package/dist/types/vue-ui-pattern.d.ts +17 -0
- package/dist/types/vue-ui-quadrant.d.ts +20 -0
- package/dist/types/vue-ui-quick-chart.d.ts +16 -0
- package/dist/types/vue-ui-radar.d.ts +22 -0
- package/dist/types/vue-ui-rating.d.ts +15 -0
- package/dist/types/vue-ui-relation-circle.d.ts +17 -0
- package/dist/types/vue-ui-ridgeline.d.ts +20 -0
- package/dist/types/vue-ui-rings.d.ts +17 -0
- package/dist/types/vue-ui-scatter.d.ts +19 -0
- package/dist/types/vue-ui-skeleton.d.ts +12 -0
- package/dist/types/vue-ui-smiley.d.ts +14 -0
- package/dist/types/vue-ui-spark-trend.d.ts +13 -0
- package/dist/types/vue-ui-sparkbar.d.ts +15 -0
- package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
- package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
- package/dist/types/vue-ui-sparkline.d.ts +15 -0
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
- package/dist/types/vue-ui-stackbar.d.ts +18 -0
- package/dist/types/vue-ui-strip-plot.d.ts +19 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
- package/dist/types/vue-ui-table.d.ts +17 -0
- package/dist/types/vue-ui-thermometer.d.ts +15 -0
- package/dist/types/vue-ui-timer.d.ts +12 -0
- package/dist/types/vue-ui-tiremarks.d.ts +15 -0
- package/dist/types/vue-ui-treemap.d.ts +18 -0
- package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
- package/dist/types/vue-ui-waffle.d.ts +18 -0
- package/dist/types/vue-ui-wheel.d.ts +15 -0
- package/dist/types/vue-ui-word-cloud.d.ts +17 -0
- package/dist/types/vue-ui-world.d.ts +17 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
- package/dist/types/vue-ui-xy.d.ts +24 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-nFj0xF0a.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/{vue-data-ui-DcBYykse.js → vue-data-ui-DfcfqSDl.js} +64 -64
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-DKkCWxob.js} +58 -57
- package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-gGF4DSOi.js} +28 -27
- package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-Coqi_swO.js} +28 -27
- package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-C78EYmhY.js} +32 -31
- package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-B7i_eOe9.js} +25 -25
- package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-QzsKNF-J.js} +41 -40
- package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-BxiWe3MD.js} +61 -60
- package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-C3TZdbF1.js} +75 -74
- package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-Dh0EyLe8.js} +68 -68
- package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-DTJCIEig.js} +39 -38
- package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DYJmrFDC.js} +81 -80
- package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-COm32YHr.js} +97 -96
- package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-BD2XeR-d.js} +127 -126
- package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-Cy9J1JpW.js} +39 -38
- package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-KyUZ5tNb.js} +53 -52
- package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-BpXYJd5z.js} +43 -42
- package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-DM3wSOOe.js} +6 -6
- package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-B2NzGPtL.js} +98 -97
- package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BTnau6bc.js} +105 -104
- package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-8oQQTCN2.js} +54 -53
- package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-B3ZrQSqP.js} +30 -29
- package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BoUb_OX8.js} +69 -68
- package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-xprTPjVq.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.js → vue-ui-parallel-coordinate-plot-Cpzi3BO0.js} +61 -60
- package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
- package/dist/{vue-ui-quadrant-BC99Cua7.js → vue-ui-quadrant-CHTnDwZ7.js} +35 -34
- package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-zJyIT4di.js} +30 -29
- package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-B5QRDHJ1.js} +90 -89
- package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-DStHH_sz.js} +44 -43
- package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-VI1I1k9W.js} +82 -81
- package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-D26TgYmU.js} +74 -73
- package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-9CX5JEVI.js} +121 -120
- package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-0yto3ZRt.js} +5 -5
- package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-13xDAi4U.js} +47 -46
- package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DBMeKvSW.js} +16 -15
- package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-febkbzOk.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-rc9uWj4C.js} +22 -21
- package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BpZKuk92.js} +131 -130
- package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-DuOsScHl.js} +28 -27
- package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-BsdEyuPC.js} +77 -76
- package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-Dem6Qr7N.js} +52 -51
- package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-Dds0EE_Q.js} +9 -8
- package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-DcHLIhbA.js} +20 -19
- package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-DZwSnX7w.js} +66 -65
- package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-BVmo70Ts.js} +31 -31
- package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-Cr6Fy7Sq.js} +30 -29
- package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-DiKGxMUR.js} +32 -31
- package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-D3_W8WLN.js} +54 -53
- package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CoVrrxzt.js} +76 -75
- package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-Cwl-WsK2.js} +85 -84
- package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-L-58-uVD.js} +49 -48
- package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-CaA-eKMJ.js} +19 -19
- package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-Bm2SYaTT.js} +135 -134
- package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-2Vg9eVqi.js} +166 -165
- package/package.json +14 -11
- package/dist/index-smzxfsyV.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DeKmJzsE.js +0 -13
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, computed as y, ref as d, toRefs as zt, watch as Z, shallowRef as Xe, onMounted as
|
|
2
|
-
import {
|
|
3
|
-
import { t as tt, u 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
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
1
|
+
import { defineAsyncComponent as O, computed as y, ref as d, toRefs as zt, watch as Z, shallowRef as Xe, onMounted as Ft, onBeforeUnmount as _t, watchEffect as Mt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as _, normalizeClass as X, createBlock as M, createCommentVNode as m, createElementVNode as N, createVNode as pe, createSlots as Ye, withCtx as b, renderSlot as g, normalizeProps as W, guardReactiveProps as U, Fragment as A, renderList as I, toDisplayString as B, Teleport as Nt, resolveDynamicComponent as It, mergeProps as Lt, createTextVNode as qe, nextTick as Pt } from "vue";
|
|
2
|
+
import { c as me, t as Ot, b as St, p as ee, o as Je, f as Ke, g as Dt, e as Rt, h as Bt, E as Et, V as Ht, W as Wt, Y as Ut, X as Vt, N as jt, z as Qe, F as te, x as Gt, y as Xt, a as Ze, d as et, A as Yt } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as tt, u as qt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Jt, a as at } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as Kt } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as Qt, B as Zt } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
+
import { u as ea } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as ta } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as aa } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
+
import { t as la } from "./themes-D3cUNuKw.js";
|
|
11
|
+
import oa from "./Title-pI68ZJsq.js";
|
|
12
|
+
import sa from "./Legend-_Rv594VS.js";
|
|
13
|
+
import { _ as na } from "./Shape-BDy56-wS.js";
|
|
14
|
+
import ia from "./img-CH7J0fYg.js";
|
|
14
15
|
import { _ as ua } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
16
|
const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "width", "height"], ha = { style: { "pointer-events": "none" } }, pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ya = { key: 0 }, fa = ["x", "y", "fill", "font-size", "font-weight"], ba = ["fill", "font-size", "font-weight", "text-anchor", "transform"], ga = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], xa = { key: 0 }, ka = ["x", "y", "font-size", "fill"], wa = ["width", "x", "y"], Ca = { style: { width: "100%" } }, Aa = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], $a = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Ta = ["d", "onMouseenter", "onMouseleave", "onClick"], za = {
|
|
16
17
|
key: 4,
|
|
17
18
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
19
|
+
}, Fa = ["id"], _a = ["onClick"], Ma = ["innerHTML"], Na = {
|
|
19
20
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
20
21
|
props: {
|
|
21
22
|
config: {
|
|
@@ -33,7 +34,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
33
34
|
},
|
|
34
35
|
emits: ["selectLegend", "selectDatapoint"],
|
|
35
36
|
setup(lt, { expose: ot, emit: st }) {
|
|
36
|
-
const nt = O(() => import("./Tooltip-
|
|
37
|
+
const nt = O(() => import("./Tooltip-Clf2K3CF.js")), it = O(() => import("./BaseIcon-D2f9w5Z5.js")), ut = O(() => import("./vue-ui-accordion-D-L73-T2.js")), rt = O(() => import("./DataTable-xISHA7Pu.js")), ct = O(() => import("./PenAndPaper-CtDMyIvW.js")), vt = O(() => import("./UserOptions-Bn3u4JQu.js")), dt = O(() => import("./PackageVersion-B6W-zkH-.js")), ht = O(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_parallel_coordinate_plot: pt } = Jt(), $ = lt, Y = y({
|
|
37
38
|
get() {
|
|
38
39
|
return !!$.dataset && $.dataset.length;
|
|
39
40
|
},
|
|
@@ -44,7 +45,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
44
45
|
function $e(t) {
|
|
45
46
|
D.value = t, ye.value += 1;
|
|
46
47
|
}
|
|
47
|
-
const e = d(ne()), { loading: R, FINAL_DATASET: mt, manualLoading: oe } =
|
|
48
|
+
const e = d(ne()), { loading: R, FINAL_DATASET: mt, manualLoading: oe } = Qt({
|
|
48
49
|
...zt($),
|
|
49
50
|
FINAL_CONFIG: e,
|
|
50
51
|
prepareConfig: ne,
|
|
@@ -88,7 +89,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
88
89
|
]
|
|
89
90
|
}
|
|
90
91
|
],
|
|
91
|
-
skeletonConfig:
|
|
92
|
+
skeletonConfig: Ot({
|
|
92
93
|
defaultConfig: e.value,
|
|
93
94
|
userConfig: {
|
|
94
95
|
useCssAnimation: !1,
|
|
@@ -115,7 +116,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
115
116
|
}
|
|
116
117
|
}
|
|
117
118
|
})
|
|
118
|
-
}), { userOptionsVisible: se, setUserOptionsVisibility: Te, keepUserOptionState: ze } =
|
|
119
|
+
}), { userOptionsVisible: se, setUserOptionsVisibility: Te, keepUserOptionState: ze } = ea({ config: e.value }), { svgRef: Fe } = ta({ config: e.value.style.chart.title });
|
|
119
120
|
function ne() {
|
|
120
121
|
const t = at({
|
|
121
122
|
userConfig: $.config,
|
|
@@ -123,10 +124,10 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
123
124
|
});
|
|
124
125
|
return t.theme ? {
|
|
125
126
|
...at({
|
|
126
|
-
userConfig:
|
|
127
|
+
userConfig: la.vue_ui_parallel_coordinate_plot[t.theme] || $.config,
|
|
127
128
|
defaultConfig: t
|
|
128
129
|
}),
|
|
129
|
-
customPalette:
|
|
130
|
+
customPalette: St[t.theme] || ee
|
|
130
131
|
} : t;
|
|
131
132
|
}
|
|
132
133
|
Z(() => $.config, (t) => {
|
|
@@ -135,17 +136,17 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
135
136
|
Array.isArray(t) && t.length > 0 && (oe.value = !1);
|
|
136
137
|
}, { deep: !0 });
|
|
137
138
|
const L = Xe(null), E = Xe(null);
|
|
138
|
-
|
|
139
|
+
Ft(() => {
|
|
139
140
|
Ae.value = !0, Me();
|
|
140
141
|
});
|
|
141
|
-
const
|
|
142
|
+
const _e = y(() => !!e.value.debug);
|
|
142
143
|
function Me() {
|
|
143
144
|
if (Je($.dataset) ? (Ke({
|
|
144
145
|
componentName: "VueUiParallelCoordinatePlot",
|
|
145
146
|
type: "dataset",
|
|
146
|
-
debug:
|
|
147
|
+
debug: _e.value
|
|
147
148
|
}), oe.value = !0) : $.dataset.forEach((t, o) => {
|
|
148
|
-
|
|
149
|
+
Dt({
|
|
149
150
|
datasetObject: t,
|
|
150
151
|
requiredAttributes: ["name", "series"]
|
|
151
152
|
}).forEach((a) => {
|
|
@@ -154,12 +155,12 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
154
155
|
type: "datasetSerieAttribute",
|
|
155
156
|
property: a,
|
|
156
157
|
index: o,
|
|
157
|
-
debug:
|
|
158
|
+
debug: _e.value
|
|
158
159
|
});
|
|
159
160
|
});
|
|
160
161
|
}), Je($.dataset) || (oe.value = e.value.loading), e.value.responsive) {
|
|
161
162
|
const t = tt(() => {
|
|
162
|
-
const { width: o, height: a } =
|
|
163
|
+
const { width: o, height: a } = qt({
|
|
163
164
|
chart: z.value,
|
|
164
165
|
title: e.value.style.chart.title.text ? fe.value : null,
|
|
165
166
|
legend: e.value.style.chart.legend.show ? be.value : null,
|
|
@@ -197,10 +198,10 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
197
198
|
L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect()), L.value = new ResizeObserver(t), E.value = z.value.parentNode, L.value.observe(E.value);
|
|
198
199
|
}
|
|
199
200
|
}
|
|
200
|
-
|
|
201
|
+
_t(() => {
|
|
201
202
|
L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect());
|
|
202
203
|
});
|
|
203
|
-
const { isPrinting: Ne, isImaging: Ie, generatePdf: Le, generateImage: Pe } =
|
|
204
|
+
const { isPrinting: Ne, isImaging: Ie, generatePdf: Le, generateImage: Pe } = Kt({
|
|
204
205
|
elementId: `pcp_${S.value}`,
|
|
205
206
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
206
207
|
options: e.value.userOptions.print
|
|
@@ -236,7 +237,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
236
237
|
right: r - o,
|
|
237
238
|
bottom: l - a - c.value.datapointFontSize
|
|
238
239
|
};
|
|
239
|
-
}), bt = y(() =>
|
|
240
|
+
}), bt = y(() => Rt(e.value.customPalette)), p = d({
|
|
240
241
|
dataLabels: {
|
|
241
242
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
242
243
|
},
|
|
@@ -252,12 +253,12 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
252
253
|
showTooltip: e.value.style.chart.tooltip.show
|
|
253
254
|
};
|
|
254
255
|
}, { immediate: !0 });
|
|
255
|
-
const
|
|
256
|
+
const F = d([]);
|
|
256
257
|
function De(t) {
|
|
257
|
-
|
|
258
|
+
F.value.includes(t) ? F.value = F.value.filter((o) => o !== t) : F.value.push(t);
|
|
258
259
|
}
|
|
259
260
|
const P = y(() => mt.value.map((t, o) => {
|
|
260
|
-
const a =
|
|
261
|
+
const a = Bt(t.color) || bt.value[o] || ee[o] || ee[o % ee.length];
|
|
261
262
|
return {
|
|
262
263
|
...t,
|
|
263
264
|
series: t.series.map((s) => ({
|
|
@@ -272,9 +273,9 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
272
273
|
};
|
|
273
274
|
})), gt = y(() => P.value.map((t) => ({
|
|
274
275
|
...t,
|
|
275
|
-
opacity:
|
|
276
|
+
opacity: F.value.includes(t.id) ? 0.5 : 1,
|
|
276
277
|
segregate: () => De(t.id),
|
|
277
|
-
isSegregated:
|
|
278
|
+
isSegregated: F.value.includes(t.id)
|
|
278
279
|
}))), xt = y(() => ({
|
|
279
280
|
cy: "pcp-div-legend",
|
|
280
281
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
@@ -283,11 +284,11 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
283
284
|
paddingBottom: 12,
|
|
284
285
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
285
286
|
})), Re = y(() => Math.max(
|
|
286
|
-
...P.value.filter((t) => !
|
|
287
|
-
)), C = y(() => h.value.width / Re.value), ie = y(() => P.value.filter((t) => !
|
|
287
|
+
...P.value.filter((t) => !F.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((o) => o.values.length)))
|
|
288
|
+
)), C = y(() => h.value.width / Re.value), ie = y(() => P.value.filter((t) => !F.value.includes(t.id))), f = y(() => {
|
|
288
289
|
let t = [];
|
|
289
290
|
for (let o = 0; o < Re.value; o += 1) {
|
|
290
|
-
const a = Math.min(...ie.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), s = Math.max(...ie.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), l = s === a ? a / 4 : a, r = s === a ? s * 2 : s, i =
|
|
291
|
+
const a = Math.min(...ie.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), s = Math.max(...ie.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), l = s === a ? a / 4 : a, r = s === a ? s * 2 : s, i = Et(l, r, e.value.style.chart.yAxis.scaleTicks), T = i.ticks.map((x, k) => {
|
|
291
292
|
const $t = i.min < 0 ? x + Math.abs(i.min) : x - Math.abs(i.min), Tt = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
292
293
|
return {
|
|
293
294
|
y: h.value.bottom - h.value.height * ($t / Tt),
|
|
@@ -324,7 +325,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
324
325
|
})).map((t) => ({
|
|
325
326
|
...t,
|
|
326
327
|
series: t.series.map((o) => {
|
|
327
|
-
const a =
|
|
328
|
+
const a = Ht(o.datapoints), s = Wt(o.datapoints), l = Ut(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${a}`);
|
|
328
329
|
return {
|
|
329
330
|
...o,
|
|
330
331
|
smoothPath: s,
|
|
@@ -354,7 +355,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
354
355
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...a, shape: t }, seriesIndex: r }), re.value = { serie: a, relativeIndex: s, seriesIndex: l, series: P.value, scales: f.value }, ce.value = !0, w.value = a.id;
|
|
355
356
|
let i = "";
|
|
356
357
|
const T = e.value.style.chart.tooltip.customFormat;
|
|
357
|
-
Qe(T) &&
|
|
358
|
+
Qe(T) && Yt(() => T({
|
|
358
359
|
serie: a,
|
|
359
360
|
seriesIndex: a.seriesIndex,
|
|
360
361
|
series: P.value,
|
|
@@ -415,8 +416,8 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
415
416
|
body: H.value.body
|
|
416
417
|
});
|
|
417
418
|
function de(t = null) {
|
|
418
|
-
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = Ee.value.head, s = Ee.value.body, l = o.concat([a]).concat(s), r =
|
|
419
|
-
t ? t(r) :
|
|
419
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = Ee.value.head, s = Ee.value.body, l = o.concat([a]).concat(s), r = Gt(l);
|
|
420
|
+
t ? t(r) : Xt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
420
421
|
}
|
|
421
422
|
const He = st;
|
|
422
423
|
function K({ serie: t, shape: o, S: a }) {
|
|
@@ -455,7 +456,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
455
456
|
};
|
|
456
457
|
}
|
|
457
458
|
const Ct = d({ start: 0, end: 1 }), At = y(() => f.value.map((t) => t.name));
|
|
458
|
-
|
|
459
|
+
aa({
|
|
459
460
|
timeLabelsEls: le,
|
|
460
461
|
timeLabels: At,
|
|
461
462
|
slicer: Ct,
|
|
@@ -519,14 +520,14 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
519
520
|
ref_key: "pcpChart",
|
|
520
521
|
ref: z,
|
|
521
522
|
class: X(`vue-ui-pcp ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
522
|
-
style:
|
|
523
|
+
style: _(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
523
524
|
id: `pcp_${S.value}`,
|
|
524
525
|
onMouseenter: o[2] || (o[2] = () => v(Te)(!0)),
|
|
525
526
|
onMouseleave: o[3] || (o[3] = () => v(Te)(!1))
|
|
526
527
|
}, [
|
|
527
528
|
e.value.userOptions.buttons.annotator ? (n(), M(v(ct), {
|
|
528
529
|
key: 0,
|
|
529
|
-
svgRef: v(
|
|
530
|
+
svgRef: v(Fe),
|
|
530
531
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
531
532
|
color: e.value.style.chart.color,
|
|
532
533
|
active: Q.value,
|
|
@@ -596,7 +597,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
596
597
|
onToggleLabels: Ve,
|
|
597
598
|
onToggleTooltip: je,
|
|
598
599
|
onToggleAnnotator: he,
|
|
599
|
-
style:
|
|
600
|
+
style: _({
|
|
600
601
|
visibility: v(ze) ? v(se) ? "visible" : "hidden" : "visible"
|
|
601
602
|
})
|
|
602
603
|
}, Ye({ _: 2 }, [
|
|
@@ -659,11 +660,11 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
659
660
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
660
661
|
(n(), u("svg", {
|
|
661
662
|
ref_key: "svgRef",
|
|
662
|
-
ref:
|
|
663
|
-
xmlns: v(
|
|
663
|
+
ref: Fe,
|
|
664
|
+
xmlns: v(Vt),
|
|
664
665
|
class: X({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
665
666
|
viewBox: `0 0 ${h.value.chartWidth <= 0 ? 10 : h.value.chartWidth} ${h.value.chartHeight <= 0 ? 10 : h.value.chartHeight}`,
|
|
666
|
-
style:
|
|
667
|
+
style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
667
668
|
}, [
|
|
668
669
|
pe(v(dt)),
|
|
669
670
|
t.$slots["chart-background"] ? (n(), u("foreignObject", {
|
|
@@ -695,7 +696,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
695
696
|
y2: l.y,
|
|
696
697
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
697
698
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
698
|
-
style:
|
|
699
|
+
style: _(`opacity:${w.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
699
700
|
}, null, 12, ma))), 256)),
|
|
700
701
|
v(R) ? m("", !0) : (n(), u("g", ya, [
|
|
701
702
|
(n(!0), u(A, null, I(a.ticks, (l) => (n(), u("text", {
|
|
@@ -705,7 +706,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
705
706
|
"text-anchor": "end",
|
|
706
707
|
"font-size": c.value.ticksFontSize,
|
|
707
708
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
708
|
-
style:
|
|
709
|
+
style: _(`opacity:${w.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
709
710
|
}, B(Be({ value: l.value, index: s, datapoint: l })), 13, fa))), 256))
|
|
710
711
|
]))
|
|
711
712
|
], 64)) : m("", !0)
|
|
@@ -725,7 +726,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
725
726
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
726
727
|
"text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
727
728
|
transform: `translate(${h.value.left + C.value * s + C.value / 2}, ${j.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
|
|
728
|
-
innerHTML: v(
|
|
729
|
+
innerHTML: v(jt)({
|
|
729
730
|
content: String(a.name),
|
|
730
731
|
fontSize: c.value.axisNameFontSize,
|
|
731
732
|
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
@@ -762,7 +763,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
762
763
|
S: s
|
|
763
764
|
}),
|
|
764
765
|
onMouseleave: (x) => q({ serie: l, shape: a.shape, S: s }),
|
|
765
|
-
style:
|
|
766
|
+
style: _(`opacity:${w.value ? w.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
766
767
|
onClick: () => K({ serie: l, shape: a.shape, S: s })
|
|
767
768
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
|
|
768
769
|
p.value.showTooltip ? m("", !0) : (n(), u(A, { key: 0 }, [
|
|
@@ -811,7 +812,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
811
812
|
}),
|
|
812
813
|
onMouseleave: (x) => q({ serie: l, shape: a.shape, S: s }),
|
|
813
814
|
onClick: () => K({ serie: l, shape: a.shape, S: s }),
|
|
814
|
-
style:
|
|
815
|
+
style: _(`opacity:${w.value ? w.value === l.id ? 1 : 0.2 : 1}`)
|
|
815
816
|
}, B(Be({ value: i.value, index: T, datapoint: i })), 47, Aa))), 256)) : m("", !0),
|
|
816
817
|
N("path", {
|
|
817
818
|
d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
|
|
@@ -829,7 +830,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
829
830
|
}),
|
|
830
831
|
onMouseleave: (i) => q({ serie: l, shape: a.shape, S: s }),
|
|
831
832
|
onClick: () => K({ serie: l, shape: a.shape, S: s }),
|
|
832
|
-
style:
|
|
833
|
+
style: _(`opacity:${w.value ? w.value === l.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${l.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? l.pathLength : 0}`)
|
|
833
834
|
}, null, 46, $a),
|
|
834
835
|
p.value.showTooltip ? (n(), u("path", {
|
|
835
836
|
key: 2,
|
|
@@ -859,7 +860,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
859
860
|
])) : m("", !0),
|
|
860
861
|
N("div", {
|
|
861
862
|
id: `legend-bottom-${S.value}`
|
|
862
|
-
}, null, 8,
|
|
863
|
+
}, null, 8, Fa),
|
|
863
864
|
Ae.value ? (n(), M(Nt, {
|
|
864
865
|
key: 5,
|
|
865
866
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${S.value}` : `#legend-bottom-${S.value}`
|
|
@@ -881,8 +882,8 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
881
882
|
onClick: (l) => {
|
|
882
883
|
a.segregate(), We(a);
|
|
883
884
|
},
|
|
884
|
-
style:
|
|
885
|
-
}, B(a.name), 13,
|
|
885
|
+
style: _(`opacity:${F.value.includes(a.id) ? 0.5 : 1}`)
|
|
886
|
+
}, B(a.name), 13, _a)
|
|
886
887
|
]),
|
|
887
888
|
_: 1
|
|
888
889
|
}, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
|
|
@@ -978,10 +979,10 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
978
979
|
key: "1"
|
|
979
980
|
} : void 0
|
|
980
981
|
]), 1040)) : m("", !0),
|
|
981
|
-
v(R) ? (n(), M(
|
|
982
|
+
v(R) ? (n(), M(Zt, { key: 8 })) : m("", !0)
|
|
982
983
|
], 46, ra));
|
|
983
984
|
}
|
|
984
|
-
},
|
|
985
|
+
}, Xa = /* @__PURE__ */ ua(Na, [["__scopeId", "data-v-7640ebd4"]]);
|
|
985
986
|
export {
|
|
986
|
-
|
|
987
|
+
Xa as default
|
|
987
988
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as F, computed as x, ref as y, toRefs as qt, watch as ge, shallowRef as tt, onMounted as St, onBeforeUnmount as Tt, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as C, normalizeClass as z, createBlock as X, createCommentVNode as h, createElementVNode as d, createVNode as se, createSlots as lt, withCtx as g, renderSlot as $, normalizeProps as U, guardReactiveProps as G, Fragment as S, renderList as Y, toDisplayString as k, Teleport as zt, resolveDynamicComponent as At, mergeProps as Wt, createTextVNode as at, nextTick as ot } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { _ as rt } from "./Shape-
|
|
11
|
-
import
|
|
2
|
+
import { c as ut, t as Xt, b as Yt, p as me, o as Mt, f as Q, e as Ot, h as Nt, Z as Bt, a as R, d as P, X as Ft, s as re, i as Rt, _ as Pt, N as Vt, G as Dt, x as Ht, y as It, z as Et, A as Ut } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as Gt, u as Qt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Jt, a as st } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as jt } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as Zt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Kt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import el from "./img-CH7J0fYg.js";
|
|
9
|
+
import tl from "./Title-pI68ZJsq.js";
|
|
10
|
+
import { _ as rt } from "./Shape-BDy56-wS.js";
|
|
11
|
+
import { t as ll } from "./themes-D3cUNuKw.js";
|
|
12
|
+
import al from "./Legend-_Rv594VS.js";
|
|
12
13
|
import { u as ol, B as ul } from "./BaseScanner-BgWxam9d.js";
|
|
13
14
|
import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
15
|
const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y", "width", "height"], cl = ["id"], dl = ["stop-color"], hl = ["stop-color"], yl = { key: 1 }, bl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], fl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], gl = { key: 2 }, ml = ["points", "fill"], xl = ["points", "fill"], $l = ["points", "fill"], kl = ["points", "fill"], Ll = { key: 3 }, wl = ["y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], Cl = ["x", "y", "fill", "font-size"], ql = ["y", "fill", "font-size"], Sl = { key: 4 }, Tl = ["x", "y", "font-size", "fill"], zl = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], Wl = ["id", "font-size", "transform", "fill"], Xl = ["id", "font-size", "transform", "fill"], Yl = ["id", "font-size", "transform", "fill"], Ml = { key: 5 }, Ol = ["fill", "points"], Nl = ["x", "y", "width", "height"], Bl = ["x", "y", "width", "height"], Fl = ["x", "y", "width", "height"], Rl = ["x", "y", "width", "height"], Pl = {
|
|
@@ -43,7 +44,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
43
44
|
},
|
|
44
45
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
45
46
|
setup(nt, { expose: it, emit: vt }) {
|
|
46
|
-
const ct = F(() => import("./Tooltip-
|
|
47
|
+
const ct = F(() => import("./Tooltip-Clf2K3CF.js")), dt = F(() => import("./BaseIcon-D2f9w5Z5.js")), ht = F(() => import("./vue-ui-accordion-D-L73-T2.js")), yt = F(() => import("./DataTable-xISHA7Pu.js")), bt = F(() => import("./PenAndPaper-CtDMyIvW.js")), ft = F(() => import("./UserOptions-Bn3u4JQu.js")), pt = F(() => import("./PackageVersion-B6W-zkH-.js")), gt = F(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_quadrant: mt } = Jt(), M = nt, xe = x(() => !!M.dataset && M.dataset.length), w = y(ut()), ne = vt, ie = y(!1), ve = y(""), $e = y(0), p = y(!1), A = y(null), ke = y(null), Le = y(null), we = y(null), _e = y(null), Ce = y(0), qe = y(0), Se = y(0), Te = y(!1), J = y(null), ce = y(null), e = y(he()), { loading: ze, FINAL_DATASET: Ae } = ol({
|
|
47
48
|
...qt(M),
|
|
48
49
|
FINAL_CONFIG: e,
|
|
49
50
|
prepareConfig: he,
|
|
@@ -74,7 +75,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
74
75
|
]
|
|
75
76
|
}
|
|
76
77
|
],
|
|
77
|
-
skeletonConfig:
|
|
78
|
+
skeletonConfig: Xt({
|
|
78
79
|
defaultConfig: e.value,
|
|
79
80
|
userConfig: {
|
|
80
81
|
userOptions: { show: !1 },
|
|
@@ -112,7 +113,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
})
|
|
115
|
-
}), { userOptionsVisible: de, setUserOptionsVisibility: We, keepUserOptionState: Xe } =
|
|
116
|
+
}), { userOptionsVisible: de, setUserOptionsVisibility: We, keepUserOptionState: Xe } = Zt({ config: e.value }), { svgRef: Ye } = Kt({ config: e.value.style.chart.title });
|
|
116
117
|
function he() {
|
|
117
118
|
const l = st({
|
|
118
119
|
userConfig: M.config,
|
|
@@ -120,10 +121,10 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
120
121
|
});
|
|
121
122
|
return l.theme ? {
|
|
122
123
|
...st({
|
|
123
|
-
userConfig:
|
|
124
|
+
userConfig: ll.vue_ui_quadrant[l.theme] || M.config,
|
|
124
125
|
defaultConfig: l
|
|
125
126
|
}),
|
|
126
|
-
customPalette:
|
|
127
|
+
customPalette: Yt[l.theme] || me
|
|
127
128
|
} : l;
|
|
128
129
|
}
|
|
129
130
|
ge(() => M.config, (l) => {
|
|
@@ -131,7 +132,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
131
132
|
}, { deep: !0 });
|
|
132
133
|
const O = tt(null), H = tt(null), I = x(() => e.value.debug);
|
|
133
134
|
function Me() {
|
|
134
|
-
if (
|
|
135
|
+
if (Mt(M.dataset) ? Q({
|
|
135
136
|
componentName: "VueUiQuadrant",
|
|
136
137
|
type: "dataset",
|
|
137
138
|
debug: I.value
|
|
@@ -159,8 +160,8 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
159
160
|
});
|
|
160
161
|
});
|
|
161
162
|
}), e.value.responsive) {
|
|
162
|
-
const l =
|
|
163
|
-
const { width: o, height: a } =
|
|
163
|
+
const l = Gt(() => {
|
|
164
|
+
const { width: o, height: a } = Qt({
|
|
164
165
|
chart: A.value,
|
|
165
166
|
title: e.value.style.chart.title.text ? ke.value : null,
|
|
166
167
|
legend: e.value.style.chart.legend.show ? Le.value : null,
|
|
@@ -179,11 +180,11 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
179
180
|
}), Tt(() => {
|
|
180
181
|
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect());
|
|
181
182
|
});
|
|
182
|
-
const { isPrinting: Oe, isImaging: Ne, generatePdf: Be, generateImage: Fe } =
|
|
183
|
+
const { isPrinting: Oe, isImaging: Ne, generatePdf: Be, generateImage: Fe } = jt({
|
|
183
184
|
elementId: `vue-ui-quadrant_${w.value}`,
|
|
184
185
|
fileName: e.value.style.chart.title.text || "vue-ui-quadrant",
|
|
185
186
|
options: e.value.userOptions.print
|
|
186
|
-
}), xt = x(() => e.value.userOptions.show && !e.value.style.chart.title.text), Re = x(() =>
|
|
187
|
+
}), xt = x(() => e.value.userOptions.show && !e.value.style.chart.title.text), Re = x(() => Ot(e.value.customPalette)), m = y({
|
|
187
188
|
plotLabels: {
|
|
188
189
|
show: e.value.style.chart.layout.labels.plotLabels.show
|
|
189
190
|
},
|
|
@@ -348,12 +349,12 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
348
349
|
};
|
|
349
350
|
}), B = y([]), E = x(() => Ae.value.map((l, o) => ({
|
|
350
351
|
...l,
|
|
351
|
-
series:
|
|
352
|
+
series: Bt({
|
|
352
353
|
data: l.series,
|
|
353
354
|
threshold: e.value.downsample.threshold
|
|
354
355
|
}),
|
|
355
356
|
id: `cat_${o}_${w.value}`,
|
|
356
|
-
color:
|
|
357
|
+
color: Nt(l.color) || Re.value[o] || me[o]
|
|
357
358
|
}))), Lt = x(() => E.value.filter((l) => !B.value.includes(l.id))), wt = x(() => E.value.map((l, o) => ({
|
|
358
359
|
...l,
|
|
359
360
|
shape: l.shape || "circle",
|
|
@@ -523,7 +524,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
523
524
|
config: e.value
|
|
524
525
|
}, ie.value = !0;
|
|
525
526
|
const u = e.value.style.chart.tooltip.customFormat;
|
|
526
|
-
if (
|
|
527
|
+
if (Et(u) && Ut(() => u({
|
|
527
528
|
seriesIndex: a,
|
|
528
529
|
datapoint: o,
|
|
529
530
|
series: T.value,
|
|
@@ -708,8 +709,8 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
708
709
|
}
|
|
709
710
|
function fe(l = null) {
|
|
710
711
|
ot(() => {
|
|
711
|
-
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = te.value.head, u = te.value.body, r = o.concat([a]).concat(u), b =
|
|
712
|
-
l ? l(b) :
|
|
712
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = te.value.head, u = te.value.body, r = o.concat([a]).concat(u), b = Ht(r);
|
|
713
|
+
l ? l(b) : It({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
713
714
|
});
|
|
714
715
|
}
|
|
715
716
|
const D = y(!1);
|
|
@@ -731,7 +732,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
731
732
|
}
|
|
732
733
|
async function Ct({ scale: l = 2 } = {}) {
|
|
733
734
|
if (!A.value) return;
|
|
734
|
-
const { width: o, height: a } = A.value.getBoundingClientRect(), u = o / a, { imageUri: r, base64: b } = await
|
|
735
|
+
const { width: o, height: a } = A.value.getBoundingClientRect(), u = o / a, { imageUri: r, base64: b } = await el({ domElement: A.value, base64: !0, img: !0, scale: l });
|
|
735
736
|
return {
|
|
736
737
|
imageUri: r,
|
|
737
738
|
base64: b,
|
|
@@ -818,7 +819,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
818
819
|
ref: ke,
|
|
819
820
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
820
821
|
}, [
|
|
821
|
-
(s(), X(
|
|
822
|
+
(s(), X(tl, {
|
|
822
823
|
key: `table_${Ce.value}`,
|
|
823
824
|
config: {
|
|
824
825
|
title: {
|
|
@@ -940,7 +941,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
940
941
|
(s(), n("svg", {
|
|
941
942
|
ref_key: "svgRef",
|
|
942
943
|
ref: Ye,
|
|
943
|
-
xmlns: i(
|
|
944
|
+
xmlns: i(Ft),
|
|
944
945
|
class: z({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
945
946
|
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
946
947
|
style: C(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
|
|
@@ -970,7 +971,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
970
971
|
}, [
|
|
971
972
|
d("stop", {
|
|
972
973
|
offset: "0%",
|
|
973
|
-
"stop-color": i(re)(i(
|
|
974
|
+
"stop-color": i(re)(i(Rt)(a.color, 0.05), e.value.style.chart.layout.areas.opacity)
|
|
974
975
|
}, null, 8, dl),
|
|
975
976
|
d("stop", {
|
|
976
977
|
offset: "100%",
|
|
@@ -1148,7 +1149,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1148
1149
|
key: 0,
|
|
1149
1150
|
"data-cy-quadrant-area": "",
|
|
1150
1151
|
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${u})` : i(re)(a.color, e.value.style.chart.layout.areas.opacity),
|
|
1151
|
-
points: i(
|
|
1152
|
+
points: i(Pt)(a)
|
|
1152
1153
|
}, null, 8, Ol)) : h("", !0)
|
|
1153
1154
|
]))), 256))
|
|
1154
1155
|
])) : h("", !0),
|
|
@@ -1204,7 +1205,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1204
1205
|
onClick: (b) => Ue(a, r, u)
|
|
1205
1206
|
}, [
|
|
1206
1207
|
d("div", {
|
|
1207
|
-
style: C(`color:${i(
|
|
1208
|
+
style: C(`color:${i(Dt)(a.color)};margin: 0 auto; font-size:${e.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
|
|
1208
1209
|
}, k(r.name), 5)
|
|
1209
1210
|
], 40, Il))), 256))
|
|
1210
1211
|
], 64))), 256))
|
|
@@ -1235,7 +1236,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1235
1236
|
"text-anchor": "middle",
|
|
1236
1237
|
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1237
1238
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1238
|
-
innerHTML: i(
|
|
1239
|
+
innerHTML: i(Vt)({
|
|
1239
1240
|
content: String(u.name),
|
|
1240
1241
|
fontSize: e.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1241
1242
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
@@ -1484,7 +1485,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1484
1485
|
i(ze) ? (s(), X(ul, { key: 8 })) : h("", !0)
|
|
1485
1486
|
], 46, rl));
|
|
1486
1487
|
}
|
|
1487
|
-
},
|
|
1488
|
+
}, Ca = /* @__PURE__ */ sl(ca, [["__scopeId", "data-v-57ea903f"]]);
|
|
1488
1489
|
export {
|
|
1489
|
-
|
|
1490
|
+
Ca as default
|
|
1490
1491
|
};
|