vue-data-ui 2.10.11 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/dist/{Arrow-B0YRTzCj.js → Arrow-BSsIs5Aj.js} +1 -1
- package/dist/{Arrow-C6ETniRR.cjs → Arrow-BfdnOsct.cjs} +1 -1
- package/dist/{BaseIcon-V0HD2AAD.js → BaseIcon-BPehVcsN.js} +4 -3
- package/dist/{BaseIcon-CObkWSlF.cjs → BaseIcon-dtfVrHa7.cjs} +1 -1
- package/dist/{ColorPicker-BMSFl1XZ.js → ColorPicker-ByaQGf5i.js} +3 -3
- package/dist/{ColorPicker-Czm9Mx_k.cjs → ColorPicker-C-nhrZ-J.cjs} +1 -1
- package/dist/{DataTable-CVSajw4G.js → DataTable-BdekL1Hc.js} +55 -53
- package/dist/DataTable-pT39kn0W.cjs +1 -0
- package/dist/{Legend-DUZ-tBhF.cjs → Legend-C8PTNFsH.cjs} +1 -1
- package/dist/{Legend-B61dtd8W.js → Legend-HckkoJBL.js} +2 -2
- package/dist/PackageVersion-B6nxekEz.cjs +1 -0
- package/dist/{PackageVersion-DqsC6J9R.js → PackageVersion-BPCzY_N5.js} +1 -1
- package/dist/{PenAndPaper-Bqjmruhh.js → PenAndPaper-B3KDT2of.js} +3 -3
- package/dist/{PenAndPaper-CU0ABvzv.cjs → PenAndPaper-BC1d2zL5.cjs} +1 -1
- package/dist/{Shape-CWSam3QO.js → Shape-B0OqBXWl.js} +1 -1
- package/dist/{Shape-x9QWqySR.cjs → Shape-Cr-Qt6IO.cjs} +1 -1
- package/dist/{Slicer-VF0Mi4Gp.cjs → Slicer-BWr1nt8v.cjs} +1 -1
- package/dist/{Slicer-BbMNT2AI.js → Slicer-BXBqgQau.js} +3 -3
- package/dist/{Title-CxubvuEh.js → Title-Cq5kGGhS.js} +1 -1
- package/dist/{Title-LLvOAGEi.cjs → Title-GpO-QNhg.cjs} +1 -1
- package/dist/{Tooltip-C0W6IWVK.js → Tooltip-CxzDtoXn.js} +1 -1
- package/dist/{Tooltip-B1xW8AQT.cjs → Tooltip-eL97y6Ym.cjs} +1 -1
- package/dist/documentation/installation.md +1 -0
- package/dist/{dom-to-png-CNF-s1oi.cjs → dom-to-png-BeN7LHfC.cjs} +1 -1
- package/dist/{dom-to-png-D2P_vWEM.js → dom-to-png-G_nLlvER.js} +1 -1
- package/dist/{img-BDamDFQb.cjs → img-08K-Su3g.cjs} +1 -1
- package/dist/{img-DacIcr83.js → img-BzMFujbd.js} +1 -1
- package/dist/{index-CO-5OgQA.js → index-BMcwUsiG.js} +541 -457
- package/dist/{index-B7zOq_yO.cjs → index-CG-euAJp.cjs} +5 -5
- package/dist/{pdf-DflC6mtT.js → pdf-BJNBeUWV.js} +1 -1
- package/dist/{pdf-D6wHFpvv.cjs → pdf-achyloML.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +92 -5
- package/dist/types/vue-data-ui.d.ts +92 -5
- package/dist/{useNestedProp-DUH233CH.cjs → useNestedProp-DYDoE86w.cjs} +1 -1
- package/dist/{useNestedProp-D8sa_wYF.js → useNestedProp-DwQWwt5e.js} +1 -1
- package/dist/{usePrinter-u4erwqXt.cjs → usePrinter-BBqldIVF.cjs} +1 -1
- package/dist/{usePrinter-DldU0tBx.js → usePrinter-BpCNa5RW.js} +3 -3
- package/dist/{useResponsive-DQmBAoBf.cjs → useResponsive-BBkmXXaa.cjs} +1 -1
- package/dist/{useResponsive-Cw4oZ8sQ.js → useResponsive-JZ9xq-JV.js} +4 -1
- package/dist/vue-data-ui-BTz28Upr.cjs +9 -0
- package/dist/{vue-data-ui-DaG_fJyV.js → vue-data-ui-DXciuF6V.js} +115 -107
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +60 -59
- package/dist/{vue-ui-3d-bar-1L_FJakQ.cjs → vue-ui-3d-bar-Cv0XQSLU.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CKaPvMis.js → vue-ui-3d-bar-D-x0k_IG.js} +9 -9
- package/dist/{vue-ui-accordion-RRHvINsj.js → vue-ui-accordion-DKw3ZQgh.js} +3 -3
- package/dist/{vue-ui-accordion-DkOSgEPp.cjs → vue-ui-accordion-dJGHfrMl.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BsfpBP5o.js → vue-ui-age-pyramid-BKOh2L3c.js} +11 -11
- package/dist/{vue-ui-age-pyramid-BX5nAmcR.cjs → vue-ui-age-pyramid-DzQ9EYPB.cjs} +1 -1
- package/dist/{vue-ui-annotator-CSSRY4KB.js → vue-ui-annotator-BSGf2Uh1.js} +2 -2
- package/dist/{vue-ui-annotator-BCfRHpTL.cjs → vue-ui-annotator-DJDY5xOf.cjs} +1 -1
- package/dist/{vue-ui-bullet-BuoFM_Qt.cjs → vue-ui-bullet-BHaeMobd.cjs} +1 -1
- package/dist/{vue-ui-bullet-wcXiBQsu.js → vue-ui-bullet-CJLZA5Lf.js} +8 -8
- package/dist/{vue-ui-candlestick-DLPBk-z0.js → vue-ui-candlestick-BLqrtK2S.js} +12 -12
- package/dist/{vue-ui-candlestick-D_UWn-gv.cjs → vue-ui-candlestick-D5aSctEq.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-B-FxYow7.js → vue-ui-carousel-table-CvDic9rq.js} +4 -4
- package/dist/{vue-ui-carousel-table-DZWUAetO.cjs → vue-ui-carousel-table-DoQSiBlh.cjs} +1 -1
- package/dist/{vue-ui-chestnut-Ds2IXobn.cjs → vue-ui-chestnut-BW9_1uRo.cjs} +1 -1
- package/dist/{vue-ui-chestnut-D_GtQRUL.js → vue-ui-chestnut-Co3ZtHYQ.js} +8 -8
- package/dist/vue-ui-chord-CUREQYhU.cjs +16 -0
- package/dist/vue-ui-chord-XU2pSfEx.js +924 -0
- package/dist/{vue-ui-circle-pack-DZjwCJfn.cjs → vue-ui-circle-pack-Bdtr6z4Z.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-IFKy_EXs.js → vue-ui-circle-pack-DpbWAZFC.js} +10 -10
- package/dist/{vue-ui-cursor-CFcWzQ_a.cjs → vue-ui-cursor-BAMt5dcz.cjs} +1 -1
- package/dist/{vue-ui-cursor-CpXWkh96.js → vue-ui-cursor-CuvyoiLa.js} +2 -2
- package/dist/{vue-ui-dashboard-BMVLKe5Z.cjs → vue-ui-dashboard-Bvrpw4EQ.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CLULzCgo.js → vue-ui-dashboard-_LJuvqRE.js} +62 -62
- package/dist/{vue-ui-digits-VMbRXMfP.cjs → vue-ui-digits-CGzSArOS.cjs} +1 -1
- package/dist/{vue-ui-digits-B3J16TA3.js → vue-ui-digits-CeLZoNoA.js} +2 -2
- package/dist/{vue-ui-donut-BjGbzLsC.cjs → vue-ui-donut-BV_QLVp2.cjs} +1 -1
- package/dist/{vue-ui-donut-DUAbkhZV.js → vue-ui-donut-BegwljuG.js} +13 -13
- package/dist/{vue-ui-donut-evolution-BlMjAI3c.js → vue-ui-donut-evolution-CQ-1_Xak.js} +11 -11
- package/dist/{vue-ui-donut-evolution-B2MMB7lY.cjs → vue-ui-donut-evolution-euIDGiH3.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DgizrVYM.cjs → vue-ui-dumbbell-BO0h5wGp.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B_88Pzkq.js → vue-ui-dumbbell-CPylAaR8.js} +11 -11
- package/dist/{vue-ui-flow-CGYd2Iko.js → vue-ui-flow-B8fyDK8A.js} +11 -11
- package/dist/{vue-ui-flow-v5zjc5i3.cjs → vue-ui-flow-DWiA9yFS.cjs} +1 -1
- package/dist/{vue-ui-funnel-D8Ql3Fu9.js → vue-ui-funnel-BAa1OwMy.js} +10 -10
- package/dist/{vue-ui-funnel-AOnxjmTY.cjs → vue-ui-funnel-yRS_OJcF.cjs} +1 -1
- package/dist/{vue-ui-galaxy-C5XKP863.js → vue-ui-galaxy-DEZ-rfXE.js} +11 -11
- package/dist/{vue-ui-galaxy-qIl1Sp2I.cjs → vue-ui-galaxy-DF41DbY7.cjs} +1 -1
- package/dist/{vue-ui-gauge-BzmlwkZO.cjs → vue-ui-gauge-CCGMpnvM.cjs} +1 -1
- package/dist/{vue-ui-gauge-CnS0ZVac.js → vue-ui-gauge-k3ejBVZj.js} +8 -8
- package/dist/{vue-ui-gizmo-oMF4Uxgv.cjs → vue-ui-gizmo-DGRDcoNW.cjs} +1 -1
- package/dist/{vue-ui-gizmo-w7f-RuqD.js → vue-ui-gizmo-uSaL0tgk.js} +3 -3
- package/dist/{vue-ui-heatmap-DdbtuK1j.js → vue-ui-heatmap-WgeuA6rb.js} +10 -10
- package/dist/{vue-ui-heatmap-CjUYm6Y8.cjs → vue-ui-heatmap-dKn60iwF.cjs} +1 -1
- package/dist/{vue-ui-history-plot-CPEbWJv-.cjs → vue-ui-history-plot-Dnb4txKX.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DJ5eSSra.js → vue-ui-history-plot-jBlXPR4I.js} +12 -12
- package/dist/{vue-ui-kpi-BBpWvss7.cjs → vue-ui-kpi-C13Zgi4k.cjs} +1 -1
- package/dist/{vue-ui-kpi-T-hxtGRX.js → vue-ui-kpi-N3ugHMNs.js} +3 -3
- package/dist/{vue-ui-mini-loader-CnEXcdzr.cjs → vue-ui-mini-loader-BnblpH8s.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BUdcns7l.js → vue-ui-mini-loader-BukHpIuC.js} +2 -2
- package/dist/{vue-ui-molecule-9zI34I22.js → vue-ui-molecule-DQADG59C.js} +11 -11
- package/dist/{vue-ui-molecule-CXda1TRy.cjs → vue-ui-molecule-zkjb68lX.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-3FsJtJ1q.js → vue-ui-mood-radar-BdpZWnM1.js} +11 -11
- package/dist/{vue-ui-mood-radar-DCz7WxHl.cjs → vue-ui-mood-radar-oO1NjJsj.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-D5-RAGOC.js → vue-ui-nested-donuts-6EYydl-l.js} +12 -12
- package/dist/{vue-ui-nested-donuts-CQHTFClA.cjs → vue-ui-nested-donuts-8PBCRUKI.cjs} +1 -1
- package/dist/{vue-ui-onion-C3tsgeYq.cjs → vue-ui-onion-D0Y-pJox.cjs} +1 -1
- package/dist/{vue-ui-onion-DyNY3aLe.js → vue-ui-onion-Dqfii-y3.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-tnKZr6bC.cjs → vue-ui-parallel-coordinate-plot-cETB0SSp.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-D3C5xDkx.js → vue-ui-parallel-coordinate-plot-yUVuNHbG.js} +13 -13
- package/dist/{vue-ui-quadrant-Oyf18Bj4.js → vue-ui-quadrant-Bk24QzXW.js} +13 -13
- package/dist/{vue-ui-quadrant-CF7YSzrp.cjs → vue-ui-quadrant-C2Z9igq-.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-Y8-adLxE.cjs → vue-ui-quick-chart-BNYO7nMz.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-TbLTi-d3.js → vue-ui-quick-chart-BTBzFVVt.js} +10 -10
- package/dist/{vue-ui-radar-BvNWx4a8.cjs → vue-ui-radar-DpJ6BjWE.cjs} +1 -1
- package/dist/{vue-ui-radar-BfHQxjpG.js → vue-ui-radar-d5WGxBWb.js} +13 -13
- package/dist/{vue-ui-rating-BDM0NHP6.js → vue-ui-rating-DHP9cn7v.js} +2 -2
- package/dist/{vue-ui-rating-DitReQ9n.cjs → vue-ui-rating-DlpuX8_4.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DcZyVpqG.cjs → vue-ui-relation-circle-C9r2L_By.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DpwaksSx.js → vue-ui-relation-circle-DFFnj0G-.js} +8 -8
- package/dist/{vue-ui-ridgeline-BXEg60Vj.js → vue-ui-ridgeline-B6SmiN8e.js} +13 -13
- package/dist/{vue-ui-ridgeline-DgzMstgJ.cjs → vue-ui-ridgeline-CWcW0CKH.cjs} +1 -1
- package/dist/{vue-ui-rings-Bsvdt8jo.js → vue-ui-rings-07YzKS3V.js} +13 -13
- package/dist/{vue-ui-rings-DqF707hp.cjs → vue-ui-rings-BZ6huPcE.cjs} +1 -1
- package/dist/{vue-ui-scatter-D9sIS4Dp.cjs → vue-ui-scatter-DYRw6p9i.cjs} +1 -1
- package/dist/{vue-ui-scatter-qQ-795VY.js → vue-ui-scatter-DZZtUBuf.js} +13 -13
- package/dist/{vue-ui-skeleton-BeEBd4CC.js → vue-ui-skeleton-BoZyBfQF.js} +503 -467
- package/dist/vue-ui-skeleton-LYOlEoA_.cjs +41 -0
- package/dist/{vue-ui-smiley-B3JFedE5.cjs → vue-ui-smiley-C9Au0iXl.cjs} +1 -1
- package/dist/{vue-ui-smiley-Bba04Gln.js → vue-ui-smiley-D3A8OqM8.js} +2 -2
- package/dist/{vue-ui-spark-trend-DB2vKJ0m.js → vue-ui-spark-trend-BfR_RtZy.js} +5 -5
- package/dist/{vue-ui-spark-trend-DiZvQzSb.cjs → vue-ui-spark-trend-DnoxMeF3.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-B1pBe2b4.cjs → vue-ui-sparkbar-CAHDM61K.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DjsNBWGs.js → vue-ui-sparkbar-CJUkmhnj.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BJ0vTnKL.js → vue-ui-sparkgauge-CXt_UXa0.js} +4 -4
- package/dist/{vue-ui-sparkgauge-ByMA0D5w.cjs → vue-ui-sparkgauge-DngkG6ub.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-WxGpd0TA.cjs → vue-ui-sparkhistogram-BGSXZdYJ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Cv-hyUbF.js → vue-ui-sparkhistogram-e1KLP3lx.js} +5 -5
- package/dist/{vue-ui-sparkline-DPlkEVV6.cjs → vue-ui-sparkline-4HHF_g27.cjs} +1 -1
- package/dist/{vue-ui-sparkline-tnMT43CD.js → vue-ui-sparkline-C1c0gnoE.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BFkweUWm.cjs → vue-ui-sparkstackbar-CYI8Q-A7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-8WSy0M8S.js → vue-ui-sparkstackbar-WWHBMDoc.js} +5 -5
- package/dist/{vue-ui-stackbar-BfkOVox7.js → vue-ui-stackbar-Dswh_YhD.js} +14 -14
- package/dist/{vue-ui-stackbar-BFgWt2oG.cjs → vue-ui-stackbar-LROMB081.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BKsixkUU.cjs → vue-ui-strip-plot-BHLCEMtE.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CN06Oh8m.js → vue-ui-strip-plot-CkTMHioN.js} +12 -12
- package/dist/{vue-ui-table-B-sy0kOZ.js → vue-ui-table-BQLFbWJu.js} +3 -3
- package/dist/{vue-ui-table-o_zUZsUz.cjs → vue-ui-table-ClPvrWk1.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Dur8rhk6.js → vue-ui-table-heatmap-Cq0Ayqw9.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BidbeObz.cjs → vue-ui-table-heatmap-CzXQ_Jyj.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BeWSYBle.cjs → vue-ui-table-sparkline-CrWRDJhv.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Ccw_ekS8.js → vue-ui-table-sparkline-kApN7-VK.js} +5 -5
- package/dist/{vue-ui-thermometer-BOw4FvGD.js → vue-ui-thermometer-BqtB3WF_.js} +7 -7
- package/dist/{vue-ui-thermometer-Ds9lWEE_.cjs → vue-ui-thermometer-DYo8ZTAM.cjs} +1 -1
- package/dist/{vue-ui-timer-B2gMYwCj.js → vue-ui-timer-DcHNiJK0.js} +6 -6
- package/dist/{vue-ui-timer-OAHpNcTb.cjs → vue-ui-timer-DprIzsAY.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-B8dltsA4.cjs → vue-ui-tiremarks-Dpn0SavO.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BlfDeAAZ.js → vue-ui-tiremarks-fEn67LmT.js} +7 -7
- package/dist/{vue-ui-treemap-BjWTRcbW.cjs → vue-ui-treemap-C8uX5Ilw.cjs} +1 -1
- package/dist/{vue-ui-treemap-meoOt_AQ.js → vue-ui-treemap-Cq5QKrAX.js} +13 -13
- package/dist/{vue-ui-vertical-bar-8EaYa2I2.js → vue-ui-vertical-bar-BctpxL75.js} +13 -13
- package/dist/{vue-ui-vertical-bar-kRBUbvs6.cjs → vue-ui-vertical-bar-Bj-tNmvd.cjs} +1 -1
- package/dist/{vue-ui-waffle-XM92kEwZ.cjs → vue-ui-waffle-B3XGM76l.cjs} +1 -1
- package/dist/{vue-ui-waffle-ThNptuVQ.js → vue-ui-waffle-inmP6xJa.js} +13 -13
- package/dist/{vue-ui-wheel-B_DSO7Ko.js → vue-ui-wheel-BExyiteC.js} +8 -8
- package/dist/{vue-ui-wheel-DMiRno4r.cjs → vue-ui-wheel-D4quM69U.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-tsIW_o0M.js → vue-ui-word-cloud-CO6OX7uL.js} +11 -11
- package/dist/{vue-ui-word-cloud-8-CU7ACz.cjs → vue-ui-word-cloud-D3O3LDR0.cjs} +1 -1
- package/dist/{vue-ui-world-C-TO7n_r.cjs → vue-ui-world-BWv7KvDY.cjs} +1 -1
- package/dist/{vue-ui-world-DizUMTdP.js → vue-ui-world-j_aAVyB8.js} +11 -11
- package/dist/{vue-ui-xy-CKNq6i3B.js → vue-ui-xy-BLnXnpd-.js} +16 -16
- package/dist/{vue-ui-xy-CHcCU9pB.cjs → vue-ui-xy-CnLejNy1.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DgLV6VWJ.js → vue-ui-xy-canvas-2hhjtxZN.js} +13 -13
- package/dist/{vue-ui-xy-canvas-Cmax9zNa.cjs → vue-ui-xy-canvas-t3XI0Z_d.cjs} +1 -1
- package/package.json +1 -1
- package/dist/DataTable-DypMcnH2.cjs +0 -1
- package/dist/PackageVersion-BS7Jybcw.cjs +0 -1
- package/dist/vue-data-ui-C3o_PUJM.cjs +0 -9
- package/dist/vue-ui-skeleton-Br6xw2QW.cjs +0 -41
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ref as c, computed as R, onMounted as ot, nextTick as Oe, onBeforeUnmount as $t, watch as _, createElementBlock as M, openBlock as w, Fragment as je, createCommentVNode as Z, normalizeStyle as N, normalizeClass as ve, createElementVNode as W, withDirectives as gt, createVNode as me, toDisplayString as Qe, unref as D, vModelText as pt, withModifiers as mt, renderList as bt, useSlots as Gt, createBlock as ie, createSlots as Zt, withCtx as A, renderSlot as P, normalizeProps as ye, guardReactiveProps as ge, createTextVNode as qt } from "vue";
|
|
2
|
-
import { l as St, f as be, X as jt, u as Kt, c as Qt, t as _t, p as pe, a as Jt, C as Ke, b as el, D as lt, i as Le, d as xt, a0 as tl, H as ll, ai as al, o as ol, e as nl, x as kt, q as rl, r as ul, y as sl, s as Re } from "./index-
|
|
3
|
-
import { d as il, t as vl, u as cl, c as dl, a as Lt, l as F, r as at, b as ne, p as wt } from "./useResponsive-
|
|
4
|
-
import { _ as hl } from "./Tooltip-
|
|
5
|
-
import { L as fl } from "./Legend-
|
|
6
|
-
import { _ as yl } from "./Title-
|
|
7
|
-
import { S as gl } from "./Slicer-
|
|
8
|
-
import { u as pl, U as ml } from "./usePrinter-
|
|
9
|
-
import bl from "./vue-ui-accordion-
|
|
10
|
-
import { D as xl } from "./DataTable-
|
|
11
|
-
import kl from "./vue-ui-skeleton-
|
|
12
|
-
import { u as Ct } from "./useNestedProp-
|
|
2
|
+
import { l as St, f as be, X as jt, u as Kt, c as Qt, t as _t, p as pe, a as Jt, C as Ke, b as el, D as lt, i as Le, d as xt, a0 as tl, H as ll, ai as al, o as ol, e as nl, x as kt, q as rl, r as ul, y as sl, s as Re } from "./index-BMcwUsiG.js";
|
|
3
|
+
import { d as il, t as vl, u as cl, c as dl, a as Lt, l as F, r as at, b as ne, p as wt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { _ as hl } from "./Tooltip-CxzDtoXn.js";
|
|
5
|
+
import { L as fl } from "./Legend-HckkoJBL.js";
|
|
6
|
+
import { _ as yl } from "./Title-Cq5kGGhS.js";
|
|
7
|
+
import { S as gl } from "./Slicer-BXBqgQau.js";
|
|
8
|
+
import { u as pl, U as ml } from "./usePrinter-BpCNa5RW.js";
|
|
9
|
+
import bl from "./vue-ui-accordion-DKw3ZQgh.js";
|
|
10
|
+
import { D as xl } from "./DataTable-BdekL1Hc.js";
|
|
11
|
+
import kl from "./vue-ui-skeleton-BoZyBfQF.js";
|
|
12
|
+
import { u as Ct } from "./useNestedProp-DwQWwt5e.js";
|
|
13
13
|
import { u as Ll } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as wl } from "./useChartAccessibility-BWojgys7.js";
|
|
15
|
-
import De from "./BaseIcon-
|
|
16
|
-
import { C as Cl } from "./ColorPicker-
|
|
15
|
+
import De from "./BaseIcon-BPehVcsN.js";
|
|
16
|
+
import { C as Cl } from "./ColorPicker-ByaQGf5i.js";
|
|
17
17
|
import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const $l = {
|
|
19
19
|
class: /* @__PURE__ */ ve({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),d=require("./index-B7zOq_yO.cjs"),x=require("./useResponsive-DQmBAoBf.cjs"),vt=require("./Tooltip-B1xW8AQT.cjs"),dt=require("./Legend-DUZ-tBhF.cjs"),ht=require("./Title-LLvOAGEi.cjs"),ft=require("./Slicer-VF0Mi4Gp.cjs"),Ue=require("./usePrinter-u4erwqXt.cjs"),yt=require("./vue-ui-accordion-DkOSgEPp.cjs"),pt=require("./DataTable-DypMcnH2.cjs"),gt=require("./vue-ui-skeleton-Br6xw2QW.cjs"),qe=require("./useNestedProp-DUH233CH.cjs"),mt=require("./useUserOptionState-BgepsfED.cjs"),bt=require("./useChartAccessibility-Cm7nkzTG.cjs"),ge=require("./BaseIcon-CObkWSlF.cjs"),xt=require("./ColorPicker-Czm9Mx_k.cjs"),We=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),kt={class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Ct=["disabled"],Lt=["data-mode","xmlns","viewBox"],wt=["cx","cy","r","fill"],St=["d","stroke","stroke-width"],zt=["x","y","fill","font-size"],$t=["x","dy"],Tt=["d","stroke","stroke-width"],Et={__name:"NonSvgPenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup(z,{emit:Ee}){const U=z,Be=Ee,L=t.ref([]),V=t.ref([]),K=t.ref("0 0 0 0"),D=t.ref(U.color),y=t.ref(1),m=t.ref("draw"),w=t.ref(null),q=t.ref(!1),h=t.ref(null),Y=t.ref({x:0,y:0}),X=t.ref([""]),E=t.ref({row:0,col:0}),P=t.ref(16);let W=1;function G(){return W++}function ne(i){var a;const r=R.value;if(!r)return{x:0,y:0};const o=r.createSVGPoint();let u=i.clientX,v=i.clientY;i.touches&&i.touches.length&&(u=i.touches[0].clientX,v=i.touches[0].clientY),o.x=u,o.y=v;const f=(a=r.getScreenCTM())==null?void 0:a.inverse();return f?o.matrixTransform(f):{x:0,y:0}}function re(i){if(!w.value||m.value!=="text"||q.value)return;const{x:r,y:o}=ne(i);Y.value={x:r,y:o},X.value=[""],E.value={row:0,col:0};const u=document.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("x",r),u.setAttribute("y",o),u.setAttribute("fill",D.value),u.setAttribute("font-size",P.value),u.setAttribute("font-family","sans-serif"),u.setAttribute("class","vue-data-ui-doodle"),u.setAttribute("dominant-baseline","hanging"),u.setAttribute("pointer-events","all");const v=document.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttribute("x",r),v.setAttribute("dy","0"),v.textContent="",u.appendChild(v),u.style.pointerEvents="none",u.style.userSelect="none",w.value.appendChild(u),h.value=u,q.value=!0,window.addEventListener("keydown",ue),window.addEventListener("mousedown",ie,!0),J(),se()}function ue(i){if(!q.value)return;let{row:r,col:o}=E.value,u=X.value.slice(),v=!1;if(i.key==="Enter"){const f=u[r],a=f.slice(0,o),T=f.slice(o);u.splice(r,1,a,T),r+=1,o=0,v=!0,i.preventDefault()}else if(i.key==="Backspace"){if(o>0)u[r]=u[r].slice(0,o-1)+u[r].slice(o),o-=1,v=!0;else if(r>0){const f=u[r-1].length;u[r-1]+=u[r],u.splice(r,1),r-=1,o=f,v=!0}i.preventDefault()}else if(i.key==="Delete")o<u[r].length?(u[r]=u[r].slice(0,o)+u[r].slice(o+1),v=!0):r<u.length-1&&(u[r]+=u[r+1],u.splice(r+1,1),v=!0),i.preventDefault();else if(i.key==="ArrowLeft")o>0?o-=1:r>0&&(r-=1,o=u[r].length),v=!0,i.preventDefault();else if(i.key==="ArrowRight")o<u[r].length?o+=1:r<u.length-1&&(r+=1,o=0),v=!0,i.preventDefault();else if(i.key==="ArrowUp")r>0&&(r-=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key==="ArrowDown")r<u.length-1&&(r+=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey)u[r]=u[r].slice(0,o)+i.key+u[r].slice(o),o+=1,v=!0,i.preventDefault();else if(i.key==="Escape"){ce(!0);return}else i.key==="Tab"&&i.preventDefault();v&&(X.value=u,E.value={row:r,col:o},J(),se())}function J(){const i=h.value,{x:r,y:o}=Y.value;for(;i.firstChild;)i.removeChild(i.firstChild);X.value.forEach((u,v)=>{const f=document.createElementNS("http://www.w3.org/2000/svg","tspan");f.setAttribute("x",r),f.setAttribute("dy",v===0?"0":`${P.value*1.2}`),f.textContent=u.length?u:"",i.appendChild(f)})}function se(){const i=w.value.querySelector(".vue-data-ui-svg-caret");i&&w.value.removeChild(i);const r=h.value;if(!r)return;const{x:o,y:u}=Y.value,{row:v,col:f}=E.value,a=P.value,T=r.childNodes[v];if(!T)return;let B=T.textContent.slice(0,f);B.endsWith(" ")&&(B+=" ");const p=document.createElementNS("http://www.w3.org/2000/svg","text");p.setAttribute("x",o),p.setAttribute("y",u),p.setAttribute("font-size",a),p.setAttribute("font-family","sans-serif"),p.textContent=B||"",w.value.appendChild(p);const M=p.getBBox();w.value.removeChild(p);let $=u+v*a*1.2,g=o+M.width;const c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("x",g),c.setAttribute("y",$),c.setAttribute("width",1),c.setAttribute("height",a),c.setAttribute("fill",D.value),c.setAttribute("class","vue-data-ui-svg-caret"),w.value.appendChild(c)}function ie(i){if(h.value&&!h.value.contains(i.target)){const r=h.value.children;r.length===1&&(r[0].textContent===""||r[0].textContent==="")&&h.value.remove(),ce(!1)}}function ce(i=!1){var u;window.removeEventListener("keydown",ue),window.removeEventListener("mousedown",ie,!0);const r=(u=w.value)==null?void 0:u.querySelector(".vue-data-ui-svg-caret");r&&w.value.removeChild(r);const o=X.value.every(v=>!v||v==="");i||o||L.value.push({id:G(),type:"text",x:Y.value.x,y:Y.value.y,color:D.value,fontSize:P.value,lines:X.value.map(v=>v)}),h.value&&w.value&&w.value.contains(h.value)&&w.value.removeChild(h.value),q.value=!1,h.value=null,X.value=[""],E.value={row:0,col:0}}const H=t.computed(()=>d.lightenHexColor(U.color,.6));function ee({width:i,height:r}){K.value=`0 0 ${i} ${r}`}const _=t.ref(null);t.onMounted(()=>{t.nextTick(()=>{if(U.parent){_.value=new ResizeObserver(o=>{for(const u of o){const{width:v,height:f}=u.contentRect;ee({width:v,height:f})}}),_.value.observe(U.parent);const{width:i,height:r}=U.parent.getBoundingClientRect();ee({width:i,height:r})}}),w.value=R.value.querySelector("g")}),t.onBeforeUnmount(()=>{_.value&&_.value.disconnect()}),t.watch(()=>U.parent,i=>{if(!i)return;const{width:r,height:o}=U.parent.getBoundingClientRect();ee({width:r,height:o})},{immediate:!0}),t.watch(m,i=>{var r,o;i==="text"?(r=R.value)==null||r.addEventListener("mousedown",re):(o=R.value)==null||o.removeEventListener("mousedown",re)});const Z=t.ref(!1),N=t.ref(""),R=t.ref(null);function me(i){if(m.value!=="draw"||!R.value)return;Z.value=!0;const{x:r,y:o}=F(i);N.value=`M ${r} ${o}`}function be(i){if(!Z.value||!R.value)return;const{x:r,y:o}=F(i);N.value+=` ${r} ${o}`}function l(i){const r=i.trim().split(/\s+/);if(r.length<4)return i;const o=r.slice(1).map(Number);if(o.length%2!==0)return i;const u=ve(o),v=[`M ${u[0]} ${u[1]}`];for(let T=2;T<u.length-2;T+=2){const B=u[T-2],p=u[T-1],M=u[T],$=u[T+1],g=(B+M)/2,c=(p+$)/2;v.push(`Q ${B} ${p} ${g} ${c}`)}const f=u[u.length-2],a=u[u.length-1];return v.push(`L ${f} ${a}`),v.join(" ")}function ve(i,r=1){const o=[...i];for(let u=2;u<i.length-2;u+=2){const v=i[u],f=i[u+1],a=i[u-2],T=i[u-1],B=i[u+2],p=i[u+3];o[u]=v+r*((a+B)/2-v),o[u+1]=f+r*((T+p)/2-f)}return o}function xe(i){const r=i.trim().split(/\s+/);let o="",u="",v=null,f=null;for(let a=0;a<r.length;a+=1){const T=r[a];if(isNaN(T)){if(u=T,u==="M"||u==="L")v=parseFloat(r[++a]),f=parseFloat(r[++a]),o+=`${u}${v} ${f}`;else if(u==="Q"){const B=parseFloat(r[++a]),p=parseFloat(r[++a]),M=parseFloat(r[++a]),$=parseFloat(r[++a]);B===v&&p===f?o+=`t${M-v} ${$-f}`:o+=`q${B-v} ${p-f} ${M-v} ${$-f}`,v=M,f=$}}else{const B=parseFloat(T),p=parseFloat(r[++a]);if(u==="L"){const M=B-v,$=p-f;M===0?o+=`v${$}`:$===0?o+=`h${M}`:o+=`l${M} ${$}`,v=B,f=p}else if(u==="Q"){const M=B,$=p,g=parseFloat(r[++a]),c=parseFloat(r[++a]);M===v&&$===f?o+=`t${g-v} ${c-f}`:o+=`q${M-v} ${$-f} ${g-v} ${c-f}`,v=g,f=c}}}return o}function ae(){Z.value&&(L.value.push({id:G(),strokeWidth:y.value,path:xe(l(N.value)),color:D.value}),V.value=[],N.value=""),Z.value=!1}function F(i){if(!R.value)return{x:0,y:0};const r=R.value.getBoundingClientRect();let o,u;return i.touches&&i.touches.length?(o=i.touches[0].clientX,u=i.touches[0].clientY):(o=i.clientX,u=i.clientY),{x:o-r.left,y:u-r.top}}function ke(){if(L.value.length>0){const i=L.value.pop();V.value.push(i)}}function Ce(){if(V.value.length>0){const i=V.value.pop();L.value.push(i)}}function Le(){L.value=[],V.value=[]}const de=t.ref(null);return(i,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[z.active?(t.openBlock(),t.createElementBlock("div",{key:0,"data-dom-to-png-ignore":"",class:t.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:z.active}),style:t.normalizeStyle({backgroundColor:z.backgroundColor})},[t.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:r[0]||(r[0]=o=>Be("close"))},[t.createVNode(ge.default,{name:"close",stroke:z.color},null,8,["stroke"])],4),t.createElementVNode("button",kt,[t.createVNode(xt.ColorPicker,{value:D.value,"onUpdate:value":r[1]||(r[1]=o=>D.value=o),backgroundColor:z.backgroundColor,buttonBorderColor:H.value},null,8,["value","backgroundColor","buttonBorderColor"])]),t.createElementVNode("button",{class:t.normalizeClass(["vue-ui-pen-and-paper-action",{"vue-ui-pen-and-paper-action-active":m.value==="text"}]),onClick:r[2]||(r[2]=o=>m.value=m.value==="text"?"draw":"text"),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`})},[t.createVNode(ge.default,{name:m.value==="draw"?"annotator":"text",stroke:z.color},null,8,["name","stroke"]),t.createElementVNode("div",{style:t.normalizeStyle({position:"absolute",bottom:"-20px",color:H.value,width:"100%",textAlign:"center",fontSize:"12px"})},t.toDisplayString(t.unref(d.dataLabel)({v:m.value==="draw"?y.value:P.value,s:"px",r:1})),5)],6),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length}),disabled:!L.value.length,style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`,marginTop:"20px"}),onClick:ke},[t.createVNode(ge.default,{name:"restart",stroke:z.color},null,8,["stroke"])],14,Ct),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!V.value.length}),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Ce},[t.createVNode(ge.default,{name:"restart",stroke:z.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),t.createElementVNode("button",{class:t.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length},"vue-ui-pen-and-paper-action"]),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Le},[t.createVNode(ge.default,{name:"trash",stroke:z.color},null,8,["stroke"])],6),m.value==="draw"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:0,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":r[3]||(r[3]=o=>y.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,y.value]]):t.createCommentVNode("",!0),m.value==="text"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:1,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:3,max:48,step:.1,"onUpdate:modelValue":r[4]||(r[4]=o=>P.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,P.value]]):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),(t.openBlock(),t.createElementBlock("svg",{"data-mode":m.value,ref_key:"svgElement",ref:R,xmlns:t.unref(d.XMLNS),viewBox:K.value,class:t.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!z.active}),onMousedown:me,onMousemove:be,onMouseup:ae,onMouseleave:ae,onTouchstart:t.withModifiers(me,["prevent"]),onTouchmove:t.withModifiers(be,["prevent"]),onTouchend:ae},[t.createElementVNode("g",{ref_key:"G",ref:w},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.value,o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o.id},[o.path&&o.path.replace("M","").split(" ").length===2?(t.openBlock(),t.createElementBlock("circle",{key:0,cx:o.path.replace("M","").split(" ")[0],cy:o.path.replace("M","").split(" ")[1],r:o.strokeWidth/2,fill:o.color},null,8,wt)):o.path?(t.openBlock(),t.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:o.path,stroke:o.color,"stroke-width":o.strokeWidth,fill:"none"},null,8,St)):o.type==="text"?(t.openBlock(),t.createElementBlock("text",{key:2,x:o.x,y:o.y,fill:o.color,"font-size":o.fontSize,"font-family":"sans-serif","dominant-baseline":"hanging",class:"vue-ui-pen-and-paper-text"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.lines,(u,v)=>(t.openBlock(),t.createElementBlock("tspan",{key:v,x:o.x,dy:v===0?"0":o.fontSize*1.2},t.toDisplayString(u.length?u:""),9,$t))),128))],8,zt)):t.createCommentVNode("",!0)],64))),128))],512),Z.value?(t.openBlock(),t.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:l(N.value),stroke:D.value,"stroke-width":y.value*1.1,fill:"none"},null,8,Tt)):t.createCommentVNode("",!0)],42,Lt))],64))}},Bt=We._export_sfc(Et,[["__scopeId","data-v-14478ba4"]]),Mt=["id"],Nt=["onClick"],Pt={key:2,class:"vue-data-ui-watermark"},It=["innerHTML"],At={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(z,{expose:Ee,emit:U}){const{vue_ui_xy_canvas:Be}=d.useConfig(),L=z,V=t.ref(d.createUid()),K=t.ref(null),D=t.ref(null),y=t.ref(null),m=t.ref(1),w=t.ref(1),q=t.ref(!1),h=t.ref(null),Y=t.ref(""),X=t.ref(null),E=t.ref([]),P=t.ref(1),W=t.ref(!0),G=t.ref(!0),ne=t.ref(null),re=t.ref(0),ue=t.ref(0),J=t.ref(!1),se=t.ref(null),ie=t.ref(null),ce=t.ref(null),H=t.ref(null),ee=t.ref(0),_=t.ref(0),Z=t.ref(0),N=t.ref(null),R=t.computed(()=>!!L.dataset&&L.dataset.length),me=U,be=t.useSlots();t.onMounted(()=>{be["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const l=t.computed({get:()=>ke(),set:e=>e}),{userOptionsVisible:ve,setUserOptionsVisibility:xe,keepUserOptionState:ae}=mt.useUserOptionState({config:l.value}),{svgRef:F}=bt.useChartAccessibility({config:l.value.style.chart.title});function ke(){const e=qe.useNestedProp({userConfig:L.config,defaultConfig:Be});let n={};return e.theme?n={...qe.useNestedProp({userConfig:d.themes.vue_ui_xy_canvas[e.theme]||L.config,defaultConfig:e}),customPalette:d.themePalettes[e.theme]||d.palette}:n=e,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.min")?n.style.chart.scale.min=L.config.style.chart.scale.min:n.style.chart.scale.min=null,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.max")?n.style.chart.scale.max=L.config.style.chart.scale.max:n.style.chart.scale.max=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.startIndex")?n.style.chart.zoom.startIndex=L.config.style.chart.zoom.startIndex:n.style.chart.zoom.startIndex=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.endIndex")?n.style.chart.zoom.endIndex=L.config.style.chart.zoom.endIndex:n.style.chart.zoom.endIndex=null,n}t.watch(()=>L.config,e=>{l.value=ke(),ve.value=!l.value.userOptions.showOnChartHover,Me(),ee.value+=1,_.value+=1,Z.value+=1,o.value.showTable=l.value.table.show,o.value.showDataLabels=l.value.style.chart.dataLabels.show,o.value.stacked=l.value.style.chart.stacked,o.value.showTooltip=l.value.style.chart.tooltip.show},{deep:!0}),t.watch(()=>L.dataset,()=>{Me(),ee.value+=1,_.value+=1,Z.value+=1},{deep:!0});const Ce=t.ref(l.value.style.chart.aspectRatio),{isPrinting:Le,isImaging:de,generatePdf:i,generateImage:r}=Ue.usePrinter({elementId:`xy_canvas_${V.value}`,fileName:l.value.style.chart.title.text||"vue-ui-xy-canvas",options:l.value.userOptions.print}),o=t.ref({showTable:l.value.table.show,showDataLabels:l.value.style.chart.dataLabels.show,stacked:l.value.style.chart.stacked,showTooltip:l.value.style.chart.tooltip.show});function u(e){J.value=e,ue.value+=1}const v=t.computed(()=>d.convertCustomPalette(l.value.customPalette)),f=t.computed(()=>$.value?Math.max(...$.value.filter((e,n)=>!E.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=t.computed(()=>{const e=m.value-m.value*(l.value.style.chart.paddingProportions.left+l.value.style.chart.paddingProportions.right);return{canvasWidth:m.value,canvasHeight:w.value,left:m.value*l.value.style.chart.paddingProportions.left,top:w.value*l.value.style.chart.paddingProportions.top,right:m.value-m.value*l.value.style.chart.paddingProportions.right,bottom:w.value-w.value*l.value.style.chart.paddingProportions.bottom,width:e,height:w.value-w.value*(l.value.style.chart.paddingProportions.top+l.value.style.chart.paddingProportions.bottom),slot:e/(c.value.end-c.value.start)}});function T(e,n){return e/n}function B({hasAutoScale:e,series:n,min:s,max:b,scale:C,yOffset:A,individualHeight:k,stackIndex:S=null}){return n.map((te,O)=>{const Q=C.min<0?Math.abs(C.min):0,le=T(te+Q,Q+C.max);let ye,pe;e&&(ye=C.min,pe=T(te-ye,C.max-ye));let j=0;return S===null?j=a.value.bottom-a.value.height*(e?pe:le):j=a.value.bottom-A-k*(e?pe:le),{x:a.value.left+a.value.slot*O+a.value.slot/2,y:j,value:te}})}const p=t.computed(()=>{const e=l.value.style.chart.scale.min!==null?l.value.style.chart.scale.min:Math.min(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),n=l.value.style.chart.scale.max!==null?l.value.style.chart.scale.max:Math.max(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),s=d.calculateNiceScale(e<0?e:0,n===e?e+1<0?0:e+1:n<0?0:n,l.value.style.chart.scale.ticks),b=s.min<0?Math.abs(s.min):0,C=a.value.bottom-a.value.height*(b/(s.max+b)),A=s.ticks.map(k=>({y:a.value.bottom-a.value.height*((k+b)/(s.max+b)),x:a.value.left-8,value:k}));return{absoluteMin:b,max:n,min:e,scale:s,yLabels:A,zero:C}}),M=t.computed(()=>g.value.map(e=>`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),d=require("./index-CG-euAJp.cjs"),x=require("./useResponsive-BBkmXXaa.cjs"),vt=require("./Tooltip-eL97y6Ym.cjs"),dt=require("./Legend-C8PTNFsH.cjs"),ht=require("./Title-GpO-QNhg.cjs"),ft=require("./Slicer-BWr1nt8v.cjs"),Ue=require("./usePrinter-BBqldIVF.cjs"),yt=require("./vue-ui-accordion-dJGHfrMl.cjs"),pt=require("./DataTable-pT39kn0W.cjs"),gt=require("./vue-ui-skeleton-LYOlEoA_.cjs"),qe=require("./useNestedProp-DYDoE86w.cjs"),mt=require("./useUserOptionState-BgepsfED.cjs"),bt=require("./useChartAccessibility-Cm7nkzTG.cjs"),ge=require("./BaseIcon-dtfVrHa7.cjs"),xt=require("./ColorPicker-C-nhrZ-J.cjs"),We=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),kt={class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Ct=["disabled"],Lt=["data-mode","xmlns","viewBox"],wt=["cx","cy","r","fill"],St=["d","stroke","stroke-width"],zt=["x","y","fill","font-size"],$t=["x","dy"],Tt=["d","stroke","stroke-width"],Et={__name:"NonSvgPenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup(z,{emit:Ee}){const U=z,Be=Ee,L=t.ref([]),V=t.ref([]),K=t.ref("0 0 0 0"),D=t.ref(U.color),y=t.ref(1),m=t.ref("draw"),w=t.ref(null),q=t.ref(!1),h=t.ref(null),Y=t.ref({x:0,y:0}),X=t.ref([""]),E=t.ref({row:0,col:0}),P=t.ref(16);let W=1;function G(){return W++}function ne(i){var a;const r=R.value;if(!r)return{x:0,y:0};const o=r.createSVGPoint();let u=i.clientX,v=i.clientY;i.touches&&i.touches.length&&(u=i.touches[0].clientX,v=i.touches[0].clientY),o.x=u,o.y=v;const f=(a=r.getScreenCTM())==null?void 0:a.inverse();return f?o.matrixTransform(f):{x:0,y:0}}function re(i){if(!w.value||m.value!=="text"||q.value)return;const{x:r,y:o}=ne(i);Y.value={x:r,y:o},X.value=[""],E.value={row:0,col:0};const u=document.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("x",r),u.setAttribute("y",o),u.setAttribute("fill",D.value),u.setAttribute("font-size",P.value),u.setAttribute("font-family","sans-serif"),u.setAttribute("class","vue-data-ui-doodle"),u.setAttribute("dominant-baseline","hanging"),u.setAttribute("pointer-events","all");const v=document.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttribute("x",r),v.setAttribute("dy","0"),v.textContent="",u.appendChild(v),u.style.pointerEvents="none",u.style.userSelect="none",w.value.appendChild(u),h.value=u,q.value=!0,window.addEventListener("keydown",ue),window.addEventListener("mousedown",ie,!0),J(),se()}function ue(i){if(!q.value)return;let{row:r,col:o}=E.value,u=X.value.slice(),v=!1;if(i.key==="Enter"){const f=u[r],a=f.slice(0,o),T=f.slice(o);u.splice(r,1,a,T),r+=1,o=0,v=!0,i.preventDefault()}else if(i.key==="Backspace"){if(o>0)u[r]=u[r].slice(0,o-1)+u[r].slice(o),o-=1,v=!0;else if(r>0){const f=u[r-1].length;u[r-1]+=u[r],u.splice(r,1),r-=1,o=f,v=!0}i.preventDefault()}else if(i.key==="Delete")o<u[r].length?(u[r]=u[r].slice(0,o)+u[r].slice(o+1),v=!0):r<u.length-1&&(u[r]+=u[r+1],u.splice(r+1,1),v=!0),i.preventDefault();else if(i.key==="ArrowLeft")o>0?o-=1:r>0&&(r-=1,o=u[r].length),v=!0,i.preventDefault();else if(i.key==="ArrowRight")o<u[r].length?o+=1:r<u.length-1&&(r+=1,o=0),v=!0,i.preventDefault();else if(i.key==="ArrowUp")r>0&&(r-=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key==="ArrowDown")r<u.length-1&&(r+=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey)u[r]=u[r].slice(0,o)+i.key+u[r].slice(o),o+=1,v=!0,i.preventDefault();else if(i.key==="Escape"){ce(!0);return}else i.key==="Tab"&&i.preventDefault();v&&(X.value=u,E.value={row:r,col:o},J(),se())}function J(){const i=h.value,{x:r,y:o}=Y.value;for(;i.firstChild;)i.removeChild(i.firstChild);X.value.forEach((u,v)=>{const f=document.createElementNS("http://www.w3.org/2000/svg","tspan");f.setAttribute("x",r),f.setAttribute("dy",v===0?"0":`${P.value*1.2}`),f.textContent=u.length?u:"",i.appendChild(f)})}function se(){const i=w.value.querySelector(".vue-data-ui-svg-caret");i&&w.value.removeChild(i);const r=h.value;if(!r)return;const{x:o,y:u}=Y.value,{row:v,col:f}=E.value,a=P.value,T=r.childNodes[v];if(!T)return;let B=T.textContent.slice(0,f);B.endsWith(" ")&&(B+=" ");const p=document.createElementNS("http://www.w3.org/2000/svg","text");p.setAttribute("x",o),p.setAttribute("y",u),p.setAttribute("font-size",a),p.setAttribute("font-family","sans-serif"),p.textContent=B||"",w.value.appendChild(p);const M=p.getBBox();w.value.removeChild(p);let $=u+v*a*1.2,g=o+M.width;const c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("x",g),c.setAttribute("y",$),c.setAttribute("width",1),c.setAttribute("height",a),c.setAttribute("fill",D.value),c.setAttribute("class","vue-data-ui-svg-caret"),w.value.appendChild(c)}function ie(i){if(h.value&&!h.value.contains(i.target)){const r=h.value.children;r.length===1&&(r[0].textContent===""||r[0].textContent==="")&&h.value.remove(),ce(!1)}}function ce(i=!1){var u;window.removeEventListener("keydown",ue),window.removeEventListener("mousedown",ie,!0);const r=(u=w.value)==null?void 0:u.querySelector(".vue-data-ui-svg-caret");r&&w.value.removeChild(r);const o=X.value.every(v=>!v||v==="");i||o||L.value.push({id:G(),type:"text",x:Y.value.x,y:Y.value.y,color:D.value,fontSize:P.value,lines:X.value.map(v=>v)}),h.value&&w.value&&w.value.contains(h.value)&&w.value.removeChild(h.value),q.value=!1,h.value=null,X.value=[""],E.value={row:0,col:0}}const H=t.computed(()=>d.lightenHexColor(U.color,.6));function ee({width:i,height:r}){K.value=`0 0 ${i} ${r}`}const _=t.ref(null);t.onMounted(()=>{t.nextTick(()=>{if(U.parent){_.value=new ResizeObserver(o=>{for(const u of o){const{width:v,height:f}=u.contentRect;ee({width:v,height:f})}}),_.value.observe(U.parent);const{width:i,height:r}=U.parent.getBoundingClientRect();ee({width:i,height:r})}}),w.value=R.value.querySelector("g")}),t.onBeforeUnmount(()=>{_.value&&_.value.disconnect()}),t.watch(()=>U.parent,i=>{if(!i)return;const{width:r,height:o}=U.parent.getBoundingClientRect();ee({width:r,height:o})},{immediate:!0}),t.watch(m,i=>{var r,o;i==="text"?(r=R.value)==null||r.addEventListener("mousedown",re):(o=R.value)==null||o.removeEventListener("mousedown",re)});const Z=t.ref(!1),N=t.ref(""),R=t.ref(null);function me(i){if(m.value!=="draw"||!R.value)return;Z.value=!0;const{x:r,y:o}=F(i);N.value=`M ${r} ${o}`}function be(i){if(!Z.value||!R.value)return;const{x:r,y:o}=F(i);N.value+=` ${r} ${o}`}function l(i){const r=i.trim().split(/\s+/);if(r.length<4)return i;const o=r.slice(1).map(Number);if(o.length%2!==0)return i;const u=ve(o),v=[`M ${u[0]} ${u[1]}`];for(let T=2;T<u.length-2;T+=2){const B=u[T-2],p=u[T-1],M=u[T],$=u[T+1],g=(B+M)/2,c=(p+$)/2;v.push(`Q ${B} ${p} ${g} ${c}`)}const f=u[u.length-2],a=u[u.length-1];return v.push(`L ${f} ${a}`),v.join(" ")}function ve(i,r=1){const o=[...i];for(let u=2;u<i.length-2;u+=2){const v=i[u],f=i[u+1],a=i[u-2],T=i[u-1],B=i[u+2],p=i[u+3];o[u]=v+r*((a+B)/2-v),o[u+1]=f+r*((T+p)/2-f)}return o}function xe(i){const r=i.trim().split(/\s+/);let o="",u="",v=null,f=null;for(let a=0;a<r.length;a+=1){const T=r[a];if(isNaN(T)){if(u=T,u==="M"||u==="L")v=parseFloat(r[++a]),f=parseFloat(r[++a]),o+=`${u}${v} ${f}`;else if(u==="Q"){const B=parseFloat(r[++a]),p=parseFloat(r[++a]),M=parseFloat(r[++a]),$=parseFloat(r[++a]);B===v&&p===f?o+=`t${M-v} ${$-f}`:o+=`q${B-v} ${p-f} ${M-v} ${$-f}`,v=M,f=$}}else{const B=parseFloat(T),p=parseFloat(r[++a]);if(u==="L"){const M=B-v,$=p-f;M===0?o+=`v${$}`:$===0?o+=`h${M}`:o+=`l${M} ${$}`,v=B,f=p}else if(u==="Q"){const M=B,$=p,g=parseFloat(r[++a]),c=parseFloat(r[++a]);M===v&&$===f?o+=`t${g-v} ${c-f}`:o+=`q${M-v} ${$-f} ${g-v} ${c-f}`,v=g,f=c}}}return o}function ae(){Z.value&&(L.value.push({id:G(),strokeWidth:y.value,path:xe(l(N.value)),color:D.value}),V.value=[],N.value=""),Z.value=!1}function F(i){if(!R.value)return{x:0,y:0};const r=R.value.getBoundingClientRect();let o,u;return i.touches&&i.touches.length?(o=i.touches[0].clientX,u=i.touches[0].clientY):(o=i.clientX,u=i.clientY),{x:o-r.left,y:u-r.top}}function ke(){if(L.value.length>0){const i=L.value.pop();V.value.push(i)}}function Ce(){if(V.value.length>0){const i=V.value.pop();L.value.push(i)}}function Le(){L.value=[],V.value=[]}const de=t.ref(null);return(i,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[z.active?(t.openBlock(),t.createElementBlock("div",{key:0,"data-dom-to-png-ignore":"",class:t.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:z.active}),style:t.normalizeStyle({backgroundColor:z.backgroundColor})},[t.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:r[0]||(r[0]=o=>Be("close"))},[t.createVNode(ge.default,{name:"close",stroke:z.color},null,8,["stroke"])],4),t.createElementVNode("button",kt,[t.createVNode(xt.ColorPicker,{value:D.value,"onUpdate:value":r[1]||(r[1]=o=>D.value=o),backgroundColor:z.backgroundColor,buttonBorderColor:H.value},null,8,["value","backgroundColor","buttonBorderColor"])]),t.createElementVNode("button",{class:t.normalizeClass(["vue-ui-pen-and-paper-action",{"vue-ui-pen-and-paper-action-active":m.value==="text"}]),onClick:r[2]||(r[2]=o=>m.value=m.value==="text"?"draw":"text"),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`})},[t.createVNode(ge.default,{name:m.value==="draw"?"annotator":"text",stroke:z.color},null,8,["name","stroke"]),t.createElementVNode("div",{style:t.normalizeStyle({position:"absolute",bottom:"-20px",color:H.value,width:"100%",textAlign:"center",fontSize:"12px"})},t.toDisplayString(t.unref(d.dataLabel)({v:m.value==="draw"?y.value:P.value,s:"px",r:1})),5)],6),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length}),disabled:!L.value.length,style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`,marginTop:"20px"}),onClick:ke},[t.createVNode(ge.default,{name:"restart",stroke:z.color},null,8,["stroke"])],14,Ct),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!V.value.length}),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Ce},[t.createVNode(ge.default,{name:"restart",stroke:z.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),t.createElementVNode("button",{class:t.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length},"vue-ui-pen-and-paper-action"]),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Le},[t.createVNode(ge.default,{name:"trash",stroke:z.color},null,8,["stroke"])],6),m.value==="draw"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:0,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":r[3]||(r[3]=o=>y.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,y.value]]):t.createCommentVNode("",!0),m.value==="text"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:1,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:3,max:48,step:.1,"onUpdate:modelValue":r[4]||(r[4]=o=>P.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,P.value]]):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),(t.openBlock(),t.createElementBlock("svg",{"data-mode":m.value,ref_key:"svgElement",ref:R,xmlns:t.unref(d.XMLNS),viewBox:K.value,class:t.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!z.active}),onMousedown:me,onMousemove:be,onMouseup:ae,onMouseleave:ae,onTouchstart:t.withModifiers(me,["prevent"]),onTouchmove:t.withModifiers(be,["prevent"]),onTouchend:ae},[t.createElementVNode("g",{ref_key:"G",ref:w},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.value,o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o.id},[o.path&&o.path.replace("M","").split(" ").length===2?(t.openBlock(),t.createElementBlock("circle",{key:0,cx:o.path.replace("M","").split(" ")[0],cy:o.path.replace("M","").split(" ")[1],r:o.strokeWidth/2,fill:o.color},null,8,wt)):o.path?(t.openBlock(),t.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:o.path,stroke:o.color,"stroke-width":o.strokeWidth,fill:"none"},null,8,St)):o.type==="text"?(t.openBlock(),t.createElementBlock("text",{key:2,x:o.x,y:o.y,fill:o.color,"font-size":o.fontSize,"font-family":"sans-serif","dominant-baseline":"hanging",class:"vue-ui-pen-and-paper-text"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.lines,(u,v)=>(t.openBlock(),t.createElementBlock("tspan",{key:v,x:o.x,dy:v===0?"0":o.fontSize*1.2},t.toDisplayString(u.length?u:""),9,$t))),128))],8,zt)):t.createCommentVNode("",!0)],64))),128))],512),Z.value?(t.openBlock(),t.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:l(N.value),stroke:D.value,"stroke-width":y.value*1.1,fill:"none"},null,8,Tt)):t.createCommentVNode("",!0)],42,Lt))],64))}},Bt=We._export_sfc(Et,[["__scopeId","data-v-14478ba4"]]),Mt=["id"],Nt=["onClick"],Pt={key:2,class:"vue-data-ui-watermark"},It=["innerHTML"],At={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(z,{expose:Ee,emit:U}){const{vue_ui_xy_canvas:Be}=d.useConfig(),L=z,V=t.ref(d.createUid()),K=t.ref(null),D=t.ref(null),y=t.ref(null),m=t.ref(1),w=t.ref(1),q=t.ref(!1),h=t.ref(null),Y=t.ref(""),X=t.ref(null),E=t.ref([]),P=t.ref(1),W=t.ref(!0),G=t.ref(!0),ne=t.ref(null),re=t.ref(0),ue=t.ref(0),J=t.ref(!1),se=t.ref(null),ie=t.ref(null),ce=t.ref(null),H=t.ref(null),ee=t.ref(0),_=t.ref(0),Z=t.ref(0),N=t.ref(null),R=t.computed(()=>!!L.dataset&&L.dataset.length),me=U,be=t.useSlots();t.onMounted(()=>{be["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const l=t.computed({get:()=>ke(),set:e=>e}),{userOptionsVisible:ve,setUserOptionsVisibility:xe,keepUserOptionState:ae}=mt.useUserOptionState({config:l.value}),{svgRef:F}=bt.useChartAccessibility({config:l.value.style.chart.title});function ke(){const e=qe.useNestedProp({userConfig:L.config,defaultConfig:Be});let n={};return e.theme?n={...qe.useNestedProp({userConfig:d.themes.vue_ui_xy_canvas[e.theme]||L.config,defaultConfig:e}),customPalette:d.themePalettes[e.theme]||d.palette}:n=e,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.min")?n.style.chart.scale.min=L.config.style.chart.scale.min:n.style.chart.scale.min=null,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.max")?n.style.chart.scale.max=L.config.style.chart.scale.max:n.style.chart.scale.max=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.startIndex")?n.style.chart.zoom.startIndex=L.config.style.chart.zoom.startIndex:n.style.chart.zoom.startIndex=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.endIndex")?n.style.chart.zoom.endIndex=L.config.style.chart.zoom.endIndex:n.style.chart.zoom.endIndex=null,n}t.watch(()=>L.config,e=>{l.value=ke(),ve.value=!l.value.userOptions.showOnChartHover,Me(),ee.value+=1,_.value+=1,Z.value+=1,o.value.showTable=l.value.table.show,o.value.showDataLabels=l.value.style.chart.dataLabels.show,o.value.stacked=l.value.style.chart.stacked,o.value.showTooltip=l.value.style.chart.tooltip.show},{deep:!0}),t.watch(()=>L.dataset,()=>{Me(),ee.value+=1,_.value+=1,Z.value+=1},{deep:!0});const Ce=t.ref(l.value.style.chart.aspectRatio),{isPrinting:Le,isImaging:de,generatePdf:i,generateImage:r}=Ue.usePrinter({elementId:`xy_canvas_${V.value}`,fileName:l.value.style.chart.title.text||"vue-ui-xy-canvas",options:l.value.userOptions.print}),o=t.ref({showTable:l.value.table.show,showDataLabels:l.value.style.chart.dataLabels.show,stacked:l.value.style.chart.stacked,showTooltip:l.value.style.chart.tooltip.show});function u(e){J.value=e,ue.value+=1}const v=t.computed(()=>d.convertCustomPalette(l.value.customPalette)),f=t.computed(()=>$.value?Math.max(...$.value.filter((e,n)=>!E.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=t.computed(()=>{const e=m.value-m.value*(l.value.style.chart.paddingProportions.left+l.value.style.chart.paddingProportions.right);return{canvasWidth:m.value,canvasHeight:w.value,left:m.value*l.value.style.chart.paddingProportions.left,top:w.value*l.value.style.chart.paddingProportions.top,right:m.value-m.value*l.value.style.chart.paddingProportions.right,bottom:w.value-w.value*l.value.style.chart.paddingProportions.bottom,width:e,height:w.value-w.value*(l.value.style.chart.paddingProportions.top+l.value.style.chart.paddingProportions.bottom),slot:e/(c.value.end-c.value.start)}});function T(e,n){return e/n}function B({hasAutoScale:e,series:n,min:s,max:b,scale:C,yOffset:A,individualHeight:k,stackIndex:S=null}){return n.map((te,O)=>{const Q=C.min<0?Math.abs(C.min):0,le=T(te+Q,Q+C.max);let ye,pe;e&&(ye=C.min,pe=T(te-ye,C.max-ye));let j=0;return S===null?j=a.value.bottom-a.value.height*(e?pe:le):j=a.value.bottom-A-k*(e?pe:le),{x:a.value.left+a.value.slot*O+a.value.slot/2,y:j,value:te}})}const p=t.computed(()=>{const e=l.value.style.chart.scale.min!==null?l.value.style.chart.scale.min:Math.min(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),n=l.value.style.chart.scale.max!==null?l.value.style.chart.scale.max:Math.max(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),s=d.calculateNiceScale(e<0?e:0,n===e?e+1<0?0:e+1:n<0?0:n,l.value.style.chart.scale.ticks),b=s.min<0?Math.abs(s.min):0,C=a.value.bottom-a.value.height*(b/(s.max+b)),A=s.ticks.map(k=>({y:a.value.bottom-a.value.height*((k+b)/(s.max+b)),x:a.value.left-8,value:k}));return{absoluteMin:b,max:n,min:e,scale:s,yLabels:A,zero:C}}),M=t.computed(()=>g.value.map(e=>`
|
|
2
2
|
<div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
|
|
3
3
|
<svg viewBox="0 0 10 10" height="12" width="12">
|
|
4
4
|
<circle cx="5" cy="5" r="5" fill="${e.color}"/>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),k=require("./Shape-x9QWqySR.cjs"),_=require("./BaseIcon-CObkWSlF.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),B={class:"vue-ui-data-table"},w={style:{display:"flex","align-items":"center","justify-content":"flex-end","padding-right":"3px",gap:"3px"}},E={key:0,height:"12",width:"12",viewBox:"0 0 20 20",style:{background:"none"}},N=["fill"],V=["data-cell"],C={dir:"auto",style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},S={key:0,height:"12",width:"12",viewBox:"0 0 20 20",style:{background:"none",overflow:"visible"}},z={__name:"DataTable",props:{colNames:{type:Array,default(){return[]}},head:Array,body:Array,title:String,config:Object},emits:["close"],setup(t,{emit:y}){e.useCssVars(l=>({"92e22452":e.unref(f)}));const i=t,{backgroundColor:s,color:d,outline:m}=i.config.th,{backgroundColor:g,color:h,outline:f}=i.config.td,v=e.computed(()=>i.config.breakpoint),u=e.ref(null),p=e.ref(!1);e.onMounted(()=>{const l=new ResizeObserver(n=>{n.forEach(o=>{p.value=o.contentRect.width<v.value})});u.value&&l.observe(u.value)});const b=y;return(l,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tableContainer",ref:u,style:{width:"100%","container-type":"inline-size",position:"relative","padding-top":"36px",overflow:"auto"},class:e.normalizeClass({"atom-data-table":!0,"vue-ui-responsive":p.value})},[e.createElementVNode("div",{"data-dom-to-png-ignore":"",role:"button",tabindex:"0",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.unref(s)};`),onClick:n[0]||(n[0]=o=>b("close")),onKeypress:n[1]||(n[1]=e.withKeys(o=>b("close"),["enter"]))},[e.createVNode(_.default,{name:"close",stroke:e.unref(d),"stroke-width":2},null,8,["stroke"])],36),e.createElementVNode("table",B,[e.createElementVNode("caption",{style:e.normalizeStyle({backgroundColor:e.unref(s),color:e.unref(d),outline:e.unref(m)}),class:"vue-ui-data-table__caption"},e.toDisplayString(t.title),5),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle([{"font-variant-numeric":"tabular-nums"},{backgroundColor:e.unref(s),color:e.unref(d)}]),class:"vue-ui-data-table__thead-row"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.head,(o,r)=>(e.openBlock(),e.createElementBlock("th",{role:"cell",style:e.normalizeStyle({outline:e.unref(m)}),key:`th_${r}`},[e.createElementVNode("div",w,[o.color?(e.openBlock(),e.createElementBlock("svg",E,[e.createElementVNode("circle",{cx:"10",cy:"10",r:"10",fill:o.color},null,8,N)])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"th",{th:o},void 0,!0)])],4))),128))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.body,(o,r)=>(e.openBlock(),e.createElementBlock("tr",{role:"row",style:e.normalizeStyle([{"font-variant-numeric":"tabular-nums"},{backgroundColor:e.unref(g),color:e.unref(h)}]),class:e.normalizeClass({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":r%2===0,"vue-ui-data-table__tbody__row-odd":r%2!==0})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,(a,c)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":(t.colNames[c]&&t.colNames[c].name?t.colNames[c].name:"")||t.colNames[c]||"",style:e.normalizeStyle({outline:e.unref(f)}),class:"vue-ui-data-table__tbody__td"},[e.createElementVNode("div",C,[a.color?(e.openBlock(),e.createElementBlock("svg",S,[e.createVNode(k._sfc_main,{plot:{x:10,y:10},color:a.color,radius:9,shape:t.config.shape||a.shape||"circle"},null,8,["color","shape"])])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"td",{td:a},void 0,!0)])],12,V))),256))],6))),256))])])],2))}},$=x._export_sfc(z,[["__scopeId","data-v-6d52f0eb"]]);exports.DataTable=$;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),t="2.10.11",n={"aria-hidden":"true"},s={__name:"PackageVersion",setup(c){return(r,o)=>(e.openBlock(),e.createElementBlock("desc",n,"Composed with Vue Data UI "+e.toDisplayString(e.unref(t)),1))}};exports._sfc_main=s;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./BaseIcon-CObkWSlF.cjs"),K={style:{width:"36px"}},Y={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(E,{expose:O,emit:_}){const i=E,{component:J,dataset:M,config:W}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-1L_FJakQ.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-BX5nAmcR.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-BCfRHpTL.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-D_UWn-gv.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-Ds2IXobn.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-BMVLKe5Z.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-VMbRXMfP.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-BjGbzLsC.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-B2MMB7lY.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-qIl1Sp2I.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-BzmlwkZO.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-CjUYm6Y8.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-BBpWvss7.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-CnEXcdzr.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-CXda1TRy.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-DCz7WxHl.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-CQHTFClA.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-C3tsgeYq.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-CF7YSzrp.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-BvNWx4a8.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-DitReQ9n.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-DcZyVpqG.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-DqF707hp.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-D9sIS4Dp.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-Br6xw2QW.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-B3JFedE5.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-B1pBe2b4.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-ByMA0D5w.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-WxGpd0TA.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-DPlkEVV6.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-BFkweUWm.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-o_zUZsUz.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-BeWSYBle.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-Ds9lWEE_.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-B8dltsA4.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BjWTRcbW.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-kRBUbvs6.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-XM92kEwZ.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-DMiRno4r.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-CHcCU9pB.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-BidbeObz.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-DkOSgEPp.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-Y8-adLxE.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-CFcWzQ_a.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-DiZvQzSb.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-BKsixkUU.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-DgizrVYM.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-8-CU7ACz.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-Cmax9zNa.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-v5zjc5i3.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-tnKZr6bC.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-OAHpNcTb.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-DZWUAetO.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-oMF4Uxgv.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-BFgWt2oG.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-BuoFM_Qt.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-AOnxjmTY.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-CPEbWJv-.cjs"))),VueUiCirclePack:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-circle-pack-DZjwCJfn.cjs"))),VueUiWorld:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-world-C-TO7n_r.cjs"))),VueUiRidgeline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-ridgeline-DgzMstgJ.cjs")))},G={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"],VueUiCirclePack:["config","dataset"],VueUiWorld:["config","dataset"],VueUiRidgeline:["config","dataset"]},$=_,c=e.computed(()=>!l[i.component]),X=e.computed(()=>l[i.component]||null),o=e.ref(null),j=e.computed(()=>{const t=G[i.component]||[],n={};return t.includes("config")&&(n.config=W.value),t.includes("dataset")&&(n.dataset=M.value),n}),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),C=e.ref(()=>null),A=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),k=e.ref(()=>null),S=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),I=e.ref(()=>null),N=e.ref(()=>null),x=e.ref(()=>null),F=e.ref(()=>null),H=e.ref(()=>null);e.onMounted(()=>{c.value&&console.error(`
|
|
2
|
-
|
|
3
|
-
Vue Data UI exception:
|
|
4
|
-
The provided component "${i.component}" does not exist. Check the spelling.
|
|
5
|
-
|
|
6
|
-
Available components:
|
|
7
|
-
|
|
8
|
-
${Object.keys(l).map(t=>`. ${t}
|
|
9
|
-
`).join("")}`)}),e.watch(o,async t=>{t&&(t.generatePdf&&(m.value=t.generatePdf),t.generateImage&&(g.value=t.generateImage),t.generateCsv&&(d.value=t.generateCsv),t.getItemsPositions&&(p.value=t.getItemsPositions),t.toggleReadonly&&(f.value=t.toggleReadonly),t.shoot&&(V.value=t.shoot),t.close&&(v.value=t.close),t.restoreOrder&&(U.value=t.restoreOrder),t.recalculateHeight&&(h.value=t.recalculateHeight),t.toggleLock&&(y.value=t.toggleLock),t.toggleTable&&(C.value=t.toggleTable),t.toggleLabels&&(A.value=t.toggleLabels),t.toggleSort&&(P.value=t.toggleSort),t.toggleStack&&(q.value=t.toggleStack),t.toggleTooltip&&(k.value=t.toggleTooltip),t.start&&(S.value=t.start),t.pause&&(b.value=t.pause),t.reset&&(T.value=t.reset),t.restart&&(D.value=t.restart),t.lap&&(B.value=t.lap),t.toggleAnimation&&(I.value=t.toggleAnimation),t.pauseAnimation&&(N.value=t.pauseAnimation),t.resumeAnimation&&(x.value=t.resumeAnimation),t.toggleAnnotator&&(F.value=t.toggleAnnotator),t.selectNode&&(H.value=t.selectNode))});const Q=()=>{const t=["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","pause","reset","restart","lap","toggleAnimation","pauseAnimation","resumeAnimation","toggleAnnotator","selectNode"],n={};return t.forEach(u=>{n[u]=(...a)=>$(u,...a)}),n},r=e.shallowReactive([]);e.watch([r,o],()=>{if(o.value)for(;r.length;){const[t,...n]=r.shift();typeof o.value[t]=="function"&&o.value[t](...n)}}),O({getData:(...t)=>o.value&&typeof o.value.getData=="function"?o.value.getData():r.push(["getData",...t]),generatePdf:m,generateCsv:d,generateImage:g,getItemsPositions:p,toggleReadonly:f,shoot:V,close:v,restoreOrder:U,recalculateHeight:h,toggleLock:y,toggleTable:C,toggleLabels:A,toggleSort:P,toggleStack:q,toggleTooltip:k,start:S,pause:b,reset:T,restart:D,lap:B,pauseAnimation:N,resumeAnimation:x,toggleAnimation:I,toggleAnnotator:F,selectNode:H});const s=e.computed(()=>{let t=`The provided component ${i.component} does not exist.`;return["VueUiIcon","VueUiPattern","Arrow"].includes(i.component)?(t=`${i.component} is not supported by the VueDataUi universal component. You must import it individually.`,console.warn(t),{status:"notSupported",message:t}):(console.warn(t),{status:"unknown",message:t})});return(t,n)=>c.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:"100%",display:"flex",gap:"6px",alignItems:"center",color:s.value.status==="notSupported"?"#FF9000":"#FF0000"})},[e.createElementVNode("div",K,[s.value.status==="unknown"?(e.openBlock(),e.createBlock(L.default,{key:0,name:"moodFlat",stroke:"#FF0000"})):e.createCommentVNode("",!0),s.value.status==="notSupported"?(e.openBlock(),e.createBlock(L.default,{key:1,name:"circleExclamation",stroke:"#FF9000"})):e.createCommentVNode("",!0)]),e.createTextVNode(" "+e.toDisplayString(s.value.message),1)],4)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(X.value),e.mergeProps({key:1,ref_key:"currentComponentRef",ref:o},j.value,e.toHandlers(Q())),e.createSlots({_:2},[e.renderList(t.$slots,(u,a)=>({name:a,fn:e.withCtx(z=>[e.renderSlot(t.$slots,a,e.normalizeProps(e.guardReactiveProps(z)))])}))]),1040))}};exports.default=Y;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-B7zOq_yO.cjs"),B=require("./useNestedProp-DUH233CH.cjs"),s=require("./PackageVersion-BS7Jybcw.cjs"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),M=["id"],L=["xmlns"],S=["id"],z=["stop-color"],$=["stop-color"],P=["stop-color"],A=["stop-color"],X=["fill","stroke"],W=["fill","stroke"],j=["fill","stroke"],F=["fill","stroke"],O=["fill","stroke"],q=["xmlns"],H=["stroke"],Z=["stroke"],I=["stroke"],G=["fill","stroke"],T=["fill"],R=["fill","stroke"],Y=["fill"],D=["fill","stroke"],U=["fill"],J=["fill","stroke"],K=["fill"],Q=["fill","stroke"],ee=["fill"],te=["fill","stroke"],le=["fill"],oe=["xmlns"],re=["stroke"],ne=["stroke"],se=["stroke"],ce=["stroke"],ae=["stroke"],ie=["stroke"],de=["stroke"],ue=["stroke"],ke=["stroke"],ye=["xmlns"],he=["stroke","fill"],me=["xmlns"],ve=["stroke","fill"],_e=["xmlns"],pe=["fill"],xe=["fill"],fe=["fill"],ge=["fill"],Ne=["xmlns"],we=["stroke"],Ee=["fill"],Ve=["stroke","fill"],Ce=["stroke","fill"],Be=["fill"],be=["stroke","fill"],Me=["stroke","fill"],Le=["fill"],Se=["stroke","fill"],ze=["stroke","fill"],$e=["fill"],Pe=["stroke","fill"],Ae=["stroke","fill"],Xe=["fill"],We=["stroke","fill"],je=["stroke","fill"],Fe=["xmlns"],Oe=["stroke"],qe=["stroke"],He=["stroke","fill"],Ze=["stroke","fill"],Ie=["stroke","fill"],Ge=["stroke","fill"],Te=["stroke","fill"],Re=["stroke","fill"],Ye=["stroke","fill"],De=["stroke","fill"],Ue=["stroke","fill"],Je=["stroke","fill"],Ke=["stroke","fill"],Qe=["stroke","fill"],et=["stroke","fill"],tt=["stroke","fill"],lt=["stroke","fill"],ot=["stroke","fill"],rt=["stroke","fill"],nt=["stroke","fill"],st=["stroke","fill"],ct=["stroke","fill"],at=["stroke","fill"],it=["stroke","fill"],dt=["stroke","fill"],ut=["xmlns"],kt=["stroke"],yt=["xmlns"],ht=["stroke"],mt=["xmlns"],vt=["stroke"],_t=["xmlns"],pt=["fill"],xt=["fill"],ft=["fill"],gt=["fill"],Nt=["fill"],wt=["fill"],Et=["fill"],Vt=["fill"],Ct=["fill"],Bt=["fill"],bt=["fill"],Mt=["fill"],Lt=["xmlns"],St=["stroke"],zt=["stroke"],$t=["stroke"],Pt=["stroke"],At=["stroke"],Xt=["stroke"],Wt=["xmlns"],jt=["stroke"],Ft=["stroke"],Ot=["stroke"],qt=["stroke"],Ht=["stroke"],Zt=["stroke"],It=["stroke"],Gt=["stroke"],Tt=["stroke"],Rt=["xmlns"],Yt=["stroke"],Dt=["xmlns"],Ut=["stroke"],Jt=["stroke"],Kt=["stroke"],Qt=["stroke"],el=["stroke"],tl=["stroke"],ll=["stroke"],ol=["stroke"],rl=["stroke"],nl=["xmlns"],sl=["x1","x2","stroke"],cl=["xmlns"],al=["x","y","width","height","fill"],il=["y","width","height","fill"],dl=["xmlns"],ul=["fill"],kl=["fill"],yl=["fill"],hl=["xmlns"],ml=["x1","x2","y1","y2","stroke"],vl=["stroke"],_l=["fill"],pl=["xmlns"],xl=["fill"],fl=["fill"],gl=["x1","y1","x2","y2","stroke-width","stroke"],Nl=["xmlns"],wl={key:0},El=["stroke","stroke-width"],Vl=["stroke","stroke-width"],Cl=["x1","x2","y1","y2","stroke","stroke-width"],Bl=["x1","x2","y1","y2","stroke","stroke-width"],bl=["x1","x2","y1","y2","stroke","stroke-width"],Ml=["x","y","height","width","fill"],Ll=["xmlns","viewBox"],Sl=["x","y","stroke","fill"],zl=["xmlns"],$l=["d","stroke"],Pl=["cx","cy","r","fill","stroke"],Al=["cx","cy","r","fill","stroke"],Xl=["x","y","width","fill"],Wl=["cx","cy","fill"],jl=["cx","cy","fill"],Fl=["stroke"],Ol=["xmlns"],ql=["stroke","stroke-width"],Hl=["stroke","stroke-width"],Zl=["stroke","stroke-width"],Il=["fill"],Gl=["fill"],Tl=["fill"],Rl=["fill"],Yl=["fill"],Dl=["fill"],Ul=["xmlns"],Jl={key:0},Kl=["stroke","stroke-width"],Ql=["stroke","stroke-width"],eo=["stroke","stroke-width"],to={key:1},lo=["r","fill"],oo=["r","fill"],ro=["xmlns"],no={key:0},so=["stroke","stroke-width"],co=["stroke","stroke-width"],ao=["fill","rx","x","y","width","height"],io=["xmlns"],uo=["stroke-width","stroke"],ko=["stroke-width","stroke"],yo=["stroke-width","stroke"],ho=["xmlns"],mo=["stroke"],vo=["stroke"],_o=["stroke"],po=["stroke"],xo=["fill"],fo=["stroke"],go=["xmlns"],No=["stroke","stroke-width"],wo=["stroke","stroke-width"],Eo=["fill","r"],Vo=["fill","r"],Co=["fill","r"],Bo=["fill","r"],bo=["fill","r"],Mo=["fill","r"],Lo=["fill","r"],So=["fill","r"],zo=["fill","r"],$o=["xmlns"],Po=["d","stroke","stroke-width"],Ao=["d","stroke","stroke-width"],Xo=["d","stroke","stroke-width"],Wo=["d","stroke","stroke-width"],jo=["stroke","stroke-width"],Fo=["stroke","stroke-width"],Oo=["stroke","stroke-width"],qo=["fill"],Ho=["fill"],Zo=["xmlns"],Io=["x","y","fill"],Go=["x","y","fill"],To=["x","y","fill"],Ro=["xmlns"],Yo=["fill"],Do=["fill"],Uo=["y1","y2","stroke","stroke-width"],Jo=["x1","x2","stroke","stroke-width"],Ko=["xmlns","stroke"],Qo=["fill"],e1=["xmlns","stroke"],t1=["xmlns","stroke"],l1=["fill"],o1=["xmlns","stroke"],r1=["xmlns","stroke"],n1=["fill"],s1=["xmlns","stroke"],c1=["xmlns","stroke"],a1=["fill"],i1=["xmlns","stroke"],d1=["xmlns","stroke"],u1=["fill"],k1=["xmlns","stroke"],y1=["xmlns"],h1=["points","fill","stroke","stroke-width"],m1=["xmlns"],v1={key:0},_1=["stroke","stroke-width"],p1=["y","width","fill","rx"],x1={__name:"vue-ui-skeleton",props:{config:{type:Object,default(){return{}}}},setup(_){const{vue_ui_skeleton:p}=l.useConfig(),x=_,d=e.ref(`vue-ui-skeleton-${Math.random()}`),t=e.computed(()=>B.useNestedProp({userConfig:x.config,defaultConfig:p})),f=e.computed(()=>t.value.style.animated),n=e.computed(()=>t.value.type),g=e.ref([60,50,55,36,40,25,26,12]),N=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:40,sides:6}).path),w=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:30,sides:6}).path),E=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:20,sides:6}).path),V=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:10,sides:6}).path),y=e.ref([{root:{x:70,y:77,r:44,opacity:100},bars:[{x:200,y:37,opacity:100,width:240},{x:200,y:118,opacity:100,width:180},{x:200,y:253,opacity:100,width:80}]},{root:{x:70,y:177,r:32,opacity:70},bars:[{x:200,y:145,opacity:70,width:160},{x:200,y:172,opacity:70,width:140},{x:200,y:199,opacity:70,width:120}]},{root:{x:70,y:257,r:24,opacity:40},bars:[{x:200,y:64,opacity:40,width:220},{x:200,y:91,opacity:40,width:200},{x:200,y:226,opacity:40,width:100}]}]),a=e.ref([{y:200,height:100,bar:50},{y:180,height:100,bar:40},{y:150,height:100,bar:30},{y:120,height:80,bar:50},{y:110,height:60,bar:30},{y:80,height:80,bar:10},{y:50,height:80,bar:40},{y:24,height:40,bar:24},{y:44,height:20,bar:13},{y:32,height:45,bar:19}]),k=e.ref([[3,2.5],[4,3.1],[8,6],[9.5,6.5],[12,11],[16,15],[18,18.2],[25,24],[24,26],[32,32],[33,32],[32,31],[38,37],[37,38],[42,41],[40,41],[44,45],[38,35],[31,32]]),h=e.ref([{x:40,y:30},{x:45,y:28},{x:50,y:25},{x:55,y:20},{x:60,y:27},{x:65,y:14},{x:70,y:23},{x:75,y:16},{x:80,y:25},{x:85,y:10},{x:90,y:18},{x:95,y:7},{x:100,y:12},{x:105,y:10},{x:110,y:20},{x:115,y:7},{x:120,y:14},{x:125,y:10},{x:130,y:19},{x:135,y:3},{x:140,y:10},{x:145,y:2},{x:150,y:1}]);function m(u,c=1){return{x:200+160*Math.cos(29.85+u*Math.PI/180)*c,y:200+160*Math.sin(29.85+u*Math.PI/180)*c}}const C=e.computed(()=>{const u=[];for(let o=0;o<100;o+=1)u.push({x1:m(360/100*o).x,y1:m(360/100*o).y,x2:m(360/100*o,.9).x,y2:m(360/100*o,.9).y,color:t.value.style.wheel.color});return u});return(u,c)=>(e.openBlock(),e.createElementBlock("div",{id:d.value,class:e.normalizeClass({"vue-ui-skeleton":!0,"vue-ui-skeleton-animated":f.value}),style:e.normalizeStyle(`background:${t.value.style.backgroundColor};color:${t.value.style.color};display:flex;align-items:center;justify-content:center;`)},[n.value==="ridgeline"?(e.openBlock(),e.createElementBlock("svg",{key:0,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"20 0 512 200",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`ridgeline-gradient-${d.value}`,x1:"50%",y1:"0%",x2:"50%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.ridgeline.color,"stop-opacity":"1"},null,8,z),e.createElementVNode("stop",{offset:"30%","stop-color":t.value.style.ridgeline.color,"stop-opacity":"0.7"},null,8,$),e.createElementVNode("stop",{offset:"70%","stop-color":t.value.style.ridgeline.color,"stop-opacity":"0.3"},null,8,P),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.ridgeline.color,"stop-opacity":"0.1"},null,8,A)],8,S)]),e.createElementVNode("path",{fill:`url(#ridgeline-gradient-${d.value})`,stroke:t.value.style.ridgeline.color,"stroke-width":"1",d:"M66.6953125,60 L66.6953125,60 C72.88009982638889,59.403611453288086 79.06488715277779,58.89368232203086 85.24967447916667,58.21083435986425 C91.43446180555556,57.52798639769764 97.61924913194446,55.827101525061806 103.80403645833334,55.81495611628739 C109.98882378472223,55.802810707512975 116.17361111111111,55.808794600725854 122.3583984375,55.79659841225535 C128.54318576388889,55.784402223784845 134.7279730902778,50.50120257180663 140.91276041666669,50.50120257180663 C147.09754774305557,50.50120257180663 153.28233506944446,55.449371402529025 159.46712239583334,55.449371402529025 C165.65190972222223,55.449371402529025 171.83669704861111,52.6726852661858 178.021484375,52.6726852661858 C184.20627170138889,52.6726852661858 190.3910590277778,53.68748523105861 196.57584635416669,54.588107791627955 C202.76063368055557,55.4887303521973 208.94542100694446,59.17209535382662 215.13020833333334,59.17209535382662 C221.31499565972223,59.17209535382662 227.49978298611111,52.45924262596313 233.6845703125,52.45924262596313 C239.86935763888889,52.45924262596313 246.0541449652778,53.35394069624585 252.23893229166669,53.35394069624585 C258.4237196180556,53.35394069624585 264.60850694444446,48.87053557137407 270.79329427083337,48.87053557137407 C276.97808159722223,48.87053557137407 283.16286892361114,53.66236486164665 289.34765625,53.66236486164665 C295.5324435763889,53.66236486164665 301.71723090277777,27.591473273183208 307.9020182291667,27.591473273183208 C314.0868055555556,27.591473273183208 320.27159288194446,36.89852761880239 326.45638020833337,41.437518391010784 C332.64116753472223,45.97650916321916 338.82595486111114,54.832874234480315 345.0107421875,54.832874234480315 C351.1955295138889,54.832874234480315 357.38031684027777,18.691201442289355 363.5651041666667,18.691201442289355 C369.7498914930556,18.691201442289355 375.93467881944446,57.13764103396694 382.11946614583337,57.13764103396694 C388.30425347222223,57.13764103396694 394.48904079861114,45.68426316642005 400.673828125,40.20394349296662 C406.8586154513889,34.72362381951317 413.04340277777777,24.227858288281524 419.2281901041667,24.227858288281524 C425.4129774305556,24.227858288281524 431.59776475694446,40.62757421574731 437.78255208333337,40.62757421574731 C443.96733940972223,40.62757421574731 450.15212673611114,40.51108265240213 456.3369140625,40.28423459323992 C462.5217013888889,40.057386534077715 468.70648871527777,2.1986259303168354 474.8912760416667,2.1986259303168354 C481.0760633680556,2.1986259303168354 487.26085069444446,26.26823707335967 493.44563802083337,38.30304264488109 L493.44563802083337,60 ","stroke-linecap":"round","stroke-linejoin":"round"},null,8,X),e.createElementVNode("path",{fill:`url(#ridgeline-gradient-${d.value})`,stroke:t.value.style.ridgeline.color,"stroke-width":"1",d:"M66.6953125,90 L66.6953125,90 C72.88009982638889,89.77691866194493 79.06488715277779,89.6480674216807 85.24967447916667,89.3307559858348 C91.43446180555556,89.0134445499889 97.61924913194446,87.68266335878263 103.80403645833334,87.68266335878263 C109.98882378472223,87.68266335878263 116.17361111111111,89.33939506404997 122.3583984375,89.33939506404997 C128.54318576388889,89.33939506404997 134.7279730902778,80.57818692301632 140.91276041666669,80.57818692301632 C147.09754774305557,80.57818692301632 153.28233506944446,84.72929899595943 159.46712239583334,84.72929899595943 C165.65190972222223,84.72929899595943 171.83669704861111,76.29369461861882 178.021484375,76.29369461861882 C184.20627170138889,76.29369461861882 190.3910590277778,87.15511944847793 196.57584635416669,87.15511944847793 C202.76063368055557,87.15511944847793 208.94542100694446,77.94863017425682 215.13020833333334,74.99584997381157 C221.31499565972223,72.04306977336633 227.49978298611111,68.02886623624688 233.6845703125,68.02886623624688 C239.86935763888889,68.02886623624688 246.0541449652778,77.62348634322068 252.23893229166669,80.79968178070098 C258.4237196180556,83.97587721818128 264.60850694444446,88.39897472556459 270.79329427083337,88.39897472556459 C276.97808159722223,88.39897472556459 283.16286892361114,63.96493991037978 289.34765625,63.96493991037978 C295.5324435763889,63.96493991037978 301.71723090277777,80.9314320263608 307.9020182291667,80.9314320263608 C314.0868055555556,80.9314320263608 320.27159288194446,60.30690675691305 326.45638020833337,60.30690675691305 C332.64116753472223,60.30690675691305 338.82595486111114,80.67911579309319 345.0107421875,80.67911579309319 C351.1955295138889,80.67911579309319 357.38031684027777,67.55382714087668 363.5651041666667,67.55382714087668 C369.7498914930556,67.55382714087668 375.93467881944446,81.05597396275368 382.11946614583337,81.05597396275368 C388.30425347222223,81.05597396275368 394.48904079861114,54.64612249628824 400.673828125,54.64612249628824 C406.8586154513889,54.64612249628824 413.04340277777777,55.13964865957763 419.2281901041667,55.91372079887162 C425.4129774305556,56.687792938165614 431.59776475694446,69.73490119628686 437.78255208333337,69.73490119628686 C443.96733940972223,69.73490119628686 450.15212673611114,64.42569974333888 456.3369140625,61.42720502984072 C462.5217013888889,58.42871031634255 468.70648871527777,51.619770711423186 474.8912760416667,51.619770711423186 C481.0760633680556,51.619770711423186 487.26085069444446,71.43616197640954 493.44563802083337,81.34435760890271 L493.44563802083337,90 ","stroke-linecap":"round","stroke-linejoin":"round"},null,8,W),e.createElementVNode("path",{fill:`url(#ridgeline-gradient-${d.value})`,stroke:t.value.style.ridgeline.color,"stroke-width":"1",d:"M66.6953125,120 L66.6953125,120 C72.88009982638889,119.66196806626975 79.06488715277779,119.44533270180851 85.24967447916667,118.98590419880924 C91.43446180555556,118.52647569580996 97.61924913194446,117.81773649883283 103.80403645833334,116.83526495762351 C109.98882378472223,115.85279341641419 116.17361111111111,113.13699308912776 122.3583984375,112.1532391330314 C128.54318576388889,111.16948517693505 134.7279730902778,109.99850075011585 140.91276041666669,109.99850075011585 C147.09754774305557,109.99850075011585 153.28233506944446,110.52302856658399 159.46712239583334,111.20320255966007 C165.65190972222223,111.88337655273615 171.83669704861111,117.86718432281516 178.021484375,117.86718432281516 C184.20627170138889,117.86718432281516 190.3910590277778,105.7185696258208 196.57584635416669,105.7185696258208 C202.76063368055557,105.7185696258208 208.94542100694446,110.31751295094999 215.13020833333334,110.31751295094999 C221.31499565972223,110.31751295094999 227.49978298611111,99.70404230342633 233.6845703125,98.99064382512827 C239.86935763888889,98.27724534683021 246.0541449652778,97.80890189925606 252.23893229166669,97.80890189925606 C258.4237196180556,97.80890189925606 264.60850694444446,115.55764695626283 270.79329427083337,116.03253869768785 C276.97808159722223,116.50743043911288 283.16286892361114,116.77385330737809 289.34765625,116.77385330737809 C295.5324435763889,116.77385330737809 301.71723090277777,99.67826782033458 307.9020182291667,99.67826782033458 C314.0868055555556,99.67826782033458 320.27159288194446,112.3566918690216 326.45638020833337,112.3566918690216 C332.64116753472223,112.3566918690216 338.82595486111114,112.02516373585607 345.0107421875,111.68929597325065 C351.1955295138889,111.35342821064523 357.38031684027777,110.90183216475394 363.5651041666667,109.63399668493035 C369.7498914930556,108.36616120510676 375.93467881944446,84.17797508108582 382.11946614583337,84.17797508108582 C388.30425347222223,84.17797508108582 394.48904079861114,94.53076076341709 400.673828125,94.53076076341709 C406.8586154513889,94.53076076341709 413.04340277777777,73.4620627222233 419.2281901041667,73.4620627222233 C425.4129774305556,73.4620627222233 431.59776475694446,106.73221498100051 437.78255208333337,106.73221498100051 C443.96733940972223,106.73221498100051 450.15212673611114,79.76344757126915 456.3369140625,79.76344757126915 C462.5217013888889,79.76344757126915 468.70648871527777,106.72764789963081 474.8912760416667,107.12246048541942 C481.0760633680556,107.51727307120804 487.26085069444446,107.52600835218848 493.44563802083337,107.72778228557301 L493.44563802083337,120 ","stroke-linecap":"round","stroke-linejoin":"round"},null,8,j),e.createElementVNode("path",{fill:`url(#ridgeline-gradient-${d.value})`,stroke:t.value.style.ridgeline.color,"stroke-width":"1",d:"M66.6953125,150 L66.6953125,150 C72.88009982638889,149.47795029840844 79.06488715277779,148.4338508952253 85.24967447916667,148.4338508952253 C91.43446180555556,148.4338508952253 97.61924913194446,149.78862806087534 103.80403645833334,149.78862806087534 C109.98882378472223,149.78862806087534 116.17361111111111,148.04072353168746 122.3583984375,146.60906937938194 C128.54318576388889,145.1774152270764 134.7279730902778,139.99324557351443 140.91276041666669,139.99324557351443 C147.09754774305557,139.99324557351443 153.28233506944446,149.97273754861985 159.46712239583334,149.97273754861985 C165.65190972222223,149.97273754861985 171.83669704861111,145.03376687065332 178.021484375,144.32772797689168 C184.20627170138889,143.62168908313004 190.3910590277778,143.8107253736048 196.57584635416669,143.02409560735822 C202.76063368055557,142.23746584111163 208.94542100694446,130.58782434985233 215.13020833333334,130.58782434985233 C221.31499565972223,130.58782434985233 227.49978298611111,149.11182283334733 233.6845703125,149.11182283334733 C239.86935763888889,149.11182283334733 246.0541449652778,146.61934000905183 252.23893229166669,146.61934000905183 C258.4237196180556,146.61934000905183 264.60850694444446,149.63856103727883 270.79329427083337,149.63856103727883 C276.97808159722223,149.63856103727883 283.16286892361114,120.24508280084818 289.34765625,120.24508280084818 C295.5324435763889,120.24508280084818 301.71723090277777,125.8060617486636 307.9020182291667,128.6125576296939 C314.0868055555556,131.4190535107242 320.27159288194446,133.74644461824312 326.45638020833337,137.08470876232406 C332.64116753472223,140.422972906405 338.82595486111114,149.32898535510793 345.0107421875,149.32898535510793 C351.1955295138889,149.32898535510793 357.38031684027777,145.03425137258355 363.5651041666667,140.55008414046353 C369.7498914930556,136.0659169083435 375.93467881944446,111.78284121111767 382.11946614583337,111.78284121111767 C388.30425347222223,111.78284121111767 394.48904079861114,113.0713199708892 400.673828125,114.79772539893028 C406.8586154513889,116.52413082697136 413.04340277777777,133.15608044416945 419.2281901041667,133.15608044416945 C425.4129774305556,133.15608044416945 431.59776475694446,125.48444339686912 437.78255208333337,120.24326995443076 C443.96733940972223,115.0020965119924 450.15212673611114,101.73324574781462 456.3369140625,100.14499087277113 C462.5217013888889,98.55673599772764 468.70648871527777,97.44223271035757 474.8912760416667,97.44223271035757 C481.0760633680556,97.44223271035757 487.26085069444446,132.1334233728692 493.44563802083337,149.479018704125 L493.44563802083337,150 ","stroke-linecap":"round","stroke-linejoin":"round"},null,8,F),e.createElementVNode("path",{fill:`url(#ridgeline-gradient-${d.value})`,stroke:t.value.style.ridgeline.color,"stroke-width":"1",d:"M66.6953125,180 L66.6953125,180 C72.88009982638889,179.39605101103442 79.06488715277779,178.92730785819862 85.24967447916667,178.18815303310322 C91.43446180555556,177.44899820800782 97.61924913194446,175.33107571940982 103.80403645833334,175.33107571940982 C109.98882378472223,175.33107571940982 116.17361111111111,177.47366730075544 122.3583984375,177.47366730075544 C128.54318576388889,177.47366730075544 134.7279730902778,170.38775880855806 140.91276041666669,170.38775880855806 C147.09754774305557,170.38775880855806 153.28233506944446,171.4694838366037 159.46712239583334,172.41798939562977 C165.65190972222223,173.36649495465585 171.83669704861111,177.1729843832873 178.021484375,177.1729843832873 C184.20627170138889,177.1729843832873 190.3910590277778,174.7215709705521 196.57584635416669,172.5530222705251 C202.76063368055557,170.3844735704981 208.94542100694446,161.56078332389657 215.13020833333334,161.56078332389657 C221.31499565972223,161.56078332389657 227.49978298611111,171.1370681840353 233.6845703125,171.1370681840353 C239.86935763888889,171.1370681840353 246.0541449652778,170.88725102137704 252.23893229166669,170.45309201950832 C258.4237196180556,170.0189330176396 264.60850694444446,156.84700075078612 270.79329427083337,156.84700075078612 C276.97808159722223,156.84700075078612 283.16286892361114,174.0829766419065 289.34765625,174.0829766419065 C295.5324435763889,174.0829766419065 301.71723090277777,171.5781917260595 307.9020182291667,168.8920253992975 C314.0868055555556,166.2058590725355 320.27159288194446,153.43891051012255 326.45638020833337,150.88771611488693 C332.64116753472223,148.3365217196513 338.82595486111114,146.02799801023272 345.0107421875,146.02799801023272 C351.1955295138889,146.02799801023272 357.38031684027777,164.6350120745111 363.5651041666667,164.6350120745111 C369.7498914930556,164.6350120745111 375.93467881944446,140.42043513396675 382.11946614583337,137.9765300293455 C388.30425347222223,135.53262492472425 394.48904079861114,133.72620179898215 400.673828125,133.72620179898215 C406.8586154513889,133.72620179898215 413.04340277777777,141.64613191592866 419.2281901041667,141.64613191592866 C425.4129774305556,141.64613191592866 431.59776475694446,139.69953612312747 437.78255208333337,139.69953612312747 C443.96733940972223,139.69953612312747 450.15212673611114,169.39176477225985 456.3369140625,169.39176477225985 C462.5217013888889,169.39176477225985 468.70648871527777,166.8370171970348 474.8912760416667,163.2533085704992 C481.0760633680556,159.6695999439636 487.26085069444446,134.41776952349974 493.44563802083337,120 L493.44563802083337,180 ","stroke-linecap":"round","stroke-linejoin":"round"},null,8,O)],12,L)):e.createCommentVNode("",!0),n.value==="historyPlot"?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 612 512",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"12",x2:"12",y1:"12",y2:"500",stroke:t.value.style.historyPlot.color,"stroke-width":"3","stroke-linecap":"round"},null,8,H),e.createElementVNode("line",{x1:"12",x2:"600",y1:"500",y2:"500",stroke:t.value.style.historyPlot.color,"stroke-width":"3","stroke-linecap":"round"},null,8,Z),e.createElementVNode("path",{d:"M 80,100 300,200 400,150 560,230 360,420 230,320",fill:"none",stroke:t.value.style.historyPlot.color,"stroke-width":"3"},null,8,I),e.createElementVNode("circle",{cx:"80",cy:"100",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,G),e.createElementVNode("text",{x:"80",y:"108",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"1",8,T),e.createElementVNode("circle",{cx:"300",cy:"200",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,R),e.createElementVNode("text",{x:"300",y:"208",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"2",8,Y),e.createElementVNode("circle",{cx:"400",cy:"150",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,D),e.createElementVNode("text",{x:"400",y:"158",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"3",8,U),e.createElementVNode("circle",{cx:"560",cy:"230",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,J),e.createElementVNode("text",{x:"560",y:"238",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"4",8,K),e.createElementVNode("circle",{cx:"360",cy:"420",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,Q),e.createElementVNode("text",{x:"360",y:"428",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"5",8,ee),e.createElementVNode("circle",{cx:"230",cy:"320",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,te),e.createElementVNode("text",{x:"230",y:"328",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"6",8,le)],12,q)):e.createCommentVNode("",!0),n.value==="circlePack"?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createElementVNode("circle",{cx:50,cy:50,r:20,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,re),e.createElementVNode("circle",{cx:80,cy:50,r:10,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ne),e.createElementVNode("circle",{cx:28,cy:30,r:10,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,se),e.createElementVNode("circle",{cx:25,cy:76,r:16,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ce),e.createElementVNode("circle",{cx:60,cy:78.5,r:10,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ae),e.createElementVNode("circle",{cx:64,cy:20,r:13,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ie),e.createElementVNode("circle",{cx:72,cy:37,r:5,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,de),e.createElementVNode("circle",{cx:25,cy:45,r:5,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ue),e.createElementVNode("circle",{cx:70,cy:66,r:5,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ke)],12,oe)):e.createCommentVNode("",!0),n.value==="flow"?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 8 L 28 12 L 52 9 L 75 8 L 75 12 L 52 12 L 28 21 L 5 29 Z M 5 34 L 28 35 L 52 24 L 75 21 L 75 27 L 52 30 L 28 44 L 52 39 L 75 41 L 75 47 L 52 45 L 28 52 L 5 52 Z",stroke:t.value.style.flow.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:t.value.style.flow.color},null,8,he)],12,ye)):e.createCommentVNode("",!0),n.value==="parallelCoordinatePlot"?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 10 A 1 1 0 0 0 5 12 A 1 1 0 0 0 5 10 M 28 15 A 1 1 0 0 0 28 17 A 1 1 0 0 0 28 15 M 52 8 A 1 1 0 0 0 52 10 A 1 1 0 0 0 52 8 M 75 11 A 1 1 0 0 0 75 13 A 1 1 0 0 0 75 11 M 6 11 L 27 16 M 29 16 L 51 9 M 53 9 L 74 12 M 5 50 A 1 1 0 0 0 5 48 A 1 1 0 0 0 5 50 M 28 39 A 1 1 0 0 0 28 41 A 1 1 0 0 0 28 39 M 52 45 A 1 1 0 0 0 52 47 A 1 1 0 0 0 52 45 M 75 45 A 1 1 0 0 0 75 47 A 1 1 0 0 0 75 45 M 6 49 L 27 40 M 29 40 L 51 46 M 53 46 L 74 46 M 5 25 A 1 1 0 0 0 5 27 A 1 1 0 0 0 5 25 M 28 31 A 1 1 0 0 0 28 33 A 1 1 0 0 0 28 31 M 52 23 A 1 1 0 0 0 52 25 A 1 1 0 0 0 52 23 M 75 21 A 1 1 0 0 0 75 23 A 1 1 0 0 0 75 21 M 6 26 L 27 32 M 29 32 L 51 24 M 53 24 L 74 22",stroke:t.value.style.parallelCoordinatePlot.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:t.value.style.parallelCoordinatePlot.color},null,8,ve)],12,me)):e.createCommentVNode("",!0),n.value==="bullet"?(e.openBlock(),e.createElementBlock("svg",{key:5,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 600 96",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:24,y:12,width:300,height:72,style:{opacity:"0.8"}},null,8,pe),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:324,y:12,width:150,height:72,style:{opacity:"0.6"}},null,8,xe),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:474,y:12,width:102,height:72,style:{opacity:"0.3"}},null,8,fe),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:24,y:36,width:490,height:24,style:{opacity:"1"}},null,8,ge)],12,_e)):e.createCommentVNode("",!0),n.value==="dumbbell"?(e.openBlock(),e.createElementBlock("svg",{key:6,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 55",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:t.value.style.dumbbell.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,we),e.createElementVNode("path",{d:`
|
|
2
|
-
M 30,11
|
|
3
|
-
C 39,10 39,10
|
|
4
|
-
45,11
|
|
5
|
-
L 45,9
|
|
6
|
-
C 39,10 39,10
|
|
7
|
-
30,9 Z
|
|
8
|
-
`,fill:t.value.style.dumbbell.color},null,8,Ee),e.createElementVNode("circle",{cx:"30",cy:"10",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Ve),e.createElementVNode("circle",{cx:"46",cy:"10",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Ce),e.createElementVNode("path",{d:`
|
|
9
|
-
M 10,21
|
|
10
|
-
C 23,20 23,20
|
|
11
|
-
36,21
|
|
12
|
-
L 36,19
|
|
13
|
-
C 23,20 23,20
|
|
14
|
-
10,19 Z
|
|
15
|
-
`,fill:t.value.style.dumbbell.color},null,8,Be),e.createElementVNode("circle",{cx:"10",cy:"20",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,be),e.createElementVNode("circle",{cx:"36",cy:"20",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Me),e.createElementVNode("path",{d:`
|
|
16
|
-
M 30,31
|
|
17
|
-
C 45,30 45,30
|
|
18
|
-
60,31
|
|
19
|
-
L 60,29
|
|
20
|
-
C 45,30 45,30
|
|
21
|
-
30,29 Z
|
|
22
|
-
`,fill:t.value.style.dumbbell.color},null,8,Le),e.createElementVNode("circle",{cx:"30",cy:"30",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Se),e.createElementVNode("circle",{cx:"60",cy:"30",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,ze),e.createElementVNode("path",{d:`
|
|
23
|
-
M 50,41
|
|
24
|
-
C 65,40 65,40
|
|
25
|
-
80,41
|
|
26
|
-
L 80,39
|
|
27
|
-
C 65,40 65,40
|
|
28
|
-
50,39 Z
|
|
29
|
-
`,fill:t.value.style.dumbbell.color},null,8,$e),e.createElementVNode("circle",{cx:"50",cy:"40",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Pe),e.createElementVNode("circle",{cx:"80",cy:"40",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Ae),e.createElementVNode("path",{d:`
|
|
30
|
-
M 40,51
|
|
31
|
-
C 65,50 65,50
|
|
32
|
-
90,51
|
|
33
|
-
L 90,49
|
|
34
|
-
C 65,50 65,50
|
|
35
|
-
40,49 Z
|
|
36
|
-
`,fill:t.value.style.dumbbell.color},null,8,Xe),e.createElementVNode("circle",{cx:"40",cy:"50",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,We),e.createElementVNode("circle",{cx:"90",cy:"50",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,je)],12,Ne)):e.createCommentVNode("",!0),n.value==="stripPlot"?(e.openBlock(),e.createElementBlock("svg",{key:7,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"97",stroke:t.value.style.stripPlot.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Oe),e.createElementVNode("line",{x1:"3",x2:"97",y1:"97",y2:"97",stroke:t.value.style.stripPlot.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,qe),e.createElementVNode("circle",{cx:"12",cy:"8",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,He),e.createElementVNode("circle",{cx:"12",cy:"40",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Ze),e.createElementVNode("circle",{cx:"12",cy:"60",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Ie),e.createElementVNode("circle",{cx:"12",cy:"70",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Ge),e.createElementVNode("circle",{cx:"32",cy:"25",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Te),e.createElementVNode("circle",{cx:"32",cy:"38",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Re),e.createElementVNode("circle",{cx:"32",cy:"44",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Ye),e.createElementVNode("circle",{cx:"32",cy:"55",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,De),e.createElementVNode("circle",{cx:"52",cy:"30",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Ue),e.createElementVNode("circle",{cx:"52",cy:"33",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Je),e.createElementVNode("circle",{cx:"52",cy:"43",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Ke),e.createElementVNode("circle",{cx:"52",cy:"63",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Qe),e.createElementVNode("circle",{cx:"52",cy:"78",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,et),e.createElementVNode("circle",{cx:"72",cy:"58",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,tt),e.createElementVNode("circle",{cx:"72",cy:"70",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,lt),e.createElementVNode("circle",{cx:"72",cy:"78",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,ot),e.createElementVNode("circle",{cx:"72",cy:"88",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,rt),e.createElementVNode("circle",{cx:"92",cy:"66",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,nt),e.createElementVNode("circle",{cx:"92",cy:"77",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,st),e.createElementVNode("circle",{cx:"92",cy:"85",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,ct),e.createElementVNode("circle",{cx:"92",cy:"88",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,at),e.createElementVNode("circle",{cx:"92",cy:"90",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,it),e.createElementVNode("circle",{cx:"92",cy:"92",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,dt)],12,Fe)):e.createCommentVNode("",!0),n.value==="treemap"?(e.openBlock(),e.createElementBlock("svg",{key:8,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 30 21",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{fill:"none",stroke:t.value.style.treemap.color,"stroke-width":"0.3","stroke-linecap":"round","stroke-linejoin":"round",d:"M 1 1 L 29 1 L 29 20 L 1 20 Z M 10 1 L 10 20 M 1 13 L 10 13 M 22 11 L 22 20 M 10 11 L 22 11 M 22 11 L 29 11 M 7 13 L 7 20 M 17 11 L 17 20 M 22 15 L 29 15 M 26 15 L 26 20 M 20 1 L 20 11"},null,8,kt)],12,ut)):e.createCommentVNode("",!0),n.value==="galaxy"?(e.openBlock(),e.createElementBlock("svg",{key:9,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0.5 0 20 20",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{fill:"none",stroke:t.value.style.galaxy.color,"stroke-width":"2","stroke-linecap":"round",d:"M 7 11 A 1 1 0 0 0 11 11 M 14 11 A 1 1 0 0 0 7 11 M 3 11 A 1 1 0 0 0 14 11 M 18 11 A 1 1 0 0 0 3 11 M 16.4 16 C 17 15 18 13 18 11"},null,8,ht)],12,yt)):e.createCommentVNode("",!0),n.value==="bar3d"?(e.openBlock(),e.createElementBlock("svg",{key:10,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"2 0 16 20",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{fill:"none",stroke:t.value.style.bar3d.color,"stroke-width":"0.2",d:"M10 1 6 3 6 17 10 19 14 17 14 3 10 1M6 3 10 5 14 3M10 5 10 19","stroke-linecap":"round","stroke-linejoin":"round"},null,8,vt)],12,mt)):e.createCommentVNode("",!0),n.value==="sparkHistogram"?(e.openBlock(),e.createElementBlock("svg",{key:11,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 20",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("rect",{x:"3",y:"8",height:"4",width:"6",rx:"1.5",fill:t.value.style.sparkHistogram.color},null,8,pt),e.createElementVNode("rect",{x:"11",y:"6",height:"8",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,xt),e.createElementVNode("rect",{x:"19",y:"7",height:"6",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,ft),e.createElementVNode("rect",{x:"27",y:"6",height:"8",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,gt),e.createElementVNode("rect",{x:"35",y:"8",height:"4",width:"6",rx:"1.5",fill:t.value.style.sparkHistogram.color},null,8,Nt),e.createElementVNode("rect",{x:"43",y:"7",height:"6",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,wt),e.createElementVNode("rect",{x:"51",y:"8.5",height:"3",width:"6",rx:"1.5",fill:t.value.style.sparkHistogram.color},null,8,Et),e.createElementVNode("rect",{x:"59",y:"7",height:"6",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,Vt),e.createElementVNode("rect",{x:"67",y:"6",height:"8",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,Ct),e.createElementVNode("rect",{x:"75",y:"7",height:"6",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,Bt),e.createElementVNode("rect",{x:"83",y:"7",height:"6",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,bt),e.createElementVNode("rect",{x:"91",y:"8",height:"4",width:"6",rx:"1.5",fill:t.value.style.sparkHistogram.color},null,8,Mt)],12,_t)):e.createCommentVNode("",!0),n.value==="sparkbar"?(e.openBlock(),e.createElementBlock("svg",{key:12,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 500 200",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"12",x2:"488",y1:"50",y2:"50","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"0.5"},null,8,St),e.createElementVNode("line",{x1:"12",x2:"400",y1:"50",y2:"50","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"1"},null,8,zt),e.createElementVNode("line",{x1:"12",x2:"488",y1:"100",y2:"100","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"0.5"},null,8,$t),e.createElementVNode("line",{x1:"12",x2:"350",y1:"100",y2:"100","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"1"},null,8,Pt),e.createElementVNode("line",{x1:"12",x2:"488",y1:"150",y2:"150","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"0.5"},null,8,At),e.createElementVNode("line",{x1:"12",x2:"235",y1:"150",y2:"150","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"1"},null,8,Xt)],12,Lt)):e.createCommentVNode("",!0),n.value==="sparkStackbar"?(e.openBlock(),e.createElementBlock("svg",{key:13,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 500 64",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"12",x2:"488",y1:"32",y2:"32","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkStackbar.color,opacity:"0.5"},null,8,jt),e.createElementVNode("line",{x1:"12",x2:"380",y1:"32",y2:"32","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkStackbar.color,opacity:"0.6"},null,8,Ft),e.createElementVNode("line",{x1:"12",x2:"200",y1:"32",y2:"32","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkStackbar.color,opacity:"0.8"},null,8,Ot),e.createElementVNode("line",{x1:"12",x2:"120",y1:"32",y2:"32","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkStackbar.color,opacity:"1"},null,8,qt)],12,Wt)):e.createCommentVNode("",!0),n.value==="thermometer"?(e.openBlock(),e.createElementBlock("svg",{key:14,width:"100%",viewBox:"0 0 20 20",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{fill:"none",stroke:t.value.style.thermometer.color,"stroke-width":"0.2","stroke-linecap":"round",d:"M 13 4 A 1 1 0 0 0 7 4 L 7 16 A 1 1 0 0 0 13 16 L 13 4 M 7 15 L 8 15 M 7 12 L 8 12 M 7 9 L 8 9 M 7 6 L 8 6 M 12 15 L 13 15 M 12 12 L 13 12 M 12 9 L 13 9 M 12 6 L 13 6 "},null,8,Ht),e.createElementVNode("path",{stroke:t.value.style.thermometer.color,"stroke-width":"1",style:{opacity:"0.6"},d:"M 10 17 L 10 12 ","stroke-linecap":"round"},null,8,Zt),e.createElementVNode("path",{"stroke-linecap":"round",stroke:t.value.style.thermometer.color,"stroke-width":"1",opacity:"M 10 17 L 10 9"},null,8,It),e.createElementVNode("path",{"stroke-linecap":"round",stroke:t.value.style.thermometer.color,"stroke-width":"1",opacity:"0.3",d:"M 10 17 L 10 6"},null,8,Gt),e.createElementVNode("path",{"stroke-linecap":"round",stroke:t.value.style.thermometer.color,"stroke-width":"1",style:{opacity:"0.1"},d:"M 10 17 L 10 3"},null,8,Tt)],4)):e.createCommentVNode("",!0),n.value==="relationCircle"?(e.openBlock(),e.createElementBlock("svg",{key:15,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 20 20",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{fill:"none",stroke:t.value.style.relationCircle.color,"stroke-width":"0.2","stroke-linecap":"round",d:"M1 10A1 1 0 0019 10 1 1 0 001 10M1 10C7 11 9 13 10 19M10 19C10 11 8 7 6 2M10 19C10 11 12 7 14 2M10 19C11 13 12 11 19 10"},null,8,Yt)],12,Rt)):e.createCommentVNode("",!0),n.value==="molecule"?(e.openBlock(),e.createElementBlock("svg",{key:16,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("circle",{cx:"50",cy:"50",r:"6","stroke-width":"2",fill:"none",stroke:t.value.style.molecule.color},null,8,Ut),e.createElementVNode("circle",{cx:"20",cy:"50",r:"3","stroke-width":"1.6",fill:"none",stroke:t.value.style.molecule.color},null,8,Jt),e.createElementVNode("circle",{cx:"80",cy:"50",r:"3","stroke-width":"1.6",fill:"none",stroke:t.value.style.molecule.color},null,8,Kt),e.createElementVNode("circle",{cx:"50",cy:"20",r:"3","stroke-width":"1.6",fill:"none",stroke:t.value.style.molecule.color},null,8,Qt),e.createElementVNode("circle",{cx:"50",cy:"80",r:"3","stroke-width":"1.6",fill:"none",stroke:t.value.style.molecule.color},null,8,el),e.createElementVNode("line",{x1:"50",x2:"50",y1:"23",y2:"45","stroke-width":"1",stroke:t.value.style.molecule.color},null,8,tl),e.createElementVNode("line",{x1:"50",x2:"50",y1:"77",y2:"55","stroke-width":"1",stroke:t.value.style.molecule.color},null,8,ll),e.createElementVNode("line",{x1:"23",x2:"45",y1:"50",y2:"50","stroke-width":"1",stroke:t.value.style.molecule.color},null,8,ol),e.createElementVNode("line",{x1:"77",x2:"55",y1:"50",y2:"50","stroke-width":"1",stroke:t.value.style.molecule.color},null,8,rl)],12,Dt)):e.createCommentVNode("",!0),n.value==="tiremarks"?(e.openBlock(),e.createElementBlock("svg",{key:17,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 312 56",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(100,o=>e.createElementVNode("g",null,[e.createElementVNode("line",{x1:10+o*2.9,y1:6,x2:10+o*2.9,y2:50,stroke:t.value.style.tiremarks.color,style:e.normalizeStyle(o>80?"opacity: 0.5":""),"stroke-linecap":"round"},null,12,sl)])),64))],12,nl)):e.createCommentVNode("",!0),n.value==="pyramid"?(e.openBlock(),e.createElementBlock("svg",{key:18,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 105 80",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(o,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:50-o[0],y:r*(80/k.value.length),width:o[0],height:80/k.value.length*.95,fill:t.value.style.pyramid.color},null,8,al),e.createElementVNode("rect",{x:55,y:r*(80/k.value.length),width:o[1],height:80/k.value.length*.95,fill:t.value.style.pyramid.color},null,8,il)]))),256))],12,cl)):e.createCommentVNode("",!0),n.value==="rings"?(e.openBlock(),e.createElementBlock("svg",{key:19,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 400 400",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("circle",{cx:200,cy:200,r:180,fill:e.unref(l.setOpacity)(t.value.style.rings.color,40)},null,8,ul),e.createElementVNode("circle",{cx:200,cy:250,r:130,fill:e.unref(l.setOpacity)(t.value.style.rings.color,60)},null,8,kl),e.createElementVNode("circle",{cx:200,cy:290,r:90,fill:e.unref(l.setOpacity)(t.value.style.rings.color,100)},null,8,yl)],12,dl)):e.createCommentVNode("",!0),n.value==="wheel"?(e.openBlock(),e.createElementBlock("svg",{key:20,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 400 400",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(o,r)=>(e.openBlock(),e.createElementBlock("line",{x1:o.x1,x2:o.x2,y1:o.y1,y2:o.y2,stroke:r<66?o.color:e.unref(l.setOpacity)(o.color,50),"stroke-width":5,"stroke-linecap":"round"},null,8,ml))),256)),e.createElementVNode("circle",{cx:200,cy:200,r:130,"stroke-width":3,stroke:e.unref(l.setOpacity)(t.value.style.wheel.color,50),fill:"none"},null,8,vl),e.createElementVNode("rect",{fill:e.unref(l.setOpacity)(t.value.style.wheel.color,50),rx:12,x:160,y:170,height:60,width:80,stroke:"none"},null,8,_l)],12,hl)):e.createCommentVNode("",!0),n.value==="sparkline"?(e.openBlock(),e.createElementBlock("svg",{key:21,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 150 32",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("g",null,[e.createElementVNode("rect",{x:"2",y:"2",height:"6",width:"24",fill:t.value.style.sparkline.color,rx:"3"},null,8,xl),e.createElementVNode("rect",{x:"2",y:"12",height:"16",width:"16",fill:t.value.style.sparkline.color,rx:"3"},null,8,fl)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,r)=>(e.openBlock(),e.createElementBlock("g",null,[r<h.value.length-1?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,y1:o.y,x2:h.value[r+1].x,y2:h.value[r+1].y,"stroke-width":t.value.style.sparkline.strokeWidth,stroke:t.value.style.sparkline.color,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,gl)):e.createCommentVNode("",!0)]))),256))],12,pl)):e.createCommentVNode("",!0),n.value==="candlesticks"?(e.openBlock(),e.createElementBlock("svg",{key:22,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 512 316",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),t.value.style.candlesticks.axis.show?(e.openBlock(),e.createElementBlock("g",wl,[e.createElementVNode("line",{x1:2,x2:2,y1:2,y2:314,stroke:t.value.style.candlesticks.axis.color,"stroke-width":t.value.style.candlesticks.axis.strokeWidth,"stroke-linecap":"round"},null,8,El),e.createElementVNode("line",{x1:2,x2:510,y1:314,y2:314,stroke:t.value.style.candlesticks.axis.color,"stroke-width":t.value.style.candlesticks.axis.strokeWidth,"stroke-linecap":"round"},null,8,Vl)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(o,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("line",{x1:24+464*r/(a.value.length-1)-464/(a.value.length-1)/8,x2:24+464*r/(a.value.length-1)+464/(a.value.length-1)/8,y1:o.y,y2:o.y,stroke:t.value.style.candlesticks.candle.color,"stroke-width":t.value.style.candlesticks.candle.strokeWidth,"stroke-linecap":"round"},null,8,Cl),e.createElementVNode("line",{x1:24+464*r/(a.value.length-1)-464/(a.value.length-1)/8,x2:24+464*r/(a.value.length-1)+464/(a.value.length-1)/8,y1:o.y+o.height,y2:o.y+o.height,stroke:t.value.style.candlesticks.candle.color,"stroke-width":t.value.style.candlesticks.candle.strokeWidth,"stroke-linecap":"round"},null,8,Bl),e.createElementVNode("line",{x1:24+464*r/(a.value.length-1),x2:24+464*r/(a.value.length-1),y1:o.y,y2:o.y+o.height,stroke:t.value.style.candlesticks.candle.color,"stroke-width":t.value.style.candlesticks.candle.strokeWidth,"stroke-linecap":"round"},null,8,bl),e.createElementVNode("rect",{x:24+464*r/(a.value.length-1)-464/(a.value.length-1)/8,y:o.y+(o.height-o.bar*1.5),height:o.bar,width:464/(a.value.length-1)/4,fill:t.value.style.candlesticks.candle.color,rx:"1"},null,8,Ml)]))),256))],12,Nl)):e.createCommentVNode("",!0),n.value==="heatmap"?(e.openBlock(),e.createElementBlock("svg",{key:23,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:`0 0 ${10*t.value.style.heatmap.cellsX} ${10*t.value.style.heatmap.cellsY}`,style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.style.heatmap.cellsY,(o,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.style.heatmap.cellsX,(v,i)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:i*10,y:r*10,height:10,width:10,stroke:t.value.style.backgroundColor,"stroke-width":1,fill:e.unref(l.setOpacity)(t.value.style.heatmap.color,Math.round(Math.random()*100))},null,8,Sl)]))),256))]))),256))],12,Ll)):e.createCommentVNode("",!0),n.value==="chestnut"?(e.openBlock(),e.createElementBlock("svg",{key:24,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 512 316",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,o=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.bars,r=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(22,(v,i)=>e.createElementVNode("path",{d:`M
|
|
37
|
-
${r.x},${r.y+i}
|
|
38
|
-
C${r.x-20},${r.y+i}
|
|
39
|
-
${r.x-80},${r.y+i}
|
|
40
|
-
${o.root.x+o.root.r/2}, ${o.root.y}
|
|
41
|
-
`,stroke:e.unref(l.setOpacity)(t.value.style.chestnut.color,r.opacity*.2),fill:"none","stroke-width":"2","shape-rendering":"cirspEdges"},null,8,$l)),64))]))),256))]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,o=>(e.openBlock(),e.createElementBlock("circle",{cx:o.root.x,cy:o.root.y,r:o.root.r,fill:`${t.value.style.backgroundColor}`,stroke:t.value.backgroundColor,"stroke-width":3},null,8,Pl))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,o=>(e.openBlock(),e.createElementBlock("circle",{cx:o.root.x,cy:o.root.y,r:o.root.r,fill:e.unref(l.setOpacity)(t.value.style.chestnut.color,o.root.opacity),stroke:t.value.style.backgroundColor,"stroke-width":3},null,8,Al))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,o=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.bars,r=>(e.openBlock(),e.createElementBlock("rect",{rx:"2",x:r.x,y:r.y,width:r.width,height:22,fill:e.unref(l.setOpacity)(t.value.style.chestnut.color,r.opacity)},null,8,Xl))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.bars,r=>(e.openBlock(),e.createElementBlock("circle",{cx:r.x+r.width+32,cy:r.y+11,r:11,fill:e.unref(l.setOpacity)(t.value.style.chestnut.color,r.opacity)},null,8,Wl))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.bars,r=>(e.openBlock(),e.createElementBlock("circle",{cx:r.x+r.width+32,cy:r.y+11,r:5,fill:t.value.style.backgroundColor},null,8,jl))),256))]))),256)),e.createElementVNode("line",{x1:200,x2:200,y1:10,y2:300,stroke:t.value.style.backgroundColor,"stroke-width":3},null,8,Fl)],12,zl)):e.createCommentVNode("",!0),n.value==="donutEvolution"?(e.openBlock(),e.createElementBlock("svg",{key:25,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 108 70",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),t.value.style.line.axis.show?(e.openBlock(),e.createElementBlock("path",{key:0,d:"M3 3 3 67 105 67",stroke:t.value.style.donutEvolution.axis.color,"stroke-width":t.value.style.donutEvolution.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,ql)):e.createCommentVNode("",!0),e.createElementVNode("path",{fill:"none",d:"M10 55A1 1 0 0020 55 1 1 0 0010 55M12 55A1 1 0 0018 55 1 1 0 0012 55M10 55 12 55M15 52 15 50M27 45A1 1 0 0037 45 1 1 0 0027 45M29 45A1 1 0 0035 45 1 1 0 0029 45M32 48 32 50M35 45 37 45M44 50A1 1 0 0054 50 1 1 0 0044 50M46 50A1 1 0 0052 50 1 1 0 0046 50M49 45 49 47M49 53 49 55M61 35A1 1 0 0071 35 1 1 0 0061 35M63 35A1 1 0 0069 35 1 1 0 0063 35M66 30 66 32M61 35 63 35M78 41A1 1 0 0088 41 1 1 0 0078 41M80 41A1 1 0 0086 41 1 1 0 0080 41M78 41 80 41M86 41 88 41M95 14A1 1 0 00105 14 1 1 0 0095 14M97 14A1 1 0 00103 14 1 1 0 0097 14M95 14 97 14M100 17 100 19",stroke:t.value.style.donutEvolution.donuts.color,"stroke-width":t.value.style.donutEvolution.donuts.strokeWidth},null,8,Hl),e.createElementVNode("path",{fill:"none",d:"M19 52 27 45M37 45 44 49M52 46 62 38M71 36 78 40M86 37 97 18",stroke:t.value.style.donutEvolution.axis.color,"stroke-width":t.value.style.donutEvolution.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Zl),e.createElementVNode("path",{d:"M10 55 12 55C12 53 14 52 15 52L15 50C13 50 10 52 10 55",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Il),e.createElementVNode("path",{d:"M32 48 32 50C35 50 37 47 37 45L35 45C35 47 33 48 32 48",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Gl),e.createElementVNode("path",{d:"M49 53 49 55A1 1 0 0049 45L49 47C53 47 53 53 49 53",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Tl),e.createElementVNode("path",{d:"M63 35C63 33 65 32 66 32L66 30C63 30 61 33 61 35L63 35",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Rl),e.createElementVNode("path",{d:"M78 41A1 1 0 0088 41L86 41C86 45 80 45 80 41L78 41",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Yl),e.createElementVNode("path",{d:"M95 14C95 17 98 19 100 19L100 17C99 17 97 16 97 14L95 14",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Dl)],12,Ol)):e.createCommentVNode("",!0),n.value==="line"?(e.openBlock(),e.createElementBlock("svg",{key:26,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 70",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),t.value.style.line.axis.show?(e.openBlock(),e.createElementBlock("g",Jl,[e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:t.value.style.line.axis.color,"stroke-width":t.value.style.line.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Kl),e.createElementVNode("line",{x1:"3",x2:"97",y1:"67",y2:"67",stroke:t.value.style.line.axis.color,"stroke-width":t.value.style.line.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ql)])):e.createCommentVNode("",!0),e.createElementVNode("path",{d:"M 9,60 22,50 35,55 48,36 61,40 74,25 87,26 90,12",fill:"none","stroke-linecap":"round","stroke-linejoin":"round",stroke:t.value.style.line.path.color,"stroke-width":t.value.style.line.path.strokeWidth},null,8,eo),t.value.style.line.path.showPlots?(e.openBlock(),e.createElementBlock("g",to,[e.createElementVNode("circle",{cx:"9",cy:"60",r:t.value.style.line.path.strokeWidth,fill:t.value.style.line.path.color},null,8,lo),e.createElementVNode("circle",{cx:"90",cy:"12",r:t.value.style.line.path.strokeWidth,fill:t.value.style.line.path.color},null,8,oo)])):e.createCommentVNode("",!0)],12,Ul)):e.createCommentVNode("",!0),n.value==="bar"?(e.openBlock(),e.createElementBlock("svg",{key:27,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 70",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),t.value.style.bar.axis.show?(e.openBlock(),e.createElementBlock("g",no,[e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:t.value.style.bar.axis.color,"stroke-width":t.value.style.bar.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,so),e.createElementVNode("line",{x1:"3",x2:"97",y1:"67",y2:"67",stroke:t.value.style.bar.axis.color,"stroke-width":t.value.style.bar.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,co)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(o,r)=>(e.openBlock(),e.createElementBlock("rect",{fill:t.value.style.bar.color,rx:t.value.style.bar.borderRadius,x:6+11.2*r,y:o,width:t.value.style.bar.barWidth,height:67-o},null,8,ao))),256))],12,ro)):e.createCommentVNode("",!0),n.value==="donut"?(e.openBlock(),e.createElementBlock("svg",{key:28,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 400 400",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:" M 300 200 A 100 100 0 0 1 113 250",fill:"none","stroke-width":t.value.style.donut.strokeWidth,stroke:t.value.style.donut.color},null,8,uo),e.createElementVNode("path",{d:" M 113 250 A 100 100 0 0 1 250 113",fill:"none","stroke-width":t.value.style.donut.strokeWidth,stroke:e.unref(l.setOpacity)(t.value.style.donut.color,60)},null,8,ko),e.createElementVNode("path",{d:" M 250 113 A 100 100 0 0 1 300 200",fill:"none","stroke-width":t.value.style.donut.strokeWidth,stroke:e.unref(l.setOpacity)(t.value.style.donut.color,30)},null,8,yo)],12,io)):e.createCommentVNode("",!0),n.value==="onion"?(e.openBlock(),e.createElementBlock("svg",{key:29,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 400 400",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:" M 200 60 A 140 140 0 1 1 60 200",stroke:t.value.style.onion.color,"stroke-linecap":"round","stroke-width":"20",fill:"none"},null,8,mo),e.createElementVNode("path",{d:" M 200 100 A 100 100 0 1 1 100 200",stroke:e.unref(l.setOpacity)(t.value.style.onion.color,60),"stroke-linecap":"round","stroke-width":"20",fill:"none"},null,8,vo),e.createElementVNode("path",{d:" M 200 140 A 60 60 0 1 1 140 200",fill:"none",stroke:e.unref(l.setOpacity)(t.value.style.onion.color,40),"stroke-linecap":"round","stroke-width":"20"},null,8,_o)],12,ho)):e.createCommentVNode("",!0),n.value==="gauge"?(e.openBlock(),e.createElementBlock("svg",{key:30,width:"100%",viewBox:"0 0 400 400",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:" M 82 255 A 120 120 0 1 1 318 255",fill:"none",stroke:t.value.style.gauge.color,"stroke-linecap":"round","stroke-width":"20"},null,8,po),e.createElementVNode("circle",{cx:"200",cy:"256",r:"12",fill:t.value.style.gauge.color},null,8,xo),e.createElementVNode("line",{x1:"200",y1:"256",x2:"250",y2:"160","stroke-width":"8",stroke:t.value.style.gauge.color,"stroke-linecap":"round"},null,8,fo)],4)):e.createCommentVNode("",!0),n.value==="quadrant"?(e.openBlock(),e.createElementBlock("svg",{key:31,xmlns:e.unref(l.XMLNS),viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"50",x2:"50",y1:"3",y2:"97",stroke:t.value.style.quadrant.grid.color,"stroke-width":t.value.style.quadrant.grid.strokeWidth},null,8,No),e.createElementVNode("line",{x1:"3",x2:"97",y1:"50",y2:"50",stroke:t.value.style.quadrant.grid.color,"stroke-width":t.value.style.quadrant.grid.strokeWidth},null,8,wo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"20",cy:"20"},null,8,Eo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"80",cy:"60"},null,8,Vo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"65",cy:"55"},null,8,Co),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"36",cy:"67"},null,8,Bo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"15",cy:"75"},null,8,bo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"40",cy:"55"},null,8,Mo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"76",cy:"32"},null,8,Lo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"85",cy:"26"},null,8,So),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"55",cy:"46"},null,8,zo)],12,go)):e.createCommentVNode("",!0),n.value==="radar"?(e.openBlock(),e.createElementBlock("svg",{key:32,xmlns:e.unref(l.XMLNS),viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:N.value,fill:"none",stroke:t.value.style.radar.grid.color,"stroke-width":t.value.style.radar.grid.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Po),e.createElementVNode("path",{d:w.value,fill:"none",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,70),"stroke-width":t.value.style.radar.grid.strokeWidth/2,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ao),e.createElementVNode("path",{d:E.value,fill:"none",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,70),"stroke-width":t.value.style.radar.grid.strokeWidth/2,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Xo),e.createElementVNode("path",{d:V.value,fill:"none",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,70),"stroke-width":t.value.style.radar.grid.strokeWidth/2.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Wo),e.createElementVNode("path",{d:"M 9,50 91,50",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,50),"stroke-width":t.value.style.radar.grid.strokeWidth/2},null,8,jo),e.createElementVNode("path",{d:"M 29.5,14.5 70.5 85.5",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,50),"stroke-width":t.value.style.radar.grid.strokeWidth/2},null,8,Fo),e.createElementVNode("path",{d:"M 29.5,85.5 70.5 14.5",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,50),"stroke-width":t.value.style.radar.grid.strokeWidth/2},null,8,Oo),e.createElementVNode("path",{d:"M 34,23 68.5,18, 70,50 61.5,70 35,75.5 10,50 Z",stroke:"none","stroke-linejoin":"round",fill:e.unref(l.setOpacity)(t.value.style.radar.shapes.color,30)},null,8,qo),e.createElementVNode("path",{d:"M 43.5,40 64.5,25, 84,50 55.5,60 29.5,85.5 25,50 Z",stroke:"none","stroke-linejoin":"round",fill:e.unref(l.setOpacity)(t.value.style.radar.shapes.color,50)},null,8,Ho)],12,$o)):e.createCommentVNode("",!0),n.value==="waffle"?(e.openBlock(),e.createElementBlock("svg",{key:33,xmlns:e.unref(l.XMLNS),viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(o,r)=>e.createElementVNode("g",null,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(v,i)=>e.createElementVNode("g",null,[e.createElementVNode("rect",{x:3+i*9.5,y:3+r*9.5,height:9,width:9,fill:e.unref(l.setOpacity)(t.value.style.waffle.color,20),rx:"1"},null,8,Io)])),64))])),64)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(o,r)=>e.createElementVNode("g",null,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(v,i)=>e.createElementVNode("g",null,[r>2?(e.openBlock(),e.createElementBlock("rect",{key:0,x:3+i*9.5,y:3+r*9.5,height:9,width:9,fill:e.unref(l.setOpacity)(t.value.style.waffle.color,30),rx:"1"},null,8,Go)):e.createCommentVNode("",!0)])),64))])),64)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(o,r)=>e.createElementVNode("g",null,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(v,i)=>e.createElementVNode("g",null,[r>6?(e.openBlock(),e.createElementBlock("rect",{key:0,x:3+i*9.5,y:3+r*9.5,height:9,width:9,fill:e.unref(l.setOpacity)(t.value.style.waffle.color,50),rx:"1"},null,8,To)):e.createCommentVNode("",!0)])),64))])),64))],12,Zo)):e.createCommentVNode("",!0),n.value==="table"?(e.openBlock(),e.createElementBlock("svg",{key:34,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 70",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("rect",{fill:e.unref(l.setOpacity)(t.value.style.table.th.color,50),x:3.5,y:5,height:"10",width:"93"},null,8,Yo),e.createElementVNode("rect",{fill:e.unref(l.setOpacity)(t.value.style.table.th.color,50),x:3.5,y:15,height:"50",width:"23.25"},null,8,Do),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(7,(o,r)=>e.createElementVNode("line",{x1:"3.7",x2:"96.3",y1:5+r*10,y2:5+r*10,stroke:t.value.style.table.td.color,"stroke-width":t.value.style.table.td.strokeWidth,"stroke-linecap":"round"},null,8,Uo)),64)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,(o,r)=>e.createElementVNode("line",{x1:3.5+r*23.25,x2:3.5+r*23.25,y1:"5",y2:"65",stroke:t.value.style.table.td.color,"stroke-width":t.value.style.table.td.strokeWidth,"stroke-linecap":"round"},null,8,Jo)),64))],12,Ro)):e.createCommentVNode("",!0),n.value==="rating"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:35},[t.value.style.rating.useSmiley?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`display:flex;flex-direction:row;align-items:center;justify-content:center;width:${t.value.style.rating.maxWidth}px`)},[t.value.style.rating.filled?(e.openBlock(),e.createElementBlock("svg",{key:0,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},[e.createVNode(s._sfc_main),c[0]||(c[0]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.rating.color},null,8,Qo)],12,Ko)):(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},c[1]||(c[1]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-cb05b210></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-cb05b210></path><path d="M9 10l.01 0" data-v-cb05b210></path><path d="M15 10l.01 0" data-v-cb05b210></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-cb05b210></path>',5)]),12,e1)),t.value.style.rating.filled?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},[c[2]||(c[2]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.rating.color},null,8,l1)],12,t1)):(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},c[3]||(c[3]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-cb05b210></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-cb05b210></path><path d="M9 10l.01 0" data-v-cb05b210></path><path d="M15 10l.01 0" data-v-cb05b210></path><path d="M9 15l6 0" data-v-cb05b210></path>',5)]),12,o1)),t.value.style.rating.filled?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},[c[4]||(c[4]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.rating.color},null,8,n1)],12,r1)):(e.openBlock(),e.createElementBlock("svg",{key:5,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},c[5]||(c[5]=[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1),e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1),e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)]),12,s1)),t.value.style.rating.filled?(e.openBlock(),e.createElementBlock("svg",{key:6,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},[c[6]||(c[6]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:t.value.style.rating.color},null,8,a1)],12,c1)):(e.openBlock(),e.createElementBlock("svg",{key:7,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},c[7]||(c[7]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-cb05b210></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-cb05b210></path><path d="M9 10l.01 0" data-v-cb05b210></path><path d="M15 10l.01 0" data-v-cb05b210></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-cb05b210></path>',5)]),12,i1)),t.value.style.rating.filled?(e.openBlock(),e.createElementBlock("svg",{key:8,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},[c[8]||(c[8]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:t.value.style.rating.color},null,8,u1)],12,d1)):(e.openBlock(),e.createElementBlock("svg",{key:9,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},c[9]||(c[9]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-cb05b210></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-cb05b210></path><path d="M9 9l.01 0" data-v-cb05b210></path><path d="M15 9l.01 0" data-v-cb05b210></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-cb05b210></path>',5)]),12,k1))],4)):(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 30",style:e.normalizeStyle(`background:${t.value.style.backgroundColor};max-width:${t.value.style.rating.maxWidth}px`)},[e.createVNode(s._sfc_main),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,(o,r)=>e.createElementVNode("polygon",{points:e.unref(l.createStar)({plot:{x:10+r*20,y:15},radius:6}),fill:t.value.style.rating.filled?t.value.style.rating.color:"none",stroke:t.value.style.rating.color,"stroke-width":t.value.style.rating.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,h1)),64))],12,y1))],64)):e.createCommentVNode("",!0),n.value==="verticalBar"?(e.openBlock(),e.createElementBlock("svg",{key:36,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),t.value.style.verticalBar.axis.show?(e.openBlock(),e.createElementBlock("g",v1,[e.createElementVNode("line",{x1:3,x2:3,y1:3,y2:97,stroke:t.value.style.verticalBar.axis.color,"stroke-width":t.value.style.verticalBar.axis.strokeWidth},null,8,_1)])):e.createCommentVNode("",!0),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(6,(o,r)=>e.createElementVNode("rect",{x:3,y:5+r*15.6,height:"12",width:94-94*r/6,fill:t.value.style.verticalBar.color,rx:t.value.style.verticalBar.borderRadius},null,8,p1)),64))],12,m1)):e.createCommentVNode("",!0)],14,M))}},f1=b._export_sfc(x1,[["__scopeId","data-v-cb05b210"]]);exports.default=f1;
|