vue-data-ui 3.23.9 → 3.23.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -40
- package/dist/{Arrow-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-WH7-49V0.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-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-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
- package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.js} +12 -12
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-C0DPCgFj.js +0 -28
- package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
- package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
- package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
- package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
- package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
- package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
- package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
- package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
- package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
- package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
- package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
- package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
- package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
- package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
- package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
- package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
- package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, G as r,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { n as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { l as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, D as n, G as r, It as i, Jt as a, Nt as o, P as s, S as c, Tt as l, V as u, X as ee, Xt as te, c as ne, i as re, mt as ie, nt as ae, q as oe, r as se, t as ce, w as le } from "./lib-Dqr_-I6Y.js";
|
|
3
|
+
import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as fe } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
|
+
import { t as pe } from "./useConfig-DwdGsXTx.js";
|
|
6
|
+
import { t as me } from "./usePrinter-CEiH1b6R.js";
|
|
7
|
+
import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
+
import { t as _e } from "./useNestedProp-CulPqtou.js";
|
|
9
|
+
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as ye } from "./useChartExport-DNiwdPmb.js";
|
|
11
|
+
import { t as be } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
+
import { n as xe } from "./Title-CaVA8EIw.js";
|
|
13
|
+
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
+
import { t as Te } from "./A11yDataTable-DdRsVULz.js";
|
|
16
|
+
import { t as Ee } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
|
+
import { t as De } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
+
import { t as Oe } from "./vue_ui_bump-Vl-zYAtG.js";
|
|
19
|
+
import { t as ke } from "./BaseDraggableDialog-Dr_Q6Yt5.js";
|
|
20
|
+
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ne, normalizeClass as Pe, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Fe, onMounted as Ie, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as T, toRefs as ze, unref as E, watch as Be, watchEffect as Ve, withCtx as D } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-bump.vue
|
|
22
|
-
var
|
|
22
|
+
var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
|
|
23
23
|
"xmlns",
|
|
24
24
|
"aria-describedby",
|
|
25
25
|
"viewBox"
|
|
26
|
-
],
|
|
26
|
+
], qe = [
|
|
27
27
|
"x",
|
|
28
28
|
"y",
|
|
29
29
|
"width",
|
|
30
30
|
"height"
|
|
31
|
-
],
|
|
31
|
+
], Je = [
|
|
32
32
|
"d",
|
|
33
33
|
"stroke",
|
|
34
34
|
"stroke-width",
|
|
35
35
|
"onMouseenter"
|
|
36
|
-
],
|
|
36
|
+
], Ye = [
|
|
37
37
|
"d",
|
|
38
38
|
"stroke",
|
|
39
39
|
"stroke-width",
|
|
40
40
|
"onMouseenter",
|
|
41
41
|
"onMouseleave",
|
|
42
42
|
"onClick"
|
|
43
|
-
],
|
|
43
|
+
], Xe = [
|
|
44
44
|
"cx",
|
|
45
45
|
"cy",
|
|
46
46
|
"r",
|
|
@@ -50,21 +50,21 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
50
50
|
"onMouseenter",
|
|
51
51
|
"onMouseleave",
|
|
52
52
|
"onClick"
|
|
53
|
-
],
|
|
53
|
+
], Ze = [
|
|
54
54
|
"x",
|
|
55
55
|
"y",
|
|
56
56
|
"fill",
|
|
57
57
|
"font-size"
|
|
58
|
-
],
|
|
58
|
+
], Qe = [
|
|
59
59
|
"onMouseenter",
|
|
60
60
|
"onMouseleave",
|
|
61
61
|
"onClick"
|
|
62
|
-
],
|
|
62
|
+
], $e = [
|
|
63
63
|
"x",
|
|
64
64
|
"y",
|
|
65
65
|
"fill",
|
|
66
66
|
"font-size"
|
|
67
|
-
],
|
|
67
|
+
], et = [
|
|
68
68
|
"x",
|
|
69
69
|
"y",
|
|
70
70
|
"fill",
|
|
@@ -74,7 +74,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
74
74
|
"onMouseenter",
|
|
75
75
|
"onMouseleave",
|
|
76
76
|
"onClick"
|
|
77
|
-
],
|
|
77
|
+
], tt = [
|
|
78
78
|
"x",
|
|
79
79
|
"y",
|
|
80
80
|
"fill",
|
|
@@ -84,19 +84,19 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
84
84
|
"onMouseenter",
|
|
85
85
|
"onMouseleave",
|
|
86
86
|
"onClick"
|
|
87
|
-
],
|
|
87
|
+
], nt = { key: 0 }, rt = { key: 1 }, it = [
|
|
88
88
|
"text-anchor",
|
|
89
89
|
"font-size",
|
|
90
90
|
"font-weight",
|
|
91
91
|
"fill",
|
|
92
92
|
"transform"
|
|
93
|
-
],
|
|
93
|
+
], at = [
|
|
94
94
|
"text-anchor",
|
|
95
95
|
"font-size",
|
|
96
96
|
"fill",
|
|
97
97
|
"transform",
|
|
98
98
|
"innerHTML"
|
|
99
|
-
],
|
|
99
|
+
], ot = {
|
|
100
100
|
key: 0,
|
|
101
101
|
style: {
|
|
102
102
|
position: "absolute",
|
|
@@ -106,10 +106,10 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
106
106
|
},
|
|
107
107
|
"data-dom-to-png-ignore": "",
|
|
108
108
|
"aria-hidden": "true"
|
|
109
|
-
},
|
|
109
|
+
}, st = {
|
|
110
110
|
key: 5,
|
|
111
111
|
class: "vue-data-ui-watermark"
|
|
112
|
-
},
|
|
112
|
+
}, ct = /*#__PURE__*/ Se({
|
|
113
113
|
__name: "vue-ui-bump",
|
|
114
114
|
props: {
|
|
115
115
|
config: {
|
|
@@ -126,21 +126,21 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
emits: ["copyAlt"],
|
|
129
|
-
setup(e, { expose:
|
|
130
|
-
let ct =
|
|
129
|
+
setup(e, { expose: Se, emit: He }) {
|
|
130
|
+
let ct = _(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), lt = _(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), ut = _(() => import("./DataTable-CmyEubtT.js")), dt = _(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), ft = _(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-C0b7KAMa.js").then((e) => e.t)), { vue_ui_bump: mt } = pe(), { isThemeValid: ht, warnInvalidTheme: gt } = ve(), O = e, _t = He, vt = f({
|
|
131
131
|
get() {
|
|
132
|
-
return !!
|
|
132
|
+
return !!O.dataset && O.dataset.length;
|
|
133
133
|
},
|
|
134
134
|
set(e) {
|
|
135
135
|
return e;
|
|
136
136
|
}
|
|
137
|
-
}),
|
|
138
|
-
|
|
137
|
+
}), k = S(null), A = S(oe()), yt = S(0), bt = S(null), xt = S(null), St = S(null), j = S(!1), Ct = S(!1), wt = S(0), Tt = S(0), M = S(null), Et = S(null), Dt = S(!1), N = S(null), Ot = S(null), kt = S(null), At = S(null), P = S(null), jt = S(!1), F = S(It());
|
|
138
|
+
ue({
|
|
139
139
|
config: () => F.value,
|
|
140
|
-
dataset: () =>
|
|
140
|
+
dataset: () => O.dataset,
|
|
141
141
|
component: "VueUiBump",
|
|
142
142
|
rules: [
|
|
143
|
-
|
|
143
|
+
de.emptyArray,
|
|
144
144
|
{
|
|
145
145
|
test: (e) => e.length > 31,
|
|
146
146
|
message: [
|
|
@@ -171,7 +171,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
});
|
|
174
|
-
let I =
|
|
174
|
+
let I = f(() => F.value.userOptions.useCursorPointer), Mt = f(() => te({
|
|
175
175
|
defaultConfig: {
|
|
176
176
|
userOptions: { show: !1 },
|
|
177
177
|
style: { chart: {
|
|
@@ -191,11 +191,11 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
191
191
|
} }
|
|
192
192
|
},
|
|
193
193
|
userConfig: F.value.skeletonConfig ?? {}
|
|
194
|
-
})), { loading:
|
|
195
|
-
...
|
|
194
|
+
})), { loading: Nt, FINAL_DATASET: Pt, manualLoading: Ft } = he({
|
|
195
|
+
...ze(O),
|
|
196
196
|
FINAL_CONFIG: F,
|
|
197
|
-
prepareConfig:
|
|
198
|
-
skeletonDataset:
|
|
197
|
+
prepareConfig: It,
|
|
198
|
+
skeletonDataset: O.config?.skeletonDataset ?? [
|
|
199
199
|
{
|
|
200
200
|
name: "————",
|
|
201
201
|
values: [
|
|
@@ -245,59 +245,59 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
245
245
|
color: "#8A8A8A"
|
|
246
246
|
}
|
|
247
247
|
],
|
|
248
|
-
skeletonConfig:
|
|
248
|
+
skeletonConfig: te({
|
|
249
249
|
defaultConfig: F.value,
|
|
250
|
-
userConfig:
|
|
250
|
+
userConfig: Mt.value
|
|
251
251
|
})
|
|
252
252
|
});
|
|
253
|
-
|
|
254
|
-
function
|
|
255
|
-
let e =
|
|
256
|
-
userConfig:
|
|
253
|
+
Ie(Xt);
|
|
254
|
+
function It() {
|
|
255
|
+
let e = _e({
|
|
256
|
+
userConfig: O.config,
|
|
257
257
|
defaultConfig: mt
|
|
258
258
|
}), t = {}, n = e.theme;
|
|
259
259
|
if (n) if (!ht.value(e)) gt(e), t = e;
|
|
260
260
|
else {
|
|
261
|
-
let r =
|
|
262
|
-
userConfig:
|
|
261
|
+
let r = _e({
|
|
262
|
+
userConfig: Oe[n] || O.config,
|
|
263
263
|
defaultConfig: e
|
|
264
264
|
});
|
|
265
265
|
t = {
|
|
266
|
-
...
|
|
267
|
-
userConfig:
|
|
266
|
+
..._e({
|
|
267
|
+
userConfig: O.config,
|
|
268
268
|
defaultConfig: r
|
|
269
269
|
}),
|
|
270
|
-
customPalette: e.customPalette.length ? e.customPalette : a[n] ||
|
|
270
|
+
customPalette: e.customPalette.length ? e.customPalette : a[n] || i
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
273
|
else t = e;
|
|
274
274
|
return t;
|
|
275
275
|
}
|
|
276
|
-
let { userOptionsVisible:
|
|
277
|
-
function
|
|
278
|
-
|
|
276
|
+
let { userOptionsVisible: Lt, setUserOptionsVisibility: Rt, keepUserOptionState: zt } = Ee({ config: F.value }), { svgRef: L } = De({ config: F.value.style.chart.title });
|
|
277
|
+
function Bt() {
|
|
278
|
+
Dt.value = !0, Rt(!0);
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
|
|
280
|
+
function Vt() {
|
|
281
|
+
Rt(!1), Dt.value = !1;
|
|
282
282
|
}
|
|
283
|
-
let R =
|
|
284
|
-
|
|
283
|
+
let R = S({ showTable: F.value.table.show });
|
|
284
|
+
Be(F, () => {
|
|
285
285
|
R.value = { showTable: F.value.table.show };
|
|
286
|
-
}, { immediate: !0 }),
|
|
287
|
-
|
|
286
|
+
}, { immediate: !0 }), Be(() => O.config, (e) => {
|
|
287
|
+
Nt.value || (F.value = It()), Lt.value = !F.value.userOptions.showOnChartHover, Xt(), wt.value += 1, Tt.value += 1, R.value.showTable = F.value.table.show, z.value.width = F.value.style.chart.width, z.value.height = F.value.style.chart.height, z.value.paddingRatio = {
|
|
288
288
|
top: F.value.style.chart.padding.top / F.value.style.chart.height,
|
|
289
289
|
right: F.value.style.chart.padding.right / F.value.style.chart.width,
|
|
290
290
|
bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
|
|
291
291
|
left: F.value.style.chart.padding.left / F.value.style.chart.width
|
|
292
292
|
};
|
|
293
|
-
}),
|
|
294
|
-
Array.isArray(e) && e.length > 0 && (
|
|
293
|
+
}), Be(() => O.dataset, (e) => {
|
|
294
|
+
Array.isArray(e) && e.length > 0 && (Ft.value = !1);
|
|
295
295
|
}, { deep: !0 });
|
|
296
|
-
let { isPrinting:
|
|
297
|
-
elementId: `bump_${
|
|
296
|
+
let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } = me({
|
|
297
|
+
elementId: `bump_${A.value}`,
|
|
298
298
|
fileName: F.value.style.chart.title.text || "vue-ui-bump",
|
|
299
299
|
options: F.value.userOptions.print
|
|
300
|
-
}),
|
|
300
|
+
}), Kt = f(() => F.value.userOptions.show && !F.value.style.chart.title.text), z = S({
|
|
301
301
|
width: F.value.style.chart.width,
|
|
302
302
|
height: F.value.style.chart.height,
|
|
303
303
|
paddingRatio: {
|
|
@@ -306,32 +306,32 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
306
306
|
bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
|
|
307
307
|
left: F.value.style.chart.padding.left / F.value.style.chart.width
|
|
308
308
|
}
|
|
309
|
-
}),
|
|
310
|
-
function
|
|
311
|
-
if (
|
|
309
|
+
}), qt = f(() => le(F.value.customPalette)), B = Re(null), V = Re(null), Jt = S(null), Yt = f(() => F.value.debug);
|
|
310
|
+
function Xt() {
|
|
311
|
+
if (o(O.dataset) ? (ae({
|
|
312
312
|
componentName: "VueUiBump",
|
|
313
313
|
type: "dataset",
|
|
314
|
-
debug:
|
|
315
|
-
}),
|
|
316
|
-
|
|
314
|
+
debug: Yt.value
|
|
315
|
+
}), Ft.value = !0) : O.dataset.forEach((e, t) => {
|
|
316
|
+
ie({
|
|
317
317
|
datasetObject: e,
|
|
318
318
|
requiredAttributes: ["name", "values"]
|
|
319
319
|
}).forEach((e) => {
|
|
320
|
-
vt.value = !1,
|
|
320
|
+
vt.value = !1, ae({
|
|
321
321
|
componentName: "VueUiBump",
|
|
322
322
|
type: "datasetSerieAttribute",
|
|
323
323
|
property: e,
|
|
324
324
|
index: t,
|
|
325
|
-
debug:
|
|
326
|
-
}),
|
|
325
|
+
debug: Yt.value
|
|
326
|
+
}), Ft.value = !0;
|
|
327
327
|
});
|
|
328
|
-
}),
|
|
329
|
-
|
|
328
|
+
}), o(O.dataset) || (Ft.value = F.value.loading), setTimeout(() => {
|
|
329
|
+
Ct.value = !0;
|
|
330
330
|
}, 10), F.value.responsive) {
|
|
331
|
-
let e =
|
|
332
|
-
|
|
333
|
-
let { width: e, height: t } =
|
|
334
|
-
chart:
|
|
331
|
+
let e = Ce(() => {
|
|
332
|
+
Ct.value = !1;
|
|
333
|
+
let { width: e, height: t } = we({
|
|
334
|
+
chart: k.value,
|
|
335
335
|
noTitle: xt.value,
|
|
336
336
|
title: F.value.style.chart.title.text ? bt.value : null,
|
|
337
337
|
legend: null,
|
|
@@ -339,27 +339,27 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
339
339
|
source: St.value
|
|
340
340
|
});
|
|
341
341
|
requestAnimationFrame(() => {
|
|
342
|
-
z.value.width = e, z.value.height = t - 12, clearTimeout(
|
|
343
|
-
|
|
342
|
+
z.value.width = e, z.value.height = t - 12, clearTimeout(Jt.value), Jt.value = setTimeout(() => {
|
|
343
|
+
Ct.value = !0;
|
|
344
344
|
}, 10);
|
|
345
345
|
});
|
|
346
346
|
});
|
|
347
|
-
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value =
|
|
347
|
+
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = k.value.parentNode, B.value.observe(V.value);
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
|
|
350
|
+
Fe(() => {
|
|
351
351
|
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
352
352
|
});
|
|
353
|
-
let
|
|
354
|
-
let n = c(e.color) ||
|
|
353
|
+
let Zt = f(() => Pt.value.map((e, t) => {
|
|
354
|
+
let n = c(e.color) || qt.value[t] || i[t] || i[t % i.length];
|
|
355
355
|
return {
|
|
356
356
|
...e,
|
|
357
357
|
absoluteIndex: t,
|
|
358
|
-
id:
|
|
358
|
+
id: oe(),
|
|
359
359
|
color: n
|
|
360
360
|
};
|
|
361
|
-
})), H =
|
|
362
|
-
function
|
|
361
|
+
})), H = f(() => Math.max(...Zt.value.map((e) => e.values.length)));
|
|
362
|
+
function Qt(e) {
|
|
363
363
|
let t = e.map(() => Array(H.value).fill(null));
|
|
364
364
|
for (let n = 0; n < H.value; n += 1) {
|
|
365
365
|
let r = e.map((e, r) => ({
|
|
@@ -375,34 +375,34 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
375
375
|
}
|
|
376
376
|
return t;
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function $t() {
|
|
379
379
|
let e = 0;
|
|
380
|
-
return
|
|
380
|
+
return Ot.value && (e = Array.from(Ot.value.querySelectorAll("tspan")).reduce((e, t) => {
|
|
381
381
|
let n = t.getComputedTextLength();
|
|
382
382
|
return n > e ? n : e;
|
|
383
383
|
}, 0)), e;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function en() {
|
|
386
386
|
let e = 0;
|
|
387
|
-
return
|
|
387
|
+
return kt.value && (e = Array.from(kt.value.querySelectorAll("tspan")).reduce((e, t) => {
|
|
388
388
|
let n = t.getComputedTextLength();
|
|
389
389
|
return n > e ? n : e;
|
|
390
390
|
}, 0)), e;
|
|
391
391
|
}
|
|
392
|
-
let
|
|
393
|
-
|
|
392
|
+
let tn = S(0), nn = Ce((e) => {
|
|
393
|
+
tn.value = e;
|
|
394
394
|
}, 100);
|
|
395
|
-
|
|
396
|
-
let t =
|
|
395
|
+
Ve((e) => {
|
|
396
|
+
let t = At.value;
|
|
397
397
|
if (!t) return;
|
|
398
398
|
let n = new ResizeObserver((e) => {
|
|
399
|
-
|
|
399
|
+
nn(e[0].contentRect.height);
|
|
400
400
|
});
|
|
401
401
|
n.observe(t), e(() => n.disconnect());
|
|
402
|
-
}),
|
|
403
|
-
|
|
402
|
+
}), Fe(() => {
|
|
403
|
+
tn.value = 0;
|
|
404
404
|
});
|
|
405
|
-
let
|
|
405
|
+
let rn = f(() => {
|
|
406
406
|
let e = F.value.style.chart.layout.timeLabels;
|
|
407
407
|
if (!e.show) return 0;
|
|
408
408
|
let t = e.fontSize, n = e.rotation, r = Math.PI / 180 * n, i = K.value || [];
|
|
@@ -415,8 +415,8 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
415
415
|
return Math.max(e, n);
|
|
416
416
|
}, 0), s = t * 1.3 * a, c = o * t * (o === 1 ? 1 : .6), l = Math.abs(Math.sin(r)) * c + Math.abs(Math.cos(r)) * s, u = t * .3;
|
|
417
417
|
return Math.max(0, l + Math.abs(e.offsetY) + u);
|
|
418
|
-
}), U =
|
|
419
|
-
let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i =
|
|
418
|
+
}), U = f(() => {
|
|
419
|
+
let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i = $t(), a = en(), o = F.value.style.chart.padding.top, s = t - t * n - a, c = t * r + i, l = t - t * n - t * r - i - a, u = e - o - F.value.style.chart.padding.bottom - rn.value, ee = o + u, te = o + u, ne = Math.max(0, e);
|
|
420
420
|
return {
|
|
421
421
|
chartHeight: te,
|
|
422
422
|
chartWidth: Math.max(0, t),
|
|
@@ -426,19 +426,19 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
426
426
|
left: Math.max(0, c),
|
|
427
427
|
width: Math.max(0, l),
|
|
428
428
|
height: Math.max(0, u),
|
|
429
|
-
unitH: Math.max(0, u) /
|
|
429
|
+
unitH: Math.max(0, u) / Zt.value.length,
|
|
430
430
|
unitW: Math.max(0, l) / H.value,
|
|
431
431
|
svgHeight: ne
|
|
432
432
|
};
|
|
433
|
-
}), W =
|
|
434
|
-
if (!vt.value && !
|
|
435
|
-
let e =
|
|
436
|
-
return
|
|
433
|
+
}), W = f(() => {
|
|
434
|
+
if (!vt.value && !Nt.value) return [];
|
|
435
|
+
let e = Qt(Zt.value);
|
|
436
|
+
return Zt.value.map((t, n) => ({
|
|
437
437
|
...t,
|
|
438
438
|
positions: e[n]
|
|
439
439
|
})).map((e) => {
|
|
440
440
|
let t = e.positions.map((t, n) => {
|
|
441
|
-
let r =
|
|
441
|
+
let r = re(F.value.style.chart.layout.plots.labels.formatter, e.values[n], ee({
|
|
442
442
|
p: F.value.style.chart.layout.plots.labels.prefix,
|
|
443
443
|
v: e.values[n],
|
|
444
444
|
s: F.value.style.chart.layout.plots.labels.suffix,
|
|
@@ -453,9 +453,9 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
453
453
|
displayValue: r,
|
|
454
454
|
rank: e.positions[n] + 1,
|
|
455
455
|
color: e.color,
|
|
456
|
-
labelColor: F.value.style.chart.layout.plots.labels.color === "auto" ?
|
|
456
|
+
labelColor: F.value.style.chart.layout.plots.labels.color === "auto" ? se(e.color) : c(F.value.style.chart.layout.plots.labels.color) ?? se(e.color)
|
|
457
457
|
};
|
|
458
|
-
}), n = t.filter((e) =>
|
|
458
|
+
}), n = t.filter((e) => l(e.value)), r = F.value.style.chart.layout.lines.smooth ? s(n) : u(n);
|
|
459
459
|
return {
|
|
460
460
|
...e,
|
|
461
461
|
coordinates: t,
|
|
@@ -463,15 +463,15 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
463
463
|
};
|
|
464
464
|
});
|
|
465
465
|
});
|
|
466
|
-
|
|
466
|
+
f(() => W.value.flatMap((e, t) => e.coordinates.map((n, r) => ({
|
|
467
467
|
...n,
|
|
468
468
|
pointIndex: r,
|
|
469
469
|
seriesIndex: t,
|
|
470
470
|
seriesId: e.id,
|
|
471
471
|
seriesName: e.name,
|
|
472
472
|
pointId: `${e.id}_${r}`
|
|
473
|
-
})).filter((e) =>
|
|
474
|
-
function
|
|
473
|
+
})).filter((e) => l(e.value))));
|
|
474
|
+
function an(e, t, n, r) {
|
|
475
475
|
let i = e.toSorted((e, t) => e.y - t.y);
|
|
476
476
|
for (let e = 1; e < i.length; e += 1) {
|
|
477
477
|
let n = i[e - 1], r = i[e];
|
|
@@ -491,7 +491,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
491
491
|
}
|
|
492
492
|
return i;
|
|
493
493
|
}
|
|
494
|
-
let
|
|
494
|
+
let on = f(() => {
|
|
495
495
|
let e = [], t = [];
|
|
496
496
|
W.value.forEach((n) => {
|
|
497
497
|
let r = n.coordinates.filter((e) => Number.isFinite(e.rank));
|
|
@@ -500,13 +500,13 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
500
500
|
let i = r[r.length - 1];
|
|
501
501
|
t.push({ ...i });
|
|
502
502
|
});
|
|
503
|
-
let n = F.value.style.chart.layout.nameLabels.fontSize, r = n * 1.4, i = U.value.top + n, a = U.value.bottom - n, o =
|
|
503
|
+
let n = F.value.style.chart.layout.nameLabels.fontSize, r = n * 1.4, i = U.value.top + n, a = U.value.bottom - n, o = an(t, r, i, a);
|
|
504
504
|
return {
|
|
505
|
-
left:
|
|
505
|
+
left: an(e, r, i, a),
|
|
506
506
|
right: o
|
|
507
507
|
};
|
|
508
508
|
});
|
|
509
|
-
function
|
|
509
|
+
function sn(e) {
|
|
510
510
|
let t = F.value.style.chart.layout.plots.labels.fontSize * .4, n = e.displayValue, r = n.length * (F.value.style.chart.layout.plots.labels.fontSize * (n.length === 1 ? 1 : .6)), i = F.value.style.chart.layout.plots.labels.fontSize, a = r + t * 2, o = i + t * 2, s = e.x - a / 2, c = e.y - o / 2, l = F.value.style.chart.layout.plots.strokeWidth;
|
|
511
511
|
return {
|
|
512
512
|
x: s - l / 2,
|
|
@@ -519,87 +519,87 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
519
519
|
rx: o / 2
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
let G =
|
|
523
|
-
|
|
524
|
-
let e = ++
|
|
522
|
+
let G = S([]), cn = 0;
|
|
523
|
+
Ve(() => {
|
|
524
|
+
let e = ++cn, t = F.value.style.chart.layout.timeLabels, n = t.values, r = t.datetimeFormatter, i = H.value;
|
|
525
525
|
if (!i || !Array.isArray(n) || n.length === 0) {
|
|
526
526
|
G.value = [];
|
|
527
527
|
return;
|
|
528
528
|
}
|
|
529
529
|
(async () => {
|
|
530
|
-
let t = await
|
|
530
|
+
let t = await fe({
|
|
531
531
|
values: n,
|
|
532
532
|
maxDatapoints: i,
|
|
533
533
|
formatter: r,
|
|
534
534
|
start: 0,
|
|
535
535
|
end: i
|
|
536
536
|
});
|
|
537
|
-
e ===
|
|
537
|
+
e === cn && (G.value = t);
|
|
538
538
|
})();
|
|
539
539
|
});
|
|
540
|
-
let
|
|
540
|
+
let ln = f(() => {
|
|
541
541
|
let e = F.value.style.chart.layout.timeLabels.modulo;
|
|
542
542
|
return G.value.length ? Math.min(e, [...new Set(G.value.map((e) => e.text))].length) : e;
|
|
543
|
-
}), K =
|
|
543
|
+
}), K = f(() => {
|
|
544
544
|
let e = F.value.style.chart.layout.timeLabels, t = G.value || [], n = G.value || [], r = H.value, i = t.map((e) => e?.text ?? ""), a = n.map((e) => e?.text ?? "");
|
|
545
|
-
return
|
|
546
|
-
}),
|
|
545
|
+
return ne(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, ln.value || 1), i, a, 0, null, r);
|
|
546
|
+
}), un = f(() => z.value.width), dn = f(() => z.value.height), fn = f(() => ({
|
|
547
547
|
start: 0,
|
|
548
548
|
end: H.value
|
|
549
|
-
})), q =
|
|
550
|
-
let t = [...e.coordinates].filter((e) =>
|
|
549
|
+
})), q = f(() => [...W.value].map((e) => {
|
|
550
|
+
let t = [...e.coordinates].filter((e) => l(e.value)).at(-1);
|
|
551
551
|
return {
|
|
552
552
|
...e,
|
|
553
553
|
navigationRank: t?.rank ?? Infinity
|
|
554
554
|
};
|
|
555
555
|
}).sort((e, t) => e.navigationRank - t.navigationRank));
|
|
556
|
-
function
|
|
557
|
-
P.value = null,
|
|
556
|
+
function pn() {
|
|
557
|
+
P.value = null, jt.value = !0;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
560
|
-
|
|
559
|
+
function mn() {
|
|
560
|
+
gn(), jt.value = !1;
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function hn(e, t) {
|
|
563
563
|
let n = q.value.length;
|
|
564
564
|
return n ? e === null || e < 0 || e >= n ? 0 : t === "previous" ? (e - 1 + n) % n : (e + 1) % n : null;
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function gn() {
|
|
567
567
|
if (P.value !== null) {
|
|
568
568
|
let e = q.value[P.value];
|
|
569
569
|
e && $(e, e);
|
|
570
570
|
}
|
|
571
571
|
P.value = null, N.value = null;
|
|
572
572
|
}
|
|
573
|
-
function
|
|
573
|
+
function _n(e) {
|
|
574
574
|
if (!L.value || Y.value || document.activeElement !== L.value || !q.value.length) return;
|
|
575
575
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
576
576
|
if (!t && !n && !r && !i) return;
|
|
577
577
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
578
|
-
|
|
578
|
+
gn();
|
|
579
579
|
return;
|
|
580
580
|
}
|
|
581
581
|
if (r) {
|
|
582
582
|
if (P.value === null) return;
|
|
583
583
|
let e = q.value[P.value];
|
|
584
584
|
if (!e) return;
|
|
585
|
-
|
|
585
|
+
jn(e, e);
|
|
586
586
|
return;
|
|
587
587
|
}
|
|
588
588
|
let a = P.value;
|
|
589
|
-
a === null ? a = 0 : t ? a =
|
|
589
|
+
a === null ? a = 0 : t ? a = hn(a, "previous") : n && (a = hn(a, "next"));
|
|
590
590
|
let o = q.value[a];
|
|
591
591
|
o && (P.value = a, Q(o, o));
|
|
592
592
|
}
|
|
593
|
-
let J =
|
|
593
|
+
let J = f(() => ({
|
|
594
594
|
head: Z.value.head,
|
|
595
|
-
body: W.value.map((e) => [e.name, ...e.coordinates.map((e) =>
|
|
595
|
+
body: W.value.map((e) => [e.name, ...e.coordinates.map((e) => l(e.value) ? `${e.displayValue} (${e.rank})` : "-")]),
|
|
596
596
|
caption: F.value.a11y.translations.tableCaption,
|
|
597
597
|
notice: F.value.a11y.translations.tableAvailable
|
|
598
598
|
}));
|
|
599
|
-
|
|
600
|
-
timeLabelsEls:
|
|
599
|
+
be({
|
|
600
|
+
timeLabelsEls: At,
|
|
601
601
|
timeLabels: G,
|
|
602
|
-
slicer:
|
|
602
|
+
slicer: fn,
|
|
603
603
|
configRef: F,
|
|
604
604
|
rotationPath: [
|
|
605
605
|
"style",
|
|
@@ -617,30 +617,30 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
617
617
|
"enable"
|
|
618
618
|
],
|
|
619
619
|
isAutoSize: !1,
|
|
620
|
-
width:
|
|
621
|
-
height:
|
|
620
|
+
width: un,
|
|
621
|
+
height: dn,
|
|
622
622
|
rotation: F.value.style.chart.layout.timeLabels.autoRotate.angle
|
|
623
623
|
});
|
|
624
|
-
let Y =
|
|
625
|
-
function
|
|
624
|
+
let Y = S(!1);
|
|
625
|
+
function vn() {
|
|
626
626
|
Y.value = !Y.value;
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
|
|
628
|
+
function yn(e) {
|
|
629
|
+
j.value = e, yt.value += 1;
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function bn() {
|
|
632
632
|
R.value.showTable = !R.value.showTable;
|
|
633
633
|
}
|
|
634
|
-
|
|
634
|
+
Be(() => R.value.showTable, (e) => {
|
|
635
635
|
F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
636
636
|
});
|
|
637
|
-
function
|
|
638
|
-
R.value.showTable = !1,
|
|
637
|
+
function xn() {
|
|
638
|
+
R.value.showTable = !1, Et.value && Et.value.setTableIconState(!1);
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Sn() {
|
|
641
641
|
return W.value;
|
|
642
642
|
}
|
|
643
|
-
function
|
|
643
|
+
function Cn(e = null) {
|
|
644
644
|
let r = [
|
|
645
645
|
[F.value.style.chart.title.text],
|
|
646
646
|
[F.value.style.chart.title.subtitle.text],
|
|
@@ -655,18 +655,18 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
655
655
|
title: F.value.style.chart.title.text || "vue-ui-bump"
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
|
-
let X =
|
|
658
|
+
let X = f(() => {
|
|
659
659
|
let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
|
|
660
660
|
return {
|
|
661
|
-
component: e ?
|
|
661
|
+
component: e ? ke : lt,
|
|
662
662
|
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
663
663
|
props: e ? {
|
|
664
664
|
backgroundColor: F.value.table.th.backgroundColor,
|
|
665
665
|
color: F.value.table.th.color,
|
|
666
666
|
headerColor: F.value.table.th.color,
|
|
667
667
|
headerBg: F.value.table.th.backgroundColor,
|
|
668
|
-
isFullscreen:
|
|
669
|
-
fullscreenParent:
|
|
668
|
+
isFullscreen: j.value,
|
|
669
|
+
fullscreenParent: k.value,
|
|
670
670
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
671
671
|
isCursorPointer: I.value
|
|
672
672
|
} : {
|
|
@@ -685,7 +685,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
687
|
};
|
|
688
|
-
}), Z =
|
|
688
|
+
}), Z = f(() => ({
|
|
689
689
|
head: [""].concat(K.value.map((e) => e.text)),
|
|
690
690
|
body: W.value.map((e, t) => [e.name, ...e.coordinates.map((e) => `${e.displayValue} (${e.rank})`)]),
|
|
691
691
|
config: {
|
|
@@ -702,19 +702,19 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
702
702
|
breakpoint: F.value.table.responsiveBreakpoint
|
|
703
703
|
},
|
|
704
704
|
colNames: [F.value.table.columnNames.series]
|
|
705
|
-
})),
|
|
705
|
+
})), wn = f(() => F.value.style.chart.backgroundColor), Tn = f(() => F.value.style.chart.title), { isCallbackImaging: En, isCallbackSvg: Dn, generateSvg: On, onGenerateImage: kn } = ye({
|
|
706
706
|
svg: L,
|
|
707
|
-
title:
|
|
707
|
+
title: Tn,
|
|
708
708
|
legend: null,
|
|
709
709
|
legendItems: null,
|
|
710
|
-
backgroundColor:
|
|
710
|
+
backgroundColor: wn,
|
|
711
711
|
getSvgCallback: () => F.value.userOptions.callbacks.svg,
|
|
712
|
-
generateImage:
|
|
712
|
+
generateImage: Gt
|
|
713
713
|
});
|
|
714
|
-
async function
|
|
715
|
-
if (!
|
|
716
|
-
let { width: t, height: n } =
|
|
717
|
-
domElement:
|
|
714
|
+
async function An({ scale: e = 2 } = {}) {
|
|
715
|
+
if (!k.value) return;
|
|
716
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
|
|
717
|
+
domElement: k.value,
|
|
718
718
|
base64: !0,
|
|
719
719
|
img: !0,
|
|
720
720
|
scale: e
|
|
@@ -740,13 +740,13 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
740
740
|
seriesIndex: e?.pointIndex ?? null
|
|
741
741
|
});
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function jn(e, t) {
|
|
744
744
|
F.value.events.datapointClick && F.value.events.datapointClick({
|
|
745
745
|
datapoint: e,
|
|
746
746
|
seriesIndex: e?.pointIndex ?? null
|
|
747
747
|
});
|
|
748
748
|
}
|
|
749
|
-
async function
|
|
749
|
+
async function Mn() {
|
|
750
750
|
if (_t("copyAlt", {
|
|
751
751
|
config: F.value,
|
|
752
752
|
dataset: W.value
|
|
@@ -759,37 +759,37 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
759
759
|
dataset: W.value
|
|
760
760
|
}));
|
|
761
761
|
}
|
|
762
|
-
return
|
|
763
|
-
getData:
|
|
764
|
-
getImage:
|
|
765
|
-
generatePdf:
|
|
766
|
-
generateCsv:
|
|
767
|
-
generateImage:
|
|
768
|
-
generateSvg:
|
|
769
|
-
toggleTable:
|
|
770
|
-
toggleAnnotator:
|
|
771
|
-
toggleFullscreen:
|
|
772
|
-
copyAlt:
|
|
773
|
-
}), (e, t) => (
|
|
774
|
-
id: `bump_${
|
|
762
|
+
return Se({
|
|
763
|
+
getData: Sn,
|
|
764
|
+
getImage: An,
|
|
765
|
+
generatePdf: Wt,
|
|
766
|
+
generateCsv: Cn,
|
|
767
|
+
generateImage: Gt,
|
|
768
|
+
generateSvg: On,
|
|
769
|
+
toggleTable: bn,
|
|
770
|
+
toggleAnnotator: vn,
|
|
771
|
+
toggleFullscreen: yn,
|
|
772
|
+
copyAlt: Mn
|
|
773
|
+
}), (e, t) => (x(), h("div", {
|
|
774
|
+
id: `bump_${A.value}`,
|
|
775
775
|
ref_key: "bumpChart",
|
|
776
|
-
ref:
|
|
777
|
-
class:
|
|
776
|
+
ref: k,
|
|
777
|
+
class: Pe({
|
|
778
778
|
"vue-data-ui-component": !0,
|
|
779
779
|
"vue-ui-bump": !0,
|
|
780
|
-
"vue-data-ui-wrapper-fullscreen":
|
|
780
|
+
"vue-data-ui-wrapper-fullscreen": j.value
|
|
781
781
|
}),
|
|
782
|
-
style:
|
|
783
|
-
onMouseenter:
|
|
784
|
-
onMouseleave:
|
|
782
|
+
style: b(`background:${F.value.style.chart.backgroundColor};color:${F.value.style.chart.color};font-family:${F.value.style.fontFamily}; position: relative; ${F.value.responsive ? "height: 100%" : ""}`),
|
|
783
|
+
onMouseenter: Bt,
|
|
784
|
+
onMouseleave: Vt
|
|
785
785
|
}, [
|
|
786
|
-
|
|
787
|
-
id: `chart-instructions-${
|
|
786
|
+
g("p", {
|
|
787
|
+
id: `chart-instructions-${A.value}`,
|
|
788
788
|
class: "sr-only"
|
|
789
|
-
},
|
|
790
|
-
J.value.body.length ? (
|
|
789
|
+
}, T(F.value.a11y.translations.keyboardNavigation), 9, We),
|
|
790
|
+
J.value.body.length ? (x(), p(Te, {
|
|
791
791
|
key: 0,
|
|
792
|
-
uid:
|
|
792
|
+
uid: A.value,
|
|
793
793
|
head: J.value.head,
|
|
794
794
|
body: J.value.body,
|
|
795
795
|
caption: J.value.caption,
|
|
@@ -800,22 +800,22 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
800
800
|
"body",
|
|
801
801
|
"caption",
|
|
802
802
|
"notice"
|
|
803
|
-
])) :
|
|
804
|
-
F.value.userOptions.buttons.annotator ? (
|
|
803
|
+
])) : m("", !0),
|
|
804
|
+
F.value.userOptions.buttons.annotator ? (x(), p(E(dt), {
|
|
805
805
|
key: 1,
|
|
806
|
-
svgRef:
|
|
806
|
+
svgRef: E(L),
|
|
807
807
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
808
808
|
color: F.value.style.chart.color,
|
|
809
809
|
active: Y.value,
|
|
810
810
|
isCursorPointer: I.value,
|
|
811
|
-
onClose:
|
|
811
|
+
onClose: vn
|
|
812
812
|
}, {
|
|
813
|
-
"annotator-action-close":
|
|
814
|
-
"annotator-action-color":
|
|
815
|
-
"annotator-action-draw":
|
|
816
|
-
"annotator-action-undo":
|
|
817
|
-
"annotator-action-redo":
|
|
818
|
-
"annotator-action-delete":
|
|
813
|
+
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
814
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
|
|
815
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(v({ mode: t })), void 0, !0)]),
|
|
816
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(v({ disabled: t })), void 0, !0)]),
|
|
817
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(v({ disabled: t })), void 0, !0)]),
|
|
818
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(v({ disabled: t })), void 0, !0)]),
|
|
819
819
|
_: 3
|
|
820
820
|
}, 8, [
|
|
821
821
|
"svgRef",
|
|
@@ -823,22 +823,22 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
823
823
|
"color",
|
|
824
824
|
"active",
|
|
825
825
|
"isCursorPointer"
|
|
826
|
-
])) :
|
|
827
|
-
|
|
828
|
-
|
|
826
|
+
])) : m("", !0),
|
|
827
|
+
w(e.$slots, "userConfig", {}, void 0, !0),
|
|
828
|
+
Kt.value ? (x(), h("div", {
|
|
829
829
|
key: 2,
|
|
830
830
|
ref_key: "noTitle",
|
|
831
831
|
ref: xt,
|
|
832
832
|
class: "vue-data-ui-no-title-space",
|
|
833
833
|
style: "height:36px; width: 100%;background:transparent"
|
|
834
|
-
}, null, 512)) :
|
|
835
|
-
F.value.style.chart.title.text ? (
|
|
834
|
+
}, null, 512)) : m("", !0),
|
|
835
|
+
F.value.style.chart.title.text ? (x(), h("div", {
|
|
836
836
|
key: 3,
|
|
837
837
|
ref_key: "chartTitle",
|
|
838
838
|
ref: bt,
|
|
839
839
|
style: "width:100%;background:transparent;"
|
|
840
|
-
}, [(
|
|
841
|
-
key: `title_${
|
|
840
|
+
}, [(x(), p(xe, {
|
|
841
|
+
key: `title_${wt.value}`,
|
|
842
842
|
config: {
|
|
843
843
|
title: {
|
|
844
844
|
cy: "bump-title",
|
|
@@ -849,16 +849,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
849
849
|
...F.value.style.chart.title.subtitle
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
}, null, 8, ["config"]))], 512)) :
|
|
853
|
-
F.value.userOptions.show && vt.value && (
|
|
852
|
+
}, null, 8, ["config"]))], 512)) : m("", !0),
|
|
853
|
+
F.value.userOptions.show && vt.value && (E(zt) || E(Lt)) ? (x(), p(E(ft), {
|
|
854
854
|
ref_key: "userOptionsRef",
|
|
855
|
-
ref:
|
|
855
|
+
ref: Et,
|
|
856
856
|
key: `user_option_${yt.value}`,
|
|
857
857
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
858
858
|
color: F.value.style.chart.color,
|
|
859
|
-
isPrinting:
|
|
860
|
-
isImaging:
|
|
861
|
-
uid:
|
|
859
|
+
isPrinting: E(Ht),
|
|
860
|
+
isImaging: E(Ut),
|
|
861
|
+
uid: A.value,
|
|
862
862
|
hasTooltip: !1,
|
|
863
863
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
864
864
|
hasImg: F.value.userOptions.buttons.img,
|
|
@@ -868,8 +868,8 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
868
868
|
hasLabel: !1,
|
|
869
869
|
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
870
870
|
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
871
|
-
isFullcreen:
|
|
872
|
-
chartElement:
|
|
871
|
+
isFullcreen: j.value,
|
|
872
|
+
chartElement: k.value,
|
|
873
873
|
position: F.value.userOptions.position,
|
|
874
874
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
875
875
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
@@ -878,19 +878,19 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
878
878
|
printScale: F.value.userOptions.print.scale,
|
|
879
879
|
tableDialog: F.value.table.useDialog,
|
|
880
880
|
isCursorPointer: I.value,
|
|
881
|
-
onToggleFullscreen:
|
|
882
|
-
onGeneratePdf:
|
|
883
|
-
onGenerateCsv:
|
|
884
|
-
onGenerateImage:
|
|
885
|
-
onGenerateSvg:
|
|
886
|
-
onToggleTable:
|
|
887
|
-
onToggleAnnotator:
|
|
888
|
-
onCopyAlt:
|
|
889
|
-
style:
|
|
890
|
-
},
|
|
881
|
+
onToggleFullscreen: yn,
|
|
882
|
+
onGeneratePdf: E(Wt),
|
|
883
|
+
onGenerateCsv: Cn,
|
|
884
|
+
onGenerateImage: E(kn),
|
|
885
|
+
onGenerateSvg: E(On),
|
|
886
|
+
onToggleTable: bn,
|
|
887
|
+
onToggleAnnotator: vn,
|
|
888
|
+
onCopyAlt: Mn,
|
|
889
|
+
style: b({ visibility: E(zt) ? E(Lt) ? "visible" : "hidden" : "visible" })
|
|
890
|
+
}, Ae({ _: 2 }, [
|
|
891
891
|
e.$slots.menuIcon ? {
|
|
892
892
|
name: "menuIcon",
|
|
893
|
-
fn:
|
|
893
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(v({
|
|
894
894
|
isOpen: t,
|
|
895
895
|
color: n
|
|
896
896
|
})), void 0, !0)]),
|
|
@@ -898,32 +898,32 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
898
898
|
} : void 0,
|
|
899
899
|
e.$slots.optionPdf ? {
|
|
900
900
|
name: "optionPdf",
|
|
901
|
-
fn:
|
|
901
|
+
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
902
902
|
key: "1"
|
|
903
903
|
} : void 0,
|
|
904
904
|
e.$slots.optionCsv ? {
|
|
905
905
|
name: "optionCsv",
|
|
906
|
-
fn:
|
|
906
|
+
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
907
907
|
key: "2"
|
|
908
908
|
} : void 0,
|
|
909
909
|
e.$slots.optionImg ? {
|
|
910
910
|
name: "optionImg",
|
|
911
|
-
fn:
|
|
911
|
+
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
912
912
|
key: "3"
|
|
913
913
|
} : void 0,
|
|
914
914
|
e.$slots.optionSvg ? {
|
|
915
915
|
name: "optionSvg",
|
|
916
|
-
fn:
|
|
916
|
+
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
917
917
|
key: "4"
|
|
918
918
|
} : void 0,
|
|
919
919
|
e.$slots.optionTable ? {
|
|
920
920
|
name: "optionTable",
|
|
921
|
-
fn:
|
|
921
|
+
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
922
922
|
key: "5"
|
|
923
923
|
} : void 0,
|
|
924
924
|
e.$slots.optionFullscreen ? {
|
|
925
925
|
name: "optionFullscreen",
|
|
926
|
-
fn:
|
|
926
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(v({
|
|
927
927
|
toggleFullscreen: t,
|
|
928
928
|
isFullscreen: n
|
|
929
929
|
})), void 0, !0)]),
|
|
@@ -931,7 +931,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
931
931
|
} : void 0,
|
|
932
932
|
e.$slots.optionAnnotator ? {
|
|
933
933
|
name: "optionAnnotator",
|
|
934
|
-
fn:
|
|
934
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(v({
|
|
935
935
|
toggleAnnotator: t,
|
|
936
936
|
isAnnotator: n
|
|
937
937
|
})), void 0, !0)]),
|
|
@@ -939,49 +939,49 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
939
939
|
} : void 0,
|
|
940
940
|
e.$slots.optionAltCopy ? {
|
|
941
941
|
name: "optionAltCopy",
|
|
942
|
-
fn:
|
|
942
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
|
|
943
943
|
key: "8"
|
|
944
944
|
} : void 0,
|
|
945
945
|
e.$slots["custom-menu-before"] ? {
|
|
946
946
|
name: "custom-menu-before",
|
|
947
|
-
fn:
|
|
947
|
+
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
948
948
|
key: "9"
|
|
949
949
|
} : void 0,
|
|
950
950
|
e.$slots["custom-menu-after"] ? {
|
|
951
951
|
name: "custom-menu-after",
|
|
952
|
-
fn:
|
|
952
|
+
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
953
953
|
key: "10"
|
|
954
954
|
} : void 0
|
|
955
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasAltCopy.hasFullscreen.isFullcreen.chartElement.position.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
956
|
-
|
|
955
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasAltCopy.hasFullscreen.isFullcreen.chartElement.position.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : m("", !0),
|
|
956
|
+
g("div", Ge, [(x(), h("svg", {
|
|
957
957
|
ref_key: "svgRef",
|
|
958
958
|
ref: L,
|
|
959
|
-
xmlns:
|
|
960
|
-
"aria-describedby": `chart-instructions-${
|
|
959
|
+
xmlns: E(ce),
|
|
960
|
+
"aria-describedby": `chart-instructions-${A.value}`,
|
|
961
961
|
viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.svgHeight <= 0 ? 10 : U.value.svgHeight}`,
|
|
962
|
-
class:
|
|
963
|
-
"vue-data-ui-loading":
|
|
962
|
+
class: Pe({
|
|
963
|
+
"vue-data-ui-loading": E(Nt),
|
|
964
964
|
"no-transition": !F.value.useCssAnimation
|
|
965
965
|
}),
|
|
966
|
-
style:
|
|
966
|
+
style: b(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
|
|
967
967
|
role: "img",
|
|
968
968
|
"aria-live": "polite",
|
|
969
969
|
preserveAspectRatio: "xMidYMid",
|
|
970
970
|
tabindex: "0",
|
|
971
|
-
onFocus:
|
|
972
|
-
onBlur:
|
|
973
|
-
onKeydown:
|
|
971
|
+
onFocus: pn,
|
|
972
|
+
onBlur: mn,
|
|
973
|
+
onKeydown: _n
|
|
974
974
|
}, [
|
|
975
|
-
|
|
976
|
-
e.$slots["chart-background"] ? (
|
|
975
|
+
Me(E(pt)),
|
|
976
|
+
e.$slots["chart-background"] ? (x(), h("foreignObject", {
|
|
977
977
|
key: 0,
|
|
978
978
|
x: U.value.left,
|
|
979
979
|
y: U.value.top,
|
|
980
980
|
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
981
981
|
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
982
982
|
style: { pointerEvents: "none" }
|
|
983
|
-
}, [
|
|
984
|
-
(
|
|
983
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : m("", !0),
|
|
984
|
+
(x(!0), h(d, null, C(W.value, (e) => (x(), h(d, null, [g("path", {
|
|
985
985
|
class: "transition-opacity",
|
|
986
986
|
d: `M${e.path}`,
|
|
987
987
|
stroke: F.value.style.chart.layout.lines.coatingColor,
|
|
@@ -989,10 +989,10 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
989
989
|
"stroke-linecap": "round",
|
|
990
990
|
"stroke-linejoin": "round",
|
|
991
991
|
fill: "none",
|
|
992
|
-
style:
|
|
992
|
+
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
993
993
|
onMouseenter: (t) => N.value = e.id,
|
|
994
994
|
onMouseleave: t[0] ||= (e) => N.value = null
|
|
995
|
-
}, null, 44,
|
|
995
|
+
}, null, 44, Je), g("path", {
|
|
996
996
|
class: "transition-opacity",
|
|
997
997
|
d: `M${e.path}`,
|
|
998
998
|
stroke: e.color,
|
|
@@ -1000,13 +1000,13 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1000
1000
|
"stroke-linecap": "round",
|
|
1001
1001
|
"stroke-linejoin": "round",
|
|
1002
1002
|
fill: "none",
|
|
1003
|
-
style:
|
|
1003
|
+
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1004
1004
|
onMouseenter: (t) => Q(e, e),
|
|
1005
1005
|
onMouseleave: (t) => $(e, e),
|
|
1006
|
-
onClick: (t) =>
|
|
1007
|
-
}, null, 44,
|
|
1008
|
-
(
|
|
1009
|
-
F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (
|
|
1006
|
+
onClick: (t) => jn(e, e)
|
|
1007
|
+
}, null, 44, Ye)], 64))), 256)),
|
|
1008
|
+
(x(!0), h(d, null, C(W.value, (t) => (x(), h(d, null, [
|
|
1009
|
+
F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (x(!0), h(d, { key: 0 }, C(t.coordinates, (e, n) => (x(), h("circle", {
|
|
1010
1010
|
class: "transition-opacity",
|
|
1011
1011
|
cx: e.x,
|
|
1012
1012
|
cy: e.y,
|
|
@@ -1014,7 +1014,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1014
1014
|
fill: t.color,
|
|
1015
1015
|
stroke: F.value.style.chart.layout.plots.stroke,
|
|
1016
1016
|
"stroke-width": F.value.style.chart.layout.plots.strokeWidth,
|
|
1017
|
-
style:
|
|
1017
|
+
style: b({ opacity: N.value == null || N.value === t.id ? 1 : .1 }),
|
|
1018
1018
|
onMouseenter: (r) => Q({
|
|
1019
1019
|
...e,
|
|
1020
1020
|
pointIndex: n
|
|
@@ -1027,24 +1027,24 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1027
1027
|
...e,
|
|
1028
1028
|
pointIndex: n
|
|
1029
1029
|
}, t)
|
|
1030
|
-
}, null, 44,
|
|
1031
|
-
F.value.style.chart.layout.plots.labels.show && F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (
|
|
1030
|
+
}, null, 44, Xe))), 256)) : m("", !0),
|
|
1031
|
+
F.value.style.chart.layout.plots.labels.show && F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (x(!0), h(d, { key: 1 }, C(t.coordinates, (e) => (x(), h("text", {
|
|
1032
1032
|
class: "transition-opacity",
|
|
1033
1033
|
x: e.x,
|
|
1034
1034
|
y: e.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
|
|
1035
1035
|
fill: e.labelColor,
|
|
1036
1036
|
"font-size": F.value.style.chart.layout.plots.labels.fontSize,
|
|
1037
1037
|
"text-anchor": "middle",
|
|
1038
|
-
style:
|
|
1038
|
+
style: b({
|
|
1039
1039
|
userSelect: "none",
|
|
1040
1040
|
pointerEvents: "none",
|
|
1041
1041
|
opacity: N.value == null || N.value === t.id ? 1 : .1
|
|
1042
1042
|
})
|
|
1043
|
-
},
|
|
1044
|
-
F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (
|
|
1043
|
+
}, T(e.rank), 13, Ze))), 256)) : m("", !0),
|
|
1044
|
+
F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (x(!0), h(d, { key: 2 }, C(t.coordinates, (n) => (x(), h(d, null, [E(l)(n.value) ? (x(), h("rect", Ne({
|
|
1045
1045
|
key: 0,
|
|
1046
1046
|
class: "transition-opacity"
|
|
1047
|
-
}, { ref_for: !0 },
|
|
1047
|
+
}, { ref_for: !0 }, sn(n), {
|
|
1048
1048
|
style: { opacity: N.value == null || N.value === t.id ? 1 : .1 },
|
|
1049
1049
|
onMouseenter: (n) => Q({
|
|
1050
1050
|
...e.point,
|
|
@@ -1058,7 +1058,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1058
1058
|
...e.point,
|
|
1059
1059
|
pointIndex: e.i
|
|
1060
1060
|
}, t)
|
|
1061
|
-
}), null, 16,
|
|
1061
|
+
}), null, 16, Qe)) : m("", !0), E(l)(n.value) && F.value.style.chart.layout.plots.labels.show ? (x(), h("text", {
|
|
1062
1062
|
key: 1,
|
|
1063
1063
|
class: "transition-opacity",
|
|
1064
1064
|
x: n.x,
|
|
@@ -1066,18 +1066,18 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1066
1066
|
fill: n.labelColor,
|
|
1067
1067
|
"font-size": F.value.style.chart.layout.plots.labels.fontSize,
|
|
1068
1068
|
"text-anchor": "middle",
|
|
1069
|
-
style:
|
|
1069
|
+
style: b({
|
|
1070
1070
|
userSelect: "none",
|
|
1071
1071
|
pointerEvents: "none",
|
|
1072
1072
|
opacity: N.value == null || N.value === t.id ? 1 : .1
|
|
1073
1073
|
})
|
|
1074
|
-
},
|
|
1074
|
+
}, T(n.displayValue), 13, $e)) : m("", !0)], 64))), 256)) : m("", !0)
|
|
1075
1075
|
], 64))), 256)),
|
|
1076
|
-
F.value.style.chart.layout.nameLabels.leftLabels.show ? (
|
|
1076
|
+
F.value.style.chart.layout.nameLabels.leftLabels.show ? (x(), h("g", {
|
|
1077
1077
|
key: 1,
|
|
1078
1078
|
ref_key: "labelsLeft",
|
|
1079
|
-
ref:
|
|
1080
|
-
}, [(
|
|
1079
|
+
ref: Ot
|
|
1080
|
+
}, [(x(!0), h(d, null, C(on.value.left.filter((e) => E(l)(e.value)), (e, t) => (x(), h("text", {
|
|
1081
1081
|
class: "transition-opacity",
|
|
1082
1082
|
x: U.value.left,
|
|
1083
1083
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -1085,7 +1085,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1085
1085
|
"font-size": F.value.style.chart.layout.nameLabels.fontSize,
|
|
1086
1086
|
"font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1087
1087
|
"text-anchor": "end",
|
|
1088
|
-
innerHTML:
|
|
1088
|
+
innerHTML: E(r)({
|
|
1089
1089
|
content: e.name,
|
|
1090
1090
|
fontSize: F.value.style.chart.layout.nameLabels.fontSize,
|
|
1091
1091
|
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
@@ -1093,16 +1093,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1093
1093
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1094
1094
|
translateY: !0
|
|
1095
1095
|
}),
|
|
1096
|
-
style:
|
|
1096
|
+
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1097
1097
|
onMouseenter: (t) => Q(e, e),
|
|
1098
1098
|
onMouseleave: (t) => $(e, e),
|
|
1099
|
-
onClick: (t) =>
|
|
1100
|
-
}, null, 44,
|
|
1101
|
-
F.value.style.chart.layout.nameLabels.rightLabels.show ? (
|
|
1099
|
+
onClick: (t) => jn(e, e)
|
|
1100
|
+
}, null, 44, et))), 256))], 512)) : m("", !0),
|
|
1101
|
+
F.value.style.chart.layout.nameLabels.rightLabels.show ? (x(), h("g", {
|
|
1102
1102
|
key: 2,
|
|
1103
1103
|
ref_key: "labelsRight",
|
|
1104
|
-
ref:
|
|
1105
|
-
}, [(
|
|
1104
|
+
ref: kt
|
|
1105
|
+
}, [(x(!0), h(d, null, C(on.value.right.filter((e) => E(l)(e.value)), (e, t) => (x(), h("text", {
|
|
1106
1106
|
class: "transition-opacity",
|
|
1107
1107
|
x: U.value.right,
|
|
1108
1108
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -1110,7 +1110,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1110
1110
|
"font-size": F.value.style.chart.layout.nameLabels.fontSize,
|
|
1111
1111
|
"font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1112
1112
|
"text-anchor": "start",
|
|
1113
|
-
innerHTML:
|
|
1113
|
+
innerHTML: E(r)({
|
|
1114
1114
|
content: e.name,
|
|
1115
1115
|
fontSize: F.value.style.chart.layout.nameLabels.fontSize,
|
|
1116
1116
|
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
@@ -1118,16 +1118,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1118
1118
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1119
1119
|
translateY: !0
|
|
1120
1120
|
}),
|
|
1121
|
-
style:
|
|
1121
|
+
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1122
1122
|
onMouseenter: (t) => Q(e, e),
|
|
1123
1123
|
onMouseleave: (t) => $(e, e),
|
|
1124
|
-
onClick: (t) =>
|
|
1125
|
-
}, null, 44,
|
|
1126
|
-
F.value.style.chart.layout.timeLabels.show ? (
|
|
1124
|
+
onClick: (t) => jn(e, e)
|
|
1125
|
+
}, null, 44, tt))), 256))], 512)) : m("", !0),
|
|
1126
|
+
F.value.style.chart.layout.timeLabels.show ? (x(), h("g", {
|
|
1127
1127
|
key: 3,
|
|
1128
1128
|
ref_key: "timeLabelsEls",
|
|
1129
|
-
ref:
|
|
1130
|
-
}, [e.$slots["time-label"] ? (
|
|
1129
|
+
ref: At
|
|
1130
|
+
}, [e.$slots["time-label"] ? (x(), h("g", nt, [(x(!0), h(d, null, C(K.value, (t, n) => (x(), h("g", null, [w(e.$slots, "time-label", Ne({ ref_for: !0 }, {
|
|
1131
1131
|
x: U.value.unitW * n + U.value.unitW / 2 + U.value.left,
|
|
1132
1132
|
y: U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY,
|
|
1133
1133
|
fontSize: F.value.style.chart.layout.timeLabels.fontSize,
|
|
@@ -1137,7 +1137,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1137
1137
|
content: t.text,
|
|
1138
1138
|
textAnchor: F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1139
1139
|
show: !0
|
|
1140
|
-
}), void 0, !0)]))), 256))])) : (
|
|
1140
|
+
}), void 0, !0)]))), 256))])) : (x(), h("g", rt, [(x(!0), h(d, null, C(K.value, (e, t) => (x(), h("g", null, [String(e.text).includes("\n") ? (x(), h("text", {
|
|
1141
1141
|
key: t + "-multi",
|
|
1142
1142
|
"text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1143
1143
|
"font-size": F.value.style.chart.layout.timeLabels.fontSize,
|
|
@@ -1149,14 +1149,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1149
1149
|
),
|
|
1150
1150
|
rotate(${F.value.style.chart.layout.timeLabels.rotation})
|
|
1151
1151
|
`,
|
|
1152
|
-
innerHTML:
|
|
1152
|
+
innerHTML: E(r)({
|
|
1153
1153
|
content: String(e.text),
|
|
1154
1154
|
fontSize: F.value.style.chart.layout.timeLabels.fontSize,
|
|
1155
1155
|
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1156
1156
|
x: 0,
|
|
1157
1157
|
y: 0
|
|
1158
1158
|
})
|
|
1159
|
-
}, null, 8,
|
|
1159
|
+
}, null, 8, at)) : (x(), h("text", {
|
|
1160
1160
|
class: "vue-data-ui-time-label",
|
|
1161
1161
|
key: t,
|
|
1162
1162
|
"text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -1164,24 +1164,24 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1164
1164
|
"font-weight": F.value.style.chart.layout.timeLabels.bold ? "bold" : "normal",
|
|
1165
1165
|
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1166
1166
|
transform: `translate(${U.value.unitW * t + U.value.unitW / 2 + U.value.left}, ${U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY}), rotate(${F.value.style.chart.layout.timeLabels.rotation})`
|
|
1167
|
-
},
|
|
1168
|
-
|
|
1167
|
+
}, T(e.text), 9, it))]))), 256))]))], 512)) : m("", !0),
|
|
1168
|
+
w(e.$slots, "svg", { svg: {
|
|
1169
1169
|
drawingArea: U.value,
|
|
1170
1170
|
data: W.value,
|
|
1171
|
-
isPrintingImg:
|
|
1172
|
-
isPrintingSvg:
|
|
1171
|
+
isPrintingImg: E(Ht) || E(Ut) || E(En),
|
|
1172
|
+
isPrintingSvg: E(Dn)
|
|
1173
1173
|
} }, void 0, !0)
|
|
1174
|
-
], 46,
|
|
1174
|
+
], 46, Ke)), e.$slots.hint ? (x(), h("div", ot, [w(e.$slots, "hint", y(v({
|
|
1175
1175
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1176
|
-
isVisible:
|
|
1177
|
-
})), void 0, !0)])) :
|
|
1178
|
-
e.$slots.watermark ? (
|
|
1179
|
-
vt.value && F.value.userOptions.buttons.table ? (
|
|
1176
|
+
isVisible: jt.value
|
|
1177
|
+
})), void 0, !0)])) : m("", !0)]),
|
|
1178
|
+
e.$slots.watermark ? (x(), h("div", st, [w(e.$slots, "watermark", y(v({ isPrinting: E(Ht) || E(Ut) || E(En) || E(Dn) })), void 0, !0)])) : m("", !0),
|
|
1179
|
+
vt.value && F.value.userOptions.buttons.table ? (x(), p(Le(X.value.component), Ne({ key: 6 }, X.value.props, {
|
|
1180
1180
|
ref_key: "tableUnit",
|
|
1181
1181
|
ref: M,
|
|
1182
|
-
onClose:
|
|
1183
|
-
}),
|
|
1184
|
-
content:
|
|
1182
|
+
onClose: xn
|
|
1183
|
+
}), Ae({
|
|
1184
|
+
content: D(() => [Me(E(ut), {
|
|
1185
1185
|
colNames: Z.value.colNames,
|
|
1186
1186
|
head: Z.value.head,
|
|
1187
1187
|
body: Z.value.body,
|
|
@@ -1189,10 +1189,10 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1189
1189
|
title: F.value.table.useDialog ? "" : X.value.title,
|
|
1190
1190
|
withCloseButton: !F.value.table.useDialog,
|
|
1191
1191
|
isCursorPointer: I.value,
|
|
1192
|
-
onClose:
|
|
1192
|
+
onClose: xn
|
|
1193
1193
|
}, {
|
|
1194
|
-
th:
|
|
1195
|
-
td:
|
|
1194
|
+
th: D(({ th: e }) => [g("div", null, T(e), 1)]),
|
|
1195
|
+
td: D(({ td: e }) => [je(T(e), 1)]),
|
|
1196
1196
|
_: 1
|
|
1197
1197
|
}, 8, [
|
|
1198
1198
|
"colNames",
|
|
@@ -1206,30 +1206,30 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1206
1206
|
_: 2
|
|
1207
1207
|
}, [F.value.table.useDialog ? {
|
|
1208
1208
|
name: "title",
|
|
1209
|
-
fn:
|
|
1209
|
+
fn: D(() => [je(T(X.value.title), 1)]),
|
|
1210
1210
|
key: "0"
|
|
1211
1211
|
} : void 0, F.value.table.useDialog ? {
|
|
1212
1212
|
name: "actions",
|
|
1213
|
-
fn:
|
|
1213
|
+
fn: D(() => [g("button", {
|
|
1214
1214
|
tabindex: "0",
|
|
1215
1215
|
class: "vue-ui-user-options-button",
|
|
1216
|
-
onClick: t[1] ||= (e) =>
|
|
1217
|
-
style:
|
|
1218
|
-
}, [
|
|
1216
|
+
onClick: t[1] ||= (e) => Cn(F.value.userOptions.callbacks.csv),
|
|
1217
|
+
style: b({ cursor: I.value ? "pointer" : "default" })
|
|
1218
|
+
}, [Me(E(ct), {
|
|
1219
1219
|
name: "fileCsv",
|
|
1220
1220
|
stroke: X.value.props.color
|
|
1221
1221
|
}, null, 8, ["stroke"])], 4)]),
|
|
1222
1222
|
key: "1"
|
|
1223
|
-
} : void 0]), 1040)) :
|
|
1224
|
-
e.$slots.source ? (
|
|
1223
|
+
} : void 0]), 1040)) : m("", !0),
|
|
1224
|
+
e.$slots.source ? (x(), h("div", {
|
|
1225
1225
|
key: 7,
|
|
1226
1226
|
ref_key: "source",
|
|
1227
1227
|
ref: St,
|
|
1228
1228
|
dir: "auto"
|
|
1229
|
-
}, [
|
|
1230
|
-
|
|
1231
|
-
], 46,
|
|
1229
|
+
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1230
|
+
w(e.$slots, "skeleton", {}, () => [E(Nt) ? (x(), p(ge, { key: 0 })) : m("", !0)], !0)
|
|
1231
|
+
], 46, Ue));
|
|
1232
1232
|
}
|
|
1233
|
-
}, [["__scopeId", "data-v-
|
|
1233
|
+
}, [["__scopeId", "data-v-ef8e05d0"]]);
|
|
1234
1234
|
//#endregion
|
|
1235
|
-
export {
|
|
1235
|
+
export { He as n, ct as t };
|