vue-data-ui 2.6.48 → 2.6.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DeHvznlG.js → Arrow-Dv70pgNR.js} +1 -1
- package/dist/{Arrow-jh252AWJ.cjs → Arrow-shhEXYsq.cjs} +1 -1
- package/dist/{BaseIcon-DWuVl2GU.cjs → BaseIcon-D6QkKJpU.cjs} +1 -1
- package/dist/{BaseIcon-CZ5jKnR9.js → BaseIcon-ZZc7VY8d.js} +1 -1
- package/dist/{ColorPicker-yVPblb7p.cjs → ColorPicker-CGbS8gKN.cjs} +1 -1
- package/dist/{ColorPicker-BRTL96G8.js → ColorPicker-CUJpXuSS.js} +3 -3
- package/dist/{DataTable-zudSEeN9.cjs → DataTable-CRuMrwb8.cjs} +1 -1
- package/dist/{DataTable-BgfkOnBv.js → DataTable-CmnlvDKM.js} +2 -2
- package/dist/{Legend-cMLffIlh.js → Legend-B3rCxiju.js} +2 -2
- package/dist/{Legend-B0HXtacF.cjs → Legend-KLm00z8t.cjs} +1 -1
- package/dist/{PackageVersion-D4qZn7kl.js → PackageVersion-DavVl5j6.js} +1 -1
- package/dist/{PackageVersion-C6rcQig3.cjs → PackageVersion-DwKk69DU.cjs} +1 -1
- package/dist/{PenAndPaper-BAQpQDGa.js → PenAndPaper-CGAd_cD9.js} +3 -3
- package/dist/{PenAndPaper-DrtaW-dp.cjs → PenAndPaper-hlX2Djxv.cjs} +1 -1
- package/dist/{Shape-DllpVFvn.cjs → Shape-BGYZa31d.cjs} +1 -1
- package/dist/{Shape-CsDyTgir.js → Shape-CWFBkvfP.js} +1 -1
- package/dist/{Slicer-msNNVisO.js → Slicer-BEOWbyKm.js} +2 -2
- package/dist/{Slicer-BlR2F0u2.cjs → Slicer-CAyYbVK-.cjs} +1 -1
- package/dist/{Title-CzrNFvru.js → Title-Ch602IT9.js} +1 -1
- package/dist/{Title-BMptuaY_.cjs → Title-Iy2d-Bd1.cjs} +1 -1
- package/dist/{Tooltip-BjCE_Xgz.js → Tooltip-0IaPNa9t.js} +1 -1
- package/dist/{Tooltip-3cVqgTfY.cjs → Tooltip-DhV-T1A4.cjs} +1 -1
- package/dist/{index-BkXUnRSw.cjs → index-C4TeRZvT.cjs} +2 -2
- package/dist/{index-CFFS5fou.js → index-C7spnOfS.js} +5 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BeNFEsBg.cjs → useNestedProp-BS-4R8zR.cjs} +1 -1
- package/dist/{useNestedProp-WmGLMI7a.js → useNestedProp-BXHzK3EV.js} +1 -1
- package/dist/usePanZoom-CWL8SzZN.js +79 -0
- package/dist/usePanZoom-CppTL3G-.cjs +1 -0
- package/dist/{usePrinter-V42TEKtB.js → usePrinter-BDUIRBP4.js} +1 -1
- package/dist/{usePrinter-pQdLIFcU.cjs → usePrinter-bFMowLOh.cjs} +1 -1
- package/dist/{vue-data-ui-BHqGQu50.js → vue-data-ui-Be5Tgffi.js} +61 -61
- package/dist/{vue-data-ui-CSvoco2Z.cjs → vue-data-ui-CAyq9OfR.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-3HSZgDqW.js → vue-ui-3d-bar-CtOPLOD3.js} +9 -9
- package/dist/{vue-ui-3d-bar-enGIMYF-.cjs → vue-ui-3d-bar-M3DFCjSK.cjs} +1 -1
- package/dist/{vue-ui-accordion-C0Xh8ENO.cjs → vue-ui-accordion-BIbie2vw.cjs} +1 -1
- package/dist/{vue-ui-accordion-68aNqLIG.js → vue-ui-accordion-Bk2aYAD-.js} +3 -3
- package/dist/{vue-ui-age-pyramid-0ARpZkDU.cjs → vue-ui-age-pyramid-CR9x-PgJ.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DqO9Yf9E.js → vue-ui-age-pyramid-hyVqCFgO.js} +10 -10
- package/dist/{vue-ui-annotator-DO9HUbCU.cjs → vue-ui-annotator-BXHTI64K.cjs} +1 -1
- package/dist/{vue-ui-annotator-ONpVjIMZ.js → vue-ui-annotator-Qn0uc5GZ.js} +1 -1
- package/dist/{vue-ui-bullet-8GyHi1kK.js → vue-ui-bullet-CrWBMd4n.js} +8 -8
- package/dist/{vue-ui-bullet-DHH7hqHz.cjs → vue-ui-bullet-DM6lx30F.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C77dJq5O.js → vue-ui-candlestick-B2jTfGz7.js} +11 -11
- package/dist/{vue-ui-candlestick-BumYsF-O.cjs → vue-ui-candlestick-DUZlc7tm.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BxFiQRr9.cjs → vue-ui-carousel-table-3QViQ5Bi.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BgdM7pov.js → vue-ui-carousel-table-Cy39XJq8.js} +4 -4
- package/dist/{vue-ui-chestnut-CQkrFvJa.cjs → vue-ui-chestnut-CAEZuh12.cjs} +1 -1
- package/dist/{vue-ui-chestnut-COPZicvP.js → vue-ui-chestnut-Dr3sUQIO.js} +8 -8
- package/dist/{vue-ui-circle-pack-DFr3W9PK.js → vue-ui-circle-pack-C8lFd9HI.js} +9 -9
- package/dist/{vue-ui-circle-pack-orK3sDBb.cjs → vue-ui-circle-pack-DNSLbFV_.cjs} +1 -1
- package/dist/{vue-ui-cursor-Dd01d8dq.cjs → vue-ui-cursor-B4KSNGDd.cjs} +1 -1
- package/dist/{vue-ui-cursor-CqT_0xhF.js → vue-ui-cursor-Bim9FO5p.js} +2 -2
- package/dist/{vue-ui-dashboard-BIY1p9ii.cjs → vue-ui-dashboard-BlMkdmJG.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CwlJ0U8Z.js → vue-ui-dashboard-q2N-lR5R.js} +2 -2
- package/dist/{vue-ui-digits-ejZtkmOF.cjs → vue-ui-digits-BxsLTjn3.cjs} +1 -1
- package/dist/{vue-ui-digits-DWbFzx6q.js → vue-ui-digits-Cs5S9-t4.js} +2 -2
- package/dist/{vue-ui-donut-ZjQOuqdK.cjs → vue-ui-donut-CHAu83aL.cjs} +1 -1
- package/dist/{vue-ui-donut-IqhIH5Hs.js → vue-ui-donut-CsK4bhU9.js} +12 -12
- package/dist/{vue-ui-donut-evolution-DzBOXBNU.cjs → vue-ui-donut-evolution-DIgg0r1H.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DK4Ry8OG.js → vue-ui-donut-evolution-DRIjATMj.js} +11 -11
- package/dist/{vue-ui-dumbbell-DoERaO7T.cjs → vue-ui-dumbbell-Dnd5xBoE.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CxDinKeH.js → vue-ui-dumbbell-RqWpXNMb.js} +10 -10
- package/dist/{vue-ui-flow-BuaBA2J_.cjs → vue-ui-flow-DLkZ_RPK.cjs} +1 -1
- package/dist/{vue-ui-flow-BnE9cqZL.js → vue-ui-flow-Wl9BdRET.js} +9 -9
- package/dist/{vue-ui-funnel-CYtp-5QK.js → vue-ui-funnel-BtEiPtWV.js} +9 -9
- package/dist/{vue-ui-funnel-mn1BtOGd.cjs → vue-ui-funnel-C9kqSvdp.cjs} +1 -1
- package/dist/{vue-ui-galaxy-D4bzB7id.cjs → vue-ui-galaxy-DuHBx10N.cjs} +1 -1
- package/dist/{vue-ui-galaxy-Cb6K-pE8.js → vue-ui-galaxy-Dy0szrMW.js} +11 -11
- package/dist/{vue-ui-gauge-Cs0dyaGc.cjs → vue-ui-gauge-BHTXAsP3.cjs} +1 -1
- package/dist/{vue-ui-gauge-CwefloBc.js → vue-ui-gauge-Bl5tGVHq.js} +7 -7
- package/dist/{vue-ui-gizmo-Breb8hRA.cjs → vue-ui-gizmo-C4BrHDh4.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CRp_vQxS.js → vue-ui-gizmo-DMyPBBMU.js} +3 -3
- package/dist/{vue-ui-heatmap-C_64kZde.js → vue-ui-heatmap-TlpTNG5t.js} +10 -10
- package/dist/{vue-ui-heatmap-BMn83Iw6.cjs → vue-ui-heatmap-sFIr2K5p.cjs} +1 -1
- package/dist/{vue-ui-history-plot-D_0c6-QM.cjs → vue-ui-history-plot-DAjdzGlR.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DvIN9tLu.js → vue-ui-history-plot-Dy1j0BxQ.js} +11 -11
- package/dist/{vue-ui-kpi-D6w1Z0ut.js → vue-ui-kpi-BcmSRMqx.js} +3 -3
- package/dist/{vue-ui-kpi-DFXNg3nw.cjs → vue-ui-kpi-ujEXx77P.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-B7tT5tbh.js → vue-ui-mini-loader-CjnStv_v.js} +2 -2
- package/dist/{vue-ui-mini-loader-cO3I00Pq.cjs → vue-ui-mini-loader-DAPA-14x.cjs} +1 -1
- package/dist/vue-ui-molecule-DR0XoKl0.cjs +1 -0
- package/dist/vue-ui-molecule-JFJY9rsO.js +755 -0
- package/dist/{vue-ui-mood-radar-ByDpmuxU.cjs → vue-ui-mood-radar-BaysMegc.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Cx_8YqzF.js → vue-ui-mood-radar-COoBSKNH.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DHWlR3jy.js → vue-ui-nested-donuts-CtFedcCD.js} +11 -11
- package/dist/{vue-ui-nested-donuts-aI-ze2j2.cjs → vue-ui-nested-donuts-DYBuISa1.cjs} +1 -1
- package/dist/{vue-ui-onion-B6zylASt.js → vue-ui-onion-CEUV1mny.js} +11 -11
- package/dist/{vue-ui-onion-Dynyp18f.cjs → vue-ui-onion-D6ZwBWQg.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-GWh7DX3Y.cjs → vue-ui-parallel-coordinate-plot-BxNT4su_.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CiLB1BKE.js → vue-ui-parallel-coordinate-plot-DYTDHl62.js} +12 -12
- package/dist/{vue-ui-quadrant-D7SEY4Nj.js → vue-ui-quadrant-Bgw63sh8.js} +12 -12
- package/dist/{vue-ui-quadrant-DxaQZoLd.cjs → vue-ui-quadrant-j31KXFQl.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-D1NfrJg3.js → vue-ui-quick-chart-DQQj-yff.js} +9 -9
- package/dist/{vue-ui-quick-chart-BxHBJWtp.cjs → vue-ui-quick-chart-oEQhbqjr.cjs} +1 -1
- package/dist/{vue-ui-radar-CoZBZklY.cjs → vue-ui-radar-C5pUYB_x.cjs} +1 -1
- package/dist/{vue-ui-radar-B9DxtK3T.js → vue-ui-radar-D8z1eA3O.js} +12 -12
- package/dist/{vue-ui-rating-DDCXKsJS.js → vue-ui-rating-CEIibBYU.js} +2 -2
- package/dist/{vue-ui-rating-k2SeZNIl.cjs → vue-ui-rating-CGh8TQ5M.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-B11wnErY.cjs → vue-ui-relation-circle-Bf6kjYWL.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Be4MpIZt.js → vue-ui-relation-circle-BrIe8bZU.js} +7 -7
- package/dist/{vue-ui-rings-B2IabkNN.js → vue-ui-rings-6l5DQ0_9.js} +12 -12
- package/dist/{vue-ui-rings-CnhnlHk4.cjs → vue-ui-rings-BmSQzToz.cjs} +1 -1
- package/dist/{vue-ui-scatter-uyOOlflr.js → vue-ui-scatter-0geSLTUp.js} +12 -12
- package/dist/{vue-ui-scatter-tU7Sls6T.cjs → vue-ui-scatter-g67ClUSv.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Y8ZFxWOK.js → vue-ui-screenshot-CshpwrmO.js} +1 -1
- package/dist/{vue-ui-screenshot-CQUUa4js.cjs → vue-ui-screenshot-r5tJCW0O.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CE6Rhdwq.js → vue-ui-skeleton-Bn49rVXa.js} +3 -3
- package/dist/{vue-ui-skeleton-BQSnhKj4.cjs → vue-ui-skeleton-D7ijXB6x.cjs} +1 -1
- package/dist/{vue-ui-smiley-CwnOcaDD.js → vue-ui-smiley-CzAtJD1G.js} +2 -2
- package/dist/{vue-ui-smiley-C9qaB_MO.cjs → vue-ui-smiley-HofydNoz.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-ZMvBWU7T.js → vue-ui-spark-trend-B70DhKVg.js} +5 -5
- package/dist/{vue-ui-spark-trend-xU3yJI0s.cjs → vue-ui-spark-trend-CdTdbj6x.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CyhZr6ox.js → vue-ui-sparkbar-CZ8Nw4fl.js} +4 -4
- package/dist/{vue-ui-sparkbar-DMJyaiJL.cjs → vue-ui-sparkbar-cJ7Wu051.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BAGFZVWH.cjs → vue-ui-sparkgauge-BWNkoMqk.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-C59o5PLo.js → vue-ui-sparkgauge-D-VwonfZ.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-Br2lTOWq.js → vue-ui-sparkhistogram-BK58LMOs.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-hR2cA_1P.cjs → vue-ui-sparkhistogram-hBwVKdOS.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cj9Shaxo.cjs → vue-ui-sparkline-BD4gkpj_.cjs} +1 -1
- package/dist/{vue-ui-sparkline-XjVDZSJW.js → vue-ui-sparkline-DORXFea9.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D1k-uOj4.js → vue-ui-sparkstackbar-CNu5TNGE.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-hPuv4RZq.cjs → vue-ui-sparkstackbar-ClcY4WWe.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DCW5UenP.js → vue-ui-stackbar--aCaS5x2.js} +13 -13
- package/dist/{vue-ui-stackbar-B3y0c9T0.cjs → vue-ui-stackbar-CkMwpXvU.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DNrU2G2r.cjs → vue-ui-strip-plot-BiFHgg1S.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-Ctlsvtbq.js → vue-ui-strip-plot-CFVbMS6X.js} +11 -11
- package/dist/{vue-ui-table-xBKNheLy.js → vue-ui-table-B_3Ilpbe.js} +1 -1
- package/dist/{vue-ui-table-CAK_tKR0.cjs → vue-ui-table-DR255TsX.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BqXr-8TN.js → vue-ui-table-heatmap-BNxAz0s0.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BR07D_Jk.cjs → vue-ui-table-heatmap-GUBFCD5M.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-B7B3c3Kb.cjs → vue-ui-table-sparkline-B4tLXnLP.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-D_URlvKj.js → vue-ui-table-sparkline-DSOduMZf.js} +5 -5
- package/dist/{vue-ui-thermometer-BR9SzHOJ.cjs → vue-ui-thermometer-D4xuEt1d.cjs} +1 -1
- package/dist/{vue-ui-thermometer-C6PZ9mvq.js → vue-ui-thermometer-DmM-HnTb.js} +7 -7
- package/dist/{vue-ui-timer-Qv1fF4Rq.cjs → vue-ui-timer-CRvBgkAk.cjs} +1 -1
- package/dist/{vue-ui-timer-Bg-ffBSP.js → vue-ui-timer-Cv3Nx66b.js} +5 -5
- package/dist/{vue-ui-tiremarks-CjYT3G69.js → vue-ui-tiremarks-ASWxcVYt.js} +7 -7
- package/dist/{vue-ui-tiremarks-BfQsDoMb.cjs → vue-ui-tiremarks-BCm4J3AS.cjs} +1 -1
- package/dist/{vue-ui-treemap-DYmCTmlo.js → vue-ui-treemap-DkTT9Fpa.js} +12 -12
- package/dist/{vue-ui-treemap-BxdErYLZ.cjs → vue-ui-treemap-K-I2E3e-.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-BbSaoHnx.js → vue-ui-vertical-bar-CKAyFHu9.js} +12 -12
- package/dist/{vue-ui-vertical-bar-D6020yMP.cjs → vue-ui-vertical-bar-CYsYkq04.cjs} +1 -1
- package/dist/{vue-ui-waffle-BYHvDjBd.js → vue-ui-waffle-DA1_yNZ7.js} +12 -12
- package/dist/{vue-ui-waffle-DCa7TbcY.cjs → vue-ui-waffle-WHpYY_yA.cjs} +1 -1
- package/dist/{vue-ui-wheel-Dfpw-TGn.cjs → vue-ui-wheel-CWY3hkRC.cjs} +1 -1
- package/dist/{vue-ui-wheel-CXcHXSmc.js → vue-ui-wheel-vebQiYtM.js} +7 -7
- package/dist/vue-ui-word-cloud-CABqCfl5.js +571 -0
- package/dist/vue-ui-word-cloud-H7016Zdi.cjs +1 -0
- package/dist/{vue-ui-xy-C_ZIwWl7.js → vue-ui-xy-C2OQ78CJ.js} +14 -14
- package/dist/{vue-ui-xy-DOT-R_9J.cjs → vue-ui-xy-CrCJrk6u.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-C_LTt1hr.cjs → vue-ui-xy-canvas-D5iPJqoe.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-CW7oyZMn.js → vue-ui-xy-canvas-DvZgi7HV.js} +12 -12
- package/package.json +2 -2
- package/dist/vue-ui-molecule-BsrAlvIA.js +0 -830
- package/dist/vue-ui-molecule-Cgn3O9Zb.cjs +0 -1
- package/dist/vue-ui-word-cloud-BS68DlmA.cjs +0 -1
- package/dist/vue-ui-word-cloud-BaXm2uvH.js +0 -646
|
@@ -1,646 +0,0 @@
|
|
|
1
|
-
import { useCssVars as Ge, computed as y, createElementBlock as m, openBlock as r, createElementVNode as N, renderSlot as i, createVNode as ne, normalizeStyle as J, ref as n, watch as H, onMounted as Le, onBeforeUnmount as Xe, unref as c, createBlock as M, createCommentVNode as k, createSlots as je, withCtx as h, normalizeProps as S, guardReactiveProps as F, normalizeClass as $e, Fragment as qe, renderList as He, toDisplayString as xe, createTextVNode as Ye, nextTick as Te } from "vue";
|
|
2
|
-
import { u as Je, c as Se, a6 as Ke, v as Qe, t as Ze, p as Y, a as et, o as tt, e as Fe, g as ot, f as at, X as lt, q as st, r as nt, x as rt } from "./index-CFFS5fou.js";
|
|
3
|
-
import { _ as ut } from "./Title-CzrNFvru.js";
|
|
4
|
-
import { u as it, U as ct } from "./usePrinter-V42TEKtB.js";
|
|
5
|
-
import { d as dt, t as vt, u as ht } from "./useResponsive-Cw4oZ8sQ.js";
|
|
6
|
-
import mt from "./vue-ui-accordion-68aNqLIG.js";
|
|
7
|
-
import { D as ft } from "./DataTable-BgfkOnBv.js";
|
|
8
|
-
import pt from "./BaseIcon-CZ5jKnR9.js";
|
|
9
|
-
import { _ as Oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { u as Ne } from "./useNestedProp-WmGLMI7a.js";
|
|
11
|
-
import { _ as gt } from "./PackageVersion-D4qZn7kl.js";
|
|
12
|
-
import { _ as yt } from "./Tooltip-BjCE_Xgz.js";
|
|
13
|
-
import { P as bt } from "./PenAndPaper-BAQpQDGa.js";
|
|
14
|
-
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
-
import { u as kt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
-
const wt = { "data-html2canvas-ignore": "" }, $t = {
|
|
17
|
-
key: 0,
|
|
18
|
-
class: "reset-wrapper"
|
|
19
|
-
}, xt = {
|
|
20
|
-
key: 1,
|
|
21
|
-
class: "reset-wrapper"
|
|
22
|
-
}, Tt = { class: "mono-slicer" }, St = ["min", "max", "value"], Ft = {
|
|
23
|
-
__name: "MonoSlicer",
|
|
24
|
-
props: {
|
|
25
|
-
min: {
|
|
26
|
-
type: Number,
|
|
27
|
-
default: 0
|
|
28
|
-
},
|
|
29
|
-
max: {
|
|
30
|
-
type: Number,
|
|
31
|
-
default: 0
|
|
32
|
-
},
|
|
33
|
-
inputColor: {
|
|
34
|
-
type: String,
|
|
35
|
-
default: "#1A1A1A"
|
|
36
|
-
},
|
|
37
|
-
background: {
|
|
38
|
-
type: String,
|
|
39
|
-
default: "#FFFFFF"
|
|
40
|
-
},
|
|
41
|
-
borderColor: {
|
|
42
|
-
type: String,
|
|
43
|
-
default: "#FFFFFF"
|
|
44
|
-
},
|
|
45
|
-
selectColor: {
|
|
46
|
-
type: String,
|
|
47
|
-
default: "#4A4A4A"
|
|
48
|
-
},
|
|
49
|
-
textColor: {
|
|
50
|
-
type: String,
|
|
51
|
-
default: "#1A1A1A"
|
|
52
|
-
},
|
|
53
|
-
useResetSlot: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: !1
|
|
56
|
-
},
|
|
57
|
-
value: {
|
|
58
|
-
type: Number,
|
|
59
|
-
default: 0
|
|
60
|
-
},
|
|
61
|
-
source: {
|
|
62
|
-
type: Number,
|
|
63
|
-
default: 0
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
emits: ["update:value", "reset"],
|
|
67
|
-
setup(f, { emit: K }) {
|
|
68
|
-
Ge((x) => ({
|
|
69
|
-
"782b8172": d.value,
|
|
70
|
-
"102109e6": V.value,
|
|
71
|
-
"642212d7": _.value,
|
|
72
|
-
"1f5369d4": f.selectColor,
|
|
73
|
-
"22b98ab8": O.value
|
|
74
|
-
}));
|
|
75
|
-
const p = f, d = y(() => p.inputColor), O = y(() => p.background), _ = y(() => `${p.selectColor}33`), V = y(() => p.borderColor), w = K;
|
|
76
|
-
function R() {
|
|
77
|
-
w("reset");
|
|
78
|
-
}
|
|
79
|
-
const B = y(() => {
|
|
80
|
-
const x = p.max - p.min, b = 0, T = (p.value - p.min) / x * 100;
|
|
81
|
-
return {
|
|
82
|
-
left: `${b}%`,
|
|
83
|
-
width: `${T - b}%`,
|
|
84
|
-
background: p.selectColor
|
|
85
|
-
};
|
|
86
|
-
});
|
|
87
|
-
return (x, b) => (r(), m("div", wt, [
|
|
88
|
-
f.value !== f.source ? (r(), m("div", $t, [
|
|
89
|
-
f.useResetSlot ? i(x.$slots, "reset-action", {
|
|
90
|
-
key: 1,
|
|
91
|
-
reset: R
|
|
92
|
-
}, void 0, !0) : (r(), m("button", {
|
|
93
|
-
key: 0,
|
|
94
|
-
"data-cy-reset": "",
|
|
95
|
-
tabindex: "0",
|
|
96
|
-
role: "button",
|
|
97
|
-
class: "vue-data-ui-refresh-button",
|
|
98
|
-
onClick: R
|
|
99
|
-
}, [
|
|
100
|
-
ne(pt, {
|
|
101
|
-
name: "refresh",
|
|
102
|
-
stroke: f.textColor
|
|
103
|
-
}, null, 8, ["stroke"])
|
|
104
|
-
]))
|
|
105
|
-
])) : (r(), m("div", xt)),
|
|
106
|
-
N("div", Tt, [
|
|
107
|
-
b[1] || (b[1] = N("div", { class: "slider-track" }, null, -1)),
|
|
108
|
-
N("div", {
|
|
109
|
-
class: "range-highlight",
|
|
110
|
-
style: J(B.value)
|
|
111
|
-
}, null, 4),
|
|
112
|
-
N("input", {
|
|
113
|
-
type: "range",
|
|
114
|
-
min: f.min,
|
|
115
|
-
max: f.max,
|
|
116
|
-
value: Number(f.value),
|
|
117
|
-
onInput: b[0] || (b[0] = (T) => w("update:value", Number(T.target.value)))
|
|
118
|
-
}, null, 40, St)
|
|
119
|
-
])
|
|
120
|
-
]));
|
|
121
|
-
}
|
|
122
|
-
}, Nt = /* @__PURE__ */ Oe(Ft, [["__scopeId", "data-v-b4e6aee9"]]), Ot = ["id"], zt = ["xmlns", "viewBox"], At = ["width", "height"], Pt = ["transform"], It = ["fill", "font-weight", "x", "y", "font-size", "transform", "onMouseover"], Mt = {
|
|
123
|
-
key: 4,
|
|
124
|
-
class: "vue-data-ui-watermark"
|
|
125
|
-
}, _t = ["innerHTML"], Rt = {
|
|
126
|
-
__name: "vue-ui-word-cloud",
|
|
127
|
-
props: {
|
|
128
|
-
config: {
|
|
129
|
-
type: Object,
|
|
130
|
-
default() {
|
|
131
|
-
return {};
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
dataset: {
|
|
135
|
-
type: [Array, String],
|
|
136
|
-
default() {
|
|
137
|
-
return [];
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
setup(f, { expose: K }) {
|
|
142
|
-
const { vue_ui_word_cloud: p } = Je(), d = f, O = y({
|
|
143
|
-
get() {
|
|
144
|
-
return !!d.dataset && d.dataset.length;
|
|
145
|
-
},
|
|
146
|
-
set(t) {
|
|
147
|
-
return t;
|
|
148
|
-
}
|
|
149
|
-
}), _ = n(Se()), V = n(0), w = n(null), R = n(null), B = n(null), x = n(0), b = n(0), T = n(!1), e = y({
|
|
150
|
-
get: () => de(),
|
|
151
|
-
set: (t) => t
|
|
152
|
-
}), z = n(re());
|
|
153
|
-
function re() {
|
|
154
|
-
return typeof d.dataset == "string" ? Ke(d.dataset) : d.dataset.map((t, a) => ({
|
|
155
|
-
...t,
|
|
156
|
-
value: Qe(t.value)
|
|
157
|
-
}));
|
|
158
|
-
}
|
|
159
|
-
H(() => d.dataset, () => {
|
|
160
|
-
z.value = re(), E();
|
|
161
|
-
});
|
|
162
|
-
const { userOptionsVisible: Q, setUserOptionsVisibility: ue, keepUserOptionState: ie } = Ct({ config: e.value }), { svgRef: ce } = kt({ config: e.value.style.chart.title });
|
|
163
|
-
function de() {
|
|
164
|
-
const t = Ne({
|
|
165
|
-
userConfig: d.config,
|
|
166
|
-
defaultConfig: p
|
|
167
|
-
});
|
|
168
|
-
return t.theme ? {
|
|
169
|
-
...Ne({
|
|
170
|
-
userConfig: et.vue_ui_word_cloud[t.theme] || d.config,
|
|
171
|
-
defaultConfig: t
|
|
172
|
-
}),
|
|
173
|
-
customPalette: Ze[t.theme] || Y
|
|
174
|
-
} : t;
|
|
175
|
-
}
|
|
176
|
-
H(() => d.config, (t) => {
|
|
177
|
-
e.value = de(), Q.value = !e.value.userOptions.showOnChartHover, he(), x.value += 1, b.value += 1, Z(), v.value.showTable = e.value.table.show, v.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
178
|
-
}, { deep: !0 });
|
|
179
|
-
const ve = n(null), A = n(0), s = n({
|
|
180
|
-
width: e.value.style.chart.width,
|
|
181
|
-
height: e.value.style.chart.height,
|
|
182
|
-
maxFontSize: e.value.style.chart.words.maxFontSize,
|
|
183
|
-
minFontSize: e.value.style.chart.words.minFontSize
|
|
184
|
-
}), ze = vt(() => {
|
|
185
|
-
const { width: t, height: a } = ht({
|
|
186
|
-
chart: w.value,
|
|
187
|
-
title: e.value.style.chart.title.text ? R.value : null,
|
|
188
|
-
slicer: e.value.style.chart.zoom.show && ve.value,
|
|
189
|
-
source: B.value
|
|
190
|
-
});
|
|
191
|
-
requestAnimationFrame(() => {
|
|
192
|
-
s.value.width = t, s.value.height = a, Te(E);
|
|
193
|
-
});
|
|
194
|
-
});
|
|
195
|
-
H(() => A.value, () => {
|
|
196
|
-
Ae();
|
|
197
|
-
});
|
|
198
|
-
const Ae = dt(() => {
|
|
199
|
-
E();
|
|
200
|
-
}, 10);
|
|
201
|
-
function Z() {
|
|
202
|
-
A.value = ee.value;
|
|
203
|
-
}
|
|
204
|
-
const D = n(null);
|
|
205
|
-
Le(() => {
|
|
206
|
-
he(), Z();
|
|
207
|
-
});
|
|
208
|
-
function he() {
|
|
209
|
-
tt(d.dataset) ? Fe({
|
|
210
|
-
componentName: "VueUiWordCloud",
|
|
211
|
-
type: "dataset"
|
|
212
|
-
}) : z.value.forEach((t, a) => {
|
|
213
|
-
ot({
|
|
214
|
-
datasetObject: t,
|
|
215
|
-
requiredAttributes: ["name", "value"]
|
|
216
|
-
}).forEach((o) => {
|
|
217
|
-
O.value = !1, Fe({
|
|
218
|
-
componentName: "VueUiWordCloud",
|
|
219
|
-
type: "datasetSerieAttribute",
|
|
220
|
-
property: o,
|
|
221
|
-
index: a
|
|
222
|
-
});
|
|
223
|
-
});
|
|
224
|
-
}), e.value.responsive && (D.value = new ResizeObserver(ze), D.value.observe(w.value.parentNode));
|
|
225
|
-
}
|
|
226
|
-
Xe(() => {
|
|
227
|
-
D.value && D.value.disconnect();
|
|
228
|
-
});
|
|
229
|
-
const { isPrinting: me, isImaging: fe, generatePdf: pe, generateImage: ge } = it({
|
|
230
|
-
elementId: `wordCloud_${_.value}`,
|
|
231
|
-
fileName: e.value.style.chart.title.text || "vue-ui-word-cloud",
|
|
232
|
-
options: e.value.userOptions.print
|
|
233
|
-
}), v = n({
|
|
234
|
-
showTable: e.value.table.show,
|
|
235
|
-
showTooltip: e.value.style.chart.tooltip.show
|
|
236
|
-
});
|
|
237
|
-
function Pe(t, a, o = "Arial") {
|
|
238
|
-
const l = document.createElement("canvas").getContext("2d");
|
|
239
|
-
return l.font = `${a}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
|
|
240
|
-
width: l.measureText(t).width + e.value.style.chart.words.proximity,
|
|
241
|
-
height: a
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
function Ie(t, a) {
|
|
245
|
-
return t.x < a.x + a.width && t.x + t.width > a.x && t.y < a.y + a.height && t.y + t.height > a.y;
|
|
246
|
-
}
|
|
247
|
-
function Me(t, a, o) {
|
|
248
|
-
const u = [], l = { x: -a / 2, y: -o / 2, width: a, height: o }, g = 0, C = 0;
|
|
249
|
-
return t.forEach((I) => {
|
|
250
|
-
let le = !1;
|
|
251
|
-
for (let q = 0; q < Math.max(a, o) / 2 && !le; q += e.value.style.chart.words.packingWeight)
|
|
252
|
-
for (let se = 0; se < 360 && !le; se += e.value.style.chart.words.packingWeight) {
|
|
253
|
-
const we = se * Math.PI / 180, Ue = g + q * Math.cos(we) - I.width / 2, Ve = C + q * Math.sin(we) - I.height / 2, $ = { ...I, x: Ue, y: Ve }, Be = $.x >= l.x && $.y >= l.y && $.x + $.width <= l.x + l.width && $.y + $.height <= l.y + l.height, De = u.some((Ee) => Ie($, Ee));
|
|
254
|
-
Be && !De && (u.push($), le = !0);
|
|
255
|
-
}
|
|
256
|
-
}), u;
|
|
257
|
-
}
|
|
258
|
-
const W = n([]);
|
|
259
|
-
H(() => d.dataset, E, { immediate: !0 });
|
|
260
|
-
const ee = y(() => Math.round(Math.min(...z.value.map((t) => t.value)))), ye = y(() => Math.round(Math.max(...z.value.map((t) => t.value))));
|
|
261
|
-
function E() {
|
|
262
|
-
const t = [...z.value].filter((l) => l.value >= A.value).map((l) => l.value), a = Math.max(...t), o = Math.min(...t), u = [...z.value].filter((l) => l.value >= A.value).map((l, g) => {
|
|
263
|
-
let C = (l.value - o) / (a - o) * (s.value.maxFontSize - s.value.minFontSize) + s.value.minFontSize;
|
|
264
|
-
C = isNaN(C) ? s.value.minFontSize : C;
|
|
265
|
-
const I = Pe(l.name, C);
|
|
266
|
-
return {
|
|
267
|
-
...l,
|
|
268
|
-
id: Se(),
|
|
269
|
-
fontSize: C,
|
|
270
|
-
width: I.width,
|
|
271
|
-
height: I.height,
|
|
272
|
-
color: e.value.style.chart.words.usePalette ? e.value.customPalette[g] || e.value.customPalette[g % e.value.customPalette.length] || Y[g] || Y[g % Y.length] : e.value.style.chart.words.color
|
|
273
|
-
};
|
|
274
|
-
});
|
|
275
|
-
W.value = Me(u, s.value.width, s.value.height).sort((l, g) => g.fontSize - l.fontSize);
|
|
276
|
-
}
|
|
277
|
-
const G = y(() => {
|
|
278
|
-
const t = W.value.map((o) => ({
|
|
279
|
-
name: o.name,
|
|
280
|
-
color: o.color
|
|
281
|
-
})), a = W.value.map((o) => o.value);
|
|
282
|
-
return { head: t, body: a };
|
|
283
|
-
});
|
|
284
|
-
function be() {
|
|
285
|
-
Te(() => {
|
|
286
|
-
const t = G.value.head.map((u, l) => [[
|
|
287
|
-
u.name
|
|
288
|
-
], [G.value.body[l]]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), o = st(a);
|
|
289
|
-
nt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
const L = y(() => {
|
|
293
|
-
const t = [
|
|
294
|
-
e.value.table.columnNames.series,
|
|
295
|
-
e.value.table.columnNames.value
|
|
296
|
-
], a = G.value.head.map((l, g) => {
|
|
297
|
-
const C = at({ p: e.value.table.td.prefix, v: G.value.body[g], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
|
|
298
|
-
return [
|
|
299
|
-
{
|
|
300
|
-
color: l.color,
|
|
301
|
-
name: l.name
|
|
302
|
-
},
|
|
303
|
-
C
|
|
304
|
-
];
|
|
305
|
-
}), o = {
|
|
306
|
-
th: {
|
|
307
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
308
|
-
color: e.value.table.th.color,
|
|
309
|
-
outline: e.value.table.th.outline
|
|
310
|
-
},
|
|
311
|
-
td: {
|
|
312
|
-
backgroundColor: e.value.table.td.backgroundColor,
|
|
313
|
-
color: e.value.table.td.color,
|
|
314
|
-
outline: e.value.table.td.outline
|
|
315
|
-
},
|
|
316
|
-
breakpoint: e.value.table.responsiveBreakpoint
|
|
317
|
-
};
|
|
318
|
-
return {
|
|
319
|
-
colNames: [
|
|
320
|
-
e.value.table.columnNames.series,
|
|
321
|
-
e.value.table.columnNames.value
|
|
322
|
-
],
|
|
323
|
-
head: t,
|
|
324
|
-
body: a,
|
|
325
|
-
config: o
|
|
326
|
-
};
|
|
327
|
-
}), X = n(!1);
|
|
328
|
-
function _e(t) {
|
|
329
|
-
X.value = t, V.value += 1;
|
|
330
|
-
}
|
|
331
|
-
function Re() {
|
|
332
|
-
return W.value;
|
|
333
|
-
}
|
|
334
|
-
function Ce() {
|
|
335
|
-
v.value.showTable = !v.value.showTable;
|
|
336
|
-
}
|
|
337
|
-
function ke() {
|
|
338
|
-
v.value.showTooltip = !v.value.showTooltip;
|
|
339
|
-
}
|
|
340
|
-
const j = n(!1);
|
|
341
|
-
function te() {
|
|
342
|
-
j.value = !j.value;
|
|
343
|
-
}
|
|
344
|
-
K({
|
|
345
|
-
getData: Re,
|
|
346
|
-
generateCsv: be,
|
|
347
|
-
generatePdf: pe,
|
|
348
|
-
generateImage: ge,
|
|
349
|
-
toggleTable: Ce,
|
|
350
|
-
toggleTooltip: ke,
|
|
351
|
-
toggleAnnotator: te
|
|
352
|
-
});
|
|
353
|
-
const P = n(null), U = n(!1), oe = n(""), ae = n(null);
|
|
354
|
-
function We(t) {
|
|
355
|
-
if (!v.value.showTooltip) return;
|
|
356
|
-
P.value = t.id, ae.value = { datapoint: t, config: e.value };
|
|
357
|
-
const a = e.value.style.chart.tooltip.customFormat;
|
|
358
|
-
if (U.value = !1, rt(a))
|
|
359
|
-
try {
|
|
360
|
-
const o = a({
|
|
361
|
-
datapoint: t,
|
|
362
|
-
config: e.value
|
|
363
|
-
});
|
|
364
|
-
typeof o == "string" && (oe.value = o, U.value = !0);
|
|
365
|
-
} catch {
|
|
366
|
-
console.warn("Custom format cannot be applied."), U.value = !1;
|
|
367
|
-
}
|
|
368
|
-
if (!U.value) {
|
|
369
|
-
let o = `<svg viewBox="0 0 10 10" height="${e.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${t.color}"/></svg><span>${t.name}:</span><b>${(t.value || 0).toFixed(e.value.style.chart.tooltip.roundingValue)}</b>`;
|
|
370
|
-
oe.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${o}</div>`;
|
|
371
|
-
}
|
|
372
|
-
T.value = !0;
|
|
373
|
-
}
|
|
374
|
-
return (t, a) => (r(), m("div", {
|
|
375
|
-
class: "vue-ui-word-cloud",
|
|
376
|
-
ref_key: "wordCloudChart",
|
|
377
|
-
ref: w,
|
|
378
|
-
id: `wordCloud_${_.value}`,
|
|
379
|
-
style: J(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
380
|
-
onMouseenter: a[3] || (a[3] = () => c(ue)(!0)),
|
|
381
|
-
onMouseleave: a[4] || (a[4] = () => c(ue)(!1))
|
|
382
|
-
}, [
|
|
383
|
-
e.value.userOptions.buttons.annotator ? (r(), M(bt, {
|
|
384
|
-
key: 0,
|
|
385
|
-
svgRef: c(ce),
|
|
386
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
387
|
-
color: e.value.style.chart.color,
|
|
388
|
-
active: j.value,
|
|
389
|
-
onClose: te
|
|
390
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : k("", !0),
|
|
391
|
-
e.value.style.chart.title.text ? (r(), m("div", {
|
|
392
|
-
key: 1,
|
|
393
|
-
ref_key: "chartTitle",
|
|
394
|
-
ref: R,
|
|
395
|
-
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
396
|
-
}, [
|
|
397
|
-
(r(), M(ut, {
|
|
398
|
-
key: `title_${x.value}`,
|
|
399
|
-
config: {
|
|
400
|
-
title: {
|
|
401
|
-
...e.value.style.chart.title
|
|
402
|
-
},
|
|
403
|
-
subtitle: {
|
|
404
|
-
...e.value.style.chart.title.subtitle
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
}, null, 8, ["config"]))
|
|
408
|
-
], 512)) : k("", !0),
|
|
409
|
-
e.value.userOptions.show && O.value && (c(ie) || c(Q)) ? (r(), M(ct, {
|
|
410
|
-
ref: "details",
|
|
411
|
-
key: `user_option_${V.value}`,
|
|
412
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
413
|
-
color: e.value.style.chart.color,
|
|
414
|
-
isPrinting: c(me),
|
|
415
|
-
isImaging: c(fe),
|
|
416
|
-
uid: _.value,
|
|
417
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
418
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
419
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
420
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
421
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
422
|
-
isFullscreen: X.value,
|
|
423
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
424
|
-
chartElement: w.value,
|
|
425
|
-
position: e.value.userOptions.position,
|
|
426
|
-
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
427
|
-
isTooltip: v.value.showTooltip,
|
|
428
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
429
|
-
isAnnotation: j.value,
|
|
430
|
-
onToggleFullscreen: _e,
|
|
431
|
-
onGeneratePdf: c(pe),
|
|
432
|
-
onGenerateCsv: be,
|
|
433
|
-
onGenerateImage: c(ge),
|
|
434
|
-
onToggleTable: Ce,
|
|
435
|
-
onToggleTooltip: ke,
|
|
436
|
-
onToggleAnnotator: te,
|
|
437
|
-
style: J({
|
|
438
|
-
visibility: c(ie) ? c(Q) ? "visible" : "hidden" : "visible"
|
|
439
|
-
})
|
|
440
|
-
}, je({ _: 2 }, [
|
|
441
|
-
t.$slots.menuIcon ? {
|
|
442
|
-
name: "menuIcon",
|
|
443
|
-
fn: h(({ isOpen: o, color: u }) => [
|
|
444
|
-
i(t.$slots, "menuIcon", S(F({ isOpen: o, color: u })), void 0, !0)
|
|
445
|
-
]),
|
|
446
|
-
key: "0"
|
|
447
|
-
} : void 0,
|
|
448
|
-
t.$slots.optionPdf ? {
|
|
449
|
-
name: "optionPdf",
|
|
450
|
-
fn: h(() => [
|
|
451
|
-
i(t.$slots, "optionPdf", {}, void 0, !0)
|
|
452
|
-
]),
|
|
453
|
-
key: "1"
|
|
454
|
-
} : void 0,
|
|
455
|
-
t.$slots.optionCsv ? {
|
|
456
|
-
name: "optionCsv",
|
|
457
|
-
fn: h(() => [
|
|
458
|
-
i(t.$slots, "optionCsv", {}, void 0, !0)
|
|
459
|
-
]),
|
|
460
|
-
key: "2"
|
|
461
|
-
} : void 0,
|
|
462
|
-
t.$slots.optionImg ? {
|
|
463
|
-
name: "optionImg",
|
|
464
|
-
fn: h(() => [
|
|
465
|
-
i(t.$slots, "optionImg", {}, void 0, !0)
|
|
466
|
-
]),
|
|
467
|
-
key: "3"
|
|
468
|
-
} : void 0,
|
|
469
|
-
t.$slots.optionTable ? {
|
|
470
|
-
name: "optionTable",
|
|
471
|
-
fn: h(() => [
|
|
472
|
-
i(t.$slots, "optionTable", {}, void 0, !0)
|
|
473
|
-
]),
|
|
474
|
-
key: "4"
|
|
475
|
-
} : void 0,
|
|
476
|
-
t.$slots.optionFullscreen ? {
|
|
477
|
-
name: "optionFullscreen",
|
|
478
|
-
fn: h(({ toggleFullscreen: o, isFullscreen: u }) => [
|
|
479
|
-
i(t.$slots, "optionFullscreen", S(F({ toggleFullscreen: o, isFullscreen: u })), void 0, !0)
|
|
480
|
-
]),
|
|
481
|
-
key: "5"
|
|
482
|
-
} : void 0,
|
|
483
|
-
t.$slots.optionAnnotator ? {
|
|
484
|
-
name: "optionAnnotator",
|
|
485
|
-
fn: h(({ toggleAnnotator: o, isAnnotator: u }) => [
|
|
486
|
-
i(t.$slots, "optionAnnotator", S(F({ toggleAnnotator: o, isAnnotator: u })), void 0, !0)
|
|
487
|
-
]),
|
|
488
|
-
key: "6"
|
|
489
|
-
} : void 0
|
|
490
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : k("", !0),
|
|
491
|
-
O.value ? (r(), m("svg", {
|
|
492
|
-
key: 3,
|
|
493
|
-
ref_key: "svgRef",
|
|
494
|
-
ref: ce,
|
|
495
|
-
class: $e({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
|
|
496
|
-
xmlns: c(lt),
|
|
497
|
-
viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
|
|
498
|
-
style: "overflow:visible;background:transparent;"
|
|
499
|
-
}, [
|
|
500
|
-
ne(gt),
|
|
501
|
-
t.$slots["chart-background"] ? (r(), m("foreignObject", {
|
|
502
|
-
key: 0,
|
|
503
|
-
x: 0,
|
|
504
|
-
y: 0,
|
|
505
|
-
width: s.value.width <= 0 ? 10 : s.value.width,
|
|
506
|
-
height: s.value.height <= 0 ? 10 : s.value.height,
|
|
507
|
-
style: {
|
|
508
|
-
pointerEvents: "none"
|
|
509
|
-
}
|
|
510
|
-
}, [
|
|
511
|
-
i(t.$slots, "chart-background", {}, void 0, !0)
|
|
512
|
-
], 8, At)) : k("", !0),
|
|
513
|
-
N("g", {
|
|
514
|
-
transform: `translate(${(s.value.width <= 0 ? 10 : s.value.width) / 2}, ${(s.value.height <= 0 ? 10 : s.value.height) / 2})`
|
|
515
|
-
}, [
|
|
516
|
-
(r(!0), m(qe, null, He(W.value, (o, u) => (r(), m("g", null, [
|
|
517
|
-
(r(), m("text", {
|
|
518
|
-
fill: o.color,
|
|
519
|
-
"font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
|
|
520
|
-
key: u,
|
|
521
|
-
x: o.x,
|
|
522
|
-
y: o.y,
|
|
523
|
-
"font-size": o.fontSize,
|
|
524
|
-
transform: `translate(${o.width / 2}, ${o.height / 2})`,
|
|
525
|
-
class: $e({ animated: e.value.useCssAnimation, "word-selected": P.value && P.value === o.id && v.value.showTooltip, "word-not-selected": P.value && P.value !== o.id && v.value.showTooltip }),
|
|
526
|
-
"text-anchor": "middle",
|
|
527
|
-
"dominant-baseline": "central",
|
|
528
|
-
onMouseover: (l) => We(o),
|
|
529
|
-
onMouseleave: a[0] || (a[0] = (l) => {
|
|
530
|
-
P.value = null, T.value = !1;
|
|
531
|
-
}),
|
|
532
|
-
style: J(`animation-delay:${u * e.value.animationDelayMs}ms !important;`)
|
|
533
|
-
}, xe(o.name), 47, It))
|
|
534
|
-
]))), 256))
|
|
535
|
-
], 8, Pt),
|
|
536
|
-
i(t.$slots, "svg", {
|
|
537
|
-
svg: { height: s.value.height, width: s.value.width }
|
|
538
|
-
}, void 0, !0)
|
|
539
|
-
], 10, zt)) : k("", !0),
|
|
540
|
-
t.$slots.watermark ? (r(), m("div", Mt, [
|
|
541
|
-
i(t.$slots, "watermark", S(F({ isPrinting: c(me) || c(fe) })), void 0, !0)
|
|
542
|
-
])) : k("", !0),
|
|
543
|
-
ne(yt, {
|
|
544
|
-
show: v.value.showTooltip && T.value,
|
|
545
|
-
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
546
|
-
color: e.value.style.chart.tooltip.color,
|
|
547
|
-
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
548
|
-
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
549
|
-
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
550
|
-
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
551
|
-
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
552
|
-
position: e.value.style.chart.tooltip.position,
|
|
553
|
-
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
554
|
-
parent: w.value,
|
|
555
|
-
content: oe.value,
|
|
556
|
-
isCustom: U.value
|
|
557
|
-
}, {
|
|
558
|
-
"tooltip-before": h(() => [
|
|
559
|
-
i(t.$slots, "tooltip-before", S(F({ ...ae.value })), void 0, !0)
|
|
560
|
-
]),
|
|
561
|
-
"tooltip-after": h(() => [
|
|
562
|
-
i(t.$slots, "tooltip-after", S(F({ ...ae.value })), void 0, !0)
|
|
563
|
-
]),
|
|
564
|
-
_: 3
|
|
565
|
-
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
566
|
-
N("div", {
|
|
567
|
-
ref_key: "chartSlicer",
|
|
568
|
-
ref: ve,
|
|
569
|
-
style: "width:100%;background:transparent",
|
|
570
|
-
"data-html2canvas-ignore": ""
|
|
571
|
-
}, [
|
|
572
|
-
e.value.style.chart.zoom.show && ee.value < ye.value ? (r(), M(Nt, {
|
|
573
|
-
key: 0,
|
|
574
|
-
value: A.value,
|
|
575
|
-
"onUpdate:value": a[1] || (a[1] = (o) => A.value = o),
|
|
576
|
-
min: ee.value,
|
|
577
|
-
max: ye.value,
|
|
578
|
-
textColor: e.value.style.chart.color,
|
|
579
|
-
inputColor: e.value.style.chart.zoom.color,
|
|
580
|
-
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
581
|
-
useResetSlot: e.value.style.chart.zoom.useResetSlot,
|
|
582
|
-
background: e.value.style.chart.zoom.color,
|
|
583
|
-
borderColor: e.value.style.chart.backgroundColor,
|
|
584
|
-
source: e.value.style.chart.width,
|
|
585
|
-
onReset: Z
|
|
586
|
-
}, {
|
|
587
|
-
"reset-action": h(({ reset: o }) => [
|
|
588
|
-
i(t.$slots, "reset-action", S(F({ reset: o })), void 0, !0)
|
|
589
|
-
]),
|
|
590
|
-
_: 3
|
|
591
|
-
}, 8, ["value", "min", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) : k("", !0)
|
|
592
|
-
], 512),
|
|
593
|
-
t.$slots.source ? (r(), m("div", {
|
|
594
|
-
key: 5,
|
|
595
|
-
ref_key: "source",
|
|
596
|
-
ref: B,
|
|
597
|
-
dir: "auto"
|
|
598
|
-
}, [
|
|
599
|
-
i(t.$slots, "source", {}, void 0, !0)
|
|
600
|
-
], 512)) : k("", !0),
|
|
601
|
-
O.value ? (r(), M(mt, {
|
|
602
|
-
key: 6,
|
|
603
|
-
hideDetails: "",
|
|
604
|
-
config: {
|
|
605
|
-
open: v.value.showTable,
|
|
606
|
-
maxHeight: 1e4,
|
|
607
|
-
body: {
|
|
608
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
609
|
-
color: e.value.style.chart.color
|
|
610
|
-
},
|
|
611
|
-
head: {
|
|
612
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
613
|
-
color: e.value.style.chart.color
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
}, {
|
|
617
|
-
content: h(() => [
|
|
618
|
-
(r(), M(ft, {
|
|
619
|
-
key: `table_${b.value}`,
|
|
620
|
-
colNames: L.value.colNames,
|
|
621
|
-
head: L.value.head,
|
|
622
|
-
body: L.value.body,
|
|
623
|
-
config: L.value.config,
|
|
624
|
-
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
625
|
-
onClose: a[2] || (a[2] = (o) => v.value.showTable = !1)
|
|
626
|
-
}, {
|
|
627
|
-
th: h(({ th: o }) => [
|
|
628
|
-
N("div", {
|
|
629
|
-
innerHTML: o,
|
|
630
|
-
style: { display: "flex", "align-items": "center" }
|
|
631
|
-
}, null, 8, _t)
|
|
632
|
-
]),
|
|
633
|
-
td: h(({ td: o }) => [
|
|
634
|
-
Ye(xe(o.name || o), 1)
|
|
635
|
-
]),
|
|
636
|
-
_: 1
|
|
637
|
-
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
638
|
-
]),
|
|
639
|
-
_: 1
|
|
640
|
-
}, 8, ["config"])) : k("", !0)
|
|
641
|
-
], 44, Ot));
|
|
642
|
-
}
|
|
643
|
-
}, Qt = /* @__PURE__ */ Oe(Rt, [["__scopeId", "data-v-117f5e65"]]);
|
|
644
|
-
export {
|
|
645
|
-
Qt as default
|
|
646
|
-
};
|