vue-data-ui 2.4.2 → 2.4.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/README.md +3 -1
- package/dist/{Arrow-JuK2z9IB.js → Arrow-AxsI-FAh.js} +1 -1
- package/dist/{Arrow-DLTRnzcG.cjs → Arrow-W6XO2WVI.cjs} +1 -1
- package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
- package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BX3x6oa7.js} +1 -1
- package/dist/{DataTable-DTk7C4Pr.js → DataTable-BI1tjiA_.js} +2 -2
- package/dist/{DataTable-DJzhv96s.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
- package/dist/{Legend-YZ7Hz3o1.cjs → Legend-B86sMXn7.cjs} +1 -1
- package/dist/{Legend-CYF2gpXG.js → Legend-CRMHjbGw.js} +1 -1
- package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-Clrfvyd8.js} +1 -1
- package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
- package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-BQzgk5kO.js} +2 -2
- package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
- package/dist/{Shape-BpPn4eWR.js → Shape-DYNtRer6.js} +1 -1
- package/dist/{Shape-X2F-QV_B.cjs → Shape-qK3MNdTg.cjs} +1 -1
- package/dist/{Slicer-CU7dRZR0.js → Slicer-DFPDip5U.js} +3 -3
- package/dist/{Slicer-CL0tP5a5.cjs → Slicer-NlxLkUso.cjs} +1 -1
- package/dist/{Title-5VmBwT4i.js → Title-710895ks.js} +1 -1
- package/dist/{Title-Co5jI5ed.cjs → Title-CUN1T6KC.cjs} +1 -1
- package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-BapDtYOM.cjs} +1 -1
- package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-CPlG_yQU.js} +1 -1
- package/dist/index-CcykRspI.cjs +9 -0
- package/dist/{index-DnVHQ2xI.js → index-DCsPHn9C.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -1
- package/dist/types/vue-data-ui.d.ts +4 -1
- package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-DdSlLeTW.js} +1 -1
- package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
- package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-BcE45wW6.cjs} +1 -1
- package/dist/{usePrinter-BEeNAqS5.js → usePrinter-siG3sKWo.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/useResponsive-CoxXLe23.js +189 -0
- package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
- package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-D_MTGc8j.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BdzWvy4d.js} +41 -34
- package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +2 -2
- package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
- package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
- package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CHEdFQb7.js} +185 -168
- package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
- package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
- package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-DBk50kIe.js} +195 -158
- package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
- package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-Bo41qkGe.js} +263 -246
- package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
- package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-CkNOqa9q.js} +76 -69
- package/dist/vue-ui-carousel-table-lMqx64wd.cjs +1 -0
- package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-CNWq-epB.js} +299 -286
- package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
- package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
- package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
- package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
- package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
- package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
- package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-C65SAJKb.js} +374 -357
- package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
- package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-BFbBlmBx.js} +240 -226
- package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-BnxRfvv0.js} +227 -210
- package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
- package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
- package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Cra_F-tK.js} +150 -137
- package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
- package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-DlJ7v0aD.js} +145 -132
- package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-CsqVvNxE.js} +210 -193
- package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
- package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
- package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
- package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-i4HFM04D.js} +203 -189
- package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
- package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
- package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-CgdepnhM.js} +164 -151
- package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-Bxro4962.js} +217 -203
- package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-B7dXBejH.js} +342 -325
- package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
- package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
- package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-i52wztm0.js} +267 -250
- package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +241 -224
- package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BORPtgQO.js} +236 -219
- package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
- package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
- package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-yb1FzVdt.js} +469 -452
- package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-CoCbl19A.js} +198 -181
- package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
- package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D-zwuvLK.js} +2 -2
- package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
- package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
- package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
- package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
- package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-Bx2GEh6d.js} +221 -204
- package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-BARiPzro.js} +375 -358
- package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
- package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
- package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-DNuwx6_y.js} +419 -379
- package/dist/vue-ui-skeleton-DpfJbsNA.cjs +41 -0
- package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-BnX27B0k.js} +2 -2
- package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-CgCLrMox.js} +86 -79
- package/dist/vue-ui-spark-trend-aW-de-rX.cjs +1 -0
- package/dist/vue-ui-sparkbar-BLUXUlTY.cjs +1 -0
- package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-BXku33sq.js} +90 -83
- package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-Doi0iu0L.js} +57 -50
- package/dist/vue-ui-sparkgauge-RTiKvSMp.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-BnMvXlAP.js} +74 -67
- package/dist/vue-ui-sparkhistogram-C6AgJH1C.cjs +1 -0
- package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-DI7fq_MR.js} +134 -125
- package/dist/vue-ui-sparkline-DpVCQ6W9.cjs +1 -0
- package/dist/vue-ui-sparkstackbar-Bvuq2sLW.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-oNnE5z1C.js} +84 -77
- package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-6g7b3yyu.js} +205 -196
- package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-BFM8HIM8.js} +265 -248
- package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
- package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
- package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-Bh48bMuU.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-DeRCR8l6.js} +55 -48
- package/dist/vue-ui-table-sparkline-C25qj1w_.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-w3H-od91.js} +88 -81
- package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-BySEVhT8.js} +162 -149
- package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
- package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
- package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-BN-9a2lj.js} +6 -6
- package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
- package/dist/vue-ui-tiremarks-EzYdOMyf.js +317 -0
- package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
- package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-Da0f6vaF.js} +283 -266
- package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
- package/dist/vue-ui-vertical-bar-D1cBfu5p.js +869 -0
- package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
- package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-DM2LsEP7.js} +258 -241
- package/dist/vue-ui-wheel-B9cmixxi.js +299 -0
- package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
- package/dist/vue-ui-word-cloud-BLMWYOPy.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-Baz7RXN2.js} +192 -183
- package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
- package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-DVnzVSqE.js} +339 -319
- package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-A7PKnWBs.js} +255 -246
- package/dist/vue-ui-xy-canvas-DAd-B98z.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-FfZRtJ6A.cjs +0 -9
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
- package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
- package/dist/vue-ui-donut-CplNylps.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
- package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
- package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +0 -15
- package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +0 -349
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
- package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
- package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
- package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
- package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
- package/dist/vue-ui-tiremarks-vdPQYiDp.js +0 -303
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DwxpB46q.js +0 -852
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
- package/dist/vue-ui-wheel-Bbih5sSL.js +0 -282
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
- package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { d as
|
|
6
|
-
import
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { _ as
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
const
|
|
1
|
+
import { useCssVars as Be, computed as p, openBlock as r, createElementBlock as h, createVNode as oe, renderSlot as d, createElementVNode as x, normalizeStyle as ae, pushScopeId as De, popScopeId as Ve, ref as n, watch as te, onMounted as Ee, onBeforeUnmount as Ue, createBlock as z, createCommentVNode as C, unref as $, createSlots as Ge, withCtx as v, normalizeProps as A, guardReactiveProps as I, normalizeClass as ge, Fragment as Le, renderList as Xe, toDisplayString as ye, createTextVNode as je, nextTick as be } from "vue";
|
|
2
|
+
import { u as Ye, _ as qe, v as He, c as Ce, t as Je, a as Ke, p as X, o as Qe, e as ke, g as Ze, f as et, X as tt, q as ot, r as at, x as lt } from "./index-DCsPHn9C.js";
|
|
3
|
+
import { _ as nt } from "./Title-710895ks.js";
|
|
4
|
+
import { u as st, U as rt } from "./usePrinter-siG3sKWo.js";
|
|
5
|
+
import { d as ut, t as it, u as ct } from "./useResponsive-CoxXLe23.js";
|
|
6
|
+
import dt from "./vue-ui-accordion-D4Er5Dy5.js";
|
|
7
|
+
import { D as vt } from "./DataTable-BI1tjiA_.js";
|
|
8
|
+
import ht from "./BaseIcon-BX3x6oa7.js";
|
|
9
|
+
import { _ as $e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
import { u as we } from "./useNestedProp-DdSlLeTW.js";
|
|
11
|
+
import { _ as mt } from "./PackageVersion-Clrfvyd8.js";
|
|
12
|
+
import { _ as ft } from "./Tooltip-CPlG_yQU.js";
|
|
13
|
+
import { P as pt } from "./PenAndPaper-BQzgk5kO.js";
|
|
14
|
+
const gt = (c) => (De("data-v-3fd7d274"), c = c(), Ve(), c), yt = { "data-html2canvas-ignore": "" }, bt = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "reset-wrapper"
|
|
17
|
-
},
|
|
17
|
+
}, Ct = {
|
|
18
18
|
key: 1,
|
|
19
19
|
class: "reset-wrapper"
|
|
20
|
-
},
|
|
20
|
+
}, kt = { class: "mono-slicer" }, wt = /* @__PURE__ */ gt(() => /* @__PURE__ */ x("div", { class: "slider-track" }, null, -1)), $t = ["min", "max", "value"], xt = {
|
|
21
21
|
__name: "MonoSlicer",
|
|
22
22
|
props: {
|
|
23
23
|
min: {
|
|
@@ -63,32 +63,32 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
63
63
|
},
|
|
64
64
|
emits: ["update:value", "reset"],
|
|
65
65
|
setup(c, { emit: B }) {
|
|
66
|
-
const
|
|
67
|
-
|
|
66
|
+
const s = c;
|
|
67
|
+
Be((w) => ({
|
|
68
68
|
"90ad3208": j.value,
|
|
69
69
|
"4f9eef70": O.value,
|
|
70
|
-
"6e07ae3e":
|
|
70
|
+
"6e07ae3e": k.value,
|
|
71
71
|
"2fd430a0": c.selectColor,
|
|
72
72
|
"6b8169a4": T.value
|
|
73
73
|
}));
|
|
74
|
-
const j = p(() =>
|
|
74
|
+
const j = p(() => s.inputColor), T = p(() => s.background), k = p(() => `${s.selectColor}33`), O = p(() => s.borderColor);
|
|
75
75
|
function M() {
|
|
76
76
|
B("reset");
|
|
77
77
|
}
|
|
78
78
|
const g = p(() => {
|
|
79
|
-
const
|
|
79
|
+
const w = s.max - s.min, y = 0, S = (s.value - s.min) / w * 100;
|
|
80
80
|
return {
|
|
81
81
|
left: `${y}%`,
|
|
82
82
|
width: `${S - y}%`,
|
|
83
|
-
background:
|
|
83
|
+
background: s.selectColor
|
|
84
84
|
};
|
|
85
85
|
});
|
|
86
|
-
return (
|
|
87
|
-
c.value !== c.source ? (
|
|
88
|
-
c.useResetSlot ?
|
|
86
|
+
return (w, y) => (r(), h("div", yt, [
|
|
87
|
+
c.value !== c.source ? (r(), h("div", bt, [
|
|
88
|
+
c.useResetSlot ? d(w.$slots, "reset-action", {
|
|
89
89
|
key: 1,
|
|
90
90
|
reset: M
|
|
91
|
-
}, void 0, !0) : (
|
|
91
|
+
}, void 0, !0) : (r(), h("button", {
|
|
92
92
|
key: 0,
|
|
93
93
|
"data-cy-reset": "",
|
|
94
94
|
tabindex: "0",
|
|
@@ -96,14 +96,14 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
96
96
|
class: "vue-data-ui-refresh-button",
|
|
97
97
|
onClick: M
|
|
98
98
|
}, [
|
|
99
|
-
oe(
|
|
99
|
+
oe(ht, {
|
|
100
100
|
name: "refresh",
|
|
101
101
|
stroke: c.textColor
|
|
102
102
|
}, null, 8, ["stroke"])
|
|
103
103
|
]))
|
|
104
|
-
])) : (
|
|
105
|
-
x("div",
|
|
106
|
-
|
|
104
|
+
])) : (r(), h("div", Ct)),
|
|
105
|
+
x("div", kt, [
|
|
106
|
+
wt,
|
|
107
107
|
x("div", {
|
|
108
108
|
class: "range-highlight",
|
|
109
109
|
style: ae(g.value)
|
|
@@ -114,14 +114,14 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
114
114
|
max: c.max,
|
|
115
115
|
value: Number(c.value),
|
|
116
116
|
onInput: y[0] || (y[0] = (S) => B("update:value", Number(S.target.value)))
|
|
117
|
-
}, null, 40,
|
|
117
|
+
}, null, 40, $t)
|
|
118
118
|
])
|
|
119
119
|
]));
|
|
120
120
|
}
|
|
121
|
-
},
|
|
121
|
+
}, Tt = /* @__PURE__ */ $e(xt, [["__scopeId", "data-v-3fd7d274"]]), St = ["id"], Ft = ["xmlns", "viewBox"], _t = ["transform"], Nt = ["fill", "font-weight", "x", "y", "font-size", "transform", "onMouseover"], Pt = {
|
|
122
122
|
key: 4,
|
|
123
123
|
class: "vue-data-ui-watermark"
|
|
124
|
-
},
|
|
124
|
+
}, zt = ["innerHTML"], At = {
|
|
125
125
|
__name: "vue-ui-word-cloud",
|
|
126
126
|
props: {
|
|
127
127
|
config: {
|
|
@@ -138,127 +138,128 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
140
|
setup(c, { expose: B }) {
|
|
141
|
-
const
|
|
141
|
+
const s = c, { vue_ui_word_cloud: j } = Ye(), T = p({
|
|
142
142
|
get() {
|
|
143
|
-
return !!
|
|
143
|
+
return !!s.dataset && s.dataset.length;
|
|
144
144
|
},
|
|
145
145
|
set(t) {
|
|
146
146
|
return t;
|
|
147
147
|
}
|
|
148
|
-
}),
|
|
148
|
+
}), k = n(typeof s.dataset == "string" ? qe(s.dataset) : s.dataset.map((t) => ({
|
|
149
149
|
...t,
|
|
150
|
-
value:
|
|
151
|
-
}))), O =
|
|
152
|
-
get: () =>
|
|
150
|
+
value: He(t.value)
|
|
151
|
+
}))), O = n(Ce()), M = n(0), g = n(null), w = n(null), y = n(null), S = n(0), le = n(0), Y = n(!1), e = p({
|
|
152
|
+
get: () => ne(),
|
|
153
153
|
set: (t) => t
|
|
154
154
|
});
|
|
155
|
-
function
|
|
156
|
-
const t =
|
|
157
|
-
userConfig:
|
|
155
|
+
function ne() {
|
|
156
|
+
const t = we({
|
|
157
|
+
userConfig: s.config,
|
|
158
158
|
defaultConfig: j
|
|
159
159
|
});
|
|
160
160
|
return t.theme ? {
|
|
161
|
-
...
|
|
162
|
-
userConfig:
|
|
161
|
+
...we({
|
|
162
|
+
userConfig: Je.vue_ui_word_cloud[t.theme] || s.config,
|
|
163
163
|
defaultConfig: t
|
|
164
164
|
}),
|
|
165
|
-
customPalette:
|
|
165
|
+
customPalette: Ke[t.theme] || X
|
|
166
166
|
} : t;
|
|
167
167
|
}
|
|
168
|
-
te(() =>
|
|
169
|
-
e.value =
|
|
168
|
+
te(() => s.config, (t) => {
|
|
169
|
+
e.value = ne(), re(), S.value += 1, le.value += 1, q();
|
|
170
170
|
}, { deep: !0 });
|
|
171
|
-
const
|
|
171
|
+
const se = n(null), F = n(0), u = n({
|
|
172
172
|
width: e.value.style.chart.width,
|
|
173
173
|
height: e.value.style.chart.height,
|
|
174
174
|
maxFontSize: e.value.style.chart.words.maxFontSize,
|
|
175
175
|
minFontSize: e.value.style.chart.words.minFontSize
|
|
176
|
-
}),
|
|
177
|
-
const { width: t, height: a } =
|
|
176
|
+
}), xe = it(() => {
|
|
177
|
+
const { width: t, height: a } = ct({
|
|
178
178
|
chart: g.value,
|
|
179
|
-
title: e.value.style.chart.title.text ?
|
|
180
|
-
slicer: e.value.style.chart.zoom.show &&
|
|
179
|
+
title: e.value.style.chart.title.text ? w.value : null,
|
|
180
|
+
slicer: e.value.style.chart.zoom.show && se.value,
|
|
181
|
+
source: y.value
|
|
181
182
|
});
|
|
182
|
-
|
|
183
|
+
u.value.width = t, u.value.height = a, be(H);
|
|
183
184
|
});
|
|
184
185
|
te(() => F.value, () => {
|
|
185
|
-
|
|
186
|
+
Te();
|
|
186
187
|
});
|
|
187
|
-
const
|
|
188
|
+
const Te = ut(() => {
|
|
188
189
|
H();
|
|
189
190
|
}, 10);
|
|
190
191
|
function q() {
|
|
191
|
-
F.value =
|
|
192
|
+
F.value = ve.value;
|
|
192
193
|
}
|
|
193
|
-
const D =
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
const D = n(null);
|
|
195
|
+
Ee(() => {
|
|
196
|
+
re(), q();
|
|
196
197
|
});
|
|
197
|
-
function
|
|
198
|
-
|
|
198
|
+
function re() {
|
|
199
|
+
Qe(s.dataset) ? ke({
|
|
199
200
|
componentName: "VueUiWordCloud",
|
|
200
201
|
type: "dataset"
|
|
201
|
-
}) :
|
|
202
|
-
|
|
202
|
+
}) : k.value.forEach((t, a) => {
|
|
203
|
+
Ze({
|
|
203
204
|
datasetObject: t,
|
|
204
205
|
requiredAttributes: ["name", "value"]
|
|
205
206
|
}).forEach((o) => {
|
|
206
|
-
T.value = !1,
|
|
207
|
+
T.value = !1, ke({
|
|
207
208
|
componentName: "VueUiWordCloud",
|
|
208
209
|
type: "datasetSerieAttribute",
|
|
209
210
|
property: o,
|
|
210
211
|
index: a
|
|
211
212
|
});
|
|
212
213
|
});
|
|
213
|
-
}), e.value.responsive && (D.value = new ResizeObserver(
|
|
214
|
+
}), e.value.responsive && (D.value = new ResizeObserver(xe), D.value.observe(g.value.parentNode));
|
|
214
215
|
}
|
|
215
|
-
|
|
216
|
+
Ue(() => {
|
|
216
217
|
D.value && D.value.disconnect();
|
|
217
218
|
});
|
|
218
|
-
const { isPrinting:
|
|
219
|
+
const { isPrinting: ue, isImaging: ie, generatePdf: ce, generateImage: de } = st({
|
|
219
220
|
elementId: `wordCloud_${O.value}`,
|
|
220
221
|
fileName: e.value.style.chart.title.text || "vue-ui-word-cloud"
|
|
221
|
-
}),
|
|
222
|
+
}), m = n({
|
|
222
223
|
showTable: e.value.table.show,
|
|
223
224
|
showTooltip: e.value.style.chart.tooltip.show
|
|
224
225
|
});
|
|
225
|
-
function
|
|
226
|
+
function Se(t, a, o = "Arial") {
|
|
226
227
|
const l = document.createElement("canvas").getContext("2d");
|
|
227
228
|
return l.font = `${a}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
|
|
228
229
|
width: l.measureText(t).width + e.value.style.chart.words.proximity,
|
|
229
230
|
height: a
|
|
230
231
|
};
|
|
231
232
|
}
|
|
232
|
-
function
|
|
233
|
+
function Fe(t, a) {
|
|
233
234
|
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;
|
|
234
235
|
}
|
|
235
|
-
function
|
|
236
|
-
const i = [], l = { x: -a / 2, y: -o / 2, width: a, height: o },
|
|
236
|
+
function _e(t, a, o) {
|
|
237
|
+
const i = [], l = { x: -a / 2, y: -o / 2, width: a, height: o }, f = 0, N = 0;
|
|
237
238
|
return t.forEach((P) => {
|
|
238
239
|
let Z = !1;
|
|
239
240
|
for (let L = 0; L < Math.max(a, o) / 2 && !Z; L += e.value.style.chart.words.packingWeight)
|
|
240
241
|
for (let ee = 0; ee < 360 && !Z; ee += e.value.style.chart.words.packingWeight) {
|
|
241
|
-
const
|
|
242
|
-
|
|
242
|
+
const pe = ee * Math.PI / 180, Ie = f + L * Math.cos(pe) - P.width / 2, Oe = N + L * Math.sin(pe) - P.height / 2, b = { ...P, x: Ie, y: Oe }, Me = b.x >= l.x && b.y >= l.y && b.x + b.width <= l.x + l.width && b.y + b.height <= l.y + l.height, We = i.some((Re) => Fe(b, Re));
|
|
243
|
+
Me && !We && (i.push(b), Z = !0);
|
|
243
244
|
}
|
|
244
245
|
}), i;
|
|
245
246
|
}
|
|
246
|
-
const W =
|
|
247
|
-
te(() =>
|
|
248
|
-
const
|
|
247
|
+
const W = n([]);
|
|
248
|
+
te(() => s.dataset, H, { immediate: !0 });
|
|
249
|
+
const ve = p(() => Math.min(...k.value.map((t) => t.value))), Ne = p(() => Math.max(...k.value.map((t) => t.value)));
|
|
249
250
|
function H() {
|
|
250
|
-
const t = [...
|
|
251
|
-
const N = (l.value - o) / (a - o) * (
|
|
251
|
+
const t = [...k.value].filter((l) => l.value >= F.value).map((l) => l.value), a = Math.max(...t), o = Math.min(...t), i = [...k.value].filter((l) => l.value >= F.value).map((l, f) => {
|
|
252
|
+
const N = (l.value - o) / (a - o) * (u.value.maxFontSize - u.value.minFontSize) + u.value.minFontSize, P = Se(l.name, N);
|
|
252
253
|
return {
|
|
253
254
|
...l,
|
|
254
|
-
id:
|
|
255
|
+
id: Ce(),
|
|
255
256
|
fontSize: N,
|
|
256
257
|
width: P.width,
|
|
257
258
|
height: P.height,
|
|
258
|
-
color: e.value.style.chart.words.usePalette ? e.value.customPalette[
|
|
259
|
+
color: e.value.style.chart.words.usePalette ? e.value.customPalette[f] || e.value.customPalette[f % e.value.customPalette.length] || X[f] || X[f % X.length] : e.value.style.chart.words.color
|
|
259
260
|
};
|
|
260
261
|
});
|
|
261
|
-
W.value =
|
|
262
|
+
W.value = _e(i, u.value.width, u.value.height).sort((l, f) => f.fontSize - l.fontSize);
|
|
262
263
|
}
|
|
263
264
|
const V = p(() => {
|
|
264
265
|
const t = W.value.map((o) => ({
|
|
@@ -267,20 +268,20 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
267
268
|
})), a = W.value.map((o) => o.value);
|
|
268
269
|
return { head: t, body: a };
|
|
269
270
|
});
|
|
270
|
-
function
|
|
271
|
-
|
|
271
|
+
function he() {
|
|
272
|
+
be(() => {
|
|
272
273
|
const t = V.value.head.map((i, l) => [[
|
|
273
274
|
i.name
|
|
274
|
-
], [V.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 =
|
|
275
|
-
|
|
275
|
+
], [V.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 = ot(a);
|
|
276
|
+
at({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
|
|
276
277
|
});
|
|
277
278
|
}
|
|
278
279
|
const E = p(() => {
|
|
279
280
|
const t = [
|
|
280
281
|
e.value.table.columnNames.series,
|
|
281
282
|
e.value.table.columnNames.value
|
|
282
|
-
], a = V.value.head.map((l,
|
|
283
|
-
const N =
|
|
283
|
+
], a = V.value.head.map((l, f) => {
|
|
284
|
+
const N = et({ p: e.value.table.td.prefix, v: V.value.body[f], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
|
|
284
285
|
return [
|
|
285
286
|
{
|
|
286
287
|
color: l.color,
|
|
@@ -310,38 +311,38 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
310
311
|
body: a,
|
|
311
312
|
config: o
|
|
312
313
|
};
|
|
313
|
-
}), U =
|
|
314
|
-
function
|
|
314
|
+
}), U = n(!1);
|
|
315
|
+
function Pe(t) {
|
|
315
316
|
U.value = t, M.value += 1;
|
|
316
317
|
}
|
|
317
|
-
function
|
|
318
|
+
function ze() {
|
|
318
319
|
return W.value;
|
|
319
320
|
}
|
|
320
|
-
function he() {
|
|
321
|
-
h.value.showTable = !h.value.showTable;
|
|
322
|
-
}
|
|
323
321
|
function me() {
|
|
324
|
-
|
|
322
|
+
m.value.showTable = !m.value.showTable;
|
|
323
|
+
}
|
|
324
|
+
function fe() {
|
|
325
|
+
m.value.showTooltip = !m.value.showTooltip;
|
|
325
326
|
}
|
|
326
|
-
const G =
|
|
327
|
+
const G = n(!1);
|
|
327
328
|
function J() {
|
|
328
329
|
G.value = !G.value;
|
|
329
330
|
}
|
|
330
331
|
B({
|
|
331
|
-
getData:
|
|
332
|
-
generateCsv:
|
|
333
|
-
generatePdf:
|
|
334
|
-
generateImage:
|
|
335
|
-
toggleTable:
|
|
336
|
-
toggleTooltip:
|
|
332
|
+
getData: ze,
|
|
333
|
+
generateCsv: he,
|
|
334
|
+
generatePdf: ce,
|
|
335
|
+
generateImage: de,
|
|
336
|
+
toggleTable: me,
|
|
337
|
+
toggleTooltip: fe,
|
|
337
338
|
toggleAnnotator: J
|
|
338
339
|
});
|
|
339
|
-
const _ =
|
|
340
|
-
function
|
|
341
|
-
if (!
|
|
340
|
+
const _ = n(null), R = n(!1), K = n(""), Q = n(null);
|
|
341
|
+
function Ae(t) {
|
|
342
|
+
if (!m.value.showTooltip) return;
|
|
342
343
|
_.value = t.id, Q.value = { datapoint: t, config: e.value };
|
|
343
344
|
const a = e.value.style.chart.tooltip.customFormat;
|
|
344
|
-
if (R.value = !1,
|
|
345
|
+
if (R.value = !1, lt(a))
|
|
345
346
|
try {
|
|
346
347
|
const o = a({
|
|
347
348
|
datapoint: t,
|
|
@@ -357,29 +358,29 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
357
358
|
}
|
|
358
359
|
Y.value = !0;
|
|
359
360
|
}
|
|
360
|
-
return (t, a) => (
|
|
361
|
+
return (t, a) => (r(), h("div", {
|
|
361
362
|
class: "vue-ui-word-cloud",
|
|
362
363
|
ref_key: "wordCloudChart",
|
|
363
364
|
ref: g,
|
|
364
365
|
id: `wordCloud_${O.value}`,
|
|
365
366
|
style: ae(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`)
|
|
366
367
|
}, [
|
|
367
|
-
e.value.userOptions.buttons.annotator ? (
|
|
368
|
+
e.value.userOptions.buttons.annotator ? (r(), z(pt, {
|
|
368
369
|
key: 0,
|
|
369
370
|
parent: g.value,
|
|
370
371
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
371
372
|
color: e.value.style.chart.color,
|
|
372
373
|
active: G.value,
|
|
373
374
|
onClose: J
|
|
374
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
375
|
-
e.value.style.chart.title.text ? (
|
|
375
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : C("", !0),
|
|
376
|
+
e.value.style.chart.title.text ? (r(), h("div", {
|
|
376
377
|
key: 1,
|
|
377
378
|
ref_key: "chartTitle",
|
|
378
|
-
ref:
|
|
379
|
+
ref: w,
|
|
379
380
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
380
381
|
}, [
|
|
381
|
-
(
|
|
382
|
-
key: `title_${
|
|
382
|
+
(r(), z(nt, {
|
|
383
|
+
key: `title_${S.value}`,
|
|
383
384
|
config: {
|
|
384
385
|
title: {
|
|
385
386
|
...e.value.style.chart.title
|
|
@@ -389,14 +390,14 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
389
390
|
}
|
|
390
391
|
}
|
|
391
392
|
}, null, 8, ["config"]))
|
|
392
|
-
], 512)) :
|
|
393
|
-
e.value.userOptions.show && T.value ? (
|
|
393
|
+
], 512)) : C("", !0),
|
|
394
|
+
e.value.userOptions.show && T.value ? (r(), z(rt, {
|
|
394
395
|
ref: "details",
|
|
395
396
|
key: `user_option_${M.value}`,
|
|
396
397
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
397
398
|
color: e.value.style.chart.color,
|
|
398
|
-
isPrinting: $(
|
|
399
|
-
isImaging: $(
|
|
399
|
+
isPrinting: $(ue),
|
|
400
|
+
isImaging: $(ie),
|
|
400
401
|
uid: O.value,
|
|
401
402
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
402
403
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -408,73 +409,73 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
408
409
|
chartElement: g.value,
|
|
409
410
|
position: e.value.userOptions.position,
|
|
410
411
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
411
|
-
isTooltip:
|
|
412
|
+
isTooltip: m.value.showTooltip,
|
|
412
413
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
413
414
|
isAnnotation: G.value,
|
|
414
|
-
onToggleFullscreen:
|
|
415
|
-
onGeneratePdf: $(
|
|
416
|
-
onGenerateCsv:
|
|
417
|
-
onGenerateImage: $(
|
|
418
|
-
onToggleTable:
|
|
419
|
-
onToggleTooltip:
|
|
415
|
+
onToggleFullscreen: Pe,
|
|
416
|
+
onGeneratePdf: $(ce),
|
|
417
|
+
onGenerateCsv: he,
|
|
418
|
+
onGenerateImage: $(de),
|
|
419
|
+
onToggleTable: me,
|
|
420
|
+
onToggleTooltip: fe,
|
|
420
421
|
onToggleAnnotator: J
|
|
421
|
-
},
|
|
422
|
+
}, Ge({ _: 2 }, [
|
|
422
423
|
t.$slots.optionPdf ? {
|
|
423
424
|
name: "optionPdf",
|
|
424
|
-
fn:
|
|
425
|
-
|
|
425
|
+
fn: v(() => [
|
|
426
|
+
d(t.$slots, "optionPdf", {}, void 0, !0)
|
|
426
427
|
]),
|
|
427
428
|
key: "0"
|
|
428
429
|
} : void 0,
|
|
429
430
|
t.$slots.optionCsv ? {
|
|
430
431
|
name: "optionCsv",
|
|
431
|
-
fn:
|
|
432
|
-
|
|
432
|
+
fn: v(() => [
|
|
433
|
+
d(t.$slots, "optionCsv", {}, void 0, !0)
|
|
433
434
|
]),
|
|
434
435
|
key: "1"
|
|
435
436
|
} : void 0,
|
|
436
437
|
t.$slots.optionImg ? {
|
|
437
438
|
name: "optionImg",
|
|
438
|
-
fn:
|
|
439
|
-
|
|
439
|
+
fn: v(() => [
|
|
440
|
+
d(t.$slots, "optionImg", {}, void 0, !0)
|
|
440
441
|
]),
|
|
441
442
|
key: "2"
|
|
442
443
|
} : void 0,
|
|
443
444
|
t.$slots.optionTable ? {
|
|
444
445
|
name: "optionTable",
|
|
445
|
-
fn:
|
|
446
|
-
|
|
446
|
+
fn: v(() => [
|
|
447
|
+
d(t.$slots, "optionTable", {}, void 0, !0)
|
|
447
448
|
]),
|
|
448
449
|
key: "3"
|
|
449
450
|
} : void 0,
|
|
450
451
|
t.$slots.optionFullscreen ? {
|
|
451
452
|
name: "optionFullscreen",
|
|
452
|
-
fn:
|
|
453
|
-
|
|
453
|
+
fn: v(({ toggleFullscreen: o, isFullscreen: i }) => [
|
|
454
|
+
d(t.$slots, "optionFullscreen", A(I({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
|
|
454
455
|
]),
|
|
455
456
|
key: "4"
|
|
456
457
|
} : void 0,
|
|
457
458
|
t.$slots.optionAnnotator ? {
|
|
458
459
|
name: "optionAnnotator",
|
|
459
|
-
fn:
|
|
460
|
-
|
|
460
|
+
fn: v(({ toggleAnnotator: o, isAnnotator: i }) => [
|
|
461
|
+
d(t.$slots, "optionAnnotator", A(I({ toggleAnnotator: o, isAnnotator: i })), void 0, !0)
|
|
461
462
|
]),
|
|
462
463
|
key: "5"
|
|
463
464
|
} : void 0
|
|
464
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
465
|
-
T.value ? (
|
|
465
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : C("", !0),
|
|
466
|
+
T.value ? (r(), h("svg", {
|
|
466
467
|
key: 3,
|
|
467
|
-
class:
|
|
468
|
-
xmlns: $(
|
|
469
|
-
viewBox: `0 0 ${
|
|
468
|
+
class: ge({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
|
|
469
|
+
xmlns: $(tt),
|
|
470
|
+
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
470
471
|
style: "overflow:visible;background:transparent;"
|
|
471
472
|
}, [
|
|
472
|
-
oe(
|
|
473
|
+
oe(mt),
|
|
473
474
|
x("g", {
|
|
474
|
-
transform: `translate(${(
|
|
475
|
+
transform: `translate(${(u.value.width <= 0 ? 10 : u.value.width) / 2}, ${(u.value.height <= 0 ? 10 : u.value.height) / 2})`
|
|
475
476
|
}, [
|
|
476
|
-
(
|
|
477
|
-
(
|
|
477
|
+
(r(!0), h(Le, null, Xe(W.value, (o, i) => (r(), h("g", null, [
|
|
478
|
+
(r(), h("text", {
|
|
478
479
|
fill: o.color,
|
|
479
480
|
"font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
|
|
480
481
|
key: i,
|
|
@@ -482,26 +483,26 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
482
483
|
y: o.y,
|
|
483
484
|
"font-size": o.fontSize,
|
|
484
485
|
transform: `translate(${o.width / 2}, ${o.height / 2})`,
|
|
485
|
-
class:
|
|
486
|
+
class: ge({ animated: e.value.useCssAnimation, "word-selected": _.value && _.value === o.id && m.value.showTooltip, "word-not-selected": _.value && _.value !== o.id && m.value.showTooltip }),
|
|
486
487
|
"text-anchor": "middle",
|
|
487
488
|
"dominant-baseline": "middle",
|
|
488
|
-
onMouseover: (l) =>
|
|
489
|
+
onMouseover: (l) => Ae(o),
|
|
489
490
|
onMouseleave: a[0] || (a[0] = (l) => {
|
|
490
491
|
_.value = null, Y.value = !1;
|
|
491
492
|
}),
|
|
492
493
|
style: ae(`animation-delay:${i * e.value.animationDelayMs}ms !important;`)
|
|
493
|
-
},
|
|
494
|
+
}, ye(o.name), 47, Nt))
|
|
494
495
|
]))), 256))
|
|
495
|
-
], 8,
|
|
496
|
-
|
|
497
|
-
svg: { height:
|
|
496
|
+
], 8, _t),
|
|
497
|
+
d(t.$slots, "svg", {
|
|
498
|
+
svg: { height: u.value.height, width: u.value.width }
|
|
498
499
|
}, void 0, !0)
|
|
499
|
-
], 10,
|
|
500
|
-
t.$slots.watermark ? (
|
|
501
|
-
|
|
502
|
-
])) :
|
|
503
|
-
oe(
|
|
504
|
-
show:
|
|
500
|
+
], 10, Ft)) : C("", !0),
|
|
501
|
+
t.$slots.watermark ? (r(), h("div", Pt, [
|
|
502
|
+
d(t.$slots, "watermark", A(I({ isPrinting: $(ue) || $(ie) })), void 0, !0)
|
|
503
|
+
])) : C("", !0),
|
|
504
|
+
oe(ft, {
|
|
505
|
+
show: m.value.showTooltip && Y.value,
|
|
505
506
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
506
507
|
color: e.value.style.chart.tooltip.color,
|
|
507
508
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -515,26 +516,26 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
515
516
|
content: K.value,
|
|
516
517
|
isCustom: R.value
|
|
517
518
|
}, {
|
|
518
|
-
"tooltip-before":
|
|
519
|
-
|
|
519
|
+
"tooltip-before": v(() => [
|
|
520
|
+
d(t.$slots, "tooltip-before", A(I({ ...Q.value })), void 0, !0)
|
|
520
521
|
]),
|
|
521
|
-
"tooltip-after":
|
|
522
|
-
|
|
522
|
+
"tooltip-after": v(() => [
|
|
523
|
+
d(t.$slots, "tooltip-after", A(I({ ...Q.value })), void 0, !0)
|
|
523
524
|
]),
|
|
524
525
|
_: 3
|
|
525
526
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
526
527
|
x("div", {
|
|
527
528
|
ref_key: "chartSlicer",
|
|
528
|
-
ref:
|
|
529
|
+
ref: se,
|
|
529
530
|
style: "width:100%;background:transparent",
|
|
530
531
|
"data-html2canvas-ignore": ""
|
|
531
532
|
}, [
|
|
532
|
-
e.value.style.chart.zoom.show ? (
|
|
533
|
+
e.value.style.chart.zoom.show ? (r(), z(Tt, {
|
|
533
534
|
key: 0,
|
|
534
535
|
value: F.value,
|
|
535
536
|
"onUpdate:value": a[1] || (a[1] = (o) => F.value = o),
|
|
536
|
-
min:
|
|
537
|
-
max:
|
|
537
|
+
min: ve.value,
|
|
538
|
+
max: Ne.value,
|
|
538
539
|
textColor: e.value.style.chart.color,
|
|
539
540
|
inputColor: e.value.style.chart.zoom.color,
|
|
540
541
|
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
@@ -544,17 +545,25 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
544
545
|
source: e.value.style.chart.width,
|
|
545
546
|
onReset: q
|
|
546
547
|
}, {
|
|
547
|
-
"reset-action":
|
|
548
|
-
|
|
548
|
+
"reset-action": v(({ reset: o }) => [
|
|
549
|
+
d(t.$slots, "reset-action", A(I({ reset: o })), void 0, !0)
|
|
549
550
|
]),
|
|
550
551
|
_: 3
|
|
551
|
-
}, 8, ["value", "min", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) :
|
|
552
|
+
}, 8, ["value", "min", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) : C("", !0)
|
|
552
553
|
], 512),
|
|
553
|
-
|
|
554
|
+
t.$slots.source ? (r(), h("div", {
|
|
554
555
|
key: 5,
|
|
556
|
+
ref_key: "source",
|
|
557
|
+
ref: y,
|
|
558
|
+
dir: "auto"
|
|
559
|
+
}, [
|
|
560
|
+
d(t.$slots, "source", {}, void 0, !0)
|
|
561
|
+
], 512)) : C("", !0),
|
|
562
|
+
T.value ? (r(), z(dt, {
|
|
563
|
+
key: 6,
|
|
555
564
|
hideDetails: "",
|
|
556
565
|
config: {
|
|
557
|
-
open:
|
|
566
|
+
open: m.value.showTable,
|
|
558
567
|
maxHeight: 1e4,
|
|
559
568
|
body: {
|
|
560
569
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -566,33 +575,33 @@ const pt = (c) => (Be("data-v-3fd7d274"), c = c(), De(), c), gt = { "data-html2c
|
|
|
566
575
|
}
|
|
567
576
|
}
|
|
568
577
|
}, {
|
|
569
|
-
content:
|
|
570
|
-
(
|
|
571
|
-
key: `table_${
|
|
578
|
+
content: v(() => [
|
|
579
|
+
(r(), z(vt, {
|
|
580
|
+
key: `table_${le.value}`,
|
|
572
581
|
colNames: E.value.colNames,
|
|
573
582
|
head: E.value.head,
|
|
574
583
|
body: E.value.body,
|
|
575
584
|
config: E.value.config,
|
|
576
585
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
577
|
-
onClose: a[2] || (a[2] = (o) =>
|
|
586
|
+
onClose: a[2] || (a[2] = (o) => m.value.showTable = !1)
|
|
578
587
|
}, {
|
|
579
|
-
th:
|
|
588
|
+
th: v(({ th: o }) => [
|
|
580
589
|
x("div", {
|
|
581
590
|
innerHTML: o,
|
|
582
591
|
style: { display: "flex", "align-items": "center" }
|
|
583
|
-
}, null, 8,
|
|
592
|
+
}, null, 8, zt)
|
|
584
593
|
]),
|
|
585
|
-
td:
|
|
586
|
-
|
|
594
|
+
td: v(({ td: o }) => [
|
|
595
|
+
je(ye(o.name || o), 1)
|
|
587
596
|
]),
|
|
588
597
|
_: 1
|
|
589
598
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
590
599
|
]),
|
|
591
600
|
_: 1
|
|
592
|
-
}, 8, ["config"])) :
|
|
593
|
-
], 12,
|
|
601
|
+
}, 8, ["config"])) : C("", !0)
|
|
602
|
+
], 12, St));
|
|
594
603
|
}
|
|
595
|
-
},
|
|
604
|
+
}, jt = /* @__PURE__ */ $e(At, [["__scopeId", "data-v-045e07b5"]]);
|
|
596
605
|
export {
|
|
597
|
-
|
|
606
|
+
jt as default
|
|
598
607
|
};
|