vue-data-ui 2.7.2 → 2.7.4
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-Cuf9zUpa.cjs → Arrow-Bslu6In_.cjs} +1 -1
- package/dist/{Arrow-SOQeOwmT.js → Arrow-Kbu7LT-f.js} +1 -1
- package/dist/{BaseIcon-DqYzMisq.js → BaseIcon-BLhJaEYy.js} +4 -3
- package/dist/{BaseIcon-C0unoacb.cjs → BaseIcon-WIhlX3LN.cjs} +1 -1
- package/dist/{ColorPicker-DyOTLjAA.js → ColorPicker-Dlg-p-yo.js} +3 -3
- package/dist/{ColorPicker-DLNc3kpl.cjs → ColorPicker-mXlj2N11.cjs} +1 -1
- package/dist/{DataTable-C_28ZqiP.js → DataTable-DOKlm7k4.js} +2 -2
- package/dist/{DataTable-ByOfBGEi.cjs → DataTable-c3nDhwbO.cjs} +1 -1
- package/dist/{Legend-mrAy7yUC.cjs → Legend-Bhl2d6oj.cjs} +1 -1
- package/dist/{Legend-CmKaL7xe.js → Legend-CIjMjfNk.js} +2 -2
- package/dist/{PackageVersion-39l3KkzC.js → PackageVersion-BCLALL_i.js} +1 -1
- package/dist/{PackageVersion-By81XV8X.cjs → PackageVersion-DFYAej2o.cjs} +1 -1
- package/dist/PenAndPaper-CAqWCUZx.cjs +1 -0
- package/dist/PenAndPaper-CZs431Nx.js +374 -0
- package/dist/{Shape-iIO-95sh.js → Shape-D9MuIPm8.js} +1 -1
- package/dist/{Shape-x7U3IhoM.cjs → Shape-wMij_bxG.cjs} +1 -1
- package/dist/{Slicer-C49MotZz.js → Slicer-CqYLlNlU.js} +2 -2
- package/dist/{Slicer-Ct66sqV1.cjs → Slicer-Duh-nBCD.cjs} +1 -1
- package/dist/{Title-BgVFZwZZ.cjs → Title-C5w8bVlo.cjs} +1 -1
- package/dist/{Title-Co3F59jq.js → Title-UjBqdYyD.js} +1 -1
- package/dist/{Tooltip-Cr89wMKa.js → Tooltip-3NNIdJ6N.js} +1 -1
- package/dist/{Tooltip-B8E9uCVm.cjs → Tooltip-Dbe23pmt.cjs} +1 -1
- package/dist/{dom-to-png-DtBlqZMR.js → dom-to-png-6NoDv4_U.js} +1 -1
- package/dist/{dom-to-png-D9eujpXB.cjs → dom-to-png-C-_IolaZ.cjs} +1 -1
- package/dist/{img-DQDP5JIH.js → img-BxGd_UqS.js} +1 -1
- package/dist/{img-DgRUFehB.cjs → img-DCkGlbCr.cjs} +1 -1
- package/dist/{index-gC66Se26.js → index-D3VntmA9.js} +1 -1
- package/dist/{index-BeJeDy5m.cjs → index-MIJJ8liG.cjs} +1 -1
- package/dist/{pdf-Bu1ahAX2.cjs → pdf-BGp1xMhT.cjs} +1 -1
- package/dist/{pdf-lJiGVhtL.js → pdf-BpVckOt1.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -1
- package/dist/types/vue-data-ui.d.ts +2 -1
- package/dist/{useNestedProp-BusTOV-6.js → useNestedProp-DTlOqz2P.js} +1 -1
- package/dist/{useNestedProp-CF-iHhIC.cjs → useNestedProp-DwR4JSzw.cjs} +1 -1
- package/dist/{usePrinter-KMFl0n0s.js → usePrinter-H3tAjGXs.js} +3 -3
- package/dist/{usePrinter-Bz_kd3vb.cjs → usePrinter-U1x-RAEA.cjs} +1 -1
- package/dist/{vue-data-ui-Bak-lr4I.cjs → vue-data-ui-BuY9ggUz.cjs} +1 -1
- package/dist/{vue-data-ui-BApY_erH.js → vue-data-ui-DFwVHeO8.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DeTBYGV_.cjs +19 -0
- package/dist/{vue-ui-3d-bar-BWjU0K3_.js → vue-ui-3d-bar-NNib9NTc.js} +30 -30
- package/dist/{vue-ui-accordion-j2beIma_.js → vue-ui-accordion-DGJQIcdB.js} +3 -3
- package/dist/{vue-ui-accordion-CZBJSHT_.cjs → vue-ui-accordion-cBSqrYy3.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Cmw4WVB4.js → vue-ui-age-pyramid-DWG7C-nA.js} +22 -22
- package/dist/vue-ui-age-pyramid-DfGSS3SE.cjs +1 -0
- package/dist/{vue-ui-annotator-BVv5XkoE.cjs → vue-ui-annotator-Bpy0V7AA.cjs} +1 -1
- package/dist/{vue-ui-annotator-CKmqZjUD.js → vue-ui-annotator-D21j4NL0.js} +2 -2
- package/dist/vue-ui-bullet-CrgeKJBE.cjs +34 -0
- package/dist/{vue-ui-bullet-U_yJjO0m.js → vue-ui-bullet-MrNlqcTX.js} +36 -36
- package/dist/vue-ui-candlestick-DfEQ057F.cjs +2 -0
- package/dist/{vue-ui-candlestick-DhdlFIQE.js → vue-ui-candlestick-Dgwjzuq0.js} +11 -11
- package/dist/{vue-ui-carousel-table-BhC5cEe3.cjs → vue-ui-carousel-table-B9AHiJLA.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Ej7qzKkp.js → vue-ui-carousel-table-TOSDOJ0J.js} +4 -4
- package/dist/{vue-ui-chestnut-BzNHXzDj.cjs → vue-ui-chestnut-BQwGKI2l.cjs} +1 -1
- package/dist/{vue-ui-chestnut-L0bS5jtX.js → vue-ui-chestnut-DAlxKIqD.js} +32 -32
- package/dist/vue-ui-circle-pack-B9HW-E4V.cjs +1 -0
- package/dist/{vue-ui-circle-pack-DwCzeO3L.js → vue-ui-circle-pack-BjD7UG4l.js} +44 -44
- package/dist/{vue-ui-cursor-0mZP5nBc.cjs → vue-ui-cursor-Bv_hn_5f.cjs} +1 -1
- package/dist/{vue-ui-cursor-DwHdXwLS.js → vue-ui-cursor-CS0L4MjH.js} +2 -2
- package/dist/{vue-ui-dashboard-DILmOchy.js → vue-ui-dashboard-Cu4QabFb.js} +3 -3
- package/dist/{vue-ui-dashboard-CegApY8_.cjs → vue-ui-dashboard-DGJjS8TM.cjs} +1 -1
- package/dist/{vue-ui-digits-me8Nky0A.cjs → vue-ui-digits-BusMzORo.cjs} +1 -1
- package/dist/{vue-ui-digits-Dbwzk-sl.js → vue-ui-digits-CrqD5QXP.js} +2 -2
- package/dist/{vue-ui-donut-DwE-iZSV.js → vue-ui-donut-CbDkvk9s.js} +12 -12
- package/dist/{vue-ui-donut-evolution-DhFABvEv.js → vue-ui-donut-evolution-DKD_efmP.js} +69 -69
- package/dist/vue-ui-donut-evolution-Dul--Pi_.cjs +1 -0
- package/dist/vue-ui-donut-vqs5auMD.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Cqq4iV6-.js → vue-ui-dumbbell-BGN-Rshy.js} +52 -52
- package/dist/{vue-ui-dumbbell-CL15d-aQ.cjs → vue-ui-dumbbell-CB6lYwMc.cjs} +1 -1
- package/dist/vue-ui-flow-CDPkL02l.cjs +1 -0
- package/dist/{vue-ui-flow-CU-orj9I.js → vue-ui-flow-g93Xo1mO.js} +75 -75
- package/dist/vue-ui-funnel-D1PhFKgP.cjs +1 -0
- package/dist/{vue-ui-funnel-DQmQmdNV.js → vue-ui-funnel-r_WI2IRS.js} +28 -28
- package/dist/{vue-ui-galaxy-nqyCbQ9j.js → vue-ui-galaxy-B4JnwjLW.js} +39 -39
- package/dist/vue-ui-galaxy-DSXcoM3k.cjs +1 -0
- package/dist/{vue-ui-gauge-BV3CJfqe.js → vue-ui-gauge-BPz7mbOb.js} +26 -26
- package/dist/vue-ui-gauge-Ct1Knstr.cjs +1 -0
- package/dist/{vue-ui-gizmo-CJwSAsxs.js → vue-ui-gizmo-BbUqDkQz.js} +3 -3
- package/dist/{vue-ui-gizmo-CNRAH2zT.cjs → vue-ui-gizmo-tet3qRDX.cjs} +1 -1
- package/dist/{vue-ui-heatmap-B1s7KejC.js → vue-ui-heatmap-BbmFxESu.js} +10 -10
- package/dist/vue-ui-heatmap-RHN_eSK2.cjs +1 -0
- package/dist/vue-ui-history-plot-B8_Kig_-.cjs +1 -0
- package/dist/{vue-ui-history-plot-z_KFt5z_.js → vue-ui-history-plot-CJFtY1Rm.js} +35 -35
- package/dist/{vue-ui-kpi-FaGp6_XP.cjs → vue-ui-kpi-C0IWPkaZ.cjs} +1 -1
- package/dist/{vue-ui-kpi-DabR5K70.js → vue-ui-kpi-CQo8VsEv.js} +3 -3
- package/dist/{vue-ui-mini-loader-w-BmywLJ.js → vue-ui-mini-loader-8wZYNxLC.js} +2 -2
- package/dist/{vue-ui-mini-loader-_plxZxma.cjs → vue-ui-mini-loader-DoOFKxep.cjs} +1 -1
- package/dist/{vue-ui-molecule-aiWG--to.js → vue-ui-molecule-DHb8Roml.js} +45 -45
- package/dist/{vue-ui-molecule-3ClCLk7L.cjs → vue-ui-molecule-HnReqNMq.cjs} +1 -1
- package/dist/vue-ui-mood-radar-BjmCUY0q.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DwxCn06q.js → vue-ui-mood-radar-CdBmESCg.js} +40 -40
- package/dist/{vue-ui-nested-donuts-ONgAaLY-.js → vue-ui-nested-donuts-CO7sSeR-.js} +65 -65
- package/dist/vue-ui-nested-donuts-SBaCzHQP.cjs +17 -0
- package/dist/vue-ui-onion-BehdICTa.cjs +5 -0
- package/dist/{vue-ui-onion-DjoQuBo8.js → vue-ui-onion-Ci15BQ0y.js} +75 -75
- package/dist/{vue-ui-parallel-coordinate-plot-DWGVzaHE.js → vue-ui-parallel-coordinate-plot-BJbrb-Mp.js} +38 -38
- package/dist/vue-ui-parallel-coordinate-plot-BLLONfts.cjs +8 -0
- package/dist/{vue-ui-quadrant-CgiD9c7i.js → vue-ui-quadrant-BZTZY3LG.js} +54 -54
- package/dist/vue-ui-quadrant-ntmlYIVx.cjs +1 -0
- package/dist/{vue-ui-quick-chart-5NiRxtpD.js → vue-ui-quick-chart-B2OUF1Pk.js} +9 -9
- package/dist/vue-ui-quick-chart-BCdm0tx2.cjs +15 -0
- package/dist/vue-ui-radar-CUoLdojY.cjs +1 -0
- package/dist/{vue-ui-radar-CfKAy0nI.js → vue-ui-radar-D8DHrSPP.js} +55 -55
- package/dist/{vue-ui-rating-yiM_5H0W.cjs → vue-ui-rating-BWlmz08s.cjs} +1 -1
- package/dist/{vue-ui-rating-CbZvsZNv.js → vue-ui-rating-D4H6cT0d.js} +2 -2
- package/dist/{vue-ui-relation-circle-RRK2jhHr.js → vue-ui-relation-circle-CWvX8cvJ.js} +7 -7
- package/dist/vue-ui-relation-circle-DighSxmd.cjs +1 -0
- package/dist/vue-ui-rings-CPIzjzdm.cjs +2 -0
- package/dist/{vue-ui-rings-CiMKMEpp.js → vue-ui-rings-Dq5YT7h-.js} +62 -62
- package/dist/{vue-ui-scatter-9PFXuvoo.js → vue-ui-scatter-BMuJyp6q.js} +44 -44
- package/dist/vue-ui-scatter-BSgMQLjw.cjs +1 -0
- package/dist/{vue-ui-skeleton-KW-jcPRN.cjs → vue-ui-skeleton-DOE444ST.cjs} +1 -1
- package/dist/{vue-ui-skeleton-7Zfds6H1.js → vue-ui-skeleton-pHcbvN3-.js} +3 -3
- package/dist/{vue-ui-smiley-D0jhMBUh.js → vue-ui-smiley-BsPExuQ7.js} +2 -2
- package/dist/{vue-ui-smiley-BNQlshyY.cjs → vue-ui-smiley-bHv8hVve.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CLm12POW.cjs → vue-ui-spark-trend-S0FbKqDW.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D8nDY0fS.js → vue-ui-spark-trend-eJ5IZSRQ.js} +5 -5
- package/dist/{vue-ui-sparkbar-ChEbpWYC.cjs → vue-ui-sparkbar-B1pwFeeg.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-wKlwMCph.js → vue-ui-sparkbar-B9E03kBf.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DG824sGI.cjs → vue-ui-sparkgauge-BpAFpJN9.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CvhIe_mP.js → vue-ui-sparkgauge-CbtRwF8H.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B8k8a538.cjs → vue-ui-sparkhistogram-4gAnz36n.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CVmbTFTc.js → vue-ui-sparkhistogram-BJfFPQ-X.js} +5 -5
- package/dist/{vue-ui-sparkline-7wnWuXDQ.cjs → vue-ui-sparkline-CJ8rlJiI.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CtqAbSzZ.js → vue-ui-sparkline-CLz-PMi0.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DfwEeUC5.js → vue-ui-sparkstackbar-C5ZzOhRM.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-57SONMGP.cjs → vue-ui-sparkstackbar-ja3t34Mt.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CGSVPiPx.js → vue-ui-stackbar-BnuJOk6L.js} +86 -86
- package/dist/vue-ui-stackbar-DSWEq3Pa.cjs +6 -0
- package/dist/{vue-ui-strip-plot-fJFkn8_0.js → vue-ui-strip-plot-Cbr3Dkmd.js} +36 -36
- package/dist/vue-ui-strip-plot-CyiaXAxw.cjs +1 -0
- package/dist/{vue-ui-table-Das3959J.cjs → vue-ui-table-CPJeRMDV.cjs} +1 -1
- package/dist/{vue-ui-table-CliL2Wsp.js → vue-ui-table-Cr6jEi4z.js} +1 -1
- package/dist/{vue-ui-table-heatmap-C28ozf2S.cjs → vue-ui-table-heatmap-BfKruH6W.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-ZsJMMGpG.js → vue-ui-table-heatmap-C0J52xWN.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CrQNShdH.js → vue-ui-table-sparkline-C9PHXjbW.js} +5 -5
- package/dist/{vue-ui-table-sparkline-0i9FAXug.cjs → vue-ui-table-sparkline-CGUs_6Ij.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BaGL6WSb.js → vue-ui-thermometer-Cs8Xt7tQ.js} +50 -50
- package/dist/vue-ui-thermometer-DWC--OtD.cjs +1 -0
- package/dist/{vue-ui-timer-CFtgJ_Vi.cjs → vue-ui-timer-DD0VvMEs.cjs} +1 -1
- package/dist/{vue-ui-timer-Nk94fV-n.js → vue-ui-timer-DDZHmPLV.js} +5 -5
- package/dist/vue-ui-tiremarks-B_koqVkj.cjs +1 -0
- package/dist/{vue-ui-tiremarks-zYgdq_99.js → vue-ui-tiremarks-DHAdNbAA.js} +25 -25
- package/dist/vue-ui-treemap-C_yhbpyF.cjs +1 -0
- package/dist/{vue-ui-treemap-CAxPcxn-.js → vue-ui-treemap-CfH-P5Oh.js} +12 -12
- package/dist/vue-ui-vertical-bar-BRplGFjj.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-Di3FBkwJ.js → vue-ui-vertical-bar-oBdc4YQS.js} +80 -80
- package/dist/vue-ui-waffle-Bg5T7RVn.cjs +1 -0
- package/dist/{vue-ui-waffle-DBJAQsEf.js → vue-ui-waffle-DZ2zIujl.js} +45 -45
- package/dist/{vue-ui-wheel-BTZEr2Vs.js → vue-ui-wheel-BerXCO4A.js} +27 -27
- package/dist/vue-ui-wheel-Bj3Z92nh.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BEaRWIu-.cjs → vue-ui-word-cloud-BWQ1ogz9.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DBCVUkLM.js → vue-ui-word-cloud-U5KISxTe.js} +72 -72
- package/dist/{vue-ui-xy-DbN93Pcf.cjs → vue-ui-xy-C078AHoi.cjs} +2 -2
- package/dist/vue-ui-xy-canvas-BpblELcE.js +1672 -0
- package/dist/vue-ui-xy-canvas-C76OoGNJ.cjs +9 -0
- package/dist/{vue-ui-xy-aKaGgYGL.js → vue-ui-xy-y9zEQYMK.js} +16 -16
- package/package.json +1 -1
- package/dist/PenAndPaper-CmcfpltX.js +0 -243
- package/dist/PenAndPaper-DNbX5hR8.cjs +0 -1
- package/dist/vue-ui-3d-bar-CmbTiJVx.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Sv-HbbDJ.cjs +0 -1
- package/dist/vue-ui-bullet-vcmTY4AX.cjs +0 -34
- package/dist/vue-ui-candlestick-DQT-8PRz.cjs +0 -2
- package/dist/vue-ui-circle-pack-CVLJs0XP.cjs +0 -1
- package/dist/vue-ui-donut-FoRYusUX.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BIK2yfIJ.cjs +0 -1
- package/dist/vue-ui-flow-N825fjRf.cjs +0 -1
- package/dist/vue-ui-funnel-B6XMYl89.cjs +0 -1
- package/dist/vue-ui-galaxy-p-sbDnSY.cjs +0 -1
- package/dist/vue-ui-gauge-DsZFk8T_.cjs +0 -1
- package/dist/vue-ui-heatmap-VXgeMOwT.cjs +0 -1
- package/dist/vue-ui-history-plot-JmeGiR--.cjs +0 -1
- package/dist/vue-ui-mood-radar-CO5sPVVG.cjs +0 -1
- package/dist/vue-ui-nested-donuts-D0nALasd.cjs +0 -17
- package/dist/vue-ui-onion-CBqx4q4k.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-uNCmnSvz.cjs +0 -8
- package/dist/vue-ui-quadrant-BOkyMgCm.cjs +0 -1
- package/dist/vue-ui-quick-chart-BRp_bNso.cjs +0 -15
- package/dist/vue-ui-radar-BpicgiWF.cjs +0 -1
- package/dist/vue-ui-relation-circle-Dg6rdyGP.cjs +0 -1
- package/dist/vue-ui-rings-A49lyv-J.cjs +0 -2
- package/dist/vue-ui-scatter-C_jHsy8M.cjs +0 -1
- package/dist/vue-ui-stackbar--0FZ_eBi.cjs +0 -6
- package/dist/vue-ui-strip-plot-C_ggDAQ-.cjs +0 -1
- package/dist/vue-ui-thermometer-h0rymM2v.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cj8-XGcp.cjs +0 -1
- package/dist/vue-ui-treemap-CybL6mVf.cjs +0 -1
- package/dist/vue-ui-vertical-bar-D4IkwvAB.cjs +0 -4
- package/dist/vue-ui-waffle-7otLUrER.cjs +0 -1
- package/dist/vue-ui-wheel-BUJXtmeP.cjs +0 -1
- package/dist/vue-ui-xy-canvas-CF_lqLg-.cjs +0 -9
- package/dist/vue-ui-xy-canvas-CVQ__d4u.js +0 -1500
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as Ue, c as Ce, a6 as Be, v as De, t as Ee, p as se, a as Ge, o as Le, e as ke, g as He, f as je, X as Xe, q as qe, r as Ye, x as Ze } from "./index-
|
|
3
|
-
import { _ as Je } from "./Title-
|
|
4
|
-
import { u as Ke, U as Qe } from "./usePrinter-
|
|
1
|
+
import { useCssVars as Ne, computed as K, ref as h, watch as de, onMounted as _e, onBeforeUnmount as Ae, createElementBlock as V, openBlock as b, unref as v, normalizeStyle as ne, createBlock as Q, createCommentVNode as U, createVNode as ve, createSlots as Ie, withCtx as S, renderSlot as $, normalizeProps as G, guardReactiveProps as L, normalizeClass as ye, createElementVNode as he, Fragment as Re, renderList as We, toDisplayString as be, createTextVNode as Ve, nextTick as we } from "vue";
|
|
2
|
+
import { u as Ue, c as Ce, a6 as Be, v as De, t as Ee, p as se, a as Ge, o as Le, e as ke, g as He, f as je, X as Xe, q as qe, r as Ye, x as Ze } from "./index-D3VntmA9.js";
|
|
3
|
+
import { _ as Je } from "./Title-UjBqdYyD.js";
|
|
4
|
+
import { u as Ke, U as Qe } from "./usePrinter-H3tAjGXs.js";
|
|
5
5
|
import { t as et, u as tt, d as ot } from "./useResponsive-Cw4oZ8sQ.js";
|
|
6
|
-
import at from "./vue-ui-accordion-
|
|
7
|
-
import { D as lt } from "./DataTable-
|
|
8
|
-
import { u as $e } from "./useNestedProp-
|
|
9
|
-
import { _ as nt } from "./PackageVersion-
|
|
10
|
-
import { _ as st } from "./Tooltip-
|
|
11
|
-
import {
|
|
6
|
+
import at from "./vue-ui-accordion-DGJQIcdB.js";
|
|
7
|
+
import { D as lt } from "./DataTable-DOKlm7k4.js";
|
|
8
|
+
import { u as $e } from "./useNestedProp-DTlOqz2P.js";
|
|
9
|
+
import { _ as nt } from "./PackageVersion-BCLALL_i.js";
|
|
10
|
+
import { _ as st } from "./Tooltip-3NNIdJ6N.js";
|
|
11
|
+
import { _ as rt } from "./PenAndPaper-CZs431Nx.js";
|
|
12
12
|
import { u as it } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
13
|
import { u as ut } from "./useChartAccessibility-BWojgys7.js";
|
|
14
14
|
import { u as ct } from "./usePanZoom-CUkkqW81.js";
|
|
15
|
-
import dt from "./BaseIcon-
|
|
15
|
+
import dt from "./BaseIcon-BLhJaEYy.js";
|
|
16
16
|
import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
function xe({
|
|
18
18
|
word: w,
|
|
@@ -26,9 +26,9 @@ function xe({
|
|
|
26
26
|
const a = u.measureText(w.name), n = Math.ceil(a.width) + 2 + (f ? f * 2 : 0), r = Math.ceil(m) + 2 + (f ? f * 2 : 0);
|
|
27
27
|
i.width = n, i.height = r, u.clearRect(0, 0, n, r), u.font = `${l.style && l.style.bold ? "bold " : ""}${m}px Arial`, u.textAlign = "center", u.textBaseline = "middle", u.fillStyle = "black", u.fillText(w.name, n / 2, r / 2);
|
|
28
28
|
const M = u.getImageData(0, 0, n, r).data, x = [];
|
|
29
|
-
for (let
|
|
29
|
+
for (let z = 0; z < r; z += 1)
|
|
30
30
|
for (let e = 0; e < n; e += 1)
|
|
31
|
-
M[(
|
|
31
|
+
M[(z * n + e) * 4 + 3] > 1 && x.push([e, z]);
|
|
32
32
|
return u.restore(), { w: n, h: r, wordMask: x };
|
|
33
33
|
}
|
|
34
34
|
function Te({ mask: w, maskW: m, maskH: f, wx: i, wy: u, wordMask: l }) {
|
|
@@ -60,62 +60,62 @@ function ft({
|
|
|
60
60
|
proximity: m = 0,
|
|
61
61
|
svg: f
|
|
62
62
|
}) {
|
|
63
|
-
const { width: i, height: u } = f, l = Math.round(i), a = Math.round(u), n = 1, r = f.minFontSize, F = f.maxFontSize, M = w.map((p) => p.value), x = Math.min(...M),
|
|
63
|
+
const { width: i, height: u } = f, l = Math.round(i), a = Math.round(u), n = 1, r = f.minFontSize, F = f.maxFontSize, M = w.map((p) => p.value), x = Math.min(...M), z = Math.max(...M), e = new Uint8Array(l * a), R = document.createElement("canvas"), H = R.getContext("2d", { willReadFrequently: !0 });
|
|
64
64
|
R.width = l, R.height = a;
|
|
65
|
-
const j = 6, ee = 2, te = 2, X = 1, q = Math.floor(l / 2), c = Math.floor(a / 2), re = [...w].sort((p,
|
|
65
|
+
const j = 6, ee = 2, te = 2, X = 1, q = Math.floor(l / 2), c = Math.floor(a / 2), re = [...w].sort((p, O) => O.value - p.value), Y = [];
|
|
66
66
|
for (const p of re) {
|
|
67
|
-
let
|
|
68
|
-
|
|
69
|
-
let W = !1,
|
|
70
|
-
for (; !W &&
|
|
71
|
-
let { w:
|
|
67
|
+
let O = r;
|
|
68
|
+
z !== x && (O = (p.value - x) / (z - x) * (F - r) + r), O = Math.max(r, Math.min(F, O));
|
|
69
|
+
let W = !1, P = O;
|
|
70
|
+
for (; !W && P >= n; ) {
|
|
71
|
+
let { w: N, h: _, wordMask: d } = xe({
|
|
72
72
|
word: p,
|
|
73
|
-
fontSize:
|
|
73
|
+
fontSize: P,
|
|
74
74
|
pad: m,
|
|
75
75
|
canvas: R,
|
|
76
76
|
ctx: H,
|
|
77
77
|
svg: f
|
|
78
78
|
});
|
|
79
|
-
d = ht({ wordMask: d, w:
|
|
80
|
-
let
|
|
81
|
-
for (;
|
|
79
|
+
d = ht({ wordMask: d, w: N, h: _, dilation: 2 });
|
|
80
|
+
let A = 0, I = 0;
|
|
81
|
+
for (; A < Math.max(l, a) && !W && I < 1e4; ) {
|
|
82
82
|
for (let T = 0; T < 360; T += j) {
|
|
83
|
-
|
|
84
|
-
const g = Math.round(q +
|
|
85
|
-
if (!(g < 0 || C < 0 || g +
|
|
86
|
-
Y.push({ ...p, x: g - l / 2, y: C - a / 2, fontSize:
|
|
83
|
+
I += 1;
|
|
84
|
+
const g = Math.round(q + A * Math.cos(T * Math.PI / 180) - N / 2), C = Math.round(c + A * Math.sin(T * Math.PI / 180) - _ / 2);
|
|
85
|
+
if (!(g < 0 || C < 0 || g + N > l || C + _ > a) && Te({ mask: e, maskW: l, maskH: a, wx: g, wy: C, wordMask: d })) {
|
|
86
|
+
Y.push({ ...p, x: g - l / 2, y: C - a / 2, fontSize: P, width: N, height: _, angle: 0 }), Se({ mask: e, maskW: l, maskH: a, wx: g, wy: C, wordMask: d }), W = !0;
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
|
|
90
|
+
A += ee;
|
|
91
91
|
}
|
|
92
|
-
W || (
|
|
92
|
+
W || (P -= 1);
|
|
93
93
|
}
|
|
94
|
-
if (!W &&
|
|
95
|
-
|
|
96
|
-
const { w:
|
|
94
|
+
if (!W && P < n) {
|
|
95
|
+
P = n;
|
|
96
|
+
const { w: N, h: _, wordMask: d } = xe({
|
|
97
97
|
word: p,
|
|
98
|
-
fontSize:
|
|
98
|
+
fontSize: P,
|
|
99
99
|
pad: m,
|
|
100
100
|
canvas: R,
|
|
101
101
|
ctx: H,
|
|
102
102
|
svg: f
|
|
103
103
|
});
|
|
104
|
-
let
|
|
105
|
-
for (;
|
|
104
|
+
let A = 0, I = 0;
|
|
105
|
+
for (; A < Math.max(l, a) && !W && I < 25e3; ) {
|
|
106
106
|
for (let T = 0; T < 360; T += te) {
|
|
107
|
-
|
|
108
|
-
const g = Math.round(q +
|
|
109
|
-
if (!(g < 0 || C < 0 || g +
|
|
110
|
-
Y.push({ ...p, x: g - l / 2, y: C - a / 2, fontSize:
|
|
107
|
+
I += 1;
|
|
108
|
+
const g = Math.round(q + A * Math.cos(T * Math.PI / 180) - N / 2), C = Math.round(c + A * Math.sin(T * Math.PI / 180) - _ / 2);
|
|
109
|
+
if (!(g < 0 || C < 0 || g + N > l || C + _ > a) && Te({ mask: e, maskW: l, maskH: a, wx: g, wy: C, wordMask: d })) {
|
|
110
|
+
Y.push({ ...p, x: g - l / 2, y: C - a / 2, fontSize: P, width: N, height: _, angle: 0 }), Se({ mask: e, maskW: l, maskH: a, wx: g, wy: C, wordMask: d }), W = !0;
|
|
111
111
|
break;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
|
|
114
|
+
A += X;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
return Y.sort((p,
|
|
118
|
+
return Y.sort((p, O) => O.fontSize - p.fontSize);
|
|
119
119
|
}
|
|
120
120
|
const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["transform"], bt = ["fill", "font-weight", "x", "y", "font-size", "transform", "onMouseover"], wt = {
|
|
121
121
|
key: 4,
|
|
@@ -141,7 +141,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
setup(w, { expose: m }) {
|
|
144
|
-
|
|
144
|
+
Ne((t) => ({
|
|
145
145
|
"1461b4f2": t.slicerColor
|
|
146
146
|
}));
|
|
147
147
|
const { vue_ui_word_cloud: f } = Ue(), i = w, u = K({
|
|
@@ -151,7 +151,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
151
151
|
set(t) {
|
|
152
152
|
return t;
|
|
153
153
|
}
|
|
154
|
-
}), l = h(Ce()), a = h(0), n = h(null), r = h(null), F = h(null), M = h(0), x = h(0),
|
|
154
|
+
}), l = h(Ce()), a = h(0), n = h(null), r = h(null), F = h(null), M = h(0), x = h(0), z = h(!1), e = K({
|
|
155
155
|
get: () => q(),
|
|
156
156
|
set: (t) => t
|
|
157
157
|
}), R = h(H());
|
|
@@ -179,7 +179,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
179
179
|
} : t;
|
|
180
180
|
}
|
|
181
181
|
de(() => i.config, (t) => {
|
|
182
|
-
e.value = q(), j.value = !e.value.userOptions.showOnChartHover,
|
|
182
|
+
e.value = q(), j.value = !e.value.userOptions.showOnChartHover, O(), M.value += 1, x.value += 1, d.value.showTable = e.value.table.show, d.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
183
183
|
}, { deep: !0 });
|
|
184
184
|
const c = h({
|
|
185
185
|
width: e.value.style.chart.width,
|
|
@@ -199,8 +199,8 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
199
199
|
c.value.width = t, c.value.height = s, we(re);
|
|
200
200
|
});
|
|
201
201
|
}), p = h(null);
|
|
202
|
-
|
|
203
|
-
function
|
|
202
|
+
_e(O);
|
|
203
|
+
function O() {
|
|
204
204
|
Le(i.dataset) ? ke({
|
|
205
205
|
componentName: "VueUiWordCloud",
|
|
206
206
|
type: "dataset"
|
|
@@ -218,10 +218,10 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
218
218
|
});
|
|
219
219
|
}), e.value.responsive && (p.value = new ResizeObserver(Y), p.value.observe(n.value.parentNode));
|
|
220
220
|
}
|
|
221
|
-
|
|
221
|
+
Ae(() => {
|
|
222
222
|
p.value && p.value.disconnect();
|
|
223
223
|
});
|
|
224
|
-
const { isPrinting: W, isImaging:
|
|
224
|
+
const { isPrinting: W, isImaging: P, generatePdf: N, generateImage: _ } = Ke({
|
|
225
225
|
elementId: `wordCloud_${l.value}`,
|
|
226
226
|
fileName: e.value.style.chart.title.text || "vue-ui-word-cloud",
|
|
227
227
|
options: e.value.userOptions.print
|
|
@@ -229,20 +229,20 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
229
229
|
showTable: e.value.table.show,
|
|
230
230
|
showTooltip: e.value.style.chart.tooltip.show
|
|
231
231
|
});
|
|
232
|
-
function
|
|
232
|
+
function A(t, s, o = "Arial") {
|
|
233
233
|
const y = document.createElement("canvas").getContext("2d");
|
|
234
234
|
return y.font = `${s}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
|
|
235
235
|
width: y.measureText(t).width + e.value.style.chart.words.proximity,
|
|
236
236
|
height: s
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
const
|
|
239
|
+
const I = h([]);
|
|
240
240
|
de(() => i.dataset, T, { immediate: !0 });
|
|
241
241
|
function T() {
|
|
242
242
|
const t = [...R.value].map((y) => y.value), s = Math.max(...t), o = Math.min(...t), k = [...R.value].map((y, B) => {
|
|
243
243
|
let D = (y.value - o) / (s - o) * (c.value.maxFontSize - c.value.minFontSize) + c.value.minFontSize;
|
|
244
244
|
D = isNaN(D) ? c.value.minFontSize : D;
|
|
245
|
-
const ge =
|
|
245
|
+
const ge = A(y.name, D);
|
|
246
246
|
return {
|
|
247
247
|
...y,
|
|
248
248
|
id: Ce(),
|
|
@@ -252,17 +252,17 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
252
252
|
color: e.value.style.chart.words.usePalette ? e.value.customPalette[B] || e.value.customPalette[B % e.value.customPalette.length] || se[B] || se[B % se.length] : e.value.style.chart.words.color
|
|
253
253
|
};
|
|
254
254
|
});
|
|
255
|
-
|
|
255
|
+
I.value = ft({
|
|
256
256
|
words: k,
|
|
257
257
|
svg: c.value,
|
|
258
258
|
proximity: e.value.style.chart.words.proximity
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
261
|
const g = K(() => {
|
|
262
|
-
const t =
|
|
262
|
+
const t = I.value.map((o) => ({
|
|
263
263
|
name: o.name,
|
|
264
264
|
color: o.color
|
|
265
|
-
})), s =
|
|
265
|
+
})), s = I.value.map((o) => o.value);
|
|
266
266
|
return { head: t, body: s };
|
|
267
267
|
});
|
|
268
268
|
function C() {
|
|
@@ -313,7 +313,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
313
313
|
ae.value = t, a.value += 1;
|
|
314
314
|
}
|
|
315
315
|
function Me() {
|
|
316
|
-
return
|
|
316
|
+
return I.value;
|
|
317
317
|
}
|
|
318
318
|
function fe() {
|
|
319
319
|
d.value.showTable = !d.value.showTable;
|
|
@@ -325,23 +325,23 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
325
325
|
function ie() {
|
|
326
326
|
Z.value = !Z.value;
|
|
327
327
|
}
|
|
328
|
-
const
|
|
328
|
+
const ze = K(() => !Z.value && e.value.style.chart.zoom.show), { viewBox: le, resetZoom: pe, isZoom: Oe } = ct(X, {
|
|
329
329
|
x: 0,
|
|
330
330
|
y: 0,
|
|
331
331
|
width: c.value.width <= 0 ? 10 : c.value.width,
|
|
332
332
|
height: c.value.height <= 0 ? 10 : c.value.height
|
|
333
|
-
}, 1,
|
|
333
|
+
}, 1, ze);
|
|
334
334
|
m({
|
|
335
335
|
getData: Me,
|
|
336
336
|
generateCsv: C,
|
|
337
|
-
generatePdf:
|
|
338
|
-
generateImage:
|
|
337
|
+
generatePdf: N,
|
|
338
|
+
generateImage: _,
|
|
339
339
|
toggleTable: fe,
|
|
340
340
|
toggleTooltip: me,
|
|
341
341
|
toggleAnnotator: ie
|
|
342
342
|
});
|
|
343
343
|
const E = h(null), J = h(!1), ue = h(""), ce = h(null);
|
|
344
|
-
function
|
|
344
|
+
function Pe(t) {
|
|
345
345
|
if (!d.value.showTooltip) return;
|
|
346
346
|
E.value = t.id, ce.value = { datapoint: t, config: e.value };
|
|
347
347
|
const s = e.value.style.chart.tooltip.customFormat;
|
|
@@ -359,7 +359,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
359
359
|
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>`;
|
|
360
360
|
ue.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${o}</div>`;
|
|
361
361
|
}
|
|
362
|
-
|
|
362
|
+
z.value = !0;
|
|
363
363
|
}
|
|
364
364
|
return (t, s) => (b(), V("div", {
|
|
365
365
|
class: "vue-ui-word-cloud",
|
|
@@ -402,7 +402,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
402
402
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
403
403
|
color: e.value.style.chart.color,
|
|
404
404
|
isPrinting: v(W),
|
|
405
|
-
isImaging: v(
|
|
405
|
+
isImaging: v(P),
|
|
406
406
|
uid: l.value,
|
|
407
407
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
408
408
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -418,16 +418,16 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
418
418
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
419
419
|
isAnnotation: Z.value,
|
|
420
420
|
onToggleFullscreen: Fe,
|
|
421
|
-
onGeneratePdf: v(
|
|
421
|
+
onGeneratePdf: v(N),
|
|
422
422
|
onGenerateCsv: C,
|
|
423
|
-
onGenerateImage: v(
|
|
423
|
+
onGenerateImage: v(_),
|
|
424
424
|
onToggleTable: fe,
|
|
425
425
|
onToggleTooltip: me,
|
|
426
426
|
onToggleAnnotator: ie,
|
|
427
427
|
style: ne({
|
|
428
428
|
visibility: v(te) ? v(j) ? "visible" : "hidden" : "visible"
|
|
429
429
|
})
|
|
430
|
-
},
|
|
430
|
+
}, Ie({ _: 2 }, [
|
|
431
431
|
t.$slots.menuIcon ? {
|
|
432
432
|
name: "menuIcon",
|
|
433
433
|
fn: S(({ isOpen: o, color: k }) => [
|
|
@@ -503,7 +503,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
503
503
|
he("g", {
|
|
504
504
|
transform: `translate(${(c.value.width <= 0 ? 10 : c.value.width) / 2}, ${(c.value.height <= 0 ? 10 : c.value.height) / 2})`
|
|
505
505
|
}, [
|
|
506
|
-
(b(!0), V(Re, null, We(
|
|
506
|
+
(b(!0), V(Re, null, We(I.value, (o, k) => (b(), V("g", null, [
|
|
507
507
|
(b(), V("text", {
|
|
508
508
|
fill: o.color,
|
|
509
509
|
"font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
|
|
@@ -515,9 +515,9 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
515
515
|
class: ye({ animated: e.value.useCssAnimation, "word-selected": E.value && E.value === o.id && d.value.showTooltip, "word-not-selected": E.value && E.value !== o.id && d.value.showTooltip }),
|
|
516
516
|
"text-anchor": "middle",
|
|
517
517
|
"dominant-baseline": "central",
|
|
518
|
-
onMouseover: (y) =>
|
|
518
|
+
onMouseover: (y) => Pe(o),
|
|
519
519
|
onMouseleave: s[0] || (s[0] = (y) => {
|
|
520
|
-
E.value = null,
|
|
520
|
+
E.value = null, z.value = !1;
|
|
521
521
|
}),
|
|
522
522
|
style: ne(`animation-delay:${k * e.value.animationDelayMs}ms !important;`)
|
|
523
523
|
}, be(o.name), 47, bt))
|
|
@@ -528,9 +528,9 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
528
528
|
}, void 0, !0)
|
|
529
529
|
], 10, pt)) : U("", !0),
|
|
530
530
|
t.$slots.watermark ? (b(), V("div", wt, [
|
|
531
|
-
$(t.$slots, "watermark", G(L({ isPrinting: v(W) || v(
|
|
531
|
+
$(t.$slots, "watermark", G(L({ isPrinting: v(W) || v(P) })), void 0, !0)
|
|
532
532
|
])) : U("", !0),
|
|
533
|
-
v(
|
|
533
|
+
v(Oe) ? (b(), V("div", Ct, [
|
|
534
534
|
$(t.$slots, "reset-action", { reset: v(pe) }, () => [
|
|
535
535
|
he("button", {
|
|
536
536
|
"data-cy-reset": "",
|
|
@@ -550,7 +550,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], yt = ["t
|
|
|
550
550
|
], !0)
|
|
551
551
|
])) : U("", !0),
|
|
552
552
|
ve(st, {
|
|
553
|
-
show: d.value.showTooltip &&
|
|
553
|
+
show: d.value.showTooltip && z.value,
|
|
554
554
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
555
555
|
color: e.value.style.chart.tooltip.color,
|
|
556
556
|
fontSize: e.value.style.chart.tooltip.fontSize,
|