vue-data-ui 2.3.74 → 2.3.76
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-DK6F5Fq3.cjs → Arrow-D7M4-bW7.cjs} +1 -1
- package/dist/{Arrow-CYCrAySW.js → Arrow-DY9RKUmG.js} +1 -1
- package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon-DB7Apwv_.cjs} +1 -1
- package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-rwm-10Hu.js} +1 -1
- package/dist/{DataTable-BNFSPjhv.cjs → DataTable-CsNozyz7.cjs} +1 -1
- package/dist/{DataTable-CKdV-L0e.js → DataTable-e2fnfjXV.js} +2 -2
- package/dist/{Legend-Cj7T-DqJ.js → Legend-5cQ0xZjK.js} +1 -1
- package/dist/{Legend-Do2kcWFT.cjs → Legend-DgFd-O0m.cjs} +1 -1
- package/dist/{Shape-Bo8ZjViG.js → Shape-CiTElr_0.js} +1 -1
- package/dist/{Shape-DRDUAe_o.cjs → Shape-yPECDLiP.cjs} +1 -1
- package/dist/{Slicer-D8jHSP7U.cjs → Slicer-DaZgCKV7.cjs} +1 -1
- package/dist/{Slicer-4nGKvUYF.js → Slicer-DwBBu3kB.js} +2 -2
- package/dist/{Title-D5cATWsL.cjs → Title-3EduyW4p.cjs} +1 -1
- package/dist/{Title-DZjnxQdN.js → Title-gUz6GDA3.js} +1 -1
- package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DScSrYXJ.cjs} +1 -1
- package/dist/{Tooltip--kgFEVZs.js → Tooltip-DfSM1mNP.js} +1 -1
- package/dist/{index-D_32ZGWd.cjs → index-BTgtr0F8.cjs} +1 -1
- package/dist/{index-C8SH0f2u.js → index-CaV1s-yZ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-CisbRRo_.cjs} +1 -1
- package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-tWCzZrLx.js} +1 -1
- package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-DzTaA1eh.cjs} +1 -1
- package/dist/{usePrinter-Dj50NAxo.js → usePrinter-rvJyT65A.js} +1 -1
- package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-BGkWRPUY.cjs} +1 -1
- package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-BO89gTtq.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-CcTMIHiB.js} +499 -486
- package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +19 -0
- package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-7e4Myhcg.cjs} +1 -1
- package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-CpzGQ63y.js} +3 -3
- package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-D71ZLkVV.js} +182 -169
- package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-B8Iu6cYt.js} +1 -1
- package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-BKQrweqm.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Bx4QVkY0.js} +295 -279
- package/dist/vue-ui-candlestick-DAc1FQ-i.cjs +2 -0
- package/dist/vue-ui-carousel-table-uFRqkghO.cjs +1 -0
- package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-xuQG6bcH.js} +146 -129
- package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Bo6rDcU7.js} +215 -204
- package/dist/vue-ui-chestnut-DJkm72oD.cjs +6 -0
- package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-BQbeuW-k.cjs} +1 -1
- package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-C0KOqEOq.js} +2 -2
- package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-0Hsjx-bO.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BT71xS7P.js} +2 -2
- package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-BRqpKYvD.js} +2 -2
- package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-C2ReH6w0.cjs} +1 -1
- package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-NQW-3prf.js} +376 -362
- package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-jbXQQGTc.js} +270 -255
- package/dist/vue-ui-donut-v81suIOX.cjs +1 -0
- package/dist/vue-ui-dumbbell-DXQSg6wa.cjs +9 -0
- package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-Dyz8xdtC.js} +232 -213
- package/dist/vue-ui-flow-BL3JWW1m.js +481 -0
- package/dist/vue-ui-flow-UqSNwH9d.cjs +1 -0
- package/dist/vue-ui-galaxy-DTQWGvRH.cjs +1 -0
- package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-Dx9nsOuM.js} +175 -162
- package/dist/vue-ui-gauge-BUB7H0qA.cjs +1 -0
- package/dist/vue-ui-gauge-CLaKGi0-.js +500 -0
- package/dist/vue-ui-gizmo-Kitfqu0J.cjs +1 -0
- package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-of-4s5HG.js} +66 -53
- package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BIzjOMXO.js} +157 -143
- package/dist/vue-ui-heatmap-DUw2350O.cjs +1 -0
- package/dist/vue-ui-kpi-By3YPwgo.js +98 -0
- package/dist/vue-ui-kpi-DyL2Hcz-.cjs +1 -0
- package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-C048-8Kd.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-DnK3V2z2.js} +2 -2
- package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-BfhbIqa5.js} +177 -167
- package/dist/vue-ui-molecule-D-ahly6R.cjs +1 -0
- package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +1 -0
- package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-DXxEKr3x.js} +172 -161
- package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BdUdHFd-.js} +377 -364
- package/dist/vue-ui-nested-donuts-C7qM_FRw.cjs +17 -0
- package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-D0vF5jBt.js} +191 -177
- package/dist/vue-ui-onion-DX3gofXZ.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-CTZY-pY8.js} +298 -284
- package/dist/vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs +8 -0
- package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-ByY8GP3y.js} +347 -334
- package/dist/vue-ui-quadrant-CgApzie6.cjs +1 -0
- package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-DTxJ__7j.js} +483 -469
- package/dist/vue-ui-quick-chart-DWZEgUJF.cjs +15 -0
- package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-5UBmAU6W.js} +202 -189
- package/dist/vue-ui-radar-DEED0rTz.cjs +1 -0
- package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-Ce_Ewqtl.cjs} +1 -1
- package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-Dr6jquxh.js} +2 -2
- package/dist/vue-ui-relation-circle-BU8i2miI.js +322 -0
- package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +1 -0
- package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-Ctl3Jywh.js} +203 -189
- package/dist/vue-ui-rings-OQ8a1Ruw.cjs +2 -0
- package/dist/vue-ui-scatter-B8StSjt8.cjs +1 -0
- package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-BwJ_koWT.js} +284 -270
- package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-BS3L5vhN.js} +1 -1
- package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-bAVk3EPl.cjs} +1 -1
- package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-CMQzFTs9.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-CvFX_ExX.js} +2 -2
- package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CGYZpNt9.js} +2 -2
- package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-sF8QIso1.cjs} +1 -1
- package/dist/vue-ui-spark-trend-B4XSSKl9.js +263 -0
- package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +1 -0
- package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BbsJGDMZ.js} +95 -87
- package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +1 -0
- package/dist/vue-ui-sparkgauge-BKyQoI7C.cjs +1 -0
- package/dist/vue-ui-sparkgauge-D4w_i_QJ.js +178 -0
- package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-CYybrW-6.js} +79 -68
- package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +1 -0
- package/dist/vue-ui-sparkline-CDowaDRS.cjs +1 -0
- package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DjN1SVdO.js} +142 -123
- package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-BLMhJxaN.js} +120 -104
- package/dist/vue-ui-sparkstackbar-BZ2bESBi.cjs +1 -0
- package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-BTKOHUYc.js} +235 -222
- package/dist/vue-ui-stackbar-DRHaJFR8.cjs +6 -0
- package/dist/vue-ui-strip-plot-DxQxFbWg.cjs +1 -0
- package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-o6GTsGAT.js} +246 -232
- package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-BFIj1Rgh.cjs} +1 -1
- package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-CnquiTpr.js} +1 -1
- package/dist/vue-ui-table-heatmap-CCGK12Fa.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CZRIwv-Q.js} +106 -95
- package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-B3zEeq6Z.js} +151 -138
- package/dist/vue-ui-table-sparkline-DYmgfHz4.cjs +1 -0
- package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BopiohUh.js} +116 -104
- package/dist/vue-ui-thermometer-CzPRBt6c.cjs +1 -0
- package/dist/vue-ui-timer-Bonw69Lt.cjs +64 -0
- package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-C7WkW8hK.js} +191 -176
- package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BurRtFv4.js} +115 -103
- package/dist/vue-ui-tiremarks-DkIGfq8t.cjs +1 -0
- package/dist/vue-ui-treemap-CalhJmnp.cjs +1 -0
- package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-DWy4voIr.js} +251 -237
- package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-CJW1YhtY.js} +314 -299
- package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +4 -0
- package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-DB7X6nTS.js} +285 -265
- package/dist/vue-ui-waffle-faQMBYNx.cjs +1 -0
- package/dist/vue-ui-wheel-BzjbGP6a.cjs +1 -0
- package/dist/vue-ui-wheel-CryKap2E.js +255 -0
- package/dist/vue-ui-word-cloud-COqUkvei.js +512 -0
- package/dist/vue-ui-word-cloud-DJN9I4q4.cjs +1 -0
- package/dist/vue-ui-xy-BmA0tspd.cjs +3 -0
- package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-b1Z_HPsx.js} +300 -274
- package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-BgbLnY5B.js} +345 -327
- package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +9 -0
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
- package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
- package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
- package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
- package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
- package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
- package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
- package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
- package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
- package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
- package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
- package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
- package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
- package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
- package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
- package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
- package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
- package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
- package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
- package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
- package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
- package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
- package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
- package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
- package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
- package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
- package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
- package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
- package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
- package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
- package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
- package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
- package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
- package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
- package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
- package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
- package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
- package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
- package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
- package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
- package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
- package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
- package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { computed as p, ref 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 n, watch as ze, onMounted as Ne, onBeforeUnmount as Ae, openBlock as s, createElementBlock as i, normalizeClass as F, normalizeStyle as B, createBlock as P, createCommentVNode as v, unref as h, createSlots as Oe, withCtx as b, renderSlot as m, normalizeProps as H, guardReactiveProps as R, Fragment as g, renderList as C, createElementVNode as x, toDisplayString as T, mergeProps as Fe, createVNode as We, createTextVNode as Ie, nextTick as Me } from "vue";
|
|
2
|
+
import { u as De, c as K, t as Ge, a as Ee, p as L, o as Ve, e as Q, g as be, b as Be, d as me, s as He, B as Re, f as U, X as Ue, i as Z, l as Xe, h as je, x as ge, y as Ye, q as Je, r as qe, D as Ke } from "./index-CaV1s-yZ.js";
|
|
3
|
+
import { t as Qe, u as Ze } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as et } from "./Title-gUz6GDA3.js";
|
|
5
|
+
import { u as tt, U as lt } from "./usePrinter-rvJyT65A.js";
|
|
6
|
+
import { _ as at } from "./Tooltip-DfSM1mNP.js";
|
|
7
|
+
import { D as ot } from "./DataTable-e2fnfjXV.js";
|
|
8
|
+
import st from "./vue-ui-skeleton-CvFX_ExX.js";
|
|
9
|
+
import { _ as rt } from "./Shape-CiTElr_0.js";
|
|
10
|
+
import ut from "./vue-ui-accordion-CpzGQ63y.js";
|
|
11
|
+
import { u as xe } from "./useNestedProp-tWCzZrLx.js";
|
|
12
|
+
import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 }, dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pt = { key: 1 }, yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mt = ["x", "y", "fill", "font-size"], gt = ["x", "y", "font-size", "fill"], xt = ["fill", "font-size", "transform"], kt = ["fill", "font-size", "x", "y"], Ct = ["x1", "x2", "y1", "y2", "stroke"], wt = ["cx", "cy", "fill"], _t = ["cx", "cy", "fill"], $t = ["id"], Tt = ["stop-color"], Lt = ["stop-color"], St = ["stop-color"], Pt = { key: 0 }, zt = ["x", "y", "font-size", "fill"], Nt = {
|
|
14
14
|
key: 3,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
16
|
+
}, At = ["innerHTML"], Ot = {
|
|
17
17
|
__name: "vue-ui-strip-plot",
|
|
18
18
|
props: {
|
|
19
19
|
config: {
|
|
@@ -30,62 +30,73 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
emits: ["selectDatapoint"],
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
33
|
+
setup(ke, { expose: Ce, emit: we }) {
|
|
34
|
+
const y = ke, { vue_ui_strip_plot: _e } = De(), w = p({
|
|
35
35
|
get() {
|
|
36
|
-
return !!
|
|
36
|
+
return !!y.dataset && y.dataset.length;
|
|
37
37
|
},
|
|
38
38
|
set(t) {
|
|
39
39
|
return t;
|
|
40
40
|
}
|
|
41
|
-
}), X =
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
}), X = n(K()), ee = n(0), j = n(!1), Y = n(""), z = n(null), te = n(null), le = n(!1), ae = n(0), oe = n(0), e = p({
|
|
42
|
+
get: () => se(),
|
|
43
|
+
set: (t) => t
|
|
44
|
+
});
|
|
45
|
+
function se() {
|
|
46
|
+
const t = xe({
|
|
47
|
+
userConfig: y.config,
|
|
48
|
+
defaultConfig: _e
|
|
45
49
|
});
|
|
46
50
|
return t.theme ? {
|
|
47
|
-
...
|
|
48
|
-
userConfig:
|
|
51
|
+
...xe({
|
|
52
|
+
userConfig: Ge.vue_ui_strip_plot[t.theme] || y.config,
|
|
49
53
|
defaultConfig: t
|
|
50
54
|
}),
|
|
51
|
-
customPalette:
|
|
55
|
+
customPalette: Ee[t.theme] || L
|
|
52
56
|
} : t;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
}
|
|
58
|
+
ze(() => y.config, (t) => {
|
|
59
|
+
e.value = se(), re(), ae.value += 1, oe.value += 1;
|
|
60
|
+
}, { deep: !0 });
|
|
61
|
+
const W = n(null);
|
|
62
|
+
Ne(() => {
|
|
63
|
+
re();
|
|
64
|
+
});
|
|
65
|
+
function re() {
|
|
66
|
+
if (Ve(y.dataset) ? Q({
|
|
56
67
|
componentName: "VueUiStripPlot",
|
|
57
68
|
type: "dataset"
|
|
58
|
-
}) :
|
|
59
|
-
|
|
69
|
+
}) : y.dataset.forEach((t, o) => {
|
|
70
|
+
be({
|
|
60
71
|
datasetObject: t,
|
|
61
72
|
requiredAttributes: ["name", "plots"]
|
|
62
73
|
}).forEach((l) => {
|
|
63
|
-
w.value = !1,
|
|
74
|
+
w.value = !1, Q({
|
|
64
75
|
componentName: "VueUiStripPlot",
|
|
65
76
|
type: "datasetSerieAttribute",
|
|
66
77
|
property: l,
|
|
67
78
|
index: o
|
|
68
79
|
});
|
|
69
|
-
}), t.plots && t.plots.forEach((l,
|
|
70
|
-
|
|
80
|
+
}), t.plots && t.plots.forEach((l, r) => {
|
|
81
|
+
be({
|
|
71
82
|
datasetObject: l,
|
|
72
83
|
requiredAttributes: ["name", "value"]
|
|
73
84
|
}).forEach((u) => {
|
|
74
|
-
w.value = !1,
|
|
85
|
+
w.value = !1, Q({
|
|
75
86
|
componentName: "VueUiStripPlot",
|
|
76
87
|
type: "datasetSerieAttribute",
|
|
77
88
|
property: u,
|
|
78
|
-
index: `${o},${
|
|
89
|
+
index: `${o},${r}`
|
|
79
90
|
});
|
|
80
91
|
});
|
|
81
92
|
});
|
|
82
93
|
}), e.value.responsive) {
|
|
83
|
-
const t =
|
|
84
|
-
const { width: o, height: l } =
|
|
85
|
-
chart:
|
|
86
|
-
title: e.value.style.chart.title.text ?
|
|
94
|
+
const t = Qe(() => {
|
|
95
|
+
const { width: o, height: l } = Ze({
|
|
96
|
+
chart: z.value,
|
|
97
|
+
title: e.value.style.chart.title.text ? te.value : null
|
|
87
98
|
});
|
|
88
|
-
|
|
99
|
+
I.value = l, S.value.width = o, S.value.height = l, A.value = (o - f.value.left - f.value.right) / y.dataset.length, M.value = Ke({
|
|
89
100
|
relator: Math.min(l, o),
|
|
90
101
|
adjuster: 600,
|
|
91
102
|
source: e.value.style.chart.plots.radius,
|
|
@@ -93,100 +104,101 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
93
104
|
fallback: 6
|
|
94
105
|
});
|
|
95
106
|
});
|
|
96
|
-
|
|
107
|
+
W.value = new ResizeObserver(t), W.value.observe(z.value.parentNode);
|
|
97
108
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
},
|
|
101
|
-
}
|
|
102
|
-
|
|
109
|
+
le.value = !0, setTimeout(() => {
|
|
110
|
+
N.value = !1;
|
|
111
|
+
}, $e.value * 50);
|
|
112
|
+
}
|
|
113
|
+
Ae(() => {
|
|
114
|
+
W.value && W.value.disconnect();
|
|
103
115
|
});
|
|
104
|
-
const { isPrinting:
|
|
116
|
+
const { isPrinting: ue, isImaging: ie, generatePdf: ne, generateImage: ce } = tt({
|
|
105
117
|
elementId: `strip-plot_${X.value}`,
|
|
106
118
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
107
|
-
}),
|
|
119
|
+
}), ve = p(() => Be(e.value.customPalette)), N = n(e.value.useCssAnimation), d = n({
|
|
108
120
|
showTable: e.value.table.show,
|
|
109
121
|
dataLabels: {
|
|
110
122
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
111
123
|
},
|
|
112
124
|
showTooltip: e.value.style.chart.tooltip.show
|
|
113
|
-
}),
|
|
125
|
+
}), f = n({
|
|
114
126
|
top: e.value.style.chart.padding.top,
|
|
115
127
|
bottom: e.value.style.chart.padding.bottom,
|
|
116
128
|
left: e.value.style.chart.padding.left,
|
|
117
129
|
right: e.value.style.chart.padding.right
|
|
118
|
-
}),
|
|
119
|
-
width:
|
|
130
|
+
}), A = n(e.value.style.chart.stripWidth), I = n(e.value.style.chart.height), M = n(e.value.style.chart.plots.radius), S = n({
|
|
131
|
+
width: A.value * y.dataset.length + f.value.left + f.value.right,
|
|
120
132
|
height: e.value.style.chart.height
|
|
121
133
|
}), a = p(() => {
|
|
122
|
-
const t =
|
|
134
|
+
const t = A.value * y.dataset.length + f.value.left + f.value.right;
|
|
123
135
|
return {
|
|
124
|
-
left:
|
|
125
|
-
right: t -
|
|
126
|
-
top:
|
|
127
|
-
bottom:
|
|
128
|
-
width:
|
|
129
|
-
height:
|
|
130
|
-
stripWidth:
|
|
131
|
-
absoluteHeight:
|
|
136
|
+
left: f.value.left,
|
|
137
|
+
right: t - f.value.right,
|
|
138
|
+
top: f.value.top,
|
|
139
|
+
bottom: I.value - f.value.bottom,
|
|
140
|
+
width: A.value * y.dataset.length,
|
|
141
|
+
height: I.value - f.value.top - f.value.bottom,
|
|
142
|
+
stripWidth: A.value,
|
|
143
|
+
absoluteHeight: I.value,
|
|
132
144
|
absoluteWidth: t
|
|
133
145
|
};
|
|
134
|
-
}),
|
|
135
|
-
const l =
|
|
146
|
+
}), D = p(() => w.value ? y.dataset.map((t, o) => {
|
|
147
|
+
const l = K();
|
|
136
148
|
return {
|
|
137
149
|
...t,
|
|
138
150
|
id: l,
|
|
139
|
-
color: t.color ?
|
|
140
|
-
plots: t.plots.map((
|
|
141
|
-
...
|
|
142
|
-
value:
|
|
151
|
+
color: t.color ? me(t.color) : ve.value[o] || L[o] || L[o % L.length],
|
|
152
|
+
plots: t.plots.map((r) => ({
|
|
153
|
+
...r,
|
|
154
|
+
value: He(r.value),
|
|
143
155
|
parentId: l,
|
|
144
|
-
color: t.color ?
|
|
145
|
-
id:
|
|
146
|
-
})).sort((
|
|
156
|
+
color: t.color ? me(t.color) : ve.value[o] || L[o] || L[o % L.length],
|
|
157
|
+
id: K()
|
|
158
|
+
})).sort((r, u) => r.value - u.value)
|
|
147
159
|
};
|
|
148
|
-
}) : null), k = p(() => (
|
|
160
|
+
}) : null), k = p(() => (D.value || []).map((t, o) => ({
|
|
149
161
|
...t,
|
|
150
162
|
plots: t.plots.map((l) => ({
|
|
151
163
|
...l,
|
|
152
164
|
x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
|
|
153
165
|
}))
|
|
154
|
-
}))),
|
|
166
|
+
}))), $e = p(() => Math.max(...k.value.map((t) => t.plots.length))), J = p(() => {
|
|
155
167
|
const t = k.value.flatMap((o) => o.plots.map((l) => l.value));
|
|
156
168
|
return {
|
|
157
169
|
max: Math.max(...t),
|
|
158
170
|
min: Math.min(...t)
|
|
159
171
|
};
|
|
160
|
-
}), _ = p(() =>
|
|
172
|
+
}), _ = p(() => Re(J.value.min < 0 ? J.value.min : 0, J.value.max, e.value.style.chart.grid.scaleSteps)), Te = p(() => (k.value || []).map((t, o) => ({
|
|
161
173
|
...t,
|
|
162
174
|
plots: t.plots.map((l) => ({
|
|
163
175
|
...l,
|
|
164
176
|
y: a.value.bottom - (l.value + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min)) * a.value.height
|
|
165
177
|
}))
|
|
166
|
-
}))),
|
|
178
|
+
}))), he = p(() => _.value.ticks.map((t) => ({
|
|
167
179
|
y: a.value.bottom - a.value.height * ((t + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min))),
|
|
168
180
|
x1: a.value.left,
|
|
169
181
|
x2: a.value.right,
|
|
170
182
|
value: t
|
|
171
|
-
}))), q =
|
|
172
|
-
function
|
|
173
|
-
q.value = { datapoint: t, seriesIndex: o, config: e.value, series:
|
|
183
|
+
}))), q = n(null), c = n(null);
|
|
184
|
+
function Le({ datapoint: t, seriesIndex: o }) {
|
|
185
|
+
q.value = { datapoint: t, seriesIndex: o, config: e.value, series: D.value }, j.value = !0, c.value = t;
|
|
174
186
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
175
|
-
if (
|
|
187
|
+
if (ge(l) && Ye(() => l({
|
|
176
188
|
seriesIndex: o,
|
|
177
189
|
datapoint: t,
|
|
178
|
-
series:
|
|
190
|
+
series: D.value,
|
|
179
191
|
config: e.value
|
|
180
192
|
})))
|
|
181
193
|
Y.value = l({
|
|
182
194
|
seriesIndex: o,
|
|
183
195
|
datapoint: t,
|
|
184
|
-
series:
|
|
196
|
+
series: D.value,
|
|
185
197
|
config: e.value
|
|
186
198
|
});
|
|
187
199
|
else {
|
|
188
|
-
let
|
|
189
|
-
|
|
200
|
+
let r = "";
|
|
201
|
+
r += `<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>`, r += `<div>${Z(
|
|
190
202
|
e.value.style.chart.labels.formatter,
|
|
191
203
|
t.value,
|
|
192
204
|
U({
|
|
@@ -196,32 +208,32 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
196
208
|
r: e.value.style.chart.tooltip.roundingValue
|
|
197
209
|
}),
|
|
198
210
|
{ datapoint: t, seriesIndex: o }
|
|
199
|
-
)}</div>`, Y.value = `<div>${
|
|
211
|
+
)}</div>`, Y.value = `<div>${r}</div>`;
|
|
200
212
|
}
|
|
201
213
|
}
|
|
202
|
-
const
|
|
203
|
-
const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((
|
|
204
|
-
name: `${l.name} - ${
|
|
205
|
-
color:
|
|
206
|
-
}))), o = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((
|
|
214
|
+
const G = p(() => {
|
|
215
|
+
const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, u) => u.value - r.value).map((r) => ({
|
|
216
|
+
name: `${l.name} - ${r.name}`,
|
|
217
|
+
color: r.color
|
|
218
|
+
}))), o = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, u) => u.value - r.value).map((r) => r.value));
|
|
207
219
|
return { head: t, body: o };
|
|
208
220
|
});
|
|
209
|
-
function
|
|
210
|
-
|
|
211
|
-
const t =
|
|
212
|
-
|
|
213
|
-
], [
|
|
214
|
-
|
|
221
|
+
function de() {
|
|
222
|
+
Me(() => {
|
|
223
|
+
const t = G.value.head.map((r, u) => [[
|
|
224
|
+
r.name
|
|
225
|
+
], [G.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 = Je(o);
|
|
226
|
+
qe({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
215
227
|
});
|
|
216
228
|
}
|
|
217
|
-
const
|
|
229
|
+
const E = p(() => {
|
|
218
230
|
const t = [
|
|
219
231
|
e.value.table.columnNames.series,
|
|
220
232
|
e.value.table.columnNames.value
|
|
221
|
-
], o =
|
|
222
|
-
const
|
|
233
|
+
], o = G.value.head.map((u, $) => {
|
|
234
|
+
const V = U({
|
|
223
235
|
p: e.value.style.chart.labels.prefix,
|
|
224
|
-
v:
|
|
236
|
+
v: G.value.body[$],
|
|
225
237
|
s: e.value.style.chart.labels.suffix,
|
|
226
238
|
r: e.value.table.td.roundingValue
|
|
227
239
|
});
|
|
@@ -230,7 +242,7 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
230
242
|
color: u.color,
|
|
231
243
|
name: u.name
|
|
232
244
|
},
|
|
233
|
-
|
|
245
|
+
V
|
|
234
246
|
];
|
|
235
247
|
}), l = {
|
|
236
248
|
th: {
|
|
@@ -254,44 +266,45 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
254
266
|
body: o,
|
|
255
267
|
config: l
|
|
256
268
|
};
|
|
257
|
-
}),
|
|
258
|
-
function
|
|
259
|
-
|
|
269
|
+
}), O = n(!1);
|
|
270
|
+
function Se(t) {
|
|
271
|
+
O.value = t, ee.value += 1;
|
|
260
272
|
}
|
|
261
|
-
function
|
|
273
|
+
function Pe() {
|
|
262
274
|
return k.value;
|
|
263
275
|
}
|
|
264
|
-
function
|
|
276
|
+
function pe() {
|
|
265
277
|
d.value.showTable = !d.value.showTable;
|
|
266
278
|
}
|
|
267
|
-
function
|
|
279
|
+
function ye() {
|
|
268
280
|
d.value.dataLabels.show = !d.value.dataLabels.show;
|
|
269
281
|
}
|
|
270
|
-
function
|
|
282
|
+
function fe() {
|
|
271
283
|
d.value.showTooltip = !d.value.showTooltip;
|
|
272
284
|
}
|
|
273
|
-
return
|
|
274
|
-
getData:
|
|
275
|
-
generatePdf:
|
|
276
|
-
generateCsv:
|
|
277
|
-
generateImage:
|
|
278
|
-
toggleTable:
|
|
279
|
-
toggleLabels:
|
|
280
|
-
toggleTooltip:
|
|
281
|
-
}), (t, o) => (
|
|
285
|
+
return Ce({
|
|
286
|
+
getData: Pe,
|
|
287
|
+
generatePdf: ne,
|
|
288
|
+
generateCsv: de,
|
|
289
|
+
generateImage: ce,
|
|
290
|
+
toggleTable: pe,
|
|
291
|
+
toggleLabels: ye,
|
|
292
|
+
toggleTooltip: fe
|
|
293
|
+
}), (t, o) => (s(), i("div", {
|
|
282
294
|
ref_key: "stripPlotChart",
|
|
283
|
-
ref:
|
|
284
|
-
class:
|
|
285
|
-
style:
|
|
295
|
+
ref: z,
|
|
296
|
+
class: F(`vue-ui-strip-plot ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
297
|
+
style: B(`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%" : ""}`),
|
|
286
298
|
id: `strip-plot_${X.value}`
|
|
287
299
|
}, [
|
|
288
|
-
e.value.style.chart.title.text ? (
|
|
300
|
+
e.value.style.chart.title.text ? (s(), i("div", {
|
|
289
301
|
key: 0,
|
|
290
302
|
ref_key: "chartTitle",
|
|
291
|
-
ref:
|
|
292
|
-
style:
|
|
303
|
+
ref: te,
|
|
304
|
+
style: B(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
|
|
293
305
|
}, [
|
|
294
|
-
|
|
306
|
+
(s(), P(et, {
|
|
307
|
+
key: `title_${ae.value}`,
|
|
295
308
|
config: {
|
|
296
309
|
title: {
|
|
297
310
|
cy: "donut-div-title",
|
|
@@ -302,15 +315,15 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
302
315
|
...e.value.style.chart.title.subtitle
|
|
303
316
|
}
|
|
304
317
|
}
|
|
305
|
-
}, null, 8, ["config"])
|
|
318
|
+
}, null, 8, ["config"]))
|
|
306
319
|
], 4)) : v("", !0),
|
|
307
|
-
e.value.userOptions.show && w.value ? (
|
|
320
|
+
e.value.userOptions.show && w.value ? (s(), P(lt, {
|
|
308
321
|
ref: "details",
|
|
309
|
-
key: `user_option_${
|
|
322
|
+
key: `user_option_${ee.value}`,
|
|
310
323
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
311
324
|
color: e.value.style.chart.color,
|
|
312
|
-
isPrinting: h(
|
|
313
|
-
isImaging: h(
|
|
325
|
+
isPrinting: h(ue),
|
|
326
|
+
isImaging: h(ie),
|
|
314
327
|
uid: X.value,
|
|
315
328
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
316
329
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -320,77 +333,77 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
320
333
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
321
334
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
322
335
|
isTooltip: d.value.showTooltip,
|
|
323
|
-
isFullscreen:
|
|
336
|
+
isFullscreen: O.value,
|
|
324
337
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
325
|
-
chartElement:
|
|
326
|
-
onToggleFullscreen:
|
|
327
|
-
onGeneratePdf: h(
|
|
328
|
-
onGenerateCsv:
|
|
329
|
-
onGenerateImage: h(
|
|
330
|
-
onToggleTable:
|
|
331
|
-
onToggleLabels:
|
|
332
|
-
onToggleTooltip:
|
|
333
|
-
},
|
|
338
|
+
chartElement: z.value,
|
|
339
|
+
onToggleFullscreen: Se,
|
|
340
|
+
onGeneratePdf: h(ne),
|
|
341
|
+
onGenerateCsv: de,
|
|
342
|
+
onGenerateImage: h(ce),
|
|
343
|
+
onToggleTable: pe,
|
|
344
|
+
onToggleLabels: ye,
|
|
345
|
+
onToggleTooltip: fe
|
|
346
|
+
}, Oe({ _: 2 }, [
|
|
334
347
|
t.$slots.optionTooltip ? {
|
|
335
348
|
name: "optionTooltip",
|
|
336
|
-
fn:
|
|
349
|
+
fn: b(() => [
|
|
337
350
|
m(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
338
351
|
]),
|
|
339
352
|
key: "0"
|
|
340
353
|
} : void 0,
|
|
341
354
|
t.$slots.optionPdf ? {
|
|
342
355
|
name: "optionPdf",
|
|
343
|
-
fn:
|
|
356
|
+
fn: b(() => [
|
|
344
357
|
m(t.$slots, "optionPdf", {}, void 0, !0)
|
|
345
358
|
]),
|
|
346
359
|
key: "1"
|
|
347
360
|
} : void 0,
|
|
348
361
|
t.$slots.optionCsv ? {
|
|
349
362
|
name: "optionCsv",
|
|
350
|
-
fn:
|
|
363
|
+
fn: b(() => [
|
|
351
364
|
m(t.$slots, "optionCsv", {}, void 0, !0)
|
|
352
365
|
]),
|
|
353
366
|
key: "2"
|
|
354
367
|
} : void 0,
|
|
355
368
|
t.$slots.optionImg ? {
|
|
356
369
|
name: "optionImg",
|
|
357
|
-
fn:
|
|
370
|
+
fn: b(() => [
|
|
358
371
|
m(t.$slots, "optionImg", {}, void 0, !0)
|
|
359
372
|
]),
|
|
360
373
|
key: "3"
|
|
361
374
|
} : void 0,
|
|
362
375
|
t.$slots.optionTable ? {
|
|
363
376
|
name: "optionTable",
|
|
364
|
-
fn:
|
|
377
|
+
fn: b(() => [
|
|
365
378
|
m(t.$slots, "optionTable", {}, void 0, !0)
|
|
366
379
|
]),
|
|
367
380
|
key: "4"
|
|
368
381
|
} : void 0,
|
|
369
382
|
t.$slots.optionLabels ? {
|
|
370
383
|
name: "optionLabels",
|
|
371
|
-
fn:
|
|
384
|
+
fn: b(() => [
|
|
372
385
|
m(t.$slots, "optionLabels", {}, void 0, !0)
|
|
373
386
|
]),
|
|
374
387
|
key: "5"
|
|
375
388
|
} : void 0,
|
|
376
389
|
t.$slots.optionFullscreen ? {
|
|
377
390
|
name: "optionFullscreen",
|
|
378
|
-
fn:
|
|
379
|
-
m(t.$slots, "optionFullscreen", H(R({ toggleFullscreen: l, isFullscreen:
|
|
391
|
+
fn: b(({ toggleFullscreen: l, isFullscreen: r }) => [
|
|
392
|
+
m(t.$slots, "optionFullscreen", H(R({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
|
|
380
393
|
]),
|
|
381
394
|
key: "6"
|
|
382
395
|
} : void 0
|
|
383
396
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
|
|
384
|
-
w.value ? (
|
|
397
|
+
w.value ? (s(), i("svg", {
|
|
385
398
|
key: 2,
|
|
386
|
-
xmlns: h(
|
|
387
|
-
class:
|
|
388
|
-
viewBox: `0 0 ${
|
|
389
|
-
style:
|
|
399
|
+
xmlns: h(Ue),
|
|
400
|
+
class: F({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
401
|
+
viewBox: `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`,
|
|
402
|
+
style: B(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};`)
|
|
390
403
|
}, [
|
|
391
|
-
e.value.style.chart.grid.show ? (
|
|
392
|
-
e.value.style.chart.grid.horizontalGrid.show ? (
|
|
393
|
-
(
|
|
404
|
+
e.value.style.chart.grid.show ? (s(), i("g", vt, [
|
|
405
|
+
e.value.style.chart.grid.horizontalGrid.show ? (s(), i("g", ht, [
|
|
406
|
+
(s(!0), i(g, null, C(he.value, (l) => (s(), i("line", {
|
|
394
407
|
x1: l.x1,
|
|
395
408
|
x2: l.x2,
|
|
396
409
|
y1: l.y,
|
|
@@ -399,19 +412,19 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
399
412
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
400
413
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
|
|
401
414
|
"stroke-linecap": "round"
|
|
402
|
-
}, null, 8,
|
|
415
|
+
}, null, 8, dt))), 256))
|
|
403
416
|
])) : v("", !0),
|
|
404
|
-
e.value.style.chart.grid.verticalGrid.show ? (
|
|
405
|
-
(
|
|
406
|
-
x1: a.value.left + (
|
|
407
|
-
x2: a.value.left + (
|
|
417
|
+
e.value.style.chart.grid.verticalGrid.show ? (s(), i("g", pt, [
|
|
418
|
+
(s(!0), i(g, null, C(k.value, (l, r) => (s(), i("line", {
|
|
419
|
+
x1: a.value.left + (r + 1) * a.value.stripWidth,
|
|
420
|
+
x2: a.value.left + (r + 1) * a.value.stripWidth,
|
|
408
421
|
y1: a.value.top,
|
|
409
422
|
y2: a.value.bottom,
|
|
410
423
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
411
424
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
412
425
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
413
426
|
"stroke-linecap": "round"
|
|
414
|
-
}, null, 8,
|
|
427
|
+
}, null, 8, yt))), 256))
|
|
415
428
|
])) : v("", !0),
|
|
416
429
|
x("line", {
|
|
417
430
|
x1: a.value.left,
|
|
@@ -421,7 +434,7 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
421
434
|
stroke: e.value.style.chart.grid.stroke,
|
|
422
435
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
423
436
|
"stroke-linecap": "round"
|
|
424
|
-
}, null, 8,
|
|
437
|
+
}, null, 8, ft),
|
|
425
438
|
x("line", {
|
|
426
439
|
x1: a.value.left,
|
|
427
440
|
x2: a.value.right,
|
|
@@ -430,15 +443,15 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
430
443
|
stroke: e.value.style.chart.grid.stroke,
|
|
431
444
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
432
445
|
"stroke-linecap": "round"
|
|
433
|
-
}, null, 8,
|
|
446
|
+
}, null, 8, bt)
|
|
434
447
|
])) : v("", !0),
|
|
435
|
-
e.value.style.chart.labels.yAxisLabels.show ? (
|
|
448
|
+
e.value.style.chart.labels.yAxisLabels.show ? (s(!0), i(g, { key: 1 }, C(he.value, (l, r) => (s(), i("text", {
|
|
436
449
|
x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
437
450
|
y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
438
451
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
439
452
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
440
453
|
"text-anchor": "end"
|
|
441
|
-
}, T(h(
|
|
454
|
+
}, T(h(Z)(
|
|
442
455
|
e.value.style.chart.labels.formatter,
|
|
443
456
|
l.value,
|
|
444
457
|
h(U)({
|
|
@@ -447,101 +460,101 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
447
460
|
s: e.value.style.chart.labels.suffix,
|
|
448
461
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
449
462
|
}),
|
|
450
|
-
{ datapoint: l, seriesIndex:
|
|
451
|
-
)), 9,
|
|
452
|
-
e.value.style.chart.labels.xAxisLabels.show ? (
|
|
453
|
-
x: a.value.left + (
|
|
463
|
+
{ datapoint: l, seriesIndex: r }
|
|
464
|
+
)), 9, mt))), 256)) : v("", !0),
|
|
465
|
+
e.value.style.chart.labels.xAxisLabels.show ? (s(!0), i(g, { key: 2 }, C(k.value, (l, r) => (s(), i("text", {
|
|
466
|
+
x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
|
|
454
467
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
455
468
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
456
469
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
457
470
|
"text-anchor": "middle"
|
|
458
|
-
}, T(l.name), 9,
|
|
459
|
-
e.value.style.chart.labels.axis.yLabel ? (
|
|
471
|
+
}, T(l.name), 9, gt))), 256)) : v("", !0),
|
|
472
|
+
e.value.style.chart.labels.axis.yLabel ? (s(), i("text", {
|
|
460
473
|
key: 3,
|
|
461
474
|
fill: e.value.style.chart.labels.axis.color,
|
|
462
475
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
463
476
|
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)`,
|
|
464
477
|
"text-anchor": "middle"
|
|
465
|
-
}, T(e.value.style.chart.labels.axis.yLabel), 9,
|
|
466
|
-
e.value.style.chart.labels.axis.xLabel ? (
|
|
478
|
+
}, T(e.value.style.chart.labels.axis.yLabel), 9, xt)) : v("", !0),
|
|
479
|
+
e.value.style.chart.labels.axis.xLabel ? (s(), i("text", {
|
|
467
480
|
key: 4,
|
|
468
481
|
fill: e.value.style.chart.labels.axis.color,
|
|
469
482
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
470
483
|
x: a.value.left + a.value.width / 2,
|
|
471
484
|
y: a.value.absoluteHeight,
|
|
472
485
|
"text-anchor": "middle"
|
|
473
|
-
}, T(e.value.style.chart.labels.axis.xLabel), 9,
|
|
474
|
-
|
|
486
|
+
}, T(e.value.style.chart.labels.axis.xLabel), 9, kt)) : v("", !0),
|
|
487
|
+
c.value ? (s(), i(g, { key: 5 }, [
|
|
475
488
|
x("line", {
|
|
476
489
|
x1: a.value.left,
|
|
477
490
|
x2: a.value.right,
|
|
478
|
-
y1:
|
|
479
|
-
y2:
|
|
480
|
-
stroke:
|
|
491
|
+
y1: c.value.y,
|
|
492
|
+
y2: c.value.y,
|
|
493
|
+
stroke: c.value.color,
|
|
481
494
|
"stroke-width": 1,
|
|
482
|
-
class:
|
|
483
|
-
}, null, 10,
|
|
495
|
+
class: F({ "select-circle": e.value.useCssAnimation })
|
|
496
|
+
}, null, 10, Ct),
|
|
484
497
|
x("circle", {
|
|
485
498
|
cx: a.value.left,
|
|
486
|
-
cy:
|
|
499
|
+
cy: c.value.y,
|
|
487
500
|
r: 3,
|
|
488
|
-
fill:
|
|
489
|
-
class:
|
|
490
|
-
}, null, 10,
|
|
501
|
+
fill: c.value.color,
|
|
502
|
+
class: F({ "select-circle": e.value.useCssAnimation })
|
|
503
|
+
}, null, 10, wt),
|
|
491
504
|
x("circle", {
|
|
492
505
|
cx: a.value.right,
|
|
493
|
-
cy:
|
|
506
|
+
cy: c.value.y,
|
|
494
507
|
r: 3,
|
|
495
|
-
fill:
|
|
496
|
-
class:
|
|
497
|
-
}, null, 10,
|
|
508
|
+
fill: c.value.color,
|
|
509
|
+
class: F({ "select-circle": e.value.useCssAnimation })
|
|
510
|
+
}, null, 10, _t)
|
|
498
511
|
], 64)) : v("", !0),
|
|
499
512
|
x("defs", null, [
|
|
500
|
-
(
|
|
513
|
+
(s(!0), i(g, null, C(k.value, (l) => (s(), i("radialGradient", {
|
|
501
514
|
id: l.id,
|
|
502
515
|
fy: "30%"
|
|
503
516
|
}, [
|
|
504
517
|
x("stop", {
|
|
505
518
|
offset: "10%",
|
|
506
|
-
"stop-color": h(
|
|
507
|
-
}, null, 8,
|
|
519
|
+
"stop-color": h(Xe)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
520
|
+
}, null, 8, Tt),
|
|
508
521
|
x("stop", {
|
|
509
522
|
offset: "90%",
|
|
510
|
-
"stop-color": h(
|
|
511
|
-
}, null, 8,
|
|
523
|
+
"stop-color": h(je)(l.color, 0.1)
|
|
524
|
+
}, null, 8, Lt),
|
|
512
525
|
x("stop", {
|
|
513
526
|
offset: "100%",
|
|
514
527
|
"stop-color": l.color
|
|
515
|
-
}, null, 8,
|
|
516
|
-
], 8,
|
|
528
|
+
}, null, 8, St)
|
|
529
|
+
], 8, $t))), 256))
|
|
517
530
|
]),
|
|
518
|
-
(
|
|
519
|
-
(
|
|
520
|
-
plot: { x: u.x, y:
|
|
521
|
-
radius:
|
|
531
|
+
(s(!0), i(g, null, C(Te.value, (l, r) => (s(), i(g, null, [
|
|
532
|
+
(s(!0), i(g, null, C(l.plots, (u, $) => (s(), P(rt, Fe({
|
|
533
|
+
plot: { x: u.x, y: le.value ? u.y : a.value.top },
|
|
534
|
+
radius: c.value && c.value.id === u.id ? M.value * 1.5 : M.value,
|
|
522
535
|
shape: e.value.style.chart.plots.shape,
|
|
523
536
|
stroke: e.value.style.chart.plots.stroke,
|
|
524
537
|
strokeWidth: e.value.style.chart.plots.strokeWidth,
|
|
525
538
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
526
|
-
onMouseenter: (
|
|
527
|
-
onMouseleave: o[0] || (o[0] = (
|
|
528
|
-
j.value = !1,
|
|
539
|
+
onMouseenter: (V) => Le({ datapoint: u, seriesIndex: $ }),
|
|
540
|
+
onMouseleave: o[0] || (o[0] = (V) => {
|
|
541
|
+
j.value = !1, c.value = null;
|
|
529
542
|
}),
|
|
530
|
-
onClick: (
|
|
531
|
-
style: `transition: all 0.2s ease-in-out; opacity:${
|
|
532
|
-
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation &&
|
|
543
|
+
onClick: (V) => we("selectDatapoint", u),
|
|
544
|
+
style: `transition: all 0.2s ease-in-out; opacity:${c.value ? c.value.id === u.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${N.value ? `transition-delay:${$ * 50}ms` : ""}`,
|
|
545
|
+
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && N.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !N.value }
|
|
533
546
|
}, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
|
|
534
|
-
d.value.dataLabels.show ? (
|
|
535
|
-
(
|
|
536
|
-
$ === l.plots.length - 1 ||
|
|
547
|
+
d.value.dataLabels.show ? (s(), i("g", Pt, [
|
|
548
|
+
(s(!0), i(g, null, C(l.plots, (u, $) => (s(), i(g, null, [
|
|
549
|
+
$ === l.plots.length - 1 || c.value && c.value.id === u.id && !d.value.showTooltip ? (s(), i("text", {
|
|
537
550
|
key: 0,
|
|
538
551
|
x: u.x,
|
|
539
|
-
y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY -
|
|
552
|
+
y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY - M.value * (c.value && c.value.id === u.id && !d.value.showTooltip ? 2 : 1.5),
|
|
540
553
|
"font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
|
|
541
554
|
fill: e.value.style.chart.labels.bestPlotLabel.color,
|
|
542
555
|
"text-anchor": "middle",
|
|
543
|
-
style:
|
|
544
|
-
}, T(u.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? h(
|
|
556
|
+
style: B(`opacity:${e.value.useCssAnimation && N.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
|
|
557
|
+
}, T(u.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? h(Z)(
|
|
545
558
|
e.value.style.chart.labels.formatter,
|
|
546
559
|
u.value,
|
|
547
560
|
h(U)({
|
|
@@ -551,16 +564,16 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
551
564
|
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
552
565
|
}),
|
|
553
566
|
{ datapoint: u, seriesIndex: $ }
|
|
554
|
-
) : ""), 13,
|
|
567
|
+
) : ""), 13, zt)) : v("", !0)
|
|
555
568
|
], 64))), 256))
|
|
556
569
|
])) : v("", !0)
|
|
557
570
|
], 64))), 256)),
|
|
558
571
|
m(t.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
559
|
-
], 14,
|
|
560
|
-
t.$slots.watermark ? (
|
|
561
|
-
m(t.$slots, "watermark", H(R({ isPrinting: h(
|
|
572
|
+
], 14, ct)) : v("", !0),
|
|
573
|
+
t.$slots.watermark ? (s(), i("div", Nt, [
|
|
574
|
+
m(t.$slots, "watermark", H(R({ isPrinting: h(ue) || h(ie) })), void 0, !0)
|
|
562
575
|
])) : v("", !0),
|
|
563
|
-
w.value ? v("", !0) : (
|
|
576
|
+
w.value ? v("", !0) : (s(), P(st, {
|
|
564
577
|
key: 4,
|
|
565
578
|
config: {
|
|
566
579
|
type: "stripPlot",
|
|
@@ -572,7 +585,7 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
572
585
|
}
|
|
573
586
|
}
|
|
574
587
|
}, null, 8, ["config"])),
|
|
575
|
-
|
|
588
|
+
We(at, {
|
|
576
589
|
show: d.value.showTooltip && j.value,
|
|
577
590
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
578
591
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -583,19 +596,19 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
583
596
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
584
597
|
position: e.value.style.chart.tooltip.position,
|
|
585
598
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
586
|
-
parent:
|
|
599
|
+
parent: z.value,
|
|
587
600
|
content: Y.value,
|
|
588
|
-
isCustom: h(
|
|
601
|
+
isCustom: h(ge)(e.value.style.chart.tooltip.customFormat)
|
|
589
602
|
}, {
|
|
590
|
-
"tooltip-before":
|
|
603
|
+
"tooltip-before": b(() => [
|
|
591
604
|
m(t.$slots, "tooltip-before", H(R({ ...q.value })), void 0, !0)
|
|
592
605
|
]),
|
|
593
|
-
"tooltip-after":
|
|
606
|
+
"tooltip-after": b(() => [
|
|
594
607
|
m(t.$slots, "tooltip-after", H(R({ ...q.value })), void 0, !0)
|
|
595
608
|
]),
|
|
596
609
|
_: 3
|
|
597
610
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
598
|
-
w.value ? (
|
|
611
|
+
w.value ? (s(), P(ut, {
|
|
599
612
|
key: 5,
|
|
600
613
|
hideDetails: "",
|
|
601
614
|
config: {
|
|
@@ -611,32 +624,33 @@ const ot = ["id"], st = ["xmlns", "viewBox"], rt = { key: 0 }, ut = { key: 0 },
|
|
|
611
624
|
}
|
|
612
625
|
}
|
|
613
626
|
}, {
|
|
614
|
-
content:
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
627
|
+
content: b(() => [
|
|
628
|
+
(s(), P(ot, {
|
|
629
|
+
key: `table_${oe.value}`,
|
|
630
|
+
colNames: E.value.colNames,
|
|
631
|
+
head: E.value.head,
|
|
632
|
+
body: E.value.body,
|
|
633
|
+
config: E.value.config,
|
|
620
634
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
621
635
|
onClose: o[1] || (o[1] = (l) => d.value.showTable = !1)
|
|
622
636
|
}, {
|
|
623
|
-
th:
|
|
637
|
+
th: b(({ th: l }) => [
|
|
624
638
|
x("div", {
|
|
625
639
|
innerHTML: l,
|
|
626
640
|
style: { display: "flex", "align-items": "center" }
|
|
627
|
-
}, null, 8,
|
|
641
|
+
}, null, 8, At)
|
|
628
642
|
]),
|
|
629
|
-
td:
|
|
630
|
-
|
|
643
|
+
td: b(({ td: l }) => [
|
|
644
|
+
Ie(T(l.name || l), 1)
|
|
631
645
|
]),
|
|
632
646
|
_: 1
|
|
633
|
-
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
647
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
634
648
|
]),
|
|
635
649
|
_: 1
|
|
636
650
|
}, 8, ["config"])) : v("", !0)
|
|
637
|
-
], 14,
|
|
651
|
+
], 14, nt));
|
|
638
652
|
}
|
|
639
|
-
},
|
|
653
|
+
}, Xt = /* @__PURE__ */ it(Ot, [["__scopeId", "data-v-0d98d4cb"]]);
|
|
640
654
|
export {
|
|
641
|
-
|
|
655
|
+
Xt as default
|
|
642
656
|
};
|