vue-data-ui 2.4.51 → 2.4.52
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-BUz63pb2.js → Arrow-BuBoE64l.js} +1 -1
- package/dist/{Arrow-2a_SwBgz.cjs → Arrow-CFlFdPC5.cjs} +1 -1
- package/dist/{BaseIcon-BASl_NFX.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
- package/dist/{BaseIcon-CmiukQBl.js → BaseIcon-zmxwsaLW.js} +1 -1
- package/dist/{DataTable-DGf6RrOJ.js → DataTable-COkA4Nyz.js} +2 -2
- package/dist/{DataTable-G3ICK-5h.cjs → DataTable-CwAdpLng.cjs} +1 -1
- package/dist/{Legend-BiuPlEMg.cjs → Legend-CR9ydX8N.cjs} +1 -1
- package/dist/{Legend-BLaZxMge.js → Legend-bYlSC7I7.js} +1 -1
- package/dist/{PackageVersion-Bj34UNnQ.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
- package/dist/{PackageVersion-CxJghxYD.js → PackageVersion-Dz3KcTL4.js} +1 -1
- package/dist/{PenAndPaper-ZdZEumki.js → PenAndPaper-BycdTwSP.js} +3 -3
- package/dist/{PenAndPaper-D9yQnc0e.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
- package/dist/{Shape-yducHWd0.cjs → Shape-BBp5EwJH.cjs} +1 -1
- package/dist/{Shape-DIKzzpFm.js → Shape-BDJJ38uM.js} +1 -1
- package/dist/{Slicer-BHS9W4MJ.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
- package/dist/{Slicer-Cxdl3cDt.js → Slicer-D_DaIThC.js} +2 -2
- package/dist/{Title-Bk_55doC.cjs → Title-B7ruS8yl.cjs} +1 -1
- package/dist/{Title-aSAft5dl.js → Title-aMb2ETf7.js} +1 -1
- package/dist/{Tooltip-smutPF--.js → Tooltip-BRZ3DT4p.js} +1 -1
- package/dist/{Tooltip-G7ENx87_.cjs → Tooltip-BqSN71SL.cjs} +1 -1
- package/dist/{index-DhDYBLBe.cjs → index-BkXYJDpD.cjs} +1 -1
- package/dist/{index-BbPeL8Gp.js → index-K5uyh1gA.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BphUExEh.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
- package/dist/{useNestedProp-BN8claGG.js → useNestedProp-DifqJZAs.js} +1 -1
- package/dist/{usePrinter-2_QjJFdH.cjs → usePrinter-DHv-BwME.cjs} +1 -1
- package/dist/{usePrinter-DaybDVqP.js → usePrinter-p_ZZlGc9.js} +1 -1
- package/dist/{vue-data-ui-Ckbp-yIf.js → vue-data-ui-3PlAeIlX.js} +60 -60
- package/dist/{vue-data-ui-C5vsHRHD.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-wDYs3sVe.js → vue-ui-3d-bar-PrijRaoI.js} +30 -30
- package/dist/{vue-ui-3d-bar-DUgumRsg.cjs → vue-ui-3d-bar-VQyMytda.cjs} +2 -2
- package/dist/{vue-ui-accordion-5d5iVpr7.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
- package/dist/{vue-ui-accordion-B7tNzRWB.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-BH1khaaq.js → vue-ui-age-pyramid-DFYykOow.js} +42 -42
- package/dist/{vue-ui-annotator-B9VKE_qz.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
- package/dist/{vue-ui-annotator-jXkB5XnD.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
- package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
- package/dist/{vue-ui-bullet-BLi9CSZw.js → vue-ui-bullet-Ybz4qPWl.js} +41 -41
- package/dist/{vue-ui-candlestick-Da4ygGXR.cjs → vue-ui-candlestick-BxcwK8UI.cjs} +2 -2
- package/dist/{vue-ui-candlestick-Bjz1uFbv.js → vue-ui-candlestick-DsVBdCz_.js} +61 -61
- package/dist/{vue-ui-carousel-table-B6zgTL-W.js → vue-ui-carousel-table-C2ThrWYt.js} +50 -50
- package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
- package/dist/{vue-ui-chestnut-D5HpkuIa.js → vue-ui-chestnut-BacH0ZYK.js} +66 -66
- package/dist/{vue-ui-chestnut-C_N7EbjQ.cjs → vue-ui-chestnut-Cw8LKuZG.cjs} +3 -3
- package/dist/{vue-ui-cursor-DZNIbvR2.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
- package/dist/{vue-ui-cursor-A_siHYBc.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DCqe4BZg.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
- package/dist/{vue-ui-dashboard-BfPJyiY9.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
- package/dist/{vue-ui-digits-BEhLa3jI.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
- package/dist/{vue-ui-digits-BEWCnojc.js → vue-ui-digits-CyTjq_oN.js} +2 -2
- package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
- package/dist/{vue-ui-donut-g5ZLhYPx.js → vue-ui-donut-BxLlCBhU.js} +57 -57
- package/dist/{vue-ui-donut-evolution-Cu6dmlT2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +66 -66
- package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
- package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
- package/dist/{vue-ui-dumbbell-bb4-Ep6o.js → vue-ui-dumbbell-D0PjpD19.js} +46 -46
- package/dist/{vue-ui-flow-hD0F6mTK.js → vue-ui-flow-BuTJcn6b.js} +43 -43
- package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
- package/dist/{vue-ui-funnel-hcbE4yky.js → vue-ui-funnel-CxO1aav3.js} +59 -59
- package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
- package/dist/{vue-ui-galaxy-ByKjxVWV.js → vue-ui-galaxy-B2uwYVgz.js} +54 -54
- package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
- package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
- package/dist/{vue-ui-gauge-PGirbe6O.js → vue-ui-gauge-CqhJx__t.js} +70 -70
- package/dist/{vue-ui-gizmo-ChSfBYZ_.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
- package/dist/{vue-ui-gizmo-CHMApil6.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
- package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
- package/dist/{vue-ui-heatmap-CK3FIWpo.js → vue-ui-heatmap-DLNzJh--.js} +87 -87
- package/dist/{vue-ui-history-plot-EmQ-Byiz.js → vue-ui-history-plot-CH2mN74k.js} +75 -75
- package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
- package/dist/{vue-ui-kpi-DjC68pSz.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
- package/dist/{vue-ui-kpi-BdungaO2.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CzrblCCD.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
- package/dist/{vue-ui-mini-loader-jwL_pZjb.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
- package/dist/{vue-ui-molecule-DBQJQs4Y.js → vue-ui-molecule-BAwzIU19.js} +52 -52
- package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
- package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
- package/dist/{vue-ui-mood-radar-Ca9wPZpJ.js → vue-ui-mood-radar-BXOWHB57.js} +35 -35
- package/dist/{vue-ui-nested-donuts-DEdS6dpj.cjs → vue-ui-nested-donuts-D1EF5IEw.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-C8at93dN.js → vue-ui-nested-donuts-F1pwFa1Y.js} +90 -90
- package/dist/{vue-ui-onion-B-PXxNu6.js → vue-ui-onion-C9dEaRbc.js} +52 -52
- package/dist/{vue-ui-onion-B2ioudP5.cjs → vue-ui-onion-nA8sXxh-.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-ByM3So9k.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +62 -62
- package/dist/{vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs → vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs} +2 -2
- package/dist/{vue-ui-quadrant-BqOJBcsI.js → vue-ui-quadrant-C_hJHr9T.js} +50 -50
- package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
- package/dist/{vue-ui-quick-chart-Bt9KA82P.cjs → vue-ui-quick-chart-C5v_8Kpw.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BfXxT3KM.js → vue-ui-quick-chart-D4k-zSan.js} +9 -9
- package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
- package/dist/{vue-ui-radar-BKpD9xDr.js → vue-ui-radar-WKQ-TavD.js} +59 -59
- package/dist/{vue-ui-rating-DQRuqev5.js → vue-ui-rating-BrSnMkzF.js} +2 -2
- package/dist/{vue-ui-rating-BE545aI4.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
- package/dist/{vue-ui-relation-circle-nZ2nBpWX.js → vue-ui-relation-circle-DzZ5H4og.js} +56 -56
- package/dist/{vue-ui-rings-B7JzZ3ub.cjs → vue-ui-rings-1qwg2E0O.cjs} +2 -2
- package/dist/{vue-ui-rings-C1PV0873.js → vue-ui-rings-43dY-4_7.js} +65 -65
- package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
- package/dist/{vue-ui-scatter-dgs1m3-2.js → vue-ui-scatter-q6Sfqa4W.js} +102 -102
- package/dist/{vue-ui-screenshot-Dxj0l8Jg.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
- package/dist/{vue-ui-screenshot--cHV0jG3.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
- package/dist/{vue-ui-skeleton-lkPDknHn.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Bniq21d9.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
- package/dist/{vue-ui-smiley-D4DAZIpA.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
- package/dist/{vue-ui-smiley-CozXoiti.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-ZqrwhwqS.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
- package/dist/{vue-ui-spark-trend-CSqyvI_K.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bph8KIjk.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-q0G4GvFm.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
- package/dist/{vue-ui-sparkgauge-nSAW83dN.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DA_h9jcN.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-BLYhRNpt.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B1WyBiq_.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
- package/dist/{vue-ui-sparkline-PNix1-R9.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
- package/dist/{vue-ui-sparkline-ccfl0s3m.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DpuvEumy.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-PNKwVRu8.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
- package/dist/{vue-ui-stackbar-BBYnF8qm.js → vue-ui-stackbar-BeXW23yH.js} +43 -43
- package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
- package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
- package/dist/{vue-ui-strip-plot-TVlnzXFq.js → vue-ui-strip-plot-CG-wp65N.js} +78 -78
- package/dist/{vue-ui-table-CHdv3KuM.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
- package/dist/{vue-ui-table-CsEajH9S.js → vue-ui-table-BzuWkWse.js} +1 -1
- package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-CubRipoB.js → vue-ui-table-heatmap-obAYC2HB.js} +38 -38
- package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-YV8DUOqh.js → vue-ui-table-sparkline-CW0-ubzl.js} +293 -247
- package/dist/{vue-ui-thermometer-DmMjSLc1.js → vue-ui-thermometer-BmgPuIr6.js} +74 -74
- package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
- package/dist/{vue-ui-timer-DvE_nqd9.js → vue-ui-timer-6eWSNYld.js} +5 -5
- package/dist/{vue-ui-timer-DteYgv9y.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CCrkDgjX.js → vue-ui-tiremarks-DeEI5TAa.js} +46 -46
- package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
- package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
- package/dist/{vue-ui-treemap-C4A4spvg.js → vue-ui-treemap-tlPZye6M.js} +91 -91
- package/dist/{vue-ui-vertical-bar-8iL1xiaz.js → vue-ui-vertical-bar-BIst1a32.js} +67 -67
- package/dist/{vue-ui-vertical-bar-B60lSXNq.cjs → vue-ui-vertical-bar-CCXF79YU.cjs} +2 -2
- package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
- package/dist/{vue-ui-waffle-CaYNz-Kd.js → vue-ui-waffle-iJT4g4Ht.js} +48 -48
- package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
- package/dist/{vue-ui-wheel-BRR2rGou.js → vue-ui-wheel-v1_jsNWp.js} +36 -36
- package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
- package/dist/{vue-ui-word-cloud-y2GGxwoq.js → vue-ui-word-cloud-DR8E1ArH.js} +66 -66
- package/dist/{vue-ui-xy-CXoWP8bh.js → vue-ui-xy-BZ3lbw6i.js} +14 -14
- package/dist/{vue-ui-xy-CbM75yXK.cjs → vue-ui-xy-CvFWhRR-.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DWvIvSry.cjs → vue-ui-xy-canvas-BVw3zOIC.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-D7MrUJj7.js → vue-ui-xy-canvas-hPcU2SBK.js} +53 -53
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +0 -1
- package/dist/vue-ui-bullet-QrXtipbT.cjs +0 -34
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +0 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +0 -1
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +0 -9
- package/dist/vue-ui-flow-CCvTnu7z.cjs +0 -1
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +0 -1
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +0 -1
- package/dist/vue-ui-gauge-BFA_unjg.cjs +0 -1
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +0 -1
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +0 -1
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +0 -1
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +0 -1
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +0 -1
- package/dist/vue-ui-radar-Czmsd_uv.cjs +0 -1
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +0 -1
- package/dist/vue-ui-scatter-CTI943ks.cjs +0 -1
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +0 -6
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +0 -1
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +0 -1
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +0 -1
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +0 -1
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +0 -1
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +0 -1
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as y, ref as d, watch as me, onMounted as Ae, onBeforeUnmount as Re, openBlock as o, createElementBlock as u, normalizeClass as pe, normalizeStyle as
|
|
2
|
-
import { u as Ue, c as We, t as Te, a as je, p as ge, b as Le, o as ke, d as De, e as E, g as be, m as
|
|
1
|
+
import { computed as y, ref as d, watch as me, onMounted as Ae, onBeforeUnmount as Re, openBlock as o, createElementBlock as u, normalizeClass as pe, normalizeStyle as L, unref as i, createBlock as R, createCommentVNode as h, withCtx as X, toDisplayString as C, createSlots as Ge, renderSlot as w, normalizeProps as D, guardReactiveProps as B, createVNode as Ee, createElementVNode as p, Fragment as x, renderList as S, mergeProps as G } from "vue";
|
|
2
|
+
import { u as Ue, c as We, t as Te, a as je, p as ge, b as Le, o as ke, d as De, e as E, g as be, m as V, I as z, X as Be, s as q, k as Ve, i as H, f as Z, F as J } from "./index-K5uyh1gA.js";
|
|
3
3
|
import { t as qe, u as He } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { u as Ze, U as Je } from "./usePrinter-
|
|
5
|
-
import Ke from "./vue-ui-skeleton-
|
|
6
|
-
import { _ as Qe } from "./Title-
|
|
7
|
-
import { u as xe } from "./useNestedProp-
|
|
8
|
-
import { _ as et } from "./PackageVersion-
|
|
9
|
-
import { P as tt } from "./PenAndPaper-
|
|
4
|
+
import { u as Ze, U as Je } from "./usePrinter-p_ZZlGc9.js";
|
|
5
|
+
import Ke from "./vue-ui-skeleton-BhA2lIT6.js";
|
|
6
|
+
import { _ as Qe } from "./Title-aMb2ETf7.js";
|
|
7
|
+
import { u as xe } from "./useNestedProp-DifqJZAs.js";
|
|
8
|
+
import { _ as et } from "./PackageVersion-Dz3KcTL4.js";
|
|
9
|
+
import { P as tt } from "./PenAndPaper-BycdTwSP.js";
|
|
10
10
|
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { _ as lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt = ["stop-color"], it = ["stop-color"], ct = ["stop-color"], vt = ["id"], ht = ["stdDeviation"], dt = ["d", "fill", "stroke"], yt = ["id", "d"], ft = ["fill", "font-size", "font-weight"], mt = ["href", "startOffset"], pt = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], gt = ["d", "filter"], kt = ["stroke", "stroke-width"], bt = ["stroke", "stroke-width"], xt = ["stroke", "stroke-width"], _t = ["stroke", "stroke-width"], wt = { key: 4 }, St = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], zt = ["x", "y", "font-size", "font-weight", "fill"], $t = { key: 6 }, Ft = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ct = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"],
|
|
12
|
+
const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt = ["stop-color"], it = ["stop-color"], ct = ["stop-color"], vt = ["id"], ht = ["stdDeviation"], dt = ["d", "fill", "stroke"], yt = ["id", "d"], ft = ["fill", "font-size", "font-weight"], mt = ["href", "startOffset"], pt = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], gt = ["d", "filter"], kt = ["stroke", "stroke-width"], bt = ["stroke", "stroke-width"], xt = ["stroke", "stroke-width"], _t = ["stroke", "stroke-width"], wt = { key: 4 }, St = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], zt = ["x", "y", "font-size", "font-weight", "fill"], $t = { key: 6 }, Ft = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ct = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ot = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Mt = { key: 7 }, Pt = ["d", "fill", "stroke", "stroke-width"], Nt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Xt = ["x", "y", "font-size", "fill"], Yt = {
|
|
13
13
|
key: 5,
|
|
14
14
|
class: "vue-data-ui-watermark"
|
|
15
15
|
}, It = {
|
|
@@ -29,12 +29,12 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
setup(U, { expose: _e }) {
|
|
32
|
-
const v = U, { vue_ui_gauge: we } = Ue(), Y = y(() => !!v.dataset && Object.keys(v.dataset).length > 0 && v.dataset.series && v.dataset.series.length), _ = d(We()), Se = d(null),
|
|
32
|
+
const v = U, { vue_ui_gauge: we } = Ue(), Y = y(() => !!v.dataset && Object.keys(v.dataset).length > 0 && v.dataset.series && v.dataset.series.length), _ = d(We()), Se = d(null), K = d(0), O = d(null), Q = d(null), ee = d(null), te = d(null), ae = d(null), le = d(0), e = y({
|
|
33
33
|
get: () => oe(),
|
|
34
34
|
set: (a) => a
|
|
35
|
-
}), { userOptionsVisible:
|
|
35
|
+
}), { userOptionsVisible: W, setUserOptionsVisibility: se, keepUserOptionState: re } = at({ config: e.value });
|
|
36
36
|
me(() => v.config, (a) => {
|
|
37
|
-
e.value = oe(), he(),
|
|
37
|
+
e.value = oe(), W.value = !e.value.showOnChartHover, he(), le.value += 1;
|
|
38
38
|
}, { deep: !0 });
|
|
39
39
|
function oe() {
|
|
40
40
|
const a = xe({
|
|
@@ -91,12 +91,12 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
91
91
|
pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
|
|
92
92
|
markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
|
|
93
93
|
segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
|
|
94
|
-
}),
|
|
94
|
+
}), M = d(0), P = d(0), f = d(e.value.style.chart.animation.use ? 0 : v.dataset.value);
|
|
95
95
|
me(() => v.dataset.value, () => {
|
|
96
96
|
de(v.dataset.value);
|
|
97
97
|
});
|
|
98
98
|
const n = y(() => {
|
|
99
|
-
const a = l.value.width / 2, s = c.value.base, t = Math.PI * ((f.value + 0 - P.value) / (
|
|
99
|
+
const a = l.value.width / 2, s = c.value.base, t = Math.PI * ((f.value + 0 - P.value) / (M.value - P.value)) + Math.PI;
|
|
100
100
|
return {
|
|
101
101
|
x1: a,
|
|
102
102
|
y1: s,
|
|
@@ -104,9 +104,9 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
104
104
|
y2: s + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(t)
|
|
105
105
|
};
|
|
106
106
|
}), ve = y(() => {
|
|
107
|
-
const a = l.value.width / 2, s = c.value.base, t = Math.PI * ((f.value + 0 - P.value) / (
|
|
107
|
+
const a = l.value.width / 2, s = c.value.base, t = Math.PI * ((f.value + 0 - P.value) / (M.value - P.value)) + Math.PI, r = a + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(t), k = s + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(t), b = l.value.pointerRadius, Ne = a + b * Math.cos(t + Math.PI / 2), Xe = s + b * Math.sin(t + Math.PI / 2), Ye = a + b * Math.cos(t - Math.PI / 2), Ie = s + b * Math.sin(t - Math.PI / 2);
|
|
108
108
|
return isNaN(r) ? null : `M ${r},${k} ${Ne},${Xe} ${Ye},${Ie} Z`;
|
|
109
|
-
}),
|
|
109
|
+
}), T = y(() => {
|
|
110
110
|
for (let a = 0; a < $.value.series.length; a += 1) {
|
|
111
111
|
const { color: s, from: t, to: r } = $.value.series[a];
|
|
112
112
|
if (f.value >= t && f.value <= r)
|
|
@@ -146,25 +146,25 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
146
146
|
}))), de(v.dataset.value || 0), e.value.responsive) {
|
|
147
147
|
const a = qe(() => {
|
|
148
148
|
const { width: s, height: t } = He({
|
|
149
|
-
chart:
|
|
150
|
-
title: e.value.style.chart.title.text ?
|
|
151
|
-
legend:
|
|
152
|
-
source:
|
|
153
|
-
noTitle:
|
|
149
|
+
chart: O.value,
|
|
150
|
+
title: e.value.style.chart.title.text ? Q.value : null,
|
|
151
|
+
legend: ee.value,
|
|
152
|
+
source: te.value,
|
|
153
|
+
noTitle: ae.value
|
|
154
154
|
});
|
|
155
|
-
l.value.width = s, l.value.height = t, l.value.centerX = s / 2, l.value.centerY = g.value / 2 / 358.4 * t, l.value.bottom = t, l.value.labelFontSize = 18 / g.value * Math.min(t, s) < 10 ? 10 : 18 / g.value * Math.min(t, s), l.value.legendFontSize = e.value.style.chart.legend.fontSize / g.value * Math.min(t, s) < 14 ? 14 : e.value.style.chart.legend.fontSize / g.value * Math.min(t, s), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / g.value * Math.min(t, s), l.value.trackSize = e.value.style.chart.layout.track.size / g.value * Math.min(t, s), l.value.pointerStrokeWidth =
|
|
155
|
+
l.value.width = s, l.value.height = t, l.value.centerX = s / 2, l.value.centerY = g.value / 2 / 358.4 * t, l.value.bottom = t, l.value.labelFontSize = 18 / g.value * Math.min(t, s) < 10 ? 10 : 18 / g.value * Math.min(t, s), l.value.legendFontSize = e.value.style.chart.legend.fontSize / g.value * Math.min(t, s) < 14 ? 14 : e.value.style.chart.legend.fontSize / g.value * Math.min(t, s), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / g.value * Math.min(t, s), l.value.trackSize = e.value.style.chart.layout.track.size / g.value * Math.min(t, s), l.value.pointerStrokeWidth = J({
|
|
156
156
|
relator: Math.min(s, t),
|
|
157
157
|
adjuster: g.value,
|
|
158
158
|
source: e.value.style.chart.layout.pointer.strokeWidth,
|
|
159
159
|
threshold: 2,
|
|
160
160
|
fallback: 2
|
|
161
|
-
}), l.value.markerOffset =
|
|
161
|
+
}), l.value.markerOffset = J({
|
|
162
162
|
relator: Math.max(s, t),
|
|
163
163
|
adjuster: g.value,
|
|
164
164
|
source: e.value.style.chart.layout.markers.offsetY + 3,
|
|
165
165
|
threshold: 2,
|
|
166
166
|
fallback: 2
|
|
167
|
-
}), l.value.segmentFontSize =
|
|
167
|
+
}), l.value.segmentFontSize = J({
|
|
168
168
|
relator: Math.min(s, t),
|
|
169
169
|
adjuster: g.value,
|
|
170
170
|
source: e.value.style.chart.layout.segmentNames.fontSize,
|
|
@@ -172,7 +172,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
172
172
|
fallback: 8
|
|
173
173
|
});
|
|
174
174
|
});
|
|
175
|
-
I.value = new ResizeObserver(a), I.value.observe(
|
|
175
|
+
I.value = new ResizeObserver(a), I.value.observe(O.value.parentNode);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
Ae(() => {
|
|
@@ -184,7 +184,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
184
184
|
const s = [];
|
|
185
185
|
($.value.series || []).forEach((b) => {
|
|
186
186
|
s.push(b.from || 0), s.push(b.to || 0);
|
|
187
|
-
}),
|
|
187
|
+
}), M.value = Math.max(...s), P.value = Math.min(...s);
|
|
188
188
|
let t = e.value.style.chart.animation.speed;
|
|
189
189
|
const r = Math.abs(a - f.value) / (t * 60);
|
|
190
190
|
function k() {
|
|
@@ -201,7 +201,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
201
201
|
ratingBase: e.value.responsive ? l.value.height / 2 + l.value.height / 4 : l.value.height * 0.9,
|
|
202
202
|
pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
|
|
203
203
|
};
|
|
204
|
-
}), m = y(() =>
|
|
204
|
+
}), m = y(() => V(
|
|
205
205
|
{ series: $.value.series },
|
|
206
206
|
l.value.width / 2,
|
|
207
207
|
c.value.base,
|
|
@@ -213,7 +213,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
213
213
|
180,
|
|
214
214
|
109.9495,
|
|
215
215
|
40 * l.value.trackSize
|
|
216
|
-
)), Fe = y(() =>
|
|
216
|
+
)), Fe = y(() => V(
|
|
217
217
|
{ series: $.value.series },
|
|
218
218
|
l.value.width / 2,
|
|
219
219
|
c.value.base,
|
|
@@ -263,7 +263,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
263
263
|
let r = 0;
|
|
264
264
|
return a.map((k) => (r += k, `${r / 100 * t - k / 4}%`));
|
|
265
265
|
}
|
|
266
|
-
const
|
|
266
|
+
const Oe = y(() => Ce(m.value.map((a) => a.proportion * 100))), Me = y(() => V(
|
|
267
267
|
{ series: $.value.series },
|
|
268
268
|
l.value.width / 2,
|
|
269
269
|
c.value.base,
|
|
@@ -277,48 +277,48 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
277
277
|
2 * l.value.trackSize
|
|
278
278
|
)), N = d(!1);
|
|
279
279
|
function Pe(a) {
|
|
280
|
-
N.value = a,
|
|
280
|
+
N.value = a, K.value += 1;
|
|
281
281
|
}
|
|
282
282
|
const A = d(!1);
|
|
283
|
-
function
|
|
283
|
+
function j() {
|
|
284
284
|
A.value = !A.value;
|
|
285
285
|
}
|
|
286
286
|
return _e({
|
|
287
287
|
generatePdf: ie,
|
|
288
288
|
generateImage: ce,
|
|
289
|
-
toggleAnnotator:
|
|
289
|
+
toggleAnnotator: j
|
|
290
290
|
}), (a, s) => (o(), u("div", {
|
|
291
291
|
class: pe(`vue-ui-gauge ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
292
292
|
ref_key: "gaugeChart",
|
|
293
|
-
ref:
|
|
293
|
+
ref: O,
|
|
294
294
|
id: `vue-ui-gauge_${_.value}`,
|
|
295
|
-
style:
|
|
295
|
+
style: L(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
296
296
|
onMouseenter: s[0] || (s[0] = () => i(se)(!0)),
|
|
297
297
|
onMouseleave: s[1] || (s[1] = () => i(se)(!1))
|
|
298
298
|
}, [
|
|
299
299
|
e.value.userOptions.buttons.annotator ? (o(), R(tt, {
|
|
300
300
|
key: 0,
|
|
301
|
-
parent:
|
|
301
|
+
parent: O.value,
|
|
302
302
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
303
303
|
color: e.value.style.chart.color,
|
|
304
304
|
active: A.value,
|
|
305
|
-
onClose:
|
|
305
|
+
onClose: j
|
|
306
306
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
|
|
307
307
|
ze.value ? (o(), u("div", {
|
|
308
308
|
key: 1,
|
|
309
309
|
ref_key: "noTitle",
|
|
310
|
-
ref:
|
|
310
|
+
ref: ae,
|
|
311
311
|
class: "vue-data-ui-no-title-space",
|
|
312
312
|
style: "height:36px; width: 100%;background:transparent"
|
|
313
313
|
}, null, 512)) : h("", !0),
|
|
314
314
|
e.value.style.chart.title.text ? (o(), u("div", {
|
|
315
315
|
key: 2,
|
|
316
316
|
ref_key: "chartTitle",
|
|
317
|
-
ref:
|
|
317
|
+
ref: Q,
|
|
318
318
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
319
319
|
}, [
|
|
320
320
|
(o(), R(Qe, {
|
|
321
|
-
key: `title_${
|
|
321
|
+
key: `title_${le.value}`,
|
|
322
322
|
config: {
|
|
323
323
|
title: {
|
|
324
324
|
cy: "gauge-div-title",
|
|
@@ -336,10 +336,10 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
336
336
|
_: 1
|
|
337
337
|
}, 8, ["config"]))
|
|
338
338
|
], 512)) : h("", !0),
|
|
339
|
-
e.value.userOptions.show && Y.value && (i(re) || i(
|
|
339
|
+
e.value.userOptions.show && Y.value && (i(re) || i(W)) ? (o(), R(Je, {
|
|
340
340
|
ref_key: "details",
|
|
341
341
|
ref: Se,
|
|
342
|
-
key: `user_options_${
|
|
342
|
+
key: `user_options_${K.value}`,
|
|
343
343
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
344
344
|
color: e.value.style.chart.color,
|
|
345
345
|
isImaging: i(ne),
|
|
@@ -351,16 +351,16 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
351
351
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
352
352
|
isFullscreen: N.value,
|
|
353
353
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
354
|
-
chartElement:
|
|
354
|
+
chartElement: O.value,
|
|
355
355
|
position: e.value.userOptions.position,
|
|
356
356
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
357
357
|
isAnnotation: A.value,
|
|
358
358
|
onToggleFullscreen: Pe,
|
|
359
359
|
onGeneratePdf: i(ie),
|
|
360
360
|
onGenerateImage: i(ce),
|
|
361
|
-
onToggleAnnotator:
|
|
362
|
-
style:
|
|
363
|
-
visibility: i(re) ? i(
|
|
361
|
+
onToggleAnnotator: j,
|
|
362
|
+
style: L({
|
|
363
|
+
visibility: i(re) ? i(W) ? "visible" : "hidden" : "visible"
|
|
364
364
|
})
|
|
365
365
|
}, Ge({ _: 2 }, [
|
|
366
366
|
a.$slots.optionPdf ? {
|
|
@@ -380,14 +380,14 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
380
380
|
a.$slots.optionFullscreen ? {
|
|
381
381
|
name: "optionFullscreen",
|
|
382
382
|
fn: X(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
383
|
-
w(a.$slots, "optionFullscreen",
|
|
383
|
+
w(a.$slots, "optionFullscreen", D(B({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
384
384
|
]),
|
|
385
385
|
key: "2"
|
|
386
386
|
} : void 0,
|
|
387
387
|
a.$slots.optionAnnotator ? {
|
|
388
388
|
name: "optionAnnotator",
|
|
389
389
|
fn: X(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
390
|
-
w(a.$slots, "optionAnnotator",
|
|
390
|
+
w(a.$slots, "optionAnnotator", D(B({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
391
391
|
]),
|
|
392
392
|
key: "3"
|
|
393
393
|
} : void 0
|
|
@@ -397,7 +397,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
397
397
|
xmlns: i(Be),
|
|
398
398
|
class: pe({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
399
399
|
viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
|
|
400
|
-
style:
|
|
400
|
+
style: L(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
401
401
|
}, [
|
|
402
402
|
Ee(et),
|
|
403
403
|
p("defs", null, [
|
|
@@ -411,15 +411,15 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
411
411
|
}, [
|
|
412
412
|
p("stop", {
|
|
413
413
|
offset: "0%",
|
|
414
|
-
"stop-color": i(
|
|
414
|
+
"stop-color": i(q)("#FFFFFF", 1)
|
|
415
415
|
}, null, 8, nt),
|
|
416
416
|
p("stop", {
|
|
417
417
|
offset: "80%",
|
|
418
|
-
"stop-color": i(
|
|
418
|
+
"stop-color": i(q)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
|
|
419
419
|
}, null, 8, it),
|
|
420
420
|
p("stop", {
|
|
421
421
|
offset: "100%",
|
|
422
|
-
"stop-color": i(
|
|
422
|
+
"stop-color": i(q)("#FFFFFF", 1)
|
|
423
423
|
}, null, 8, ct)
|
|
424
424
|
], 8, ut)
|
|
425
425
|
]),
|
|
@@ -458,7 +458,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
458
458
|
}, [
|
|
459
459
|
p("textPath", {
|
|
460
460
|
href: `#curve_${_.value}_${r}`,
|
|
461
|
-
startOffset:
|
|
461
|
+
startOffset: Oe.value[r]
|
|
462
462
|
}, C(t.name || ""), 9, mt)
|
|
463
463
|
], 8, ft))), 256))
|
|
464
464
|
], 64)) : h("", !0),
|
|
@@ -470,7 +470,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
470
470
|
"font-size": l.value.segmentFontSize,
|
|
471
471
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
|
|
472
472
|
}, C(t.name || ""), 9, pt))), 256)) : h("", !0),
|
|
473
|
-
e.value.style.chart.layout.track.useGradient ? (o(!0), u(x, { key: 2 }, S(
|
|
473
|
+
e.value.style.chart.layout.track.useGradient ? (o(!0), u(x, { key: 2 }, S(Me.value, (t, r) => (o(), u("path", {
|
|
474
474
|
key: `arc_${r}`,
|
|
475
475
|
d: t.arcSlice,
|
|
476
476
|
fill: "#FFFFFF",
|
|
@@ -520,10 +520,10 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
520
520
|
"font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
521
521
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
522
522
|
fill: e.value.style.chart.layout.markers.color
|
|
523
|
-
}, C(i(
|
|
523
|
+
}, C(i(H)(
|
|
524
524
|
e.value.style.chart.layout.markers.formatter,
|
|
525
525
|
t.from,
|
|
526
|
-
i(
|
|
526
|
+
i(Z)({
|
|
527
527
|
p: e.value.style.chart.layout.markers.prefix,
|
|
528
528
|
v: t.from,
|
|
529
529
|
s: e.value.style.chart.layout.markers.suffix,
|
|
@@ -551,12 +551,12 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
551
551
|
"font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
552
552
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
553
553
|
fill: e.value.style.chart.layout.markers.color
|
|
554
|
-
}, C(i(
|
|
554
|
+
}, C(i(H)(
|
|
555
555
|
e.value.style.chart.layout.markers.formatter,
|
|
556
|
-
|
|
557
|
-
i(
|
|
556
|
+
M.value,
|
|
557
|
+
i(Z)({
|
|
558
558
|
p: e.value.style.chart.layout.markers.prefix,
|
|
559
|
-
v:
|
|
559
|
+
v: M.value,
|
|
560
560
|
s: e.value.style.chart.layout.markers.suffix,
|
|
561
561
|
r: e.value.style.chart.layout.markers.roundingValue
|
|
562
562
|
})
|
|
@@ -578,7 +578,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
578
578
|
y1: n.value.y1,
|
|
579
579
|
x2: n.value.x2,
|
|
580
580
|
y2: n.value.y2,
|
|
581
|
-
stroke: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
581
|
+
stroke: e.value.style.chart.layout.pointer.useRatingColor ? T.value : e.value.style.chart.layout.pointer.color,
|
|
582
582
|
"stroke-linecap": "round",
|
|
583
583
|
"stroke-width": l.value.pointerStrokeWidth * 0.7
|
|
584
584
|
}, null, 8, Ct)),
|
|
@@ -592,12 +592,12 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
592
592
|
"stroke-linecap": "round",
|
|
593
593
|
"stroke-width": l.value.pointerStrokeWidth * 0.3,
|
|
594
594
|
filter: `url(#blur_${_.value})`
|
|
595
|
-
}, null, 8,
|
|
596
|
-
])) : (o(), u("g",
|
|
595
|
+
}, null, 8, Ot)) : h("", !0)
|
|
596
|
+
])) : (o(), u("g", Mt, [
|
|
597
597
|
ve.value ? (o(), u("path", {
|
|
598
598
|
key: 0,
|
|
599
599
|
d: ve.value,
|
|
600
|
-
fill: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
600
|
+
fill: e.value.style.chart.layout.pointer.useRatingColor ? T.value : e.value.style.chart.layout.pointer.color,
|
|
601
601
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
602
602
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
603
603
|
"stroke-linejoin": "round"
|
|
@@ -618,11 +618,11 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
618
618
|
"text-anchor": "middle",
|
|
619
619
|
"font-size": l.value.legendFontSize,
|
|
620
620
|
"font-weight": "bold",
|
|
621
|
-
fill: e.value.style.chart.legend.useRatingColor ?
|
|
622
|
-
}, C(i(
|
|
621
|
+
fill: e.value.style.chart.legend.useRatingColor ? T.value : e.value.style.chart.legend.color
|
|
622
|
+
}, C(i(H)(
|
|
623
623
|
e.value.style.chart.legend.formatter,
|
|
624
624
|
f.value,
|
|
625
|
-
i(
|
|
625
|
+
i(Z)({
|
|
626
626
|
p: e.value.style.chart.legend.prefix + (e.value.style.chart.legend.showPlusSymbol && f.value > 0 ? "+" : ""),
|
|
627
627
|
v: f.value,
|
|
628
628
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -632,7 +632,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
632
632
|
w(a.$slots, "svg", { svg: l.value }, void 0, !0)
|
|
633
633
|
], 14, ot)) : h("", !0),
|
|
634
634
|
a.$slots.watermark ? (o(), u("div", Yt, [
|
|
635
|
-
w(a.$slots, "watermark",
|
|
635
|
+
w(a.$slots, "watermark", D(B({ isPrinting: i(ue) || i(ne) })), void 0, !0)
|
|
636
636
|
])) : h("", !0),
|
|
637
637
|
Y.value ? h("", !0) : (o(), R(Ke, {
|
|
638
638
|
key: 6,
|
|
@@ -648,21 +648,21 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
|
|
|
648
648
|
}, null, 8, ["config"])),
|
|
649
649
|
p("div", {
|
|
650
650
|
ref_key: "chartLegend",
|
|
651
|
-
ref:
|
|
651
|
+
ref: ee
|
|
652
652
|
}, [
|
|
653
653
|
w(a.$slots, "legend", { legend: $.value }, void 0, !0)
|
|
654
654
|
], 512),
|
|
655
655
|
a.$slots.source ? (o(), u("div", {
|
|
656
656
|
key: 7,
|
|
657
657
|
ref_key: "source",
|
|
658
|
-
ref:
|
|
658
|
+
ref: te,
|
|
659
659
|
dir: "auto"
|
|
660
660
|
}, [
|
|
661
661
|
w(a.$slots, "source", {}, void 0, !0)
|
|
662
662
|
], 512)) : h("", !0)
|
|
663
663
|
], 46, st));
|
|
664
664
|
}
|
|
665
|
-
}, Vt = /* @__PURE__ */ lt(It, [["__scopeId", "data-v-
|
|
665
|
+
}, Vt = /* @__PURE__ */ lt(It, [["__scopeId", "data-v-8de26327"]]);
|
|
666
666
|
export {
|
|
667
667
|
Vt as default
|
|
668
668
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as x, onMounted as C, computed as c, watch as z, openBlock as a, createElementBlock as s, normalizeStyle as G, createVNode as L, createElementVNode as t, createCommentVNode as r, Fragment as g, toDisplayString as y, unref as d } from "vue";
|
|
2
|
-
import { u as b, c as N, e as $, i as p, f as m } from "./index-
|
|
3
|
-
import { u as F } from "./useNestedProp-
|
|
4
|
-
import { _ as B } from "./PackageVersion-
|
|
2
|
+
import { u as b, c as N, e as $, i as p, f as m } from "./index-K5uyh1gA.js";
|
|
3
|
+
import { u as F } from "./useNestedProp-DifqJZAs.js";
|
|
4
|
+
import { _ as B } from "./PackageVersion-Dz3KcTL4.js";
|
|
5
5
|
const P = ["viewBox", "width"], V = { key: 0 }, D = ["id"], I = ["stop-color"], M = ["stop-color"], U = ["stroke"], E = ["stroke"], O = ["width", "fill"], S = ["fill"], A = { key: 0 }, j = ["id"], T = /* @__PURE__ */ t("feGaussianBlur", {
|
|
6
6
|
in: "SourceGraphic",
|
|
7
7
|
stdDeviation: 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-BkXYJDpD.cjs"),m=require("./useNestedProp-C6IvqE-r.cjs"),_=require("./PackageVersion-C1F3QLoY.cjs"),k=["viewBox","width"],p={key:0},g=["id"],v=["stop-color"],y=["stop-color"],N=["stroke"],C=["stroke"],V=["width","fill"],w=["fill"],x={key:0},B=["id"],E=e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:1},null,-1),b=[E],L=["stroke"],z=["stroke","stroke-dasharray","stroke-dashoffset"],G=["filter"],F=["stroke","stroke-dasharray","stroke-dashoffset"],P=["fill"],$={__name:"vue-ui-gizmo",props:{config:{type:Object,default(){return{}}},dataset:{type:Number,default:0}},setup(i){const o=i,{vue_ui_gizmo:f}=a.useConfig(),n=e.ref(a.createUid());e.onMounted(()=>{c()});function c(){!o.dataset&&o.dataset!==0&&a.error({componentName:"VueUiGizmo",type:"dataset"}),o.dataset<0&&console.warn("VueUiGizmo: dataset cannot be negative.")}const t=e.computed({get:()=>d(),set:r=>r});function d(){return m.useNestedProp({userConfig:o.config,defaultConfig:f})}e.watch(()=>o.config,r=>{t.value=d(),c()},{deep:!0});const u=e.computed(()=>({battery:{width:t.value.showPercentage?140:80,height:50},gauge:{width:80,height:80}})[t.value.type]),l=e.computed(()=>{const s=2*Math.PI*35,h=s-o.dataset/100*s;return{dasharray:`${s} ${s}`,dashoffset:h}});return(r,s)=>(e.openBlock(),e.createElementBlock("svg",{class:"vue-ui-gizmo",viewBox:`0 0 ${u.value.width} ${u.value.height}`,width:t.value.size,style:e.normalizeStyle({background:"transparent",fontFamily:t.value.fontFamily})},[e.createVNode(_._sfc_main),t.value.useGradient?(e.openBlock(),e.createElementBlock("defs",p,[e.createElementVNode("linearGradient",{id:`gizmo_gradient_${n.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.gradientColor},null,8,v),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.color},null,8,y)],8,g)])):e.createCommentVNode("",!0),t.value.type==="battery"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("path",{d:"M 5 10 L 5 40 C 5 43 7 45 9 45 L 65 45 C 68 45 70 43 70 40 L 70 38 C 73 38 75 38 75 33 L 75 17 C 75 12 73 12 70 12 L 70 10 C 70 7 68 5 65 5 L 10 5 C 7 5 5 7 5 10",stroke:t.value.stroke,"stroke-width":2,fill:"none"},null,8,N),e.createElementVNode("path",{d:"M 70 16 L 70 34",stroke:t.value.stroke,"stroke-width":2,fill:"none",style:{opacity:"0.5"}},null,8,C),e.createElementVNode("rect",{x:10,y:10,height:30,width:55*(i.dataset/100),fill:t.value.useGradient?`url(#gizmo_gradient_${n.value})`:t.value.color,rx:2},null,8,V),t.value.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:0,x:85,y:32,"text-anchor":"start","font-size":"20",fill:t.value.textColor},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.formatter,o.dataset,e.unref(a.dataLabel)({v:o.dataset,s:"%"}))),9,w)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="gauge"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.value.useGradient?(e.openBlock(),e.createElementBlock("defs",x,[e.createElementVNode("filter",{id:`blur_${n.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},b,8,B)])):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.stroke,"stroke-width":2*4,fill:"none"},null,8,L),e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.color,"stroke-width":2*4,"stroke-dasharray":l.value.dasharray,"stroke-dashoffset":l.value.dashoffset,"stroke-linecap":"round",fill:"none",style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,z),t.value.useGradient?(e.openBlock(),e.createElementBlock("g",{key:1,filter:`url(#blur_${n.value})`},[e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.gradientColor,"stroke-width":1,fill:"none","stroke-dasharray":l.value.dasharray,"stroke-dashoffset":l.value.dashoffset,style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,F)],8,G)):e.createCommentVNode("",!0),t.value.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:2,x:40,y:47,"text-anchor":"middle","font-size":"20",fill:t.value.textColor},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.formatter,o.dataset,e.unref(a.dataLabel)({v:o.dataset,s:"%"}))),9,P)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],12,k))}};exports.default=$;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-BkXYJDpD.cjs"),pe=require("./Title-B7ruS8yl.cjs"),le=require("./usePrinter-DHv-BwME.cjs"),he=require("./Tooltip-BqSN71SL.cjs"),fe=require("./vue-ui-skeleton-BTN1PKkz.cjs"),ge=require("./BaseIcon-CfhoS_qC.cjs"),me=require("./vue-ui-accordion-kr18wKfc.cjs"),ae=require("./useNestedProp-C6IvqE-r.cjs"),be=require("./PackageVersion-C1F3QLoY.cjs"),ke=require("./PenAndPaper-DDheVRNG.cjs"),xe=require("./useUserOptionState-BgepsfED.cjs"),we=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ce=["id"],_e={key:2,style:"width:100%;background:transparent"},Ne=["xmlns","viewBox"],Be=["x","y","width","height","fill","stroke","stroke-width"],Le=["x","y","width","height","fill","stroke","stroke-width"],Ve=["font-size","font-weight","fill","x","y"],$e=["x","y","width","height","onMouseover"],Ee={key:0},Se=["font-size","fill","x","y","font-weight"],Ae={key:0},ze=["text-anchor","font-size","fill","font-weight","transform"],Te={key:1},Me=["x","y","width","height","stroke","stroke-width"],Oe={key:2},Pe=["id"],Fe=["stop-color"],De=["stop-color"],Ie=["x","y","font-size","fill"],Re=["x","y","height","rx","fill"],qe=["x","y","font-size","fill"],Ue=["stroke","x1","x2","y1","y2"],He=["fill","d"],Ge={key:3},Xe={id:"colorScaleHorizontal",x1:"0%",x2:"100%",y1:"0%",y2:"0%"},je=["stop-color"],Ye=["stop-color"],We=["x","y","width","height","rx"],Ke=["x","y","font-size","fill"],Je=["x","y","font-size","fill"],Qe=["stroke","x1","x2","y1","y2"],Ze=["fill","d"],et={key:5,class:"vue-data-ui-watermark"},tt={key:6,ref:"source",dir:"auto"},lt={class:"vue-ui-data-table"},at={key:0},ot=["data-cell"],st={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},ut=["data-cell"],nt={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},rt={__name:"vue-ui-heatmap",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(L,{expose:oe}){const n=L;e.useCssVars(l=>({"144dc876":l.tdo}));const{vue_ui_heatmap:se}=s.useConfig(),V=e.computed(()=>!!n.dataset&&n.dataset.length);s.objectIsEmpty(n.dataset)&&s.error({componentName:"VueUiHeatmap",type:"dataset"});const w=e.ref(s.createUid()),$=e.ref(null),ue=e.ref(null),z=e.ref(!1),T=e.ref(""),R=e.ref(void 0),C=e.ref(null),q=e.ref(0),U=e.ref(null),ne=e.ref(null),H=e.ref(!1),G=e.ref(0),t=e.computed({get:()=>Y(),set:l=>l}),{userOptionsVisible:M,setUserOptionsVisibility:X,keepUserOptionState:j}=xe.useUserOptionState({config:t.value});function Y(){const l=ae.useNestedProp({userConfig:n.config,defaultConfig:se});let a={};return l.theme?a={...ae.useNestedProp({userConfig:s.themes.vue_ui_heatmap[l.theme]||n.config,defaultConfig:l})}:a=l,n.config&&s.hasDeepProperty(n.config,"style.layout.dataLabels.xAxis.showOnlyAtModulo")?a.style.layout.dataLabels.xAxis.showOnlyAtModulo=n.config.style.layout.dataLabels.xAxis.showOnlyAtModulo:a.style.layout.dataLabels.xAxis.showOnlyAtModulo=null,a}e.watch(()=>n.config,l=>{t.value=Y(),M.value=!t.value.showOnChartHover,O(),G.value+=1},{deep:!0}),e.watch(()=>n.dataset,()=>{O()},{deep:!0});const{isPrinting:W,isImaging:K,generatePdf:J,generateImage:Q}=le.usePrinter({elementId:`heatmap__${w.value}`,fileName:t.value.style.title.text||"vue-ui-heatmap"}),re=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),y=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.tooltip.show}),ie=e.computed(()=>t.value.table.responsiveBreakpoint);function de(){new ResizeObserver(a=>{a.forEach(u=>{H.value=u.contentRect.width<ie.value})}).observe(U.value)}e.onMounted(O);function O(){de()}const k=e.computed(()=>Math.max(...n.dataset.flatMap(l=>(l.values||[]).length))),p=e.computed(()=>{const l=t.value.style.layout.padding.top+t.value.style.layout.padding.bottom+n.dataset.length*t.value.style.layout.cells.height,a=t.value.style.layout.padding.left+t.value.style.layout.padding.right+(k.value<n.dataset.length?n.dataset.length:k.value)*t.value.style.layout.cells.height,u=l+(t.value.style.legend.show?t.value.style.legend.position==="right"?0:t.value.style.layout.cells.height*2:0);return{height:l,heightWithLegend:u,width:a}}),E=e.computed(()=>t.value.style.legend.position),o=e.computed(()=>({top:t.value.style.layout.padding.top,left:t.value.style.layout.padding.left,right:p.value.width-t.value.style.layout.padding.right-(E.value==="right"&&t.value.style.legend.show?92:0),bottom:p.value.height-t.value.style.layout.padding.bottom,height:p.value.height-t.value.style.layout.padding.top-t.value.style.layout.padding.bottom,width:p.value.width-t.value.style.layout.padding.right-t.value.style.layout.padding.left-(E.value==="right"&&t.value.style.legend.show?92:0)})),P=e.computed(()=>i.value.height*n.dataset.length),v=e.computed(()=>Math.max(...n.dataset.flatMap(l=>l.values))),m=e.computed(()=>Math.min(...n.dataset.flatMap(l=>l.values))),b=e.computed(()=>{const l=n.dataset.flatMap(u=>u.values);return l.reduce((u,r)=>u+r,0)/l.length}),i=e.computed(()=>({width:o.value.width/k.value,height:o.value.width/(k.value<n.dataset.length?n.dataset.length:k.value)})),h=e.computed(()=>{const l=t.value.style.layout.dataLabels.yAxis.values.length?t.value.style.layout.dataLabels.yAxis.values:n.dataset.map(u=>u.name),a=t.value.style.layout.dataLabels.xAxis.values;return{yLabels:l,xLabels:a.slice(0,k.value)}}),S=e.computed(()=>(n.dataset.forEach((l,a)=>{s.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["values"]}).forEach(u=>{s.error({componentName:"VueUiHeatmap",type:"datasetSerieAttribute",property:"values",index:a})})}),n.dataset.map(l=>({...l,temperatures:(l.values||[]).map((a,u)=>a>=b.value?{side:"up",color:s.interpolateColorHex(t.value.style.layout.cells.colors.cold,t.value.style.layout.cells.colors.hot,m.value,v.value,a),ratio:Math.abs(Math.abs(a-b.value)/Math.abs(v.value-b.value))>1?1:Math.abs(Math.abs(a-b.value)/Math.abs(v.value-b.value)),value:a,yAxisName:l.name,xAxisName:h.value.xLabels[u],id:`vue-data-ui-heatmap-cell-${s.createUid()}`}:{side:"down",ratio:Math.abs(1-Math.abs(a)/Math.abs(b.value))>1?1:Math.abs(1-Math.abs(a)/Math.abs(b.value)),color:s.interpolateColorHex(t.value.style.layout.cells.colors.cold,t.value.style.layout.cells.colors.hot,m.value,v.value,a),value:a,yAxisName:l.name,xAxisName:h.value.xLabels[u],id:`vue-data-ui-heatmap-cell-${s.createUid()}`})})))),f=e.ref(null),_=e.ref(null);function ce(l,a,u,r){C.value={x:u,y:r};const{value:d,yAxisName:c,xAxisName:g,id:ye}=l;R.value=ye,f.value=d,_.value={datapoint:l,seriesIndex:a,series:S.value,config:t.value},z.value=!0;let D="";const I=t.value.style.tooltip.customFormat;s.isFunction(I)&&s.functionReturnsString(()=>I({datapoint:l,seriesIndex:a,series:S.value,config:t.value}))?T.value=I({datapoint:l,seriesIndex:a,series:S.value,config:t.value}):(D+=`<div>${c} ${g?`${g}`:""}</div>`,D+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${s.interpolateColorHex(t.value.style.layout.cells.colors.cold,t.value.style.layout.cells.colors.hot,m.value,v.value,d)}">⬤</span><span>${isNaN(d)?"-":s.applyDataLabel(t.value.style.layout.cells.value.formatter,d,s.dataLabel({p:t.value.style.layout.dataLabels.prefix,v:d,s:t.value.style.layout.dataLabels.suffix,r:t.value.style.tooltip.roundingValue}),{datapoint:l,seriesIndex:a})}</span></div>`,T.value=`<div style="font-size:${t.value.style.tooltip.fontSize}px">${D}</div>`)}const N=e.computed(()=>o.value.top+P.value*(1-f.value/v.value)),B=e.computed(()=>o.value.left+(p.value.width-o.value.left-t.value.style.layout.padding.right)*(f.value/v.value));e.computed(()=>{const l=n.dataset.map(u=>({name:u.name})),a=n.dataset.map(u=>u.values);return{head:l,body:a}});function Z(){e.nextTick(()=>{const l=["",...n.dataset.map((d,c)=>d.name)],a=[];for(let d=0;d<h.value.xLabels.length;d+=1){const c=[h.value.xLabels[d]];for(let g=0;g<n.dataset.length;g+=1)c.push([n.dataset[g].values[d]]);a.push(c)}const u=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(a),r=s.createCsvContent(u);s.downloadCsv({csvContent:r,title:t.value.style.title.text||"vue-ui-heatmap"})})}const x=e.ref(!1);function ve(l){x.value=l,q.value+=1}function ee(){y.value.showTable=!y.value.showTable}function te(){y.value.showTooltip=!y.value.showTooltip}const A=e.ref(!1);function F(){A.value=!A.value}return oe({generatePdf:J,generateCsv:Z,generateImage:Q,toggleTable:ee,toggleTooltip:te,toggleAnnotator:F}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"heatmapChart",ref:$,class:e.normalizeClass(`vue-ui-heatmap ${x.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.backgroundColor}`),id:`heatmap__${w.value}`,onMouseenter:a[3]||(a[3]=()=>e.unref(X)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(X)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ke.PenAndPaper,{key:0,parent:$.value,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,active:A.value,onClose:F},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),re.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:ne,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",_e,[(e.openBlock(),e.createBlock(pe._sfc_main,{key:`title_${G.value}`,config:{title:{cy:"heatmap-div-title",...t.value.style.title},subtitle:{cy:"heatmap-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&V.value&&(e.unref(j)||e.unref(M))?(e.openBlock(),e.createBlock(le.UserOptions,{ref_key:"details",ref:ue,key:`user_options_${q.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(K),isPrinting:e.unref(W),uid:w.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:x.value,isTooltip:y.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:$.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:A.value,onToggleFullscreen:ve,onGeneratePdf:e.unref(J),onGenerateCsv:Z,onGenerateImage:e.unref(Q),onToggleTable:ee,onToggleTooltip:te,onToggleAnnotator:F,style:e.normalizeStyle({visibility:e.unref(j)?e.unref(M)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:u,isFullscreen:r})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:u,isFullscreen:r})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:u,isAnnotator:r})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:u,isAnnotator:r})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),V.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":x.value,"vue-data-ui-fulscreen--off":!x.value}),viewBox:`0 0 ${p.value.width} ${p.value.heightWithLegend}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.color}`)},[e.createVNode(be._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(u,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.temperatures,(d,c)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:o.value.left+i.value.width*c+t.value.style.layout.cells.spacing/2,y:o.value.top+i.value.height*r+t.value.style.layout.cells.spacing/2,width:i.value.width-t.value.style.layout.cells.spacing,height:i.value.height-t.value.style.layout.cells.spacing,fill:t.value.style.layout.cells.colors.underlayer,stroke:t.value.style.backgroundColor,"stroke-width":t.value.style.layout.cells.spacing},null,8,Be),e.createElementVNode("rect",{x:o.value.left+i.value.width*c+t.value.style.layout.cells.spacing/2,y:o.value.top+i.value.height*r+t.value.style.layout.cells.spacing/2,width:i.value.width-t.value.style.layout.cells.spacing,height:i.value.height-t.value.style.layout.cells.spacing,fill:d.color,stroke:t.value.style.backgroundColor,"stroke-width":t.value.style.layout.cells.spacing},null,8,Le),t.value.style.layout.cells.value.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":"middle","font-size":t.value.style.layout.cells.value.fontSize,"font-weight":t.value.style.layout.cells.value.bold?"bold":"normal",fill:e.unref(s.adaptColorToBackground)(d.color),x:o.value.left+i.value.width*c+i.value.width/2,y:o.value.top+i.value.height*r+i.value.height/2+t.value.style.layout.cells.value.fontSize/3},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.cells.value.formatter,d.value,e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:d.value,s:t.value.style.layout.dataLabels.suffix,r:t.value.style.layout.cells.value.roundingValue}),{datapoint:d})),9,Ve)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.temperatures,(d,c)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:o.value.left+i.value.width*c,y:o.value.top+i.value.height*r,width:i.value.width,height:i.value.height,fill:"transparent",stroke:"none",onMouseover:g=>ce(d,r,o.value.left+i.value.width*c,o.value.top+i.value.height*r),onMouseout:a[0]||(a[0]=g=>{z.value=!1,R.value=void 0,f.value=null,C.value=null})},null,40,$e)]))),256)),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",Ee,[e.createElementVNode("text",{"font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color,x:o.value.left+t.value.style.layout.dataLabels.yAxis.offsetX-6,y:o.value.top+i.value.height*r+i.value.height/2+t.value.style.layout.dataLabels.yAxis.fontSize/3+t.value.style.layout.dataLabels.yAxis.offsetY,"text-anchor":"end","font-weight":t.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(h.value.yLabels[r]),9,Se)])):e.createCommentVNode("",!0)]))),256)),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",Ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.xLabels,(u,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[!t.value.style.layout.dataLabels.xAxis.showOnlyAtModulo||t.value.style.layout.dataLabels.xAxis.showOnlyAtModulo&&r%t.value.style.layout.dataLabels.xAxis.showOnlyAtModulo===0?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":t.value.style.layout.dataLabels.xAxis.rotation===0?"middle":t.value.style.layout.dataLabels.xAxis.rotation<0?"start":"end","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal",transform:`translate(${o.value.left+i.value.width/2+o.value.width/h.value.xLabels.length*r+t.value.style.layout.dataLabels.xAxis.offsetX}, ${o.value.top+t.value.style.layout.dataLabels.xAxis.offsetY-6}), rotate(${t.value.style.layout.dataLabels.xAxis.rotation})`},e.toDisplayString(u),9,ze)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createElementBlock("g",Te,[e.createElementVNode("rect",{style:{"pointer-events":"none"},x:C.value.x-t.value.style.layout.cells.selected.border/2+t.value.style.layout.cells.spacing,y:C.value.y-t.value.style.layout.cells.selected.border/2+t.value.style.layout.cells.spacing,width:i.value.width-t.value.style.layout.cells.spacing+t.value.style.layout.cells.selected.border-t.value.style.layout.cells.spacing,height:i.value.height-t.value.style.layout.cells.spacing+t.value.style.layout.cells.selected.border-t.value.style.layout.cells.spacing,fill:"transparent",stroke:t.value.style.layout.cells.selected.color,"stroke-width":t.value.style.layout.cells.selected.border,rx:1},null,8,Me)])):e.createCommentVNode("",!0),t.value.style.legend.show&&E.value==="right"?(e.openBlock(),e.createElementBlock("g",Oe,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`colorScaleVertical_${w.value}`,x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.cells.colors.hot},null,8,Fe),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.cells.colors.cold},null,8,De)],8,Pe)]),e.createElementVNode("text",{x:o.value.right+36+18,y:o.value.top-t.value.style.legend.fontSize*1.5,"text-anchor":"middle","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(v.value),e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(v.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,Ie),e.createElementVNode("rect",{x:o.value.right+36,y:o.value.top,width:36,height:P.value,rx:t.value.style.legend.scaleBorderRadius,fill:`url(#colorScaleVertical_${w.value})`},null,8,Re),e.createElementVNode("text",{x:o.value.right+36+18,y:o.value.top+P.value+t.value.style.legend.fontSize*2.5,"text-anchor":"middle","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(m.value),e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(m.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,qe),f.value!==null?(e.openBlock(),e.createElementBlock("line",{key:0,stroke:e.unref(s.adaptColorToBackground)(_.value.datapoint.color),"stroke-width":"2",x1:o.value.right+36,x2:o.value.right+72,y1:N.value,y2:N.value},null,8,Ue)):e.createCommentVNode("",!0),f.value!==null?(e.openBlock(),e.createElementBlock("path",{key:1,fill:t.value.style.color,stroke:"none",d:`M ${o.value.right+36},${N.value} ${o.value.right+26},${N.value-8} ${o.value.right+26},${N.value+8}z`},null,8,He)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.style.legend.show&&E.value==="bottom"?(e.openBlock(),e.createElementBlock("g",Ge,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",Xe,[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.cells.colors.cold},null,8,je),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.cells.colors.hot},null,8,Ye)])]),e.createElementVNode("rect",{x:o.value.left,y:o.value.bottom+t.value.style.layout.cells.height,width:p.value.width-o.value.left-t.value.style.layout.padding.right,height:t.value.style.layout.cells.height,rx:t.value.style.legend.scaleBorderRadius>t.value.style.layout.cells.height/2?t.value.style.layout.cells.height/2:t.value.style.legend.scaleBorderRadius,fill:"url(#colorScaleHorizontal)"},null,8,We),e.createElementVNode("text",{x:o.value.left,y:o.value.bottom+t.value.style.layout.cells.height*2+t.value.style.legend.fontSize*2,"text-anchor":"start","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(m.value),e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(m.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,Ke),e.createElementVNode("text",{x:o.value.right,y:o.value.bottom+t.value.style.layout.cells.height*2+t.value.style.legend.fontSize*2,"text-anchor":"end","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(v.value),e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(v.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,Je),f.value!==null?(e.openBlock(),e.createElementBlock("line",{key:0,stroke:e.unref(s.adaptColorToBackground)(_.value.datapoint.color),"stroke-width":"2",x1:B.value,x2:B.value,y1:o.value.bottom+t.value.style.layout.cells.height,y2:o.value.bottom+t.value.style.layout.cells.height*2},null,8,Qe)):e.createCommentVNode("",!0),f.value!==null?(e.openBlock(),e.createElementBlock("path",{key:1,fill:t.value.style.color,stroke:"none",d:`M ${B.value},${o.value.bottom+t.value.style.layout.cells.height} ${B.value-12},${o.value.bottom+t.value.style.layout.cells.height-20} ${B.value+12},${o.value.bottom+t.value.style.layout.cells.height-20}z`},null,8,Ze)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"svg",{svg:p.value},void 0,!0)],14,Ne)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",et,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(W)||e.unref(K)})),void 0,!0)])):e.createCommentVNode("",!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",tt,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),V.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(fe.default,{key:7,config:{type:"heatmap",style:{backgroundColor:t.value.style.backgroundColor,heatmap:{color:"#CCCCCC"}}}},null,8,["config"])),e.createVNode(he._sfc_main,{show:y.value.showTooltip&&z.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,fontSize:t.value.style.tooltip.fontSize,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,offsetY:t.value.style.tooltip.offsetY,parent:$.value,content:T.value,isFullscreen:x.value,isCustom:t.value.style.tooltip.customFormat&&typeof t.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),V.value?(e.openBlock(),e.createBlock(me.default,{key:8,hideDetails:"",config:{open:y.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color},head:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color}}},{content:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"tableContainer",ref:U,class:"vue-ui-heatmap-table"},[e.createElementVNode("div",{style:"width:100%;overflow-x:auto;padding-top:36px;position:relative",class:e.normalizeClass({"vue-ui-responsive":H.value})},[e.createElementVNode("div",{role:"button",tabindex:"0",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${t.value.table.th.backgroundColor};`),onClick:a[1]||(a[1]=u=>y.value.showTable=!1),onKeypress:a[2]||(a[2]=e.withKeys(u=>y.value.showTable=!1,["enter"]))},[e.createVNode(ge.default,{name:"close",stroke:t.value.table.th.color,"stroke-width":2},null,8,["stroke"])],36),e.createElementVNode("table",lt,[e.createElementVNode("caption",{style:e.normalizeStyle(`backgroundColor:${t.value.table.th.backgroundColor};color:${t.value.table.th.color};outline:${t.value.table.th.outline}`)},[e.createTextVNode(e.toDisplayString(t.value.style.title.text)+" ",1),t.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("span",at,e.toDisplayString(t.value.style.title.subtitle.text),1)):e.createCommentVNode("",!0)],4),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle(`background:${t.value.table.th.backgroundColor};color:${t.value.table.th.color}`)},[e.createElementVNode("th",{style:e.normalizeStyle(`outline:${t.value.table.th.outline};padding-right:6px`)},null,4),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.dataset,(u,r)=>(e.openBlock(),e.createElementBlock("th",{align:"right",style:e.normalizeStyle(`outline:${t.value.table.th.outline};padding-right:6px`)},e.toDisplayString(u.name),5))),256))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.xLabels,(u,r)=>(e.openBlock(),e.createElementBlock("tr",{role:"row",class:e.normalizeClass({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":r%2===0,"vue-ui-data-table__tbody__row-odd":r%2!==0}),style:e.normalizeStyle(`background:${t.value.table.td.backgroundColor};color:${t.value.table.td.color}`)},[e.createElementVNode("td",{"data-cell":t.value.table.colNames.xAxis,class:"vue-ui-data-table__tbody__td",style:e.normalizeStyle(`outline:${t.value.table.td.outline}`)},[e.createElementVNode("div",st,e.toDisplayString(u),1)],12,ot),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.dataset,(d,c)=>(e.openBlock(),e.createElementBlock("td",{class:"vue-ui-data-table__tbody__td","data-cell":L.dataset[c].name,style:e.normalizeStyle(`outline:${t.value.table.td.outline}`)},[e.createElementVNode("div",nt,e.toDisplayString(isNaN(d.values[r])?"-":e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:d.values[r],s:t.value.style.layout.dataLabels.suffix,r:t.value.table.td.roundingValue})),1)],12,ut))),256))],6))),256))])])],2)],512)]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ce))}},it=we._export_sfc(rt,[["__scopeId","data-v-e8a5fa5f"]]);exports.default=it;
|