vue-data-ui 2.6.18 → 2.6.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/{Arrow-Ci41JBXA.js → Arrow-C9wt_iwE.js} +1 -1
- package/dist/{Arrow-C-haYOvL.cjs → Arrow-mU42Peiq.cjs} +1 -1
- package/dist/{BaseIcon-D0Ifzd3J.js → BaseIcon-CR8s5lLC.js} +1 -1
- package/dist/{BaseIcon-Brc1PN_Z.cjs → BaseIcon-DMhDupLt.cjs} +1 -1
- package/dist/{DataTable-BH56SPdO.js → DataTable-CMUyDj6S.js} +2 -2
- package/dist/{DataTable-AQsQHTem.cjs → DataTable-Qba16zLZ.cjs} +1 -1
- package/dist/{Legend-w7VxyGN0.js → Legend-CaMKYW-V.js} +2 -2
- package/dist/{Legend-CNiGY3Yx.cjs → Legend-EauKcdAx.cjs} +1 -1
- package/dist/{PackageVersion-D1edJun6.js → PackageVersion-CURzw4q1.js} +1 -1
- package/dist/{PackageVersion-DO_17qoR.cjs → PackageVersion-Vv7wNIAl.cjs} +1 -1
- package/dist/{PenAndPaper-DWnLI5jM.js → PenAndPaper-CjiJra09.js} +3 -3
- package/dist/{PenAndPaper-BPAfK8a6.cjs → PenAndPaper-DSEAEpTs.cjs} +1 -1
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Bnwg64-7.js → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-BzSorLrT.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Cw1RBp7H.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-DB_DsgPX.cjs} +1 -1
- package/dist/{Shape-RfSE_FzV.js → Shape-F5v4f45p.js} +1 -1
- package/dist/{Shape-J26jxMZ5.cjs → Shape-gLknKTb6.cjs} +1 -1
- package/dist/{Slicer-oASHP3Lx.cjs → Slicer-CVVRixhP.cjs} +1 -1
- package/dist/{Slicer-DMdxtlpr.js → Slicer-DQp19cm1.js} +2 -2
- package/dist/{Title-xfHZTDT9.js → Title-CUHNtIyE.js} +1 -1
- package/dist/{Title-ypQseB5s.cjs → Title-m1x23s4w.cjs} +1 -1
- package/dist/{Tooltip-DQZLR6XD.cjs → Tooltip-BXY2gKbA.cjs} +1 -1
- package/dist/{Tooltip-CF9cKbnr.js → Tooltip-BuAQ8HVL.js} +1 -1
- package/dist/{index-CkqI12gj.cjs → index-CmhvuQro.cjs} +1 -1
- package/dist/{index-Df45PKBw.js → index-Cq7-va_5.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BaSIdRPe.js → useNestedProp-BEyJNlaO.js} +1 -1
- package/dist/{useNestedProp-B5QzQ7cl.cjs → useNestedProp-CnH-XcZU.cjs} +1 -1
- package/dist/usePrinter-DhZH4pcR.cjs +1 -0
- package/dist/{usePrinter-MC5pKUx5.js → usePrinter-jRjc8Naz.js} +72 -70
- package/dist/{vue-data-ui-BiXf5MnL.js → vue-data-ui-BPSCRfcK.js} +61 -61
- package/dist/{vue-data-ui--Yx3VAj0.cjs → vue-data-ui-DD5SV4SW.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BXW-ZMgi.cjs → vue-ui-3d-bar-BlCSdagh.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-DBJJ2kqD.js → vue-ui-3d-bar-TB1XdncJ.js} +105 -98
- package/dist/{vue-ui-accordion-4ngKbp5a.cjs → vue-ui-accordion-C3Ljak65.cjs} +1 -1
- package/dist/{vue-ui-accordion-BbCvey8w.js → vue-ui-accordion-vAQ_LLoP.js} +3 -3
- package/dist/{vue-ui-age-pyramid-04E6Wqie.js → vue-ui-age-pyramid-BUWoRp_B.js} +75 -68
- package/dist/{vue-ui-age-pyramid-Cpi72E7Q.cjs → vue-ui-age-pyramid-CrDKpPil.cjs} +1 -1
- package/dist/{vue-ui-annotator-tv-3u5J-.js → vue-ui-annotator-BVE-xqSy.js} +1 -1
- package/dist/{vue-ui-annotator-BzdyBaoy.cjs → vue-ui-annotator-wjsB7Ihy.cjs} +1 -1
- package/dist/{vue-ui-bullet-B-UjWb-f.cjs → vue-ui-bullet-BcU0lGMw.cjs} +4 -4
- package/dist/{vue-ui-bullet-B0jpb3iz.js → vue-ui-bullet-Cj4GC_-F.js} +145 -138
- package/dist/{vue-ui-candlestick-Cx6UAvss.js → vue-ui-candlestick-C2hAp3Fi.js} +115 -108
- package/dist/{vue-ui-candlestick-DEK3P-Tu.cjs → vue-ui-candlestick-n--kSbN7.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BPvJKE6W.cjs → vue-ui-carousel-table-CU96d16y.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bk6LMH1D.js → vue-ui-carousel-table-Do1uzI_G.js} +130 -123
- package/dist/{vue-ui-chestnut-DKesYDji.cjs → vue-ui-chestnut-DJq8IWIL.cjs} +2 -2
- package/dist/{vue-ui-chestnut-BLYeNCKN.js → vue-ui-chestnut-fb3ioT4a.js} +131 -124
- package/dist/{vue-ui-circle-pack-DF8CPgPU.js → vue-ui-circle-pack-DByIHOMA.js} +165 -158
- package/dist/{vue-ui-circle-pack-D_2k6N20.cjs → vue-ui-circle-pack-DnwKX38S.cjs} +1 -1
- package/dist/{vue-ui-cursor-B29UJWQo.cjs → vue-ui-cursor-DSCiOK2l.cjs} +1 -1
- package/dist/{vue-ui-cursor-DySRIo_p.js → vue-ui-cursor-scYLETJY.js} +2 -2
- package/dist/{vue-ui-dashboard-5JkE1uRk.cjs → vue-ui-dashboard-BBDfkeCW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CHO6UMlJ.js → vue-ui-dashboard-DjxJGI1j.js} +2 -2
- package/dist/{vue-ui-digits-D5h4HAzq.js → vue-ui-digits-7bQAdMhs.js} +2 -2
- package/dist/{vue-ui-digits-DvANBwd7.cjs → vue-ui-digits-Cmn1NNzQ.cjs} +1 -1
- package/dist/{vue-ui-donut-DLaBSyI4.cjs → vue-ui-donut-C291KoIU.cjs} +1 -1
- package/dist/{vue-ui-donut-rVvCGOGk.js → vue-ui-donut-RJQUTfyW.js} +117 -110
- package/dist/{vue-ui-donut-evolution-DjGFFyxj.js → vue-ui-donut-evolution-DPW_ITH8.js} +164 -157
- package/dist/{vue-ui-donut-evolution-B06eelN-.cjs → vue-ui-donut-evolution-Dp15D88c.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B3AlzGCf.js → vue-ui-dumbbell-B8Zm8EVd.js} +74 -67
- package/dist/{vue-ui-dumbbell-9Oy-W4-B.cjs → vue-ui-dumbbell-BdEUvUV7.cjs} +2 -2
- package/dist/{vue-ui-flow-1eYWWjX-.js → vue-ui-flow-BNIgPNGy.js} +177 -170
- package/dist/{vue-ui-flow-BakKHKRq.cjs → vue-ui-flow-BukV6_Zl.cjs} +1 -1
- package/dist/{vue-ui-funnel-uSID1YS9.js → vue-ui-funnel-BrPqtGct.js} +128 -121
- package/dist/{vue-ui-funnel-IbAUMuoN.cjs → vue-ui-funnel-CIgZpg3T.cjs} +1 -1
- package/dist/{vue-ui-galaxy-3ksrzeio.js → vue-ui-galaxy-D1IYOUwX.js} +77 -70
- package/dist/{vue-ui-galaxy-BFGRkm7x.cjs → vue-ui-galaxy-FGqZ4tWB.cjs} +1 -1
- package/dist/{vue-ui-gauge-DgPnw4Q5.cjs → vue-ui-gauge-B00JvBFF.cjs} +1 -1
- package/dist/{vue-ui-gauge-DxUp_-uc.js → vue-ui-gauge-BsOXy5MV.js} +152 -145
- package/dist/{vue-ui-gizmo-Dw9HiCwa.js → vue-ui-gizmo-Cyl89etd.js} +3 -3
- package/dist/{vue-ui-gizmo-4T51Z8I8.cjs → vue-ui-gizmo-D_uv6qkV.cjs} +1 -1
- package/dist/vue-ui-heatmap-CGg2_xWH.cjs +1 -0
- package/dist/{vue-ui-heatmap-CwtUNQu0.js → vue-ui-heatmap-CgF4n8Bh.js} +139 -132
- package/dist/{vue-ui-history-plot-CC7sYtWu.cjs → vue-ui-history-plot-DR11Ips0.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BaV1bX_U.js → vue-ui-history-plot-Rdjb-yOk.js} +121 -114
- package/dist/{vue-ui-kpi-DiuK6mKA.js → vue-ui-kpi-COfnJm-X.js} +3 -3
- package/dist/{vue-ui-kpi-DxXlf8be.cjs → vue-ui-kpi-CbAgFb-9.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DQ_oXH1a.cjs → vue-ui-mini-loader-CizZv79e.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Kwzi6dLA.js → vue-ui-mini-loader-DNM7jU2W.js} +2 -2
- package/dist/{vue-ui-molecule-Bfhay2Cw.cjs → vue-ui-molecule-CiOIVjFk.cjs} +1 -1
- package/dist/{vue-ui-molecule-BMiNGYBh.js → vue-ui-molecule-Cv6jp9D_.js} +249 -242
- package/dist/{vue-ui-mood-radar-j2_LSQyN.js → vue-ui-mood-radar-B-VE2pVS.js} +111 -104
- package/dist/{vue-ui-mood-radar-C6CXwCzk.cjs → vue-ui-mood-radar-CoHouhrl.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CVsN5wLZ.js → vue-ui-nested-donuts-D-7tn_Qe.js} +116 -109
- package/dist/{vue-ui-nested-donuts-BEb5qHRa.cjs → vue-ui-nested-donuts-ITcu4gJW.cjs} +2 -2
- package/dist/{vue-ui-onion-DlqFOcMu.js → vue-ui-onion-B4SgCj8L.js} +143 -136
- package/dist/{vue-ui-onion-C-y9Jsfq.cjs → vue-ui-onion-fzXsWjjI.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-t2isL1XO.cjs → vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DxwECisr.js → vue-ui-parallel-coordinate-plot-CpQOyh-W.js} +112 -105
- package/dist/{vue-ui-quadrant-DMYZ6Rbh.cjs → vue-ui-quadrant-ByRNr-XD.cjs} +1 -1
- package/dist/{vue-ui-quadrant-rVy92h_8.js → vue-ui-quadrant-DhODDM5V.js} +111 -104
- package/dist/{vue-ui-quick-chart-CE-Qg_jo.cjs → vue-ui-quick-chart-BsQAMw9M.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-DkUCMlp7.js → vue-ui-quick-chart-DpeGH277.js} +194 -187
- package/dist/{vue-ui-radar-j-mDD4Dn.js → vue-ui-radar-CWkrni4Y.js} +100 -93
- package/dist/{vue-ui-radar-DkL4kk1W.cjs → vue-ui-radar-D-qttZKw.cjs} +1 -1
- package/dist/{vue-ui-rating-K_pyDN_G.cjs → vue-ui-rating-CY25IY75.cjs} +1 -1
- package/dist/{vue-ui-rating-CpvfKsg0.js → vue-ui-rating-DB4nQsuM.js} +2 -2
- package/dist/{vue-ui-relation-circle-O0d-4bj0.js → vue-ui-relation-circle-B_PxY9ZN.js} +102 -95
- package/dist/{vue-ui-relation-circle-ChFxKSb0.cjs → vue-ui-relation-circle-KDFaFqqu.cjs} +1 -1
- package/dist/{vue-ui-rings-Cv5WcU9y.cjs → vue-ui-rings-C1Upd5ja.cjs} +2 -2
- package/dist/{vue-ui-rings-DK-HgFva.js → vue-ui-rings-D5-sTr38.js} +168 -161
- package/dist/{vue-ui-scatter-BHCYJgHS.cjs → vue-ui-scatter-B-aqlIcn.cjs} +1 -1
- package/dist/{vue-ui-scatter-CTmhFDqS.js → vue-ui-scatter-C8cn3MR5.js} +85 -78
- package/dist/{vue-ui-screenshot-Ci56oD2d.cjs → vue-ui-screenshot-D9EV_KXZ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Bpp3trys.js → vue-ui-screenshot-kQRZJHLO.js} +1 -1
- package/dist/{vue-ui-skeleton-BIYEApQO.js → vue-ui-skeleton-DIrE1OTF.js} +3 -3
- package/dist/{vue-ui-skeleton-CKwwTTRF.cjs → vue-ui-skeleton-DyJu1ibj.cjs} +1 -1
- package/dist/{vue-ui-smiley-BjcqO7zZ.cjs → vue-ui-smiley-B7dNRQyO.cjs} +1 -1
- package/dist/{vue-ui-smiley-B5ufG407.js → vue-ui-smiley-DVjsjIa4.js} +2 -2
- package/dist/{vue-ui-spark-trend-qz-BtG6X.cjs → vue-ui-spark-trend-DRtaXADG.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DnB59fUO.js → vue-ui-spark-trend-DsUy3aw-.js} +5 -5
- package/dist/{vue-ui-sparkbar-D_sMmqjC.js → vue-ui-sparkbar-Dm8xksUj.js} +4 -4
- package/dist/{vue-ui-sparkbar-DQ-IFuy6.cjs → vue-ui-sparkbar-x0F1llCZ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Ce5NGB8P.cjs → vue-ui-sparkgauge-B4DRMVOW.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-76-wdTdR.js → vue-ui-sparkgauge-_gF53YgV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DviUQdRD.js → vue-ui-sparkhistogram-CD_0ihS9.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DcSCtmaT.cjs → vue-ui-sparkhistogram-CIMJUDlb.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C75odp3q.js → vue-ui-sparkline-Cs0h6tKI.js} +6 -6
- package/dist/{vue-ui-sparkline-_nWAin6t.cjs → vue-ui-sparkline-DzOL1IDW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-pRfBTPV0.cjs → vue-ui-sparkstackbar-BBz1lDg0.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-JgAJd1j5.js → vue-ui-sparkstackbar-Dhula5ka.js} +5 -5
- package/dist/{vue-ui-stackbar-DK4W1meR.cjs → vue-ui-stackbar-BuUtwfyC.cjs} +3 -3
- package/dist/{vue-ui-stackbar-Ctym-Udc.js → vue-ui-stackbar-DanAQnBd.js} +210 -203
- package/dist/{vue-ui-strip-plot-BU6tkAvd.cjs → vue-ui-strip-plot-95uUJ2fc.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BLmj_-sa.js → vue-ui-strip-plot-DIlGTBzG.js} +82 -75
- package/dist/{vue-ui-table-Cvt9DTpO.cjs → vue-ui-table-CDS7xlZS.cjs} +1 -1
- package/dist/{vue-ui-table-Bot5LadX.js → vue-ui-table-FKZF6cxI.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DE1swMTl.js → vue-ui-table-heatmap-BcGX_vpU.js} +63 -56
- package/dist/{vue-ui-table-heatmap-fALEi4E_.cjs → vue-ui-table-heatmap-qVmiG576.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CWGl8LJc.js → vue-ui-table-sparkline-CVY9EZ7Q.js} +90 -83
- package/dist/{vue-ui-table-sparkline-pQlBn8xE.cjs → vue-ui-table-sparkline-CnVFXbUB.cjs} +1 -1
- package/dist/{vue-ui-thermometer-N5j1BAqA.cjs → vue-ui-thermometer-BTer1qaq.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DDOVwF0r.js → vue-ui-thermometer-tcTgQiAu.js} +113 -106
- package/dist/{vue-ui-timer-CQ9pLz7T.cjs → vue-ui-timer-CmLGKRcK.cjs} +1 -1
- package/dist/{vue-ui-timer-1zEhowHL.js → vue-ui-timer-DO_VKZHm.js} +5 -5
- package/dist/{vue-ui-tiremarks-zlgbR7II.js → vue-ui-tiremarks-BKnAiR_H.js} +76 -69
- package/dist/{vue-ui-tiremarks-DOXxQKUB.cjs → vue-ui-tiremarks-BPxAgMQx.cjs} +1 -1
- package/dist/{vue-ui-treemap-ZJAvws86.cjs → vue-ui-treemap-BnKYnm8A.cjs} +1 -1
- package/dist/{vue-ui-treemap-C7oZrYCa.js → vue-ui-treemap-oE2QDc_9.js} +143 -136
- package/dist/{vue-ui-vertical-bar-rtqu_UjN.js → vue-ui-vertical-bar-BfFnXSO5.js} +119 -112
- package/dist/{vue-ui-vertical-bar-BFeF_dBM.cjs → vue-ui-vertical-bar-CHUZAnfv.cjs} +3 -3
- package/dist/{vue-ui-waffle-C0E54-ms.cjs → vue-ui-waffle-DxL_bhhX.cjs} +1 -1
- package/dist/{vue-ui-waffle-CgsNawVA.js → vue-ui-waffle-YwQAGMlZ.js} +77 -70
- package/dist/{vue-ui-wheel-StQOeYIO.cjs → vue-ui-wheel-CbEf5uhL.cjs} +1 -1
- package/dist/{vue-ui-wheel-Cm7g8eux.js → vue-ui-wheel-gZQIZUx1.js} +104 -97
- package/dist/{vue-ui-word-cloud-qNxRgN5J.js → vue-ui-word-cloud-CXpfOcDf.js} +122 -115
- package/dist/{vue-ui-word-cloud-Bc31_IfR.cjs → vue-ui-word-cloud-Ddmhs5i-.cjs} +1 -1
- package/dist/{vue-ui-xy-wbWmX1Zh.cjs → vue-ui-xy-BFdih9uG.cjs} +2 -2
- package/dist/{vue-ui-xy-BTjOTcAY.js → vue-ui-xy-BHGNHgRk.js} +72 -65
- package/dist/{vue-ui-xy-canvas-BpyntzCo.js → vue-ui-xy-canvas-BFZjHXBj.js} +200 -193
- package/dist/{vue-ui-xy-canvas-BljjkGUh.cjs → vue-ui-xy-canvas-hM1oa-dn.cjs} +2 -2
- package/package.json +1 -1
- package/dist/usePrinter-DB2FudbZ.cjs +0 -1
- package/dist/vue-ui-heatmap-Bz5l9BbM.cjs +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { computed as g, onMounted as Ye, ref as
|
|
2
|
-
import { u as Be, o as je, e as Re, c as ke, t as Xe, p as q, a as We, b as qe, v as
|
|
3
|
-
import { _ as tt } from "./Title-
|
|
4
|
-
import { u as ot, U as lt } from "./usePrinter-
|
|
5
|
-
import { D as at } from "./DataTable-
|
|
6
|
-
import nt from "./vue-ui-accordion-
|
|
7
|
-
import st from "./vue-ui-skeleton-
|
|
8
|
-
import { u as $e } from "./useNestedProp-
|
|
9
|
-
import { _ as
|
|
10
|
-
import { P as
|
|
1
|
+
import { computed as g, onMounted as Ye, ref as k, watch as De, createElementBlock as c, openBlock as i, unref as u, normalizeStyle as x, normalizeClass as ye, createBlock as I, createCommentVNode as w, createSlots as Ge, withCtx as y, renderSlot as p, normalizeProps as M, guardReactiveProps as z, createVNode as be, createElementVNode as Y, Fragment as F, renderList as A, toDisplayString as W, createTextVNode as Ue, nextTick as Ve } from "vue";
|
|
2
|
+
import { u as Be, o as je, e as Re, c as ke, t as Xe, p as q, a as We, b as qe, v as f, f as we, X as Ze, G as Ce, L as Je, i as Ke, q as Qe, r as et } from "./index-Cq7-va_5.js";
|
|
3
|
+
import { _ as tt } from "./Title-CUHNtIyE.js";
|
|
4
|
+
import { u as ot, U as lt } from "./usePrinter-jRjc8Naz.js";
|
|
5
|
+
import { D as at } from "./DataTable-CMUyDj6S.js";
|
|
6
|
+
import nt from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
7
|
+
import st from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
8
|
+
import { u as $e } from "./useNestedProp-BEyJNlaO.js";
|
|
9
|
+
import { _ as ut } from "./PackageVersion-CURzw4q1.js";
|
|
10
|
+
import { P as rt } from "./PenAndPaper-CjiJra09.js";
|
|
11
11
|
import { u as it } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
12
|
import { u as ct } from "./useChartAccessibility-BWojgys7.js";
|
|
13
13
|
import { _ as dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
const vt = ["id"],
|
|
14
|
+
const vt = ["id"], ft = {
|
|
15
15
|
key: 1,
|
|
16
16
|
ref: "noTitle",
|
|
17
17
|
class: "vue-data-ui-no-title-space",
|
|
18
18
|
style: "height:36px; width: 100%;background:transparent"
|
|
19
|
-
},
|
|
19
|
+
}, ht = {
|
|
20
20
|
key: 2,
|
|
21
21
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
22
22
|
}, gt = ["xmlns", "viewBox"], pt = ["width", "height"], mt = ["id"], yt = ["stop-color"], bt = ["stop-color"], kt = ["d", "fill", "stroke", "stroke-width"], wt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], Ct = ["x", "y", "font-size", "fill"], $t = ["x", "y", "font-size", "fill"], xt = {
|
|
@@ -43,120 +43,120 @@ const vt = ["id"], ht = {
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
setup(xe, { expose: _e }) {
|
|
46
|
-
const { vue_ui_flow: Ne } = Be(),
|
|
46
|
+
const { vue_ui_flow: Ne } = Be(), m = xe, D = g(() => !!m.dataset && m.dataset.length);
|
|
47
47
|
Ye(() => {
|
|
48
48
|
Z();
|
|
49
49
|
});
|
|
50
50
|
function Z() {
|
|
51
|
-
je(
|
|
51
|
+
je(m.dataset) && Re({
|
|
52
52
|
componentName: "VueUiFlow",
|
|
53
53
|
type: "dataset"
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
const
|
|
56
|
+
const G = k(ke()), J = k(null), K = k(0), Q = k(0), T = k(!1);
|
|
57
57
|
function Te(t) {
|
|
58
58
|
T.value = t, K.value += 1;
|
|
59
59
|
}
|
|
60
60
|
const e = g({
|
|
61
61
|
get: () => le(),
|
|
62
62
|
set: (t) => t
|
|
63
|
-
}), { userOptionsVisible:
|
|
63
|
+
}), { userOptionsVisible: U, setUserOptionsVisibility: ee, keepUserOptionState: te } = it({ config: e.value }), { svgRef: oe } = ct({ config: e.value.style.chart.title });
|
|
64
64
|
function le() {
|
|
65
65
|
const t = $e({
|
|
66
|
-
userConfig:
|
|
66
|
+
userConfig: m.config,
|
|
67
67
|
defaultConfig: Ne
|
|
68
68
|
});
|
|
69
69
|
return t.theme ? {
|
|
70
70
|
...$e({
|
|
71
|
-
userConfig: We.vue_ui_flow[t.theme] ||
|
|
71
|
+
userConfig: We.vue_ui_flow[t.theme] || m.config,
|
|
72
72
|
defaultConfig: t
|
|
73
73
|
}),
|
|
74
74
|
customPalette: Xe[t.theme] || q
|
|
75
75
|
} : t;
|
|
76
76
|
}
|
|
77
|
-
De(() =>
|
|
78
|
-
e.value = le(),
|
|
77
|
+
De(() => m.config, (t) => {
|
|
78
|
+
e.value = le(), U.value = !e.value.userOptions.showOnChartHover, Z(), Q.value += 1, O.value.showTable = e.value.table.show;
|
|
79
79
|
}, { deep: !0 });
|
|
80
|
-
const { isPrinting: ae, isImaging: ne, generatePdf: se, generateImage:
|
|
81
|
-
elementId: `flow_${
|
|
80
|
+
const { isPrinting: ae, isImaging: ne, generatePdf: se, generateImage: ue } = ot({
|
|
81
|
+
elementId: `flow_${G.value}`,
|
|
82
82
|
fileName: e.value.style.chart.title.text || "vue-ui-flow"
|
|
83
|
-
}), Oe = g(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
83
|
+
}), Oe = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), V = g(() => qe(e.value.customPalette)), re = g(() => e.value.style.chart.nodes.gap), _ = g(() => e.value.style.chart.nodes.width), O = k({
|
|
84
84
|
showTable: e.value.table.show
|
|
85
|
-
}), ie = g(() => e.value.style.chart.links.width),
|
|
85
|
+
}), ie = g(() => e.value.style.chart.links.width), B = g(() => !m.dataset || !m.dataset.length ? [] : m.dataset.map((t) => [
|
|
86
86
|
t[0],
|
|
87
87
|
t[1],
|
|
88
|
-
|
|
88
|
+
f(t[2])
|
|
89
89
|
])), ce = g(() => {
|
|
90
90
|
const t = {};
|
|
91
|
-
function l(
|
|
92
|
-
t[
|
|
91
|
+
function l(a) {
|
|
92
|
+
t[a] || (t[a] = { inflow: 0, outflow: 0 });
|
|
93
93
|
}
|
|
94
|
-
|
|
95
|
-
l(
|
|
94
|
+
B.value.forEach(([a, n, v]) => {
|
|
95
|
+
l(a), l(n), t[a].outflow += v, t[n].inflow += v;
|
|
96
96
|
});
|
|
97
97
|
let o = 0;
|
|
98
|
-
for (const
|
|
99
|
-
const
|
|
100
|
-
o = Math.max(o,
|
|
98
|
+
for (const a in t) {
|
|
99
|
+
const n = Math.max(t[a].inflow, t[a].outflow);
|
|
100
|
+
o = Math.max(o, n);
|
|
101
101
|
}
|
|
102
102
|
return o;
|
|
103
103
|
});
|
|
104
104
|
function Pe(t) {
|
|
105
105
|
return t / ce.value * 100 + e.value.style.chart.nodes.minHeight;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Ie(t) {
|
|
108
108
|
const l = e.value.style.chart.nodes.minHeight;
|
|
109
109
|
return (t - l) / 100 * ce.value;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Fe(t) {
|
|
112
112
|
const l = {}, o = {};
|
|
113
|
-
function
|
|
114
|
-
l[s] || (l[s] = { height: 0, level: null, inflow: 0, outflow: 0 }), l[s].level === null && (l[s].level =
|
|
113
|
+
function a(s, r) {
|
|
114
|
+
l[s] || (l[s] = { height: 0, level: null, inflow: 0, outflow: 0 }), l[s].level === null && (l[s].level = r), o[r] || (o[r] = []), o[r].includes(s) || o[r].push(s);
|
|
115
115
|
}
|
|
116
|
-
t.forEach(([s,
|
|
116
|
+
t.forEach(([s, r, h], N) => {
|
|
117
117
|
const $ = l[s] ? l[s].level : 0, E = $ + 1;
|
|
118
|
-
|
|
119
|
-
}), Object.keys(l).forEach((s,
|
|
120
|
-
l[s].color =
|
|
118
|
+
a(s, $), a(r, E), l[s].children || (l[s].children = []), l[s].children.push({ target: r, value: h }), l[s].outflow += h, l[r].inflow += h;
|
|
119
|
+
}), Object.keys(l).forEach((s, r) => {
|
|
120
|
+
l[s].color = V.value[r] || V.value[r % V.value.length] || q[r] || q[r % d.length];
|
|
121
121
|
});
|
|
122
122
|
for (const s in l)
|
|
123
123
|
l[s].height = Pe(Math.max(l[s].inflow, l[s].outflow)), l[s].name = s;
|
|
124
|
-
const
|
|
124
|
+
const n = {};
|
|
125
125
|
for (const s in o) {
|
|
126
|
-
let
|
|
127
|
-
o[s].forEach((
|
|
128
|
-
const $ = l[
|
|
129
|
-
|
|
126
|
+
let r = 0;
|
|
127
|
+
o[s].forEach((h, N) => {
|
|
128
|
+
const $ = l[h].height;
|
|
129
|
+
n[h] = {
|
|
130
130
|
x: parseInt(s, 10) * ie.value + e.value.style.chart.padding.left,
|
|
131
|
-
y:
|
|
132
|
-
absoluteY:
|
|
131
|
+
y: r,
|
|
132
|
+
absoluteY: r,
|
|
133
133
|
height: $,
|
|
134
134
|
i: N,
|
|
135
|
-
color: l[
|
|
136
|
-
value:
|
|
137
|
-
},
|
|
135
|
+
color: l[h].color,
|
|
136
|
+
value: Ie($)
|
|
137
|
+
}, r += $ + re.value;
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
const v = [];
|
|
141
141
|
for (const s in l) {
|
|
142
|
-
let
|
|
143
|
-
l[s].children && l[s].children.forEach(({ target:
|
|
144
|
-
const E =
|
|
142
|
+
let r = n[s].absoluteY + e.value.style.chart.padding.top;
|
|
143
|
+
l[s].children && l[s].children.forEach(({ target: h, value: N }, $) => {
|
|
144
|
+
const E = n[h].y + e.value.style.chart.padding.top, R = n[s], X = n[h], he = f(r), ge = f(r + N / l[s].outflow * R.height), pe = f(E), me = f(E + N / l[h].inflow * X.height), ze = {
|
|
145
145
|
id: ke(),
|
|
146
146
|
source: s,
|
|
147
|
-
target:
|
|
148
|
-
path: `M ${
|
|
147
|
+
target: h,
|
|
148
|
+
path: `M ${f(R.x) + f(_.value)} ${he} L ${f(R.x) + f(_.value)} ${ge} L ${f(X.x)} ${me} L ${f(X.x)} ${pe} Z`,
|
|
149
149
|
value: N,
|
|
150
150
|
sourceColor: l[s].color,
|
|
151
|
-
targetColor: l[
|
|
151
|
+
targetColor: l[h].color
|
|
152
152
|
};
|
|
153
|
-
v.push(ze),
|
|
153
|
+
v.push(ze), r += ge - he, n[h].y += me - pe;
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
return { nodeCoordinates:
|
|
156
|
+
return { nodeCoordinates: n, links: v };
|
|
157
157
|
}
|
|
158
|
-
const
|
|
159
|
-
const t =
|
|
158
|
+
const b = g(() => {
|
|
159
|
+
const t = Fe(m.dataset);
|
|
160
160
|
return {
|
|
161
161
|
nodes: Object.keys(t.nodeCoordinates).map((l, o) => ({
|
|
162
162
|
...t.nodeCoordinates[l],
|
|
@@ -164,53 +164,53 @@ const vt = ["id"], ht = {
|
|
|
164
164
|
})),
|
|
165
165
|
links: t.links
|
|
166
166
|
};
|
|
167
|
-
}), Ae = g(() => Le(
|
|
167
|
+
}), Ae = g(() => Le(b.value.nodes));
|
|
168
168
|
function Le(t) {
|
|
169
169
|
const l = {};
|
|
170
|
-
for (const
|
|
171
|
-
const { x:
|
|
172
|
-
l[
|
|
170
|
+
for (const a in t) {
|
|
171
|
+
const { x: n, height: v } = t[a];
|
|
172
|
+
l[n] || (l[n] = 0), l[n] += v + re.value;
|
|
173
173
|
}
|
|
174
174
|
return Math.max(...Object.values(l));
|
|
175
175
|
}
|
|
176
176
|
const P = g(() => {
|
|
177
|
-
const { top: t, right: l, left: o, bottom:
|
|
177
|
+
const { top: t, right: l, left: o, bottom: a } = e.value.style.chart.padding, n = B.value.length * ie.value;
|
|
178
178
|
return {
|
|
179
|
-
height: Ae.value + t +
|
|
180
|
-
width: l + Math.max(...
|
|
179
|
+
height: Ae.value + t + a,
|
|
180
|
+
width: l + Math.max(...b.value.nodes.map((v) => v.x)) + _.value,
|
|
181
181
|
left: o,
|
|
182
182
|
top: t,
|
|
183
|
-
right:
|
|
183
|
+
right: n - l,
|
|
184
184
|
p_top: t,
|
|
185
|
-
p_bottom:
|
|
185
|
+
p_bottom: a
|
|
186
186
|
};
|
|
187
187
|
});
|
|
188
188
|
function He(t) {
|
|
189
|
-
const l = {}, o = {},
|
|
190
|
-
return
|
|
191
|
-
l[
|
|
192
|
-
}), l[t] && l[t].forEach((
|
|
189
|
+
const l = {}, o = {}, a = /* @__PURE__ */ new Set();
|
|
190
|
+
return B.value.forEach(([n, v, s]) => {
|
|
191
|
+
l[n] || (l[n] = []), o[v] || (o[v] = []), l[n].push(v), o[v].push(n);
|
|
192
|
+
}), l[t] && l[t].forEach((n) => a.add(n)), o[t] && o[t].forEach((n) => a.add(n)), Array.from(a).concat(t);
|
|
193
193
|
}
|
|
194
|
-
const C =
|
|
194
|
+
const C = k(null), L = k(null);
|
|
195
195
|
function Se(t) {
|
|
196
196
|
C.value = He(t.name), L.value = t.name;
|
|
197
197
|
}
|
|
198
198
|
function Ee() {
|
|
199
199
|
C.value = null, L.value = null;
|
|
200
200
|
}
|
|
201
|
-
const de = g(() =>
|
|
201
|
+
const de = g(() => b.value.links.map(({ source: t, target: l, sourceColor: o, targetColor: a, value: n }) => ({
|
|
202
202
|
source: t,
|
|
203
203
|
target: l,
|
|
204
204
|
sourceColor: o,
|
|
205
|
-
targetColor:
|
|
206
|
-
value:
|
|
205
|
+
targetColor: a,
|
|
206
|
+
value: n
|
|
207
207
|
})));
|
|
208
208
|
function ve() {
|
|
209
209
|
Ve(() => {
|
|
210
|
-
const t = de.value.map((
|
|
211
|
-
[
|
|
212
|
-
[
|
|
213
|
-
[
|
|
210
|
+
const t = de.value.map((a, n) => [
|
|
211
|
+
[a.source],
|
|
212
|
+
[a.target],
|
|
213
|
+
[a.value]
|
|
214
214
|
]), l = [
|
|
215
215
|
[e.value.style.chart.title.text],
|
|
216
216
|
[e.value.style.chart.title.subtitle.text],
|
|
@@ -231,18 +231,18 @@ const vt = ["id"], ht = {
|
|
|
231
231
|
e.value.table.columnNames.source,
|
|
232
232
|
e.value.table.columnNames.target,
|
|
233
233
|
e.value.table.columnNames.value
|
|
234
|
-
], l = de.value.map((
|
|
234
|
+
], l = de.value.map((n, v) => [
|
|
235
235
|
{
|
|
236
|
-
color:
|
|
237
|
-
name:
|
|
236
|
+
color: n.sourceColor,
|
|
237
|
+
name: n.source
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
|
-
color:
|
|
241
|
-
name:
|
|
240
|
+
color: n.targetColor,
|
|
241
|
+
name: n.target
|
|
242
242
|
},
|
|
243
243
|
we({
|
|
244
244
|
p: e.value.style.chart.nodes.labels.prefix,
|
|
245
|
-
v:
|
|
245
|
+
v: n.value,
|
|
246
246
|
s: e.value.style.chart.nodes.labels.suffix,
|
|
247
247
|
r: e.value.style.chart.nodes.labels.rounding
|
|
248
248
|
})
|
|
@@ -271,42 +271,42 @@ const vt = ["id"], ht = {
|
|
|
271
271
|
};
|
|
272
272
|
});
|
|
273
273
|
function Me() {
|
|
274
|
-
return
|
|
274
|
+
return b.value;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function fe() {
|
|
277
277
|
O.value.showTable = !O.value.showTable;
|
|
278
278
|
}
|
|
279
|
-
const S =
|
|
280
|
-
function
|
|
279
|
+
const S = k(!1);
|
|
280
|
+
function j() {
|
|
281
281
|
S.value = !S.value;
|
|
282
282
|
}
|
|
283
283
|
return _e({
|
|
284
284
|
getData: Me,
|
|
285
285
|
generateCsv: ve,
|
|
286
|
-
generateImage:
|
|
286
|
+
generateImage: ue,
|
|
287
287
|
generatePdf: se,
|
|
288
|
-
toggleTable:
|
|
289
|
-
toggleAnnotator:
|
|
288
|
+
toggleTable: fe,
|
|
289
|
+
toggleAnnotator: j
|
|
290
290
|
}), (t, l) => (i(), c("div", {
|
|
291
291
|
ref_key: "flowChart",
|
|
292
292
|
ref: J,
|
|
293
293
|
class: ye(`vue-ui-flow ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
294
294
|
style: x(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
295
|
-
id: `flow_${
|
|
296
|
-
onMouseenter: l[2] || (l[2] = () =>
|
|
297
|
-
onMouseleave: l[3] || (l[3] = () =>
|
|
295
|
+
id: `flow_${G.value}`,
|
|
296
|
+
onMouseenter: l[2] || (l[2] = () => u(ee)(!0)),
|
|
297
|
+
onMouseleave: l[3] || (l[3] = () => u(ee)(!1))
|
|
298
298
|
}, [
|
|
299
|
-
e.value.userOptions.buttons.annotator ? (i(),
|
|
299
|
+
e.value.userOptions.buttons.annotator ? (i(), I(rt, {
|
|
300
300
|
key: 0,
|
|
301
|
-
svgRef:
|
|
301
|
+
svgRef: u(oe),
|
|
302
302
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
303
303
|
color: e.value.style.chart.color,
|
|
304
304
|
active: S.value,
|
|
305
|
-
onClose:
|
|
306
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
307
|
-
Oe.value ? (i(), c("div",
|
|
308
|
-
e.value.style.chart.title.text ? (i(), c("div",
|
|
309
|
-
(i(),
|
|
305
|
+
onClose: j
|
|
306
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : w("", !0),
|
|
307
|
+
Oe.value ? (i(), c("div", ft, null, 512)) : w("", !0),
|
|
308
|
+
e.value.style.chart.title.text ? (i(), c("div", ht, [
|
|
309
|
+
(i(), I(tt, {
|
|
310
310
|
key: `title_${Q.value}`,
|
|
311
311
|
config: {
|
|
312
312
|
title: {
|
|
@@ -319,15 +319,15 @@ const vt = ["id"], ht = {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
}, null, 8, ["config"]))
|
|
322
|
-
])) :
|
|
323
|
-
e.value.userOptions.show &&
|
|
322
|
+
])) : w("", !0),
|
|
323
|
+
e.value.userOptions.show && D.value && (u(te) || u(U)) ? (i(), I(lt, {
|
|
324
324
|
ref: "details",
|
|
325
325
|
key: `user_option_${K.value}`,
|
|
326
326
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
327
327
|
color: e.value.style.chart.color,
|
|
328
|
-
isPrinting:
|
|
329
|
-
isImaging:
|
|
330
|
-
uid:
|
|
328
|
+
isPrinting: u(ae),
|
|
329
|
+
isImaging: u(ne),
|
|
330
|
+
uid: G.value,
|
|
331
331
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
332
332
|
hasXls: e.value.userOptions.buttons.csv,
|
|
333
333
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -340,67 +340,74 @@ const vt = ["id"], ht = {
|
|
|
340
340
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
341
341
|
isAnnotation: S.value,
|
|
342
342
|
onToggleFullscreen: Te,
|
|
343
|
-
onGeneratePdf:
|
|
343
|
+
onGeneratePdf: u(se),
|
|
344
344
|
onGenerateCsv: ve,
|
|
345
|
-
onGenerateImage:
|
|
346
|
-
onToggleTable:
|
|
347
|
-
onToggleAnnotator:
|
|
345
|
+
onGenerateImage: u(ue),
|
|
346
|
+
onToggleTable: fe,
|
|
347
|
+
onToggleAnnotator: j,
|
|
348
348
|
style: x({
|
|
349
|
-
visibility:
|
|
349
|
+
visibility: u(te) ? u(U) ? "visible" : "hidden" : "visible"
|
|
350
350
|
})
|
|
351
351
|
}, Ge({ _: 2 }, [
|
|
352
|
+
t.$slots.menuIcon ? {
|
|
353
|
+
name: "menuIcon",
|
|
354
|
+
fn: y(({ isOpen: o, color: a }) => [
|
|
355
|
+
p(t.$slots, "menuIcon", M(z({ isOpen: o, color: a })), void 0, !0)
|
|
356
|
+
]),
|
|
357
|
+
key: "0"
|
|
358
|
+
} : void 0,
|
|
352
359
|
t.$slots.optionPdf ? {
|
|
353
360
|
name: "optionPdf",
|
|
354
|
-
fn:
|
|
355
|
-
|
|
361
|
+
fn: y(() => [
|
|
362
|
+
p(t.$slots, "optionPdf", {}, void 0, !0)
|
|
356
363
|
]),
|
|
357
|
-
key: "
|
|
364
|
+
key: "1"
|
|
358
365
|
} : void 0,
|
|
359
366
|
t.$slots.optionCsv ? {
|
|
360
367
|
name: "optionCsv",
|
|
361
|
-
fn:
|
|
362
|
-
|
|
368
|
+
fn: y(() => [
|
|
369
|
+
p(t.$slots, "optionCsv", {}, void 0, !0)
|
|
363
370
|
]),
|
|
364
|
-
key: "
|
|
371
|
+
key: "2"
|
|
365
372
|
} : void 0,
|
|
366
373
|
t.$slots.optionImg ? {
|
|
367
374
|
name: "optionImg",
|
|
368
|
-
fn:
|
|
369
|
-
|
|
375
|
+
fn: y(() => [
|
|
376
|
+
p(t.$slots, "optionImg", {}, void 0, !0)
|
|
370
377
|
]),
|
|
371
|
-
key: "
|
|
378
|
+
key: "3"
|
|
372
379
|
} : void 0,
|
|
373
380
|
t.$slots.optionTable ? {
|
|
374
381
|
name: "optionTable",
|
|
375
|
-
fn:
|
|
376
|
-
|
|
382
|
+
fn: y(() => [
|
|
383
|
+
p(t.$slots, "optionTable", {}, void 0, !0)
|
|
377
384
|
]),
|
|
378
|
-
key: "
|
|
385
|
+
key: "4"
|
|
379
386
|
} : void 0,
|
|
380
387
|
t.$slots.optionFullscreen ? {
|
|
381
388
|
name: "optionFullscreen",
|
|
382
|
-
fn:
|
|
383
|
-
|
|
389
|
+
fn: y(({ toggleFullscreen: o, isFullscreen: a }) => [
|
|
390
|
+
p(t.$slots, "optionFullscreen", M(z({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
|
|
384
391
|
]),
|
|
385
|
-
key: "
|
|
392
|
+
key: "5"
|
|
386
393
|
} : void 0,
|
|
387
394
|
t.$slots.optionAnnotator ? {
|
|
388
395
|
name: "optionAnnotator",
|
|
389
|
-
fn:
|
|
390
|
-
|
|
396
|
+
fn: y(({ toggleAnnotator: o, isAnnotator: a }) => [
|
|
397
|
+
p(t.$slots, "optionAnnotator", M(z({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
|
|
391
398
|
]),
|
|
392
|
-
key: "
|
|
399
|
+
key: "6"
|
|
393
400
|
} : void 0
|
|
394
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
401
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : w("", !0),
|
|
395
402
|
(i(), c("svg", {
|
|
396
403
|
ref_key: "svgRef",
|
|
397
404
|
ref: oe,
|
|
398
|
-
xmlns:
|
|
405
|
+
xmlns: u(Ze),
|
|
399
406
|
viewBox: `0 0 ${P.value.width} ${P.value.height}`,
|
|
400
407
|
class: ye({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
|
|
401
408
|
style: x(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
402
409
|
}, [
|
|
403
|
-
be(
|
|
410
|
+
be(ut),
|
|
404
411
|
t.$slots["chart-background"] ? (i(), c("foreignObject", {
|
|
405
412
|
key: 0,
|
|
406
413
|
x: 0,
|
|
@@ -411,27 +418,27 @@ const vt = ["id"], ht = {
|
|
|
411
418
|
pointerEvents: "none"
|
|
412
419
|
}
|
|
413
420
|
}, [
|
|
414
|
-
|
|
415
|
-
], 8, pt)) :
|
|
416
|
-
|
|
417
|
-
(i(!0), c(
|
|
421
|
+
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
422
|
+
], 8, pt)) : w("", !0),
|
|
423
|
+
Y("defs", null, [
|
|
424
|
+
(i(!0), c(F, null, A(b.value.links, (o, a) => (i(), c("linearGradient", {
|
|
418
425
|
id: o.id,
|
|
419
426
|
x1: "0%",
|
|
420
427
|
y1: "0%",
|
|
421
428
|
x2: "100%",
|
|
422
429
|
y2: "0%"
|
|
423
430
|
}, [
|
|
424
|
-
|
|
431
|
+
Y("stop", {
|
|
425
432
|
offset: "0%",
|
|
426
433
|
"stop-color": o.sourceColor
|
|
427
434
|
}, null, 8, yt),
|
|
428
|
-
|
|
435
|
+
Y("stop", {
|
|
429
436
|
offset: "100%",
|
|
430
437
|
"stop-color": o.targetColor
|
|
431
438
|
}, null, 8, bt)
|
|
432
439
|
], 8, mt))), 256))
|
|
433
440
|
]),
|
|
434
|
-
(i(!0), c(
|
|
441
|
+
(i(!0), c(F, null, A(b.value.links, (o) => (i(), c("path", {
|
|
435
442
|
class: "vue-ui-flow-link",
|
|
436
443
|
d: o.path,
|
|
437
444
|
fill: `url(#${o.id})`,
|
|
@@ -439,51 +446,51 @@ const vt = ["id"], ht = {
|
|
|
439
446
|
"stroke-width": e.value.style.chart.links.strokeWidth,
|
|
440
447
|
style: x(`opacity:${L.value ? [o.target, o.source].includes(L.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}`)
|
|
441
448
|
}, null, 12, kt))), 256)),
|
|
442
|
-
(i(!0), c(
|
|
449
|
+
(i(!0), c(F, null, A(b.value.nodes, (o, a) => (i(), c("rect", {
|
|
443
450
|
class: "vue-ui-flow-node",
|
|
444
451
|
x: o.x,
|
|
445
|
-
y:
|
|
446
|
-
height:
|
|
452
|
+
y: u(f)(o.absoluteY) + e.value.style.chart.padding.top,
|
|
453
|
+
height: u(f)(o.height),
|
|
447
454
|
width: _.value,
|
|
448
455
|
fill: o.color,
|
|
449
456
|
stroke: e.value.style.chart.nodes.stroke,
|
|
450
457
|
"stroke-width": e.value.style.chart.nodes.strokeWidth,
|
|
451
|
-
onMouseenter: (
|
|
452
|
-
onMouseleave: l[0] || (l[0] = (
|
|
458
|
+
onMouseenter: (n) => Se(o),
|
|
459
|
+
onMouseleave: l[0] || (l[0] = (n) => Ee()),
|
|
453
460
|
style: x(`opacity:${C.value ? C.value.includes(o.name) ? 1 : 0.2 : 1}`)
|
|
454
461
|
}, null, 44, wt))), 256)),
|
|
455
|
-
(i(!0), c(
|
|
462
|
+
(i(!0), c(F, null, A(b.value.nodes, (o, a) => (i(), c("text", {
|
|
456
463
|
x: o.x + _.value / 2,
|
|
457
|
-
y:
|
|
464
|
+
y: u(f)(o.absoluteY + o.height / 2 - e.value.style.chart.nodes.labels.fontSize / 4) + e.value.style.chart.padding.top,
|
|
458
465
|
"font-size": e.value.style.chart.nodes.labels.fontSize,
|
|
459
|
-
fill:
|
|
466
|
+
fill: u(Ce)(o.color),
|
|
460
467
|
"text-anchor": "middle",
|
|
461
468
|
style: x(`pointer-events: none; opacity:${C.value ? C.value.includes(o.name) ? 1 : 0 : 1}`)
|
|
462
|
-
}, W(e.value.style.chart.nodes.labels.abbreviation.use ?
|
|
463
|
-
(i(!0), c(
|
|
469
|
+
}, W(e.value.style.chart.nodes.labels.abbreviation.use ? u(Je)({ source: o.name, length: e.value.style.chart.nodes.labels.abbreviation.length }) : o.name), 13, Ct))), 256)),
|
|
470
|
+
(i(!0), c(F, null, A(b.value.nodes, (o, a) => (i(), c("text", {
|
|
464
471
|
x: o.x + _.value / 2,
|
|
465
|
-
y:
|
|
472
|
+
y: u(f)(o.absoluteY + o.height / 2 + e.value.style.chart.nodes.labels.fontSize) + e.value.style.chart.padding.top,
|
|
466
473
|
"font-size": e.value.style.chart.nodes.labels.fontSize,
|
|
467
|
-
fill:
|
|
474
|
+
fill: u(Ce)(o.color),
|
|
468
475
|
"text-anchor": "middle",
|
|
469
476
|
style: x(`pointer-events: none; opacity:${C.value ? C.value.includes(o.name) ? 1 : 0 : 1}`)
|
|
470
|
-
}, W(
|
|
477
|
+
}, W(u(Ke)(
|
|
471
478
|
e.value.style.chart.nodes.labels.formatter,
|
|
472
479
|
o.value,
|
|
473
|
-
|
|
480
|
+
u(we)({
|
|
474
481
|
p: e.value.style.chart.nodes.labels.prefix,
|
|
475
482
|
v: o.value,
|
|
476
483
|
s: e.value.style.chart.nodes.labels.suffix,
|
|
477
484
|
r: e.value.style.chart.nodes.labels.rounding
|
|
478
485
|
}),
|
|
479
|
-
{ datapoint: o, seriesIndex:
|
|
486
|
+
{ datapoint: o, seriesIndex: a }
|
|
480
487
|
)), 13, $t))), 256)),
|
|
481
|
-
|
|
488
|
+
p(t.$slots, "svg", { svg: P.value }, void 0, !0)
|
|
482
489
|
], 14, gt)),
|
|
483
490
|
t.$slots.watermark ? (i(), c("div", xt, [
|
|
484
|
-
|
|
485
|
-
])) :
|
|
486
|
-
|
|
491
|
+
p(t.$slots, "watermark", M(z({ isPrinting: u(ae) || u(ne) })), void 0, !0)
|
|
492
|
+
])) : w("", !0),
|
|
493
|
+
D.value ? w("", !0) : (i(), I(st, {
|
|
487
494
|
key: 5,
|
|
488
495
|
config: {
|
|
489
496
|
type: "flow",
|
|
@@ -493,9 +500,9 @@ const vt = ["id"], ht = {
|
|
|
493
500
|
}
|
|
494
501
|
}, null, 8, ["config"])),
|
|
495
502
|
t.$slots.source ? (i(), c("div", _t, [
|
|
496
|
-
|
|
497
|
-
], 512)) :
|
|
498
|
-
|
|
503
|
+
p(t.$slots, "source", {}, void 0, !0)
|
|
504
|
+
], 512)) : w("", !0),
|
|
505
|
+
D.value ? (i(), I(nt, {
|
|
499
506
|
key: 7,
|
|
500
507
|
hideDetails: "",
|
|
501
508
|
config: {
|
|
@@ -511,7 +518,7 @@ const vt = ["id"], ht = {
|
|
|
511
518
|
}
|
|
512
519
|
}
|
|
513
520
|
}, {
|
|
514
|
-
content:
|
|
521
|
+
content: y(() => [
|
|
515
522
|
be(at, {
|
|
516
523
|
colNames: H.value.colNames,
|
|
517
524
|
head: H.value.head,
|
|
@@ -520,23 +527,23 @@ const vt = ["id"], ht = {
|
|
|
520
527
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
521
528
|
onClose: l[1] || (l[1] = (o) => O.value.showTable = !1)
|
|
522
529
|
}, {
|
|
523
|
-
th:
|
|
524
|
-
|
|
530
|
+
th: y(({ th: o }) => [
|
|
531
|
+
Y("div", {
|
|
525
532
|
innerHTML: o,
|
|
526
533
|
style: { display: "flex", "align-items": "center" }
|
|
527
534
|
}, null, 8, Nt)
|
|
528
535
|
]),
|
|
529
|
-
td:
|
|
536
|
+
td: y(({ td: o }) => [
|
|
530
537
|
Ue(W(o.name || o), 1)
|
|
531
538
|
]),
|
|
532
539
|
_: 1
|
|
533
540
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
534
541
|
]),
|
|
535
542
|
_: 1
|
|
536
|
-
}, 8, ["config"])) :
|
|
543
|
+
}, 8, ["config"])) : w("", !0)
|
|
537
544
|
], 46, vt));
|
|
538
545
|
}
|
|
539
|
-
}, Gt = /* @__PURE__ */ dt(Tt, [["__scopeId", "data-v-
|
|
546
|
+
}, Gt = /* @__PURE__ */ dt(Tt, [["__scopeId", "data-v-0482669d"]]);
|
|
540
547
|
export {
|
|
541
548
|
Gt as default
|
|
542
549
|
};
|