vue-data-ui 3.26.5 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BQbcOtfC.js → Arrow-DKO1l8oR.js} +1 -1
- package/dist/{BaseDraggableDialog-BCFCiP_6.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
- package/dist/{BaseIcon-CIK6Sqo3.js → BaseIcon-Cx9FD751.js} +1 -1
- package/dist/{BaseLegendToggle-Doa5rYP2.js → BaseLegendToggle-CP3sddwv.js} +1 -1
- package/dist/{BaseZoomControls-BGQM8B5F.js → BaseZoomControls-vNi8YykO.js} +2 -2
- package/dist/{ColorPicker-Cb7qpvFt.js → ColorPicker-hmC2bvwS.js} +2 -2
- package/dist/{DataTable-B6LDCXBz.js → DataTable-CjF_An2h.js} +2 -2
- package/dist/{HillActions-CwdgCb7Q.js → HillActions-DqqGB33u.js} +1 -1
- package/dist/{Legend-D9FGXIbQ.js → Legend-CulFgjUY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-9T4MSwXC.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
- package/dist/{PackageVersion-CslTvFsC.js → PackageVersion-D7H9nfK0.js} +1 -1
- package/dist/{PenAndPaper-C1EcBgJW.js → PenAndPaper-CNiuGw6k.js} +3 -3
- package/dist/{Shape-BZgQLgu5.js → Shape-DSwamtmO.js} +1 -1
- package/dist/{SlicerPreview-DyYv_G-_.js → SlicerPreview-k5YerMA9.js} +12 -12
- package/dist/{SparkTooltip-D4cRlyuq.js → SparkTooltip-D35KVv6N.js} +6 -6
- package/dist/{Title-Bd98RysU.js → Title-BMCuINbv.js} +1 -1
- package/dist/{Tooltip-DmQeI5WE.js → Tooltip-C4ZTwkLF.js} +1 -1
- package/dist/{UserOptions-B_yBcZ1-.js → UserOptions-CORYQiif.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-B_RJohlM.js → dom-to-png-CBusMkua.js} +1 -1
- package/dist/{exposedLib-C-JlvWAt.js → exposedLib-UNxZlnAS.js} +10 -10
- package/dist/{img-KURaWjZI.js → img-Bb5rHcpO.js} +1 -1
- package/dist/{labelUtils-DShv2Mbg.js → labelUtils-Ccn9kK7T.js} +1 -1
- package/dist/{lib-TWIH5fGr.js → lib-D4wK6ljP.js} +127 -133
- package/dist/{package-DbTqd5lc.js → package-DmQufM0G.js} +1 -1
- package/dist/{pdf-CLl24Afl.js → pdf-BzIQHx-F.js} +1 -1
- package/dist/{render-common-CKv-jztN.js → render-common-BtfjXdkJ.js} +10 -10
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +212 -59
- package/dist/types/vue-ui-stackbar.d.ts +10 -0
- package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
- package/dist/{useNestedProp-BxOdWM0c.js → useNestedProp-DR_8JPol.js} +1 -1
- package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
- package/dist/{usePrinter-8Y1Rju0Y.js → usePrinter-DdW2GSm0.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-C3G5Zdl5.js → vue-data-ui-Df7WV80w.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-Cl6-fBV8.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
- package/dist/{vue-ui-accordion-AyyZDab3.js → vue-ui-accordion-CaoNWreI.js} +4 -4
- package/dist/{vue-ui-age-pyramid-DOtWAL8s.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
- package/dist/{vue-ui-annotator-BCVjlojM.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
- package/dist/{vue-ui-bullet-B_1Ctjvq.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
- package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
- package/dist/{vue-ui-candlestick-KvhjbAxt.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
- package/dist/{vue-ui-carousel-table-ArMiO0cG.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
- package/dist/{vue-ui-chestnut-DSM0U27X.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
- package/dist/{vue-ui-chord-64akfaem.js → vue-ui-chord-MF4xF5az.js} +46 -46
- package/dist/{vue-ui-circle-pack-CaR_aNEh.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
- package/dist/{vue-ui-cursor-DCgqYZiz.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
- package/dist/{vue-ui-dag-8uKK0Rlp.js → vue-ui-dag-D2EUqeDN.js} +65 -65
- package/dist/{vue-ui-dashboard-DeccYtSY.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
- package/dist/{vue-ui-digits-BvK7bVuJ.js → vue-ui-digits-zSqwYWHm.js} +4 -4
- package/dist/{vue-ui-donut-8joMj08Z.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
- package/dist/{vue-ui-donut-evolution-DgITf95R.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
- package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
- package/dist/{vue-ui-dumbbell-U2L4ZYhB.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
- package/dist/{vue-ui-flow-DD20fJu_.js → vue-ui-flow-iSH6dyGw.js} +109 -109
- package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
- package/dist/{vue-ui-galaxy-VZFZnHPv.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
- package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
- package/dist/{vue-ui-geo-DeDQ6ubl.js → vue-ui-geo-mwTtvIHY.js} +19 -19
- package/dist/{vue-ui-gizmo-D5oUKIsP.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
- package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
- package/dist/{vue-ui-hill-DONFacXR.js → vue-ui-hill-DPfTt3UE.js} +18 -18
- package/dist/{vue-ui-history-plot-BMy_y9S6.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
- package/dist/{vue-ui-kpi-Bol0OWs3.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
- package/dist/{vue-ui-label-cwjXaEDQ.js → vue-ui-label-r3-QloJL.js} +65 -65
- package/dist/{vue-ui-mini-loader-kdpasmXb.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
- package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
- package/dist/{vue-ui-nested-donuts-ZmGGEvRk.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
- package/dist/{vue-ui-onion-D6IKPpL-.js → vue-ui-onion-_L0uEATI.js} +209 -209
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
- package/dist/{vue-ui-quadrant-CueHa1Pm.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
- package/dist/{vue-ui-quick-chart-C8ZxX1Zw.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
- package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
- package/dist/{vue-ui-rating-V_OnJN9Y.js → vue-ui-rating-C_iTttXB.js} +25 -25
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
- package/dist/{vue-ui-rings-Bf9IKwDr.js → vue-ui-rings-D_GPkgbD.js} +318 -318
- package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
- package/dist/{vue-ui-skeleton-dyXWT6JX.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
- package/dist/{vue-ui-smiley-w6nH1I0E.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
- package/dist/{vue-ui-spark-trend-Bso9bwmY.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
- package/dist/{vue-ui-sparkbar-CL06Yt56.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
- package/dist/{vue-ui-sparkgauge-BHDM5Hbr.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
- package/dist/{vue-ui-sparkline-znaswFQj.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
- package/dist/{vue-ui-sparkstackbar-BOzVoWoa.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
- package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
- package/dist/{vue-ui-stackline-qcLrNL09.js → vue-ui-stackline-CSMuUup2.js} +303 -303
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
- package/dist/{vue-ui-table-D295mJIf.js → vue-ui-table-BCEIbg8-.js} +14 -14
- package/dist/{vue-ui-table-heatmap-CXeMKqKz.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
- package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
- package/dist/{vue-ui-timer-BULpjYiI.js → vue-ui-timer-BKr8RVnn.js} +10 -10
- package/dist/{vue-ui-tiremarks-B7bTeU8h.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
- package/dist/{vue-ui-treemap-DkqDz9W4.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
- package/dist/{vue-ui-waffle-Cn7WBzqh.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
- package/dist/{vue-ui-wheel-Cy7kBvEx.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
- package/dist/{vue-ui-word-cloud-tRqc2ZMR.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
- package/dist/{vue-ui-world-B755-zji.js → vue-ui-world-BZ09DOiF.js} +498 -498
- package/dist/{vue-ui-xy-BiHIJ7rK.js → vue-ui-xy-C3h54loZ.js} +405 -405
- package/dist/{vue-ui-xy-canvas-DGuMC_Rf.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
- package/dist/{vue-ui-xy-DWYTZz_v.js → vue-ui-xy-jemv5dsf.js} +288 -288
- package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
- package/package.json +1 -1
- package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
- package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
- package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
- package/dist/vue-ui-gauge-Copa7G58.js +0 -934
- package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
- package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
- package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
- package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
- package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.js +0 -1444
- package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
- package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
- package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
- package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
- package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
- package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
- package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
- package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
- package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { l as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, D as n, Dt as r, Ht as i, Jt as a, S as o, X as s, Yt as ee, at as c, en as te, et as ne, i as re, n as ie, nn as ae, nt as oe, pt as se, r as ce, t as le, w as ue, yt as de, zt as fe } from "./lib-D4wK6ljP.js";
|
|
3
|
+
import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as he } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
+
import { t as ge } from "./usePrinter-DdW2GSm0.js";
|
|
6
|
+
import { n as _e, t as ve } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
+
import { t as ye } from "./useNestedProp-DR_8JPol.js";
|
|
8
|
+
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as xe } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
+
import { t as Se } from "./useTransitions-g_zBREk2.js";
|
|
11
|
+
import { t as Ce } from "./img-Bb5rHcpO.js";
|
|
12
|
+
import { n as we } from "./Title-BMCuINbv.js";
|
|
13
|
+
import { t as Te } from "./Shape-DSwamtmO.js";
|
|
14
|
+
import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
|
+
import { l as De, t as Oe } from "./useResponsive-ZtArZtUf.js";
|
|
16
|
+
import { t as ke } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
+
import { t as Ae } from "./BaseLegendToggle-CP3sddwv.js";
|
|
18
|
+
import { t as je } from "./A11yDataTable-DdRsVULz.js";
|
|
19
|
+
import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
|
+
import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
+
import { t as Pe } from "./labelUtils-Ccn9kK7T.js";
|
|
22
|
+
import { t as Fe } from "./Legend-CulFgjUY.js";
|
|
23
|
+
import { t as Ie } from "./usePrefersMotion-BC-CsqR1.js";
|
|
24
|
+
import { t as Le } from "./vue_ui_waffle-DE_DiSVP.js";
|
|
25
|
+
import { Fragment as l, Teleport as Re, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as He, nextTick as Ue, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as We, onMounted as Ge, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as Je, toRefs as Ye, unref as w, useSlots as Xe, watch as Ze, withCtx as T } from "vue";
|
|
26
26
|
//#region src/components/vue-ui-waffle.vue
|
|
27
27
|
var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt = ["id"], nt = { style: { position: "relative" } }, rt = [
|
|
28
28
|
"xmlns",
|
|
@@ -113,7 +113,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
113
113
|
}, xt = {
|
|
114
114
|
key: 5,
|
|
115
115
|
class: "vue-data-ui-watermark"
|
|
116
|
-
}, St = ["id"], Ct = ["onClick"], wt = { key: 0 }, Tt = { key: 1 }, Et = /*#__PURE__*/
|
|
116
|
+
}, St = ["id"], Ct = ["onClick"], wt = { key: 0 }, Tt = { key: 1 }, Et = /*#__PURE__*/ Ee({
|
|
117
117
|
__name: "vue-ui-waffle",
|
|
118
118
|
props: {
|
|
119
119
|
config: {
|
|
@@ -130,28 +130,28 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
132
|
emits: ["selectLegend", "copyAlt"],
|
|
133
|
-
setup(e, { expose:
|
|
134
|
-
let Et =
|
|
133
|
+
setup(e, { expose: Ee, emit: Qe }) {
|
|
134
|
+
let Et = h(() => import("./Tooltip-C4ZTwkLF.js")), Dt = h(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Ot = h(() => import("./DataTable-CjF_An2h.js")), kt = h(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), At = h(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), jt = h(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), Mt = h(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), Nt = h(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_waffle: Pt } = he(), { isThemeValid: Ft, warnInvalidTheme: It } = be(), Lt = Ie(), E = e, Rt = Xe(), zt = u({
|
|
135
135
|
get() {
|
|
136
136
|
return !!E.dataset && E.dataset.length;
|
|
137
137
|
},
|
|
138
138
|
set(e) {
|
|
139
139
|
return e;
|
|
140
140
|
}
|
|
141
|
-
}), D = x(
|
|
141
|
+
}), D = x(s()), Bt = x(!1), Vt = x(""), O = x(null), Ht = x(0), k = x(null), Ut = x(null), Wt = x(null), Gt = x(null), Kt = x(null), qt = x(0), Jt = x(0), Yt = x(0), Xt = x(!1), Zt = x(null), Qt = x(null), A = x(null), $t = x({
|
|
142
142
|
x: 0,
|
|
143
143
|
y: 0
|
|
144
|
-
}), en = x("pointer"), tn = x(!1), j = x(pn()), M =
|
|
144
|
+
}), en = x("pointer"), tn = x(!1), j = x(pn()), M = u(() => j.value.userOptions), N = u(() => j.value.style.chart.tooltip), P = u(() => j.value.style.chart.legend), F = u(() => j.value.style.chart.layout.rect), I = u(() => j.value.style.chart.layout.grid), L = u(() => j.value.style.chart.layout), R = u(() => j.value.style.chart), { transitionEnabled: nn } = Se({
|
|
145
145
|
config: () => j.value.transitions,
|
|
146
146
|
dataset: () => E.dataset
|
|
147
147
|
});
|
|
148
|
-
|
|
148
|
+
pe({
|
|
149
149
|
config: () => j.value,
|
|
150
150
|
dataset: () => E.dataset,
|
|
151
151
|
component: "VueUiWaffle",
|
|
152
152
|
rules: [
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
me.singleSeries,
|
|
154
|
+
me.emptyArray,
|
|
155
155
|
{
|
|
156
156
|
test: (e) => e.length > 6,
|
|
157
157
|
message: [
|
|
@@ -166,7 +166,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
166
166
|
}
|
|
167
167
|
]
|
|
168
168
|
});
|
|
169
|
-
let rn =
|
|
169
|
+
let rn = u(() => j.value.userOptions.useCursorPointer), an = u(() => ae({
|
|
170
170
|
defaultConfig: {
|
|
171
171
|
useCustomCells: !1,
|
|
172
172
|
userOptions: { show: !1 },
|
|
@@ -185,7 +185,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
185
185
|
} }
|
|
186
186
|
},
|
|
187
187
|
userConfig: j.value.skeletonConfig ?? {}
|
|
188
|
-
})), { loading: on, FINAL_DATASET: sn, manualLoading: cn } =
|
|
188
|
+
})), { loading: on, FINAL_DATASET: sn, manualLoading: cn } = _e({
|
|
189
189
|
...Ye(E),
|
|
190
190
|
FINAL_CONFIG: j,
|
|
191
191
|
prepareConfig: pn,
|
|
@@ -211,32 +211,32 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
211
211
|
color: "#CACACA"
|
|
212
212
|
}
|
|
213
213
|
],
|
|
214
|
-
skeletonConfig:
|
|
214
|
+
skeletonConfig: ae({
|
|
215
215
|
defaultConfig: j.value,
|
|
216
216
|
userConfig: an.value
|
|
217
217
|
})
|
|
218
|
-
}), { userOptionsVisible: ln, setUserOptionsVisibility: un, keepUserOptionState: dn } =
|
|
218
|
+
}), { userOptionsVisible: ln, setUserOptionsVisibility: un, keepUserOptionState: dn } = Me({ config: j.value }), { svgRef: fn } = Ne({ config: R.value.title });
|
|
219
219
|
function pn() {
|
|
220
|
-
let e =
|
|
220
|
+
let e = ye({
|
|
221
221
|
userConfig: E.config,
|
|
222
222
|
defaultConfig: Pt
|
|
223
223
|
}), t = e.theme;
|
|
224
224
|
if (!t) return e;
|
|
225
225
|
if (!Ft.value(e)) return It(e), e;
|
|
226
|
-
let
|
|
227
|
-
userConfig:
|
|
226
|
+
let n = ye({
|
|
227
|
+
userConfig: Le[t] || E.config,
|
|
228
228
|
defaultConfig: e
|
|
229
|
-
}),
|
|
229
|
+
}), r = ye({
|
|
230
230
|
userConfig: E.config,
|
|
231
|
-
defaultConfig:
|
|
231
|
+
defaultConfig: n
|
|
232
232
|
});
|
|
233
233
|
return {
|
|
234
|
-
...
|
|
235
|
-
customPalette:
|
|
234
|
+
...r,
|
|
235
|
+
customPalette: r.customPalette.length ? r.customPalette : te[t] || i
|
|
236
236
|
};
|
|
237
237
|
}
|
|
238
238
|
function mn(e) {
|
|
239
|
-
let t =
|
|
239
|
+
let t = ne(e);
|
|
240
240
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
241
241
|
}
|
|
242
242
|
let hn = mn(E.config);
|
|
@@ -250,27 +250,27 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
250
250
|
}
|
|
251
251
|
on.value || (j.value = i), ln.value = !j.value.userOptions.showOnChartHover, vn(), qt.value += 1, Jt.value += 1, Yt.value += 1, B.value.showTable = j.value.table.show, B.value.showTooltip = N.value.show;
|
|
252
252
|
}, { deep: !0 });
|
|
253
|
-
let z = qe(null), gn = qe(null), _n =
|
|
253
|
+
let z = qe(null), gn = qe(null), _n = u(() => j.value.debug);
|
|
254
254
|
function vn() {
|
|
255
|
-
if (
|
|
255
|
+
if (fe(E.dataset) ? (c({
|
|
256
256
|
componentName: "VueUiWaffle",
|
|
257
257
|
type: "dataset",
|
|
258
258
|
debug: _n.value
|
|
259
259
|
}), zt.value = !1, cn.value = !0) : _n.value && E.dataset.forEach((e, t) => {
|
|
260
|
-
|
|
260
|
+
de({
|
|
261
261
|
datasetObject: e,
|
|
262
262
|
requiredAttributes: ["name", "values"]
|
|
263
263
|
}).forEach((e) => {
|
|
264
|
-
|
|
264
|
+
c({
|
|
265
265
|
componentName: "VueUiWaffle",
|
|
266
266
|
type: "datasetSerieAttribute",
|
|
267
267
|
property: e,
|
|
268
268
|
index: t
|
|
269
269
|
});
|
|
270
270
|
});
|
|
271
|
-
}),
|
|
272
|
-
let e =
|
|
273
|
-
let { width: e, height: t } =
|
|
271
|
+
}), fe(E.dataset) || (cn.value = j.value.loading), j.value.responsive) {
|
|
272
|
+
let e = De(() => {
|
|
273
|
+
let { width: e, height: t } = Oe({
|
|
274
274
|
chart: k.value,
|
|
275
275
|
title: R.value.title.text ? Ut.value : null,
|
|
276
276
|
legend: P.value.show ? Wt.value : null,
|
|
@@ -289,11 +289,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
289
289
|
}), We(() => {
|
|
290
290
|
z.value && (gn.value && z.value.unobserve(gn.value), z.value.disconnect());
|
|
291
291
|
});
|
|
292
|
-
let { isPrinting: yn, isImaging: bn, generatePdf: xn, generateImage: Sn } =
|
|
292
|
+
let { isPrinting: yn, isImaging: bn, generatePdf: xn, generateImage: Sn } = ge({
|
|
293
293
|
elementId: `vue-ui-waffle_${D.value}`,
|
|
294
294
|
fileName: R.value.title.text || "vue-ui-waffle",
|
|
295
295
|
options: j.value.userOptions.print
|
|
296
|
-
}), Cn =
|
|
296
|
+
}), Cn = u(() => j.value.userOptions.show && !R.value.title.text), wn = u(() => ue(j.value.customPalette)), B = x({
|
|
297
297
|
showTable: j.value.table.show,
|
|
298
298
|
showTooltip: N.value.show
|
|
299
299
|
});
|
|
@@ -311,7 +311,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
311
311
|
left: 0,
|
|
312
312
|
height: 512,
|
|
313
313
|
width: 512
|
|
314
|
-
}), U =
|
|
314
|
+
}), U = u(() => (H.value.width - I.value.size * I.value.spaceBetween) / I.value.size), W = u(() => (H.value.height - I.value.size * I.value.spaceBetween) / I.value.size), Tn = u(() => Math.max(1e-4, H.value.width / I.value.size)), En = u(() => Math.max(1e-4, H.value.height / I.value.size));
|
|
315
315
|
function Dn(e) {
|
|
316
316
|
let t = I.value.size * I.value.size, n = e.reduce((e, t) => e + t, 0), r = e.map((e) => e / n * t), i = r.map(Math.floor), a = r.map((e) => e % 1), o = t - i.reduce((e, t) => e + t, 0);
|
|
317
317
|
for (; o > 0;) {
|
|
@@ -324,25 +324,25 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
324
324
|
function kn() {
|
|
325
325
|
return On.value = sn.value.flatMap((e) => e.values.reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0) === 0, sn.value.map((e, t) => ({
|
|
326
326
|
...e,
|
|
327
|
-
color:
|
|
327
|
+
color: o(e.color) || wn.value[t] || i[t] || i[t % i.length],
|
|
328
328
|
uid: `serie_${t}`,
|
|
329
329
|
absoluteIndex: t
|
|
330
330
|
}));
|
|
331
331
|
}
|
|
332
|
-
let An =
|
|
332
|
+
let An = u(() => kn()), G = x(An.value);
|
|
333
333
|
Ze(() => E.dataset, (e) => {
|
|
334
334
|
Array.isArray(e) && e.length > 0 && (cn.value = !1);
|
|
335
335
|
}, { immediate: !0 }), Ze(() => E.dataset, (e) => {
|
|
336
336
|
G.value = kn();
|
|
337
337
|
}, { deep: !0 });
|
|
338
|
-
let jn =
|
|
339
|
-
[null, void 0].includes(e.values) &&
|
|
338
|
+
let jn = u(() => Dn(G.value.filter((e, t) => !Y.value.includes(e.uid)).map((e, t) => On.value ? 1 : (e.values || []).reduce((e, t) => e + t, 0)))), Mn = u(() => Dn(G.value.map((e, t) => On.value ? 1 : (e.values || []).reduce((e, t) => e + t)))), Nn = u(() => I.value.size ** 2), K = u(() => (_n.value && sn.value.forEach((e, t) => {
|
|
339
|
+
[null, void 0].includes(e.values) && c({
|
|
340
340
|
componentName: "VueUiWaffle",
|
|
341
341
|
type: "datasetSerieAttribute",
|
|
342
342
|
property: "values (number[])",
|
|
343
343
|
index: t
|
|
344
344
|
});
|
|
345
|
-
}), G.value.filter((e, t) => !
|
|
345
|
+
}), G.value.filter((e, t) => !Y.value.includes(e.uid)).map((e, t) => {
|
|
346
346
|
let n = jn.value[t];
|
|
347
347
|
return {
|
|
348
348
|
absoluteIndex: e.absoluteIndex,
|
|
@@ -354,7 +354,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
354
354
|
squareCount: n,
|
|
355
355
|
proportion: n / Nn.value
|
|
356
356
|
};
|
|
357
|
-
}))),
|
|
357
|
+
}))), Pn = u(() => G.value.map((e, t) => {
|
|
358
358
|
let n = Mn.value[t];
|
|
359
359
|
return {
|
|
360
360
|
absoluteIndex: e.absoluteIndex,
|
|
@@ -367,8 +367,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
367
367
|
proportion: n / Nn.value
|
|
368
368
|
};
|
|
369
369
|
}));
|
|
370
|
-
function
|
|
371
|
-
return
|
|
370
|
+
function Fn() {
|
|
371
|
+
return Pn.value.map((e) => ({
|
|
372
372
|
name: e.name,
|
|
373
373
|
color: e.color,
|
|
374
374
|
value: e.value,
|
|
@@ -376,9 +376,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
376
376
|
proportion: e.proportion
|
|
377
377
|
}));
|
|
378
378
|
}
|
|
379
|
-
let
|
|
379
|
+
let In = u(() => {
|
|
380
380
|
let e = 0;
|
|
381
|
-
return
|
|
381
|
+
return K.value.map((t, n) => {
|
|
382
382
|
let r = e, i = r + t.squareCount, a = [];
|
|
383
383
|
for (let e = Math.floor(r); e < Math.floor(i); e += 1) a.push(e);
|
|
384
384
|
return e = i, {
|
|
@@ -387,7 +387,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
387
387
|
rects: a
|
|
388
388
|
};
|
|
389
389
|
});
|
|
390
|
-
}),
|
|
390
|
+
}), q = u(() => In.value.flatMap((e, t) => e.rects.map((n, r) => ({
|
|
391
391
|
isFirst: r === 0,
|
|
392
392
|
isLongEnough: n.length > 2,
|
|
393
393
|
name: e.name,
|
|
@@ -400,7 +400,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
400
400
|
}))).map((e, t) => ({
|
|
401
401
|
...e,
|
|
402
402
|
isAbsoluteFirst: t % I.value.size === 0
|
|
403
|
-
}))),
|
|
403
|
+
}))), J = u(() => {
|
|
404
404
|
let e = [];
|
|
405
405
|
for (let t = 0; t < I.value.size; t += 1) for (let n = 0; n < I.value.size; n += 1) e.push({
|
|
406
406
|
isStartOfLine: n === 0,
|
|
@@ -409,68 +409,68 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
409
409
|
y: (I.value.vertical ? n : t) * (W.value + I.value.spaceBetween) + H.value.top
|
|
410
410
|
});
|
|
411
411
|
return e;
|
|
412
|
-
}),
|
|
413
|
-
function
|
|
412
|
+
}), Y = x([]), Ln = x(!1), Rn = x(Object.create(null)), zn = x(Object.create(null)), X = x(0);
|
|
413
|
+
function Bn(e, t) {
|
|
414
414
|
G.value = G.value.map((n) => n.uid === e ? {
|
|
415
415
|
...n,
|
|
416
416
|
values: [t]
|
|
417
417
|
} : n);
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function Vn(e, t) {
|
|
420
420
|
let n = t.find((t) => t.uid === e);
|
|
421
421
|
return n ? (n.values || []).reduce((e, t) => e + t, 0) : 0;
|
|
422
422
|
}
|
|
423
|
-
function
|
|
423
|
+
function Hn(e) {
|
|
424
424
|
let t = !1;
|
|
425
|
-
|
|
425
|
+
Rn.value[e] && (cancelAnimationFrame(Rn.value[e]), delete Rn.value[e], t = !0), zn.value[e] && (cancelAnimationFrame(zn.value[e]), delete zn.value[e], t = !0), t && (X.value = Math.max(0, X.value - 1), Ln.value = X.value > 0);
|
|
426
426
|
}
|
|
427
|
-
function
|
|
428
|
-
|
|
427
|
+
function Un({ seriesId: e, fromValue: t, toValue: n, mode: r }) {
|
|
428
|
+
Hn(e), X.value += 1, Ln.value = !0;
|
|
429
429
|
let i = t;
|
|
430
430
|
return new Promise((a) => {
|
|
431
431
|
function o() {
|
|
432
432
|
if (r === "increase") {
|
|
433
433
|
if (i >= n) {
|
|
434
|
-
|
|
434
|
+
Bn(e, n), --X.value, X.value <= 0 && (Ln.value = !1), delete Rn.value[e], a();
|
|
435
435
|
return;
|
|
436
436
|
}
|
|
437
|
-
i += n * .025, i > n && (i = n),
|
|
437
|
+
i += n * .025, i > n && (i = n), Bn(e, i), Rn.value[e] = requestAnimationFrame(o);
|
|
438
438
|
} else {
|
|
439
439
|
if (i <= t / 100) {
|
|
440
|
-
|
|
440
|
+
Bn(e, 0), --X.value, X.value <= 0 && (Ln.value = !1), delete zn.value[e], a();
|
|
441
441
|
return;
|
|
442
442
|
}
|
|
443
|
-
i /= 1.15,
|
|
443
|
+
i /= 1.15, Bn(e, i), zn.value[e] = requestAnimationFrame(o);
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
o();
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function Wn() {
|
|
450
450
|
G.value = An.value;
|
|
451
|
-
let e =
|
|
451
|
+
let e = Y.value.length > 0;
|
|
452
452
|
if (!j.value.useAnimation) {
|
|
453
|
-
e ?
|
|
453
|
+
e ? Y.value = [] : Y.value = Xn.value.map((e) => e.uid);
|
|
454
454
|
return;
|
|
455
455
|
}
|
|
456
|
-
e ? [...
|
|
457
|
-
|
|
458
|
-
}) :
|
|
459
|
-
|
|
456
|
+
e ? [...Y.value].forEach((e) => {
|
|
457
|
+
Gn(e, !0);
|
|
458
|
+
}) : Xn.value.map((e) => e.uid).forEach((e) => {
|
|
459
|
+
Gn(e, !0);
|
|
460
460
|
});
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function Gn(e, t = !1) {
|
|
463
463
|
if (On.value && !t) return;
|
|
464
|
-
let n = t ||
|
|
464
|
+
let n = t || Y.value.length < Xn.value.length - 1 && Xn.value.length > 1;
|
|
465
465
|
if (!j.value.useAnimation) {
|
|
466
|
-
|
|
466
|
+
Y.value.includes(e) ? Y.value = Y.value.filter((t) => t !== e) : n && Y.value.push(e);
|
|
467
467
|
return;
|
|
468
468
|
}
|
|
469
|
-
let r =
|
|
469
|
+
let r = Vn(e, An.value), i = Vn(e, G.value);
|
|
470
470
|
if (i !== 0 || r !== 0) {
|
|
471
|
-
if (
|
|
472
|
-
if (
|
|
473
|
-
|
|
471
|
+
if (Y.value.includes(e)) {
|
|
472
|
+
if (Y.value = Y.value.filter((t) => t !== e), Lt.value) {
|
|
473
|
+
Hn(e), Bn(e, r), ar("selectLegend", K.value.map((e) => ({
|
|
474
474
|
name: e.name,
|
|
475
475
|
color: e.color,
|
|
476
476
|
value: e.value,
|
|
@@ -478,13 +478,13 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
478
478
|
})));
|
|
479
479
|
return;
|
|
480
480
|
}
|
|
481
|
-
|
|
481
|
+
Un({
|
|
482
482
|
seriesId: e,
|
|
483
483
|
fromValue: i,
|
|
484
484
|
toValue: r,
|
|
485
485
|
mode: "increase"
|
|
486
486
|
}).then(() => {
|
|
487
|
-
ar("selectLegend",
|
|
487
|
+
ar("selectLegend", K.value.map((e) => ({
|
|
488
488
|
name: e.name,
|
|
489
489
|
color: e.color,
|
|
490
490
|
value: e.value,
|
|
@@ -495,7 +495,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
495
495
|
}
|
|
496
496
|
if (n) {
|
|
497
497
|
if (Lt.value) {
|
|
498
|
-
|
|
498
|
+
Hn(e), Y.value.includes(e) || Y.value.push(e), Bn(e, 0), ar("selectLegend", K.value.map((e) => ({
|
|
499
499
|
name: e.name,
|
|
500
500
|
color: e.color,
|
|
501
501
|
value: e.value,
|
|
@@ -503,13 +503,13 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
503
503
|
})));
|
|
504
504
|
return;
|
|
505
505
|
}
|
|
506
|
-
|
|
506
|
+
Un({
|
|
507
507
|
seriesId: e,
|
|
508
508
|
fromValue: i,
|
|
509
509
|
toValue: 0,
|
|
510
510
|
mode: "decrease"
|
|
511
511
|
}).then(() => {
|
|
512
|
-
|
|
512
|
+
Y.value.includes(e) || Y.value.push(e), Bn(e, 0), ar("selectLegend", K.value.map((e) => ({
|
|
513
513
|
name: e.name,
|
|
514
514
|
color: e.color,
|
|
515
515
|
value: e.value,
|
|
@@ -519,19 +519,19 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
+
function Kn(e) {
|
|
523
|
+
return Pn.value.length ? Pn.value.find((t) => t.name === e) || (_n.value && console.warn(`VueUiWaffle - Series name not found "${e}"`), null) : (_n.value && console.warn("VueUiWaffle - There are no series to show."), null);
|
|
524
|
+
}
|
|
522
525
|
function qn(e) {
|
|
523
|
-
|
|
526
|
+
let t = Kn(e);
|
|
527
|
+
t !== null && Y.value.includes(t.uid) && Gn(t.uid);
|
|
524
528
|
}
|
|
525
529
|
function Jn(e) {
|
|
526
|
-
let t =
|
|
527
|
-
t !== null &&
|
|
528
|
-
}
|
|
529
|
-
function Yn(e) {
|
|
530
|
-
let t = qn(e);
|
|
531
|
-
t !== null && (J.value.includes(t.uid) || Kn(t.uid));
|
|
530
|
+
let t = Kn(e);
|
|
531
|
+
t !== null && (Y.value.includes(t.uid) || Gn(t.uid));
|
|
532
532
|
}
|
|
533
|
-
function
|
|
534
|
-
return
|
|
533
|
+
function Yn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
|
|
534
|
+
return Pe({
|
|
535
535
|
config: i,
|
|
536
536
|
val: e,
|
|
537
537
|
percentage: t,
|
|
@@ -539,18 +539,18 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
539
539
|
showPercentage: r
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
let
|
|
542
|
+
let Xn = u(() => G.value.map((e, t) => {
|
|
543
543
|
let n = (e.values || []).reduce((e, t) => e + t, 0), r = n / G.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
|
|
544
544
|
return {
|
|
545
545
|
name: e.name,
|
|
546
|
-
color: e.color || wn[t] ||
|
|
546
|
+
color: e.color || wn[t] || i[t] || i[t % i.length],
|
|
547
547
|
value: n,
|
|
548
548
|
proportion: r,
|
|
549
549
|
uid: e.uid,
|
|
550
550
|
shape: "square"
|
|
551
551
|
};
|
|
552
552
|
}).map((e, n) => {
|
|
553
|
-
let r =
|
|
553
|
+
let r = Yn({
|
|
554
554
|
val: re(L.value.labels.dataLabels.formatter, e.value, t({
|
|
555
555
|
p: L.value.labels.dataLabels.prefix,
|
|
556
556
|
v: e.value,
|
|
@@ -571,21 +571,21 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
571
571
|
});
|
|
572
572
|
return {
|
|
573
573
|
...e,
|
|
574
|
-
opacity:
|
|
575
|
-
segregate: () =>
|
|
576
|
-
isSegregated:
|
|
574
|
+
opacity: Y.value.includes(e.uid) ? .5 : 1,
|
|
575
|
+
segregate: () => Gn(e.uid),
|
|
576
|
+
isSegregated: Y.value.includes(e.uid),
|
|
577
577
|
display: `${e.name}${P.value.showPercentage || P.value.showValue ? ": " : ""}${r}`
|
|
578
578
|
};
|
|
579
|
-
})), Zn =
|
|
579
|
+
})), Zn = u(() => ({
|
|
580
580
|
cy: "waffle-div-legend",
|
|
581
581
|
backgroundColor: P.value.backgroundColor,
|
|
582
582
|
color: P.value.color,
|
|
583
583
|
fontSize: P.value.fontSize,
|
|
584
584
|
paddingBottom: 12,
|
|
585
585
|
fontWeight: P.value.bold ? "bold" : ""
|
|
586
|
-
})), Z =
|
|
586
|
+
})), Z = u(() => K.value.map((e) => e.value).reduce((e, t) => e + t, 0)), Qn = x(null), $n = x(null), Q = u(() => {
|
|
587
587
|
let e = /* @__PURE__ */ new Map();
|
|
588
|
-
return
|
|
588
|
+
return q.value.forEach((t, n) => {
|
|
589
589
|
e.has(t.serieIndex) ? e.get(t.serieIndex).rectIndexes.push(n) : e.set(t.serieIndex, {
|
|
590
590
|
serieIndex: t.serieIndex,
|
|
591
591
|
absoluteIndex: t.absoluteIndex,
|
|
@@ -606,74 +606,74 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
606
606
|
return !t || !t.rectIndexes.length ? null : t.rectIndexes[0];
|
|
607
607
|
}
|
|
608
608
|
function nr(e) {
|
|
609
|
-
let t =
|
|
609
|
+
let t = q.value[e];
|
|
610
610
|
j.value.events.datapointClick && j.value.events.datapointClick({
|
|
611
611
|
datapoint: t,
|
|
612
612
|
seriesIndex: t.serieIndex
|
|
613
613
|
});
|
|
614
614
|
}
|
|
615
615
|
function rr(e) {
|
|
616
|
-
let t =
|
|
616
|
+
let t = q.value[e];
|
|
617
617
|
j.value.events.datapointLeave && j.value.events.datapointLeave({
|
|
618
618
|
datapoint: t,
|
|
619
619
|
seriesIndex: t.serieIndex
|
|
620
620
|
}), $n.value = null, Bt.value = !1, O.value = null, A.value = null, en.value = "pointer";
|
|
621
621
|
}
|
|
622
622
|
function ir(e, n = "pointer") {
|
|
623
|
-
if (
|
|
624
|
-
let
|
|
625
|
-
if (!
|
|
626
|
-
en.value = n, A.value =
|
|
627
|
-
datapoint:
|
|
628
|
-
seriesIndex:
|
|
623
|
+
if (Y.value.length === E.dataset.length) return;
|
|
624
|
+
let i = q.value[e];
|
|
625
|
+
if (!i) return;
|
|
626
|
+
en.value = n, A.value = i.serieIndex, Qn.value = {
|
|
627
|
+
datapoint: i,
|
|
628
|
+
seriesIndex: i.absoluteIndex,
|
|
629
629
|
series: G.value,
|
|
630
630
|
config: j.value
|
|
631
|
-
}, j.value.events.datapointEnter && $n.value !==
|
|
632
|
-
datapoint:
|
|
633
|
-
seriesIndex:
|
|
634
|
-
}), $n.value =
|
|
631
|
+
}, j.value.events.datapointEnter && $n.value !== i.serieIndex && j.value.events.datapointEnter({
|
|
632
|
+
datapoint: i,
|
|
633
|
+
seriesIndex: i.serieIndex
|
|
634
|
+
}), $n.value = i.serieIndex, Bt.value = !0, O.value = i.serieIndex;
|
|
635
635
|
let a = N.value.customFormat;
|
|
636
|
-
if (
|
|
637
|
-
seriesIndex:
|
|
638
|
-
datapoint:
|
|
636
|
+
if (r(a) && se(() => a({
|
|
637
|
+
seriesIndex: i.absoluteIndex,
|
|
638
|
+
datapoint: i,
|
|
639
639
|
series: G.value,
|
|
640
640
|
config: j.value
|
|
641
641
|
}))) Vt.value = a({
|
|
642
|
-
seriesIndex:
|
|
643
|
-
datapoint:
|
|
642
|
+
seriesIndex: i.absoluteIndex,
|
|
643
|
+
datapoint: i,
|
|
644
644
|
series: G.value,
|
|
645
645
|
config: j.value
|
|
646
646
|
});
|
|
647
647
|
else {
|
|
648
648
|
let e = "";
|
|
649
|
-
e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${N.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${
|
|
649
|
+
e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${N.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${i.name}</div>`, e += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${i.color}" />${Rt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${D.value}_${i.absoluteIndex})"/>` : ""}</svg>`, e += `<b>${Yn({
|
|
650
650
|
config: N.value,
|
|
651
651
|
showVal: N.value.showValue,
|
|
652
652
|
showPercentage: N.value.showPercentage,
|
|
653
|
-
val: `<span>${re(L.value.labels.dataLabels.formatter,
|
|
653
|
+
val: `<span>${re(L.value.labels.dataLabels.formatter, i.value, t({
|
|
654
654
|
p: L.value.labels.dataLabels.prefix,
|
|
655
|
-
v:
|
|
655
|
+
v: i.value,
|
|
656
656
|
s: L.value.labels.dataLabels.suffix,
|
|
657
657
|
r: N.value.roundingValue
|
|
658
658
|
}), {
|
|
659
|
-
datapoint:
|
|
660
|
-
seriesIndex:
|
|
659
|
+
datapoint: i,
|
|
660
|
+
seriesIndex: i.absoluteIndex,
|
|
661
661
|
series: G.value
|
|
662
662
|
})}</span>`,
|
|
663
663
|
percentage: `<span>${t({
|
|
664
|
-
v: On.value ? 1 / sn.value.length * 100 :
|
|
664
|
+
v: On.value ? 1 / sn.value.length * 100 : i.value / Z.value * 100,
|
|
665
665
|
s: "%",
|
|
666
666
|
r: N.value.roundingPercentage
|
|
667
667
|
})}</span>`
|
|
668
668
|
})}</b></div>`, Vt.value = e;
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
|
-
let ar = Qe, $ =
|
|
672
|
-
head:
|
|
671
|
+
let ar = Qe, $ = u(() => ({
|
|
672
|
+
head: K.value.map((e) => ({
|
|
673
673
|
name: e.name,
|
|
674
674
|
color: e.color
|
|
675
675
|
})),
|
|
676
|
-
body:
|
|
676
|
+
body: K.value.map((e) => e.value)
|
|
677
677
|
}));
|
|
678
678
|
function or(e) {
|
|
679
679
|
return j.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== e ? `url(#blur_${D.value})` : "";
|
|
@@ -702,8 +702,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
702
702
|
for (r.add(a); s.length;) {
|
|
703
703
|
let e = s.shift();
|
|
704
704
|
o.push(e), i.forEach(([n, i]) => {
|
|
705
|
-
let a = e.row + n, o = e.col + i,
|
|
706
|
-
t.has(
|
|
705
|
+
let a = e.row + n, o = e.col + i, ee = `${a}:${o}`;
|
|
706
|
+
t.has(ee) && !r.has(ee) && (r.add(ee), s.push({
|
|
707
707
|
row: a,
|
|
708
708
|
col: o
|
|
709
709
|
}));
|
|
@@ -758,20 +758,20 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
758
758
|
let t = o(e.start);
|
|
759
759
|
r.has(t) || r.set(t, []), r.get(t).push(e);
|
|
760
760
|
}); s.size;) {
|
|
761
|
-
let e = s.values().next().value, t = n.find((t) => i(t) === e),
|
|
762
|
-
for (;
|
|
763
|
-
s.delete(i(
|
|
764
|
-
let e =
|
|
765
|
-
if (o(e) === o(
|
|
766
|
-
|
|
761
|
+
let e = s.values().next().value, t = n.find((t) => i(t) === e), ee = t.start, c = [ee], te = t;
|
|
762
|
+
for (; te;) {
|
|
763
|
+
s.delete(i(te));
|
|
764
|
+
let e = te.end;
|
|
765
|
+
if (o(e) === o(ee)) break;
|
|
766
|
+
c.push(e), te = (r.get(o(e)) || []).find((e) => s.has(i(e)));
|
|
767
767
|
}
|
|
768
|
-
|
|
768
|
+
c.length >= 4 && a.push(cr(c));
|
|
769
769
|
}
|
|
770
770
|
}), a;
|
|
771
771
|
}
|
|
772
772
|
function ur(e) {
|
|
773
773
|
let t = I.value.size, n = I.value.vertical, r = [];
|
|
774
|
-
return
|
|
774
|
+
return q.value.forEach((i, a) => {
|
|
775
775
|
if (i.serieIndex !== e) return;
|
|
776
776
|
let o = Math.floor(a / t), s = a % t;
|
|
777
777
|
r.push({
|
|
@@ -797,10 +797,10 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
797
797
|
return `M ${t.x} ${t.y} ${r} Z`;
|
|
798
798
|
}).filter(Boolean).join(" ");
|
|
799
799
|
}
|
|
800
|
-
let mr =
|
|
800
|
+
let mr = u(() => !F.value.selection?.wrap?.show || [null, void 0].includes(O.value) ? [] : dr(O.value).map(fr)), hr = u(() => {
|
|
801
801
|
if (!F.value.merged) return [];
|
|
802
802
|
let e = /* @__PURE__ */ new Map();
|
|
803
|
-
return
|
|
803
|
+
return q.value.forEach((t, n) => {
|
|
804
804
|
e.has(t.serieIndex) || e.set(t.serieIndex, {
|
|
805
805
|
serieIndex: t.serieIndex,
|
|
806
806
|
absoluteIndex: t.absoluteIndex,
|
|
@@ -814,26 +814,26 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
814
814
|
})).filter((e) => e.d);
|
|
815
815
|
});
|
|
816
816
|
function gr(e, t) {
|
|
817
|
-
return L.value.labels.captions.show ?
|
|
817
|
+
return L.value.labels.captions.show ? q.value.length && !Ln.value && !I.value.vertical && (q.value[e].isFirst && t.position < I.value.size - 2 || q.value[e].isAbsoluteFirst && e % I.value.size === 0 && q.value[e].absoluteStartIndex) : !1;
|
|
818
818
|
}
|
|
819
819
|
function _r(e, n = null) {
|
|
820
|
-
let r = re(L.value.labels.dataLabels.formatter,
|
|
820
|
+
let r = re(L.value.labels.dataLabels.formatter, q.value[e].value, t({
|
|
821
821
|
p: L.value.labels.dataLabels.prefix,
|
|
822
|
-
v:
|
|
822
|
+
v: q.value[e].value,
|
|
823
823
|
s: L.value.labels.dataLabels.suffix,
|
|
824
824
|
r: L.value.labels.captions.roundingValue
|
|
825
825
|
}), {
|
|
826
|
-
datapoint:
|
|
826
|
+
datapoint: q.value[e],
|
|
827
827
|
position: n
|
|
828
828
|
}), i = t({
|
|
829
|
-
v:
|
|
829
|
+
v: q.value[e].proportion * 100,
|
|
830
830
|
s: "%",
|
|
831
831
|
r: L.value.labels.captions.roundingPercentage
|
|
832
832
|
}), a = (L.value.labels.captions.serieNameAbbreviation ? ie({
|
|
833
|
-
source:
|
|
833
|
+
source: q.value[e].name,
|
|
834
834
|
length: L.value.labels.captions.serieNameMaxAbbreviationSize
|
|
835
|
-
}) :
|
|
836
|
-
return `${L.value.labels.captions.showSerieName ? a : ""} ${
|
|
835
|
+
}) : q.value[e].name) + (L.value.labels.captions.showPercentage || L.value.labels.captions.showValue ? ":" : "");
|
|
836
|
+
return `${L.value.labels.captions.showSerieName ? a : ""} ${Yn({
|
|
837
837
|
val: r,
|
|
838
838
|
percentage: i,
|
|
839
839
|
showVal: L.value.labels.captions.showValue,
|
|
@@ -847,7 +847,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
847
847
|
[e.name],
|
|
848
848
|
[$.value.body[t]],
|
|
849
849
|
[isNaN($.value.body[t] / Z.value) ? "-" : $.value.body[t] / Z.value * 100]
|
|
850
|
-
]),
|
|
850
|
+
]), r = [
|
|
851
851
|
[R.value.title.text],
|
|
852
852
|
[R.value.title.subtitle.text],
|
|
853
853
|
[
|
|
@@ -855,14 +855,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
855
855
|
["val"],
|
|
856
856
|
["%"]
|
|
857
857
|
]
|
|
858
|
-
].concat(t), i = r
|
|
859
|
-
e ? e(i) :
|
|
858
|
+
].concat(t), i = n(r);
|
|
859
|
+
e ? e(i) : oe({
|
|
860
860
|
csvContent: i,
|
|
861
861
|
title: R.value.title.text || "vue-ui-waffle"
|
|
862
862
|
});
|
|
863
863
|
});
|
|
864
864
|
}
|
|
865
|
-
let yr =
|
|
865
|
+
let yr = u(() => ({
|
|
866
866
|
head: [
|
|
867
867
|
"__SUM__",
|
|
868
868
|
re(L.value.labels.dataLabels.formatter, Z.value, t({
|
|
@@ -925,7 +925,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
925
925
|
}
|
|
926
926
|
async function Er({ scale: e = 2 } = {}) {
|
|
927
927
|
if (!k.value) return;
|
|
928
|
-
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
928
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
|
|
929
929
|
domElement: k.value,
|
|
930
930
|
base64: !0,
|
|
931
931
|
img: !0,
|
|
@@ -940,7 +940,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
940
940
|
aspectRatio: r
|
|
941
941
|
};
|
|
942
942
|
}
|
|
943
|
-
let Dr =
|
|
943
|
+
let Dr = u(() => {
|
|
944
944
|
let e = j.value.table.useDialog && !j.value.table.show, t = B.value.showTable;
|
|
945
945
|
return {
|
|
946
946
|
component: e ? Nt : kt,
|
|
@@ -977,10 +977,10 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
977
977
|
function Or() {
|
|
978
978
|
B.value.showTable = !1, Qt.value && Qt.value.setTableIconState(!1);
|
|
979
979
|
}
|
|
980
|
-
let kr =
|
|
980
|
+
let kr = u(() => Xn.value.map((e) => ({
|
|
981
981
|
...e,
|
|
982
982
|
name: e.display
|
|
983
|
-
}))), Ar =
|
|
983
|
+
}))), Ar = u(() => R.value.backgroundColor), jr = u(() => R.value.title), { isCallbackImaging: Mr, isCallbackSvg: Nr, generateSvg: Pr, onGenerateImage: Fr } = xe({
|
|
984
984
|
svg: fn,
|
|
985
985
|
title: jr,
|
|
986
986
|
legend: P,
|
|
@@ -992,14 +992,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
992
992
|
async function Ir() {
|
|
993
993
|
if (ar("copyAlt", {
|
|
994
994
|
config: j.value,
|
|
995
|
-
dataset:
|
|
995
|
+
dataset: Pn.value
|
|
996
996
|
}), !j.value.userOptions.callbacks.altCopy) {
|
|
997
997
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
998
998
|
return;
|
|
999
999
|
}
|
|
1000
1000
|
await Promise.resolve(j.value.userOptions.callbacks.altCopy({
|
|
1001
1001
|
config: j.value,
|
|
1002
|
-
dataset:
|
|
1002
|
+
dataset: Pn.value
|
|
1003
1003
|
}));
|
|
1004
1004
|
}
|
|
1005
1005
|
function Lr() {
|
|
@@ -1009,7 +1009,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1009
1009
|
A.value = null, en.value = "pointer", Bt.value = !1, O.value = null, $n.value = null, tn.value = !1;
|
|
1010
1010
|
}
|
|
1011
1011
|
function zr(e) {
|
|
1012
|
-
if (!fn.value || wr.value || document.activeElement !== fn.value || !Q.value.length ||
|
|
1012
|
+
if (!fn.value || wr.value || document.activeElement !== fn.value || !Q.value.length || Y.value.length === E.dataset.length) return;
|
|
1013
1013
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1014
1014
|
if (!t && !n && !r && !i) return;
|
|
1015
1015
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -1033,38 +1033,38 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1033
1033
|
let t = er(e);
|
|
1034
1034
|
if (!t || !t.rectIndexes.length) return;
|
|
1035
1035
|
let n = t.rectIndexes.map((e) => {
|
|
1036
|
-
let t =
|
|
1036
|
+
let t = J.value[e];
|
|
1037
1037
|
return t ? {
|
|
1038
1038
|
x: t.x + I.value.spaceBetween / 2 + Tn.value / 2,
|
|
1039
1039
|
y: t.y + I.value.spaceBetween / 2 + En.value / 2
|
|
1040
1040
|
} : null;
|
|
1041
1041
|
}).filter(Boolean);
|
|
1042
1042
|
if (!n.length) return;
|
|
1043
|
-
let r = Math.min(...n.map((e) => e.x)), i = Math.max(...n.map((e) => e.x)), a = Math.min(...n.map((e) => e.y)), o = Math.max(...n.map((e) => e.y)), s = (r + i) / 2,
|
|
1043
|
+
let r = Math.min(...n.map((e) => e.x)), i = Math.max(...n.map((e) => e.x)), a = Math.min(...n.map((e) => e.y)), o = Math.max(...n.map((e) => e.y)), s = (r + i) / 2, ee = (a + o) / 2, c = fn.value.getBoundingClientRect();
|
|
1044
1044
|
$t.value = {
|
|
1045
|
-
x:
|
|
1046
|
-
y:
|
|
1045
|
+
x: c.left + s / V.value.width * c.width,
|
|
1046
|
+
y: c.top + ee / V.value.height * c.height
|
|
1047
1047
|
};
|
|
1048
1048
|
}
|
|
1049
|
-
let Vr =
|
|
1049
|
+
let Vr = u(() => ({
|
|
1050
1050
|
headers: yr.value?.colNames ?? [],
|
|
1051
1051
|
rows: yr.value?.body ?? []
|
|
1052
1052
|
}));
|
|
1053
|
-
return
|
|
1054
|
-
getData:
|
|
1053
|
+
return Ee({
|
|
1054
|
+
getData: Fn,
|
|
1055
1055
|
getImage: Er,
|
|
1056
1056
|
generatePdf: xn,
|
|
1057
1057
|
generateCsv: vr,
|
|
1058
1058
|
generateImage: Sn,
|
|
1059
1059
|
generateSvg: Pr,
|
|
1060
|
-
hideSeries:
|
|
1061
|
-
showSeries:
|
|
1060
|
+
hideSeries: Jn,
|
|
1061
|
+
showSeries: qn,
|
|
1062
1062
|
toggleTable: Sr,
|
|
1063
1063
|
toggleTooltip: Cr,
|
|
1064
1064
|
toggleAnnotator: Tr,
|
|
1065
1065
|
toggleFullscreen: xr,
|
|
1066
1066
|
copyAlt: Ir
|
|
1067
|
-
}), (e, t) => (b(),
|
|
1067
|
+
}), (e, t) => (b(), p("div", {
|
|
1068
1068
|
class: _(`vue-data-ui-component vue-ui-waffle ${br.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
1069
1069
|
ref_key: "waffleChart",
|
|
1070
1070
|
ref: k,
|
|
@@ -1073,11 +1073,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1073
1073
|
onMouseenter: t[2] ||= () => w(un)(!0),
|
|
1074
1074
|
onMouseleave: t[3] ||= () => w(un)(!1)
|
|
1075
1075
|
}, [
|
|
1076
|
-
|
|
1076
|
+
m("div", {
|
|
1077
1077
|
id: `chart-instructions-${D.value}`,
|
|
1078
1078
|
class: "sr-only"
|
|
1079
|
-
}, [
|
|
1080
|
-
Vr.value?.rows?.length ? (b(),
|
|
1079
|
+
}, [m("p", null, Je(j.value.a11y.translations.keyboardNavigation), 1)], 8, et),
|
|
1080
|
+
Vr.value?.rows?.length ? (b(), d(je, {
|
|
1081
1081
|
key: 0,
|
|
1082
1082
|
uid: D.value,
|
|
1083
1083
|
head: Vr.value.headers,
|
|
@@ -1090,8 +1090,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1090
1090
|
"body",
|
|
1091
1091
|
"notice",
|
|
1092
1092
|
"caption"
|
|
1093
|
-
])) :
|
|
1094
|
-
M.value.buttons.annotator ? (b(),
|
|
1093
|
+
])) : f("", !0),
|
|
1094
|
+
M.value.buttons.annotator ? (b(), d(w(jt), {
|
|
1095
1095
|
key: 1,
|
|
1096
1096
|
svgRef: w(fn),
|
|
1097
1097
|
backgroundColor: R.value.backgroundColor,
|
|
@@ -1115,20 +1115,20 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1115
1115
|
"active",
|
|
1116
1116
|
"isCursorPointer",
|
|
1117
1117
|
"palette"
|
|
1118
|
-
])) :
|
|
1119
|
-
Cn.value ? (b(),
|
|
1118
|
+
])) : f("", !0),
|
|
1119
|
+
Cn.value ? (b(), p("div", {
|
|
1120
1120
|
key: 2,
|
|
1121
1121
|
ref_key: "noTitle",
|
|
1122
1122
|
ref: Kt,
|
|
1123
1123
|
class: "vue-data-ui-no-title-space",
|
|
1124
1124
|
style: "height:36px; width: 100%;background:transparent"
|
|
1125
|
-
}, null, 512)) :
|
|
1126
|
-
R.value.title.text ? (b(),
|
|
1125
|
+
}, null, 512)) : f("", !0),
|
|
1126
|
+
R.value.title.text ? (b(), p("div", {
|
|
1127
1127
|
key: 3,
|
|
1128
1128
|
ref_key: "chartTitle",
|
|
1129
1129
|
ref: Ut,
|
|
1130
1130
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1131
|
-
}, [(b(),
|
|
1131
|
+
}, [(b(), d(we, {
|
|
1132
1132
|
key: `title_${qt.value}`,
|
|
1133
1133
|
config: {
|
|
1134
1134
|
title: {
|
|
@@ -1140,9 +1140,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1140
1140
|
...R.value.title.subtitle
|
|
1141
1141
|
}
|
|
1142
1142
|
}
|
|
1143
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1144
|
-
|
|
1145
|
-
M.value.show && zt.value && (w(dn) || w(ln)) ? (b(),
|
|
1143
|
+
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
1144
|
+
m("div", { id: `legend-top-${D.value}` }, null, 8, tt),
|
|
1145
|
+
M.value.show && zt.value && (w(dn) || w(ln)) ? (b(), d(w(At), {
|
|
1146
1146
|
ref_key: "userOptionsRef",
|
|
1147
1147
|
ref: Qt,
|
|
1148
1148
|
key: `user_options_${Ht.value}`,
|
|
@@ -1180,7 +1180,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1180
1180
|
onToggleAnnotator: Tr,
|
|
1181
1181
|
onCopyAlt: Ir,
|
|
1182
1182
|
style: y({ visibility: w(dn) ? w(ln) ? "visible" : "hidden" : "visible" })
|
|
1183
|
-
},
|
|
1183
|
+
}, ze({ _: 2 }, [
|
|
1184
1184
|
e.$slots.menuIcon ? {
|
|
1185
1185
|
name: "menuIcon",
|
|
1186
1186
|
fn: T(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
|
|
@@ -1250,11 +1250,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1250
1250
|
fn: T(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1251
1251
|
key: "11"
|
|
1252
1252
|
} : void 0
|
|
1253
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
1254
|
-
|
|
1253
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : f("", !0),
|
|
1254
|
+
m("div", nt, [(b(), p("svg", {
|
|
1255
1255
|
ref_key: "svgRef",
|
|
1256
1256
|
ref: fn,
|
|
1257
|
-
xmlns: w(
|
|
1257
|
+
xmlns: w(le),
|
|
1258
1258
|
"aria-describedby": `chart-instructions-${D.value}`,
|
|
1259
1259
|
class: _({
|
|
1260
1260
|
"vue-data-ui-fullscreen--on": br.value,
|
|
@@ -1268,8 +1268,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1268
1268
|
onBlur: Rr,
|
|
1269
1269
|
onKeydown: zr
|
|
1270
1270
|
}, [
|
|
1271
|
-
|
|
1272
|
-
|
|
1271
|
+
Ve(w(Mt)),
|
|
1272
|
+
m("defs", null, [(b(!0), p(l, null, S(q.value, (e, t) => (b(), d(ke, {
|
|
1273
1273
|
t: "radial",
|
|
1274
1274
|
cx: "50%",
|
|
1275
1275
|
cy: "50%",
|
|
@@ -1280,7 +1280,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1280
1280
|
key: `gradient_${D.value}_${t}`,
|
|
1281
1281
|
stops: [[
|
|
1282
1282
|
"0%",
|
|
1283
|
-
w(
|
|
1283
|
+
w(a)(w(ee)(e.color, .05), 100 - F.value.gradientIntensity),
|
|
1284
1284
|
1
|
|
1285
1285
|
], [
|
|
1286
1286
|
"100%",
|
|
@@ -1288,20 +1288,20 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1288
1288
|
1
|
|
1289
1289
|
]]
|
|
1290
1290
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1291
|
-
|
|
1291
|
+
m("defs", null, [m("filter", {
|
|
1292
1292
|
id: `blur_${D.value}`,
|
|
1293
1293
|
x: "-50%",
|
|
1294
1294
|
y: "-50%",
|
|
1295
1295
|
width: "200%",
|
|
1296
1296
|
height: "200%"
|
|
1297
|
-
}, [...t[4] ||= [
|
|
1297
|
+
}, [...t[4] ||= [m("feGaussianBlur", {
|
|
1298
1298
|
in: "SourceGraphic",
|
|
1299
1299
|
stdDeviation: 2
|
|
1300
|
-
}, null, -1),
|
|
1300
|
+
}, null, -1), m("feColorMatrix", {
|
|
1301
1301
|
type: "saturate",
|
|
1302
1302
|
values: "0"
|
|
1303
1303
|
}, null, -1)]], 8, it)]),
|
|
1304
|
-
j.value.useCustomCells &&
|
|
1304
|
+
j.value.useCustomCells && q.value.length && e.$slots.cell ? (b(!0), p(l, { key: 0 }, S(J.value, (t, n) => (b(), p("foreignObject", {
|
|
1305
1305
|
x: t.x,
|
|
1306
1306
|
y: t.y,
|
|
1307
1307
|
height: W.value <= 0 ? 1e-4 : W.value,
|
|
@@ -1310,14 +1310,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1310
1310
|
}, [C(e.$slots, "cell", He({ ref_for: !0 }, {
|
|
1311
1311
|
cell: {
|
|
1312
1312
|
...t,
|
|
1313
|
-
color:
|
|
1313
|
+
color: q.value[n].color,
|
|
1314
1314
|
height: Math.max(0, W.value),
|
|
1315
1315
|
width: Math.max(0, U.value),
|
|
1316
|
-
...
|
|
1316
|
+
...q.value[n]
|
|
1317
1317
|
},
|
|
1318
|
-
isSelected: [null, void 0].includes(O.value) ? !0 :
|
|
1319
|
-
}), void 0, !0)], 8, at))), 256)) :
|
|
1320
|
-
!
|
|
1318
|
+
isSelected: [null, void 0].includes(O.value) ? !0 : q.value[n].serieIndex === O.value
|
|
1319
|
+
}), void 0, !0)], 8, at))), 256)) : f("", !0),
|
|
1320
|
+
!q.value.length && !j.value.useCustomCells ? (b(), p("rect", {
|
|
1321
1321
|
key: 1,
|
|
1322
1322
|
x: 12,
|
|
1323
1323
|
y: 12,
|
|
@@ -1326,11 +1326,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1326
1326
|
rx: 3,
|
|
1327
1327
|
fill: "none",
|
|
1328
1328
|
stroke: "black"
|
|
1329
|
-
}, null, 8, ot)) :
|
|
1329
|
+
}, null, 8, ot)) : q.value.length && !j.value.useCustomCells ? (b(), p(l, { key: 2 }, [e.$slots.pattern ? (b(), p("g", st, [(b(!0), p(l, null, S(An.value, (t) => (b(), p("defs", null, [C(e.$slots, "pattern", He({ ref_for: !0 }, {
|
|
1330
1330
|
seriesIndex: t.absoluteIndex,
|
|
1331
1331
|
patternId: `pattern_${D.value}_${t.absoluteIndex}`
|
|
1332
|
-
}), void 0, !0)]))), 256))])) :
|
|
1333
|
-
(b(!0),
|
|
1332
|
+
}), void 0, !0)]))), 256))])) : f("", !0), F.value.merged ? (b(), p(l, { key: 1 }, [
|
|
1333
|
+
(b(!0), p(l, null, S(hr.value, (e) => (b(), p("path", {
|
|
1334
1334
|
key: `merged-underlayer-${e.serieIndex}`,
|
|
1335
1335
|
d: e.d,
|
|
1336
1336
|
fill: "white",
|
|
@@ -1342,7 +1342,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1342
1342
|
style: y(sr(e.serieIndex)),
|
|
1343
1343
|
class: _({ "vue-data-ui-transition": w(nn) })
|
|
1344
1344
|
}, null, 14, ct))), 128)),
|
|
1345
|
-
(b(!0),
|
|
1345
|
+
(b(!0), p(l, null, S(hr.value, (e) => (b(), p("path", {
|
|
1346
1346
|
key: `merged-serie-${e.serieIndex}`,
|
|
1347
1347
|
d: e.d,
|
|
1348
1348
|
fill: F.value.useGradient && F.value.gradientIntensity > 0 ? `url(#gradient_${D.value}_${e.gradientIndex})` : e.color,
|
|
@@ -1354,7 +1354,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1354
1354
|
style: y(sr(e.serieIndex)),
|
|
1355
1355
|
class: _({ "vue-data-ui-transition": w(nn) })
|
|
1356
1356
|
}, null, 14, lt))), 128)),
|
|
1357
|
-
e.$slots.pattern ? (b(),
|
|
1357
|
+
e.$slots.pattern ? (b(), p("g", ut, [(b(!0), p(l, null, S(hr.value, (e) => (b(), p("path", {
|
|
1358
1358
|
key: `merged-pattern-${e.serieIndex}`,
|
|
1359
1359
|
d: e.d,
|
|
1360
1360
|
fill: `url(#pattern_${D.value}_${e.absoluteIndex})`,
|
|
@@ -1363,9 +1363,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1363
1363
|
filter: or(e.serieIndex),
|
|
1364
1364
|
style: y(sr(e.serieIndex)),
|
|
1365
1365
|
class: _({ "vue-data-ui-transition": w(nn) })
|
|
1366
|
-
}, null, 14, dt))), 128))])) :
|
|
1367
|
-
], 64)) : (b(),
|
|
1368
|
-
(b(!0),
|
|
1366
|
+
}, null, 14, dt))), 128))])) : f("", !0)
|
|
1367
|
+
], 64)) : (b(), p(l, { key: 2 }, [
|
|
1368
|
+
(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("rect", {
|
|
1369
1369
|
rx: F.value.rounded ? F.value.rounding : 0,
|
|
1370
1370
|
x: e.x + I.value.spaceBetween / 2,
|
|
1371
1371
|
y: e.y + I.value.spaceBetween / 2,
|
|
@@ -1374,47 +1374,47 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1374
1374
|
fill: "white",
|
|
1375
1375
|
stroke: F.value.stroke,
|
|
1376
1376
|
"stroke-width": F.value.strokeWidth,
|
|
1377
|
-
filter: or(
|
|
1378
|
-
style: y(sr(
|
|
1377
|
+
filter: or(q.value[t].serieIndex),
|
|
1378
|
+
style: y(sr(q.value[t].serieIndex)),
|
|
1379
1379
|
class: _({ "vue-data-ui-transition": w(nn) })
|
|
1380
1380
|
}, null, 14, ft))), 256)),
|
|
1381
|
-
(b(!0),
|
|
1381
|
+
(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("rect", {
|
|
1382
1382
|
rx: F.value.rounded ? F.value.rounding : 0,
|
|
1383
1383
|
x: e.x + I.value.spaceBetween / 2,
|
|
1384
1384
|
y: e.y + I.value.spaceBetween / 2,
|
|
1385
1385
|
height: W.value <= 0 ? 1e-4 : W.value,
|
|
1386
1386
|
width: U.value <= 0 ? 1e-4 : U.value,
|
|
1387
|
-
fill: F.value.useGradient && F.value.gradientIntensity > 0 ? `url(#gradient_${D.value}_${t})` :
|
|
1387
|
+
fill: F.value.useGradient && F.value.gradientIntensity > 0 ? `url(#gradient_${D.value}_${t})` : q.value[t].color,
|
|
1388
1388
|
stroke: F.value.stroke,
|
|
1389
1389
|
"stroke-width": F.value.strokeWidth,
|
|
1390
|
-
filter: or(
|
|
1391
|
-
style: y(sr(
|
|
1390
|
+
filter: or(q.value[t].serieIndex),
|
|
1391
|
+
style: y(sr(q.value[t].serieIndex)),
|
|
1392
1392
|
class: _({ "vue-data-ui-transition": w(nn) })
|
|
1393
1393
|
}, null, 14, pt))), 256)),
|
|
1394
|
-
e.$slots.pattern ? (b(),
|
|
1394
|
+
e.$slots.pattern ? (b(), p("g", mt, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("rect", {
|
|
1395
1395
|
rx: F.value.rounded ? F.value.rounding : 0,
|
|
1396
1396
|
x: e.x + I.value.spaceBetween / 2,
|
|
1397
1397
|
y: e.y + I.value.spaceBetween / 2,
|
|
1398
1398
|
height: W.value <= 0 ? 1e-4 : W.value,
|
|
1399
1399
|
width: U.value <= 0 ? 1e-4 : U.value,
|
|
1400
|
-
fill: `url(#pattern_${D.value}_${
|
|
1400
|
+
fill: `url(#pattern_${D.value}_${q.value[t].absoluteIndex})`,
|
|
1401
1401
|
stroke: "none",
|
|
1402
|
-
filter: or(
|
|
1403
|
-
style: y(sr(
|
|
1402
|
+
filter: or(q.value[t].serieIndex),
|
|
1403
|
+
style: y(sr(q.value[t].serieIndex)),
|
|
1404
1404
|
class: _({ "vue-data-ui-transition": w(nn) })
|
|
1405
|
-
}, null, 14, ht))), 256))])) :
|
|
1406
|
-
], 64))], 64)) :
|
|
1407
|
-
e.$slots.cellSvg ? (b(!0),
|
|
1405
|
+
}, null, 14, ht))), 256))])) : f("", !0)
|
|
1406
|
+
], 64))], 64)) : f("", !0),
|
|
1407
|
+
e.$slots.cellSvg ? (b(!0), p(l, { key: 3 }, S(J.value, (t, n) => (b(), p("g", null, [C(e.$slots, "cellSvg", He({ ref_for: !0 }, {
|
|
1408
1408
|
cell: {
|
|
1409
1409
|
...t,
|
|
1410
|
-
color:
|
|
1410
|
+
color: q.value[n].color,
|
|
1411
1411
|
height: Math.max(0, W.value),
|
|
1412
1412
|
width: Math.max(0, U.value),
|
|
1413
|
-
...
|
|
1413
|
+
...q.value[n]
|
|
1414
1414
|
},
|
|
1415
|
-
isSelected: [null, void 0].includes(O.value) ? !0 :
|
|
1416
|
-
}), void 0, !0)]))), 256)) :
|
|
1417
|
-
(b(!0),
|
|
1415
|
+
isSelected: [null, void 0].includes(O.value) ? !0 : q.value[n].serieIndex === O.value
|
|
1416
|
+
}), void 0, !0)]))), 256)) : f("", !0),
|
|
1417
|
+
(b(!0), p(l, null, S(mr.value, (e, t) => (b(), p("polygon", {
|
|
1418
1418
|
key: `selected-series-wrap-${t}`,
|
|
1419
1419
|
points: e,
|
|
1420
1420
|
fill: "none",
|
|
@@ -1423,17 +1423,17 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1423
1423
|
"stroke-linejoin": F.value.selection.wrap.strokeLinejoin,
|
|
1424
1424
|
"pointer-events": "none"
|
|
1425
1425
|
}, null, 8, gt))), 128)),
|
|
1426
|
-
(b(!0),
|
|
1426
|
+
(b(!0), p(l, null, S(J.value, (e, t) => (b(), p(l, null, [gr(t, e) ? (b(), p("text", {
|
|
1427
1427
|
key: `datalabel_${t}`,
|
|
1428
1428
|
textContent: Je(_r(t, e)),
|
|
1429
1429
|
x: e.x + L.value.labels.captions.offsetX + I.value.spaceBetween / 2 + 6,
|
|
1430
1430
|
y: e.y + L.value.labels.captions.offsetY + I.value.spaceBetween / 2 + En.value / 2 + L.value.labels.captions.fontSize / 3,
|
|
1431
1431
|
"font-size": L.value.labels.captions.fontSize,
|
|
1432
|
-
fill: w(
|
|
1433
|
-
filter: or(
|
|
1432
|
+
fill: w(ce)(q.value[t].color),
|
|
1433
|
+
filter: or(q.value[t].serieIndex),
|
|
1434
1434
|
class: _({ "vue-data-ui-transition": w(nn) })
|
|
1435
|
-
}, null, 10, _t)) :
|
|
1436
|
-
F.value.merged && !j.value.useCustomCells ? (b(!0),
|
|
1435
|
+
}, null, 10, _t)) : f("", !0)], 64))), 256)),
|
|
1436
|
+
F.value.merged && !j.value.useCustomCells ? (b(!0), p(l, { key: 4 }, S(hr.value, (e) => (b(), p("path", {
|
|
1437
1437
|
key: `tooltip-trap-${e.serieIndex}`,
|
|
1438
1438
|
d: e.d,
|
|
1439
1439
|
fill: "transparent",
|
|
@@ -1443,7 +1443,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1443
1443
|
onMouseover: (t) => ir(e.rectIndex),
|
|
1444
1444
|
onMouseleave: (t) => rr(e.rectIndex),
|
|
1445
1445
|
onClick: (t) => nr(e.rectIndex)
|
|
1446
|
-
}, null, 40, vt))), 128)) : (b(!0),
|
|
1446
|
+
}, null, 40, vt))), 128)) : (b(!0), p(l, { key: 5 }, S(J.value, (e, t) => (b(), p("rect", {
|
|
1447
1447
|
key: `tooltip-trap-${t}`,
|
|
1448
1448
|
x: e.x + I.value.spaceBetween / 2,
|
|
1449
1449
|
y: e.y + I.value.spaceBetween / 2,
|
|
@@ -1460,48 +1460,48 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1460
1460
|
isPrintingImg: w(yn) || w(bn) || w(Mr),
|
|
1461
1461
|
isPrintingSvg: w(Nr)
|
|
1462
1462
|
} }, void 0, !0)
|
|
1463
|
-
], 46, rt)), e.$slots.hint ? (b(),
|
|
1463
|
+
], 46, rt)), e.$slots.hint ? (b(), p("div", bt, [C(e.$slots, "hint", v(g({
|
|
1464
1464
|
hint: j.value.a11y.translations.keyboardNavigation,
|
|
1465
1465
|
isVisible: tn.value
|
|
1466
|
-
})), void 0, !0)])) :
|
|
1467
|
-
e.$slots.watermark ? (b(),
|
|
1468
|
-
|
|
1469
|
-
Xt.value && (P.value.show || e.$slots.legend) ? (b(),
|
|
1466
|
+
})), void 0, !0)])) : f("", !0)]),
|
|
1467
|
+
e.$slots.watermark ? (b(), p("div", xt, [C(e.$slots, "watermark", v(g({ isPrinting: w(yn) || w(bn) || w(Mr) || w(Nr) })), void 0, !0)])) : f("", !0),
|
|
1468
|
+
m("div", { id: `legend-bottom-${D.value}` }, null, 8, St),
|
|
1469
|
+
Xt.value && (P.value.show || e.$slots.legend) ? (b(), d(Re, {
|
|
1470
1470
|
key: 6,
|
|
1471
1471
|
to: P.value.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
|
|
1472
|
-
}, [
|
|
1472
|
+
}, [m("div", {
|
|
1473
1473
|
ref_key: "chartLegend",
|
|
1474
1474
|
ref: Wt
|
|
1475
|
-
}, [C(e.$slots, "legend", { legend:
|
|
1475
|
+
}, [C(e.$slots, "legend", { legend: Xn.value }, () => [P.value.show ? (b(), d(Fe, {
|
|
1476
1476
|
key: `legend_${Yt.value}`,
|
|
1477
|
-
legendSet:
|
|
1477
|
+
legendSet: Xn.value,
|
|
1478
1478
|
config: Zn.value,
|
|
1479
1479
|
isCursorPointer: rn.value,
|
|
1480
|
-
onClickMarker: t[0] ||= ({ legend: e }) =>
|
|
1481
|
-
},
|
|
1482
|
-
item: T(({ legend: e }) => [
|
|
1480
|
+
onClickMarker: t[0] ||= ({ legend: e }) => Gn(e.uid)
|
|
1481
|
+
}, ze({
|
|
1482
|
+
item: T(({ legend: e }) => [m("div", {
|
|
1483
1483
|
onClick: (t) => e.segregate(),
|
|
1484
|
-
style: y(`opacity:${
|
|
1484
|
+
style: y(`opacity:${Y.value.includes(e.uid) ? .5 : 1}`)
|
|
1485
1485
|
}, Je(e.display), 13, Ct)]),
|
|
1486
|
-
legendToggle: T(() => [
|
|
1486
|
+
legendToggle: T(() => [Xn.value.length > 2 && P.value.selectAllToggle.show && !w(on) ? (b(), d(Ae, {
|
|
1487
1487
|
key: 0,
|
|
1488
1488
|
backgroundColor: P.value.selectAllToggle.backgroundColor,
|
|
1489
1489
|
color: P.value.selectAllToggle.color,
|
|
1490
1490
|
fontSize: P.value.fontSize,
|
|
1491
|
-
checked:
|
|
1491
|
+
checked: Y.value.length > 0,
|
|
1492
1492
|
isCursorPointer: rn.value,
|
|
1493
|
-
onToggle:
|
|
1493
|
+
onToggle: Wn
|
|
1494
1494
|
}, null, 8, [
|
|
1495
1495
|
"backgroundColor",
|
|
1496
1496
|
"color",
|
|
1497
1497
|
"fontSize",
|
|
1498
1498
|
"checked",
|
|
1499
1499
|
"isCursorPointer"
|
|
1500
|
-
])) :
|
|
1500
|
+
])) : f("", !0)]),
|
|
1501
1501
|
_: 2
|
|
1502
1502
|
}, [e.$slots.pattern ? {
|
|
1503
1503
|
name: "legend-pattern",
|
|
1504
|
-
fn: T(({ legend: e, index: t }) => [
|
|
1504
|
+
fn: T(({ legend: e, index: t }) => [Ve(Te, {
|
|
1505
1505
|
shape: e.shape,
|
|
1506
1506
|
radius: 30,
|
|
1507
1507
|
stroke: "none",
|
|
@@ -1516,16 +1516,16 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1516
1516
|
"legendSet",
|
|
1517
1517
|
"config",
|
|
1518
1518
|
"isCursorPointer"
|
|
1519
|
-
])) :
|
|
1520
|
-
e.$slots.source ? (b(),
|
|
1519
|
+
])) : f("", !0)], !0)], 512)], 8, ["to"])) : f("", !0),
|
|
1520
|
+
e.$slots.source ? (b(), p("div", {
|
|
1521
1521
|
key: 7,
|
|
1522
1522
|
ref_key: "source",
|
|
1523
1523
|
ref: Gt,
|
|
1524
1524
|
dir: "auto"
|
|
1525
|
-
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) :
|
|
1526
|
-
|
|
1525
|
+
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1526
|
+
Ve(w(Et), {
|
|
1527
1527
|
teleportTo: N.value.teleportTo,
|
|
1528
|
-
show: B.value.showTooltip && Bt.value &&
|
|
1528
|
+
show: B.value.showTooltip && Bt.value && Y.value.length < E.dataset.length,
|
|
1529
1529
|
backgroundColor: N.value.backgroundColor,
|
|
1530
1530
|
color: N.value.color,
|
|
1531
1531
|
borderRadius: N.value.borderRadius,
|
|
@@ -1575,12 +1575,12 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1575
1575
|
"isA11yMode",
|
|
1576
1576
|
"a11yPosition"
|
|
1577
1577
|
]),
|
|
1578
|
-
zt.value && M.value.buttons.table ? (b(),
|
|
1578
|
+
zt.value && M.value.buttons.table ? (b(), d(Ke(Dr.value.component), He({ key: 8 }, Dr.value.props, {
|
|
1579
1579
|
ref_key: "tableUnit",
|
|
1580
1580
|
ref: Zt,
|
|
1581
1581
|
onClose: Or
|
|
1582
|
-
}),
|
|
1583
|
-
content: T(() => [(b(),
|
|
1582
|
+
}), ze({
|
|
1583
|
+
content: T(() => [(b(), d(w(Ot), {
|
|
1584
1584
|
key: `table_${Jt.value}`,
|
|
1585
1585
|
colNames: yr.value.colNames,
|
|
1586
1586
|
head: yr.value.head,
|
|
@@ -1591,12 +1591,12 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1591
1591
|
isCursorPointer: rn.value,
|
|
1592
1592
|
onClose: Or
|
|
1593
1593
|
}, {
|
|
1594
|
-
th: T(({ th: e }) => [e === "__SUM__" ? (b(),
|
|
1594
|
+
th: T(({ th: e }) => [e === "__SUM__" ? (b(), p("div", wt, [Ve(w(Dt), {
|
|
1595
1595
|
name: "sigma",
|
|
1596
1596
|
stroke: yr.value.config.th.color,
|
|
1597
1597
|
size: 16
|
|
1598
|
-
}, null, 8, ["stroke"])])) : (b(),
|
|
1599
|
-
td: T(({ td: e }) => [
|
|
1598
|
+
}, null, 8, ["stroke"])])) : (b(), p("div", Tt, Je(e), 1))]),
|
|
1599
|
+
td: T(({ td: e }) => [Be(Je(e.name || e), 1)]),
|
|
1600
1600
|
_: 1
|
|
1601
1601
|
}, 8, [
|
|
1602
1602
|
"colNames",
|
|
@@ -1610,22 +1610,22 @@ var Qe = /* @__PURE__ */ e({ default: () => Et }), $e = ["id"], et = ["id"], tt
|
|
|
1610
1610
|
_: 2
|
|
1611
1611
|
}, [j.value.table.useDialog ? {
|
|
1612
1612
|
name: "title",
|
|
1613
|
-
fn: T(() => [
|
|
1613
|
+
fn: T(() => [Be(Je(Dr.value.title), 1)]),
|
|
1614
1614
|
key: "0"
|
|
1615
1615
|
} : void 0, j.value.table.useDialog ? {
|
|
1616
1616
|
name: "actions",
|
|
1617
|
-
fn: T(() => [
|
|
1617
|
+
fn: T(() => [m("button", {
|
|
1618
1618
|
tabindex: "0",
|
|
1619
1619
|
class: "vue-ui-user-options-button",
|
|
1620
1620
|
onClick: t[1] ||= (e) => vr(M.value.callbacks.csv),
|
|
1621
1621
|
style: y({ cursor: rn.value ? "pointer" : "default" })
|
|
1622
|
-
}, [
|
|
1622
|
+
}, [Ve(w(Dt), {
|
|
1623
1623
|
name: "fileCsv",
|
|
1624
1624
|
stroke: Dr.value.props.color
|
|
1625
1625
|
}, null, 8, ["stroke"])], 4)]),
|
|
1626
1626
|
key: "1"
|
|
1627
|
-
} : void 0]), 1040)) :
|
|
1628
|
-
C(e.$slots, "skeleton", {}, () => [w(on) ? (b(),
|
|
1627
|
+
} : void 0]), 1040)) : f("", !0),
|
|
1628
|
+
C(e.$slots, "skeleton", {}, () => [w(on) ? (b(), d(ve, { key: 0 })) : f("", !0)], !0)
|
|
1629
1629
|
], 46, $e));
|
|
1630
1630
|
}
|
|
1631
1631
|
}, [["__scopeId", "data-v-3cc0d931"]]);
|