vue-data-ui 3.22.10 → 3.22.12
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-Ku6rQ87g.js → Arrow-DKx74WtM.js} +1 -1
- package/dist/{BaseDraggableDialog-CdkCqtag.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
- package/dist/{BaseIcon-CDTIUIKV.js → BaseIcon-CP5RWnqt.js} +1 -1
- package/dist/{BaseLegendToggle-BrQ2OlzI.js → BaseLegendToggle-DsWphmIb.js} +1 -1
- package/dist/{BaseZoomControls-CkEX0292.js → BaseZoomControls-C9_ygNN4.js} +2 -2
- package/dist/{ColorPicker-C959ZIW9.js → ColorPicker-3N_HVgXs.js} +2 -2
- package/dist/{DataTable-ByZy5gt1.js → DataTable-DzPEVvSo.js} +2 -2
- package/dist/{Legend-5VQGLnmx.js → Legend-C0xAnJdO.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Bd8OzTqw.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
- package/dist/{PackageVersion-BoTvk0i5.js → PackageVersion-Di3tpYst.js} +1 -1
- package/dist/{PenAndPaper-CLaZJl6K.js → PenAndPaper-CSMVXpg2.js} +3 -3
- package/dist/{Shape-B5ksaGa1.js → Shape-BfnXr1nJ.js} +1 -1
- package/dist/Slicer-C6qNUmZ4.js +1149 -0
- package/dist/SlicerPreview-Cw6WMVhG.js +1689 -0
- package/dist/{SparkTooltip-CbYYc-xb.js → SparkTooltip-uoUiL_P8.js} +1 -1
- package/dist/{Title-Cr3jP7Qd.js → Title-BuPs74IB.js} +1 -1
- package/dist/{Tooltip-CDbLl3TD.js → Tooltip-CA1rtSyl.js} +1 -1
- package/dist/{UserOptions-BUQOnoPR.js → UserOptions-DzAFK9cY.js} +442 -441
- 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-COPbGrdd.js → dom-to-png-BdAFKZQg.js} +1 -1
- package/dist/{exposedLib-CZbtc2a6.js → exposedLib-Ciw6TGtP.js} +1 -1
- package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
- package/dist/{img-CNdXiUfZ.js → img-Bikk1dGb.js} +1 -1
- package/dist/{labelUtils-JaoYKi2N.js → labelUtils-BUhssos9.js} +1 -1
- package/dist/{lib-CnHx5WfV.js → lib-CFm_J26b.js} +3 -3
- package/dist/{package-BRBLwZUc.js → package-Bmet7oRZ.js} +1 -1
- package/dist/{pdf-CEMzBeuV.js → pdf-zmz3l2uy.js} +1 -1
- package/dist/{render-common-DJXFRGhU.js → render-common-Bdolvm-Q.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/composables.d.ts +28 -11
- package/dist/types/vue-data-ui.d.ts +27 -9
- package/dist/{useAutoSizeLabelsInsideViewbox-BUPt2iaP.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
- package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
- package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
- package/dist/useMountedDelay-BAjrhRJb.js +14 -0
- package/dist/{useNestedProp-D8NuRneO.js → useNestedProp-BY6DNN3i.js} +1 -1
- package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
- package/dist/{usePrinter-B-X_Pub0.js → usePrinter-BH-xle1O.js} +2 -2
- package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
- package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
- package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
- package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-Bx_8d3b_.js → vue-data-ui-DfU5hAaT.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/{vue-ui-3d-bar-CfUfbpSE.js → vue-ui-3d-bar--HLw40qY.js} +9 -10
- package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
- package/dist/{vue-ui-age-pyramid-DD-4y5Jd.js → vue-ui-age-pyramid-Bd_ubvoh.js} +9 -10
- package/dist/{vue-ui-annotator-BvGE3lzE.js → vue-ui-annotator-q3ZKx6ua.js} +15 -9
- package/dist/{vue-ui-bullet-DYOdbaO2.js → vue-ui-bullet-CM2jgN74.js} +10 -11
- package/dist/{vue-ui-bump-B8fJoxHF.js → vue-ui-bump-DvShTelE.js} +10 -11
- package/dist/{vue-ui-candlestick-BUP1JoNs.js → vue-ui-candlestick-CK9Na9KB.js} +474 -474
- package/dist/{vue-ui-carousel-table-D-Bwhydt.js → vue-ui-carousel-table-BxORSyv1.js} +5 -5
- package/dist/{vue-ui-chestnut-C2VK2NEx.js → vue-ui-chestnut-tW2ZnqwW.js} +11 -11
- package/dist/{vue-ui-chord-AA-QjUQI.js → vue-ui-chord-DqKCW4Pl.js} +11 -12
- package/dist/{vue-ui-circle-pack-CdBFGYOK.js → vue-ui-circle-pack-kmzEbu7G.js} +21 -25
- package/dist/{vue-ui-cursor-Cm_J_5Gk.js → vue-ui-cursor-SvEAxNKD.js} +4 -4
- package/dist/{vue-ui-dag-CgRph4-n.js → vue-ui-dag-DZGUw98x.js} +16 -14
- package/dist/{vue-ui-dashboard-BuPw5QjB.js → vue-ui-dashboard-BzzECKaL.js} +71 -72
- package/dist/{vue-ui-digits-ClrukmcB.js → vue-ui-digits-CKWMJqU_.js} +4 -4
- package/dist/{vue-ui-donut-Bc-EPZvu.js → vue-ui-donut-BWbuCT47.js} +17 -18
- package/dist/{vue-ui-donut-DtQCrMKL.js → vue-ui-donut-DjdH53Zj.js} +3 -3
- package/dist/{vue-ui-donut-evolution-DHkiY-BD.js → vue-ui-donut-evolution-CJNnXg31.js} +357 -362
- package/dist/{vue-ui-dumbbell-BlHEH4Mw.js → vue-ui-dumbbell-BUyfJOxH.js} +13 -13
- package/dist/{vue-ui-flow-PjwAW2tY.js → vue-ui-flow-C39C5dvl.js} +10 -11
- package/dist/{vue-ui-funnel-DojI09FV.js → vue-ui-funnel-_aMNVUkP.js} +9 -10
- package/dist/{vue-ui-galaxy-txYIK_LG.js → vue-ui-galaxy-Dng0GSjQ.js} +12 -13
- package/dist/{vue-ui-gauge-CoL0OzSd.js → vue-ui-gauge-BmZPLW3e.js} +10 -11
- package/dist/{vue-ui-geo-yuL-_sqF.js → vue-ui-geo-BOx-pK_5.js} +15 -14
- package/dist/{vue-ui-gizmo-CbC5zV3K.js → vue-ui-gizmo-BCGwhNna.js} +4 -4
- package/dist/{vue-ui-heatmap-CwqsZIsR.js → vue-ui-heatmap-BORjgllw.js} +12 -13
- package/dist/{vue-ui-history-plot-CuWssH-D.js → vue-ui-history-plot-DY3fqgIY.js} +11 -12
- package/dist/{vue-ui-horizontal-bar-Dyje3GND.js → vue-ui-horizontal-bar-C8f4PisL.js} +17 -17
- package/dist/{vue-ui-kpi-BdYenScF.js → vue-ui-kpi-BdhXSBIJ.js} +4 -4
- package/dist/{vue-ui-mini-loader-BbwE3vBT.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
- package/dist/{vue-ui-molecule-BBh31vmd.js → vue-ui-molecule-PlmDykKX.js} +9 -8
- package/dist/{vue-ui-mood-radar-B_6GFlaR.js → vue-ui-mood-radar-C9LTAt_c.js} +10 -11
- package/dist/{vue-ui-nested-donuts-BWq-At5Y.js → vue-ui-nested-donuts-F5OXPxvU.js} +12 -13
- package/dist/{vue-ui-onion-BwGbSE-6.js → vue-ui-onion-D1-j-pvW.js} +13 -14
- package/dist/{vue-ui-parallel-coordinate-plot-Bh9hNoqf.js → vue-ui-parallel-coordinate-plot-Vb_QjRp5.js} +303 -307
- package/dist/{vue-ui-quadrant-B72Y4Zuw.js → vue-ui-quadrant-DMFawnHm.js} +19 -18
- package/dist/{vue-ui-quick-chart-B3LF2ViM.js → vue-ui-quick-chart-BF5fKxY2.js} +606 -632
- package/dist/{vue-ui-radar-4v_E8oGX.js → vue-ui-radar-D91pCqhn.js} +12 -13
- package/dist/{vue-ui-rating-CzLGCFWK.js → vue-ui-rating-DbxK-ftN.js} +3 -3
- package/dist/{vue-ui-relation-circle-B_8dyIv2.js → vue-ui-relation-circle-DfxvnOs6.js} +14 -21
- package/dist/{vue-ui-ridgeline-BArLhskj.js → vue-ui-ridgeline-BOL0m1mR.js} +13 -14
- package/dist/{vue-ui-rings-Csn5BgLk.js → vue-ui-rings-4RxAaMo4.js} +13 -14
- package/dist/vue-ui-scatter-Bs1wek00.js +2409 -0
- package/dist/{vue-ui-skeleton-KeIPGp9U.js → vue-ui-skeleton-B84nELF_.js} +4 -4
- package/dist/{vue-ui-smiley-C1mYDh4R.js → vue-ui-smiley-Da2jgkb7.js} +3 -3
- package/dist/{vue-ui-spark-trend-EqCqmHmU.js → vue-ui-spark-trend-BR-qkwJ6.js} +6 -7
- package/dist/{vue-ui-sparkbar-BPh45vBP.js → vue-ui-sparkbar-DghCbhj2.js} +51 -54
- package/dist/{vue-ui-sparkgauge-CtouPcyW.js → vue-ui-sparkgauge-DbeTbrxx.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-D4sI0DHN.js → vue-ui-sparkhistogram-B2xSQyOp.js} +7 -8
- package/dist/{vue-ui-sparkline-BDFZ78Fz.js → vue-ui-sparkline-D3xRMcy9.js} +6 -7
- package/dist/{vue-ui-sparkstackbar-CbTXIfxm.js → vue-ui-sparkstackbar-D8z8fVFZ.js} +5 -5
- package/dist/vue-ui-stackbar-B63-UgSr.js +2322 -0
- package/dist/{vue-ui-stackline-CzfXl5ah.js → vue-ui-stackline-Dukmj3yT.js} +588 -586
- package/dist/vue-ui-strip-plot-Bws0p7tP.js +1736 -0
- package/dist/{vue-ui-table-BAKkFXki.js → vue-ui-table-dxCS6ztG.js} +12 -11
- package/dist/{vue-ui-table-heatmap-CUMxqHKK.js → vue-ui-table-heatmap-CSI482KG.js} +9 -15
- package/dist/{vue-ui-table-sparkline-BVTm16fd.js → vue-ui-table-sparkline-C-XgNV1l.js} +10 -8
- package/dist/{vue-ui-thermometer-CGeEW1KV.js → vue-ui-thermometer-BUKge0w8.js} +10 -11
- package/dist/{vue-ui-timer-Bz7EnsM1.js → vue-ui-timer-CCd3pznw.js} +7 -8
- package/dist/{vue-ui-tiremarks-IOqtk_Rr.js → vue-ui-tiremarks-CG5X5rgi.js} +9 -10
- package/dist/{vue-ui-treemap-JxNNtb7v.js → vue-ui-treemap-CNVB8Ng6.js} +501 -492
- package/dist/{vue-ui-waffle-D34mcJWi.js → vue-ui-waffle-DH5Rf1WM.js} +13 -14
- package/dist/{vue-ui-wheel-B_qEhyvk.js → vue-ui-wheel-BzEkxqDz.js} +10 -11
- package/dist/{vue-ui-word-cloud-TtObhd91.js → vue-ui-word-cloud-DbfGZ-hb.js} +15 -12
- package/dist/{vue-ui-world-R9o00A6c.js → vue-ui-world-CL6KcPcv.js} +10 -10
- package/dist/{vue-ui-xy-Do34-UbE.js → vue-ui-xy-4Xp7UoLs.js} +9 -9
- package/dist/{vue-ui-xy-CUt6sU1s.js → vue-ui-xy-BAmxfSSw.js} +1269 -1266
- package/dist/{vue-ui-xy-canvas-C6eRRH--.js → vue-ui-xy-canvas-7YSYRdwr.js} +27 -27
- package/package.json +3 -3
- package/dist/Slicer-WsWTQPKt.js +0 -1150
- package/dist/SlicerPreview-3n516NyE.js +0 -1688
- package/dist/useResponsive-BfnK0KxU.js +0 -19
- package/dist/vue-ui-accordion-Oo3IsX3-.js +0 -81
- package/dist/vue-ui-scatter-BBaOx94M.js +0 -2422
- package/dist/vue-ui-stackbar-nMXIY9x8.js +0 -2339
- package/dist/vue-ui-strip-plot-BCf5nthl.js +0 -1736
|
@@ -1,78 +1,74 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { At as t, B as n, C as r, E as i, Gt as a, K as o, Kt as s, N as ee, Nt as te, Q as ne, W as re, Wt as ie, Y as ae, bt as oe, et as se, ft as ce, g as le, i as ue, mt as de, qt as fe, st as pe, t as me, x as he } from "./lib-
|
|
3
|
-
import { t as ge } from "./useConfig-
|
|
4
|
-
import { t as _e } from "./usePrinter-
|
|
2
|
+
import { At as t, B as n, C as r, E as i, Gt as a, K as o, Kt as s, N as ee, Nt as te, Q as ne, W as re, Wt as ie, Y as ae, bt as oe, et as se, ft as ce, g as le, i as ue, mt as de, qt as fe, st as pe, t as me, x as he } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { t as ge } from "./useConfig-C0V0eG7L.js";
|
|
4
|
+
import { t as _e } from "./usePrinter-BH-xle1O.js";
|
|
5
5
|
import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as be } from "./useSvgExport-
|
|
7
|
-
import { t as xe } from "./useNestedProp-
|
|
6
|
+
import { t as be } from "./useSvgExport-Ba9qBr9M.js";
|
|
7
|
+
import { t as xe } from "./useNestedProp-BY6DNN3i.js";
|
|
8
8
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as Ce } from "./
|
|
10
|
-
import { t as we } from "./
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as De } from "./
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { Fragment as c, Teleport as
|
|
9
|
+
import { t as Ce } from "./useMountedDelay-BAjrhRJb.js";
|
|
10
|
+
import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
+
import { t as Te } from "./img-Bikk1dGb.js";
|
|
12
|
+
import { n as Ee } from "./Title-BuPs74IB.js";
|
|
13
|
+
import { t as De } from "./Shape-BfnXr1nJ.js";
|
|
14
|
+
import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
|
+
import { l as ke, t as Ae } from "./useResponsive-ZtArZtUf.js";
|
|
16
|
+
import { t as je } from "./BaseLegendToggle-DsWphmIb.js";
|
|
17
|
+
import { t as Me } from "./A11yDataTable-DdRsVULz.js";
|
|
18
|
+
import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
+
import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
+
import { t as Fe } from "./Legend-C0xAnJdO.js";
|
|
21
|
+
import { t as Ie } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
|
|
22
|
+
import { Fragment as c, Teleport as Le, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Ve, nextTick as He, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Ue, onMounted as We, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as C, toRefs as qe, unref as w, watch as Je, watchEffect as Ye, withCtx as T } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-parallel-coordinate-plot.vue
|
|
24
|
-
var
|
|
24
|
+
var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e = ["id"], et = { style: { position: "relative" } }, tt = [
|
|
25
25
|
"xmlns",
|
|
26
26
|
"aria-describedby",
|
|
27
27
|
"viewBox"
|
|
28
|
-
],
|
|
28
|
+
], nt = [
|
|
29
29
|
"x",
|
|
30
30
|
"y",
|
|
31
31
|
"width",
|
|
32
32
|
"height"
|
|
33
|
-
],
|
|
33
|
+
], rt = { style: { "pointer-events": "none" } }, it = [
|
|
34
34
|
"x1",
|
|
35
35
|
"x2",
|
|
36
36
|
"y1",
|
|
37
37
|
"y2",
|
|
38
38
|
"stroke",
|
|
39
39
|
"stroke-width"
|
|
40
|
-
],
|
|
41
|
-
"
|
|
42
|
-
"x2",
|
|
43
|
-
"y1",
|
|
44
|
-
"y2",
|
|
40
|
+
], at = [
|
|
41
|
+
"d",
|
|
45
42
|
"stroke",
|
|
46
43
|
"stroke-width"
|
|
47
|
-
],
|
|
48
|
-
"
|
|
49
|
-
"y",
|
|
44
|
+
], ot = { key: 0 }, st = [
|
|
45
|
+
"transform",
|
|
50
46
|
"fill",
|
|
51
47
|
"font-size",
|
|
52
48
|
"font-weight"
|
|
53
|
-
],
|
|
49
|
+
], ct = [
|
|
54
50
|
"fill",
|
|
55
51
|
"font-size",
|
|
56
52
|
"font-weight",
|
|
57
53
|
"text-anchor",
|
|
58
54
|
"transform"
|
|
59
|
-
],
|
|
55
|
+
], lt = [
|
|
60
56
|
"fill",
|
|
61
57
|
"font-size",
|
|
62
58
|
"font-weight",
|
|
63
59
|
"text-anchor",
|
|
64
60
|
"transform",
|
|
65
61
|
"innerHTML"
|
|
66
|
-
],
|
|
62
|
+
], ut = { key: 0 }, dt = [
|
|
67
63
|
"x",
|
|
68
64
|
"y",
|
|
69
65
|
"font-size",
|
|
70
66
|
"fill"
|
|
71
|
-
],
|
|
67
|
+
], ft = [
|
|
72
68
|
"width",
|
|
73
69
|
"x",
|
|
74
70
|
"y"
|
|
75
|
-
],
|
|
71
|
+
], pt = { style: { width: "100%" } }, mt = [
|
|
76
72
|
"x",
|
|
77
73
|
"y",
|
|
78
74
|
"fill",
|
|
@@ -81,19 +77,19 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
81
77
|
"onMouseenter",
|
|
82
78
|
"onMouseleave",
|
|
83
79
|
"onClick"
|
|
84
|
-
],
|
|
80
|
+
], ht = [
|
|
85
81
|
"d",
|
|
86
82
|
"stroke",
|
|
87
83
|
"stroke-width",
|
|
88
84
|
"onMouseenter",
|
|
89
85
|
"onMouseleave",
|
|
90
86
|
"onClick"
|
|
91
|
-
],
|
|
87
|
+
], gt = [
|
|
92
88
|
"d",
|
|
93
89
|
"onMouseenter",
|
|
94
90
|
"onMouseleave",
|
|
95
91
|
"onClick"
|
|
96
|
-
],
|
|
92
|
+
], _t = {
|
|
97
93
|
key: 0,
|
|
98
94
|
style: {
|
|
99
95
|
position: "absolute",
|
|
@@ -103,10 +99,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
103
99
|
},
|
|
104
100
|
"data-dom-to-png-ignore": "",
|
|
105
101
|
"aria-hidden": "true"
|
|
106
|
-
},
|
|
102
|
+
}, vt = {
|
|
107
103
|
key: 5,
|
|
108
104
|
class: "vue-data-ui-watermark"
|
|
109
|
-
},
|
|
105
|
+
}, yt = ["id"], bt = ["onClick"], xt = ["innerHTML"], St = /*#__PURE__*/ Oe({
|
|
110
106
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
111
107
|
props: {
|
|
112
108
|
config: {
|
|
@@ -127,22 +123,22 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
127
123
|
"selectDatapoint",
|
|
128
124
|
"copyAlt"
|
|
129
125
|
],
|
|
130
|
-
setup(e, { expose:
|
|
131
|
-
let
|
|
126
|
+
setup(e, { expose: Oe, emit: Xe }) {
|
|
127
|
+
let St = m(() => import("./Tooltip-CA1rtSyl.js")), Ct = m(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), wt = m(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), Tt = m(() => import("./DataTable-DzPEVvSo.js")), Et = m(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Dt = m(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), Ot = m(() => import("./PackageVersion-Di3tpYst.js").then((e) => e.t)), kt = m(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: At } = ge(), { isThemeValid: jt, warnInvalidTheme: Mt } = Se(), { isReady: Nt } = Ce(300), E = e, Pt = l({
|
|
132
128
|
get() {
|
|
133
129
|
return !!E.dataset && E.dataset.length;
|
|
134
130
|
},
|
|
135
131
|
set(e) {
|
|
136
132
|
return e;
|
|
137
133
|
}
|
|
138
|
-
}),
|
|
134
|
+
}), Ft = b(0), D = b(null), It = b(null), Lt = b(null), Rt = b(null), zt = b(null), Bt = b(0), Vt = b(0), Ht = b(0), Ut = b(!1), O = b(null), Wt = b(null), Gt = b(!1), Kt = b(!1), qt = b(null), k = b(null), Jt = b({
|
|
139
135
|
x: 0,
|
|
140
136
|
y: 0
|
|
141
|
-
}),
|
|
142
|
-
function
|
|
143
|
-
j.value = e,
|
|
137
|
+
}), Yt = b("pointer"), Xt = b(!1), A = b(o()), j = b(!1);
|
|
138
|
+
function Zt(e) {
|
|
139
|
+
j.value = e, Ft.value += 1;
|
|
144
140
|
}
|
|
145
|
-
let M = b(
|
|
141
|
+
let M = b(an()), N = l(() => M.value.userOptions.useCursorPointer), Qt = l(() => fe({
|
|
146
142
|
defaultConfig: {
|
|
147
143
|
useCssAnimation: !1,
|
|
148
144
|
userOptions: { show: !1 },
|
|
@@ -164,13 +160,13 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
164
160
|
} }
|
|
165
161
|
},
|
|
166
162
|
userConfig: M.value.skeletonConfig ?? {}
|
|
167
|
-
})), { loading: P, FINAL_DATASET:
|
|
168
|
-
...
|
|
163
|
+
})), { loading: P, FINAL_DATASET: $t, manualLoading: en } = ve({
|
|
164
|
+
...qe(E),
|
|
169
165
|
FINAL_CONFIG: M,
|
|
170
|
-
prepareConfig:
|
|
166
|
+
prepareConfig: an,
|
|
171
167
|
callback: () => {
|
|
172
168
|
Promise.resolve().then(async () => {
|
|
173
|
-
await
|
|
169
|
+
await He(), V.value.showTable = M.value.table.show;
|
|
174
170
|
});
|
|
175
171
|
},
|
|
176
172
|
skeletonDataset: E.config?.skeletonDataset ?? [
|
|
@@ -219,18 +215,18 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
219
215
|
],
|
|
220
216
|
skeletonConfig: fe({
|
|
221
217
|
defaultConfig: M.value,
|
|
222
|
-
userConfig:
|
|
218
|
+
userConfig: Qt.value
|
|
223
219
|
})
|
|
224
|
-
}), { userOptionsVisible:
|
|
225
|
-
function
|
|
220
|
+
}), { userOptionsVisible: tn, setUserOptionsVisibility: nn, keepUserOptionState: rn } = Ne({ config: M.value }), { svgRef: F } = Pe({ config: M.value.style.chart.title });
|
|
221
|
+
function an() {
|
|
226
222
|
let e = xe({
|
|
227
223
|
userConfig: E.config,
|
|
228
|
-
defaultConfig:
|
|
224
|
+
defaultConfig: At
|
|
229
225
|
}), t = e.theme;
|
|
230
226
|
if (!t) return e;
|
|
231
|
-
if (!
|
|
227
|
+
if (!jt.value(e)) return Mt(e), e;
|
|
232
228
|
let n = xe({
|
|
233
|
-
userConfig:
|
|
229
|
+
userConfig: Ie[t] || E.config,
|
|
234
230
|
defaultConfig: e
|
|
235
231
|
}), r = xe({
|
|
236
232
|
userConfig: E.config,
|
|
@@ -241,42 +237,42 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
241
237
|
customPalette: r.customPalette.length ? r.customPalette : a[t] || te
|
|
242
238
|
};
|
|
243
239
|
}
|
|
244
|
-
|
|
245
|
-
P.value || (M.value =
|
|
246
|
-
}, { deep: !0 }),
|
|
247
|
-
Array.isArray(e) && e.length > 0 && (
|
|
240
|
+
Je(() => E.config, (e) => {
|
|
241
|
+
P.value || (M.value = an()), tn.value = !M.value.userOptions.showOnChartHover, sn(), Bt.value += 1, Ht.value += 1, Vt.value += 1, V.value.dataLabels.show = M.value.style.chart.yAxis.labels.datapoints.show, V.value.showTable = M.value.table.show, V.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
242
|
+
}, { deep: !0 }), Je(() => E.dataset, (e) => {
|
|
243
|
+
Array.isArray(e) && e.length > 0 && (en.value = !1);
|
|
248
244
|
}, { deep: !0 });
|
|
249
|
-
let I =
|
|
250
|
-
|
|
251
|
-
|
|
245
|
+
let I = Ke(null), L = Ke(null);
|
|
246
|
+
We(() => {
|
|
247
|
+
Ut.value = !0, sn();
|
|
252
248
|
});
|
|
253
|
-
let
|
|
254
|
-
function
|
|
249
|
+
let on = l(() => !!M.value.debug);
|
|
250
|
+
function sn() {
|
|
255
251
|
if (t(E.dataset) ? (se({
|
|
256
252
|
componentName: "VueUiParallelCoordinatePlot",
|
|
257
253
|
type: "dataset",
|
|
258
|
-
debug:
|
|
259
|
-
}),
|
|
254
|
+
debug: on.value
|
|
255
|
+
}), en.value = !0) : E.dataset.forEach((e, t) => {
|
|
260
256
|
ce({
|
|
261
257
|
datasetObject: e,
|
|
262
258
|
requiredAttributes: ["name", "series"]
|
|
263
259
|
}).forEach((e) => {
|
|
264
|
-
|
|
260
|
+
Pt.value = !1, se({
|
|
265
261
|
componentName: "VueUiParallelCoordinatePlot",
|
|
266
262
|
type: "datasetSerieAttribute",
|
|
267
263
|
property: e,
|
|
268
264
|
index: t,
|
|
269
|
-
debug:
|
|
265
|
+
debug: on.value
|
|
270
266
|
});
|
|
271
267
|
});
|
|
272
|
-
}), t(E.dataset) || (
|
|
273
|
-
let e =
|
|
274
|
-
let { width: e, height: t } =
|
|
268
|
+
}), t(E.dataset) || (en.value = M.value.loading), M.value.responsive) {
|
|
269
|
+
let e = ke(() => {
|
|
270
|
+
let { width: e, height: t } = Ae({
|
|
275
271
|
chart: D.value,
|
|
276
|
-
title: M.value.style.chart.title.text ?
|
|
277
|
-
legend: M.value.style.chart.legend.show ?
|
|
278
|
-
source:
|
|
279
|
-
noTitle:
|
|
272
|
+
title: M.value.style.chart.title.text ? It.value : null,
|
|
273
|
+
legend: M.value.style.chart.legend.show ? Lt.value : null,
|
|
274
|
+
source: Rt.value,
|
|
275
|
+
noTitle: zt.value
|
|
280
276
|
});
|
|
281
277
|
requestAnimationFrame(() => {
|
|
282
278
|
R.value.width = e, R.value.height = t - 12, M.value.responsiveProportionalSizing ? (R.value.plotSize = s({
|
|
@@ -309,33 +305,33 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
309
305
|
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(e), L.value = D.value.parentNode, I.value.observe(L.value);
|
|
310
306
|
}
|
|
311
307
|
}
|
|
312
|
-
|
|
308
|
+
Ue(() => {
|
|
313
309
|
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
|
|
314
310
|
});
|
|
315
|
-
let { isPrinting:
|
|
311
|
+
let { isPrinting: cn, isImaging: ln, generatePdf: un, generateImage: dn } = _e({
|
|
316
312
|
elementId: `pcp_${A.value}`,
|
|
317
313
|
fileName: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
318
314
|
options: M.value.userOptions.print
|
|
319
|
-
}),
|
|
315
|
+
}), fn = l(() => M.value.userOptions.show && !M.value.style.chart.title.text), R = b({
|
|
320
316
|
height: M.value.style.chart.height,
|
|
321
317
|
width: M.value.style.chart.width,
|
|
322
318
|
plotSize: M.value.style.chart.plots.radius,
|
|
323
319
|
ticksFontSize: M.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
324
320
|
datapointFontSize: M.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
325
321
|
axisNameFontSize: M.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
326
|
-
}),
|
|
322
|
+
}), pn = l(() => R.value.width), mn = l(() => R.value.height), z = b(0), hn = ke((e) => {
|
|
327
323
|
z.value = e;
|
|
328
324
|
}, 100);
|
|
329
|
-
|
|
330
|
-
let t =
|
|
325
|
+
Ye((e) => {
|
|
326
|
+
let t = qt.value;
|
|
331
327
|
if (!t) return;
|
|
332
328
|
let n = new ResizeObserver((e) => {
|
|
333
|
-
|
|
329
|
+
hn(e[0].contentRect.height);
|
|
334
330
|
});
|
|
335
331
|
n.observe(t), e(() => n.disconnect());
|
|
336
332
|
});
|
|
337
333
|
let B = l(() => {
|
|
338
|
-
let { top: e, right: t, bottom: n, left: r } = M.value.style.chart.padding, i =
|
|
334
|
+
let { top: e, right: t, bottom: n, left: r } = M.value.style.chart.padding, i = mn.value, a = pn.value;
|
|
339
335
|
return {
|
|
340
336
|
chartHeight: Math.max(.001, i),
|
|
341
337
|
chartWidth: Math.max(.001, a),
|
|
@@ -346,12 +342,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
346
342
|
right: a - t,
|
|
347
343
|
bottom: i - n - R.value.datapointFontSize
|
|
348
344
|
};
|
|
349
|
-
}),
|
|
345
|
+
}), gn = l(() => r(M.value.customPalette)), V = b({
|
|
350
346
|
dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
|
|
351
347
|
showTable: M.value.table.show,
|
|
352
348
|
showTooltip: M.value.style.chart.tooltip.show
|
|
353
349
|
});
|
|
354
|
-
|
|
350
|
+
Je(M, () => {
|
|
355
351
|
V.value = {
|
|
356
352
|
dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
|
|
357
353
|
showTable: M.value.table.show,
|
|
@@ -359,16 +355,16 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
359
355
|
};
|
|
360
356
|
}, { immediate: !0 });
|
|
361
357
|
let H = b([]);
|
|
362
|
-
function
|
|
358
|
+
function _n() {
|
|
363
359
|
H.value.length ? H.value = [] : W.value.forEach((e) => {
|
|
364
360
|
H.value.push(e.id);
|
|
365
|
-
}),
|
|
361
|
+
}), Mn("selectLegend", K.value);
|
|
366
362
|
}
|
|
367
|
-
function
|
|
368
|
-
H.value.includes(e) ? H.value = H.value.filter((t) => t !== e) : H.value.push(e),
|
|
363
|
+
function vn(e) {
|
|
364
|
+
H.value.includes(e) ? H.value = H.value.filter((t) => t !== e) : H.value.push(e), Mn("selectLegend", K.value);
|
|
369
365
|
}
|
|
370
|
-
let U = l(() =>
|
|
371
|
-
let n = he(e.color) ||
|
|
366
|
+
let U = l(() => $t.value.map((e, t) => {
|
|
367
|
+
let n = he(e.color) || gn.value[t] || te[t] || te[t % te.length];
|
|
372
368
|
return {
|
|
373
369
|
...e,
|
|
374
370
|
series: e.series.map((e) => ({
|
|
@@ -382,33 +378,33 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
382
378
|
shape: e.shape || "circle"
|
|
383
379
|
};
|
|
384
380
|
}));
|
|
385
|
-
function
|
|
381
|
+
function yn(e) {
|
|
386
382
|
return U.value.length ? U.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
|
|
387
383
|
}
|
|
388
|
-
function
|
|
389
|
-
let t =
|
|
390
|
-
t !== null && H.value.includes(t.id) &&
|
|
384
|
+
function bn(e) {
|
|
385
|
+
let t = yn(e);
|
|
386
|
+
t !== null && H.value.includes(t.id) && vn(t.id);
|
|
391
387
|
}
|
|
392
|
-
function
|
|
393
|
-
let t =
|
|
394
|
-
t !== null && (H.value.includes(t.id) ||
|
|
388
|
+
function xn(e) {
|
|
389
|
+
let t = yn(e);
|
|
390
|
+
t !== null && (H.value.includes(t.id) || vn(t.id));
|
|
395
391
|
}
|
|
396
392
|
let W = l(() => U.value.map((e) => ({
|
|
397
393
|
...e,
|
|
398
394
|
opacity: H.value.includes(e.id) ? .5 : 1,
|
|
399
|
-
segregate: () =>
|
|
395
|
+
segregate: () => vn(e.id),
|
|
400
396
|
isSegregated: H.value.includes(e.id),
|
|
401
397
|
shape: e.shape || "circle"
|
|
402
|
-
}))),
|
|
398
|
+
}))), Sn = l(() => ({
|
|
403
399
|
cy: "pcp-div-legend",
|
|
404
400
|
backgroundColor: M.value.style.chart.legend.backgroundColor,
|
|
405
401
|
color: M.value.style.chart.legend.color,
|
|
406
402
|
fontSize: M.value.style.chart.legend.fontSize,
|
|
407
403
|
paddingBottom: 12,
|
|
408
404
|
fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
|
|
409
|
-
})),
|
|
405
|
+
})), Cn = l(() => Math.max(...U.value.filter((e) => !H.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), G = l(() => B.value.width / Cn.value), K = l(() => U.value.filter((e) => !H.value.includes(e.id))), q = l(() => {
|
|
410
406
|
let e = [];
|
|
411
|
-
for (let t = 0; t <
|
|
407
|
+
for (let t = 0; t < Cn.value; t += 1) {
|
|
412
408
|
let n = Math.min(...K.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...K.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = le(r === n ? n / 4 : n, r === n ? r * 2 : r, M.value.style.chart.yAxis.scaleTicks), a = i.ticks.map((e, n) => {
|
|
413
409
|
let r = i.min < 0 ? e + Math.abs(i.min) : e - Math.abs(i.min), a = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
414
410
|
return {
|
|
@@ -463,7 +459,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
463
459
|
S: t,
|
|
464
460
|
key: `${t}_${r}`
|
|
465
461
|
}))));
|
|
466
|
-
function
|
|
462
|
+
function wn({ value: e, index: t, datapoint: n }) {
|
|
467
463
|
return ue(M.value.style.chart.yAxis.labels.formatters[t] || null, e, ae({
|
|
468
464
|
p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
|
|
469
465
|
v: e,
|
|
@@ -474,7 +470,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
474
470
|
seriesIndex: t
|
|
475
471
|
});
|
|
476
472
|
}
|
|
477
|
-
let X = b(null),
|
|
473
|
+
let X = b(null), Tn = b(null), En = b(!1), Dn = b("");
|
|
478
474
|
function Z({ shape: e, serie: t, S: n }) {
|
|
479
475
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
480
476
|
datapoint: {
|
|
@@ -484,23 +480,23 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
484
480
|
seriesIndex: n
|
|
485
481
|
});
|
|
486
482
|
let r = k.value === null ? null : Y.value[k.value];
|
|
487
|
-
|
|
483
|
+
Yt.value === "keyboard" && r && r.serie.id === t.id || (X.value = null, En.value = !1);
|
|
488
484
|
}
|
|
489
|
-
function
|
|
485
|
+
function On(e) {
|
|
490
486
|
if (!F.value || !e?.datapoints?.length) return;
|
|
491
487
|
let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
|
|
492
488
|
if (!t) return;
|
|
493
489
|
let n = ie(t.x, t.y, F.value);
|
|
494
|
-
n && (
|
|
490
|
+
n && (Jt.value = n);
|
|
495
491
|
}
|
|
496
|
-
function
|
|
492
|
+
function Q({ shape: e, serieName: t, serie: n, relativeIndex: r, seriesIndex: i, S: a, triggerMode: o = "pointer" }) {
|
|
497
493
|
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
498
494
|
datapoint: {
|
|
499
495
|
...n,
|
|
500
496
|
shape: e
|
|
501
497
|
},
|
|
502
498
|
seriesIndex: a
|
|
503
|
-
}),
|
|
499
|
+
}), Yt.value = o, Tn.value = {
|
|
504
500
|
config: M.value,
|
|
505
501
|
datapoint: n,
|
|
506
502
|
serie: n,
|
|
@@ -508,7 +504,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
508
504
|
seriesIndex: i,
|
|
509
505
|
series: U.value,
|
|
510
506
|
scales: q.value
|
|
511
|
-
},
|
|
507
|
+
}, En.value = !0, X.value = n.id;
|
|
512
508
|
let s = "", ee = M.value.style.chart.tooltip.customFormat;
|
|
513
509
|
oe(ee) && pe(() => ee({
|
|
514
510
|
serie: n,
|
|
@@ -516,7 +512,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
516
512
|
series: U.value,
|
|
517
513
|
config: M.value,
|
|
518
514
|
scales: q.value
|
|
519
|
-
})) ?
|
|
515
|
+
})) ? Dn.value = ee({
|
|
520
516
|
serie: n,
|
|
521
517
|
seriesIndex: n.seriesIndex,
|
|
522
518
|
series: U.value,
|
|
@@ -539,14 +535,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
539
535
|
</span>
|
|
540
536
|
</div>
|
|
541
537
|
`, M.value.style.chart.comments.showInTooltip && n.datapoints[t].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${n.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${n.color}">${n.datapoints[t].comment}</div>`);
|
|
542
|
-
}),
|
|
543
|
-
|
|
538
|
+
}), Dn.value = `<div>${s}</div>`), o === "keyboard" && He(() => {
|
|
539
|
+
On(n);
|
|
544
540
|
});
|
|
545
541
|
}
|
|
546
|
-
function
|
|
542
|
+
function kn() {
|
|
547
543
|
return U.value;
|
|
548
544
|
}
|
|
549
|
-
let
|
|
545
|
+
let $ = l(() => {
|
|
550
546
|
let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name));
|
|
551
547
|
return {
|
|
552
548
|
body: J.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
|
|
@@ -566,52 +562,52 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
566
562
|
},
|
|
567
563
|
colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name))
|
|
568
564
|
};
|
|
569
|
-
}),
|
|
565
|
+
}), An = l(() => J.value.length === 0 ? {
|
|
570
566
|
head: [],
|
|
571
567
|
body: [],
|
|
572
568
|
config: {},
|
|
573
569
|
columnNames: []
|
|
574
570
|
} : {
|
|
575
|
-
head:
|
|
576
|
-
body:
|
|
571
|
+
head: $.value.head,
|
|
572
|
+
body: $.value.body
|
|
577
573
|
});
|
|
578
|
-
function
|
|
574
|
+
function jn(e = null) {
|
|
579
575
|
let t = [
|
|
580
576
|
[M.value.style.chart.title.text],
|
|
581
577
|
[M.value.style.chart.title.subtitle.text],
|
|
582
578
|
[""]
|
|
583
|
-
], n =
|
|
579
|
+
], n = An.value.head, r = An.value.body, a = i(t.concat([n]).concat(r));
|
|
584
580
|
e ? e(a) : ne({
|
|
585
581
|
csvContent: a,
|
|
586
582
|
title: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
587
583
|
});
|
|
588
584
|
}
|
|
589
|
-
let
|
|
590
|
-
function
|
|
585
|
+
let Mn = Xe;
|
|
586
|
+
function Nn({ serie: e, shape: t, S: n }) {
|
|
591
587
|
M.value.events.datapointClick && M.value.events.datapointClick({
|
|
592
588
|
datapoint: {
|
|
593
589
|
...e,
|
|
594
590
|
shape: t
|
|
595
591
|
},
|
|
596
592
|
seriesIndex: n
|
|
597
|
-
}),
|
|
593
|
+
}), Mn("selectDatapoint", e);
|
|
598
594
|
}
|
|
599
|
-
function
|
|
595
|
+
function Pn() {
|
|
600
596
|
V.value.showTable = !V.value.showTable;
|
|
601
597
|
}
|
|
602
|
-
function
|
|
598
|
+
function Fn() {
|
|
603
599
|
V.value.dataLabels.show = !V.value.dataLabels.show;
|
|
604
600
|
}
|
|
605
|
-
function
|
|
601
|
+
function In() {
|
|
606
602
|
V.value.showTooltip = !V.value.showTooltip;
|
|
607
603
|
}
|
|
608
|
-
let
|
|
609
|
-
function
|
|
610
|
-
|
|
604
|
+
let Ln = b(!1);
|
|
605
|
+
function Rn() {
|
|
606
|
+
Ln.value = !Ln.value;
|
|
611
607
|
}
|
|
612
|
-
async function
|
|
608
|
+
async function zn({ scale: e = 2 } = {}) {
|
|
613
609
|
if (!D.value) return;
|
|
614
|
-
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
610
|
+
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Te({
|
|
615
611
|
domElement: D.value,
|
|
616
612
|
base64: !0,
|
|
617
613
|
img: !0,
|
|
@@ -626,14 +622,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
626
622
|
aspectRatio: r
|
|
627
623
|
};
|
|
628
624
|
}
|
|
629
|
-
let
|
|
625
|
+
let Bn = b({
|
|
630
626
|
start: 0,
|
|
631
627
|
end: 1
|
|
632
628
|
});
|
|
633
|
-
|
|
634
|
-
timeLabelsEls:
|
|
629
|
+
we({
|
|
630
|
+
timeLabelsEls: qt,
|
|
635
631
|
timeLabels: l(() => q.value.map((e) => e.name)),
|
|
636
|
-
slicer:
|
|
632
|
+
slicer: Bn,
|
|
637
633
|
configRef: M,
|
|
638
634
|
rotationPath: [
|
|
639
635
|
"style",
|
|
@@ -651,15 +647,15 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
651
647
|
"enable"
|
|
652
648
|
],
|
|
653
649
|
isAutoSize: !1,
|
|
654
|
-
width:
|
|
655
|
-
height:
|
|
650
|
+
width: pn,
|
|
651
|
+
height: mn,
|
|
656
652
|
targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
|
|
657
653
|
rotation: M.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
|
|
658
654
|
});
|
|
659
|
-
let
|
|
655
|
+
let Vn = l(() => {
|
|
660
656
|
let e = M.value.table.useDialog && !M.value.table.show, t = V.value.showTable;
|
|
661
657
|
return {
|
|
662
|
-
component: e ?
|
|
658
|
+
component: e ? kt : wt,
|
|
663
659
|
title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
|
|
664
660
|
props: e ? {
|
|
665
661
|
backgroundColor: M.value.table.th.backgroundColor,
|
|
@@ -687,48 +683,48 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
687
683
|
}
|
|
688
684
|
};
|
|
689
685
|
});
|
|
690
|
-
|
|
686
|
+
Je(() => V.value.showTable, (e) => {
|
|
691
687
|
M.value.table.show || (e && M.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
|
|
692
688
|
});
|
|
693
|
-
function
|
|
694
|
-
V.value.showTable = !1,
|
|
689
|
+
function Hn() {
|
|
690
|
+
V.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
|
|
695
691
|
}
|
|
696
|
-
let
|
|
692
|
+
let Un = l(() => M.value.style.chart.backgroundColor), Wn = l(() => M.value.style.chart.legend), { exportSvg: Gn, getSvg: Kn } = be({
|
|
697
693
|
svg: F,
|
|
698
694
|
title: l(() => M.value.style.chart.title),
|
|
699
|
-
legend:
|
|
695
|
+
legend: Wn,
|
|
700
696
|
legendItems: W,
|
|
701
|
-
backgroundColor:
|
|
697
|
+
backgroundColor: Un
|
|
702
698
|
});
|
|
703
|
-
async function
|
|
704
|
-
|
|
699
|
+
async function qn({ isCb: e }) {
|
|
700
|
+
Kt.value = !0, await He();
|
|
705
701
|
try {
|
|
706
702
|
if (e) {
|
|
707
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
703
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Kn();
|
|
708
704
|
await Promise.resolve(M.value.userOptions.callbacks.svg({
|
|
709
705
|
blob: e,
|
|
710
706
|
url: t,
|
|
711
707
|
text: n,
|
|
712
708
|
dataUrl: r
|
|
713
709
|
}));
|
|
714
|
-
} else await Promise.resolve(
|
|
710
|
+
} else await Promise.resolve(Gn());
|
|
715
711
|
} finally {
|
|
716
|
-
|
|
712
|
+
Kt.value = !1;
|
|
717
713
|
}
|
|
718
714
|
}
|
|
719
|
-
function
|
|
715
|
+
function Jn(e) {
|
|
720
716
|
if (e?.stage === "start") {
|
|
721
|
-
|
|
717
|
+
Gt.value = !0;
|
|
722
718
|
return;
|
|
723
719
|
}
|
|
724
720
|
if (e?.stage === "end") {
|
|
725
|
-
|
|
721
|
+
Gt.value = !1;
|
|
726
722
|
return;
|
|
727
723
|
}
|
|
728
|
-
|
|
724
|
+
dn();
|
|
729
725
|
}
|
|
730
|
-
async function
|
|
731
|
-
if (
|
|
726
|
+
async function Yn() {
|
|
727
|
+
if (Mn("copyAlt", {
|
|
732
728
|
config: M.value,
|
|
733
729
|
dataset: J.value
|
|
734
730
|
}), !M.value.userOptions.callbacks.altCopy) {
|
|
@@ -740,11 +736,11 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
740
736
|
dataset: J.value
|
|
741
737
|
}));
|
|
742
738
|
}
|
|
743
|
-
function
|
|
739
|
+
function Xn(e) {
|
|
744
740
|
let t = Y.value.length;
|
|
745
741
|
return t ? (e % t + t) % t : null;
|
|
746
742
|
}
|
|
747
|
-
function
|
|
743
|
+
function Zn() {
|
|
748
744
|
if (k.value !== null) {
|
|
749
745
|
let e = Y.value[k.value];
|
|
750
746
|
e && Z({
|
|
@@ -753,27 +749,27 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
753
749
|
S: e.S
|
|
754
750
|
});
|
|
755
751
|
}
|
|
756
|
-
k.value = null,
|
|
757
|
-
}
|
|
758
|
-
function Zn() {
|
|
759
|
-
k.value = null, Jt.value = !0;
|
|
752
|
+
k.value = null, Yt.value = "pointer", X.value = null, En.value = !1;
|
|
760
753
|
}
|
|
761
754
|
function Qn() {
|
|
762
|
-
|
|
755
|
+
k.value = null, Xt.value = !0;
|
|
763
756
|
}
|
|
764
|
-
function $n(
|
|
765
|
-
|
|
757
|
+
function $n() {
|
|
758
|
+
Zn(), Xt.value = !1;
|
|
759
|
+
}
|
|
760
|
+
function er(e) {
|
|
761
|
+
if (!F.value || Ln.value || document.activeElement !== F.value || !Y.value.length) return;
|
|
766
762
|
let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
767
763
|
if (!t && !n && !r && !i) return;
|
|
768
764
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
769
|
-
|
|
765
|
+
Zn();
|
|
770
766
|
return;
|
|
771
767
|
}
|
|
772
768
|
if (r) {
|
|
773
769
|
if (k.value === null) return;
|
|
774
770
|
let e = Y.value[k.value];
|
|
775
771
|
if (!e) return;
|
|
776
|
-
|
|
772
|
+
Nn({
|
|
777
773
|
serie: e.serie,
|
|
778
774
|
shape: e.shape,
|
|
779
775
|
S: e.S
|
|
@@ -781,9 +777,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
781
777
|
return;
|
|
782
778
|
}
|
|
783
779
|
let a = k.value;
|
|
784
|
-
a = a === null ? n ? 0 : Y.value.length - 1 :
|
|
780
|
+
a = a === null ? n ? 0 : Y.value.length - 1 : Xn(a + (n ? 1 : -1));
|
|
785
781
|
let o = Y.value[a];
|
|
786
|
-
o && (k.value = a,
|
|
782
|
+
o && (k.value = a, Q({
|
|
787
783
|
shape: o.shape,
|
|
788
784
|
serieName: o.serieName,
|
|
789
785
|
serie: o.serie,
|
|
@@ -793,9 +789,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
793
789
|
triggerMode: "keyboard"
|
|
794
790
|
}));
|
|
795
791
|
}
|
|
796
|
-
let
|
|
797
|
-
head:
|
|
798
|
-
body:
|
|
792
|
+
let tr = l(() => ({
|
|
793
|
+
head: $.value.head,
|
|
794
|
+
body: $.value.body.map((e) => [
|
|
799
795
|
e[0] ?? "",
|
|
800
796
|
e[1] ?? "",
|
|
801
797
|
...e.slice(2)
|
|
@@ -803,41 +799,41 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
803
799
|
caption: M.value.a11y.translations.tableCaption,
|
|
804
800
|
notice: M.value.a11y.translations.tableAvailable
|
|
805
801
|
}));
|
|
806
|
-
return
|
|
807
|
-
getData:
|
|
808
|
-
getImage:
|
|
809
|
-
generateCsv:
|
|
810
|
-
generatePdf:
|
|
811
|
-
generateImage:
|
|
812
|
-
generateSvg:
|
|
813
|
-
hideSeries:
|
|
814
|
-
showSeries:
|
|
815
|
-
toggleTable:
|
|
816
|
-
toggleLabels:
|
|
817
|
-
toggleTooltip:
|
|
818
|
-
toggleAnnotator:
|
|
819
|
-
toggleFullscreen:
|
|
820
|
-
copyAlt:
|
|
802
|
+
return Oe({
|
|
803
|
+
getData: kn,
|
|
804
|
+
getImage: zn,
|
|
805
|
+
generateCsv: jn,
|
|
806
|
+
generatePdf: un,
|
|
807
|
+
generateImage: dn,
|
|
808
|
+
generateSvg: qn,
|
|
809
|
+
hideSeries: xn,
|
|
810
|
+
showSeries: bn,
|
|
811
|
+
toggleTable: Pn,
|
|
812
|
+
toggleLabels: Fn,
|
|
813
|
+
toggleTooltip: In,
|
|
814
|
+
toggleAnnotator: Rn,
|
|
815
|
+
toggleFullscreen: Zt,
|
|
816
|
+
copyAlt: Yn
|
|
821
817
|
}), (e, t) => (y(), f("div", {
|
|
822
818
|
ref_key: "pcpChart",
|
|
823
819
|
ref: D,
|
|
824
820
|
class: g(`vue-data-ui-component vue-ui-pcp ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
825
821
|
style: v(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height:100%" : ""}`),
|
|
826
822
|
id: `pcp_${A.value}`,
|
|
827
|
-
onMouseenter: t[2] ||= () => w(
|
|
828
|
-
onMouseleave: t[3] ||= () => w(
|
|
823
|
+
onMouseenter: t[2] ||= () => w(nn)(!0),
|
|
824
|
+
onMouseleave: t[3] ||= () => w(nn)(!1)
|
|
829
825
|
}, [
|
|
830
826
|
p("div", {
|
|
831
827
|
id: `chart-instructions-${A.value}`,
|
|
832
828
|
class: "sr-only"
|
|
833
|
-
}, [p("p", null, C(M.value.a11y.translations.keyboardNavigation), 1)], 8,
|
|
834
|
-
|
|
829
|
+
}, [p("p", null, C(M.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
|
|
830
|
+
tr.value.body.length ? (y(), u(Me, {
|
|
835
831
|
key: 0,
|
|
836
832
|
uid: A.value,
|
|
837
|
-
head:
|
|
838
|
-
body:
|
|
839
|
-
caption:
|
|
840
|
-
notice:
|
|
833
|
+
head: tr.value.head,
|
|
834
|
+
body: tr.value.body,
|
|
835
|
+
caption: tr.value.caption,
|
|
836
|
+
notice: tr.value.notice
|
|
841
837
|
}, null, 8, [
|
|
842
838
|
"uid",
|
|
843
839
|
"head",
|
|
@@ -845,14 +841,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
845
841
|
"caption",
|
|
846
842
|
"notice"
|
|
847
843
|
])) : d("", !0),
|
|
848
|
-
M.value.userOptions.buttons.annotator ? (y(), u(w(
|
|
844
|
+
M.value.userOptions.buttons.annotator ? (y(), u(w(Et), {
|
|
849
845
|
key: 1,
|
|
850
846
|
svgRef: w(F),
|
|
851
847
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
852
848
|
color: M.value.style.chart.color,
|
|
853
|
-
active:
|
|
849
|
+
active: Ln.value,
|
|
854
850
|
isCursorPointer: N.value,
|
|
855
|
-
onClose:
|
|
851
|
+
onClose: Rn
|
|
856
852
|
}, {
|
|
857
853
|
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
858
854
|
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
|
|
@@ -868,20 +864,20 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
868
864
|
"active",
|
|
869
865
|
"isCursorPointer"
|
|
870
866
|
])) : d("", !0),
|
|
871
|
-
|
|
867
|
+
fn.value ? (y(), f("div", {
|
|
872
868
|
key: 2,
|
|
873
869
|
ref_key: "noTitle",
|
|
874
|
-
ref:
|
|
870
|
+
ref: zt,
|
|
875
871
|
class: "vue-data-ui-no-title-space",
|
|
876
872
|
style: "height:36px; width: 100%;background:transparent"
|
|
877
873
|
}, null, 512)) : d("", !0),
|
|
878
874
|
M.value.style.chart.title.text ? (y(), f("div", {
|
|
879
875
|
key: 3,
|
|
880
876
|
ref_key: "chartTitle",
|
|
881
|
-
ref:
|
|
877
|
+
ref: It,
|
|
882
878
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
883
|
-
}, [(y(), u(
|
|
884
|
-
key: `title_${
|
|
879
|
+
}, [(y(), u(Ee, {
|
|
880
|
+
key: `title_${Bt.value}`,
|
|
885
881
|
config: {
|
|
886
882
|
title: {
|
|
887
883
|
cy: "pcp-div-title",
|
|
@@ -893,15 +889,15 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
893
889
|
}
|
|
894
890
|
}
|
|
895
891
|
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
896
|
-
p("div", { id: `legend-top-${A.value}` }, null, 8,
|
|
897
|
-
M.value.userOptions.show &&
|
|
892
|
+
p("div", { id: `legend-top-${A.value}` }, null, 8, $e),
|
|
893
|
+
M.value.userOptions.show && Pt.value && (w(rn) || w(tn)) ? (y(), u(w(Dt), {
|
|
898
894
|
ref_key: "userOptionsRef",
|
|
899
|
-
ref:
|
|
900
|
-
key: `user_options_${
|
|
895
|
+
ref: Wt,
|
|
896
|
+
key: `user_options_${Ft.value}`,
|
|
901
897
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
902
898
|
color: M.value.style.chart.color,
|
|
903
|
-
isPrinting: w(
|
|
904
|
-
isImaging: w(
|
|
899
|
+
isPrinting: w(cn),
|
|
900
|
+
isImaging: w(ln),
|
|
905
901
|
uid: A.value,
|
|
906
902
|
hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
|
|
907
903
|
hasPdf: M.value.userOptions.buttons.pdf,
|
|
@@ -918,23 +914,23 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
918
914
|
chartElement: D.value,
|
|
919
915
|
position: M.value.userOptions.position,
|
|
920
916
|
hasAnnotator: M.value.userOptions.buttons.annotator,
|
|
921
|
-
isAnnotation:
|
|
917
|
+
isAnnotation: Ln.value,
|
|
922
918
|
callbacks: M.value.userOptions.callbacks,
|
|
923
919
|
printScale: M.value.userOptions.print.scale,
|
|
924
920
|
tableDialog: M.value.table.useDialog,
|
|
925
921
|
isCursorPointer: N.value,
|
|
926
|
-
onToggleFullscreen:
|
|
927
|
-
onGeneratePdf: w(
|
|
928
|
-
onGenerateCsv:
|
|
929
|
-
onGenerateImage:
|
|
930
|
-
onGenerateSvg:
|
|
931
|
-
onToggleTable:
|
|
932
|
-
onToggleLabels:
|
|
933
|
-
onToggleTooltip:
|
|
934
|
-
onToggleAnnotator:
|
|
935
|
-
onCopyAlt:
|
|
936
|
-
style: v({ visibility: w(
|
|
937
|
-
},
|
|
922
|
+
onToggleFullscreen: Zt,
|
|
923
|
+
onGeneratePdf: w(un),
|
|
924
|
+
onGenerateCsv: jn,
|
|
925
|
+
onGenerateImage: Jn,
|
|
926
|
+
onGenerateSvg: qn,
|
|
927
|
+
onToggleTable: Pn,
|
|
928
|
+
onToggleLabels: Fn,
|
|
929
|
+
onToggleTooltip: In,
|
|
930
|
+
onToggleAnnotator: Rn,
|
|
931
|
+
onCopyAlt: Yn,
|
|
932
|
+
style: v({ visibility: w(rn) ? w(tn) ? "visible" : "hidden" : "visible" })
|
|
933
|
+
}, Re({ _: 2 }, [
|
|
938
934
|
e.$slots.menuIcon ? {
|
|
939
935
|
name: "menuIcon",
|
|
940
936
|
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
|
|
@@ -1010,7 +1006,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1010
1006
|
key: "12"
|
|
1011
1007
|
} : void 0
|
|
1012
1008
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : d("", !0),
|
|
1013
|
-
p("div",
|
|
1009
|
+
p("div", et, [(y(), f("svg", {
|
|
1014
1010
|
ref_key: "svgRef",
|
|
1015
1011
|
ref: F,
|
|
1016
1012
|
xmlns: w(me),
|
|
@@ -1022,11 +1018,11 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1022
1018
|
viewBox: `0 0 ${B.value.chartWidth <= 0 ? 10 : B.value.chartWidth} ${B.value.chartHeight <= 0 ? 10 : B.value.chartHeight}`,
|
|
1023
1019
|
style: v(`max-width:100%; overflow: visible; background:transparent;color:${M.value.style.chart.color}`),
|
|
1024
1020
|
tabindex: "0",
|
|
1025
|
-
onFocus:
|
|
1026
|
-
onBlur:
|
|
1027
|
-
onKeydown:
|
|
1021
|
+
onFocus: Qn,
|
|
1022
|
+
onBlur: $n,
|
|
1023
|
+
onKeydown: er
|
|
1028
1024
|
}, [
|
|
1029
|
-
|
|
1025
|
+
Be(w(Ot)),
|
|
1030
1026
|
e.$slots["chart-background"] ? (y(), f("foreignObject", {
|
|
1031
1027
|
key: 0,
|
|
1032
1028
|
x: B.value.left,
|
|
@@ -1034,39 +1030,39 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1034
1030
|
width: B.value.width,
|
|
1035
1031
|
height: B.value.height,
|
|
1036
1032
|
style: { pointerEvents: "none" }
|
|
1037
|
-
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
1038
|
-
(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g",
|
|
1033
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : d("", !0),
|
|
1034
|
+
(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", rt, [p("line", {
|
|
1039
1035
|
x1: B.value.left + G.value * t + G.value / 2,
|
|
1040
1036
|
x2: B.value.left + G.value * t + G.value / 2,
|
|
1041
1037
|
y1: B.value.top,
|
|
1042
1038
|
y2: B.value.bottom,
|
|
1043
1039
|
stroke: M.value.style.chart.yAxis.stroke,
|
|
1044
1040
|
"stroke-width": M.value.style.chart.yAxis.strokeWidth
|
|
1045
|
-
}, null, 8,
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
y2: e.y,
|
|
1041
|
+
}, null, 8, it), M.value.style.chart.yAxis.labels.ticks.show ? (y(), f(c, { key: 0 }, [(y(!0), f(c, null, x(e.ticks, (t, n) => (y(), f("path", {
|
|
1042
|
+
class: "vue-ui-pcp-transition",
|
|
1043
|
+
key: `tick_${e.name}_${n}`,
|
|
1044
|
+
d: `M${t.x},${t.y} ${t.x - 10},${t.y}`,
|
|
1050
1045
|
stroke: M.value.style.chart.yAxis.stroke,
|
|
1051
1046
|
"stroke-width": M.value.style.chart.yAxis.strokeWidth,
|
|
1052
1047
|
style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
|
|
1053
|
-
}, null, 12,
|
|
1054
|
-
|
|
1055
|
-
|
|
1048
|
+
}, null, 12, at))), 128)), w(P) ? d("", !0) : (y(), f("g", ot, [(y(!0), f(c, null, x(e.ticks, (n, r) => (y(), f("text", {
|
|
1049
|
+
key: `tl_${e.name}_${r}`,
|
|
1050
|
+
class: g({ "vue-data-ui-datalabel": w(Nt) }),
|
|
1051
|
+
transform: `translate(${n.x - 12 + M.value.style.chart.yAxis.labels.ticks.offsetX}, ${n.y + M.value.style.chart.yAxis.labels.ticks.offsetY + R.value.ticksFontSize / 3})`,
|
|
1056
1052
|
fill: M.value.style.chart.yAxis.labels.ticks.color,
|
|
1057
1053
|
"text-anchor": "end",
|
|
1058
1054
|
"font-size": R.value.ticksFontSize,
|
|
1059
1055
|
"font-weight": M.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
1060
1056
|
style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
|
|
1061
|
-
}, C(
|
|
1062
|
-
value:
|
|
1057
|
+
}, C(wn({
|
|
1058
|
+
value: n.value,
|
|
1063
1059
|
index: t,
|
|
1064
|
-
datapoint:
|
|
1065
|
-
})),
|
|
1060
|
+
datapoint: n
|
|
1061
|
+
})), 15, st))), 128))]))], 64)) : d("", !0)]))), 256)),
|
|
1066
1062
|
M.value.style.chart.yAxis.labels.showAxisNames ? (y(), f("g", {
|
|
1067
1063
|
key: 1,
|
|
1068
1064
|
ref_key: "xAxisLabels",
|
|
1069
|
-
ref:
|
|
1065
|
+
ref: qt
|
|
1070
1066
|
}, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f(c, null, [String(e.name).includes("\n") ? (y(), f("text", {
|
|
1071
1067
|
key: 1,
|
|
1072
1068
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
@@ -1082,7 +1078,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1082
1078
|
x: 0,
|
|
1083
1079
|
y: 0
|
|
1084
1080
|
})
|
|
1085
|
-
}, null, 8,
|
|
1081
|
+
}, null, 8, lt)) : (y(), f("text", {
|
|
1086
1082
|
key: 0,
|
|
1087
1083
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
1088
1084
|
fill: M.value.style.chart.yAxis.labels.axisNamesColor,
|
|
@@ -1090,10 +1086,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1090
1086
|
"font-weight": M.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
1091
1087
|
"text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
1092
1088
|
transform: `translate(${B.value.left + G.value * t + G.value / 2}, ${z.value - R.value.axisNameFontSize}), rotate(${M.value.style.chart.yAxis.labels.axisNamesRotation})`
|
|
1093
|
-
}, C(e.name), 9,
|
|
1089
|
+
}, C(e.name), 9, ct))], 64))), 256))], 512)) : d("", !0),
|
|
1094
1090
|
(y(!0), f(c, null, x(J.value, (t, n) => (y(), f("g", null, [(y(!0), f(c, null, x(t.series, (r, i) => (y(), f("g", null, [
|
|
1095
|
-
M.value.style.chart.plots.show ? (y(), f("g",
|
|
1096
|
-
(y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(
|
|
1091
|
+
M.value.style.chart.plots.show ? (y(), f("g", ut, [
|
|
1092
|
+
(y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(De, {
|
|
1097
1093
|
plot: {
|
|
1098
1094
|
x: e.x,
|
|
1099
1095
|
y: e.y
|
|
@@ -1103,7 +1099,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1103
1099
|
radius: t.shape === "triangle" ? R.value.plotSize * 1.2 : R.value.plotSize,
|
|
1104
1100
|
stroke: M.value.style.chart.backgroundColor,
|
|
1105
1101
|
strokeWidth: .5,
|
|
1106
|
-
onMouseenter: (e) =>
|
|
1102
|
+
onMouseenter: (e) => Q({
|
|
1107
1103
|
shape: t.shape,
|
|
1108
1104
|
serieName: t.name,
|
|
1109
1105
|
serie: r,
|
|
@@ -1118,7 +1114,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1118
1114
|
S: n
|
|
1119
1115
|
}),
|
|
1120
1116
|
style: v(`opacity:${X.value ? X.value === r.id ? M.value.style.chart.plots.opacity : .2 : M.value.style.chart.plots.opacity}`),
|
|
1121
|
-
onClick: () =>
|
|
1117
|
+
onClick: () => Nn({
|
|
1122
1118
|
serie: r,
|
|
1123
1119
|
shape: t.shape,
|
|
1124
1120
|
S: n
|
|
@@ -1142,7 +1138,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1142
1138
|
"font-size": R.value.ticksFontSize,
|
|
1143
1139
|
fill: t.color,
|
|
1144
1140
|
"font-weight": "bold"
|
|
1145
|
-
}, C(r.name), 9,
|
|
1141
|
+
}, C(r.name), 9, dt)) : d("", !0)], 64)),
|
|
1146
1142
|
M.value.style.chart.comments.show ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (n) => (y(), f("g", null, [n.comment ? (y(), f("foreignObject", {
|
|
1147
1143
|
key: 0,
|
|
1148
1144
|
style: { overflow: "visible" },
|
|
@@ -1150,10 +1146,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1150
1146
|
width: M.value.style.chart.comments.width,
|
|
1151
1147
|
x: n.x - M.value.style.chart.comments.width / 2 + M.value.style.chart.comments.offsetX,
|
|
1152
1148
|
y: n.y + M.value.style.chart.comments.offsetY + 6
|
|
1153
|
-
}, [p("div",
|
|
1149
|
+
}, [p("div", pt, [S(e.$slots, "plot-comment", { plot: {
|
|
1154
1150
|
...n,
|
|
1155
1151
|
color: t.color
|
|
1156
|
-
} }, void 0, !0)])], 8,
|
|
1152
|
+
} }, void 0, !0)])], 8, ft)) : d("", !0)]))), 256)) : d("", !0)
|
|
1157
1153
|
])) : d("", !0),
|
|
1158
1154
|
!w(P) && (V.value.dataLabels.show || X.value && X.value === r.id) ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (e, a) => (y(), f("text", {
|
|
1159
1155
|
x: e.x + 12 + M.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
@@ -1166,7 +1162,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1166
1162
|
"vue-ui-pcp-transition": !w(P)
|
|
1167
1163
|
}),
|
|
1168
1164
|
"font-size": R.value.datapointFontSize,
|
|
1169
|
-
onMouseenter: (e) =>
|
|
1165
|
+
onMouseenter: (e) => Q({
|
|
1170
1166
|
shape: t.shape,
|
|
1171
1167
|
serieName: t.name,
|
|
1172
1168
|
serie: r,
|
|
@@ -1180,17 +1176,17 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1180
1176
|
shape: t.shape,
|
|
1181
1177
|
S: n
|
|
1182
1178
|
}),
|
|
1183
|
-
onClick: () =>
|
|
1179
|
+
onClick: () => Nn({
|
|
1184
1180
|
serie: r,
|
|
1185
1181
|
shape: t.shape,
|
|
1186
1182
|
S: n
|
|
1187
1183
|
}),
|
|
1188
1184
|
style: v(`opacity:${X.value ? X.value === r.id ? 1 : .2 : 1}`)
|
|
1189
|
-
}, C(
|
|
1185
|
+
}, C(wn({
|
|
1190
1186
|
value: e.value,
|
|
1191
1187
|
index: a,
|
|
1192
1188
|
datapoint: e
|
|
1193
|
-
})), 47,
|
|
1189
|
+
})), 47, mt))), 256)) : d("", !0),
|
|
1194
1190
|
p("path", {
|
|
1195
1191
|
d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
|
|
1196
1192
|
stroke: t.color,
|
|
@@ -1200,7 +1196,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1200
1196
|
"vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
|
|
1201
1197
|
"vue-ui-pcp-transition": !w(P)
|
|
1202
1198
|
}),
|
|
1203
|
-
onMouseenter: (e) =>
|
|
1199
|
+
onMouseenter: (e) => Q({
|
|
1204
1200
|
shape: t.shape,
|
|
1205
1201
|
serieName: t.name,
|
|
1206
1202
|
serie: r,
|
|
@@ -1214,13 +1210,13 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1214
1210
|
shape: t.shape,
|
|
1215
1211
|
S: n
|
|
1216
1212
|
}),
|
|
1217
|
-
onClick: () =>
|
|
1213
|
+
onClick: () => Nn({
|
|
1218
1214
|
serie: r,
|
|
1219
1215
|
shape: t.shape,
|
|
1220
1216
|
S: n
|
|
1221
1217
|
}),
|
|
1222
1218
|
style: v(`opacity:${X.value ? X.value === r.id ? M.value.style.chart.lines.opacity : .2 : M.value.style.chart.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${M.value.useCssAnimation ? r.pathLength : 0}`)
|
|
1223
|
-
}, null, 46,
|
|
1219
|
+
}, null, 46, ht),
|
|
1224
1220
|
V.value.showTooltip ? (y(), f("path", {
|
|
1225
1221
|
key: 2,
|
|
1226
1222
|
d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
|
|
@@ -1231,7 +1227,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1231
1227
|
"vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
|
|
1232
1228
|
"vue-ui-pcp-transition": !w(P)
|
|
1233
1229
|
}),
|
|
1234
|
-
onMouseenter: (e) =>
|
|
1230
|
+
onMouseenter: (e) => Q({
|
|
1235
1231
|
shape: t.shape,
|
|
1236
1232
|
serieName: t.name,
|
|
1237
1233
|
serie: r,
|
|
@@ -1245,52 +1241,52 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1245
1241
|
shape: t.shape,
|
|
1246
1242
|
S: n
|
|
1247
1243
|
}),
|
|
1248
|
-
onClick: () =>
|
|
1244
|
+
onClick: () => Nn({
|
|
1249
1245
|
serie: r,
|
|
1250
1246
|
shape: t.shape,
|
|
1251
1247
|
S: n
|
|
1252
1248
|
}),
|
|
1253
1249
|
style: { opacity: "0" }
|
|
1254
|
-
}, null, 42,
|
|
1250
|
+
}, null, 42, gt)) : d("", !0)
|
|
1255
1251
|
]))), 256))]))), 256)),
|
|
1256
1252
|
S(e.$slots, "svg", { svg: {
|
|
1257
1253
|
...B.value,
|
|
1258
|
-
isPrintingImg: w(
|
|
1259
|
-
isPrintingSvg:
|
|
1254
|
+
isPrintingImg: w(cn) || w(ln) || Gt.value,
|
|
1255
|
+
isPrintingSvg: Kt.value
|
|
1260
1256
|
} }, void 0, !0)
|
|
1261
|
-
], 46,
|
|
1257
|
+
], 46, tt)), e.$slots.hint ? (y(), f("div", _t, [S(e.$slots, "hint", _(h({
|
|
1262
1258
|
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1263
|
-
isVisible:
|
|
1259
|
+
isVisible: Xt.value
|
|
1264
1260
|
})), void 0, !0)])) : d("", !0)]),
|
|
1265
|
-
e.$slots.watermark ? (y(), f("div",
|
|
1266
|
-
p("div", { id: `legend-bottom-${A.value}` }, null, 8,
|
|
1267
|
-
|
|
1261
|
+
e.$slots.watermark ? (y(), f("div", vt, [S(e.$slots, "watermark", _(h({ isPrinting: w(cn) || w(ln) || Gt.value || Kt.value })), void 0, !0)])) : d("", !0),
|
|
1262
|
+
p("div", { id: `legend-bottom-${A.value}` }, null, 8, yt),
|
|
1263
|
+
Ut.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Le, {
|
|
1268
1264
|
key: 6,
|
|
1269
1265
|
to: M.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
1270
1266
|
}, [p("div", {
|
|
1271
1267
|
ref_key: "chartLegend",
|
|
1272
|
-
ref:
|
|
1273
|
-
}, [S(e.$slots, "legend", { legend: W.value }, () => [M.value.style.chart.legend.show &&
|
|
1274
|
-
key: `legend_${
|
|
1268
|
+
ref: Lt
|
|
1269
|
+
}, [S(e.$slots, "legend", { legend: W.value }, () => [M.value.style.chart.legend.show && Pt.value ? (y(), u(Fe, {
|
|
1270
|
+
key: `legend_${Vt.value}`,
|
|
1275
1271
|
legendSet: W.value,
|
|
1276
|
-
config:
|
|
1272
|
+
config: Sn.value,
|
|
1277
1273
|
isCursorPointer: N.value,
|
|
1278
1274
|
onClickMarker: t[0] ||= ({ legend: e }) => {
|
|
1279
|
-
|
|
1275
|
+
vn(e.id);
|
|
1280
1276
|
}
|
|
1281
1277
|
}, {
|
|
1282
1278
|
item: T(({ legend: e, index: t }) => [p("div", {
|
|
1283
1279
|
onClick: (t) => e.segregate(),
|
|
1284
1280
|
style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
|
|
1285
|
-
}, C(e.name), 13,
|
|
1286
|
-
legendToggle: T(() => [W.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(P) ? (y(), u(
|
|
1281
|
+
}, C(e.name), 13, bt)]),
|
|
1282
|
+
legendToggle: T(() => [W.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(P) ? (y(), u(je, {
|
|
1287
1283
|
key: 0,
|
|
1288
1284
|
backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1289
1285
|
color: M.value.style.chart.legend.selectAllToggle.color,
|
|
1290
1286
|
fontSize: M.value.style.chart.legend.fontSize,
|
|
1291
1287
|
checked: H.value.length > 0,
|
|
1292
1288
|
isCursorPointer: N.value,
|
|
1293
|
-
onToggle:
|
|
1289
|
+
onToggle: _n
|
|
1294
1290
|
}, null, 8, [
|
|
1295
1291
|
"backgroundColor",
|
|
1296
1292
|
"color",
|
|
@@ -1307,12 +1303,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1307
1303
|
e.$slots.source ? (y(), f("div", {
|
|
1308
1304
|
key: 7,
|
|
1309
1305
|
ref_key: "source",
|
|
1310
|
-
ref:
|
|
1306
|
+
ref: Rt,
|
|
1311
1307
|
dir: "auto"
|
|
1312
1308
|
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
1313
|
-
|
|
1309
|
+
Be(w(St), {
|
|
1314
1310
|
teleportTo: M.value.style.chart.tooltip.teleportTo,
|
|
1315
|
-
show: V.value.showTooltip &&
|
|
1311
|
+
show: V.value.showTooltip && En.value,
|
|
1316
1312
|
backgroundColor: M.value.style.chart.tooltip.backgroundColor,
|
|
1317
1313
|
color: M.value.style.chart.tooltip.color,
|
|
1318
1314
|
fontSize: M.value.style.chart.tooltip.fontSize,
|
|
@@ -1324,19 +1320,19 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1324
1320
|
offsetX: M.value.style.chart.tooltip.offsetX,
|
|
1325
1321
|
offsetY: M.value.style.chart.tooltip.offsetY,
|
|
1326
1322
|
parent: D.value,
|
|
1327
|
-
content:
|
|
1323
|
+
content: Dn.value,
|
|
1328
1324
|
isFullscreen: j.value,
|
|
1329
1325
|
isCustom: w(oe)(M.value.style.chart.tooltip.customFormat),
|
|
1330
1326
|
smooth: M.value.style.chart.tooltip.smooth,
|
|
1331
1327
|
backdropFilter: M.value.style.chart.tooltip.backdropFilter,
|
|
1332
1328
|
smoothForce: M.value.style.chart.tooltip.smoothForce,
|
|
1333
1329
|
smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1334
|
-
isA11yMode:
|
|
1335
|
-
a11yPosition:
|
|
1330
|
+
isA11yMode: Yt.value === "keyboard",
|
|
1331
|
+
a11yPosition: Jt.value
|
|
1336
1332
|
}, {
|
|
1337
|
-
"tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...
|
|
1338
|
-
tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...
|
|
1339
|
-
"tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...
|
|
1333
|
+
"tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...Tn.value })), void 0, !0)]),
|
|
1334
|
+
tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...Tn.value })), void 0, !0)]),
|
|
1335
|
+
"tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...Tn.value })), void 0, !0)]),
|
|
1340
1336
|
_: 3
|
|
1341
1337
|
}, 8, [
|
|
1342
1338
|
"teleportTo",
|
|
@@ -1362,24 +1358,24 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1362
1358
|
"isA11yMode",
|
|
1363
1359
|
"a11yPosition"
|
|
1364
1360
|
]),
|
|
1365
|
-
|
|
1361
|
+
Pt.value && M.value.userOptions.buttons.table ? (y(), u(Ge(Vn.value.component), Ve({ key: 8 }, Vn.value.props, {
|
|
1366
1362
|
ref_key: "tableUnit",
|
|
1367
1363
|
ref: O,
|
|
1368
|
-
onClose:
|
|
1369
|
-
}),
|
|
1370
|
-
content: T(() => [(y(), u(w(
|
|
1371
|
-
key: `table_${
|
|
1372
|
-
colNames:
|
|
1373
|
-
head:
|
|
1374
|
-
body:
|
|
1375
|
-
config:
|
|
1376
|
-
title: M.value.table.useDialog ? "" :
|
|
1364
|
+
onClose: Hn
|
|
1365
|
+
}), Re({
|
|
1366
|
+
content: T(() => [(y(), u(w(Tt), {
|
|
1367
|
+
key: `table_${Ht.value}`,
|
|
1368
|
+
colNames: $.value.colNames,
|
|
1369
|
+
head: $.value.head,
|
|
1370
|
+
body: $.value.body,
|
|
1371
|
+
config: $.value.config,
|
|
1372
|
+
title: M.value.table.useDialog ? "" : Vn.value.title,
|
|
1377
1373
|
withCloseButton: !M.value.table.useDialog,
|
|
1378
1374
|
isCursorPointer: N.value,
|
|
1379
|
-
onClose:
|
|
1375
|
+
onClose: Hn
|
|
1380
1376
|
}, {
|
|
1381
|
-
th: T(({ th: e }) => [p("div", { innerHTML: e }, null, 8,
|
|
1382
|
-
td: T(({ td: e }) => [
|
|
1377
|
+
th: T(({ th: e }) => [p("div", { innerHTML: e }, null, 8, xt)]),
|
|
1378
|
+
td: T(({ td: e }) => [ze(C(e), 1)]),
|
|
1383
1379
|
_: 1
|
|
1384
1380
|
}, 8, [
|
|
1385
1381
|
"colNames",
|
|
@@ -1393,24 +1389,24 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1393
1389
|
_: 2
|
|
1394
1390
|
}, [M.value.table.useDialog ? {
|
|
1395
1391
|
name: "title",
|
|
1396
|
-
fn: T(() => [
|
|
1392
|
+
fn: T(() => [ze(C(Vn.value.title), 1)]),
|
|
1397
1393
|
key: "0"
|
|
1398
1394
|
} : void 0, M.value.table.useDialog ? {
|
|
1399
1395
|
name: "actions",
|
|
1400
1396
|
fn: T(() => [p("button", {
|
|
1401
1397
|
tabindex: "0",
|
|
1402
1398
|
class: "vue-ui-user-options-button",
|
|
1403
|
-
onClick: t[1] ||= (e) =>
|
|
1399
|
+
onClick: t[1] ||= (e) => jn(M.value.userOptions.callbacks.csv),
|
|
1404
1400
|
style: v({ cursor: N.value ? "pointer" : "default" })
|
|
1405
|
-
}, [
|
|
1401
|
+
}, [Be(w(Ct), {
|
|
1406
1402
|
name: "fileCsv",
|
|
1407
|
-
stroke:
|
|
1403
|
+
stroke: Vn.value.props.color
|
|
1408
1404
|
}, null, 8, ["stroke"])], 4)]),
|
|
1409
1405
|
key: "1"
|
|
1410
1406
|
} : void 0]), 1040)) : d("", !0),
|
|
1411
1407
|
S(e.$slots, "skeleton", {}, () => [w(P) ? (y(), u(ye, { key: 0 })) : d("", !0)], !0)
|
|
1412
|
-
], 46,
|
|
1408
|
+
], 46, Ze));
|
|
1413
1409
|
}
|
|
1414
|
-
}, [["__scopeId", "data-v-
|
|
1410
|
+
}, [["__scopeId", "data-v-7916a6b4"]]);
|
|
1415
1411
|
//#endregion
|
|
1416
|
-
export {
|
|
1412
|
+
export { Xe as n, St as t };
|