vue-data-ui 3.1.18 → 3.1.19-next.0
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-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-DRpg18lg.js} +3 -3
- package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CtECQwBN.js → UserOptions-Bn3u4JQu.js} +2 -2
- package/dist/components/arrow.js +5 -0
- package/dist/components/vue-ui-3d-bar.js +5 -0
- package/dist/components/vue-ui-accordion.js +5 -0
- package/dist/components/vue-ui-age-pyramid.js +5 -0
- package/dist/components/vue-ui-bullet.js +5 -0
- package/dist/components/vue-ui-candlestick.js +5 -0
- package/dist/components/vue-ui-carousel-table.js +5 -0
- package/dist/components/vue-ui-chestnut.js +5 -0
- package/dist/components/vue-ui-chord.js +5 -0
- package/dist/components/vue-ui-circle-pack.js +5 -0
- package/dist/components/vue-ui-cursor.js +5 -0
- package/dist/components/vue-ui-dashboard.js +5 -0
- package/dist/components/vue-ui-digits.js +5 -0
- package/dist/components/vue-ui-donut-evolution.js +5 -0
- package/dist/components/vue-ui-donut.js +5 -0
- package/dist/components/vue-ui-dumbbell.js +5 -0
- package/dist/components/vue-ui-flow.js +5 -0
- package/dist/components/vue-ui-funnel.js +5 -0
- package/dist/components/vue-ui-galaxy.js +5 -0
- package/dist/components/vue-ui-gauge.js +5 -0
- package/dist/components/vue-ui-gizmo.js +5 -0
- package/dist/components/vue-ui-heatmap.js +5 -0
- package/dist/components/vue-ui-history-plot.js +5 -0
- package/dist/components/vue-ui-horizontal-bar.js +5 -0
- package/dist/components/vue-ui-icon.js +5 -0
- package/dist/components/vue-ui-kpi.js +5 -0
- package/dist/components/vue-ui-mini-loader.js +5 -0
- package/dist/components/vue-ui-molecule.js +5 -0
- package/dist/components/vue-ui-mood-radar.js +5 -0
- package/dist/components/vue-ui-nested-donuts.js +5 -0
- package/dist/components/vue-ui-onion.js +5 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
- package/dist/components/vue-ui-pattern.js +5 -0
- package/dist/components/vue-ui-quadrant.js +5 -0
- package/dist/components/vue-ui-quick-chart.js +5 -0
- package/dist/components/vue-ui-radar.js +5 -0
- package/dist/components/vue-ui-rating.js +5 -0
- package/dist/components/vue-ui-relation-circle.js +5 -0
- package/dist/components/vue-ui-ridgeline.js +5 -0
- package/dist/components/vue-ui-rings.js +5 -0
- package/dist/components/vue-ui-scatter.js +5 -0
- package/dist/components/vue-ui-skeleton.js +5 -0
- package/dist/components/vue-ui-smiley.js +5 -0
- package/dist/components/vue-ui-spark-trend.js +5 -0
- package/dist/components/vue-ui-sparkbar.js +5 -0
- package/dist/components/vue-ui-sparkgauge.js +5 -0
- package/dist/components/vue-ui-sparkhistogram.js +5 -0
- package/dist/components/vue-ui-sparkline.js +5 -0
- package/dist/components/vue-ui-sparkstackbar.js +5 -0
- package/dist/components/vue-ui-stackbar.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +5 -0
- package/dist/components/vue-ui-table-heatmap.js +5 -0
- package/dist/components/vue-ui-table-sparkline.js +5 -0
- package/dist/components/vue-ui-table.js +5 -0
- package/dist/components/vue-ui-thermometer.js +5 -0
- package/dist/components/vue-ui-timer.js +5 -0
- package/dist/components/vue-ui-tiremarks.js +5 -0
- package/dist/components/vue-ui-treemap.js +5 -0
- package/dist/components/vue-ui-vertical-bar.js +5 -0
- package/dist/components/vue-ui-waffle.js +5 -0
- package/dist/components/vue-ui-wheel.js +5 -0
- package/dist/components/vue-ui-word-cloud.js +5 -0
- package/dist/components/vue-ui-world.js +5 -0
- package/dist/components/vue-ui-xy-canvas.js +5 -0
- package/dist/components/vue-ui-xy.js +5 -0
- package/dist/{dom-to-png-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D1L3r23x.js → pdf-Wd2BQz4D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/themes-D3cUNuKw.js +53 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/universal.d.ts +1 -0
- package/dist/types/vue-data-ui.d.ts +71 -21
- package/dist/types/vue-ui-3d-bar.d.ts +18 -0
- package/dist/types/vue-ui-accordion.d.ts +12 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
- package/dist/types/vue-ui-bullet.d.ts +16 -0
- package/dist/types/vue-ui-candlestick.d.ts +16 -0
- package/dist/types/vue-ui-carousel-table.d.ts +14 -0
- package/dist/types/vue-ui-chestnut.d.ts +17 -0
- package/dist/types/vue-ui-chord.d.ts +19 -0
- package/dist/types/vue-ui-circle-pack.d.ts +17 -0
- package/dist/types/vue-ui-cursor.d.ts +7 -0
- package/dist/types/vue-ui-dashboard.d.ts +14 -0
- package/dist/types/vue-ui-digits.d.ts +10 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
- package/dist/types/vue-ui-donut.d.ts +18 -0
- package/dist/types/vue-ui-dumbbell.d.ts +18 -0
- package/dist/types/vue-ui-flow.d.ts +18 -0
- package/dist/types/vue-ui-funnel.d.ts +15 -0
- package/dist/types/vue-ui-galaxy.d.ts +18 -0
- package/dist/types/vue-ui-gauge.d.ts +16 -0
- package/dist/types/vue-ui-gizmo.d.ts +14 -0
- package/dist/types/vue-ui-heatmap.d.ts +17 -0
- package/dist/types/vue-ui-history-plot.d.ts +19 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
- package/dist/types/vue-ui-icon.d.ts +16 -0
- package/dist/types/vue-ui-kpi.d.ts +13 -0
- package/dist/types/vue-ui-mini-loader.d.ts +13 -0
- package/dist/types/vue-ui-molecule.d.ts +17 -0
- package/dist/types/vue-ui-mood-radar.d.ts +17 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
- package/dist/types/vue-ui-onion.d.ts +18 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
- package/dist/types/vue-ui-pattern.d.ts +17 -0
- package/dist/types/vue-ui-quadrant.d.ts +20 -0
- package/dist/types/vue-ui-quick-chart.d.ts +16 -0
- package/dist/types/vue-ui-radar.d.ts +22 -0
- package/dist/types/vue-ui-rating.d.ts +15 -0
- package/dist/types/vue-ui-relation-circle.d.ts +17 -0
- package/dist/types/vue-ui-ridgeline.d.ts +20 -0
- package/dist/types/vue-ui-rings.d.ts +17 -0
- package/dist/types/vue-ui-scatter.d.ts +19 -0
- package/dist/types/vue-ui-skeleton.d.ts +12 -0
- package/dist/types/vue-ui-smiley.d.ts +14 -0
- package/dist/types/vue-ui-spark-trend.d.ts +13 -0
- package/dist/types/vue-ui-sparkbar.d.ts +15 -0
- package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
- package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
- package/dist/types/vue-ui-sparkline.d.ts +15 -0
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
- package/dist/types/vue-ui-stackbar.d.ts +18 -0
- package/dist/types/vue-ui-strip-plot.d.ts +19 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
- package/dist/types/vue-ui-table.d.ts +17 -0
- package/dist/types/vue-ui-thermometer.d.ts +15 -0
- package/dist/types/vue-ui-timer.d.ts +12 -0
- package/dist/types/vue-ui-tiremarks.d.ts +15 -0
- package/dist/types/vue-ui-treemap.d.ts +18 -0
- package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
- package/dist/types/vue-ui-waffle.d.ts +18 -0
- package/dist/types/vue-ui-wheel.d.ts +15 -0
- package/dist/types/vue-ui-word-cloud.d.ts +17 -0
- package/dist/types/vue-ui-world.d.ts +17 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
- package/dist/types/vue-ui-xy.d.ts +24 -0
- package/dist/universal-registry-CL8g2COA.js +70 -0
- package/dist/universal.js +5 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-nFj0xF0a.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/vue-data-ui-h5C8hpE8.js +317 -0
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-BZDLbeym.js} +58 -57
- package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
- package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
- package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
- package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
- package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
- package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-DqGoensA.js} +61 -60
- package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
- package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
- package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-CWgiy7rq.js} +39 -38
- package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
- package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
- package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-C8iSww9L.js} +127 -126
- package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
- package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
- package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-MM8rPNWR.js} +43 -42
- package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
- package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
- package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BCfEt867.js} +105 -104
- package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
- package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
- package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
- package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
- package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
- package/dist/{vue-ui-quadrant-BC99Cua7.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
- package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
- package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-BmmwGJaI.js} +90 -89
- package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
- package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
- package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-DS-YbQVr.js} +74 -73
- package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-D8kUADP7.js} +121 -120
- package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
- package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-qt8UvEPc.js} +47 -46
- package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DgHvA8ra.js} +16 -15
- package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
- package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BSGiRpQ9.js} +131 -130
- package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
- package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
- package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
- package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-DKHtmqLd.js} +9 -8
- package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
- package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
- package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-C4LZMTeg.js} +31 -31
- package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
- package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
- package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
- package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CP6jUrto.js} +76 -75
- package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-B59kWUZd.js} +85 -84
- package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
- package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-B6S7X6sr.js} +19 -19
- package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-BjzutuG2.js} +135 -134
- package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
- package/package.json +19 -11
- package/dist/index-smzxfsyV.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DeKmJzsE.js +0 -13
- package/dist/vue-data-ui-DcBYykse.js +0 -325
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { defineAsyncComponent as H, ref as c, computed as g, onMounted as
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
1
|
+
import { defineAsyncComponent as H, ref as c, computed as g, onMounted as Zt, toRefs as Jt, watch as Te, createElementBlock as p, openBlock as i, unref as r, normalizeStyle as W, normalizeClass as kt, createBlock as q, createCommentVNode as T, createElementVNode as G, createVNode as xe, createSlots as wt, withCtx as y, renderSlot as k, normalizeProps as J, guardReactiveProps as ee, Fragment as de, renderList as he, toDisplayString as te, Teleport as eo, resolveDynamicComponent as to, mergeProps as oo, createTextVNode as $t, nextTick as lo } from "vue";
|
|
2
|
+
import { c as He, t as ao, o as At, f as no, b as so, p as z, e as ro, q as x, h as uo, d as fe, X as io, G as Tt, Q as co, a as We, x as vo, y as ho, z as fo } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as po, u as go } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as mo, a as xt } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as bo } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as yo, B as Co } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
+
import { u as ko } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as wo } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { t as $o } from "./themes-D3cUNuKw.js";
|
|
10
|
+
import Ao from "./Legend-_Rv594VS.js";
|
|
11
|
+
import To from "./Title-pI68ZJsq.js";
|
|
12
|
+
import xo from "./img-CH7J0fYg.js";
|
|
12
13
|
import { _ as _o } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
14
|
const So = ["id"], Oo = {
|
|
14
15
|
key: 1,
|
|
15
16
|
ref: "noTitle",
|
|
16
17
|
class: "vue-data-ui-no-title-space",
|
|
17
18
|
style: "height:36px; width: 100%;background:transparent"
|
|
18
|
-
},
|
|
19
|
+
}, No = ["id"], Fo = ["xmlns", "viewBox"], Eo = ["width", "height"], Po = ["id"], Io = ["stop-color"], Mo = ["stop-color"], Do = ["d", "fill", "stroke", "stroke-width"], zo = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Bo = { key: 1 }, Lo = ["x", "y", "font-size", "fill"], Ro = ["x", "y", "font-size", "fill"], Ho = {
|
|
19
20
|
key: 4,
|
|
20
21
|
class: "vue-data-ui-watermark"
|
|
21
|
-
}, Wo = ["id"],
|
|
22
|
+
}, Wo = ["id"], Go = ["onClick"], Yo = ["innerHTML"], Uo = {
|
|
22
23
|
__name: "vue-ui-flow",
|
|
23
24
|
props: {
|
|
24
25
|
config: {
|
|
@@ -35,16 +36,16 @@ const So = ["id"], Oo = {
|
|
|
35
36
|
}
|
|
36
37
|
},
|
|
37
38
|
setup(_t, { expose: St }) {
|
|
38
|
-
const Ot = H(() => import("./Tooltip-
|
|
39
|
-
|
|
40
|
-
Xe.value = !0,
|
|
39
|
+
const Ot = H(() => import("./Tooltip-Clf2K3CF.js")), Nt = H(() => import("./BaseIcon-D2f9w5Z5.js")), Ft = H(() => import("./vue-ui-accordion-D-L73-T2.js")), Et = H(() => import("./DataTable-xISHA7Pu.js")), Pt = H(() => import("./PenAndPaper-CtDMyIvW.js")), It = H(() => import("./UserOptions-Bn3u4JQu.js")), Mt = H(() => import("./PackageVersion-DRpg18lg.js")), Dt = H(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_flow: zt } = mo(), F = _t, Y = c(He()), M = c(null), Ge = c(0), Ye = c(0), _e = c(!1), Se = c(""), Ue = c(null), je = c(null), Ve = c(null), oe = c(null), pe = c(null), Xe = c(!1), le = c(null), Oe = c(null), qe = g(() => !!F.dataset && F.dataset.length);
|
|
40
|
+
Zt(() => {
|
|
41
|
+
Xe.value = !0, Qe();
|
|
41
42
|
});
|
|
42
43
|
const U = c(!1);
|
|
43
44
|
function Ke(o) {
|
|
44
|
-
U.value = o,
|
|
45
|
+
U.value = o, Ge.value += 1;
|
|
45
46
|
}
|
|
46
|
-
const e = c(Pe()), { loading:
|
|
47
|
-
...
|
|
47
|
+
const e = c(Pe()), { loading: Ne, FINAL_DATASET: ge, manualLoading: Fe } = yo({
|
|
48
|
+
...Jt(F),
|
|
48
49
|
FINAL_CONFIG: e,
|
|
49
50
|
prepareConfig: Pe,
|
|
50
51
|
skeletonDataset: [
|
|
@@ -55,7 +56,7 @@ const So = ["id"], Oo = {
|
|
|
55
56
|
["F", "G", 0.5, "#AAAAAA"],
|
|
56
57
|
["G", "H", 0.25, "#AAAAAA"]
|
|
57
58
|
],
|
|
58
|
-
skeletonConfig:
|
|
59
|
+
skeletonConfig: ao({
|
|
59
60
|
defaultConfig: e.value,
|
|
60
61
|
userConfig: {
|
|
61
62
|
userOptions: { show: !1 },
|
|
@@ -87,15 +88,15 @@ const So = ["id"], Oo = {
|
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
})
|
|
90
|
-
}),
|
|
91
|
-
function
|
|
92
|
-
if (At(
|
|
91
|
+
}), Bt = g(() => !!e.value.debug);
|
|
92
|
+
function Qe() {
|
|
93
|
+
if (At(F.dataset) && (no({
|
|
93
94
|
componentName: "VueUiFlow",
|
|
94
95
|
type: "dataset",
|
|
95
|
-
debug:
|
|
96
|
-
}),
|
|
97
|
-
const o =
|
|
98
|
-
const { width: l, height: t } =
|
|
96
|
+
debug: Bt.value
|
|
97
|
+
}), Fe.value = !0), At(F.dataset) || (Fe.value = e.value.loading), e.value.responsive) {
|
|
98
|
+
const o = po(() => {
|
|
99
|
+
const { width: l, height: t } = go({
|
|
99
100
|
chart: M.value,
|
|
100
101
|
title: e.value.style.chart.title.text ? je.value : null,
|
|
101
102
|
legend: e.value.style.chart.legend.show ? Ue.value : null,
|
|
@@ -108,38 +109,38 @@ const So = ["id"], Oo = {
|
|
|
108
109
|
oe.value && (pe.value && oe.value.unobserve(pe.value), oe.value.disconnect()), oe.value = new ResizeObserver(o), pe.value = M.value.parentNode, oe.value.observe(pe.value);
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
|
-
const { userOptionsVisible: Ee, setUserOptionsVisibility:
|
|
112
|
+
const { userOptionsVisible: Ee, setUserOptionsVisibility: Ze, keepUserOptionState: Je } = ko({ config: e.value }), { svgRef: et } = wo({
|
|
112
113
|
config: e.value.style.chart.title
|
|
113
114
|
});
|
|
114
115
|
function Pe() {
|
|
115
116
|
const o = xt({
|
|
116
|
-
userConfig:
|
|
117
|
-
defaultConfig:
|
|
117
|
+
userConfig: F.config,
|
|
118
|
+
defaultConfig: zt
|
|
118
119
|
});
|
|
119
120
|
let l = o;
|
|
120
121
|
return o.theme ? l = {
|
|
121
122
|
...xt({
|
|
122
|
-
userConfig:
|
|
123
|
+
userConfig: $o.vue_ui_flow[o.theme] || F.config,
|
|
123
124
|
defaultConfig: o
|
|
124
125
|
}),
|
|
125
|
-
customPalette:
|
|
126
|
-
} : l = o, l.nodeCategories =
|
|
126
|
+
customPalette: so[o.theme] || z
|
|
127
|
+
} : l = o, l.nodeCategories = F.config.nodeCategories || {}, l.nodeCategoryColors = F.config.nodeCategoryColors || {}, l;
|
|
127
128
|
}
|
|
128
129
|
const tt = c(e.value.style.chart.width), ot = c(e.value.style.chart.height);
|
|
129
130
|
Te(
|
|
130
|
-
() =>
|
|
131
|
+
() => F.config,
|
|
131
132
|
(o) => {
|
|
132
|
-
|
|
133
|
+
Ne.value || (e.value = Pe()), Ee.value = !e.value.userOptions.showOnChartHover, Qe(), Ye.value += 1, E.value.showTable = e.value.table.show;
|
|
133
134
|
},
|
|
134
135
|
{ deep: !0 }
|
|
135
|
-
), Te(() =>
|
|
136
|
-
Array.isArray(o) && o.length > 0 && (
|
|
136
|
+
), Te(() => F.dataset, (o) => {
|
|
137
|
+
Array.isArray(o) && o.length > 0 && (Fe.value = !1);
|
|
137
138
|
}, { deep: !0 });
|
|
138
|
-
const { isPrinting: lt, isImaging: at, generatePdf: nt, generateImage: st } =
|
|
139
|
-
elementId: `flow_${
|
|
139
|
+
const { isPrinting: lt, isImaging: at, generatePdf: nt, generateImage: st } = bo({
|
|
140
|
+
elementId: `flow_${Y.value}`,
|
|
140
141
|
fileName: e.value.style.chart.title.text || "vue-ui-flow",
|
|
141
142
|
options: e.value.userOptions.print
|
|
142
|
-
}),
|
|
143
|
+
}), Lt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = g(() => ro(e.value.customPalette)), be = g(() => e.value.style.chart.nodes.width), E = c({
|
|
143
144
|
showTable: e.value.table.show,
|
|
144
145
|
showTooltip: e.value.style.chart.tooltip.show
|
|
145
146
|
});
|
|
@@ -153,7 +154,7 @@ const So = ["id"], Oo = {
|
|
|
153
154
|
o[0],
|
|
154
155
|
o[1],
|
|
155
156
|
x(o[2]),
|
|
156
|
-
o[3] ?
|
|
157
|
+
o[3] ? uo(o[3]) : me.value[l] || me.value[l % me.value.length] || z[l] || z[l % z.length]
|
|
157
158
|
]));
|
|
158
159
|
function Rt(o) {
|
|
159
160
|
const l = {}, t = {};
|
|
@@ -171,85 +172,85 @@ const So = ["id"], Oo = {
|
|
|
171
172
|
const h = l[a]?.level ?? 0, S = h + 1;
|
|
172
173
|
n(a, h), n(u, S), l[a].children.push({ target: u, value: d }), l[a].outflow += d, l[u].inflow += d;
|
|
173
174
|
});
|
|
174
|
-
const s = new Set(o.map(([a]) => a)), $ = new Set(o.map(([, a]) => a)),
|
|
175
|
-
|
|
176
|
-
ue[a] = me.value[u] ||
|
|
175
|
+
const s = new Set(o.map(([a]) => a)), $ = new Set(o.map(([, a]) => a)), Q = Array.from(s).filter((a) => !$.has(a)), ue = {};
|
|
176
|
+
Q.forEach((a, u) => {
|
|
177
|
+
ue[a] = me.value[u] || z[u % z.length];
|
|
177
178
|
});
|
|
178
179
|
const ie = {};
|
|
179
180
|
o.forEach(([a, u, d, h]) => {
|
|
180
181
|
h && (ie[a] = h, ie[u] = h);
|
|
181
182
|
}), Object.keys(l).forEach((a, u) => {
|
|
182
183
|
const d = e.value.nodeCategories?.[a], h = d ? e.value.nodeCategoryColors?.[d] : null;
|
|
183
|
-
l[a].color = ie[a] || h || (
|
|
184
|
+
l[a].color = ie[a] || h || (Q.includes(a) ? ue[a] : null) || z[u % z.length];
|
|
184
185
|
}), Object.keys(l).forEach((a) => {
|
|
185
186
|
l[a].value = Math.max(l[a].inflow, l[a].outflow);
|
|
186
187
|
});
|
|
187
|
-
const we = ae.value,
|
|
188
|
+
const we = ae.value, ze = ct.value.width, Z = ct.value.height, D = Object.keys(t).map(Number).sort((a, u) => a - u), $e = D.length || 1, Be = $e > 1 ? ze / ($e - 1) : 0, A = Number(be.value), I = Number(
|
|
188
189
|
e.value.style.chart.nodes.gapPx ?? e.value.style.chart.nodes.gap ?? 8
|
|
189
190
|
), ce = Number(e.value.style.chart.nodes.minHeight || 0);
|
|
190
191
|
function v(a) {
|
|
191
192
|
const u = t[a], d = u.length;
|
|
192
193
|
if (!d) return 1 / 0;
|
|
193
|
-
const h = Math.max(0, (d - 1) * I), S = Math.max(0,
|
|
194
|
-
let C = 0, O = u.map((f) => l[f].value || 0), b = O.reduce((f,
|
|
194
|
+
const h = Math.max(0, (d - 1) * I), S = Math.max(0, Z - h), B = Math.min(ce, d ? S / d : 0);
|
|
195
|
+
let C = 0, O = u.map((f) => l[f].value || 0), b = O.reduce((f, N) => f + N, 0);
|
|
195
196
|
for (let f = 0; f < 12; f += 1) {
|
|
196
|
-
const
|
|
197
|
+
const N = b > 0 ? (S - C) / b : 0, L = [];
|
|
197
198
|
for (let P = 0; P < O.length; P += 1) {
|
|
198
199
|
const R = O[P];
|
|
199
|
-
R < 0 || R *
|
|
200
|
+
R < 0 || R * N < B && L.push(P);
|
|
200
201
|
}
|
|
201
|
-
if (!
|
|
202
|
-
for (const P of
|
|
203
|
-
C +=
|
|
202
|
+
if (!L.length) return Math.max(0, N);
|
|
203
|
+
for (const P of L)
|
|
204
|
+
C += B, b -= O[P], O[P] = -1;
|
|
204
205
|
if (b <= 0) return 0;
|
|
205
206
|
}
|
|
206
207
|
return b > 0 ? Math.max(0, (S - C) / b) : 0;
|
|
207
208
|
}
|
|
208
209
|
const m = D.map(v), V = m.length ? Math.min(...m) : 0, X = {};
|
|
209
210
|
D.forEach((a) => {
|
|
210
|
-
const u = t[a], d = u.length, h = Math.max(0, (d - 1) * I), S = Math.max(0,
|
|
211
|
-
(f) => Math.max(
|
|
212
|
-
), O = C.reduce((f,
|
|
213
|
-
let b = Math.max(0, (
|
|
214
|
-
u.forEach((f,
|
|
215
|
-
const
|
|
211
|
+
const u = t[a], d = u.length, h = Math.max(0, (d - 1) * I), S = Math.max(0, Z - h), B = Math.min(ce, d ? S / d : 0), C = u.map(
|
|
212
|
+
(f) => Math.max(B, (l[f].value || 0) * V)
|
|
213
|
+
), O = C.reduce((f, N) => f + N, 0) + h;
|
|
214
|
+
let b = Math.max(0, (Z - O) / 2);
|
|
215
|
+
u.forEach((f, N) => {
|
|
216
|
+
const L = C[N], P = we.left + a * Be, R = b;
|
|
216
217
|
X[f] = {
|
|
217
218
|
x: P,
|
|
218
219
|
y: R,
|
|
219
220
|
absoluteY: R,
|
|
220
|
-
height:
|
|
221
|
-
i:
|
|
221
|
+
height: L,
|
|
222
|
+
i: N,
|
|
222
223
|
color: l[f].color,
|
|
223
224
|
value: l[f].value
|
|
224
|
-
}, b +=
|
|
225
|
+
}, b += L, N < d - 1 && (b += I);
|
|
225
226
|
});
|
|
226
227
|
});
|
|
227
|
-
const bt = [], ve = we.top,
|
|
228
|
+
const bt = [], ve = we.top, Le = {}, Re = {};
|
|
228
229
|
Object.keys(l).forEach((a) => {
|
|
229
|
-
|
|
230
|
+
Le[a] = X[a]?.y ?? 0, Re[a] = 0;
|
|
230
231
|
});
|
|
231
232
|
const Vt = 1e-6, Xt = 0.25;
|
|
232
233
|
return D.forEach((a) => {
|
|
233
234
|
t[a].forEach((d) => {
|
|
234
235
|
const h = l[d], S = X[d];
|
|
235
236
|
if (!h.children || !h.children.length) return;
|
|
236
|
-
let
|
|
237
|
+
let B = S.y;
|
|
237
238
|
h.children.forEach(({ target: C, value: O }) => {
|
|
238
|
-
const b = X[C], f = l[C],
|
|
239
|
-
let Ae = yt +
|
|
239
|
+
const b = X[C], f = l[C], N = h.outflow > 0 ? O / h.outflow : 0, L = f.inflow > 0 ? O / f.inflow : 0, P = x(B + ve), R = x(B + N * S.height + ve), yt = Le[C];
|
|
240
|
+
let Ae = yt + L * b.height;
|
|
240
241
|
Re[C] += O;
|
|
241
242
|
const qt = f.inflow > 0 && Re[C] >= f.inflow - Vt, Ct = b.y + b.height;
|
|
242
243
|
(qt || Ae > Ct - Xt) && (Ae = Ct);
|
|
243
|
-
const Kt = x(yt + ve),
|
|
244
|
+
const Kt = x(yt + ve), Qt = x(Ae + ve);
|
|
244
245
|
bt.push({
|
|
245
246
|
id: He(),
|
|
246
247
|
source: d,
|
|
247
248
|
target: C,
|
|
248
|
-
path: `M ${x(S.x + A)} ${P} L ${x(S.x + A)} ${R} L ${x(b.x)} ${
|
|
249
|
+
path: `M ${x(S.x + A)} ${P} L ${x(S.x + A)} ${R} L ${x(b.x)} ${Qt} L ${x(b.x)} ${Kt} Z`,
|
|
249
250
|
value: O,
|
|
250
251
|
sourceColor: h.color,
|
|
251
252
|
targetColor: l[C].color
|
|
252
|
-
}),
|
|
253
|
+
}), B = R - ve, Le[C] = Ae;
|
|
253
254
|
});
|
|
254
255
|
});
|
|
255
256
|
}), { nodeCoordinates: X, links: bt };
|
|
@@ -272,7 +273,7 @@ const So = ["id"], Oo = {
|
|
|
272
273
|
}));
|
|
273
274
|
function Ht(o) {
|
|
274
275
|
const l = {}, t = {}, n = /* @__PURE__ */ new Set();
|
|
275
|
-
return rt.value.forEach(([s, $,
|
|
276
|
+
return rt.value.forEach(([s, $, Q]) => {
|
|
276
277
|
l[s] || (l[s] = []), t[$] || (t[$] = []), l[s].push($), t[$].push(s);
|
|
277
278
|
}), l[o] && l[o].forEach((s) => n.add(s)), t[o] && t[o].forEach((s) => n.add(s)), Array.from(n).concat(o);
|
|
278
279
|
}
|
|
@@ -280,26 +281,26 @@ const So = ["id"], Oo = {
|
|
|
280
281
|
function Wt(o, l) {
|
|
281
282
|
j.value = [], w.value = Ht(o.name), K.value = o.name;
|
|
282
283
|
const t = o.name, n = rt.value;
|
|
283
|
-
let s = 0, $ = 0,
|
|
284
|
-
const ie = new Set(n.map(([v]) => v)), we = new Set(n.map(([, v]) => v)),
|
|
284
|
+
let s = 0, $ = 0, Q = [], ue = [];
|
|
285
|
+
const ie = new Set(n.map(([v]) => v)), we = new Set(n.map(([, v]) => v)), ze = Array.from(ie).filter((v) => !we.has(v)), Z = n.filter(([v]) => ze.includes(v)).reduce((v, [m, V, X]) => v + X, 0), D = {};
|
|
285
286
|
_.value.nodes.forEach((v) => {
|
|
286
287
|
D[v.name] = v.color;
|
|
287
288
|
}), n.forEach(([v, m, V]) => {
|
|
288
|
-
m === t && (s += V,
|
|
289
|
+
m === t && (s += V, Q.push({ source: v, value: V, color: D[v] })), v === t && ($ += V, ue.push({ target: m, value: V, color: D[m] }));
|
|
289
290
|
});
|
|
290
|
-
const $e = Math.max(s, $),
|
|
291
|
+
const $e = Math.max(s, $), Be = Z > 0 ? $e / Z * 100 : 0, A = {
|
|
291
292
|
name: t,
|
|
292
293
|
inflow: s,
|
|
293
294
|
outflow: $,
|
|
294
|
-
from:
|
|
295
|
+
from: Q,
|
|
295
296
|
to: ue,
|
|
296
|
-
percentOfTotal:
|
|
297
|
+
percentOfTotal: Be,
|
|
297
298
|
color: D[t] || "#000000"
|
|
298
299
|
};
|
|
299
300
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: A, seriesIndex: l }), se.value = { datapoint: A }, _e.value = !0;
|
|
300
301
|
let I = "";
|
|
301
302
|
const ce = e.value.style.chart.tooltip.customFormat;
|
|
302
|
-
if (ye.value = !1,
|
|
303
|
+
if (ye.value = !1, fo(ce))
|
|
303
304
|
try {
|
|
304
305
|
const v = ce({
|
|
305
306
|
datapoint: A,
|
|
@@ -346,7 +347,7 @@ const So = ["id"], Oo = {
|
|
|
346
347
|
const l = se.value;
|
|
347
348
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), w.value = null, K.value = null, _e.value = !1;
|
|
348
349
|
}
|
|
349
|
-
function
|
|
350
|
+
function Gt(o) {
|
|
350
351
|
const l = se.value;
|
|
351
352
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: o });
|
|
352
353
|
}
|
|
@@ -369,8 +370,8 @@ const So = ["id"], Oo = {
|
|
|
369
370
|
[e.value.table.columnNames.target],
|
|
370
371
|
[e.value.table.columnNames.value]
|
|
371
372
|
]
|
|
372
|
-
].concat(l), n =
|
|
373
|
-
o ? o(n) :
|
|
373
|
+
].concat(l), n = vo(t);
|
|
374
|
+
o ? o(n) : ho({
|
|
374
375
|
csvContent: n,
|
|
375
376
|
title: e.value.style.chart.title.text || "vue-ui-flow"
|
|
376
377
|
});
|
|
@@ -422,7 +423,7 @@ const So = ["id"], Oo = {
|
|
|
422
423
|
config: t
|
|
423
424
|
};
|
|
424
425
|
});
|
|
425
|
-
function
|
|
426
|
+
function Yt() {
|
|
426
427
|
return _.value;
|
|
427
428
|
}
|
|
428
429
|
function ht() {
|
|
@@ -443,7 +444,7 @@ const So = ["id"], Oo = {
|
|
|
443
444
|
);
|
|
444
445
|
return Array.from(o).map((l) => ({
|
|
445
446
|
name: l,
|
|
446
|
-
color: e.value.nodeCategoryColors[l] ||
|
|
447
|
+
color: e.value.nodeCategoryColors[l] || z[0],
|
|
447
448
|
shape: "square",
|
|
448
449
|
count: _.value.nodes.filter(
|
|
449
450
|
(t) => (e.value.nodeCategories[t.name] || "__uncategorized__") === l
|
|
@@ -489,7 +490,7 @@ const So = ["id"], Oo = {
|
|
|
489
490
|
const re = g(() => {
|
|
490
491
|
const o = e.value.table.useDialog && !e.value.table.show, l = E.value.showTable;
|
|
491
492
|
return {
|
|
492
|
-
component: o ? Dt :
|
|
493
|
+
component: o ? Dt : Ft,
|
|
493
494
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
494
495
|
props: o ? {
|
|
495
496
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -523,7 +524,7 @@ const So = ["id"], Oo = {
|
|
|
523
524
|
E.value.showTable = !1, Oe.value && Oe.value.setTableIconState(!1);
|
|
524
525
|
}
|
|
525
526
|
return St({
|
|
526
|
-
getData:
|
|
527
|
+
getData: Yt,
|
|
527
528
|
getImage: jt,
|
|
528
529
|
generateCsv: Ie,
|
|
529
530
|
generateImage: st,
|
|
@@ -539,9 +540,9 @@ const So = ["id"], Oo = {
|
|
|
539
540
|
ref: M,
|
|
540
541
|
class: kt(`vue-ui-flow ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
541
542
|
style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
542
|
-
id: `flow_${
|
|
543
|
-
onMouseenter: l[2] || (l[2] = () => r(
|
|
544
|
-
onMouseleave: l[3] || (l[3] = () => r(
|
|
543
|
+
id: `flow_${Y.value}`,
|
|
544
|
+
onMouseenter: l[2] || (l[2] = () => r(Ze)(!0)),
|
|
545
|
+
onMouseleave: l[3] || (l[3] = () => r(Ze)(!1))
|
|
545
546
|
}, [
|
|
546
547
|
e.value.userOptions.buttons.annotator ? (i(), q(r(Pt), {
|
|
547
548
|
key: 0,
|
|
@@ -551,7 +552,7 @@ const So = ["id"], Oo = {
|
|
|
551
552
|
active: ke.value,
|
|
552
553
|
onClose: Me
|
|
553
554
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : T("", !0),
|
|
554
|
-
|
|
555
|
+
Lt.value ? (i(), p("div", Oo, null, 512)) : T("", !0),
|
|
555
556
|
e.value.style.chart.title.text ? (i(), p("div", {
|
|
556
557
|
key: 2,
|
|
557
558
|
ref_key: "chartTitle",
|
|
@@ -559,7 +560,7 @@ const So = ["id"], Oo = {
|
|
|
559
560
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
560
561
|
}, [
|
|
561
562
|
(i(), q(To, {
|
|
562
|
-
key: `title_${
|
|
563
|
+
key: `title_${Ye.value}`,
|
|
563
564
|
config: {
|
|
564
565
|
title: {
|
|
565
566
|
cy: "flow-title",
|
|
@@ -572,18 +573,18 @@ const So = ["id"], Oo = {
|
|
|
572
573
|
}
|
|
573
574
|
}, null, 8, ["config"]))
|
|
574
575
|
], 512)) : T("", !0),
|
|
575
|
-
|
|
576
|
-
id: `legend-top-${
|
|
577
|
-
}, null, 8,
|
|
578
|
-
e.value.userOptions.show && qe.value && (r(
|
|
576
|
+
G("div", {
|
|
577
|
+
id: `legend-top-${Y.value}`
|
|
578
|
+
}, null, 8, No),
|
|
579
|
+
e.value.userOptions.show && qe.value && (r(Je) || r(Ee)) ? (i(), q(r(It), {
|
|
579
580
|
ref_key: "userOptionsRef",
|
|
580
581
|
ref: Oe,
|
|
581
|
-
key: `user_option_${
|
|
582
|
+
key: `user_option_${Ge.value}`,
|
|
582
583
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
583
584
|
color: e.value.style.chart.color,
|
|
584
585
|
isPrinting: r(lt),
|
|
585
586
|
isImaging: r(at),
|
|
586
|
-
uid:
|
|
587
|
+
uid: Y.value,
|
|
587
588
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
588
589
|
hasXls: e.value.userOptions.buttons.csv,
|
|
589
590
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -608,13 +609,13 @@ const So = ["id"], Oo = {
|
|
|
608
609
|
onToggleTable: ht,
|
|
609
610
|
onToggleAnnotator: Me,
|
|
610
611
|
style: W({
|
|
611
|
-
visibility: r(
|
|
612
|
+
visibility: r(Je) ? r(Ee) ? "visible" : "hidden" : "visible"
|
|
612
613
|
})
|
|
613
614
|
}, wt({ _: 2 }, [
|
|
614
615
|
o.$slots.menuIcon ? {
|
|
615
616
|
name: "menuIcon",
|
|
616
617
|
fn: y(({ isOpen: t, color: n }) => [
|
|
617
|
-
k(o.$slots, "menuIcon",
|
|
618
|
+
k(o.$slots, "menuIcon", J(ee({ isOpen: t, color: n })), void 0, !0)
|
|
618
619
|
]),
|
|
619
620
|
key: "0"
|
|
620
621
|
} : void 0,
|
|
@@ -656,14 +657,14 @@ const So = ["id"], Oo = {
|
|
|
656
657
|
o.$slots.optionFullscreen ? {
|
|
657
658
|
name: "optionFullscreen",
|
|
658
659
|
fn: y(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
659
|
-
k(o.$slots, "optionFullscreen",
|
|
660
|
+
k(o.$slots, "optionFullscreen", J(ee({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
|
|
660
661
|
]),
|
|
661
662
|
key: "6"
|
|
662
663
|
} : void 0,
|
|
663
664
|
o.$slots.optionAnnotator ? {
|
|
664
665
|
name: "optionAnnotator",
|
|
665
666
|
fn: y(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
666
|
-
k(o.$slots, "optionAnnotator",
|
|
667
|
+
k(o.$slots, "optionAnnotator", J(ee({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
|
|
667
668
|
]),
|
|
668
669
|
key: "7"
|
|
669
670
|
} : void 0
|
|
@@ -671,7 +672,7 @@ const So = ["id"], Oo = {
|
|
|
671
672
|
(i(), p("svg", {
|
|
672
673
|
ref_key: "svgRef",
|
|
673
674
|
ref: et,
|
|
674
|
-
xmlns: r(
|
|
675
|
+
xmlns: r(io),
|
|
675
676
|
viewBox: `0 0 ${ne.value.width} ${ne.value.height}`,
|
|
676
677
|
class: kt({
|
|
677
678
|
"vue-data-ui-fullscreen--on": U.value,
|
|
@@ -697,7 +698,7 @@ const So = ["id"], Oo = {
|
|
|
697
698
|
}, [
|
|
698
699
|
k(o.$slots, "chart-background", {}, void 0, !0)
|
|
699
700
|
], 8, Eo)) : T("", !0),
|
|
700
|
-
|
|
701
|
+
G("defs", null, [
|
|
701
702
|
(i(!0), p(de, null, he(_.value.links, (t, n) => (i(), p("linearGradient", {
|
|
702
703
|
id: t.id,
|
|
703
704
|
x1: "0%",
|
|
@@ -705,11 +706,11 @@ const So = ["id"], Oo = {
|
|
|
705
706
|
x2: "100%",
|
|
706
707
|
y2: "0%"
|
|
707
708
|
}, [
|
|
708
|
-
|
|
709
|
+
G("stop", {
|
|
709
710
|
offset: "0%",
|
|
710
711
|
"stop-color": t.sourceColor
|
|
711
712
|
}, null, 8, Io),
|
|
712
|
-
|
|
713
|
+
G("stop", {
|
|
713
714
|
offset: "100%",
|
|
714
715
|
"stop-color": t.targetColor
|
|
715
716
|
}, null, 8, Mo)
|
|
@@ -739,9 +740,9 @@ const So = ["id"], Oo = {
|
|
|
739
740
|
onMouseenter: (s) => Wt(t, n),
|
|
740
741
|
onMouseleave: (s) => vt(n),
|
|
741
742
|
style: W(`opacity:${w.value ? w.value.includes(t.name) ? 1 : 0.3 : 1}`),
|
|
742
|
-
onClick: (s) =>
|
|
743
|
-
}, null, 44,
|
|
744
|
-
e.value.style.chart.nodes.labels.show ? (i(), p("g",
|
|
743
|
+
onClick: (s) => Gt(n)
|
|
744
|
+
}, null, 44, zo))), 256)),
|
|
745
|
+
e.value.style.chart.nodes.labels.show ? (i(), p("g", Bo, [
|
|
745
746
|
(i(!0), p(de, null, he(_.value.nodes, (t, n) => (i(), p("text", {
|
|
746
747
|
x: t.x + be.value / 2,
|
|
747
748
|
y: r(x)(
|
|
@@ -751,10 +752,10 @@ const So = ["id"], Oo = {
|
|
|
751
752
|
fill: r(Tt)(t.color),
|
|
752
753
|
"text-anchor": "middle",
|
|
753
754
|
style: W(`pointer-events: none; opacity:${w.value ? w.value.includes(t.name) ? 1 : 0 : 1}`)
|
|
754
|
-
}, te(e.value.style.chart.nodes.labels.abbreviation.use ? r(
|
|
755
|
+
}, te(e.value.style.chart.nodes.labels.abbreviation.use ? r(co)({
|
|
755
756
|
source: t.name,
|
|
756
757
|
length: e.value.style.chart.nodes.labels.abbreviation.length
|
|
757
|
-
}) : t.name), 13,
|
|
758
|
+
}) : t.name), 13, Lo))), 256)),
|
|
758
759
|
(i(!0), p(de, null, he(_.value.nodes, (t, n) => (i(), p("text", {
|
|
759
760
|
x: t.x + be.value / 2,
|
|
760
761
|
y: r(x)(
|
|
@@ -777,18 +778,18 @@ const So = ["id"], Oo = {
|
|
|
777
778
|
)), 13, Ro))), 256))
|
|
778
779
|
])) : T("", !0),
|
|
779
780
|
k(o.$slots, "svg", { svg: ne.value }, void 0, !0)
|
|
780
|
-
], 14,
|
|
781
|
+
], 14, Fo)),
|
|
781
782
|
o.$slots.watermark ? (i(), p("div", Ho, [
|
|
782
|
-
k(o.$slots, "watermark",
|
|
783
|
+
k(o.$slots, "watermark", J(ee({ isPrinting: r(lt) || r(at) })), void 0, !0)
|
|
783
784
|
])) : T("", !0),
|
|
784
|
-
|
|
785
|
-
id: `legend-bottom-${
|
|
785
|
+
G("div", {
|
|
786
|
+
id: `legend-bottom-${Y.value}`
|
|
786
787
|
}, null, 8, Wo),
|
|
787
788
|
Xe.value ? (i(), q(eo, {
|
|
788
789
|
key: 5,
|
|
789
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
790
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${Y.value}` : `#legend-bottom-${Y.value}`
|
|
790
791
|
}, [
|
|
791
|
-
|
|
792
|
+
G("div", {
|
|
792
793
|
ref_key: "chartLegend",
|
|
793
794
|
ref: Ue
|
|
794
795
|
}, [
|
|
@@ -799,11 +800,11 @@ const So = ["id"], Oo = {
|
|
|
799
800
|
onClickMarker: l[0] || (l[0] = (t) => De(t))
|
|
800
801
|
}, {
|
|
801
802
|
item: y(({ legend: t, index: n }) => [
|
|
802
|
-
r(
|
|
803
|
+
r(Ne) ? T("", !0) : (i(), p("div", {
|
|
803
804
|
key: 0,
|
|
804
805
|
onClick: (s) => t.segregate(),
|
|
805
806
|
style: W(`opacity:${j.value.length ? j.value.includes(n) ? 1 : 0.5 : 1}`)
|
|
806
|
-
}, te(t.name) + " (" + te(t.count) + ") ", 13,
|
|
807
|
+
}, te(t.name) + " (" + te(t.count) + ") ", 13, Go))
|
|
807
808
|
]),
|
|
808
809
|
_: 1
|
|
809
810
|
}, 8, ["legendSet", "config"])) : T("", !0),
|
|
@@ -839,10 +840,10 @@ const So = ["id"], Oo = {
|
|
|
839
840
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
840
841
|
}, {
|
|
841
842
|
"tooltip-before": y(() => [
|
|
842
|
-
k(o.$slots, "tooltip-before",
|
|
843
|
+
k(o.$slots, "tooltip-before", J(ee({ ...se.value })), void 0, !0)
|
|
843
844
|
]),
|
|
844
845
|
"tooltip-after": y(() => [
|
|
845
|
-
k(o.$slots, "tooltip-after",
|
|
846
|
+
k(o.$slots, "tooltip-after", J(ee({ ...se.value })), void 0, !0)
|
|
846
847
|
]),
|
|
847
848
|
_: 3
|
|
848
849
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -862,10 +863,10 @@ const So = ["id"], Oo = {
|
|
|
862
863
|
onClose: mt
|
|
863
864
|
}, {
|
|
864
865
|
th: y(({ th: t }) => [
|
|
865
|
-
|
|
866
|
+
G("div", {
|
|
866
867
|
innerHTML: t,
|
|
867
868
|
style: { display: "flex", "align-items": "center" }
|
|
868
|
-
}, null, 8,
|
|
869
|
+
}, null, 8, Yo)
|
|
869
870
|
]),
|
|
870
871
|
td: y(({ td: t }) => [
|
|
871
872
|
$t(te(t.name || t), 1)
|
|
@@ -885,12 +886,12 @@ const So = ["id"], Oo = {
|
|
|
885
886
|
e.value.table.useDialog ? {
|
|
886
887
|
name: "actions",
|
|
887
888
|
fn: y(() => [
|
|
888
|
-
|
|
889
|
+
G("button", {
|
|
889
890
|
tabindex: "0",
|
|
890
891
|
class: "vue-ui-user-options-button",
|
|
891
892
|
onClick: l[1] || (l[1] = (t) => Ie(e.value.userOptions.callbacks.csv))
|
|
892
893
|
}, [
|
|
893
|
-
xe(r(
|
|
894
|
+
xe(r(Nt), {
|
|
894
895
|
name: "excel",
|
|
895
896
|
stroke: re.value.props.color
|
|
896
897
|
}, null, 8, ["stroke"])
|
|
@@ -899,10 +900,10 @@ const So = ["id"], Oo = {
|
|
|
899
900
|
key: "1"
|
|
900
901
|
} : void 0
|
|
901
902
|
]), 1040)) : T("", !0),
|
|
902
|
-
r(
|
|
903
|
+
r(Ne) ? (i(), q(Co, { key: 8 })) : T("", !0)
|
|
903
904
|
], 46, So));
|
|
904
905
|
}
|
|
905
|
-
},
|
|
906
|
+
}, nl = /* @__PURE__ */ _o(Uo, [["__scopeId", "data-v-4bb3bdeb"]]);
|
|
906
907
|
export {
|
|
907
|
-
|
|
908
|
+
nl as default
|
|
908
909
|
};
|