vue-data-ui 2.3.28 → 2.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
- package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
- package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
- package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
- package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
- package/dist/DataTable-Doh_4M84.cjs +1 -0
- package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
- package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
- package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
- package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
- package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
- package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
- package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
- package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
- package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
- package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
- package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
- package/dist/index-hKWfT7Wa.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +66 -0
- package/dist/types/vue-data-ui.d.ts +66 -0
- package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
- package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
- package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
- package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
- package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
- package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +6 -6
- package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
- package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
- package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
- package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
- package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
- package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
- package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
- package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
- package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
- package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
- package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
- package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
- package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
- package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
- package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
- package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
- package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
- package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
- package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
- package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
- package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
- package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
- package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
- package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
- package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
- package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
- package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
- package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
- package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
- package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
- package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
- package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
- package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
- package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
- package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
- package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
- package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
- package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
- package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
- package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
- package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
- package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
- package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
- package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
- package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
- package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
- package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
- package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
- package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
- package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
- package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
- package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
- package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
- package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
- package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
- package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
- package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
- package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
- package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
- package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
- package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
- package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
- package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
- package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
- package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
- package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
- package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
- package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
- package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
- package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
- package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
- package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
- package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
- package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
- package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
- package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
- package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
- package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
- package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
- package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
- package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
- package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
- package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
- package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
- package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
- package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
- package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
- package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
- package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
- package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
- package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
- package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
- package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
- package/package.json +1 -1
- package/dist/DataTable-B4_9ynlY.cjs +0 -1
- package/dist/index-Y23HeR26.cjs +0 -4
- package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
- package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
- package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
- package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
- package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
- package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
- package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
- package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
- package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
- package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
- package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
- package/dist/vue-ui-onion-DiychUul.cjs +0 -1
- package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
- package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
- package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
- package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
- package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
- package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
- package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
- package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
- package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
- package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
- package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
- package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
- package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
- package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
- package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
- package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
- package/dist/vue-ui-xy-canvas-NrhVgFsv.cjs +0 -9
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { _ as
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
const
|
|
1
|
+
import { computed as p, ref as c, onMounted as Le, onBeforeUnmount as Pe, openBlock as r, createElementBlock as i, normalizeClass as O, normalizeStyle as V, createVNode as K, createCommentVNode as v, createBlock as H, unref as h, createSlots as Se, withCtx as f, renderSlot as m, normalizeProps as R, guardReactiveProps as U, Fragment as g, renderList as C, createElementVNode as x, toDisplayString as T, mergeProps as ze, createTextVNode as Ae, nextTick as Ne } from "vue";
|
|
2
|
+
import { u as Oe, c as Q, t as Fe, a as We, p as L, o as Ie, e as Z, g as pe, b as Me, d as ye, A as De, f as B, X as Ge, i as ee, l as Ee, h as Ve, w as fe, x as He, q as Re, r as Ue, C as Be } from "./index-BlXzlBwZ.js";
|
|
3
|
+
import { t as Xe, u as je } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as Ye } from "./Title-eBTH8iGJ.js";
|
|
5
|
+
import { u as Je, U as qe } from "./usePrinter-CZ8F5Cth.js";
|
|
6
|
+
import { _ as Ke } from "./Tooltip-B11OahTD.js";
|
|
7
|
+
import { D as Qe } from "./DataTable-CsPidn0_.js";
|
|
8
|
+
import Ze from "./vue-ui-skeleton-CJ2R5R6u.js";
|
|
9
|
+
import { _ as et } from "./Shape-B4gGeBLI.js";
|
|
10
|
+
import tt from "./vue-ui-accordion-wHRG3nXl.js";
|
|
11
|
+
import { u as be } from "./useNestedProp-BoNl5H_z.js";
|
|
12
|
+
import { _ as lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const at = ["id"], ot = ["xmlns", "viewBox"], st = { key: 0 }, rt = { key: 0 }, ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], it = { key: 1 }, nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ht = ["x", "y", "fill", "font-size"], dt = ["x", "y", "font-size", "fill"], pt = ["fill", "font-size", "transform"], yt = ["fill", "font-size", "x", "y"], ft = ["x1", "x2", "y1", "y2", "stroke"], bt = ["cx", "cy", "fill"], mt = ["cx", "cy", "fill"], gt = ["id"], xt = ["stop-color"], kt = ["stop-color"], Ct = ["stop-color"], wt = { key: 0 }, _t = ["x", "y", "font-size", "fill"], $t = {
|
|
14
14
|
key: 3,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
16
|
+
}, Tt = ["innerHTML"], Lt = {
|
|
17
17
|
__name: "vue-ui-strip-plot",
|
|
18
18
|
props: {
|
|
19
19
|
config: {
|
|
@@ -30,33 +30,33 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
emits: ["selectDatapoint"],
|
|
33
|
-
setup(
|
|
34
|
-
const b =
|
|
33
|
+
setup(me, { expose: ge, emit: xe }) {
|
|
34
|
+
const b = me, { vue_ui_strip_plot: ke } = Oe(), w = p({
|
|
35
35
|
get() {
|
|
36
36
|
return !!b.dataset && b.dataset.length;
|
|
37
37
|
},
|
|
38
38
|
set(t) {
|
|
39
39
|
return t;
|
|
40
40
|
}
|
|
41
|
-
}), X = c(Q()),
|
|
42
|
-
const t =
|
|
41
|
+
}), X = c(Q()), te = c(0), j = c(!1), Y = c(""), S = c(null), le = c(null), ae = c(!1), e = p(() => {
|
|
42
|
+
const t = be({
|
|
43
43
|
userConfig: b.config,
|
|
44
|
-
defaultConfig:
|
|
44
|
+
defaultConfig: ke
|
|
45
45
|
});
|
|
46
46
|
return t.theme ? {
|
|
47
|
-
...
|
|
48
|
-
userConfig:
|
|
47
|
+
...be({
|
|
48
|
+
userConfig: Fe.vue_ui_strip_plot[t.theme] || b.config,
|
|
49
49
|
defaultConfig: t
|
|
50
50
|
}),
|
|
51
|
-
customPalette:
|
|
51
|
+
customPalette: We[t.theme] || L
|
|
52
52
|
} : t;
|
|
53
53
|
}), F = c(null);
|
|
54
|
-
|
|
55
|
-
if (
|
|
54
|
+
Le(() => {
|
|
55
|
+
if (Ie(b.dataset) ? Z({
|
|
56
56
|
componentName: "VueUiStripPlot",
|
|
57
57
|
type: "dataset"
|
|
58
58
|
}) : b.dataset.forEach((t, o) => {
|
|
59
|
-
|
|
59
|
+
pe({
|
|
60
60
|
datasetObject: t,
|
|
61
61
|
requiredAttributes: ["name", "plots"]
|
|
62
62
|
}).forEach((l) => {
|
|
@@ -66,26 +66,26 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
66
66
|
property: l,
|
|
67
67
|
index: o
|
|
68
68
|
});
|
|
69
|
-
}), t.plots && t.plots.forEach((l,
|
|
70
|
-
|
|
69
|
+
}), t.plots && t.plots.forEach((l, s) => {
|
|
70
|
+
pe({
|
|
71
71
|
datasetObject: l,
|
|
72
72
|
requiredAttributes: ["name", "value"]
|
|
73
|
-
}).forEach((
|
|
73
|
+
}).forEach((u) => {
|
|
74
74
|
w.value = !1, Z({
|
|
75
75
|
componentName: "VueUiStripPlot",
|
|
76
76
|
type: "datasetSerieAttribute",
|
|
77
|
-
property:
|
|
78
|
-
index: `${o},${
|
|
77
|
+
property: u,
|
|
78
|
+
index: `${o},${s}`
|
|
79
79
|
});
|
|
80
80
|
});
|
|
81
81
|
});
|
|
82
82
|
}), e.value.responsive) {
|
|
83
|
-
const t =
|
|
84
|
-
const { width: o, height: l } =
|
|
83
|
+
const t = Xe(() => {
|
|
84
|
+
const { width: o, height: l } = je({
|
|
85
85
|
chart: S.value,
|
|
86
|
-
title: e.value.style.chart.title.text ?
|
|
86
|
+
title: e.value.style.chart.title.text ? le.value : null
|
|
87
87
|
});
|
|
88
|
-
W.value = l,
|
|
88
|
+
W.value = l, P.value.width = o, P.value.height = l, A.value = (o - y.value.left - y.value.right) / b.dataset.length, I.value = Be({
|
|
89
89
|
relator: Math.min(l, o),
|
|
90
90
|
adjuster: 600,
|
|
91
91
|
source: e.value.style.chart.plots.radius,
|
|
@@ -95,134 +95,139 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
95
95
|
});
|
|
96
96
|
F.value = new ResizeObserver(t), F.value.observe(S.value.parentNode);
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
ae.value = !0, setTimeout(() => {
|
|
99
99
|
z.value = !1;
|
|
100
|
-
},
|
|
101
|
-
}),
|
|
100
|
+
}, Ce.value * 50);
|
|
101
|
+
}), Pe(() => {
|
|
102
102
|
F.value && F.value.disconnect();
|
|
103
103
|
});
|
|
104
|
-
const { isPrinting:
|
|
104
|
+
const { isPrinting: oe, isImaging: se, generatePdf: re, generateImage: ue } = Je({
|
|
105
105
|
elementId: `strip-plot_${X.value}`,
|
|
106
106
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
107
|
-
}),
|
|
107
|
+
}), ie = p(() => Me(e.value.customPalette)), z = c(e.value.useCssAnimation), d = c({
|
|
108
108
|
showTable: e.value.table.show,
|
|
109
109
|
dataLabels: {
|
|
110
110
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
111
111
|
},
|
|
112
112
|
showTooltip: e.value.style.chart.tooltip.show
|
|
113
|
-
}),
|
|
113
|
+
}), y = c({
|
|
114
114
|
top: e.value.style.chart.padding.top,
|
|
115
115
|
bottom: e.value.style.chart.padding.bottom,
|
|
116
116
|
left: e.value.style.chart.padding.left,
|
|
117
117
|
right: e.value.style.chart.padding.right
|
|
118
|
-
}), A = c(e.value.style.chart.stripWidth), W = c(e.value.style.chart.height),
|
|
119
|
-
width: A.value * b.dataset.length +
|
|
118
|
+
}), A = c(e.value.style.chart.stripWidth), W = c(e.value.style.chart.height), I = c(e.value.style.chart.plots.radius), P = c({
|
|
119
|
+
width: A.value * b.dataset.length + y.value.left + y.value.right,
|
|
120
120
|
height: e.value.style.chart.height
|
|
121
|
-
}), a =
|
|
122
|
-
const t = A.value * b.dataset.length +
|
|
121
|
+
}), a = p(() => {
|
|
122
|
+
const t = A.value * b.dataset.length + y.value.left + y.value.right;
|
|
123
123
|
return {
|
|
124
|
-
left:
|
|
125
|
-
right: t -
|
|
126
|
-
top:
|
|
127
|
-
bottom: W.value -
|
|
124
|
+
left: y.value.left,
|
|
125
|
+
right: t - y.value.right,
|
|
126
|
+
top: y.value.top,
|
|
127
|
+
bottom: W.value - y.value.bottom,
|
|
128
128
|
width: A.value * b.dataset.length,
|
|
129
|
-
height: W.value -
|
|
129
|
+
height: W.value - y.value.top - y.value.bottom,
|
|
130
130
|
stripWidth: A.value,
|
|
131
131
|
absoluteHeight: W.value,
|
|
132
132
|
absoluteWidth: t
|
|
133
133
|
};
|
|
134
|
-
}),
|
|
134
|
+
}), M = p(() => w.value ? b.dataset.map((t, o) => {
|
|
135
135
|
const l = Q();
|
|
136
136
|
return {
|
|
137
137
|
...t,
|
|
138
138
|
id: l,
|
|
139
|
-
color: t.color ?
|
|
140
|
-
plots: t.plots.map((
|
|
141
|
-
...
|
|
139
|
+
color: t.color ? ye(t.color) : ie.value[o] || L[o] || L[o % L.length],
|
|
140
|
+
plots: t.plots.map((s) => ({
|
|
141
|
+
...s,
|
|
142
142
|
parentId: l,
|
|
143
|
-
color: t.color ?
|
|
143
|
+
color: t.color ? ye(t.color) : ie.value[o] || L[o] || L[o % L.length],
|
|
144
144
|
id: Q()
|
|
145
|
-
})).sort((
|
|
145
|
+
})).sort((s, u) => s.value - u.value)
|
|
146
146
|
};
|
|
147
|
-
}) : null), k =
|
|
147
|
+
}) : null), k = p(() => (M.value || []).map((t, o) => ({
|
|
148
148
|
...t,
|
|
149
149
|
plots: t.plots.map((l) => ({
|
|
150
150
|
...l,
|
|
151
151
|
x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
|
|
152
152
|
}))
|
|
153
|
-
}))),
|
|
153
|
+
}))), Ce = p(() => Math.max(...k.value.map((t) => t.plots.length))), J = p(() => {
|
|
154
154
|
const t = k.value.flatMap((o) => o.plots.map((l) => l.value));
|
|
155
155
|
return {
|
|
156
156
|
max: Math.max(...t),
|
|
157
157
|
min: Math.min(...t)
|
|
158
158
|
};
|
|
159
|
-
}), _ =
|
|
159
|
+
}), _ = p(() => De(J.value.min < 0 ? J.value.min : 0, J.value.max, e.value.style.chart.grid.scaleSteps)), we = p(() => (k.value || []).map((t, o) => ({
|
|
160
160
|
...t,
|
|
161
161
|
plots: t.plots.map((l) => ({
|
|
162
162
|
...l,
|
|
163
163
|
y: a.value.bottom - (l.value + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min)) * a.value.height
|
|
164
164
|
}))
|
|
165
|
-
}))),
|
|
165
|
+
}))), ne = p(() => _.value.ticks.map((t) => ({
|
|
166
166
|
y: a.value.bottom - a.value.height * ((t + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min))),
|
|
167
167
|
x1: a.value.left,
|
|
168
168
|
x2: a.value.right,
|
|
169
169
|
value: t
|
|
170
170
|
}))), q = c(null), n = c(null);
|
|
171
|
-
function
|
|
172
|
-
q.value = { datapoint: t, seriesIndex: o, config: e.value, series:
|
|
171
|
+
function _e({ datapoint: t, seriesIndex: o }) {
|
|
172
|
+
q.value = { datapoint: t, seriesIndex: o, config: e.value, series: M.value }, j.value = !0, n.value = t;
|
|
173
173
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
174
|
-
if (
|
|
174
|
+
if (fe(l) && He(() => l({
|
|
175
175
|
seriesIndex: o,
|
|
176
176
|
datapoint: t,
|
|
177
|
-
series:
|
|
177
|
+
series: M.value,
|
|
178
178
|
config: e.value
|
|
179
179
|
})))
|
|
180
180
|
Y.value = l({
|
|
181
181
|
seriesIndex: o,
|
|
182
182
|
datapoint: t,
|
|
183
|
-
series:
|
|
183
|
+
series: M.value,
|
|
184
184
|
config: e.value
|
|
185
185
|
});
|
|
186
186
|
else {
|
|
187
|
-
let
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
187
|
+
let s = "";
|
|
188
|
+
s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, s += `<div>${ee(
|
|
189
|
+
e.value.style.chart.labels.formatter,
|
|
190
|
+
t.value,
|
|
191
|
+
B({
|
|
192
|
+
p: e.value.style.chart.labels.prefix,
|
|
193
|
+
v: t.value,
|
|
194
|
+
s: e.value.style.chart.labels.suffix,
|
|
195
|
+
r: e.value.style.chart.tooltip.roundingValue
|
|
196
|
+
}),
|
|
197
|
+
{ datapoint: t, seriesIndex: o }
|
|
198
|
+
)}</div>`, Y.value = `<div>${s}</div>`;
|
|
194
199
|
}
|
|
195
200
|
}
|
|
196
|
-
const D =
|
|
197
|
-
const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((
|
|
198
|
-
name: `${l.name} - ${
|
|
199
|
-
color:
|
|
200
|
-
}))), o = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((
|
|
201
|
+
const D = p(() => {
|
|
202
|
+
const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((s, u) => u.value - s.value).map((s) => ({
|
|
203
|
+
name: `${l.name} - ${s.name}`,
|
|
204
|
+
color: s.color
|
|
205
|
+
}))), o = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((s, u) => u.value - s.value).map((s) => s.value));
|
|
201
206
|
return { head: t, body: o };
|
|
202
207
|
});
|
|
203
|
-
function
|
|
204
|
-
|
|
205
|
-
const t = D.value.head.map((
|
|
206
|
-
|
|
207
|
-
], [D.value.body[
|
|
208
|
-
|
|
208
|
+
function ce() {
|
|
209
|
+
Ne(() => {
|
|
210
|
+
const t = D.value.head.map((s, u) => [[
|
|
211
|
+
s.name
|
|
212
|
+
], [D.value.body[u]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(t), l = Re(o);
|
|
213
|
+
Ue({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
209
214
|
});
|
|
210
215
|
}
|
|
211
|
-
const G =
|
|
216
|
+
const G = p(() => {
|
|
212
217
|
const t = [
|
|
213
218
|
e.value.table.columnNames.series,
|
|
214
219
|
e.value.table.columnNames.value
|
|
215
|
-
], o = D.value.head.map((
|
|
216
|
-
const E =
|
|
220
|
+
], o = D.value.head.map((u, $) => {
|
|
221
|
+
const E = B({
|
|
217
222
|
p: e.value.style.chart.labels.prefix,
|
|
218
|
-
v: D.value.body[
|
|
223
|
+
v: D.value.body[$],
|
|
219
224
|
s: e.value.style.chart.labels.suffix,
|
|
220
225
|
r: e.value.table.td.roundingValue
|
|
221
226
|
});
|
|
222
227
|
return [
|
|
223
228
|
{
|
|
224
|
-
color:
|
|
225
|
-
name:
|
|
229
|
+
color: u.color,
|
|
230
|
+
name: u.name
|
|
226
231
|
},
|
|
227
232
|
E
|
|
228
233
|
];
|
|
@@ -249,43 +254,43 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
249
254
|
config: l
|
|
250
255
|
};
|
|
251
256
|
}), N = c(!1);
|
|
252
|
-
function
|
|
253
|
-
N.value = t,
|
|
257
|
+
function $e(t) {
|
|
258
|
+
N.value = t, te.value += 1;
|
|
254
259
|
}
|
|
255
|
-
function
|
|
260
|
+
function Te() {
|
|
256
261
|
return k.value;
|
|
257
262
|
}
|
|
258
|
-
function ce() {
|
|
259
|
-
h.value.showTable = !h.value.showTable;
|
|
260
|
-
}
|
|
261
263
|
function ve() {
|
|
262
|
-
|
|
264
|
+
d.value.showTable = !d.value.showTable;
|
|
263
265
|
}
|
|
264
266
|
function he() {
|
|
265
|
-
|
|
267
|
+
d.value.dataLabels.show = !d.value.dataLabels.show;
|
|
268
|
+
}
|
|
269
|
+
function de() {
|
|
270
|
+
d.value.showTooltip = !d.value.showTooltip;
|
|
266
271
|
}
|
|
267
|
-
return
|
|
268
|
-
getData:
|
|
269
|
-
generatePdf:
|
|
270
|
-
generateCsv:
|
|
271
|
-
generateImage:
|
|
272
|
-
toggleTable:
|
|
273
|
-
toggleLabels:
|
|
274
|
-
toggleTooltip:
|
|
275
|
-
}), (t, o) => (
|
|
272
|
+
return ge({
|
|
273
|
+
getData: Te,
|
|
274
|
+
generatePdf: re,
|
|
275
|
+
generateCsv: ce,
|
|
276
|
+
generateImage: ue,
|
|
277
|
+
toggleTable: ve,
|
|
278
|
+
toggleLabels: he,
|
|
279
|
+
toggleTooltip: de
|
|
280
|
+
}), (t, o) => (r(), i("div", {
|
|
276
281
|
ref_key: "stripPlotChart",
|
|
277
282
|
ref: S,
|
|
278
283
|
class: O(`vue-ui-strip-plot ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
279
284
|
style: V(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
280
285
|
id: `strip-plot_${X.value}`
|
|
281
286
|
}, [
|
|
282
|
-
e.value.style.chart.title.text ? (
|
|
287
|
+
e.value.style.chart.title.text ? (r(), i("div", {
|
|
283
288
|
key: 0,
|
|
284
289
|
ref_key: "chartTitle",
|
|
285
|
-
ref:
|
|
290
|
+
ref: le,
|
|
286
291
|
style: V(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
|
|
287
292
|
}, [
|
|
288
|
-
K(
|
|
293
|
+
K(Ye, {
|
|
289
294
|
config: {
|
|
290
295
|
title: {
|
|
291
296
|
cy: "donut-div-title",
|
|
@@ -298,13 +303,13 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
298
303
|
}
|
|
299
304
|
}, null, 8, ["config"])
|
|
300
305
|
], 4)) : v("", !0),
|
|
301
|
-
e.value.userOptions.show && w.value ? (
|
|
306
|
+
e.value.userOptions.show && w.value ? (r(), H(qe, {
|
|
302
307
|
ref: "details",
|
|
303
|
-
key: `user_option_${
|
|
308
|
+
key: `user_option_${te.value}`,
|
|
304
309
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
305
310
|
color: e.value.style.chart.color,
|
|
306
|
-
isPrinting:
|
|
307
|
-
isImaging:
|
|
311
|
+
isPrinting: h(oe),
|
|
312
|
+
isImaging: h(se),
|
|
308
313
|
uid: X.value,
|
|
309
314
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
310
315
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -313,18 +318,18 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
313
318
|
hasTable: e.value.userOptions.buttons.table,
|
|
314
319
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
315
320
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
316
|
-
isTooltip:
|
|
321
|
+
isTooltip: d.value.showTooltip,
|
|
317
322
|
isFullscreen: N.value,
|
|
318
323
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
319
324
|
chartElement: S.value,
|
|
320
|
-
onToggleFullscreen:
|
|
321
|
-
onGeneratePdf:
|
|
322
|
-
onGenerateCsv:
|
|
323
|
-
onGenerateImage:
|
|
324
|
-
onToggleTable:
|
|
325
|
-
onToggleLabels:
|
|
326
|
-
onToggleTooltip:
|
|
327
|
-
},
|
|
325
|
+
onToggleFullscreen: $e,
|
|
326
|
+
onGeneratePdf: h(re),
|
|
327
|
+
onGenerateCsv: ce,
|
|
328
|
+
onGenerateImage: h(ue),
|
|
329
|
+
onToggleTable: ve,
|
|
330
|
+
onToggleLabels: he,
|
|
331
|
+
onToggleTooltip: de
|
|
332
|
+
}, Se({ _: 2 }, [
|
|
328
333
|
t.$slots.optionTooltip ? {
|
|
329
334
|
name: "optionTooltip",
|
|
330
335
|
fn: f(() => [
|
|
@@ -369,22 +374,22 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
369
374
|
} : void 0,
|
|
370
375
|
t.$slots.optionFullscreen ? {
|
|
371
376
|
name: "optionFullscreen",
|
|
372
|
-
fn: f(({ toggleFullscreen: l, isFullscreen:
|
|
373
|
-
m(t.$slots, "optionFullscreen",
|
|
377
|
+
fn: f(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
378
|
+
m(t.$slots, "optionFullscreen", R(U({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
374
379
|
]),
|
|
375
380
|
key: "6"
|
|
376
381
|
} : void 0
|
|
377
382
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
|
|
378
|
-
w.value ? (
|
|
383
|
+
w.value ? (r(), i("svg", {
|
|
379
384
|
key: 2,
|
|
380
|
-
xmlns:
|
|
385
|
+
xmlns: h(Ge),
|
|
381
386
|
class: O({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
382
|
-
viewBox: `0 0 ${
|
|
387
|
+
viewBox: `0 0 ${P.value.width <= 0 ? 10 : P.value.width} ${P.value.height <= 0 ? 10 : P.value.height}`,
|
|
383
388
|
style: V(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};`)
|
|
384
389
|
}, [
|
|
385
|
-
e.value.style.chart.grid.show ? (
|
|
386
|
-
e.value.style.chart.grid.horizontalGrid.show ? (
|
|
387
|
-
(
|
|
390
|
+
e.value.style.chart.grid.show ? (r(), i("g", st, [
|
|
391
|
+
e.value.style.chart.grid.horizontalGrid.show ? (r(), i("g", rt, [
|
|
392
|
+
(r(!0), i(g, null, C(ne.value, (l) => (r(), i("line", {
|
|
388
393
|
x1: l.x1,
|
|
389
394
|
x2: l.x2,
|
|
390
395
|
y1: l.y,
|
|
@@ -393,19 +398,19 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
393
398
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
394
399
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
|
|
395
400
|
"stroke-linecap": "round"
|
|
396
|
-
}, null, 8,
|
|
401
|
+
}, null, 8, ut))), 256))
|
|
397
402
|
])) : v("", !0),
|
|
398
|
-
e.value.style.chart.grid.verticalGrid.show ? (
|
|
399
|
-
(
|
|
400
|
-
x1: a.value.left + (
|
|
401
|
-
x2: a.value.left + (
|
|
403
|
+
e.value.style.chart.grid.verticalGrid.show ? (r(), i("g", it, [
|
|
404
|
+
(r(!0), i(g, null, C(k.value, (l, s) => (r(), i("line", {
|
|
405
|
+
x1: a.value.left + (s + 1) * a.value.stripWidth,
|
|
406
|
+
x2: a.value.left + (s + 1) * a.value.stripWidth,
|
|
402
407
|
y1: a.value.top,
|
|
403
408
|
y2: a.value.bottom,
|
|
404
409
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
405
410
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
406
411
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
407
412
|
"stroke-linecap": "round"
|
|
408
|
-
}, null, 8,
|
|
413
|
+
}, null, 8, nt))), 256))
|
|
409
414
|
])) : v("", !0),
|
|
410
415
|
x("line", {
|
|
411
416
|
x1: a.value.left,
|
|
@@ -415,7 +420,7 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
415
420
|
stroke: e.value.style.chart.grid.stroke,
|
|
416
421
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
417
422
|
"stroke-linecap": "round"
|
|
418
|
-
}, null, 8,
|
|
423
|
+
}, null, 8, ct),
|
|
419
424
|
x("line", {
|
|
420
425
|
x1: a.value.left,
|
|
421
426
|
x2: a.value.right,
|
|
@@ -424,43 +429,48 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
424
429
|
stroke: e.value.style.chart.grid.stroke,
|
|
425
430
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
426
431
|
"stroke-linecap": "round"
|
|
427
|
-
}, null, 8,
|
|
432
|
+
}, null, 8, vt)
|
|
428
433
|
])) : v("", !0),
|
|
429
|
-
e.value.style.chart.labels.yAxisLabels.show ? (
|
|
434
|
+
e.value.style.chart.labels.yAxisLabels.show ? (r(!0), i(g, { key: 1 }, C(ne.value, (l, s) => (r(), i("text", {
|
|
430
435
|
x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
431
436
|
y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
432
437
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
433
438
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
434
439
|
"text-anchor": "end"
|
|
435
|
-
},
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
440
|
+
}, T(h(ee)(
|
|
441
|
+
e.value.style.chart.labels.formatter,
|
|
442
|
+
l.value,
|
|
443
|
+
h(B)({
|
|
444
|
+
p: e.value.style.chart.labels.prefix,
|
|
445
|
+
v: l.value,
|
|
446
|
+
s: e.value.style.chart.labels.suffix,
|
|
447
|
+
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
448
|
+
}),
|
|
449
|
+
{ datapoint: l, seriesIndex: s }
|
|
450
|
+
)), 9, ht))), 256)) : v("", !0),
|
|
451
|
+
e.value.style.chart.labels.xAxisLabels.show ? (r(!0), i(g, { key: 2 }, C(k.value, (l, s) => (r(), i("text", {
|
|
452
|
+
x: a.value.left + (s + 1) * a.value.stripWidth - a.value.stripWidth / 2,
|
|
443
453
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
444
454
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
445
455
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
446
456
|
"text-anchor": "middle"
|
|
447
|
-
},
|
|
448
|
-
e.value.style.chart.labels.axis.yLabel ? (
|
|
457
|
+
}, T(l.name), 9, dt))), 256)) : v("", !0),
|
|
458
|
+
e.value.style.chart.labels.axis.yLabel ? (r(), i("text", {
|
|
449
459
|
key: 3,
|
|
450
460
|
fill: e.value.style.chart.labels.axis.color,
|
|
451
461
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
452
462
|
transform: `translate(${e.value.style.chart.labels.axis.fontSize + e.value.style.chart.labels.axis.yLabelOffsetX}, ${a.value.top + a.value.height / 2}) rotate(-90)`,
|
|
453
463
|
"text-anchor": "middle"
|
|
454
|
-
},
|
|
455
|
-
e.value.style.chart.labels.axis.xLabel ? (
|
|
464
|
+
}, T(e.value.style.chart.labels.axis.yLabel), 9, pt)) : v("", !0),
|
|
465
|
+
e.value.style.chart.labels.axis.xLabel ? (r(), i("text", {
|
|
456
466
|
key: 4,
|
|
457
467
|
fill: e.value.style.chart.labels.axis.color,
|
|
458
468
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
459
469
|
x: a.value.left + a.value.width / 2,
|
|
460
470
|
y: a.value.absoluteHeight,
|
|
461
471
|
"text-anchor": "middle"
|
|
462
|
-
},
|
|
463
|
-
n.value ? (
|
|
472
|
+
}, T(e.value.style.chart.labels.axis.xLabel), 9, yt)) : v("", !0),
|
|
473
|
+
n.value ? (r(), i(g, { key: 5 }, [
|
|
464
474
|
x("line", {
|
|
465
475
|
x1: a.value.left,
|
|
466
476
|
x2: a.value.right,
|
|
@@ -469,82 +479,87 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
469
479
|
stroke: n.value.color,
|
|
470
480
|
"stroke-width": 1,
|
|
471
481
|
class: O({ "select-circle": e.value.useCssAnimation })
|
|
472
|
-
}, null, 10,
|
|
482
|
+
}, null, 10, ft),
|
|
473
483
|
x("circle", {
|
|
474
484
|
cx: a.value.left,
|
|
475
485
|
cy: n.value.y,
|
|
476
486
|
r: 3,
|
|
477
487
|
fill: n.value.color,
|
|
478
488
|
class: O({ "select-circle": e.value.useCssAnimation })
|
|
479
|
-
}, null, 10,
|
|
489
|
+
}, null, 10, bt),
|
|
480
490
|
x("circle", {
|
|
481
491
|
cx: a.value.right,
|
|
482
492
|
cy: n.value.y,
|
|
483
493
|
r: 3,
|
|
484
494
|
fill: n.value.color,
|
|
485
495
|
class: O({ "select-circle": e.value.useCssAnimation })
|
|
486
|
-
}, null, 10,
|
|
496
|
+
}, null, 10, mt)
|
|
487
497
|
], 64)) : v("", !0),
|
|
488
498
|
x("defs", null, [
|
|
489
|
-
(
|
|
499
|
+
(r(!0), i(g, null, C(k.value, (l) => (r(), i("radialGradient", {
|
|
490
500
|
id: l.id,
|
|
491
501
|
fy: "30%"
|
|
492
502
|
}, [
|
|
493
503
|
x("stop", {
|
|
494
504
|
offset: "10%",
|
|
495
|
-
"stop-color":
|
|
496
|
-
}, null, 8,
|
|
505
|
+
"stop-color": h(Ee)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
506
|
+
}, null, 8, xt),
|
|
497
507
|
x("stop", {
|
|
498
508
|
offset: "90%",
|
|
499
|
-
"stop-color":
|
|
500
|
-
}, null, 8,
|
|
509
|
+
"stop-color": h(Ve)(l.color, 0.1)
|
|
510
|
+
}, null, 8, kt),
|
|
501
511
|
x("stop", {
|
|
502
512
|
offset: "100%",
|
|
503
513
|
"stop-color": l.color
|
|
504
|
-
}, null, 8,
|
|
505
|
-
], 8,
|
|
514
|
+
}, null, 8, Ct)
|
|
515
|
+
], 8, gt))), 256))
|
|
506
516
|
]),
|
|
507
|
-
(
|
|
508
|
-
(
|
|
509
|
-
plot: { x:
|
|
510
|
-
radius: n.value && n.value.id ===
|
|
517
|
+
(r(!0), i(g, null, C(we.value, (l, s) => (r(), i(g, null, [
|
|
518
|
+
(r(!0), i(g, null, C(l.plots, (u, $) => (r(), H(et, ze({
|
|
519
|
+
plot: { x: u.x, y: ae.value ? u.y : a.value.top },
|
|
520
|
+
radius: n.value && n.value.id === u.id ? I.value * 1.5 : I.value,
|
|
511
521
|
shape: e.value.style.chart.plots.shape,
|
|
512
522
|
stroke: e.value.style.chart.plots.stroke,
|
|
513
523
|
strokeWidth: e.value.style.chart.plots.strokeWidth,
|
|
514
524
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
515
|
-
onMouseenter: (E) =>
|
|
525
|
+
onMouseenter: (E) => _e({ datapoint: u, seriesIndex: $ }),
|
|
516
526
|
onMouseleave: o[0] || (o[0] = (E) => {
|
|
517
527
|
j.value = !1, n.value = null;
|
|
518
528
|
}),
|
|
519
|
-
onClick: (E) =>
|
|
520
|
-
style: `transition: all 0.2s ease-in-out; opacity:${n.value ? n.value.id ===
|
|
529
|
+
onClick: (E) => xe("selectDatapoint", u),
|
|
530
|
+
style: `transition: all 0.2s ease-in-out; opacity:${n.value ? n.value.id === u.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${z.value ? `transition-delay:${$ * 50}ms` : ""}`,
|
|
521
531
|
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && z.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !z.value }
|
|
522
532
|
}, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
|
|
523
|
-
|
|
524
|
-
(
|
|
525
|
-
|
|
533
|
+
d.value.dataLabels.show ? (r(), i("g", wt, [
|
|
534
|
+
(r(!0), i(g, null, C(l.plots, (u, $) => (r(), i(g, null, [
|
|
535
|
+
$ === l.plots.length - 1 || n.value && n.value.id === u.id && !d.value.showTooltip ? (r(), i("text", {
|
|
526
536
|
key: 0,
|
|
527
|
-
x:
|
|
528
|
-
y:
|
|
537
|
+
x: u.x,
|
|
538
|
+
y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY - I.value * (n.value && n.value.id === u.id && !d.value.showTooltip ? 2 : 1.5),
|
|
529
539
|
"font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
|
|
530
540
|
fill: e.value.style.chart.labels.bestPlotLabel.color,
|
|
531
541
|
"text-anchor": "middle",
|
|
532
542
|
style: V(`opacity:${e.value.useCssAnimation && z.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
|
|
533
|
-
},
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
543
|
+
}, T(u.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? h(ee)(
|
|
544
|
+
e.value.style.chart.labels.formatter,
|
|
545
|
+
u.value,
|
|
546
|
+
h(B)({
|
|
547
|
+
p: `(${e.value.style.chart.labels.prefix}`,
|
|
548
|
+
v: u.value,
|
|
549
|
+
s: `${e.value.style.chart.labels.suffix})`,
|
|
550
|
+
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
551
|
+
}),
|
|
552
|
+
{ datapoint: u, seriesIndex: $ }
|
|
553
|
+
) : ""), 13, _t)) : v("", !0)
|
|
539
554
|
], 64))), 256))
|
|
540
555
|
])) : v("", !0)
|
|
541
556
|
], 64))), 256)),
|
|
542
557
|
m(t.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
543
|
-
], 14,
|
|
544
|
-
t.$slots.watermark ? (
|
|
545
|
-
m(t.$slots, "watermark",
|
|
558
|
+
], 14, ot)) : v("", !0),
|
|
559
|
+
t.$slots.watermark ? (r(), i("div", $t, [
|
|
560
|
+
m(t.$slots, "watermark", R(U({ isPrinting: h(oe) || h(se) })), void 0, !0)
|
|
546
561
|
])) : v("", !0),
|
|
547
|
-
w.value ? v("", !0) : (
|
|
562
|
+
w.value ? v("", !0) : (r(), H(Ze, {
|
|
548
563
|
key: 4,
|
|
549
564
|
config: {
|
|
550
565
|
type: "stripPlot",
|
|
@@ -556,8 +571,8 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
556
571
|
}
|
|
557
572
|
}
|
|
558
573
|
}, null, 8, ["config"])),
|
|
559
|
-
K(
|
|
560
|
-
show:
|
|
574
|
+
K(Ke, {
|
|
575
|
+
show: d.value.showTooltip && j.value,
|
|
561
576
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
562
577
|
color: e.value.style.chart.tooltip.color,
|
|
563
578
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -569,21 +584,21 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
569
584
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
570
585
|
parent: S.value,
|
|
571
586
|
content: Y.value,
|
|
572
|
-
isCustom:
|
|
587
|
+
isCustom: h(fe)(e.value.style.chart.tooltip.customFormat)
|
|
573
588
|
}, {
|
|
574
589
|
"tooltip-before": f(() => [
|
|
575
|
-
m(t.$slots, "tooltip-before",
|
|
590
|
+
m(t.$slots, "tooltip-before", R(U({ ...q.value })), void 0, !0)
|
|
576
591
|
]),
|
|
577
592
|
"tooltip-after": f(() => [
|
|
578
|
-
m(t.$slots, "tooltip-after",
|
|
593
|
+
m(t.$slots, "tooltip-after", R(U({ ...q.value })), void 0, !0)
|
|
579
594
|
]),
|
|
580
595
|
_: 3
|
|
581
596
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
582
|
-
w.value ? (
|
|
597
|
+
w.value ? (r(), H(tt, {
|
|
583
598
|
key: 5,
|
|
584
599
|
hideDetails: "",
|
|
585
600
|
config: {
|
|
586
|
-
open:
|
|
601
|
+
open: d.value.showTable,
|
|
587
602
|
maxHeight: 1e4,
|
|
588
603
|
body: {
|
|
589
604
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -596,31 +611,31 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = { key: 0 },
|
|
|
596
611
|
}
|
|
597
612
|
}, {
|
|
598
613
|
content: f(() => [
|
|
599
|
-
K(
|
|
614
|
+
K(Qe, {
|
|
600
615
|
colNames: G.value.colNames,
|
|
601
616
|
head: G.value.head,
|
|
602
617
|
body: G.value.body,
|
|
603
618
|
config: G.value.config,
|
|
604
619
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
605
|
-
onClose: o[1] || (o[1] = (l) =>
|
|
620
|
+
onClose: o[1] || (o[1] = (l) => d.value.showTable = !1)
|
|
606
621
|
}, {
|
|
607
622
|
th: f(({ th: l }) => [
|
|
608
623
|
x("div", {
|
|
609
624
|
innerHTML: l,
|
|
610
625
|
style: { display: "flex", "align-items": "center" }
|
|
611
|
-
}, null, 8,
|
|
626
|
+
}, null, 8, Tt)
|
|
612
627
|
]),
|
|
613
628
|
td: f(({ td: l }) => [
|
|
614
|
-
|
|
629
|
+
Ae(T(l.name || l), 1)
|
|
615
630
|
]),
|
|
616
631
|
_: 1
|
|
617
632
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
618
633
|
]),
|
|
619
634
|
_: 1
|
|
620
635
|
}, 8, ["config"])) : v("", !0)
|
|
621
|
-
], 14,
|
|
636
|
+
], 14, at));
|
|
622
637
|
}
|
|
623
|
-
},
|
|
638
|
+
}, Et = /* @__PURE__ */ lt(Lt, [["__scopeId", "data-v-22897da0"]]);
|
|
624
639
|
export {
|
|
625
|
-
|
|
640
|
+
Et as default
|
|
626
641
|
};
|