vue-data-ui 3.1.4 → 3.1.6
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-COJRk3pc.js → Arrow-DtlAIKPQ.js} +1 -1
- package/dist/{BaseDraggableDialog-BdAp3qr9.js → BaseDraggableDialog-BVZPPMT9.js} +2 -2
- package/dist/{BaseIcon-B5nQNkmd.js → BaseIcon-D_BjQBAR.js} +1 -1
- package/dist/{ColorPicker-CPqHwp1V.js → ColorPicker-BeJGNqJl.js} +2 -2
- package/dist/{DataTable-CzO3oHys.js → DataTable-IycMkaTU.js} +2 -2
- package/dist/{Legend-BQqnf4BN.js → Legend-D7l8BJ7z.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D_g27Foy.js → NonSvgPenAndPaper-BK5M9Lt9.js} +3 -3
- package/dist/{PackageVersion-7CxQB-mx.js → PackageVersion-BtfT0hV9.js} +1 -1
- package/dist/{PenAndPaper-C8hICPzL.js → PenAndPaper-BdzDJYnr.js} +3 -3
- package/dist/{Shape-BEVQVI0z.js → Shape-DD3SLpa4.js} +1 -1
- package/dist/Slicer-DoGlWyq_.js +596 -0
- package/dist/{SparkTooltip-BSgzljwP.js → SparkTooltip-DAfofSes.js} +1 -1
- package/dist/{Title-nHtPyPd9.js → Title-DbQthJAs.js} +1 -1
- package/dist/Tooltip-DvtYLrX2.js +200 -0
- package/dist/{UserOptions-D3pVnvAB.js → UserOptions-Dd5XOrwq.js} +2 -2
- package/dist/{dom-to-png-CcijTM69.js → dom-to-png-j6qE-sAL.js} +1 -1
- package/dist/{img-Bl0o2UAr.js → img-DLgjML7h.js} +1 -1
- package/dist/{index-INqbM37s.js → index-C0wrF8hm.js} +6 -2
- package/dist/{pdf-BeeAdG2m.js → pdf-Csglybwj.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -0
- package/dist/types/vue-data-ui.d.ts +4 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DXkvjSDn.js → useAutoSizeLabelsInsideViewbox-Bj3DhGbZ.js} +1 -1
- package/dist/{useNestedProp-BKprMEaB.js → useNestedProp-Bg2FlIgI.js} +1 -1
- package/dist/{usePrinter-9WO5mDzj.js → usePrinter-C2jvouU0.js} +2 -2
- package/dist/{vue-data-ui-IMHc9Ta4.js → vue-data-ui-DaOijb0V.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D-1TVi2s.js → vue-ui-3d-bar-BbW6NaRc.js} +8 -8
- package/dist/{vue-ui-accordion-CQZjxT5U.js → vue-ui-accordion-3JuSLBjV.js} +3 -3
- package/dist/{vue-ui-age-pyramid-B31NbBxS.js → vue-ui-age-pyramid-D94C1TOK.js} +44 -42
- package/dist/{vue-ui-annotator-BmFYtzWW.js → vue-ui-annotator-Jq_yw0h7.js} +2 -2
- package/dist/{vue-ui-bullet-BvMlcux3.js → vue-ui-bullet-ajwy7d-R.js} +7 -7
- package/dist/{vue-ui-candlestick-CCrNcgjy.js → vue-ui-candlestick-vMGbmNWA.js} +87 -85
- package/dist/{vue-ui-carousel-table-DrGj7_CL.js → vue-ui-carousel-table-DydTCm2Z.js} +4 -4
- package/dist/{vue-ui-chestnut-Dz0E-AxZ.js → vue-ui-chestnut-D6AP76wU.js} +37 -37
- package/dist/{vue-ui-chord-BxOzgPka.js → vue-ui-chord-Du8GJXPN.js} +11 -11
- package/dist/{vue-ui-circle-pack-CaWwzEF0.js → vue-ui-circle-pack-C-C3OGW_.js} +232 -228
- package/dist/{vue-ui-cursor-CG-oJITu.js → vue-ui-cursor-B70FlDqP.js} +2 -2
- package/dist/{vue-ui-dashboard-BFLQYXuo.js → vue-ui-dashboard-DrFCH7LP.js} +67 -67
- package/dist/{vue-ui-digits-BlZsS_qz.js → vue-ui-digits-CQy-vOC2.js} +2 -2
- package/dist/{vue-ui-donut-COXIRkz4.js → vue-ui-donut-D0RdN18d.js} +53 -51
- package/dist/{vue-ui-donut-evolution-DSGLD4z5.js → vue-ui-donut-evolution-naYIvk-b.js} +38 -38
- package/dist/{vue-ui-dumbbell-DgUPMy2W.js → vue-ui-dumbbell-D6b7WMTy.js} +84 -84
- package/dist/{vue-ui-flow-E8_jp5Qc.js → vue-ui-flow-Dh8_ii-s.js} +82 -80
- package/dist/{vue-ui-funnel-NMcBpYTQ.js → vue-ui-funnel-Ct4e9chO.js} +31 -31
- package/dist/{vue-ui-galaxy-Cay4NZ6o.js → vue-ui-galaxy-Dqklv14X.js} +49 -47
- package/dist/{vue-ui-gauge-DWOH8_Z2.js → vue-ui-gauge-D-vHj5J1.js} +7 -7
- package/dist/{vue-ui-gizmo-DtZu2tcU.js → vue-ui-gizmo-Cn0d1lVH.js} +3 -3
- package/dist/{vue-ui-heatmap-Dk5515tQ.js → vue-ui-heatmap-BpcoDwpi.js} +69 -67
- package/dist/{vue-ui-history-plot-X_jPheWu.js → vue-ui-history-plot-D8tmNUHo.js} +148 -146
- package/dist/{vue-ui-kpi-DwNsapLR.js → vue-ui-kpi-88Bguk6S.js} +3 -3
- package/dist/{vue-ui-mini-loader-uyATuTz5.js → vue-ui-mini-loader-VDpWxyls.js} +2 -2
- package/dist/{vue-ui-molecule-BOeCt8b2.js → vue-ui-molecule-Cn8yeJLZ.js} +63 -61
- package/dist/{vue-ui-mood-radar-BeHjc5Ty.js → vue-ui-mood-radar-DidC77_K.js} +9 -9
- package/dist/{vue-ui-nested-donuts-CPoaD2py.js → vue-ui-nested-donuts-D1EZ91Wm.js} +71 -69
- package/dist/{vue-ui-onion-C8H8i77u.js → vue-ui-onion-B_mir5Ax.js} +40 -37
- package/dist/{vue-ui-parallel-coordinate-plot-Cblzs6mf.js → vue-ui-parallel-coordinate-plot-DRbJyqiQ.js} +54 -52
- package/dist/{vue-ui-quadrant-BLYsMAey.js → vue-ui-quadrant-D7ihdCkd.js} +204 -202
- package/dist/{vue-ui-quick-chart-D-7cooqG.js → vue-ui-quick-chart-Dwc1xJtX.js} +63 -61
- package/dist/{vue-ui-radar-BBR8cYGx.js → vue-ui-radar-DhsgkGwF.js} +121 -119
- package/dist/{vue-ui-rating-Ccn8aUMA.js → vue-ui-rating-D_sWv7fR.js} +2 -2
- package/dist/{vue-ui-relation-circle-SKeIJXHs.js → vue-ui-relation-circle-CAvYwKpm.js} +7 -7
- package/dist/{vue-ui-ridgeline-CuHSBPB8.js → vue-ui-ridgeline-DuWQX2OI.js} +10 -10
- package/dist/{vue-ui-rings-SusI7pff.js → vue-ui-rings-BrBkOGZk.js} +162 -160
- package/dist/{vue-ui-scatter-Do8NoLng.js → vue-ui-scatter--kNBhPeG.js} +158 -156
- package/dist/{vue-ui-skeleton-FONviv9G.js → vue-ui-skeleton-B6Y0yxOn.js} +3 -3
- package/dist/{vue-ui-smiley-Bbt8bZxB.js → vue-ui-smiley-B7tZsNRS.js} +2 -2
- package/dist/{vue-ui-spark-trend-DB7RPBwQ.js → vue-ui-spark-trend-Dy5C9uny.js} +3 -3
- package/dist/{vue-ui-sparkbar-B8inUR_m.js → vue-ui-sparkbar-9NN07DOT.js} +3 -3
- package/dist/{vue-ui-sparkgauge-B4_YoY5M.js → vue-ui-sparkgauge-iV-u83Ie.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DXSLenC7.js → vue-ui-sparkhistogram-X47TDKC2.js} +4 -4
- package/dist/{vue-ui-sparkline-BQ6Voxky.js → vue-ui-sparkline-C67Y3c7l.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BgFJQKhq.js → vue-ui-sparkstackbar-Bzmq9peq.js} +36 -34
- package/dist/{vue-ui-stackbar-CBB-kH1C.js → vue-ui-stackbar-C0cn-5Sz.js} +15 -13
- package/dist/{vue-ui-strip-plot-3gWivNhR.js → vue-ui-strip-plot-D3StIxYT.js} +59 -57
- package/dist/{vue-ui-table-NJNp95Us.js → vue-ui-table-B-wP544v.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CRzHSurU.js → vue-ui-table-heatmap-_qJwOiYG.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DxGr1WNr.js → vue-ui-table-sparkline-C6MoeyKm.js} +4 -4
- package/dist/{vue-ui-thermometer-B6NudPzq.js → vue-ui-thermometer-BmYZiNK4.js} +7 -7
- package/dist/{vue-ui-timer-DO3oJlhi.js → vue-ui-timer-XeLnI_ia.js} +5 -5
- package/dist/{vue-ui-tiremarks-Dv39xDlL.js → vue-ui-tiremarks-CnCSAQiH.js} +6 -6
- package/dist/{vue-ui-treemap-D9jbccaW.js → vue-ui-treemap-Nd27H4H5.js} +41 -39
- package/dist/{vue-ui-vertical-bar-CxJNWczK.js → vue-ui-vertical-bar-Dd1XUvnp.js} +54 -52
- package/dist/{vue-ui-waffle-BMjk9LhH.js → vue-ui-waffle-Czg-z9KF.js} +56 -54
- package/dist/{vue-ui-wheel-CMACWJLJ.js → vue-ui-wheel-DfPu-QQM.js} +6 -6
- package/dist/{vue-ui-word-cloud-BbwSabN0.js → vue-ui-word-cloud-CB9_bPjO.js} +107 -104
- package/dist/{vue-ui-world-DCp2i-uy.js → vue-ui-world-Bo_NzzhJ.js} +12 -10
- package/dist/{vue-ui-xy-CRQHfrGQ.js → vue-ui-xy-Dc-o6Q3R.js} +1234 -1231
- package/dist/{vue-ui-xy-canvas-D-iziyn0.js → vue-ui-xy-canvas-D1Do33ar.js} +46 -44
- package/package.json +4 -2
- package/dist/Slicer-Cmc94zkG.js +0 -604
- package/dist/Tooltip-RCWHeRDV.js +0 -161
|
@@ -293,6 +293,8 @@ declare module "vue-data-ui" {
|
|
|
293
293
|
offsetY?: number;
|
|
294
294
|
smooth?: boolean;
|
|
295
295
|
backdropFilter?: boolean;
|
|
296
|
+
smoothForce?: number;
|
|
297
|
+
smoothSnapThreshold?: number;
|
|
296
298
|
};
|
|
297
299
|
|
|
298
300
|
export type ZoomMinimap = {
|
|
@@ -6143,6 +6145,8 @@ declare module "vue-data-ui" {
|
|
|
6143
6145
|
tooltipPosition?: TooltipPosition;
|
|
6144
6146
|
tooltipOffsetY?: number;
|
|
6145
6147
|
tooltipSmooth?: boolean;
|
|
6148
|
+
tooltipSmoothForce?: number;
|
|
6149
|
+
tooltipSmoothSnapThreshold?: number;
|
|
6146
6150
|
tooltipBackdropFilter?: boolean;
|
|
6147
6151
|
useCustomLegend?: boolean;
|
|
6148
6152
|
valuePrefix?: string;
|
|
@@ -293,6 +293,8 @@ declare module "vue-data-ui" {
|
|
|
293
293
|
offsetY?: number;
|
|
294
294
|
smooth?: boolean;
|
|
295
295
|
backdropFilter?: boolean;
|
|
296
|
+
smoothForce?: number;
|
|
297
|
+
smoothSnapThreshold?: number;
|
|
296
298
|
};
|
|
297
299
|
|
|
298
300
|
export type ZoomMinimap = {
|
|
@@ -6143,6 +6145,8 @@ declare module "vue-data-ui" {
|
|
|
6143
6145
|
tooltipPosition?: TooltipPosition;
|
|
6144
6146
|
tooltipOffsetY?: number;
|
|
6145
6147
|
tooltipSmooth?: boolean;
|
|
6148
|
+
tooltipSmoothForce?: number;
|
|
6149
|
+
tooltipSmoothSnapThreshold?: number;
|
|
6146
6150
|
tooltipBackdropFilter?: boolean;
|
|
6147
6151
|
useCustomLegend?: boolean;
|
|
6148
6152
|
valuePrefix?: string;
|
|
@@ -10,7 +10,7 @@ function m({
|
|
|
10
10
|
!a || r.value || (r.value = !0, clearTimeout(l.value), l.value = setTimeout(async () => {
|
|
11
11
|
if (a)
|
|
12
12
|
try {
|
|
13
|
-
const { default: e } = await import("./pdf-
|
|
13
|
+
const { default: e } = await import("./pdf-Csglybwj.js");
|
|
14
14
|
await e({
|
|
15
15
|
domElement: document.getElementById(u),
|
|
16
16
|
fileName: i,
|
|
@@ -30,7 +30,7 @@ function m({
|
|
|
30
30
|
!a || o.value || (o.value = !0, clearTimeout(l.value), l.value = setTimeout(async () => {
|
|
31
31
|
if (a)
|
|
32
32
|
try {
|
|
33
|
-
const { default: e } = await import("./img-
|
|
33
|
+
const { default: e } = await import("./img-DLgjML7h.js");
|
|
34
34
|
await e({
|
|
35
35
|
domElement: document.getElementById(u),
|
|
36
36
|
fileName: i,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as re, defineAsyncComponent as t, computed as c, ref as o, onMounted as le, watch as Z, shallowReactive as ue, createElementBlock as se, createBlock as d, openBlock as g, normalizeStyle as ce, createElementVNode as ge, createTextVNode as pe, createCommentVNode as q, toDisplayString as me, resolveDynamicComponent as de, mergeProps as Ve, toHandlers as Ue, createSlots as fe, renderList as ve, withCtx as ke, renderSlot as Se, normalizeProps as he, guardReactiveProps as be } from "vue";
|
|
2
|
-
import K from "./BaseIcon-
|
|
2
|
+
import K from "./BaseIcon-D_BjQBAR.js";
|
|
3
3
|
const ye = { style: { width: "36px" } }, Ae = {
|
|
4
4
|
__name: "vue-data-ui",
|
|
5
5
|
props: {
|
|
@@ -38,71 +38,71 @@ const ye = { style: { width: "36px" } }, Ae = {
|
|
|
38
38
|
],
|
|
39
39
|
setup(Y, { expose: J, emit: R }) {
|
|
40
40
|
const a = Y, { component: Ce, dataset: w, config: ee } = re(a), p = {
|
|
41
|
-
VueUi3dBar: t(() => import("./vue-ui-3d-bar-
|
|
42
|
-
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-
|
|
43
|
-
VueUiAnnotator: t(() => import("./vue-ui-annotator-
|
|
44
|
-
VueUiCandlestick: t(() => import("./vue-ui-candlestick-
|
|
45
|
-
VueUiChestnut: t(() => import("./vue-ui-chestnut-
|
|
46
|
-
VueUiDashboard: t(() => import("./vue-ui-dashboard-
|
|
47
|
-
VueUiDigits: t(() => import("./vue-ui-digits-
|
|
48
|
-
VueUiDonut: t(() => import("./vue-ui-donut-
|
|
49
|
-
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-
|
|
50
|
-
VueUiGalaxy: t(() => import("./vue-ui-galaxy-
|
|
51
|
-
VueUiGauge: t(() => import("./vue-ui-gauge-
|
|
52
|
-
VueUiHeatmap: t(() => import("./vue-ui-heatmap-
|
|
53
|
-
VueUiKpi: t(() => import("./vue-ui-kpi-
|
|
54
|
-
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-
|
|
55
|
-
VueUiMolecule: t(() => import("./vue-ui-molecule-
|
|
56
|
-
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-
|
|
57
|
-
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-
|
|
58
|
-
VueUiOnion: t(() => import("./vue-ui-onion-
|
|
59
|
-
VueUiQuadrant: t(() => import("./vue-ui-quadrant-
|
|
60
|
-
VueUiRadar: t(() => import("./vue-ui-radar-
|
|
61
|
-
VueUiRating: t(() => import("./vue-ui-rating-
|
|
62
|
-
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-
|
|
63
|
-
VueUiRings: t(() => import("./vue-ui-rings-
|
|
64
|
-
VueUiScatter: t(() => import("./vue-ui-scatter
|
|
65
|
-
VueUiSkeleton: t(() => import("./vue-ui-skeleton-
|
|
66
|
-
VueUiSmiley: t(() => import("./vue-ui-smiley-
|
|
67
|
-
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-
|
|
68
|
-
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-
|
|
69
|
-
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-
|
|
70
|
-
VueUiSparkline: t(() => import("./vue-ui-sparkline-
|
|
71
|
-
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-
|
|
72
|
-
VueUiTable: t(() => import("./vue-ui-table-
|
|
73
|
-
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-
|
|
74
|
-
VueUiThermometer: t(() => import("./vue-ui-thermometer-
|
|
75
|
-
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-
|
|
76
|
-
VueUiTreemap: t(() => import("./vue-ui-treemap-
|
|
77
|
-
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-
|
|
41
|
+
VueUi3dBar: t(() => import("./vue-ui-3d-bar-BbW6NaRc.js")),
|
|
42
|
+
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-D94C1TOK.js")),
|
|
43
|
+
VueUiAnnotator: t(() => import("./vue-ui-annotator-Jq_yw0h7.js")),
|
|
44
|
+
VueUiCandlestick: t(() => import("./vue-ui-candlestick-vMGbmNWA.js")),
|
|
45
|
+
VueUiChestnut: t(() => import("./vue-ui-chestnut-D6AP76wU.js")),
|
|
46
|
+
VueUiDashboard: t(() => import("./vue-ui-dashboard-DrFCH7LP.js")),
|
|
47
|
+
VueUiDigits: t(() => import("./vue-ui-digits-CQy-vOC2.js")),
|
|
48
|
+
VueUiDonut: t(() => import("./vue-ui-donut-D0RdN18d.js")),
|
|
49
|
+
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-naYIvk-b.js")),
|
|
50
|
+
VueUiGalaxy: t(() => import("./vue-ui-galaxy-Dqklv14X.js")),
|
|
51
|
+
VueUiGauge: t(() => import("./vue-ui-gauge-D-vHj5J1.js")),
|
|
52
|
+
VueUiHeatmap: t(() => import("./vue-ui-heatmap-BpcoDwpi.js")),
|
|
53
|
+
VueUiKpi: t(() => import("./vue-ui-kpi-88Bguk6S.js")),
|
|
54
|
+
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-VDpWxyls.js")),
|
|
55
|
+
VueUiMolecule: t(() => import("./vue-ui-molecule-Cn8yeJLZ.js")),
|
|
56
|
+
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-DidC77_K.js")),
|
|
57
|
+
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-D1EZ91Wm.js")),
|
|
58
|
+
VueUiOnion: t(() => import("./vue-ui-onion-B_mir5Ax.js")),
|
|
59
|
+
VueUiQuadrant: t(() => import("./vue-ui-quadrant-D7ihdCkd.js")),
|
|
60
|
+
VueUiRadar: t(() => import("./vue-ui-radar-DhsgkGwF.js")),
|
|
61
|
+
VueUiRating: t(() => import("./vue-ui-rating-D_sWv7fR.js")),
|
|
62
|
+
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-CAvYwKpm.js")),
|
|
63
|
+
VueUiRings: t(() => import("./vue-ui-rings-BrBkOGZk.js")),
|
|
64
|
+
VueUiScatter: t(() => import("./vue-ui-scatter--kNBhPeG.js")),
|
|
65
|
+
VueUiSkeleton: t(() => import("./vue-ui-skeleton-B6Y0yxOn.js")),
|
|
66
|
+
VueUiSmiley: t(() => import("./vue-ui-smiley-B7tZsNRS.js")),
|
|
67
|
+
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-9NN07DOT.js")),
|
|
68
|
+
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-iV-u83Ie.js")),
|
|
69
|
+
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-X47TDKC2.js")),
|
|
70
|
+
VueUiSparkline: t(() => import("./vue-ui-sparkline-C67Y3c7l.js")),
|
|
71
|
+
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-Bzmq9peq.js")),
|
|
72
|
+
VueUiTable: t(() => import("./vue-ui-table-B-wP544v.js")),
|
|
73
|
+
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-C6MoeyKm.js")),
|
|
74
|
+
VueUiThermometer: t(() => import("./vue-ui-thermometer-BmYZiNK4.js")),
|
|
75
|
+
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-CnCSAQiH.js")),
|
|
76
|
+
VueUiTreemap: t(() => import("./vue-ui-treemap-Nd27H4H5.js")),
|
|
77
|
+
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-Dd1XUvnp.js")),
|
|
78
78
|
// delete in v4
|
|
79
|
-
VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-
|
|
79
|
+
VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-Dd1XUvnp.js")),
|
|
80
80
|
// v3 renaming
|
|
81
|
-
VueUiWaffle: t(() => import("./vue-ui-waffle-
|
|
82
|
-
VueUiWheel: t(() => import("./vue-ui-wheel-
|
|
83
|
-
VueUiXy: t(() => import("./vue-ui-xy-
|
|
84
|
-
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-
|
|
85
|
-
VueUiAccordion: t(() => import("./vue-ui-accordion-
|
|
86
|
-
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-
|
|
87
|
-
VueUiCursor: t(() => import("./vue-ui-cursor-
|
|
88
|
-
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-
|
|
89
|
-
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-
|
|
90
|
-
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-
|
|
91
|
-
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-
|
|
92
|
-
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-
|
|
93
|
-
VueUiFlow: t(() => import("./vue-ui-flow-
|
|
94
|
-
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-
|
|
95
|
-
VueUiTimer: t(() => import("./vue-ui-timer-
|
|
96
|
-
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-
|
|
97
|
-
VueUiGizmo: t(() => import("./vue-ui-gizmo-
|
|
98
|
-
VueUiStackbar: t(() => import("./vue-ui-stackbar-
|
|
99
|
-
VueUiBullet: t(() => import("./vue-ui-bullet-
|
|
100
|
-
VueUiFunnel: t(() => import("./vue-ui-funnel-
|
|
101
|
-
VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-
|
|
102
|
-
VueUiCirclePack: t(() => import("./vue-ui-circle-pack-
|
|
103
|
-
VueUiWorld: t(() => import("./vue-ui-world-
|
|
104
|
-
VueUiRidgeline: t(() => import("./vue-ui-ridgeline-
|
|
105
|
-
VueUiChord: t(() => import("./vue-ui-chord-
|
|
81
|
+
VueUiWaffle: t(() => import("./vue-ui-waffle-Czg-z9KF.js")),
|
|
82
|
+
VueUiWheel: t(() => import("./vue-ui-wheel-DfPu-QQM.js")),
|
|
83
|
+
VueUiXy: t(() => import("./vue-ui-xy-Dc-o6Q3R.js")),
|
|
84
|
+
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-_qJwOiYG.js")),
|
|
85
|
+
VueUiAccordion: t(() => import("./vue-ui-accordion-3JuSLBjV.js")),
|
|
86
|
+
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-Dwc1xJtX.js")),
|
|
87
|
+
VueUiCursor: t(() => import("./vue-ui-cursor-B70FlDqP.js")),
|
|
88
|
+
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-Dy5C9uny.js")),
|
|
89
|
+
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-D3StIxYT.js")),
|
|
90
|
+
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-D6b7WMTy.js")),
|
|
91
|
+
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-CB9_bPjO.js")),
|
|
92
|
+
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-D1Do33ar.js")),
|
|
93
|
+
VueUiFlow: t(() => import("./vue-ui-flow-Dh8_ii-s.js")),
|
|
94
|
+
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-DRbJyqiQ.js")),
|
|
95
|
+
VueUiTimer: t(() => import("./vue-ui-timer-XeLnI_ia.js")),
|
|
96
|
+
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-DydTCm2Z.js")),
|
|
97
|
+
VueUiGizmo: t(() => import("./vue-ui-gizmo-Cn0d1lVH.js")),
|
|
98
|
+
VueUiStackbar: t(() => import("./vue-ui-stackbar-C0cn-5Sz.js")),
|
|
99
|
+
VueUiBullet: t(() => import("./vue-ui-bullet-ajwy7d-R.js")),
|
|
100
|
+
VueUiFunnel: t(() => import("./vue-ui-funnel-Ct4e9chO.js")),
|
|
101
|
+
VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-D8tmNUHo.js")),
|
|
102
|
+
VueUiCirclePack: t(() => import("./vue-ui-circle-pack-C-C3OGW_.js")),
|
|
103
|
+
VueUiWorld: t(() => import("./vue-ui-world-Bo_NzzhJ.js")),
|
|
104
|
+
VueUiRidgeline: t(() => import("./vue-ui-ridgeline-DuWQX2OI.js")),
|
|
105
|
+
VueUiChord: t(() => import("./vue-ui-chord-Du8GJXPN.js"))
|
|
106
106
|
}, te = {
|
|
107
107
|
VueUi3dBar: ["config", "dataset"],
|
|
108
108
|
VueUiAgePyramid: ["config", "dataset"],
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { ar as s, as as u, at as V, au as U, av as r, aw as t, bm as o, ax as b, bj as l, ay as n, bt as d, bq as g, az as m, aA as C, aB as c, aC as S, aD as k, aE as p, aF as h, bn as T, aG as P, aH as D, bk as f, aI as v, bo as y, bd as A, aJ as B, aK as H, aL as R, aM as W, aN as x, aO as M, aP as w, aQ as z, bp as F, aR as G, aS as E, aT as L, aU as O, aV as Q, bs as X, aW as j, aX as I, aY as K, aZ as N, a_ as q, a$ as J, b0 as Y, b1 as Z, b2 as _, b3 as $, bl as aa, b4 as ea, b5 as ia, b6 as sa, b7 as ua, b8 as Va, b9 as Ua, ba as ra, bb as ta, bc as oa, be as ba, bf as la, bg as na, br as da, bh as ga, bi as ma, L as Ca, V as ca, U as Sa, al as ka, an as pa, bu as ha, bv as Ta, bw as Pa, bx as Da, by as fa, bz as va, bA as ya, bB as Aa, bC as Ba, bD as Ha, bE as Ra } from "./index-
|
|
2
|
+
import { ar as s, as as u, at as V, au as U, av as r, aw as t, bm as o, ax as b, bj as l, ay as n, bt as d, bq as g, az as m, aA as C, aB as c, aC as S, aD as k, aE as p, aF as h, bn as T, aG as P, aH as D, bk as f, aI as v, bo as y, bd as A, aJ as B, aK as H, aL as R, aM as W, aN as x, aO as M, aP as w, aQ as z, bp as F, aR as G, aS as E, aT as L, aU as O, aV as Q, bs as X, aW as j, aX as I, aY as K, aZ as N, a_ as q, a$ as J, b0 as Y, b1 as Z, b2 as _, b3 as $, bl as aa, b4 as ea, b5 as ia, b6 as sa, b7 as ua, b8 as Va, b9 as Ua, ba as ra, bb as ta, bc as oa, be as ba, bf as la, bg as na, br as da, bh as ga, bi as ma, L as Ca, V as ca, U as Sa, al as ka, an as pa, bu as ha, bv as Ta, bw as Pa, bx as Da, by as fa, bz as va, bA as ya, bB as Aa, bC as Ba, bD as Ha, bE as Ra } from "./index-C0wrF8hm.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as H, computed as A, ref as _, toRefs as wt, watch as xe, onMounted as Ct, createElementBlock as c, openBlock as u, unref as n, normalizeStyle as j, normalizeClass as qe, createBlock as Q, createCommentVNode as p, createSlots as Ye, withCtx as S, renderSlot as P, normalizeProps as de, guardReactiveProps as ce, createVNode as Ke, createElementVNode as i, Fragment as C, renderList as M, toDisplayString as z, withKeys as Je, withModifiers as Qe, mergeProps as we, resolveDynamicComponent as Mt, createTextVNode as et, nextTick as tt } from "vue";
|
|
2
|
-
import { u as Ft, c as lt, t as Tt, a as Pt, p as ve, b as Dt, d as At, e as St, o as Ot, f as he, g as Ce, l as R, m as ot, h as Bt, i as O, X as It, s as $, j as X, k as fe, n as st, q as pe, r as G, v as jt, w as zt } from "./index-
|
|
2
|
+
import { u as Ft, c as lt, t as Tt, a as Pt, p as ve, b as Dt, d as At, e as St, o as Ot, f as he, g as Ce, l as R, m as ot, h as Bt, i as O, X as It, s as $, j as X, k as fe, n as st, q as pe, r as G, v as jt, w as zt } from "./index-C0wrF8hm.js";
|
|
3
3
|
import { t as Nt, u as Lt } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Wt, B as Et } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as Rt } from "./usePrinter-
|
|
6
|
-
import { u as at } from "./useNestedProp-
|
|
5
|
+
import { u as Rt } from "./usePrinter-C2jvouU0.js";
|
|
6
|
+
import { u as at } from "./useNestedProp-Bg2FlIgI.js";
|
|
7
7
|
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import Ut from "./img-
|
|
10
|
-
import Ht from "./Title-
|
|
9
|
+
import Ut from "./img-DLgjML7h.js";
|
|
10
|
+
import Ht from "./Title-DbQthJAs.js";
|
|
11
11
|
import { _ as Xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["id"], Jt = ["stop-color"], Qt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], ol = ["id"], sl = ["stop-color"], al = ["stop-color"], nl = ["id"], rl = ["stop-color"], ul = ["stop-color"], il = ["id"], dl = ["stop-color"], cl = ["stop-color"], vl = ["stop-color"], hl = ["stop-color"], fl = ["stop-color"], pl = { key: 1 }, yl = ["id"], kl = ["stop-color"], gl = ["stop-color"], $l = ["id"], _l = ["stop-color"], ml = ["stop-color"], bl = ["id"], xl = ["stop-color"], wl = ["stop-color"], Cl = ["id"], Ml = ["x", "y", "font-size", "font-weight", "fill"], Fl = ["x", "y"], Tl = ["cx", "cy", "stroke", "opacity"], Pl = ["d", "stroke"], Dl = ["d", "stroke"], Al = { key: 4 }, Sl = { key: 0 }, Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Il = ["stroke-dasharray", "d", "stroke", "stroke-width"], jl = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = { key: 1 }, Nl = ["d", "stroke", "stroke-width", "fill"], Ll = ["d", "stroke", "stroke-width", "fill"], Wl = ["d", "stroke", "stroke-width", "fill"], El = { key: 2 }, Rl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Gl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Vl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Ul = ["d", "onMouseenter", "onClick", "onMouseout"], Hl = ["d"], Xl = ["d", "stroke"], Zl = ["onClick"], ql = ["stroke", "d"], Yl = ["cx", "cy", "fill", "stroke"], Kl = ["x", "y", "width", "height"], Jl = ["x", "y", "width", "height"], Ql = { key: 3 }, eo = ["d", "stroke"], to = ["d", "fill", "stroke"], lo = { key: 0 }, oo = ["text-anchor", "x", "y", "fill", "font-size"], so = ["text-anchor", "x", "y", "fill", "font-size"], ao = { key: 4 }, no = ["d", "fill", "stroke"], ro = { key: 5 }, uo = { key: 0 }, io = ["stroke-dasharray", "d", "stroke", "stroke-width"], co = ["stroke-dasharray", "d", "stroke", "stroke-width"], vo = ["stroke-dasharray", "d", "stroke", "stroke-width"], ho = ["stroke-dasharray", "d", "stroke", "stroke-width"], fo = ["d", "stroke", "stroke-width", "fill"], po = ["d", "stroke", "stroke-width", "fill"], yo = ["d"], ko = { key: 1 }, go = ["onClick"], $o = ["id"], _o = ["stop-color"], mo = ["stop-color"], bo = ["id"], xo = ["stop-color"], wo = ["stop-color"], Co = ["stop-color"], Mo = ["stop-color"], Fo = ["stop-color"], To = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Po = ["onMouseenter", "onClick", "onMouseout", "d"], Do = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Ao = ["onClick"], So = ["stroke", "d"], Oo = ["cx", "cy", "fill", "stroke"], Bo = ["x", "y", "width", "height"], Io = ["x", "y", "width", "height"], jo = { key: 3 }, zo = ["d", "stroke"], No = ["d", "fill", "stroke"], Lo = { key: 0 }, Wo = ["text-anchor", "x", "y", "fill", "font-size"], Eo = ["text-anchor", "x", "y", "fill", "font-size"], Ro = { key: 4 }, Go = ["d", "fill", "stroke"], Vo = {
|
|
13
13
|
key: 3,
|
|
@@ -30,7 +30,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectDatapoint"],
|
|
32
32
|
setup(nt, { expose: rt, emit: ut }) {
|
|
33
|
-
const it = H(() => import("./BaseIcon-
|
|
33
|
+
const it = H(() => import("./BaseIcon-D_BjQBAR.js")), dt = H(() => import("./vue-ui-accordion-3JuSLBjV.js")), ct = H(() => import("./DataTable-IycMkaTU.js")), vt = H(() => import("./PenAndPaper-BdzDJYnr.js")), ht = H(() => import("./UserOptions-Dd5XOrwq.js")), ft = H(() => import("./PackageVersion-BtfT0hV9.js")), pt = H(() => import("./BaseDraggableDialog-BVZPPMT9.js")), { vue_ui_3d_bar: yt } = Ft(), D = nt, se = ut, Me = A(() => !!D.dataset && Object.keys(D.dataset).length), F = _(lt()), N = _(null), B = _(!1), Fe = _(0), Te = _(0), Pe = _(null), ee = _(null), ae = _(null), De = _(null), te = _(!1), le = _(null), ye = _(null), e = _(ge()), { loading: Z, FINAL_DATASET: I } = Wt({
|
|
34
34
|
...wt(D),
|
|
35
35
|
FINAL_CONFIG: e,
|
|
36
36
|
prepareConfig: ge,
|
|
@@ -1311,7 +1311,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1311
1311
|
}, [
|
|
1312
1312
|
P(a.$slots, "source", {}, void 0, !0)
|
|
1313
1313
|
], 512)) : p("", !0),
|
|
1314
|
-
Me.value && x.value ? (u(), Q(Mt(oe.value.component), we({ key: 5 }, oe.value.props, {
|
|
1314
|
+
Me.value && x.value && e.value.userOptions.buttons.table ? (u(), Q(Mt(oe.value.component), we({ key: 5 }, oe.value.props, {
|
|
1315
1315
|
ref_key: "tableUnit",
|
|
1316
1316
|
ref: le,
|
|
1317
1317
|
onClose: Ve
|
|
@@ -1368,7 +1368,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1368
1368
|
n(Z) ? (u(), Q(Et, { key: 6 })) : p("", !0)
|
|
1369
1369
|
], 44, Zt));
|
|
1370
1370
|
}
|
|
1371
|
-
}, as = /* @__PURE__ */ Xt(Ho, [["__scopeId", "data-v-
|
|
1371
|
+
}, as = /* @__PURE__ */ Xt(Ho, [["__scopeId", "data-v-fe76b322"]]);
|
|
1372
1372
|
export {
|
|
1373
1373
|
as as default
|
|
1374
1374
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, createElementBlock as v, openBlock as u, createElementVNode as n, normalizeClass as $, normalizeStyle as p, createCommentVNode as O, renderSlot as c, createBlock as D, normalizeProps as i, mergeProps as N, guardReactiveProps as m } from "vue";
|
|
2
|
-
import w from "./BaseIcon-
|
|
3
|
-
import { u as x } from "./useNestedProp-
|
|
4
|
-
import { u as B, c as I } from "./index-
|
|
2
|
+
import w from "./BaseIcon-D_BjQBAR.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-Bg2FlIgI.js";
|
|
4
|
+
import { u as B, c as I } from "./index-C0wrF8hm.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as ht, c as ct, t as ft, b as gt, o as
|
|
1
|
+
import { defineAsyncComponent as T, computed as g, ref as v, toRefs as ut, watch as X, shallowRef as Se, onMounted as nt, onBeforeUnmount as ze, watchEffect as rt, createElementBlock as n, openBlock as i, unref as u, normalizeStyle as oe, normalizeClass as Oe, createBlock as D, createCommentVNode as y, renderSlot as h, createVNode as se, createSlots as Ie, withCtx as c, normalizeProps as P, guardReactiveProps as M, createElementVNode as d, Fragment as L, renderList as z, toDisplayString as _, resolveDynamicComponent as vt, mergeProps as dt, createTextVNode as ie, nextTick as yt } from "vue";
|
|
2
|
+
import { u as ht, c as ct, t as ft, b as gt, o as Fe, f as pt, h as p, X as bt, s as ue, x as Re, k as O, i as I, v as xt, w as mt, y as wt, z as kt } from "./index-C0wrF8hm.js";
|
|
3
3
|
import { t as De, u as _t } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Ct, B as At } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as Pe } from "./useNestedProp-
|
|
7
|
-
import { u as
|
|
5
|
+
import { u as Tt } from "./usePrinter-C2jvouU0.js";
|
|
6
|
+
import { u as Pe } from "./useNestedProp-Bg2FlIgI.js";
|
|
7
|
+
import { u as Lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { u as St } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
-
import zt from "./img-
|
|
11
|
-
import Ot from "./Title-
|
|
10
|
+
import zt from "./img-DLgjML7h.js";
|
|
11
|
+
import Ot from "./Title-DbQthJAs.js";
|
|
12
12
|
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
const
|
|
13
|
+
const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"], Pt = ["id"], Mt = ["stop-color"], Nt = ["stop-color"], Bt = ["id"], Et = ["stop-color"], Ut = ["stop-color"], Gt = ["x", "y", "width", "height", "fill", "rx"], Ht = ["x", "y", "width", "height", "fill", "rx"], Wt = ["x", "y", "width", "height", "fill", "rx"], Vt = ["x", "y", "width", "height", "fill", "rx"], Xt = { key: 0 }, jt = ["x", "y", "fill", "font-size", "font-weight"], Yt = ["x", "y", "fill", "font-size", "font-weight"], qt = { key: 1 }, Jt = ["x", "y", "font-size", "fill", "font-weight"], Kt = { key: 2 }, Qt = { key: 0 }, Zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = ["font-size", "fill", "text-anchor", "font-weight", "transform"], ol = ["font-size", "fill", "text-anchor", "font-weight", "transform"], sl = ["x", "y", "font-size", "fill", "font-weight"], il = ["x", "y", "width", "height", "fill", "onMouseover", "onMouseleave", "onClick"], ul = {
|
|
14
14
|
key: 4,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
16
|
}, nl = {
|
|
@@ -30,7 +30,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
setup(ne, { expose: Me }) {
|
|
33
|
-
const Ne =
|
|
33
|
+
const Ne = T(() => import("./Tooltip-DvtYLrX2.js")), Be = T(() => import("./BaseIcon-D_BjQBAR.js")), Ee = T(() => import("./vue-ui-accordion-3JuSLBjV.js")), Ue = T(() => import("./DataTable-IycMkaTU.js")), Ge = T(() => import("./PenAndPaper-BdzDJYnr.js")), He = T(() => import("./UserOptions-Dd5XOrwq.js")), We = T(() => import("./PackageVersion-BtfT0hV9.js")), Ve = T(() => import("./BaseDraggableDialog-BVZPPMT9.js")), { vue_ui_age_pyramid: Xe } = ht(), x = ne, re = g(() => !!x.dataset && x.dataset.length), w = v(ct()), j = v(!1), Y = v(""), U = v(null), ve = v(0), k = v(null), de = v(null), ye = v(null), he = v(null), ce = v(0), fe = v(0), q = v(null), N = v(null), J = v(null), e = v(Z()), { loading: ge, FINAL_DATASET: G, manualLoading: K } = Ct({
|
|
34
34
|
...ut(x),
|
|
35
35
|
FINAL_CONFIG: e,
|
|
36
36
|
prepareConfig: Z,
|
|
@@ -79,7 +79,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
})
|
|
82
|
-
}), { userOptionsVisible: Q, setUserOptionsVisibility: pe, keepUserOptionState: be } =
|
|
82
|
+
}), { userOptionsVisible: Q, setUserOptionsVisibility: pe, keepUserOptionState: be } = Lt({ config: e.value }), { svgRef: xe } = $t({ config: e.value.style.title });
|
|
83
83
|
function Z() {
|
|
84
84
|
const t = Pe({
|
|
85
85
|
userConfig: x.config,
|
|
@@ -97,17 +97,17 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
97
97
|
}, { deep: !0 }), X(() => x.dataset, (t) => {
|
|
98
98
|
Array.isArray(t) && t.length > 0 && (K.value = !1);
|
|
99
99
|
}, { deep: !0 });
|
|
100
|
-
const C = Se(null),
|
|
100
|
+
const C = Se(null), F = Se(null);
|
|
101
101
|
nt(() => {
|
|
102
102
|
me();
|
|
103
103
|
});
|
|
104
104
|
const je = g(() => !!e.value.debug);
|
|
105
105
|
function me() {
|
|
106
|
-
if (
|
|
106
|
+
if (Fe(x.dataset) && (pt({
|
|
107
107
|
componentName: "VueUiAgePyramid",
|
|
108
108
|
type: "dataset",
|
|
109
109
|
debug: je.value
|
|
110
|
-
}), K.value = !0),
|
|
110
|
+
}), K.value = !0), Fe(x.dataset) || (K.value = e.value.loading), e.value.responsive) {
|
|
111
111
|
const t = De(() => {
|
|
112
112
|
const { width: o, height: l } = _t({
|
|
113
113
|
chart: k.value,
|
|
@@ -119,13 +119,13 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
119
119
|
f.value.width = o, f.value.height = l;
|
|
120
120
|
});
|
|
121
121
|
});
|
|
122
|
-
C.value && (
|
|
122
|
+
C.value && (F.value && C.value.unobserve(F.value), C.value.disconnect()), C.value = new ResizeObserver(t), F.value = k.value.parentNode, C.value.observe(F.value);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
ze(() => {
|
|
126
|
-
C.value && (
|
|
126
|
+
C.value && (F.value && C.value.unobserve(F.value), C.value.disconnect());
|
|
127
127
|
});
|
|
128
|
-
const { isPrinting: we, isImaging: ke, generatePdf: _e, generateImage: Ce } =
|
|
128
|
+
const { isPrinting: we, isImaging: ke, generatePdf: _e, generateImage: Ce } = Tt({
|
|
129
129
|
elementId: `vue-ui-age-pyramid_${w.value}`,
|
|
130
130
|
fileName: e.value.style.title.text || "vue-ui-age-pyramid",
|
|
131
131
|
options: e.value.userOptions.print
|
|
@@ -197,7 +197,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
197
197
|
let a;
|
|
198
198
|
return t < 0, a = Math.round(t / l) * l, a;
|
|
199
199
|
}
|
|
200
|
-
const B = g(() => Math.max(...G.value.flatMap((t) => t.slice(-2).map((o) => p(o))))),
|
|
200
|
+
const B = g(() => Math.max(...G.value.flatMap((t) => t.slice(-2).map((o) => p(o))))), R = g(() => G.value.length), et = g(() => G.value.map((t) => ({
|
|
201
201
|
segment: t[0],
|
|
202
202
|
age: t[1],
|
|
203
203
|
left: {
|
|
@@ -209,7 +209,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
209
209
|
proportionToMax: t[3] / B.value
|
|
210
210
|
}
|
|
211
211
|
}))), $ = g(() => et.value.map((t, o) => {
|
|
212
|
-
const l = s.value.top + s.value.height /
|
|
212
|
+
const l = s.value.top + s.value.height / R.value * o, a = s.value.height / R.value - e.value.style.layout.bars.gap;
|
|
213
213
|
return {
|
|
214
214
|
segment: t.segment,
|
|
215
215
|
age: t.age,
|
|
@@ -341,10 +341,10 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
341
341
|
function Ae(t) {
|
|
342
342
|
S.value = t, ve.value += 1;
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function Te() {
|
|
345
345
|
b.value.showTable = !b.value.showTable;
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Le() {
|
|
348
348
|
b.value.showTooltip = !b.value.showTooltip;
|
|
349
349
|
}
|
|
350
350
|
const V = v(!1);
|
|
@@ -418,8 +418,8 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
418
418
|
generatePdf: _e,
|
|
419
419
|
generateCsv: le,
|
|
420
420
|
generateImage: Ce,
|
|
421
|
-
toggleTable:
|
|
422
|
-
toggleTooltip:
|
|
421
|
+
toggleTable: Te,
|
|
422
|
+
toggleTooltip: Le,
|
|
423
423
|
toggleAnnotator: ae,
|
|
424
424
|
toggleFullscreen: Ae
|
|
425
425
|
}), (t, o) => (i(), n("div", {
|
|
@@ -495,8 +495,8 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
495
495
|
onGeneratePdf: u(_e),
|
|
496
496
|
onGenerateCsv: le,
|
|
497
497
|
onGenerateImage: u(Ce),
|
|
498
|
-
onToggleTable:
|
|
499
|
-
onToggleTooltip:
|
|
498
|
+
onToggleTable: Te,
|
|
499
|
+
onToggleTooltip: Le,
|
|
500
500
|
onToggleAnnotator: ae,
|
|
501
501
|
style: oe({
|
|
502
502
|
visibility: u(be) ? u(Q) ? "visible" : "hidden" : "visible"
|
|
@@ -594,7 +594,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
594
594
|
}, null, 8, Mt),
|
|
595
595
|
d("stop", {
|
|
596
596
|
offset: "100%",
|
|
597
|
-
"stop-color": u(ue)(u(
|
|
597
|
+
"stop-color": u(ue)(u(Re)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
598
598
|
}, null, 8, Nt)
|
|
599
599
|
], 8, Pt),
|
|
600
600
|
d("linearGradient", {
|
|
@@ -606,7 +606,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
606
606
|
}, [
|
|
607
607
|
d("stop", {
|
|
608
608
|
offset: "0%",
|
|
609
|
-
"stop-color": u(ue)(u(
|
|
609
|
+
"stop-color": u(ue)(u(Re)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
610
610
|
}, null, 8, Et),
|
|
611
611
|
d("stop", {
|
|
612
612
|
offset: "100%",
|
|
@@ -614,7 +614,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
614
614
|
}, null, 8, Ut)
|
|
615
615
|
], 8, Bt)
|
|
616
616
|
]),
|
|
617
|
-
(i(!0), n(
|
|
617
|
+
(i(!0), n(L, null, z($.value, (l, a) => (i(), n("g", null, [
|
|
618
618
|
d("rect", {
|
|
619
619
|
x: l.left.x,
|
|
620
620
|
y: l.left.y,
|
|
@@ -668,11 +668,11 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
668
668
|
}, _(e.value.translations.male), 9, Yt)
|
|
669
669
|
])) : y("", !0),
|
|
670
670
|
e.value.style.layout.dataLabels.yAxis.show ? (i(), n("g", qt, [
|
|
671
|
-
(i(!0), n(
|
|
671
|
+
(i(!0), n(L, null, z(Qe.value, (l, a) => (i(), n(L, null, [
|
|
672
672
|
a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), n("text", {
|
|
673
673
|
key: 0,
|
|
674
674
|
x: s.value.centerX,
|
|
675
|
-
y: s.value.top + s.value.height /
|
|
675
|
+
y: s.value.top + s.value.height / R.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
|
|
676
676
|
"text-anchor": "middle",
|
|
677
677
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
678
678
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
@@ -706,7 +706,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
706
706
|
"stroke-linecap": "round"
|
|
707
707
|
}, null, 8, el)
|
|
708
708
|
])) : y("", !0),
|
|
709
|
-
(i(!0), n(
|
|
709
|
+
(i(!0), n(L, null, z(A.value.right, (l, a) => (i(), n("g", null, [
|
|
710
710
|
e.value.style.layout.grid.show ? (i(), n("line", {
|
|
711
711
|
key: 0,
|
|
712
712
|
x1: l.x,
|
|
@@ -718,7 +718,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
718
718
|
"stroke-linecap": "round"
|
|
719
719
|
}, null, 8, tl)) : y("", !0)
|
|
720
720
|
]))), 256)),
|
|
721
|
-
(i(!0), n(
|
|
721
|
+
(i(!0), n(L, null, z(A.value.left, (l, a) => (i(), n("g", null, [
|
|
722
722
|
e.value.style.layout.grid.show ? (i(), n("line", {
|
|
723
723
|
key: 0,
|
|
724
724
|
x1: l.x,
|
|
@@ -734,7 +734,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
734
734
|
ref_key: "xAxisLabels",
|
|
735
735
|
ref: q
|
|
736
736
|
}, [
|
|
737
|
-
(i(!0), n(
|
|
737
|
+
(i(!0), n(L, null, z(A.value.right, (l, a) => (i(), n("text", {
|
|
738
738
|
class: "vue-ui-age-pyramid-x-axis-label",
|
|
739
739
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
740
740
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
@@ -749,7 +749,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
749
749
|
}),
|
|
750
750
|
{ datapoint: l, seriesIndex: a }
|
|
751
751
|
)), 9, al))), 256)),
|
|
752
|
-
(i(!0), n(
|
|
752
|
+
(i(!0), n(L, null, z(A.value.left, (l, a) => (i(), n("text", {
|
|
753
753
|
class: "vue-ui-age-pyramid-x-axis-label",
|
|
754
754
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
755
755
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
@@ -775,12 +775,12 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
775
775
|
}, _(e.value.style.layout.dataLabels.xAxis.translation), 9, sl)
|
|
776
776
|
])) : y("", !0)
|
|
777
777
|
]),
|
|
778
|
-
(i(!0), n(
|
|
778
|
+
(i(!0), n(L, null, z(ne.dataset, (l, a) => (i(), n("g", null, [
|
|
779
779
|
d("rect", {
|
|
780
780
|
x: s.value.left,
|
|
781
|
-
y: s.value.top + s.value.height /
|
|
781
|
+
y: s.value.top + s.value.height / R.value * a - e.value.style.layout.bars.gap / 2,
|
|
782
782
|
width: s.value.width <= 0 ? 1e-4 : s.value.width,
|
|
783
|
-
height: s.value.height /
|
|
783
|
+
height: s.value.height / R.value <= 0 ? 1e-4 : s.value.height / R.value,
|
|
784
784
|
fill: U.value !== null && U.value === a ? u(ue)(e.value.style.highlighter.color, e.value.style.highlighter.opacity) : "transparent",
|
|
785
785
|
onMouseover: (r) => at(a, l),
|
|
786
786
|
onMouseleave: (r) => lt(a, l),
|
|
@@ -788,7 +788,7 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
788
788
|
}, null, 40, il)
|
|
789
789
|
]))), 256)),
|
|
790
790
|
h(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
791
|
-
], 14,
|
|
791
|
+
], 14, Rt)),
|
|
792
792
|
t.$slots.watermark ? (i(), n("div", ul, [
|
|
793
793
|
h(t.$slots, "watermark", P(M({ isPrinting: u(we) || u(ke) })), void 0, !0)
|
|
794
794
|
])) : y("", !0),
|
|
@@ -817,7 +817,9 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
817
817
|
isFullscreen: S.value,
|
|
818
818
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
819
819
|
smooth: e.value.style.tooltip.smooth,
|
|
820
|
-
backdropFilter: e.value.style.tooltip.backdropFilter
|
|
820
|
+
backdropFilter: e.value.style.tooltip.backdropFilter,
|
|
821
|
+
smoothForce: e.value.style.tooltip.smoothForce,
|
|
822
|
+
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
821
823
|
}, {
|
|
822
824
|
"tooltip-before": c(() => [
|
|
823
825
|
h(t.$slots, "tooltip-before", P(M({ ...ee.value })), void 0, !0)
|
|
@@ -826,8 +828,8 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
826
828
|
h(t.$slots, "tooltip-after", P(M({ ...ee.value })), void 0, !0)
|
|
827
829
|
]),
|
|
828
830
|
_: 3
|
|
829
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
830
|
-
re.value ? (i(), D(vt(E.value.component), dt({ key: 6 }, E.value.props, {
|
|
831
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
832
|
+
re.value && e.value.userOptions.buttons.table ? (i(), D(vt(E.value.component), dt({ key: 6 }, E.value.props, {
|
|
831
833
|
ref_key: "tableUnit",
|
|
832
834
|
ref: N,
|
|
833
835
|
onClose: $e
|
|
@@ -879,9 +881,9 @@ const Rt = ["id"], Ft = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
879
881
|
} : void 0
|
|
880
882
|
]), 1040)) : y("", !0),
|
|
881
883
|
u(ge) ? (i(), D(At, { key: 7 })) : y("", !0)
|
|
882
|
-
], 46,
|
|
884
|
+
], 46, Ft));
|
|
883
885
|
}
|
|
884
|
-
}, wl = /* @__PURE__ */ It(nl, [["__scopeId", "data-v-
|
|
886
|
+
}, wl = /* @__PURE__ */ It(nl, [["__scopeId", "data-v-c15f9534"]]);
|
|
885
887
|
export {
|
|
886
888
|
wl as default
|
|
887
889
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as p, t as v, u as w, B as A } from "./index-
|
|
2
|
-
import { d as M } from "./dom-to-png-
|
|
1
|
+
import { A as p, t as v, u as w, B as A } from "./index-C0wrF8hm.js";
|
|
2
|
+
import { d as M } from "./dom-to-png-j6qE-sAL.js";
|
|
3
3
|
import { createElementBlock as d, openBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, createCommentVNode as a, normalizeClass as y, createStaticVNode as F, withDirectives as N, vModelCheckbox as g, vModelText as C, renderSlot as O, Fragment as L, renderList as G } from "vue";
|
|
4
4
|
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const m = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as W, ref as c, computed as f, onMounted as Ie, toRefs as Pe, watch as ce, onBeforeUnmount as Fe, createElementBlock as n, openBlock as r, unref as o, normalizeStyle as D, normalizeClass as ve, createBlock as x, createCommentVNode as u, createElementVNode as _, createSlots as Te, withCtx as A, renderSlot as m, normalizeProps as F, guardReactiveProps as T, createVNode as He, Fragment as V, renderList as G, toDisplayString as H, Teleport as Me } from "vue";
|
|
2
|
-
import { u as Re, c as ze, t as Ne, l as Ue, D as Ee, e as We, k as M, i as R, X as De, o as he, f as de, g as Ve, b as Ge } from "./index-
|
|
3
|
-
import { u as ge } from "./useNestedProp-
|
|
4
|
-
import { u as je } from "./usePrinter-
|
|
2
|
+
import { u as Re, c as ze, t as Ne, l as Ue, D as Ee, e as We, k as M, i as R, X as De, o as he, f as de, g as Ve, b as Ge } from "./index-C0wrF8hm.js";
|
|
3
|
+
import { u as ge } from "./useNestedProp-Bg2FlIgI.js";
|
|
4
|
+
import { u as je } from "./usePrinter-C2jvouU0.js";
|
|
5
5
|
import { u as qe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Xe } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import Ye from "./Legend-
|
|
8
|
-
import Je from "./Title-
|
|
9
|
-
import Ke from "./img-
|
|
7
|
+
import Ye from "./Legend-D7l8BJ7z.js";
|
|
8
|
+
import Je from "./Title-DbQthJAs.js";
|
|
9
|
+
import Ke from "./img-DLgjML7h.js";
|
|
10
10
|
import { t as Qe, u as Ze } from "./useResponsive-DfdjqQps.js";
|
|
11
11
|
import { u as et, B as tt } from "./BaseScanner-BgWxam9d.js";
|
|
12
12
|
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -39,7 +39,7 @@ const lt = ["id"], st = {
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
setup(fe, { expose: me }) {
|
|
42
|
-
const ye = W(() => import("./PackageVersion-
|
|
42
|
+
const ye = W(() => import("./PackageVersion-BtfT0hV9.js")), pe = W(() => import("./PenAndPaper-BdzDJYnr.js")), be = W(() => import("./UserOptions-Dd5XOrwq.js")), { vue_ui_bullet: ke } = Re(), O = fe, y = c(null), j = c(null), q = c(0), X = c(null), Y = c(null), we = c(0), C = c(null), B = c(null), J = c(!1), b = f({
|
|
43
43
|
get: () => i.value.hasOwnProperty("value"),
|
|
44
44
|
set: (t) => t
|
|
45
45
|
}), L = f(() => i.value.segments ? Array.isArray(i.value.segments) ? i.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|