vue-data-ui 2.3.92 → 2.3.94
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-CdJD01md.cjs → Arrow-Dqk-HgBj.cjs} +1 -1
- package/dist/{Arrow-16rQhq4i.js → Arrow-FQNwuQt_.js} +1 -1
- package/dist/{BaseIcon-CAmYNoaf.js → BaseIcon-CcOdzI48.js} +1 -1
- package/dist/{BaseIcon-dYWMubrH.cjs → BaseIcon-DhAyJ2rW.cjs} +1 -1
- package/dist/{DataTable-BXnbua0J.js → DataTable-D1vDu_2B.js} +2 -2
- package/dist/{DataTable-oa0Srfuc.cjs → DataTable-kOScyzFF.cjs} +1 -1
- package/dist/{Legend-Dhm9_peB.cjs → Legend-BJdr5n-o.cjs} +1 -1
- package/dist/{Legend-Cr1hulgT.js → Legend-CZk6McMv.js} +1 -1
- package/dist/{PackageVersion-BVZfgDqm.js → PackageVersion-DDKechCD.js} +1 -1
- package/dist/{PackageVersion-BkgJVmj1.cjs → PackageVersion-Tm6EPIDH.cjs} +1 -1
- package/dist/{Shape-hGbEoQOv.cjs → Shape-CHWOgbhq.cjs} +1 -1
- package/dist/{Shape-D75m5xWM.js → Shape-CY3Tsyaq.js} +1 -1
- package/dist/{Slicer-B7ya0m2Q.cjs → Slicer-C0R4JA2q.cjs} +1 -1
- package/dist/{Slicer-Bx8AozB8.js → Slicer-DBVND1TR.js} +15 -15
- package/dist/{Title-1Sw6EmHy.js → Title-B6kWQmNb.js} +1 -1
- package/dist/{Title-Bjrh7khe.cjs → Title-DAEaaXFr.cjs} +1 -1
- package/dist/{Tooltip-CPATjuur.cjs → Tooltip-Cb9jWppv.cjs} +1 -1
- package/dist/{Tooltip-EJf3VBPR.js → Tooltip-Cwp4dS4t.js} +1 -1
- package/dist/{index-DhJby8wL.js → index-Bu852AzK.js} +725 -705
- package/dist/index-jAZxyteD.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useNestedProp-CrHvyupb.js → useNestedProp-1sCLAHuR.js} +1 -1
- package/dist/{useNestedProp-Bwd7mK1Z.cjs → useNestedProp-DksYpyh6.cjs} +1 -1
- package/dist/{usePrinter-Bwm8J3RQ.js → usePrinter-CaNEdNUc.js} +1 -1
- package/dist/{usePrinter-DdsPm5a4.cjs → usePrinter-Cx-xmAjb.cjs} +1 -1
- package/dist/{vue-data-ui-CLxne31S.js → vue-data-ui-DRT0INR_.js} +57 -57
- package/dist/{vue-data-ui-ZitCqVgG.cjs → vue-data-ui-DVWQuwQb.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +5 -5
- package/dist/{vue-ui-3d-bar-Dg87_AAm.js → vue-ui-3d-bar-CwTmIafL.js} +8 -8
- package/dist/{vue-ui-3d-bar-DAv5cYGJ.cjs → vue-ui-3d-bar-fPokAY4t.cjs} +1 -1
- package/dist/{vue-ui-accordion-Cn5Jbplg.js → vue-ui-accordion-CBwmD_zS.js} +3 -3
- package/dist/{vue-ui-accordion-BAHX7KzB.cjs → vue-ui-accordion-WXKee19V.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-PlamQWqC.js → vue-ui-age-pyramid-BuJ384HP.js} +9 -9
- package/dist/{vue-ui-age-pyramid-GzHwQzsH.cjs → vue-ui-age-pyramid-CSlbHHIq.cjs} +1 -1
- package/dist/{vue-ui-annotator-Dd5KF_cy.js → vue-ui-annotator-CQQfgcyq.js} +1 -1
- package/dist/{vue-ui-annotator-DGgQwl-K.cjs → vue-ui-annotator-DqCVD1IT.cjs} +1 -1
- package/dist/{vue-ui-candlestick-BIEB2J1w.cjs → vue-ui-candlestick-2uxcI-Xb.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DTzwPhV5.js → vue-ui-candlestick-O0pBnymd.js} +10 -10
- package/dist/{vue-ui-carousel-table-YEfvPESA.js → vue-ui-carousel-table-CpaHwBTF.js} +4 -4
- package/dist/{vue-ui-carousel-table-HNTf5AYY.cjs → vue-ui-carousel-table-DJelccvO.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DzjdAYsT.cjs → vue-ui-chestnut-DoS0ZkSz.cjs} +1 -1
- package/dist/{vue-ui-chestnut-PzMOM7mp.js → vue-ui-chestnut-bP29gPF2.js} +7 -7
- package/dist/{vue-ui-cursor-DWea2yXV.js → vue-ui-cursor-BXsEO1jQ.js} +2 -2
- package/dist/{vue-ui-cursor-C5rsiCdn.cjs → vue-ui-cursor-DvrLmTy2.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BqXhoS8m.cjs → vue-ui-dashboard-CtAtCuEu.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CVespiTo.js → vue-ui-dashboard-VQiRxgUe.js} +2 -2
- package/dist/{vue-ui-digits-gNKgZqYU.js → vue-ui-digits-2h-uYg5M.js} +2 -2
- package/dist/{vue-ui-digits-wmDN7Vkf.cjs → vue-ui-digits-DxwUUK2a.cjs} +1 -1
- package/dist/vue-ui-donut-CVkNiaR7.js +999 -0
- package/dist/vue-ui-donut-ClCDBTXq.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DhDxLZ1J.cjs → vue-ui-donut-evolution-CVy-DhHk.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-Ch6HH0ja.js → vue-ui-donut-evolution-D0HDE6fN.js} +53 -53
- package/dist/{vue-ui-dumbbell-B9Z_pjnG.cjs → vue-ui-dumbbell-CblIThyd.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-lFlZX8Yi.js → vue-ui-dumbbell-DIVxIXgO.js} +9 -9
- package/dist/{vue-ui-flow-CSIOC-JR.js → vue-ui-flow-Cy5HKKbs.js} +20 -20
- package/dist/{vue-ui-flow-BaFpUJg-.cjs → vue-ui-flow-Dbw0yzSb.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DL2mnel_.js → vue-ui-galaxy-CBR86BVE.js} +23 -23
- package/dist/{vue-ui-galaxy-BIR5GxIc.cjs → vue-ui-galaxy-Z5-e5hHG.cjs} +1 -1
- package/dist/{vue-ui-gauge-BMq7KT3t.js → vue-ui-gauge-BwC9HPyF.js} +19 -19
- package/dist/{vue-ui-gauge-r_qvpwE7.cjs → vue-ui-gauge-DAgx6nds.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DBas_Sw_.cjs → vue-ui-gizmo-5FygVg05.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Dj7zvNI1.js → vue-ui-gizmo-D6U5riWt.js} +3 -3
- package/dist/{vue-ui-heatmap-pqBYIrxm.js → vue-ui-heatmap-PVlvCw_B.js} +9 -9
- package/dist/{vue-ui-heatmap-qPgEhAzc.cjs → vue-ui-heatmap-XVVbgtw6.cjs} +1 -1
- package/dist/{vue-ui-kpi-Cmo9J7wp.cjs → vue-ui-kpi-2eoTT0Hv.cjs} +1 -1
- package/dist/{vue-ui-kpi-ZPBinMiF.js → vue-ui-kpi-DiG34MXd.js} +3 -3
- package/dist/{vue-ui-mini-loader-DOTWhLi9.js → vue-ui-mini-loader-CVOfsZ-d.js} +2 -2
- package/dist/{vue-ui-mini-loader-Ce-jbgMT.cjs → vue-ui-mini-loader-DpoTiQhx.cjs} +1 -1
- package/dist/{vue-ui-molecule-RDpgNrHQ.js → vue-ui-molecule-85QzZoSm.js} +29 -29
- package/dist/{vue-ui-molecule-D429iwPP.cjs → vue-ui-molecule-Mt0YXGcP.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CdLJxrkT.cjs → vue-ui-mood-radar-B3xF0_xt.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CD5L8WCU.js → vue-ui-mood-radar-Ds21V6oP.js} +21 -21
- package/dist/{vue-ui-nested-donuts-A-tid5cQ.js → vue-ui-nested-donuts-BrMouz8T.js} +46 -46
- package/dist/{vue-ui-nested-donuts-DyM3uc7x.cjs → vue-ui-nested-donuts-DFrY4v-O.cjs} +1 -1
- package/dist/{vue-ui-onion-BKql8oal.cjs → vue-ui-onion-CQu0-ZlV.cjs} +1 -1
- package/dist/{vue-ui-onion-Cap01Ehu.js → vue-ui-onion-ZWa0bPAG.js} +10 -10
- package/dist/{vue-ui-parallel-coordinate-plot-B0zMgtnq.cjs → vue-ui-parallel-coordinate-plot-Cet-vJ3E.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CcDKe4L0.js → vue-ui-parallel-coordinate-plot-SpCkXomG.js} +11 -11
- package/dist/{vue-ui-quadrant-CZzdpeQ2.cjs → vue-ui-quadrant-B1fnSqPf.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BDEfAeyJ.js → vue-ui-quadrant-DwxUTnpH.js} +11 -11
- package/dist/{vue-ui-quick-chart-DlAUYg5u.js → vue-ui-quick-chart-DDSDdZMZ.js} +8 -8
- package/dist/{vue-ui-quick-chart-DpGYUyhq.cjs → vue-ui-quick-chart-DSOONkrO.cjs} +1 -1
- package/dist/{vue-ui-radar-oBeaHlpT.cjs → vue-ui-radar-CQJzxB9Y.cjs} +1 -1
- package/dist/{vue-ui-radar-CbTln7gs.js → vue-ui-radar-Cc4hxNkF.js} +11 -11
- package/dist/{vue-ui-rating-BkDncqow.js → vue-ui-rating-CRs01ao2.js} +7 -7
- package/dist/{vue-ui-rating-BU7-F3_e.cjs → vue-ui-rating-DRLfSg4n.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-IWiJWgcB.cjs → vue-ui-relation-circle-BZcoHhTb.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-C5B6UNGd.js → vue-ui-relation-circle-mlXpg86O.js} +6 -6
- package/dist/{vue-ui-rings-BujVUJ90.js → vue-ui-rings-DHlbwWrt.js} +37 -37
- package/dist/{vue-ui-rings-Df2cRgD8.cjs → vue-ui-rings-OeMdVo_s.cjs} +1 -1
- package/dist/{vue-ui-scatter-jFTeM2hW.cjs → vue-ui-scatter-D65sxQAb.cjs} +1 -1
- package/dist/{vue-ui-scatter-D6yqZJ7s.js → vue-ui-scatter-DtX5NOb_.js} +34 -34
- package/dist/{vue-ui-screenshot-CVu8IM33.cjs → vue-ui-screenshot-B1pv3wKU.cjs} +1 -1
- package/dist/{vue-ui-screenshot-CHAySwpv.js → vue-ui-screenshot-BwgdW92q.js} +1 -1
- package/dist/{vue-ui-skeleton-ASX40MGk.js → vue-ui-skeleton-B-obKEDg.js} +49 -49
- package/dist/{vue-ui-skeleton-CAlTn_Cg.cjs → vue-ui-skeleton-C14g9G-o.cjs} +1 -1
- package/dist/{vue-ui-smiley-dwCqhB0r.cjs → vue-ui-smiley-CHY-BKbe.cjs} +1 -1
- package/dist/{vue-ui-smiley-DGVzhza2.js → vue-ui-smiley-i8xqKjND.js} +2 -2
- package/dist/{vue-ui-spark-trend-B7XhDvTj.js → vue-ui-spark-trend-DzZsfML2.js} +20 -20
- package/dist/{vue-ui-spark-trend-A1EHFK_r.cjs → vue-ui-spark-trend-i3VmY_gx.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BuNcvi66.js → vue-ui-sparkbar-7rOXvOgH.js} +4 -4
- package/dist/{vue-ui-sparkbar-CwNjHOjD.cjs → vue-ui-sparkbar-BnYKNJWQ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-ISu154lS.cjs → vue-ui-sparkgauge-BuOMrzYW.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-JY2kB9WX.js → vue-ui-sparkgauge-DnphjNVE.js} +11 -11
- package/dist/{vue-ui-sparkhistogram-C8zyC-ii.cjs → vue-ui-sparkhistogram-DZaNR3tu.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DyEPWxkP.js → vue-ui-sparkhistogram-DvLl4E_s.js} +5 -5
- package/dist/{vue-ui-sparkline-DL3Thtc4.cjs → vue-ui-sparkline-BpmqNCQy.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DYC3sdvQ.js → vue-ui-sparkline-CPjnG7wg.js} +21 -21
- package/dist/{vue-ui-sparkstackbar-7TmtP3WR.js → vue-ui-sparkstackbar-BGgNBuJz.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-ChIM9bn2.cjs → vue-ui-sparkstackbar-CJ17fiW5.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DrtiSaNc.cjs → vue-ui-stackbar-CFoe4XwZ.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CP5C6Gb_.js → vue-ui-stackbar-SFKe9f6_.js} +11 -11
- package/dist/{vue-ui-strip-plot-BMYMIHGu.cjs → vue-ui-strip-plot-B8utOfmZ.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DJQCq_KE.js → vue-ui-strip-plot-CGgheJ1-.js} +10 -10
- package/dist/{vue-ui-table-D6hvgMif.cjs → vue-ui-table-BpSsgihB.cjs} +1 -1
- package/dist/{vue-ui-table-IJi0xaVg.js → vue-ui-table-JOi6x-Kt.js} +10 -10
- package/dist/{vue-ui-table-heatmap-Ls8_xq0D.js → vue-ui-table-heatmap-EeR8_0fs.js} +23 -23
- package/dist/{vue-ui-table-heatmap-BZNKXZNs.cjs → vue-ui-table-heatmap-fNf5Hgfn.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BeuvdssX.js → vue-ui-table-sparkline-of9ZervK.js} +15 -15
- package/dist/{vue-ui-table-sparkline-BQFK30H1.cjs → vue-ui-table-sparkline-yjChfsNj.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DKm8SXlE.cjs → vue-ui-thermometer-Ct59Zrkd.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DPWIvG92.js → vue-ui-thermometer-Hb5jQa3y.js} +6 -6
- package/dist/{vue-ui-timer-CEzDvZf7.js → vue-ui-timer-Duo6PjNq.js} +5 -5
- package/dist/{vue-ui-timer-n6lv7oTx.cjs → vue-ui-timer-nIKem40S.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-B33mHXZN.cjs → vue-ui-tiremarks-D5vYyYcq.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BUGoY22W.js → vue-ui-tiremarks-rxEA2WzL.js} +6 -6
- package/dist/{vue-ui-treemap-DPxBZUUr.cjs → vue-ui-treemap-DK5klTWq.cjs} +1 -1
- package/dist/{vue-ui-treemap-DmOYjJ_F.js → vue-ui-treemap-DWDrLYPR.js} +10 -10
- package/dist/{vue-ui-vertical-bar-BpVKdSY5.js → vue-ui-vertical-bar-3TzyIQBn.js} +10 -10
- package/dist/{vue-ui-vertical-bar-BJMYX8t4.cjs → vue-ui-vertical-bar-CCOjOr9t.cjs} +1 -1
- package/dist/{vue-ui-waffle-ULg6SwPx.js → vue-ui-waffle-CUiQJf4B.js} +23 -23
- package/dist/{vue-ui-waffle-DGcueccy.cjs → vue-ui-waffle-CzbWP2YI.cjs} +1 -1
- package/dist/{vue-ui-wheel-CWKq-CFW.cjs → vue-ui-wheel-BgLqSlSe.cjs} +1 -1
- package/dist/{vue-ui-wheel-DlmgZd-_.js → vue-ui-wheel-DJe1aYWh.js} +6 -6
- package/dist/vue-ui-word-cloud-CS4EPwJc.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DWyboczt.js → vue-ui-word-cloud-ouNY0ixo.js} +75 -75
- package/dist/{vue-ui-xy-Cz81fw_E.cjs → vue-ui-xy-DkHIDMtO.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-B9cRe5gT.js → vue-ui-xy-canvas-CGG7Levw.js} +34 -34
- package/dist/{vue-ui-xy-canvas-GiuHOyj5.cjs → vue-ui-xy-canvas-iMF1sItL.cjs} +1 -1
- package/dist/{vue-ui-xy-V13Ns1gv.js → vue-ui-xy-iQJGfaFk.js} +28 -28
- package/package.json +1 -1
- package/dist/index-D09qCApg.cjs +0 -4
- package/dist/vue-ui-donut-n37BZPxr.cjs +0 -1
- package/dist/vue-ui-donut-sQunZI1L.js +0 -871
- package/dist/vue-ui-word-cloud-BhHWdmqP.cjs +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { useCssVars as Ae, computed as p, openBlock as u, createElementBlock as f, createVNode as
|
|
2
|
-
import { u as Le,
|
|
3
|
-
import { _ as ot } from "./Title-
|
|
4
|
-
import { u as at, U as lt } from "./usePrinter-
|
|
1
|
+
import { useCssVars as Ae, computed as p, openBlock as u, createElementBlock as f, createVNode as ee, renderSlot as m, createElementVNode as $, normalizeStyle as te, pushScopeId as We, popScopeId as Re, ref as n, watch as Q, onMounted as Be, onBeforeUnmount as De, createBlock as A, createCommentVNode as z, unref as k, createSlots as Ve, withCtx as h, normalizeProps as W, guardReactiveProps as R, normalizeClass as me, Fragment as Ee, renderList as Ue, toDisplayString as fe, createTextVNode as Ge, nextTick as pe } from "vue";
|
|
2
|
+
import { u as Le, Z as Xe, v as je, c as ge, t as Ye, a as qe, p as L, o as He, e as ye, g as Ze, f as Je, X as Ke, q as Qe, r as et, x as tt } from "./index-Bu852AzK.js";
|
|
3
|
+
import { _ as ot } from "./Title-B6kWQmNb.js";
|
|
4
|
+
import { u as at, U as lt } from "./usePrinter-CaNEdNUc.js";
|
|
5
5
|
import { d as st, t as nt, u as rt } from "./useResponsive-NZB-WLRF.js";
|
|
6
|
-
import ut from "./vue-ui-accordion-
|
|
7
|
-
import { D as it } from "./DataTable-
|
|
8
|
-
import ct from "./BaseIcon-
|
|
6
|
+
import ut from "./vue-ui-accordion-CBwmD_zS.js";
|
|
7
|
+
import { D as it } from "./DataTable-D1vDu_2B.js";
|
|
8
|
+
import ct from "./BaseIcon-CcOdzI48.js";
|
|
9
9
|
import { _ as Ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { u as be } from "./useNestedProp-
|
|
11
|
-
import { _ as dt } from "./PackageVersion-
|
|
12
|
-
import { _ as vt } from "./Tooltip-
|
|
10
|
+
import { u as be } from "./useNestedProp-1sCLAHuR.js";
|
|
11
|
+
import { _ as dt } from "./PackageVersion-DDKechCD.js";
|
|
12
|
+
import { _ as vt } from "./Tooltip-Cwp4dS4t.js";
|
|
13
13
|
const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2canvas-ignore": "" }, ft = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "reset-wrapper"
|
|
16
16
|
}, pt = {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: "reset-wrapper"
|
|
19
|
-
}, gt = { class: "mono-slicer" }, yt = /* @__PURE__ */ ht(() => /* @__PURE__ */
|
|
19
|
+
}, gt = { class: "mono-slicer" }, yt = /* @__PURE__ */ ht(() => /* @__PURE__ */ $("div", { class: "slider-track" }, null, -1)), bt = ["min", "max", "value"], Ct = {
|
|
20
20
|
__name: "MonoSlicer",
|
|
21
21
|
props: {
|
|
22
22
|
min: {
|
|
@@ -68,17 +68,17 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
68
68
|
"4f9eef70": P.value,
|
|
69
69
|
"6e07ae3e": b.value,
|
|
70
70
|
"2fd430a0": i.selectColor,
|
|
71
|
-
"6b8169a4":
|
|
71
|
+
"6b8169a4": x.value
|
|
72
72
|
}));
|
|
73
|
-
const X = p(() => s.inputColor),
|
|
73
|
+
const X = p(() => s.inputColor), x = p(() => s.background), b = p(() => `${s.selectColor}33`), P = p(() => s.borderColor);
|
|
74
74
|
function I() {
|
|
75
75
|
B("reset");
|
|
76
76
|
}
|
|
77
77
|
const C = p(() => {
|
|
78
|
-
const w = s.max - s.min, g = 0,
|
|
78
|
+
const w = s.max - s.min, g = 0, S = (s.value - s.min) / w * 100;
|
|
79
79
|
return {
|
|
80
80
|
left: `${g}%`,
|
|
81
|
-
width: `${
|
|
81
|
+
width: `${S - g}%`,
|
|
82
82
|
background: s.selectColor
|
|
83
83
|
};
|
|
84
84
|
});
|
|
@@ -95,24 +95,24 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
95
95
|
class: "vue-data-ui-refresh-button",
|
|
96
96
|
onClick: I
|
|
97
97
|
}, [
|
|
98
|
-
|
|
98
|
+
ee(ct, {
|
|
99
99
|
name: "refresh",
|
|
100
100
|
stroke: i.textColor
|
|
101
101
|
}, null, 8, ["stroke"])
|
|
102
102
|
]))
|
|
103
103
|
])) : (u(), f("div", pt)),
|
|
104
|
-
|
|
104
|
+
$("div", gt, [
|
|
105
105
|
yt,
|
|
106
|
-
|
|
106
|
+
$("div", {
|
|
107
107
|
class: "range-highlight",
|
|
108
|
-
style:
|
|
108
|
+
style: te(C.value)
|
|
109
109
|
}, null, 4),
|
|
110
|
-
|
|
110
|
+
$("input", {
|
|
111
111
|
type: "range",
|
|
112
112
|
min: i.min,
|
|
113
113
|
max: i.max,
|
|
114
114
|
value: Number(i.value),
|
|
115
|
-
onInput: g[0] || (g[0] = (
|
|
115
|
+
onInput: g[0] || (g[0] = (S) => B("update:value", Number(S.target.value)))
|
|
116
116
|
}, null, 40, bt)
|
|
117
117
|
])
|
|
118
118
|
]));
|
|
@@ -137,7 +137,7 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
setup(i, { expose: B }) {
|
|
140
|
-
const s = i, { vue_ui_word_cloud: X } = Le(),
|
|
140
|
+
const s = i, { vue_ui_word_cloud: X } = Le(), x = p({
|
|
141
141
|
get() {
|
|
142
142
|
return !!s.dataset && s.dataset.length;
|
|
143
143
|
},
|
|
@@ -146,28 +146,28 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
146
146
|
}
|
|
147
147
|
}), b = n(typeof s.dataset == "string" ? Xe(s.dataset) : s.dataset.map((t) => ({
|
|
148
148
|
...t,
|
|
149
|
-
value:
|
|
150
|
-
}))), P = n(ge()), I = n(0), C = n(null), w = n(null), g = n(0),
|
|
151
|
-
get: () =>
|
|
149
|
+
value: je(t.value)
|
|
150
|
+
}))), P = n(ge()), I = n(0), C = n(null), w = n(null), g = n(0), S = n(0), j = n(!1), e = p({
|
|
151
|
+
get: () => oe(),
|
|
152
152
|
set: (t) => t
|
|
153
153
|
});
|
|
154
|
-
function
|
|
154
|
+
function oe() {
|
|
155
155
|
const t = be({
|
|
156
156
|
userConfig: s.config,
|
|
157
157
|
defaultConfig: X
|
|
158
158
|
});
|
|
159
159
|
return t.theme ? {
|
|
160
160
|
...be({
|
|
161
|
-
userConfig:
|
|
161
|
+
userConfig: Ye.vue_ui_word_cloud[t.theme] || s.config,
|
|
162
162
|
defaultConfig: t
|
|
163
163
|
}),
|
|
164
164
|
customPalette: qe[t.theme] || L
|
|
165
165
|
} : t;
|
|
166
166
|
}
|
|
167
167
|
Q(() => s.config, (t) => {
|
|
168
|
-
e.value =
|
|
168
|
+
e.value = oe(), le(), g.value += 1, S.value += 1, Y();
|
|
169
169
|
}, { deep: !0 });
|
|
170
|
-
const
|
|
170
|
+
const ae = n(null), T = n(0), r = n({
|
|
171
171
|
width: e.value.style.chart.width,
|
|
172
172
|
height: e.value.style.chart.height,
|
|
173
173
|
maxFontSize: e.value.style.chart.words.maxFontSize,
|
|
@@ -176,33 +176,33 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
176
176
|
const { width: t, height: a } = rt({
|
|
177
177
|
chart: C.value,
|
|
178
178
|
title: e.value.style.chart.title.text ? w.value : null,
|
|
179
|
-
slicer: e.value.style.chart.zoom.show &&
|
|
179
|
+
slicer: e.value.style.chart.zoom.show && ae.value
|
|
180
180
|
});
|
|
181
|
-
r.value.width = t, r.value.height = a, pe(
|
|
181
|
+
r.value.width = t, r.value.height = a, pe(q);
|
|
182
182
|
});
|
|
183
|
-
Q(() =>
|
|
183
|
+
Q(() => T.value, () => {
|
|
184
184
|
ke();
|
|
185
185
|
});
|
|
186
186
|
const ke = st(() => {
|
|
187
|
-
|
|
187
|
+
q();
|
|
188
188
|
}, 10);
|
|
189
|
-
function
|
|
190
|
-
|
|
189
|
+
function Y() {
|
|
190
|
+
T.value = ie.value;
|
|
191
191
|
}
|
|
192
192
|
const D = n(null);
|
|
193
193
|
Be(() => {
|
|
194
|
-
le(),
|
|
194
|
+
le(), Y();
|
|
195
195
|
});
|
|
196
196
|
function le() {
|
|
197
197
|
He(s.dataset) ? ye({
|
|
198
198
|
componentName: "VueUiWordCloud",
|
|
199
199
|
type: "dataset"
|
|
200
200
|
}) : b.value.forEach((t, a) => {
|
|
201
|
-
|
|
201
|
+
Ze({
|
|
202
202
|
datasetObject: t,
|
|
203
203
|
requiredAttributes: ["name", "value"]
|
|
204
204
|
}).forEach((o) => {
|
|
205
|
-
|
|
205
|
+
x.value = !1, ye({
|
|
206
206
|
componentName: "VueUiWordCloud",
|
|
207
207
|
type: "datasetSerieAttribute",
|
|
208
208
|
property: o,
|
|
@@ -243,10 +243,10 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
243
243
|
}), c;
|
|
244
244
|
}
|
|
245
245
|
const O = n([]);
|
|
246
|
-
Q(() => s.dataset,
|
|
246
|
+
Q(() => s.dataset, q, { immediate: !0 });
|
|
247
247
|
const ie = p(() => Math.min(...b.value.map((t) => t.value))), Te = p(() => Math.max(...b.value.map((t) => t.value)));
|
|
248
|
-
function
|
|
249
|
-
const t = [...b.value].filter((l) => l.value >=
|
|
248
|
+
function q() {
|
|
249
|
+
const t = [...b.value].filter((l) => l.value >= T.value).map((l) => l.value), a = Math.max(...t), o = Math.min(...t), c = [...b.value].filter((l) => l.value >= T.value).map((l, v) => {
|
|
250
250
|
const _ = (l.value - o) / (a - o) * (r.value.maxFontSize - r.value.minFontSize) + r.value.minFontSize, N = $e(l.name, _);
|
|
251
251
|
return {
|
|
252
252
|
...l,
|
|
@@ -270,7 +270,7 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
270
270
|
pe(() => {
|
|
271
271
|
const t = V.value.head.map((c, l) => [[
|
|
272
272
|
c.name
|
|
273
|
-
], [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 =
|
|
273
|
+
], [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 = Qe(a);
|
|
274
274
|
et({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
|
|
275
275
|
});
|
|
276
276
|
}
|
|
@@ -279,7 +279,7 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
279
279
|
e.value.table.columnNames.series,
|
|
280
280
|
e.value.table.columnNames.value
|
|
281
281
|
], a = V.value.head.map((l, v) => {
|
|
282
|
-
const _ =
|
|
282
|
+
const _ = Je({ p: e.value.table.td.prefix, v: V.value.body[v], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
|
|
283
283
|
return [
|
|
284
284
|
{
|
|
285
285
|
color: l.color,
|
|
@@ -330,10 +330,10 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
330
330
|
toggleTable: de,
|
|
331
331
|
toggleTooltip: ve
|
|
332
332
|
});
|
|
333
|
-
const F = n(null), M = n(!1),
|
|
333
|
+
const F = n(null), M = n(!1), H = n(""), Z = n(null);
|
|
334
334
|
function Ne(t) {
|
|
335
335
|
if (!d.value.showTooltip) return;
|
|
336
|
-
F.value = t.id,
|
|
336
|
+
F.value = t.id, Z.value = { datapoint: t, config: e.value };
|
|
337
337
|
const a = e.value.style.chart.tooltip.customFormat;
|
|
338
338
|
if (M.value = !1, tt(a))
|
|
339
339
|
try {
|
|
@@ -341,22 +341,22 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
341
341
|
datapoint: t,
|
|
342
342
|
config: e.value
|
|
343
343
|
});
|
|
344
|
-
typeof o == "string" && (
|
|
344
|
+
typeof o == "string" && (H.value = o, M.value = !0);
|
|
345
345
|
} catch {
|
|
346
346
|
console.warn("Custom format cannot be applied."), M.value = !1;
|
|
347
347
|
}
|
|
348
348
|
if (!M.value) {
|
|
349
349
|
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>`;
|
|
350
|
-
|
|
350
|
+
H.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${o}</div>`;
|
|
351
351
|
}
|
|
352
|
-
|
|
352
|
+
j.value = !0;
|
|
353
353
|
}
|
|
354
354
|
return (t, a) => (u(), f("div", {
|
|
355
355
|
class: "vue-ui-word-cloud",
|
|
356
356
|
ref_key: "wordCloudChart",
|
|
357
357
|
ref: C,
|
|
358
358
|
id: `wordCloud_${P.value}`,
|
|
359
|
-
style:
|
|
359
|
+
style: te(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`)
|
|
360
360
|
}, [
|
|
361
361
|
e.value.style.chart.title.text ? (u(), f("div", {
|
|
362
362
|
key: 0,
|
|
@@ -376,13 +376,13 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
376
376
|
}
|
|
377
377
|
}, null, 8, ["config"]))
|
|
378
378
|
], 512)) : z("", !0),
|
|
379
|
-
e.value.userOptions.show &&
|
|
379
|
+
e.value.userOptions.show && x.value ? (u(), A(lt, {
|
|
380
380
|
ref: "details",
|
|
381
381
|
key: `user_option_${I.value}`,
|
|
382
382
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
383
383
|
color: e.value.style.chart.color,
|
|
384
|
-
isPrinting:
|
|
385
|
-
isImaging:
|
|
384
|
+
isPrinting: k(se),
|
|
385
|
+
isImaging: k(ne),
|
|
386
386
|
uid: P.value,
|
|
387
387
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
388
388
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -396,9 +396,9 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
396
396
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
397
397
|
isTooltip: d.value.showTooltip,
|
|
398
398
|
onToggleFullscreen: Fe,
|
|
399
|
-
onGeneratePdf:
|
|
399
|
+
onGeneratePdf: k(re),
|
|
400
400
|
onGenerateCsv: ce,
|
|
401
|
-
onGenerateImage:
|
|
401
|
+
onGenerateImage: k(ue),
|
|
402
402
|
onToggleTable: de,
|
|
403
403
|
onToggleTooltip: ve
|
|
404
404
|
}, Ve({ _: 2 }, [
|
|
@@ -438,15 +438,15 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
438
438
|
key: "4"
|
|
439
439
|
} : void 0
|
|
440
440
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "onGeneratePdf", "onGenerateImage"])) : z("", !0),
|
|
441
|
-
|
|
441
|
+
x.value ? (u(), f("svg", {
|
|
442
442
|
key: 2,
|
|
443
443
|
class: me({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
|
|
444
|
-
xmlns:
|
|
444
|
+
xmlns: k(Ke),
|
|
445
445
|
viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
|
|
446
446
|
style: "overflow:visible;background:transparent;"
|
|
447
447
|
}, [
|
|
448
|
-
|
|
449
|
-
|
|
448
|
+
ee(dt),
|
|
449
|
+
$("g", {
|
|
450
450
|
transform: `translate(${(r.value.width <= 0 ? 10 : r.value.width) / 2}, ${(r.value.height <= 0 ? 10 : r.value.height) / 2})`
|
|
451
451
|
}, [
|
|
452
452
|
(u(!0), f(Ee, null, Ue(O.value, (o, c) => (u(), f("g", null, [
|
|
@@ -463,9 +463,9 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
463
463
|
"dominant-baseline": "middle",
|
|
464
464
|
onMouseover: (l) => Ne(o),
|
|
465
465
|
onMouseleave: a[0] || (a[0] = (l) => {
|
|
466
|
-
F.value = null,
|
|
466
|
+
F.value = null, j.value = !1;
|
|
467
467
|
}),
|
|
468
|
-
style:
|
|
468
|
+
style: te(`animation-delay:${c * e.value.animationDelayMs}ms !important;`)
|
|
469
469
|
}, fe(o.name), 47, St))
|
|
470
470
|
]))), 256))
|
|
471
471
|
], 8, xt),
|
|
@@ -474,10 +474,10 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
474
474
|
}, void 0, !0)
|
|
475
475
|
], 10, $t)) : z("", !0),
|
|
476
476
|
t.$slots.watermark ? (u(), f("div", Tt, [
|
|
477
|
-
m(t.$slots, "watermark", W(R({ isPrinting:
|
|
477
|
+
m(t.$slots, "watermark", W(R({ isPrinting: k(se) || k(ne) })), void 0, !0)
|
|
478
478
|
])) : z("", !0),
|
|
479
|
-
|
|
480
|
-
show: d.value.showTooltip &&
|
|
479
|
+
ee(vt, {
|
|
480
|
+
show: d.value.showTooltip && j.value,
|
|
481
481
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
482
482
|
color: e.value.style.chart.tooltip.color,
|
|
483
483
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -488,27 +488,27 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
488
488
|
position: e.value.style.chart.tooltip.position,
|
|
489
489
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
490
490
|
parent: C.value,
|
|
491
|
-
content:
|
|
491
|
+
content: H.value,
|
|
492
492
|
isCustom: M.value
|
|
493
493
|
}, {
|
|
494
494
|
"tooltip-before": h(() => [
|
|
495
|
-
m(t.$slots, "tooltip-before", W(R({ ...
|
|
495
|
+
m(t.$slots, "tooltip-before", W(R({ ...Z.value })), void 0, !0)
|
|
496
496
|
]),
|
|
497
497
|
"tooltip-after": h(() => [
|
|
498
|
-
m(t.$slots, "tooltip-after", W(R({ ...
|
|
498
|
+
m(t.$slots, "tooltip-after", W(R({ ...Z.value })), void 0, !0)
|
|
499
499
|
]),
|
|
500
500
|
_: 3
|
|
501
501
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
502
|
-
|
|
502
|
+
$("div", {
|
|
503
503
|
ref_key: "chartSlicer",
|
|
504
|
-
ref:
|
|
504
|
+
ref: ae,
|
|
505
505
|
style: "width:100%;background:transparent",
|
|
506
506
|
"data-html2canvas-ignore": ""
|
|
507
507
|
}, [
|
|
508
508
|
e.value.style.chart.zoom.show ? (u(), A(wt, {
|
|
509
509
|
key: 0,
|
|
510
|
-
value:
|
|
511
|
-
"onUpdate:value": a[1] || (a[1] = (o) =>
|
|
510
|
+
value: T.value,
|
|
511
|
+
"onUpdate:value": a[1] || (a[1] = (o) => T.value = o),
|
|
512
512
|
min: ie.value,
|
|
513
513
|
max: Te.value,
|
|
514
514
|
textColor: e.value.style.chart.color,
|
|
@@ -518,7 +518,7 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
518
518
|
background: e.value.style.chart.zoom.color,
|
|
519
519
|
borderColor: e.value.style.chart.backgroundColor,
|
|
520
520
|
source: e.value.style.chart.width,
|
|
521
|
-
onReset:
|
|
521
|
+
onReset: Y
|
|
522
522
|
}, {
|
|
523
523
|
"reset-action": h(({ reset: o }) => [
|
|
524
524
|
m(t.$slots, "reset-action", W(R({ reset: o })), void 0, !0)
|
|
@@ -526,7 +526,7 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
526
526
|
_: 3
|
|
527
527
|
}, 8, ["value", "min", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) : z("", !0)
|
|
528
528
|
], 512),
|
|
529
|
-
|
|
529
|
+
x.value ? (u(), A(ut, {
|
|
530
530
|
key: 4,
|
|
531
531
|
hideDetails: "",
|
|
532
532
|
config: {
|
|
@@ -544,7 +544,7 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
544
544
|
}, {
|
|
545
545
|
content: h(() => [
|
|
546
546
|
(u(), A(it, {
|
|
547
|
-
key: `table_${
|
|
547
|
+
key: `table_${S.value}`,
|
|
548
548
|
colNames: E.value.colNames,
|
|
549
549
|
head: E.value.head,
|
|
550
550
|
body: E.value.body,
|
|
@@ -553,7 +553,7 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
553
553
|
onClose: a[2] || (a[2] = (o) => d.value.showTable = !1)
|
|
554
554
|
}, {
|
|
555
555
|
th: h(({ th: o }) => [
|
|
556
|
-
|
|
556
|
+
$("div", {
|
|
557
557
|
innerHTML: o,
|
|
558
558
|
style: { display: "flex", "align-items": "center" }
|
|
559
559
|
}, null, 8, Ft)
|
|
@@ -568,7 +568,7 @@ const ht = (i) => (We("data-v-3fd7d274"), i = i(), Re(), i), mt = { "data-html2c
|
|
|
568
568
|
}, 8, ["config"])) : z("", !0)
|
|
569
569
|
], 12, kt));
|
|
570
570
|
}
|
|
571
|
-
}, Et = /* @__PURE__ */ Ce(_t, [["__scopeId", "data-v-
|
|
571
|
+
}, Et = /* @__PURE__ */ Ce(_t, [["__scopeId", "data-v-7f4cd511"]]);
|
|
572
572
|
export {
|
|
573
573
|
Et as default
|
|
574
574
|
};
|