vue-data-ui 3.22.7 → 3.22.8
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-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
- package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
- package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
- package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
- package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
- package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
- package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
- package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
- package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
- package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
- package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
- package/package.json +1 -1
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
- package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { n as
|
|
10
|
-
import { t as
|
|
11
|
-
import { c as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, Et as n, G as r, Gt as i, J as a, T as ee, Z as te, b as ne, dt as re, i as o, kt as ie, r as ae, t as oe } from "./lib-JqW18y5I.js";
|
|
3
|
+
import { t as se } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as ce } from "./usePrinter-CqqHmnBI.js";
|
|
5
|
+
import { t as le } from "./useSvgExport-SVIsDot8.js";
|
|
6
|
+
import { t as ue } from "./useNestedProp-DIuuzG1r.js";
|
|
7
|
+
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
+
import { t as fe } from "./img-DnP3eXuv.js";
|
|
9
|
+
import { n as pe } from "./Title-CcNiYzEo.js";
|
|
10
|
+
import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
11
|
+
import { c as he } from "./canvas-lib-BOP_HS11.js";
|
|
12
|
+
import { t as ge } from "./useResponsive-BfnK0KxU.js";
|
|
13
|
+
import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
|
|
14
|
+
import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
|
|
15
|
+
import { t as ye } from "./vue_ui_funnel-_Og4EEkO.js";
|
|
16
|
+
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as be, createTextVNode as xe, createVNode as Se, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as h, nextTick as Ce, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as we, onMounted as Te, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ee, shallowRef as De, toDisplayString as C, unref as w, useCssVars as Oe, watch as ke, withCtx as T } from "vue";
|
|
17
17
|
//#region src/components/vue-ui-funnel.vue
|
|
18
|
-
var
|
|
18
|
+
var Ae = /* @__PURE__ */ e({ default: () => E }), je = ["id"], Me = ["xmlns", "viewBox"], Ne = ["width", "height"], Pe = ["id"], Fe = ["stop-color"], Ie = ["stop-color"], Le = ["stop-color"], Re = ["stroke", "stroke-width"], ze = ["stroke", "stroke-width"], Be = [
|
|
19
19
|
"x",
|
|
20
20
|
"y",
|
|
21
21
|
"font-size",
|
|
22
22
|
"fill",
|
|
23
23
|
"font-weight"
|
|
24
|
-
],
|
|
24
|
+
], Ve = ["points", "fill"], He = [
|
|
25
25
|
"stroke",
|
|
26
26
|
"stroke-width",
|
|
27
27
|
"rx"
|
|
28
|
-
],
|
|
28
|
+
], Ue = [
|
|
29
29
|
"x",
|
|
30
30
|
"y",
|
|
31
31
|
"font-size",
|
|
32
32
|
"fill",
|
|
33
33
|
"font-weight"
|
|
34
|
-
],
|
|
34
|
+
], We = [
|
|
35
35
|
"x",
|
|
36
36
|
"y",
|
|
37
37
|
"font-size",
|
|
38
38
|
"fill",
|
|
39
39
|
"font-weight"
|
|
40
|
-
],
|
|
40
|
+
], Ge = {
|
|
41
41
|
key: 5,
|
|
42
42
|
class: "vue-data-ui-watermark"
|
|
43
|
-
},
|
|
43
|
+
}, Ke = ["innerHTML"], E = /*#__PURE__*/ me({
|
|
44
44
|
__name: "vue-ui-funnel",
|
|
45
45
|
props: {
|
|
46
46
|
config: {
|
|
@@ -57,48 +57,48 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
emits: ["copyAlt"],
|
|
60
|
-
setup(e, { expose:
|
|
61
|
-
|
|
62
|
-
let
|
|
63
|
-
|
|
60
|
+
setup(e, { expose: me, emit: Ae }) {
|
|
61
|
+
Oe((e) => ({ v5d52ff0c: Et.value }));
|
|
62
|
+
let E = p(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), qe = p(() => import("./vue-ui-skeleton-CuFm4PtB.js").then((e) => e.n)), Je = p(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Ye = p(() => import("./DataTable-D9NvewTT.js")), Xe = p(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Ze = p(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Qe = p(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), $e = p(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_funnel: et } = se(), { isThemeValid: tt, warnInvalidTheme: nt } = de(), D = e, rt = Ae, O = b(null), k = b(r()), it = b(0), at = b(0), ot = b(0), st = b(null), ct = b(null), lt = b(null), A = De(null), j = De(null), M = b(!1), N = b(null), P = b(null), F = b(!1), I = b(!1), L = c(() => !!D.dataset && D.dataset.length);
|
|
63
|
+
Te(ut);
|
|
64
64
|
function ut() {
|
|
65
|
-
if (
|
|
65
|
+
if (ie(D.dataset) ? t({
|
|
66
66
|
componentName: "VueUiFunnel",
|
|
67
67
|
type: "dataset"
|
|
68
|
-
}) : D.dataset.forEach((e,
|
|
69
|
-
|
|
68
|
+
}) : D.dataset.forEach((e, n) => {
|
|
69
|
+
re({
|
|
70
70
|
datasetObject: e,
|
|
71
71
|
requiredAttributes: ["name", "value"]
|
|
72
72
|
}).forEach((e) => {
|
|
73
|
-
L.value = !1,
|
|
73
|
+
L.value = !1, t({
|
|
74
74
|
componentName: "VueUiFunnel",
|
|
75
75
|
type: "datasetSerieAttribute",
|
|
76
76
|
property: e,
|
|
77
|
-
index:
|
|
77
|
+
index: n
|
|
78
78
|
});
|
|
79
79
|
});
|
|
80
80
|
}), R.value.responsive) {
|
|
81
|
-
let e =
|
|
82
|
-
let { width: e, height: t } =
|
|
81
|
+
let e = he(() => {
|
|
82
|
+
let { width: e, height: t } = ge({
|
|
83
83
|
chart: O.value,
|
|
84
84
|
title: R.value.style.chart.title.text ? lt.value : null,
|
|
85
85
|
source: ct.value,
|
|
86
86
|
noTitle: st.value
|
|
87
87
|
});
|
|
88
88
|
requestAnimationFrame(() => {
|
|
89
|
-
H.value.height = t, H.value.width = e, W.value = xt(), R.value.responsiveProportionalSizing ? (V.value.circles =
|
|
89
|
+
H.value.height = t, H.value.width = e, W.value = xt(), R.value.responsiveProportionalSizing ? (V.value.circles = i({
|
|
90
90
|
relator: Math.min(e, t),
|
|
91
91
|
adjuster: 600,
|
|
92
92
|
source: R.value.style.chart.circles.dataLabels.fontSize,
|
|
93
93
|
threshold: 10,
|
|
94
94
|
fallback: 10
|
|
95
|
-
}), V.value.names =
|
|
95
|
+
}), V.value.names = i({
|
|
96
96
|
relator: Math.min(e, t),
|
|
97
97
|
adjuster: 600,
|
|
98
98
|
source: R.value.style.chart.bars.dataLabels.name.fontSize,
|
|
99
99
|
threshold: 10,
|
|
100
100
|
fallback: 10
|
|
101
|
-
}), V.value.values =
|
|
101
|
+
}), V.value.values = i({
|
|
102
102
|
relator: Math.min(e, t),
|
|
103
103
|
adjuster: 600,
|
|
104
104
|
source: R.value.style.chart.bars.dataLabels.value.fontSize,
|
|
@@ -110,49 +110,49 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
110
110
|
A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(e), j.value = O.value.parentNode, A.value.observe(j.value);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
we(() => {
|
|
114
114
|
A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect());
|
|
115
115
|
});
|
|
116
116
|
function dt() {
|
|
117
|
-
let e =
|
|
117
|
+
let e = ue({
|
|
118
118
|
userConfig: D.config,
|
|
119
119
|
defaultConfig: et
|
|
120
120
|
}), t = e.theme;
|
|
121
121
|
if (!t) return e;
|
|
122
122
|
if (!tt.value(e)) return nt(e), e;
|
|
123
|
-
let n =
|
|
124
|
-
userConfig:
|
|
123
|
+
let n = ue({
|
|
124
|
+
userConfig: ye[t] || D.config,
|
|
125
125
|
defaultConfig: e
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return ue({
|
|
128
128
|
userConfig: D.config,
|
|
129
129
|
defaultConfig: n
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
|
-
let R =
|
|
132
|
+
let R = c({
|
|
133
133
|
get: () => dt(),
|
|
134
134
|
set: (e) => e
|
|
135
|
-
}), ft =
|
|
136
|
-
|
|
135
|
+
}), ft = c(() => R.value.userOptions.useCursorPointer), { userOptionsVisible: z, setUserOptionsVisibility: pt, keepUserOptionState: mt } = _e({ config: R.value }), { svgRef: ht } = ve({ config: R.value.style.chart.title });
|
|
136
|
+
ke(() => D.config, (e) => {
|
|
137
137
|
R.value = dt(), z.value = !R.value.userOptions.showOnChartHover, ut(), at.value += 1, ot.value += 1, V.value.circles = R.value.style.chart.circles.dataLabels.fontSize, V.value.names = R.value.style.chart.bars.dataLabels.name.fontSize, V.value.values = R.value.style.chart.bars.dataLabels.value.fontSize, B.value.showTable = R.value.table.show;
|
|
138
138
|
}, { deep: !0 });
|
|
139
|
-
let { isPrinting: gt, isImaging: _t, generatePdf: vt, generateImage: yt } =
|
|
139
|
+
let { isPrinting: gt, isImaging: _t, generatePdf: vt, generateImage: yt } = ce({
|
|
140
140
|
elementId: `funnel_${k.value}`,
|
|
141
141
|
fileName: R.value.style.chart.title.text || "vue-ui-funnel",
|
|
142
142
|
options: R.value.userOptions.print
|
|
143
|
-
}), bt =
|
|
143
|
+
}), bt = c(() => R.value.userOptions.show && !R.value.style.chart.title.text), B = b({ showTable: R.value.table.show }), V = b({
|
|
144
144
|
circles: R.value.style.chart.circles.dataLabels.fontSize,
|
|
145
145
|
names: R.value.style.chart.bars.dataLabels.name.fontSize,
|
|
146
146
|
values: R.value.style.chart.bars.dataLabels.value.fontSize
|
|
147
|
-
}), H =
|
|
147
|
+
}), H = c({
|
|
148
148
|
get: () => ({
|
|
149
149
|
height: R.value.style.chart.height,
|
|
150
150
|
width: R.value.style.chart.width
|
|
151
151
|
}),
|
|
152
152
|
set: (e) => e
|
|
153
|
-
}), U =
|
|
153
|
+
}), U = c(() => L.value ? D.dataset.map((e, t) => ({
|
|
154
154
|
...e,
|
|
155
|
-
color: e.color ?
|
|
155
|
+
color: e.color ? ne(e.color) : n(R.value.style.chart.bars.defaultColor, t / D.dataset.length)
|
|
156
156
|
})) : []);
|
|
157
157
|
setTimeout(() => {
|
|
158
158
|
M.value = !0;
|
|
@@ -168,7 +168,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
168
168
|
height: H.value.height - t - R.value.style.chart.padding.bottom
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
let W =
|
|
171
|
+
let W = b(xt()), G = c(() => W.value.height / D.dataset.length), K = c(() => G.value * R.value.style.chart.bars.gapRatio), St = c(() => W.value.width * R.value.style.chart.barCircleSpacingRatio), q = c(() => U.value.map((e, t) => {
|
|
172
172
|
let n = G.value - K.value, r = W.value.top + K.value / 2 * t + (G.value - K.value / 2) * t + K.value / 2, i = e.value / U.value[0].value, a = (W.value.width - n - St.value) * (e.value / U.value[0].value);
|
|
173
173
|
return {
|
|
174
174
|
...e,
|
|
@@ -183,43 +183,43 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
183
183
|
x: W.value.left + n + St.value,
|
|
184
184
|
y: r
|
|
185
185
|
};
|
|
186
|
-
})), Ct =
|
|
186
|
+
})), Ct = c(() => {
|
|
187
187
|
let e = q.value.map((e) => `${e.x + e.width},${e.y + (G.value - K.value) / 2}`);
|
|
188
188
|
return `${q.value[0].x},${q.value[0].y + (G.value - K.value) / 2} ${e.toString()} ${q.value.at(-1).x},${q.value.at(-1).y + (G.value - K.value) / 2}`;
|
|
189
|
-
}), wt =
|
|
189
|
+
}), wt = c(() => ({
|
|
190
190
|
x1: q.value[0].cx,
|
|
191
191
|
y1: q.value[0].cy,
|
|
192
192
|
x2: q.value.at(-1).cx,
|
|
193
193
|
y2: q.value.at(-1).cy
|
|
194
|
-
})), J =
|
|
194
|
+
})), J = b(!1);
|
|
195
195
|
function Tt(e) {
|
|
196
196
|
J.value = e, it.value += 1;
|
|
197
197
|
}
|
|
198
|
-
let Et =
|
|
198
|
+
let Et = c(() => `${U.value.length * 150}ms`), Y = b(!1);
|
|
199
199
|
function Dt() {
|
|
200
200
|
Y.value = !Y.value;
|
|
201
201
|
}
|
|
202
202
|
function Ot() {
|
|
203
203
|
B.value.showTable = !B.value.showTable;
|
|
204
204
|
}
|
|
205
|
-
let X =
|
|
205
|
+
let X = c(() => ({
|
|
206
206
|
head: U.value.map((e) => ({
|
|
207
207
|
name: e.name,
|
|
208
208
|
color: e.color
|
|
209
209
|
})),
|
|
210
210
|
body: U.value.map((e) => e.value)
|
|
211
|
-
})), Z =
|
|
211
|
+
})), Z = c(() => {
|
|
212
212
|
let e = [
|
|
213
213
|
R.value.table.columnNames.series,
|
|
214
214
|
R.value.table.columnNames.value,
|
|
215
215
|
R.value.table.columnNames.percentage
|
|
216
216
|
], t = X.value.head.map((e, t) => {
|
|
217
|
-
let n = o(R.value.style.chart.bars.dataLabels.value.formatter, X.value.body[t],
|
|
217
|
+
let n = o(R.value.style.chart.bars.dataLabels.value.formatter, X.value.body[t], a({
|
|
218
218
|
p: R.value.style.chart.bars.dataLabels.value.prefix,
|
|
219
219
|
v: X.value.body[t],
|
|
220
220
|
s: R.value.style.chart.bars.dataLabels.value.suffix,
|
|
221
221
|
r: R.value.table.td.roundingValue
|
|
222
|
-
}), { datapoint: q.value[t] }), r = o(R.value.style.chart.circles.dataLabels.formatter, q.value[t].proportion * 100,
|
|
222
|
+
}), { datapoint: q.value[t] }), r = o(R.value.style.chart.circles.dataLabels.formatter, q.value[t].proportion * 100, a({
|
|
223
223
|
v: q.value[t].proportion * 100,
|
|
224
224
|
s: "%",
|
|
225
225
|
r: R.value.table.td.roundingPercentage
|
|
@@ -257,12 +257,12 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
257
257
|
};
|
|
258
258
|
});
|
|
259
259
|
function Q(e = null) {
|
|
260
|
-
|
|
260
|
+
Ce(() => {
|
|
261
261
|
let t = X.value.head.map((e, t) => [
|
|
262
262
|
[e.name],
|
|
263
263
|
[X.value.body[t]],
|
|
264
264
|
[q.value[t].proportion * 100]
|
|
265
|
-
]), n =
|
|
265
|
+
]), n = ee([
|
|
266
266
|
[R.value.style.chart.title.text],
|
|
267
267
|
[R.value.style.chart.title.subtitle.text],
|
|
268
268
|
[
|
|
@@ -271,7 +271,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
271
271
|
["%"]
|
|
272
272
|
]
|
|
273
273
|
].concat(t));
|
|
274
|
-
e ? e(n) :
|
|
274
|
+
e ? e(n) : te({
|
|
275
275
|
csvContent: n,
|
|
276
276
|
title: R.value.style.chart.title.text || "vue-ui-funnel"
|
|
277
277
|
});
|
|
@@ -282,7 +282,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
282
282
|
}
|
|
283
283
|
async function At({ scale: e = 2 } = {}) {
|
|
284
284
|
if (!O.value) return;
|
|
285
|
-
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
285
|
+
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
|
|
286
286
|
domElement: O.value,
|
|
287
287
|
base64: !0,
|
|
288
288
|
img: !0,
|
|
@@ -297,7 +297,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
297
297
|
aspectRatio: r
|
|
298
298
|
};
|
|
299
299
|
}
|
|
300
|
-
let $ =
|
|
300
|
+
let $ = c(() => {
|
|
301
301
|
let e = R.value.table.useDialog && !R.value.table.show, t = B.value.showTable;
|
|
302
302
|
return {
|
|
303
303
|
component: e ? $e : Je,
|
|
@@ -327,19 +327,19 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
329
|
});
|
|
330
|
-
|
|
330
|
+
ke(() => B.value.showTable, (e) => {
|
|
331
331
|
R.value.table.show || (e && R.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
|
|
332
332
|
});
|
|
333
333
|
function jt() {
|
|
334
334
|
B.value.showTable = !1, P.value && P.value.setTableIconState(!1);
|
|
335
335
|
}
|
|
336
|
-
let Mt =
|
|
336
|
+
let Mt = c(() => R.value.style.chart.backgroundColor), { exportSvg: Nt, getSvg: Pt } = le({
|
|
337
337
|
svg: ht,
|
|
338
|
-
title:
|
|
338
|
+
title: c(() => R.value.style.chart.title),
|
|
339
339
|
backgroundColor: Mt
|
|
340
340
|
});
|
|
341
341
|
async function Ft({ isCb: e }) {
|
|
342
|
-
I.value = !0, await
|
|
342
|
+
I.value = !0, await Ce();
|
|
343
343
|
try {
|
|
344
344
|
if (e) {
|
|
345
345
|
let { blob: e, url: t, text: n, dataUrl: r } = await Pt();
|
|
@@ -378,7 +378,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
378
378
|
dataset: U.value
|
|
379
379
|
}));
|
|
380
380
|
}
|
|
381
|
-
return
|
|
381
|
+
return me({
|
|
382
382
|
getData: kt,
|
|
383
383
|
getImage: At,
|
|
384
384
|
generatePdf: vt,
|
|
@@ -389,30 +389,30 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
389
389
|
toggleAnnotator: Dt,
|
|
390
390
|
toggleFullscreen: Tt,
|
|
391
391
|
copyAlt: Lt
|
|
392
|
-
}), (e, t) => (
|
|
392
|
+
}), (e, t) => (y(), d("div", {
|
|
393
393
|
ref_key: "funnelChart",
|
|
394
394
|
ref: O,
|
|
395
|
-
class:
|
|
396
|
-
style:
|
|
395
|
+
class: g(`vue-data-ui-component vue-ui-funnel ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${R.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
396
|
+
style: v(`font-family:${R.value.style.fontFamily};width:100%; ${R.value.responsive ? "height:100%;" : ""} text-align:center;background:${R.value.style.chart.backgroundColor}`),
|
|
397
397
|
id: `funnel_${k.value}`,
|
|
398
|
-
onMouseenter: t[1] ||= () =>
|
|
399
|
-
onMouseleave: t[2] ||= () =>
|
|
398
|
+
onMouseenter: t[1] ||= () => w(pt)(!0),
|
|
399
|
+
onMouseleave: t[2] ||= () => w(pt)(!1)
|
|
400
400
|
}, [
|
|
401
|
-
R.value.userOptions.buttons.annotator ? (
|
|
401
|
+
R.value.userOptions.buttons.annotator ? (y(), l(w(Ze), {
|
|
402
402
|
key: 0,
|
|
403
|
-
svgRef:
|
|
403
|
+
svgRef: w(ht),
|
|
404
404
|
backgroundColor: R.value.style.chart.backgroundColor,
|
|
405
405
|
color: R.value.style.chart.color,
|
|
406
406
|
active: Y.value,
|
|
407
407
|
isCursorPointer: ft.value,
|
|
408
408
|
onClose: Dt
|
|
409
409
|
}, {
|
|
410
|
-
"annotator-action-close":
|
|
411
|
-
"annotator-action-color":
|
|
412
|
-
"annotator-action-draw":
|
|
413
|
-
"annotator-action-undo":
|
|
414
|
-
"annotator-action-redo":
|
|
415
|
-
"annotator-action-delete":
|
|
410
|
+
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
411
|
+
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(m({ color: t })), void 0, !0)]),
|
|
412
|
+
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(m({ mode: t })), void 0, !0)]),
|
|
413
|
+
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(m({ disabled: t })), void 0, !0)]),
|
|
414
|
+
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(m({ disabled: t })), void 0, !0)]),
|
|
415
|
+
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(m({ disabled: t })), void 0, !0)]),
|
|
416
416
|
_: 3
|
|
417
417
|
}, 8, [
|
|
418
418
|
"svgRef",
|
|
@@ -420,20 +420,20 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
420
420
|
"color",
|
|
421
421
|
"active",
|
|
422
422
|
"isCursorPointer"
|
|
423
|
-
])) :
|
|
424
|
-
bt.value ? (
|
|
423
|
+
])) : u("", !0),
|
|
424
|
+
bt.value ? (y(), d("div", {
|
|
425
425
|
key: 1,
|
|
426
426
|
ref_key: "noTitle",
|
|
427
427
|
ref: st,
|
|
428
428
|
class: "vue-data-ui-no-title-space",
|
|
429
429
|
style: "height:36px; width: 100%;background:transparent"
|
|
430
|
-
}, null, 512)) :
|
|
431
|
-
R.value.style.chart.title.text ? (
|
|
430
|
+
}, null, 512)) : u("", !0),
|
|
431
|
+
R.value.style.chart.title.text ? (y(), d("div", {
|
|
432
432
|
key: 2,
|
|
433
433
|
ref_key: "chartTitle",
|
|
434
434
|
ref: lt,
|
|
435
435
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
436
|
-
}, [(
|
|
436
|
+
}, [(y(), l(pe, {
|
|
437
437
|
key: `title_${at.value}`,
|
|
438
438
|
config: {
|
|
439
439
|
title: {
|
|
@@ -445,15 +445,15 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
445
445
|
...R.value.style.chart.title.subtitle
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
}, null, 8, ["config"]))], 512)) :
|
|
449
|
-
R.value.userOptions.show && L.value && (
|
|
448
|
+
}, null, 8, ["config"]))], 512)) : u("", !0),
|
|
449
|
+
R.value.userOptions.show && L.value && (w(mt) || w(z)) ? (y(), l(w(Xe), {
|
|
450
450
|
ref_key: "userOptionsRef",
|
|
451
451
|
ref: P,
|
|
452
452
|
key: `user_option_${it.value}`,
|
|
453
453
|
backgroundColor: R.value.style.chart.backgroundColor,
|
|
454
454
|
color: R.value.style.chart.color,
|
|
455
|
-
isPrinting:
|
|
456
|
-
isImaging:
|
|
455
|
+
isPrinting: w(gt),
|
|
456
|
+
isImaging: w(_t),
|
|
457
457
|
uid: k.value,
|
|
458
458
|
hasTooltip: !1,
|
|
459
459
|
hasPdf: R.value.userOptions.buttons.pdf,
|
|
@@ -476,17 +476,17 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
476
476
|
isCursorPointer: ft.value,
|
|
477
477
|
onToggleAnnotator: Dt,
|
|
478
478
|
onToggleFullscreen: Tt,
|
|
479
|
-
onGeneratePdf:
|
|
479
|
+
onGeneratePdf: w(vt),
|
|
480
480
|
onGenerateImage: It,
|
|
481
481
|
onGenerateSvg: Ft,
|
|
482
482
|
onToggleTable: Ot,
|
|
483
483
|
onGenerateCsv: Q,
|
|
484
484
|
onCopyAlt: Lt,
|
|
485
|
-
style:
|
|
486
|
-
},
|
|
485
|
+
style: v({ visibility: w(mt) ? w(z) ? "visible" : "hidden" : "visible" })
|
|
486
|
+
}, be({ _: 2 }, [
|
|
487
487
|
e.$slots.menuIcon ? {
|
|
488
488
|
name: "menuIcon",
|
|
489
|
-
fn:
|
|
489
|
+
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(m({
|
|
490
490
|
isOpen: t,
|
|
491
491
|
color: n
|
|
492
492
|
})), void 0, !0)]),
|
|
@@ -494,32 +494,32 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
494
494
|
} : void 0,
|
|
495
495
|
e.$slots.optionPdf ? {
|
|
496
496
|
name: "optionPdf",
|
|
497
|
-
fn:
|
|
497
|
+
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
498
498
|
key: "1"
|
|
499
499
|
} : void 0,
|
|
500
500
|
e.$slots.optionCsv ? {
|
|
501
501
|
name: "optionCsv",
|
|
502
|
-
fn:
|
|
502
|
+
fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
503
503
|
key: "2"
|
|
504
504
|
} : void 0,
|
|
505
505
|
e.$slots.optionImg ? {
|
|
506
506
|
name: "optionImg",
|
|
507
|
-
fn:
|
|
507
|
+
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
508
508
|
key: "3"
|
|
509
509
|
} : void 0,
|
|
510
510
|
e.$slots.optionSvg ? {
|
|
511
511
|
name: "optionSvg",
|
|
512
|
-
fn:
|
|
512
|
+
fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
513
513
|
key: "4"
|
|
514
514
|
} : void 0,
|
|
515
515
|
e.$slots.optionTable ? {
|
|
516
516
|
name: "optionTable",
|
|
517
|
-
fn:
|
|
517
|
+
fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
518
518
|
key: "5"
|
|
519
519
|
} : void 0,
|
|
520
520
|
e.$slots.optionFullscreen ? {
|
|
521
521
|
name: "optionFullscreen",
|
|
522
|
-
fn:
|
|
522
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(m({
|
|
523
523
|
toggleFullscreen: t,
|
|
524
524
|
isFullscreen: n
|
|
525
525
|
})), void 0, !0)]),
|
|
@@ -527,7 +527,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
527
527
|
} : void 0,
|
|
528
528
|
e.$slots.optionAnnotator ? {
|
|
529
529
|
name: "optionAnnotator",
|
|
530
|
-
fn:
|
|
530
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(m({
|
|
531
531
|
toggleAnnotator: t,
|
|
532
532
|
isAnnotator: n
|
|
533
533
|
})), void 0, !0)]),
|
|
@@ -535,17 +535,17 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
535
535
|
} : void 0,
|
|
536
536
|
e.$slots.optionAltCopy ? {
|
|
537
537
|
name: "optionAltCopy",
|
|
538
|
-
fn:
|
|
538
|
+
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(m({ altCopy: t })), void 0, !0)]),
|
|
539
539
|
key: "8"
|
|
540
540
|
} : void 0,
|
|
541
541
|
e.$slots["custom-menu-before"] ? {
|
|
542
542
|
name: "custom-menu-before",
|
|
543
|
-
fn:
|
|
543
|
+
fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
544
544
|
key: "9"
|
|
545
545
|
} : void 0,
|
|
546
546
|
e.$slots["custom-menu-after"] ? {
|
|
547
547
|
name: "custom-menu-after",
|
|
548
|
-
fn:
|
|
548
|
+
fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
549
549
|
key: "10"
|
|
550
550
|
} : void 0
|
|
551
551
|
]), 1032, [
|
|
@@ -573,50 +573,50 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
573
573
|
"isCursorPointer",
|
|
574
574
|
"onGeneratePdf",
|
|
575
575
|
"style"
|
|
576
|
-
])) :
|
|
577
|
-
L.value ? (
|
|
576
|
+
])) : u("", !0),
|
|
577
|
+
L.value ? (y(), d("svg", {
|
|
578
578
|
key: 4,
|
|
579
579
|
ref_key: "svgRef",
|
|
580
580
|
ref: ht,
|
|
581
|
-
xmlns:
|
|
582
|
-
class:
|
|
581
|
+
xmlns: w(oe),
|
|
582
|
+
class: g({
|
|
583
583
|
"vue-data-ui-fullscreen--on": J.value,
|
|
584
584
|
"vue-data-ui-fulscreen--off": !J.value
|
|
585
585
|
}),
|
|
586
586
|
viewBox: `0 0 ${H.value.width <= 0 ? 10 : H.value.width} ${H.value.height <= 0 ? 10 : H.value.height}`,
|
|
587
|
-
style:
|
|
587
|
+
style: v(`max-width:100%; overflow: visible; background:transparent;color:${R.value.style.chart.color}`)
|
|
588
588
|
}, [
|
|
589
|
-
|
|
590
|
-
e.$slots["chart-background"] ? (
|
|
589
|
+
Se(w(Qe)),
|
|
590
|
+
e.$slots["chart-background"] ? (y(), d("foreignObject", {
|
|
591
591
|
key: 0,
|
|
592
592
|
x: 0,
|
|
593
593
|
y: 0,
|
|
594
594
|
width: H.value.width <= 0 ? 10 : H.value.width,
|
|
595
595
|
height: H.value.height <= 0 ? 10 : H.value.height,
|
|
596
596
|
style: { pointerEvents: "none" }
|
|
597
|
-
}, [
|
|
598
|
-
|
|
597
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ne)) : u("", !0),
|
|
598
|
+
f("defs", null, [f("linearGradient", {
|
|
599
599
|
id: `funnel_area_${k.value}`,
|
|
600
600
|
x1: "0%",
|
|
601
601
|
x2: "100%",
|
|
602
602
|
y1: "0%",
|
|
603
603
|
y2: "0%"
|
|
604
604
|
}, [
|
|
605
|
-
|
|
605
|
+
f("stop", {
|
|
606
606
|
offset: "0%",
|
|
607
607
|
"stop-color": R.value.style.chart.backgroundColor,
|
|
608
608
|
"stop-opacity": 0
|
|
609
|
-
}, null, 8,
|
|
610
|
-
|
|
609
|
+
}, null, 8, Fe),
|
|
610
|
+
f("stop", {
|
|
611
611
|
offset: "20%",
|
|
612
612
|
"stop-color": R.value.style.chart.area.color
|
|
613
|
-
}, null, 8,
|
|
614
|
-
|
|
613
|
+
}, null, 8, Ie),
|
|
614
|
+
f("stop", {
|
|
615
615
|
offset: "100%",
|
|
616
616
|
"stop-color": R.value.style.chart.area.color
|
|
617
|
-
}, null, 8,
|
|
618
|
-
], 8,
|
|
619
|
-
R.value.style.chart.circleLinks.show ? (
|
|
617
|
+
}, null, 8, Le)
|
|
618
|
+
], 8, Pe)]),
|
|
619
|
+
R.value.style.chart.circleLinks.show ? (y(), d("line", h({ key: 1 }, wt.value, {
|
|
620
620
|
stroke: R.value.style.chart.circleLinks.color,
|
|
621
621
|
"stroke-width": 12 * R.value.style.chart.circleLinks.widthRatio,
|
|
622
622
|
"stroke-linecap": "round",
|
|
@@ -625,8 +625,8 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
625
625
|
strokeDasharray: R.value.useCssAnimation ? W.value.height : 0,
|
|
626
626
|
strokeDashoffset: R.value.useCssAnimation ? W.value.height : 0
|
|
627
627
|
}
|
|
628
|
-
}), null, 16,
|
|
629
|
-
(
|
|
628
|
+
}), null, 16, Re)) : u("", !0),
|
|
629
|
+
(y(!0), d(s, null, x(q.value, ({ cx: e, cy: t, r: n, fill: r }, i) => (y(), d("circle", h({ ref_for: !0 }, {
|
|
630
630
|
cx: e,
|
|
631
631
|
cy: t,
|
|
632
632
|
r: n,
|
|
@@ -636,29 +636,29 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
636
636
|
"stroke-width": R.value.style.chart.circles.strokeWidth,
|
|
637
637
|
class: { animated: R.value.useCssAnimation && !M.value },
|
|
638
638
|
style: { animationDelay: `${150 * i}ms` }
|
|
639
|
-
}), null, 16,
|
|
640
|
-
(
|
|
639
|
+
}), null, 16, ze))), 256)),
|
|
640
|
+
(y(!0), d(s, null, x(q.value, (e, t) => (y(), d("text", {
|
|
641
641
|
x: e.cx,
|
|
642
642
|
y: e.cy + V.value.circles / 3 + R.value.style.chart.circles.dataLabels.offsetY,
|
|
643
643
|
"text-anchor": "middle",
|
|
644
644
|
"font-size": V.value.circles,
|
|
645
|
-
fill: R.value.style.chart.circles.dataLabels.adaptColorToBackground ?
|
|
645
|
+
fill: R.value.style.chart.circles.dataLabels.adaptColorToBackground ? w(ae)(e.color) : R.value.style.chart.circles.dataLabels.color,
|
|
646
646
|
"font-weight": R.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
|
|
647
|
-
class:
|
|
648
|
-
style:
|
|
649
|
-
}, w(
|
|
647
|
+
class: g({ animated: R.value.useCssAnimation && !M.value }),
|
|
648
|
+
style: v({ animationDelay: `${150 * t}ms` })
|
|
649
|
+
}, C(w(o)(R.value.style.chart.circles.dataLabels.formatter, e.proportion * 100, w(a)({
|
|
650
650
|
v: e.proportion * 100,
|
|
651
651
|
s: "%",
|
|
652
652
|
r: R.value.style.chart.circles.dataLabels.rounding
|
|
653
|
-
}), { datapoint: e })), 15,
|
|
654
|
-
R.value.style.chart.area.show ? (
|
|
653
|
+
}), { datapoint: e })), 15, Be))), 256)),
|
|
654
|
+
R.value.style.chart.area.show ? (y(), d("polygon", {
|
|
655
655
|
key: 2,
|
|
656
656
|
points: Ct.value,
|
|
657
657
|
fill: `url(#funnel_area_${k.value})`,
|
|
658
|
-
class:
|
|
659
|
-
style:
|
|
660
|
-
}, null, 14,
|
|
661
|
-
(
|
|
658
|
+
class: g({ animated: R.value.useCssAnimation && !M.value }),
|
|
659
|
+
style: v({ transition: R.value.useCssAnimation ? `all ${150 * U.value.length}ms ease-in` : "none" })
|
|
660
|
+
}, null, 14, Ve)) : u("", !0),
|
|
661
|
+
(y(!0), d(s, null, x(q.value, ({ x: e, y: t, height: n, width: r, fill: i }, a) => (y(), d("rect", h({ ref_for: !0 }, {
|
|
662
662
|
x: e,
|
|
663
663
|
y: t,
|
|
664
664
|
height: n,
|
|
@@ -670,39 +670,39 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
670
670
|
rx: R.value.style.chart.bars.borderRadius,
|
|
671
671
|
class: { animated: R.value.useCssAnimation && !M.value },
|
|
672
672
|
style: { animationDelay: `${150 * a}ms` }
|
|
673
|
-
}), null, 16,
|
|
674
|
-
(
|
|
673
|
+
}), null, 16, He))), 256)),
|
|
674
|
+
(y(!0), d(s, null, x(q.value, (e, t) => (y(), d("g", null, [f("text", {
|
|
675
675
|
x: e.x + e.width + R.value.style.chart.bars.dataLabels.name.offsetX + 12,
|
|
676
676
|
y: e.cy - V.value.names / 2 + R.value.style.chart.bars.dataLabels.name.offsetY,
|
|
677
677
|
"text-anchor": "start",
|
|
678
678
|
"font-size": V.value.names,
|
|
679
679
|
fill: R.value.style.chart.bars.dataLabels.name.color,
|
|
680
680
|
"font-weight": R.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
|
|
681
|
-
class:
|
|
682
|
-
style:
|
|
683
|
-
},
|
|
681
|
+
class: g({ animated: R.value.useCssAnimation && !M.value }),
|
|
682
|
+
style: v({ animationDelay: `${150 * t}ms` })
|
|
683
|
+
}, C(e.name), 15, Ue), f("text", {
|
|
684
684
|
x: e.x + e.width + R.value.style.chart.bars.dataLabels.value.offsetX + 12,
|
|
685
685
|
y: e.cy + V.value.values + R.value.style.chart.bars.dataLabels.value.offsetY,
|
|
686
686
|
"text-anchor": "start",
|
|
687
687
|
"font-size": V.value.values,
|
|
688
688
|
fill: R.value.style.chart.bars.dataLabels.value.color,
|
|
689
689
|
"font-weight": R.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
|
|
690
|
-
class:
|
|
691
|
-
style:
|
|
692
|
-
}, w(
|
|
690
|
+
class: g({ animated: R.value.useCssAnimation && !M.value }),
|
|
691
|
+
style: v({ animationDelay: `${150 * t}ms` })
|
|
692
|
+
}, C(w(o)(R.value.style.chart.bars.dataLabels.value.formatter, e.value, w(a)({
|
|
693
693
|
p: R.value.style.chart.bars.dataLabels.value.prefix,
|
|
694
694
|
v: e.value,
|
|
695
695
|
s: R.value.style.chart.bars.dataLabels.value.suffix,
|
|
696
696
|
r: R.value.style.chart.bars.dataLabels.value.rounding
|
|
697
|
-
}), { datapoint: e })), 15,
|
|
698
|
-
|
|
697
|
+
}), { datapoint: e })), 15, We)]))), 256)),
|
|
698
|
+
S(e.$slots, "svg", { svg: {
|
|
699
699
|
...H.value,
|
|
700
|
-
isPrintingImg:
|
|
700
|
+
isPrintingImg: w(gt) || w(_t) || F.value,
|
|
701
701
|
isPrintingSvg: I.value
|
|
702
702
|
} }, void 0, !0)
|
|
703
|
-
], 14,
|
|
704
|
-
e.$slots.watermark ? (
|
|
705
|
-
L.value ?
|
|
703
|
+
], 14, Me)) : u("", !0),
|
|
704
|
+
e.$slots.watermark ? (y(), d("div", Ge, [S(e.$slots, "watermark", _(m({ isPrinting: w(gt) || w(_t) || F.value || I.value })), void 0, !0)])) : u("", !0),
|
|
705
|
+
L.value ? u("", !0) : (y(), l(w(qe), {
|
|
706
706
|
key: 6,
|
|
707
707
|
config: {
|
|
708
708
|
type: "verticalBar",
|
|
@@ -715,18 +715,18 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
715
715
|
}
|
|
716
716
|
}
|
|
717
717
|
}, null, 8, ["config"])),
|
|
718
|
-
e.$slots.source ? (
|
|
718
|
+
e.$slots.source ? (y(), d("div", {
|
|
719
719
|
key: 7,
|
|
720
720
|
ref_key: "source",
|
|
721
721
|
ref: ct,
|
|
722
722
|
dir: "auto"
|
|
723
|
-
}, [
|
|
724
|
-
L.value && R.value.userOptions.buttons.table ? (
|
|
723
|
+
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
|
|
724
|
+
L.value && R.value.userOptions.buttons.table ? (y(), l(Ee($.value.component), h({ key: 8 }, $.value.props, {
|
|
725
725
|
ref_key: "tableUnit",
|
|
726
726
|
ref: N,
|
|
727
727
|
onClose: jt
|
|
728
|
-
}),
|
|
729
|
-
content:
|
|
728
|
+
}), be({
|
|
729
|
+
content: T(() => [(y(), l(w(Ye), {
|
|
730
730
|
key: `table_${ot.value}`,
|
|
731
731
|
colNames: Z.value.colNames,
|
|
732
732
|
head: Z.value.head,
|
|
@@ -736,14 +736,14 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
736
736
|
withCloseButton: !R.value.table.useDialog,
|
|
737
737
|
onClose: jt
|
|
738
738
|
}, {
|
|
739
|
-
th:
|
|
739
|
+
th: T(({ th: e }) => [f("div", {
|
|
740
740
|
innerHTML: e,
|
|
741
741
|
style: {
|
|
742
742
|
display: "flex",
|
|
743
743
|
"align-items": "center"
|
|
744
744
|
}
|
|
745
|
-
}, null, 8,
|
|
746
|
-
td:
|
|
745
|
+
}, null, 8, Ke)]),
|
|
746
|
+
td: T(({ td: e }) => [xe(C(e.name ? e.name : e), 1)]),
|
|
747
747
|
_: 1
|
|
748
748
|
}, 8, [
|
|
749
749
|
"colNames",
|
|
@@ -756,22 +756,22 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
756
756
|
_: 2
|
|
757
757
|
}, [R.value.table.useDialog ? {
|
|
758
758
|
name: "title",
|
|
759
|
-
fn:
|
|
759
|
+
fn: T(() => [xe(C($.value.title), 1)]),
|
|
760
760
|
key: "0"
|
|
761
761
|
} : void 0, R.value.table.useDialog ? {
|
|
762
762
|
name: "actions",
|
|
763
|
-
fn:
|
|
763
|
+
fn: T(() => [f("button", {
|
|
764
764
|
tabindex: "0",
|
|
765
765
|
class: "vue-ui-user-options-button",
|
|
766
766
|
onClick: t[0] ||= (e) => Q(R.value.userOptions.callbacks.csv)
|
|
767
|
-
}, [
|
|
767
|
+
}, [Se(w(E), {
|
|
768
768
|
name: "fileCsv",
|
|
769
769
|
stroke: $.value.props.color
|
|
770
770
|
}, null, 8, ["stroke"])])]),
|
|
771
771
|
key: "1"
|
|
772
|
-
} : void 0]), 1040)) :
|
|
773
|
-
], 46,
|
|
772
|
+
} : void 0]), 1040)) : u("", !0)
|
|
773
|
+
], 46, je));
|
|
774
774
|
}
|
|
775
775
|
}, [["__scopeId", "data-v-a4ff61af"]]);
|
|
776
776
|
//#endregion
|
|
777
|
-
export {
|
|
777
|
+
export { Ae as n, E as t };
|