vue-data-ui 2.4.50 → 2.4.51
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 +12 -0
- package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
- package/dist/index-DhDYBLBe.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.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-DUgumRsg.cjs +19 -0
- package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
- package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
- package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
- package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
- package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
- package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
- package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
- package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
- package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
- package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
- package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
- package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
- package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
- package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
- package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
- package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
- package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
|
@@ -1,23 +1,24 @@
|
|
|
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
|
-
|
|
1
|
+
import { useCssVars as De, computed as g, openBlock as r, createElementBlock as m, createVNode as ae, renderSlot as v, createElementVNode as x, normalizeStyle as j, pushScopeId as Ee, popScopeId as Ge, ref as s, watch as oe, onMounted as Le, onBeforeUnmount as Xe, unref as d, createBlock as A, createCommentVNode as k, createSlots as je, withCtx as h, normalizeProps as _, guardReactiveProps as O, normalizeClass as Ce, Fragment as Ye, renderList as qe, toDisplayString as ke, createTextVNode as He, nextTick as we } from "vue";
|
|
2
|
+
import { u as Je, a1 as Ke, v as Qe, c as $e, t as Ze, a as et, p as X, o as tt, e as xe, g as ot, f as at, X as lt, q as st, r as nt, x as rt } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { _ as ut } from "./Title-aSAft5dl.js";
|
|
4
|
+
import { u as it, U as ct } from "./usePrinter-DaybDVqP.js";
|
|
5
|
+
import { d as dt, t as vt, u as ht } from "./useResponsive-CoxXLe23.js";
|
|
6
|
+
import mt from "./vue-ui-accordion-5d5iVpr7.js";
|
|
7
|
+
import { D as ft } from "./DataTable-DGf6RrOJ.js";
|
|
8
|
+
import pt from "./BaseIcon-CmiukQBl.js";
|
|
9
|
+
import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
import { u as Se } from "./useNestedProp-BN8claGG.js";
|
|
11
|
+
import { _ as gt } from "./PackageVersion-CxJghxYD.js";
|
|
12
|
+
import { _ as yt } from "./Tooltip-smutPF--.js";
|
|
13
|
+
import { P as bt } from "./PenAndPaper-ZdZEumki.js";
|
|
14
|
+
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2canvas-ignore": "" }, $t = {
|
|
15
16
|
key: 0,
|
|
16
17
|
class: "reset-wrapper"
|
|
17
|
-
},
|
|
18
|
+
}, xt = {
|
|
18
19
|
key: 1,
|
|
19
20
|
class: "reset-wrapper"
|
|
20
|
-
},
|
|
21
|
+
}, St = { class: "mono-slicer" }, Tt = /* @__PURE__ */ kt(() => /* @__PURE__ */ x("div", { class: "slider-track" }, null, -1)), Ft = ["min", "max", "value"], Nt = {
|
|
21
22
|
__name: "MonoSlicer",
|
|
22
23
|
props: {
|
|
23
24
|
min: {
|
|
@@ -62,33 +63,33 @@ const gt = (c) => (De("data-v-3fd7d274"), c = c(), Ve(), c), yt = { "data-html2c
|
|
|
62
63
|
}
|
|
63
64
|
},
|
|
64
65
|
emits: ["update:value", "reset"],
|
|
65
|
-
setup(c, { emit:
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
"90ad3208":
|
|
69
|
-
"4f9eef70":
|
|
70
|
-
"6e07ae3e":
|
|
66
|
+
setup(c, { emit: U }) {
|
|
67
|
+
const n = c;
|
|
68
|
+
De(($) => ({
|
|
69
|
+
"90ad3208": Y.value,
|
|
70
|
+
"4f9eef70": I.value,
|
|
71
|
+
"6e07ae3e": w.value,
|
|
71
72
|
"2fd430a0": c.selectColor,
|
|
72
|
-
"6b8169a4":
|
|
73
|
+
"6b8169a4": S.value
|
|
73
74
|
}));
|
|
74
|
-
const
|
|
75
|
+
const Y = g(() => n.inputColor), S = g(() => n.background), w = g(() => `${n.selectColor}33`), I = g(() => n.borderColor);
|
|
75
76
|
function M() {
|
|
76
|
-
|
|
77
|
+
U("reset");
|
|
77
78
|
}
|
|
78
|
-
const
|
|
79
|
-
const
|
|
79
|
+
const y = g(() => {
|
|
80
|
+
const $ = n.max - n.min, b = 0, T = (n.value - n.min) / $ * 100;
|
|
80
81
|
return {
|
|
81
|
-
left: `${
|
|
82
|
-
width: `${
|
|
83
|
-
background:
|
|
82
|
+
left: `${b}%`,
|
|
83
|
+
width: `${T - b}%`,
|
|
84
|
+
background: n.selectColor
|
|
84
85
|
};
|
|
85
86
|
});
|
|
86
|
-
return (
|
|
87
|
-
c.value !== c.source ? (r(),
|
|
88
|
-
c.useResetSlot ?
|
|
87
|
+
return ($, b) => (r(), m("div", wt, [
|
|
88
|
+
c.value !== c.source ? (r(), m("div", $t, [
|
|
89
|
+
c.useResetSlot ? v($.$slots, "reset-action", {
|
|
89
90
|
key: 1,
|
|
90
91
|
reset: M
|
|
91
|
-
}, void 0, !0) : (r(),
|
|
92
|
+
}, void 0, !0) : (r(), m("button", {
|
|
92
93
|
key: 0,
|
|
93
94
|
"data-cy-reset": "",
|
|
94
95
|
tabindex: "0",
|
|
@@ -96,32 +97,32 @@ const gt = (c) => (De("data-v-3fd7d274"), c = c(), Ve(), c), yt = { "data-html2c
|
|
|
96
97
|
class: "vue-data-ui-refresh-button",
|
|
97
98
|
onClick: M
|
|
98
99
|
}, [
|
|
99
|
-
|
|
100
|
+
ae(pt, {
|
|
100
101
|
name: "refresh",
|
|
101
102
|
stroke: c.textColor
|
|
102
103
|
}, null, 8, ["stroke"])
|
|
103
104
|
]))
|
|
104
|
-
])) : (r(),
|
|
105
|
-
x("div",
|
|
106
|
-
|
|
105
|
+
])) : (r(), m("div", xt)),
|
|
106
|
+
x("div", St, [
|
|
107
|
+
Tt,
|
|
107
108
|
x("div", {
|
|
108
109
|
class: "range-highlight",
|
|
109
|
-
style:
|
|
110
|
+
style: j(y.value)
|
|
110
111
|
}, null, 4),
|
|
111
112
|
x("input", {
|
|
112
113
|
type: "range",
|
|
113
114
|
min: c.min,
|
|
114
115
|
max: c.max,
|
|
115
116
|
value: Number(c.value),
|
|
116
|
-
onInput:
|
|
117
|
-
}, null, 40,
|
|
117
|
+
onInput: b[0] || (b[0] = (T) => U("update:value", Number(T.target.value)))
|
|
118
|
+
}, null, 40, Ft)
|
|
118
119
|
])
|
|
119
120
|
]));
|
|
120
121
|
}
|
|
121
|
-
},
|
|
122
|
+
}, Pt = /* @__PURE__ */ Te(Nt, [["__scopeId", "data-v-3fd7d274"]]), zt = ["id"], At = ["xmlns", "viewBox"], _t = ["transform"], Ot = ["fill", "font-weight", "x", "y", "font-size", "transform", "onMouseover"], It = {
|
|
122
123
|
key: 4,
|
|
123
124
|
class: "vue-data-ui-watermark"
|
|
124
|
-
},
|
|
125
|
+
}, Mt = ["innerHTML"], Wt = {
|
|
125
126
|
__name: "vue-ui-word-cloud",
|
|
126
127
|
props: {
|
|
127
128
|
config: {
|
|
@@ -137,157 +138,157 @@ const gt = (c) => (De("data-v-3fd7d274"), c = c(), Ve(), c), yt = { "data-html2c
|
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
},
|
|
140
|
-
setup(c, { expose:
|
|
141
|
-
const
|
|
141
|
+
setup(c, { expose: U }) {
|
|
142
|
+
const n = c, { vue_ui_word_cloud: Y } = Je(), S = g({
|
|
142
143
|
get() {
|
|
143
|
-
return !!
|
|
144
|
+
return !!n.dataset && n.dataset.length;
|
|
144
145
|
},
|
|
145
146
|
set(t) {
|
|
146
147
|
return t;
|
|
147
148
|
}
|
|
148
|
-
}),
|
|
149
|
+
}), w = s(typeof n.dataset == "string" ? Ke(n.dataset) : n.dataset.map((t) => ({
|
|
149
150
|
...t,
|
|
150
|
-
value:
|
|
151
|
-
}))),
|
|
152
|
-
get: () =>
|
|
151
|
+
value: Qe(t.value)
|
|
152
|
+
}))), I = s($e()), M = s(0), y = s(null), $ = s(null), b = s(null), T = s(0), le = s(0), q = s(!1), e = g({
|
|
153
|
+
get: () => ue(),
|
|
153
154
|
set: (t) => t
|
|
154
|
-
});
|
|
155
|
-
function
|
|
156
|
-
const t =
|
|
157
|
-
userConfig:
|
|
158
|
-
defaultConfig:
|
|
155
|
+
}), { userOptionsVisible: se, setUserOptionsVisibility: ne, keepUserOptionState: re } = Ct({ config: e.value });
|
|
156
|
+
function ue() {
|
|
157
|
+
const t = Se({
|
|
158
|
+
userConfig: n.config,
|
|
159
|
+
defaultConfig: Y
|
|
159
160
|
});
|
|
160
161
|
return t.theme ? {
|
|
161
|
-
...
|
|
162
|
-
userConfig:
|
|
162
|
+
...Se({
|
|
163
|
+
userConfig: Ze.vue_ui_word_cloud[t.theme] || n.config,
|
|
163
164
|
defaultConfig: t
|
|
164
165
|
}),
|
|
165
|
-
customPalette:
|
|
166
|
+
customPalette: et[t.theme] || X
|
|
166
167
|
} : t;
|
|
167
168
|
}
|
|
168
|
-
|
|
169
|
-
e.value =
|
|
169
|
+
oe(() => n.config, (t) => {
|
|
170
|
+
e.value = ue(), ce(), T.value += 1, le.value += 1, H();
|
|
170
171
|
}, { deep: !0 });
|
|
171
|
-
const
|
|
172
|
+
const ie = s(null), F = s(0), u = s({
|
|
172
173
|
width: e.value.style.chart.width,
|
|
173
174
|
height: e.value.style.chart.height,
|
|
174
175
|
maxFontSize: e.value.style.chart.words.maxFontSize,
|
|
175
176
|
minFontSize: e.value.style.chart.words.minFontSize
|
|
176
|
-
}),
|
|
177
|
-
const { width: t, height: a } =
|
|
178
|
-
chart:
|
|
179
|
-
title: e.value.style.chart.title.text ?
|
|
180
|
-
slicer: e.value.style.chart.zoom.show &&
|
|
181
|
-
source:
|
|
177
|
+
}), Fe = vt(() => {
|
|
178
|
+
const { width: t, height: a } = ht({
|
|
179
|
+
chart: y.value,
|
|
180
|
+
title: e.value.style.chart.title.text ? $.value : null,
|
|
181
|
+
slicer: e.value.style.chart.zoom.show && ie.value,
|
|
182
|
+
source: b.value
|
|
182
183
|
});
|
|
183
|
-
u.value.width = t, u.value.height = a,
|
|
184
|
+
u.value.width = t, u.value.height = a, we(J);
|
|
184
185
|
});
|
|
185
|
-
|
|
186
|
-
|
|
186
|
+
oe(() => F.value, () => {
|
|
187
|
+
Ne();
|
|
187
188
|
});
|
|
188
|
-
const
|
|
189
|
-
|
|
189
|
+
const Ne = dt(() => {
|
|
190
|
+
J();
|
|
190
191
|
}, 10);
|
|
191
|
-
function
|
|
192
|
-
F.value =
|
|
192
|
+
function H() {
|
|
193
|
+
F.value = fe.value;
|
|
193
194
|
}
|
|
194
|
-
const
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
const V = s(null);
|
|
196
|
+
Le(() => {
|
|
197
|
+
ce(), H();
|
|
197
198
|
});
|
|
198
|
-
function
|
|
199
|
-
|
|
199
|
+
function ce() {
|
|
200
|
+
tt(n.dataset) ? xe({
|
|
200
201
|
componentName: "VueUiWordCloud",
|
|
201
202
|
type: "dataset"
|
|
202
|
-
}) :
|
|
203
|
-
|
|
203
|
+
}) : w.value.forEach((t, a) => {
|
|
204
|
+
ot({
|
|
204
205
|
datasetObject: t,
|
|
205
206
|
requiredAttributes: ["name", "value"]
|
|
206
207
|
}).forEach((o) => {
|
|
207
|
-
|
|
208
|
+
S.value = !1, xe({
|
|
208
209
|
componentName: "VueUiWordCloud",
|
|
209
210
|
type: "datasetSerieAttribute",
|
|
210
211
|
property: o,
|
|
211
212
|
index: a
|
|
212
213
|
});
|
|
213
214
|
});
|
|
214
|
-
}), e.value.responsive && (
|
|
215
|
+
}), e.value.responsive && (V.value = new ResizeObserver(Fe), V.value.observe(y.value.parentNode));
|
|
215
216
|
}
|
|
216
|
-
|
|
217
|
-
|
|
217
|
+
Xe(() => {
|
|
218
|
+
V.value && V.value.disconnect();
|
|
218
219
|
});
|
|
219
|
-
const { isPrinting:
|
|
220
|
-
elementId: `wordCloud_${
|
|
220
|
+
const { isPrinting: de, isImaging: ve, generatePdf: he, generateImage: me } = it({
|
|
221
|
+
elementId: `wordCloud_${I.value}`,
|
|
221
222
|
fileName: e.value.style.chart.title.text || "vue-ui-word-cloud"
|
|
222
|
-
}),
|
|
223
|
+
}), f = s({
|
|
223
224
|
showTable: e.value.table.show,
|
|
224
225
|
showTooltip: e.value.style.chart.tooltip.show
|
|
225
226
|
});
|
|
226
|
-
function
|
|
227
|
+
function Pe(t, a, o = "Arial") {
|
|
227
228
|
const l = document.createElement("canvas").getContext("2d");
|
|
228
229
|
return l.font = `${a}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
|
|
229
230
|
width: l.measureText(t).width + e.value.style.chart.words.proximity,
|
|
230
231
|
height: a
|
|
231
232
|
};
|
|
232
233
|
}
|
|
233
|
-
function
|
|
234
|
+
function ze(t, a) {
|
|
234
235
|
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;
|
|
235
236
|
}
|
|
236
|
-
function
|
|
237
|
-
const i = [], l = { x: -a / 2, y: -o / 2, width: a, height: o },
|
|
238
|
-
return t.forEach((
|
|
239
|
-
let
|
|
240
|
-
for (let L = 0; L < Math.max(a, o) / 2 && !
|
|
241
|
-
for (let
|
|
242
|
-
const
|
|
243
|
-
|
|
237
|
+
function Ae(t, a, o) {
|
|
238
|
+
const i = [], l = { x: -a / 2, y: -o / 2, width: a, height: o }, p = 0, P = 0;
|
|
239
|
+
return t.forEach((z) => {
|
|
240
|
+
let ee = !1;
|
|
241
|
+
for (let L = 0; L < Math.max(a, o) / 2 && !ee; L += e.value.style.chart.words.packingWeight)
|
|
242
|
+
for (let te = 0; te < 360 && !ee; te += e.value.style.chart.words.packingWeight) {
|
|
243
|
+
const be = te * Math.PI / 180, We = p + L * Math.cos(be) - z.width / 2, Re = P + L * Math.sin(be) - z.height / 2, C = { ...z, x: We, y: Re }, Ue = C.x >= l.x && C.y >= l.y && C.x + C.width <= l.x + l.width && C.y + C.height <= l.y + l.height, Ve = i.some((Be) => ze(C, Be));
|
|
244
|
+
Ue && !Ve && (i.push(C), ee = !0);
|
|
244
245
|
}
|
|
245
246
|
}), i;
|
|
246
247
|
}
|
|
247
|
-
const W =
|
|
248
|
-
|
|
249
|
-
const
|
|
250
|
-
function
|
|
251
|
-
const t = [...
|
|
252
|
-
const
|
|
248
|
+
const W = s([]);
|
|
249
|
+
oe(() => n.dataset, J, { immediate: !0 });
|
|
250
|
+
const fe = g(() => Math.min(...w.value.map((t) => t.value))), _e = g(() => Math.max(...w.value.map((t) => t.value)));
|
|
251
|
+
function J() {
|
|
252
|
+
const t = [...w.value].filter((l) => l.value >= F.value).map((l) => l.value), a = Math.max(...t), o = Math.min(...t), i = [...w.value].filter((l) => l.value >= F.value).map((l, p) => {
|
|
253
|
+
const P = (l.value - o) / (a - o) * (u.value.maxFontSize - u.value.minFontSize) + u.value.minFontSize, z = Pe(l.name, P);
|
|
253
254
|
return {
|
|
254
255
|
...l,
|
|
255
|
-
id:
|
|
256
|
-
fontSize:
|
|
257
|
-
width:
|
|
258
|
-
height:
|
|
259
|
-
color: e.value.style.chart.words.usePalette ? e.value.customPalette[
|
|
256
|
+
id: $e(),
|
|
257
|
+
fontSize: P,
|
|
258
|
+
width: z.width,
|
|
259
|
+
height: z.height,
|
|
260
|
+
color: e.value.style.chart.words.usePalette ? e.value.customPalette[p] || e.value.customPalette[p % e.value.customPalette.length] || X[p] || X[p % X.length] : e.value.style.chart.words.color
|
|
260
261
|
};
|
|
261
262
|
});
|
|
262
|
-
W.value =
|
|
263
|
+
W.value = Ae(i, u.value.width, u.value.height).sort((l, p) => p.fontSize - l.fontSize);
|
|
263
264
|
}
|
|
264
|
-
const
|
|
265
|
+
const B = g(() => {
|
|
265
266
|
const t = W.value.map((o) => ({
|
|
266
267
|
name: o.name,
|
|
267
268
|
color: o.color
|
|
268
269
|
})), a = W.value.map((o) => o.value);
|
|
269
270
|
return { head: t, body: a };
|
|
270
271
|
});
|
|
271
|
-
function
|
|
272
|
-
|
|
273
|
-
const t =
|
|
272
|
+
function pe() {
|
|
273
|
+
we(() => {
|
|
274
|
+
const t = B.value.head.map((i, l) => [[
|
|
274
275
|
i.name
|
|
275
|
-
], [
|
|
276
|
-
|
|
276
|
+
], [B.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);
|
|
277
|
+
nt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
|
|
277
278
|
});
|
|
278
279
|
}
|
|
279
|
-
const
|
|
280
|
+
const D = g(() => {
|
|
280
281
|
const t = [
|
|
281
282
|
e.value.table.columnNames.series,
|
|
282
283
|
e.value.table.columnNames.value
|
|
283
|
-
], a =
|
|
284
|
-
const
|
|
284
|
+
], a = B.value.head.map((l, p) => {
|
|
285
|
+
const P = at({ p: e.value.table.td.prefix, v: B.value.body[p], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
|
|
285
286
|
return [
|
|
286
287
|
{
|
|
287
288
|
color: l.color,
|
|
288
289
|
name: l.name
|
|
289
290
|
},
|
|
290
|
-
|
|
291
|
+
P
|
|
291
292
|
];
|
|
292
293
|
}), o = {
|
|
293
294
|
th: {
|
|
@@ -311,76 +312,78 @@ const gt = (c) => (De("data-v-3fd7d274"), c = c(), Ve(), c), yt = { "data-html2c
|
|
|
311
312
|
body: a,
|
|
312
313
|
config: o
|
|
313
314
|
};
|
|
314
|
-
}),
|
|
315
|
-
function
|
|
316
|
-
|
|
315
|
+
}), E = s(!1);
|
|
316
|
+
function Oe(t) {
|
|
317
|
+
E.value = t, M.value += 1;
|
|
317
318
|
}
|
|
318
|
-
function
|
|
319
|
+
function Ie() {
|
|
319
320
|
return W.value;
|
|
320
321
|
}
|
|
321
|
-
function
|
|
322
|
-
|
|
322
|
+
function ge() {
|
|
323
|
+
f.value.showTable = !f.value.showTable;
|
|
323
324
|
}
|
|
324
|
-
function
|
|
325
|
-
|
|
325
|
+
function ye() {
|
|
326
|
+
f.value.showTooltip = !f.value.showTooltip;
|
|
326
327
|
}
|
|
327
|
-
const G =
|
|
328
|
-
function
|
|
328
|
+
const G = s(!1);
|
|
329
|
+
function K() {
|
|
329
330
|
G.value = !G.value;
|
|
330
331
|
}
|
|
331
|
-
|
|
332
|
-
getData:
|
|
333
|
-
generateCsv:
|
|
334
|
-
generatePdf:
|
|
335
|
-
generateImage:
|
|
336
|
-
toggleTable:
|
|
337
|
-
toggleTooltip:
|
|
338
|
-
toggleAnnotator:
|
|
332
|
+
U({
|
|
333
|
+
getData: Ie,
|
|
334
|
+
generateCsv: pe,
|
|
335
|
+
generatePdf: he,
|
|
336
|
+
generateImage: me,
|
|
337
|
+
toggleTable: ge,
|
|
338
|
+
toggleTooltip: ye,
|
|
339
|
+
toggleAnnotator: K
|
|
339
340
|
});
|
|
340
|
-
const
|
|
341
|
-
function
|
|
342
|
-
if (!
|
|
343
|
-
|
|
341
|
+
const N = s(null), R = s(!1), Q = s(""), Z = s(null);
|
|
342
|
+
function Me(t) {
|
|
343
|
+
if (!f.value.showTooltip) return;
|
|
344
|
+
N.value = t.id, Z.value = { datapoint: t, config: e.value };
|
|
344
345
|
const a = e.value.style.chart.tooltip.customFormat;
|
|
345
|
-
if (R.value = !1,
|
|
346
|
+
if (R.value = !1, rt(a))
|
|
346
347
|
try {
|
|
347
348
|
const o = a({
|
|
348
349
|
datapoint: t,
|
|
349
350
|
config: e.value
|
|
350
351
|
});
|
|
351
|
-
typeof o == "string" && (
|
|
352
|
+
typeof o == "string" && (Q.value = o, R.value = !0);
|
|
352
353
|
} catch {
|
|
353
354
|
console.warn("Custom format cannot be applied."), R.value = !1;
|
|
354
355
|
}
|
|
355
356
|
if (!R.value) {
|
|
356
357
|
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>`;
|
|
357
|
-
|
|
358
|
+
Q.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${o}</div>`;
|
|
358
359
|
}
|
|
359
|
-
|
|
360
|
+
q.value = !0;
|
|
360
361
|
}
|
|
361
|
-
return (t, a) => (r(),
|
|
362
|
+
return (t, a) => (r(), m("div", {
|
|
362
363
|
class: "vue-ui-word-cloud",
|
|
363
364
|
ref_key: "wordCloudChart",
|
|
364
|
-
ref:
|
|
365
|
-
id: `wordCloud_${
|
|
366
|
-
style:
|
|
365
|
+
ref: y,
|
|
366
|
+
id: `wordCloud_${I.value}`,
|
|
367
|
+
style: j(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
368
|
+
onMouseenter: a[3] || (a[3] = () => d(ne)(!0)),
|
|
369
|
+
onMouseleave: a[4] || (a[4] = () => d(ne)(!1))
|
|
367
370
|
}, [
|
|
368
|
-
e.value.userOptions.buttons.annotator ? (r(),
|
|
371
|
+
e.value.userOptions.buttons.annotator ? (r(), A(bt, {
|
|
369
372
|
key: 0,
|
|
370
|
-
parent:
|
|
373
|
+
parent: y.value,
|
|
371
374
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
372
375
|
color: e.value.style.chart.color,
|
|
373
376
|
active: G.value,
|
|
374
|
-
onClose:
|
|
375
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
376
|
-
e.value.style.chart.title.text ? (r(),
|
|
377
|
+
onClose: K
|
|
378
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : k("", !0),
|
|
379
|
+
e.value.style.chart.title.text ? (r(), m("div", {
|
|
377
380
|
key: 1,
|
|
378
381
|
ref_key: "chartTitle",
|
|
379
|
-
ref:
|
|
382
|
+
ref: $,
|
|
380
383
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
381
384
|
}, [
|
|
382
|
-
(r(),
|
|
383
|
-
key: `title_${
|
|
385
|
+
(r(), A(ut, {
|
|
386
|
+
key: `title_${T.value}`,
|
|
384
387
|
config: {
|
|
385
388
|
title: {
|
|
386
389
|
...e.value.style.chart.title
|
|
@@ -390,92 +393,95 @@ const gt = (c) => (De("data-v-3fd7d274"), c = c(), Ve(), c), yt = { "data-html2c
|
|
|
390
393
|
}
|
|
391
394
|
}
|
|
392
395
|
}, null, 8, ["config"]))
|
|
393
|
-
], 512)) :
|
|
394
|
-
e.value.userOptions.show &&
|
|
396
|
+
], 512)) : k("", !0),
|
|
397
|
+
e.value.userOptions.show && S.value && (d(re) || d(se)) ? (r(), A(ct, {
|
|
395
398
|
ref: "details",
|
|
396
399
|
key: `user_option_${M.value}`,
|
|
397
400
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
398
401
|
color: e.value.style.chart.color,
|
|
399
|
-
isPrinting:
|
|
400
|
-
isImaging:
|
|
401
|
-
uid:
|
|
402
|
+
isPrinting: d(de),
|
|
403
|
+
isImaging: d(ve),
|
|
404
|
+
uid: I.value,
|
|
402
405
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
403
406
|
hasXls: e.value.userOptions.buttons.csv,
|
|
404
407
|
hasImg: e.value.userOptions.buttons.img,
|
|
405
408
|
hasTable: e.value.userOptions.buttons.table,
|
|
406
409
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
407
|
-
isFullscreen:
|
|
410
|
+
isFullscreen: E.value,
|
|
408
411
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
409
|
-
chartElement:
|
|
412
|
+
chartElement: y.value,
|
|
410
413
|
position: e.value.userOptions.position,
|
|
411
414
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
412
|
-
isTooltip:
|
|
415
|
+
isTooltip: f.value.showTooltip,
|
|
413
416
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
414
417
|
isAnnotation: G.value,
|
|
415
|
-
onToggleFullscreen:
|
|
416
|
-
onGeneratePdf:
|
|
417
|
-
onGenerateCsv:
|
|
418
|
-
onGenerateImage:
|
|
419
|
-
onToggleTable:
|
|
420
|
-
onToggleTooltip:
|
|
421
|
-
onToggleAnnotator:
|
|
422
|
-
|
|
418
|
+
onToggleFullscreen: Oe,
|
|
419
|
+
onGeneratePdf: d(he),
|
|
420
|
+
onGenerateCsv: pe,
|
|
421
|
+
onGenerateImage: d(me),
|
|
422
|
+
onToggleTable: ge,
|
|
423
|
+
onToggleTooltip: ye,
|
|
424
|
+
onToggleAnnotator: K,
|
|
425
|
+
style: j({
|
|
426
|
+
visibility: d(re) ? d(se) ? "visible" : "hidden" : "visible"
|
|
427
|
+
})
|
|
428
|
+
}, je({ _: 2 }, [
|
|
423
429
|
t.$slots.optionPdf ? {
|
|
424
430
|
name: "optionPdf",
|
|
425
|
-
fn:
|
|
426
|
-
|
|
431
|
+
fn: h(() => [
|
|
432
|
+
v(t.$slots, "optionPdf", {}, void 0, !0)
|
|
427
433
|
]),
|
|
428
434
|
key: "0"
|
|
429
435
|
} : void 0,
|
|
430
436
|
t.$slots.optionCsv ? {
|
|
431
437
|
name: "optionCsv",
|
|
432
|
-
fn:
|
|
433
|
-
|
|
438
|
+
fn: h(() => [
|
|
439
|
+
v(t.$slots, "optionCsv", {}, void 0, !0)
|
|
434
440
|
]),
|
|
435
441
|
key: "1"
|
|
436
442
|
} : void 0,
|
|
437
443
|
t.$slots.optionImg ? {
|
|
438
444
|
name: "optionImg",
|
|
439
|
-
fn:
|
|
440
|
-
|
|
445
|
+
fn: h(() => [
|
|
446
|
+
v(t.$slots, "optionImg", {}, void 0, !0)
|
|
441
447
|
]),
|
|
442
448
|
key: "2"
|
|
443
449
|
} : void 0,
|
|
444
450
|
t.$slots.optionTable ? {
|
|
445
451
|
name: "optionTable",
|
|
446
|
-
fn:
|
|
447
|
-
|
|
452
|
+
fn: h(() => [
|
|
453
|
+
v(t.$slots, "optionTable", {}, void 0, !0)
|
|
448
454
|
]),
|
|
449
455
|
key: "3"
|
|
450
456
|
} : void 0,
|
|
451
457
|
t.$slots.optionFullscreen ? {
|
|
452
458
|
name: "optionFullscreen",
|
|
453
|
-
fn:
|
|
454
|
-
|
|
459
|
+
fn: h(({ toggleFullscreen: o, isFullscreen: i }) => [
|
|
460
|
+
v(t.$slots, "optionFullscreen", _(O({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
|
|
455
461
|
]),
|
|
456
462
|
key: "4"
|
|
457
463
|
} : void 0,
|
|
458
464
|
t.$slots.optionAnnotator ? {
|
|
459
465
|
name: "optionAnnotator",
|
|
460
|
-
fn:
|
|
461
|
-
|
|
466
|
+
fn: h(({ toggleAnnotator: o, isAnnotator: i }) => [
|
|
467
|
+
v(t.$slots, "optionAnnotator", _(O({ toggleAnnotator: o, isAnnotator: i })), void 0, !0)
|
|
462
468
|
]),
|
|
463
469
|
key: "5"
|
|
464
470
|
} : void 0
|
|
465
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
466
|
-
|
|
471
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : k("", !0),
|
|
472
|
+
S.value ? (r(), m("svg", {
|
|
467
473
|
key: 3,
|
|
468
|
-
class:
|
|
469
|
-
xmlns:
|
|
474
|
+
class: Ce({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
475
|
+
xmlns: d(lt),
|
|
470
476
|
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
471
477
|
style: "overflow:visible;background:transparent;"
|
|
472
478
|
}, [
|
|
473
|
-
|
|
479
|
+
ae(gt),
|
|
474
480
|
x("g", {
|
|
475
481
|
transform: `translate(${(u.value.width <= 0 ? 10 : u.value.width) / 2}, ${(u.value.height <= 0 ? 10 : u.value.height) / 2})`
|
|
476
482
|
}, [
|
|
477
|
-
(r(!0),
|
|
478
|
-
(r(),
|
|
483
|
+
(r(!0), m(Ye, null, qe(W.value, (o, i) => (r(), m("g", null, [
|
|
484
|
+
(r(), m("text", {
|
|
479
485
|
fill: o.color,
|
|
480
486
|
"font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
|
|
481
487
|
key: i,
|
|
@@ -483,26 +489,26 @@ const gt = (c) => (De("data-v-3fd7d274"), c = c(), Ve(), c), yt = { "data-html2c
|
|
|
483
489
|
y: o.y,
|
|
484
490
|
"font-size": o.fontSize,
|
|
485
491
|
transform: `translate(${o.width / 2}, ${o.height / 2})`,
|
|
486
|
-
class:
|
|
492
|
+
class: Ce({ animated: e.value.useCssAnimation, "word-selected": N.value && N.value === o.id && f.value.showTooltip, "word-not-selected": N.value && N.value !== o.id && f.value.showTooltip }),
|
|
487
493
|
"text-anchor": "middle",
|
|
488
494
|
"dominant-baseline": "central",
|
|
489
|
-
onMouseover: (l) =>
|
|
495
|
+
onMouseover: (l) => Me(o),
|
|
490
496
|
onMouseleave: a[0] || (a[0] = (l) => {
|
|
491
|
-
|
|
497
|
+
N.value = null, q.value = !1;
|
|
492
498
|
}),
|
|
493
|
-
style:
|
|
494
|
-
},
|
|
499
|
+
style: j(`animation-delay:${i * e.value.animationDelayMs}ms !important;`)
|
|
500
|
+
}, ke(o.name), 47, Ot))
|
|
495
501
|
]))), 256))
|
|
496
502
|
], 8, _t),
|
|
497
|
-
|
|
503
|
+
v(t.$slots, "svg", {
|
|
498
504
|
svg: { height: u.value.height, width: u.value.width }
|
|
499
505
|
}, void 0, !0)
|
|
500
|
-
], 10,
|
|
501
|
-
t.$slots.watermark ? (r(),
|
|
502
|
-
|
|
503
|
-
])) :
|
|
504
|
-
|
|
505
|
-
show:
|
|
506
|
+
], 10, At)) : k("", !0),
|
|
507
|
+
t.$slots.watermark ? (r(), m("div", It, [
|
|
508
|
+
v(t.$slots, "watermark", _(O({ isPrinting: d(de) || d(ve) })), void 0, !0)
|
|
509
|
+
])) : k("", !0),
|
|
510
|
+
ae(yt, {
|
|
511
|
+
show: f.value.showTooltip && q.value,
|
|
506
512
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
507
513
|
color: e.value.style.chart.tooltip.color,
|
|
508
514
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -512,30 +518,30 @@ const gt = (c) => (De("data-v-3fd7d274"), c = c(), Ve(), c), yt = { "data-html2c
|
|
|
512
518
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
513
519
|
position: e.value.style.chart.tooltip.position,
|
|
514
520
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
515
|
-
parent:
|
|
516
|
-
content:
|
|
521
|
+
parent: y.value,
|
|
522
|
+
content: Q.value,
|
|
517
523
|
isCustom: R.value
|
|
518
524
|
}, {
|
|
519
|
-
"tooltip-before":
|
|
520
|
-
|
|
525
|
+
"tooltip-before": h(() => [
|
|
526
|
+
v(t.$slots, "tooltip-before", _(O({ ...Z.value })), void 0, !0)
|
|
521
527
|
]),
|
|
522
|
-
"tooltip-after":
|
|
523
|
-
|
|
528
|
+
"tooltip-after": h(() => [
|
|
529
|
+
v(t.$slots, "tooltip-after", _(O({ ...Z.value })), void 0, !0)
|
|
524
530
|
]),
|
|
525
531
|
_: 3
|
|
526
532
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
527
533
|
x("div", {
|
|
528
534
|
ref_key: "chartSlicer",
|
|
529
|
-
ref:
|
|
535
|
+
ref: ie,
|
|
530
536
|
style: "width:100%;background:transparent",
|
|
531
537
|
"data-html2canvas-ignore": ""
|
|
532
538
|
}, [
|
|
533
|
-
e.value.style.chart.zoom.show ? (r(),
|
|
539
|
+
e.value.style.chart.zoom.show ? (r(), A(Pt, {
|
|
534
540
|
key: 0,
|
|
535
541
|
value: F.value,
|
|
536
542
|
"onUpdate:value": a[1] || (a[1] = (o) => F.value = o),
|
|
537
|
-
min:
|
|
538
|
-
max:
|
|
543
|
+
min: fe.value,
|
|
544
|
+
max: _e.value,
|
|
539
545
|
textColor: e.value.style.chart.color,
|
|
540
546
|
inputColor: e.value.style.chart.zoom.color,
|
|
541
547
|
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
@@ -543,27 +549,27 @@ const gt = (c) => (De("data-v-3fd7d274"), c = c(), Ve(), c), yt = { "data-html2c
|
|
|
543
549
|
background: e.value.style.chart.zoom.color,
|
|
544
550
|
borderColor: e.value.style.chart.backgroundColor,
|
|
545
551
|
source: e.value.style.chart.width,
|
|
546
|
-
onReset:
|
|
552
|
+
onReset: H
|
|
547
553
|
}, {
|
|
548
|
-
"reset-action":
|
|
549
|
-
|
|
554
|
+
"reset-action": h(({ reset: o }) => [
|
|
555
|
+
v(t.$slots, "reset-action", _(O({ reset: o })), void 0, !0)
|
|
550
556
|
]),
|
|
551
557
|
_: 3
|
|
552
|
-
}, 8, ["value", "min", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) :
|
|
558
|
+
}, 8, ["value", "min", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) : k("", !0)
|
|
553
559
|
], 512),
|
|
554
|
-
t.$slots.source ? (r(),
|
|
560
|
+
t.$slots.source ? (r(), m("div", {
|
|
555
561
|
key: 5,
|
|
556
562
|
ref_key: "source",
|
|
557
|
-
ref:
|
|
563
|
+
ref: b,
|
|
558
564
|
dir: "auto"
|
|
559
565
|
}, [
|
|
560
|
-
|
|
561
|
-
], 512)) :
|
|
562
|
-
|
|
566
|
+
v(t.$slots, "source", {}, void 0, !0)
|
|
567
|
+
], 512)) : k("", !0),
|
|
568
|
+
S.value ? (r(), A(mt, {
|
|
563
569
|
key: 6,
|
|
564
570
|
hideDetails: "",
|
|
565
571
|
config: {
|
|
566
|
-
open:
|
|
572
|
+
open: f.value.showTable,
|
|
567
573
|
maxHeight: 1e4,
|
|
568
574
|
body: {
|
|
569
575
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -575,33 +581,33 @@ const gt = (c) => (De("data-v-3fd7d274"), c = c(), Ve(), c), yt = { "data-html2c
|
|
|
575
581
|
}
|
|
576
582
|
}
|
|
577
583
|
}, {
|
|
578
|
-
content:
|
|
579
|
-
(r(),
|
|
584
|
+
content: h(() => [
|
|
585
|
+
(r(), A(ft, {
|
|
580
586
|
key: `table_${le.value}`,
|
|
581
|
-
colNames:
|
|
582
|
-
head:
|
|
583
|
-
body:
|
|
584
|
-
config:
|
|
587
|
+
colNames: D.value.colNames,
|
|
588
|
+
head: D.value.head,
|
|
589
|
+
body: D.value.body,
|
|
590
|
+
config: D.value.config,
|
|
585
591
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
586
|
-
onClose: a[2] || (a[2] = (o) =>
|
|
592
|
+
onClose: a[2] || (a[2] = (o) => f.value.showTable = !1)
|
|
587
593
|
}, {
|
|
588
|
-
th:
|
|
594
|
+
th: h(({ th: o }) => [
|
|
589
595
|
x("div", {
|
|
590
596
|
innerHTML: o,
|
|
591
597
|
style: { display: "flex", "align-items": "center" }
|
|
592
|
-
}, null, 8,
|
|
598
|
+
}, null, 8, Mt)
|
|
593
599
|
]),
|
|
594
|
-
td:
|
|
595
|
-
|
|
600
|
+
td: h(({ td: o }) => [
|
|
601
|
+
He(ke(o.name || o), 1)
|
|
596
602
|
]),
|
|
597
603
|
_: 1
|
|
598
604
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
599
605
|
]),
|
|
600
606
|
_: 1
|
|
601
|
-
}, 8, ["config"])) :
|
|
602
|
-
],
|
|
607
|
+
}, 8, ["config"])) : k("", !0)
|
|
608
|
+
], 44, zt));
|
|
603
609
|
}
|
|
604
|
-
},
|
|
610
|
+
}, Kt = /* @__PURE__ */ Te(Wt, [["__scopeId", "data-v-7360374b"]]);
|
|
605
611
|
export {
|
|
606
|
-
|
|
612
|
+
Kt as default
|
|
607
613
|
};
|