vue-data-ui 3.22.13 → 3.23.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/LICENSE +1 -1
- package/README.md +13 -1
- package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
- package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
- package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
- package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
- package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
- package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
- package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
- package/dist/HillActions-BWhxHlrj.js +187 -0
- package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
- package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
- package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
- package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
- package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
- package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
- package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
- package/dist/Title-BODtwViI.js +87 -0
- package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
- package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.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-hill.js +2 -0
- 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-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
- package/dist/exposedLib-DWLRqRhv.js +25 -0
- package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
- package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
- package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
- package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
- package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
- package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
- 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/vue-data-ui.d.ts +493 -0
- package/dist/types/vue-ui-hill.d.ts +90 -0
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
- package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
- package/dist/useHints-Dq_w2E8B.js +66 -0
- package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
- package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
- package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
- package/dist/useTransitions-g_zBREk2.js +39 -0
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
- package/dist/vue-data-ui.js +77 -76
- package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
- package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
- package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
- package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
- package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
- package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
- package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
- package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
- package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
- package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
- package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
- package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
- package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
- package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
- package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
- package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
- package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
- package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
- package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
- package/dist/vue-ui-funnel-CjYosIik.js +797 -0
- package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
- package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
- package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
- package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
- package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
- package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
- package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
- package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
- package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
- package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
- package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
- package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
- package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
- package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
- package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
- package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
- package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
- package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
- package/dist/vue-ui-rating--K7rX2an.js +360 -0
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
- package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
- package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
- package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
- package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
- package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
- package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
- package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
- package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
- package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
- package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
- package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
- package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
- package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
- package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
- package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
- package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
- package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
- package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
- package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
- package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
- package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
- package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
- package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
- package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
- package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
- package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
- package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
- package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
- package/dist/vue_ui_hill-dnltu0L-.js +368 -0
- package/package.json +2 -2
- package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
- package/dist/Title-BuPs74IB.js +0 -87
- package/dist/exposedLib-Ciw6TGtP.js +0 -25
- package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
- package/dist/useMountedDelay-BAjrhRJb.js +0 -14
- package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
- package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
- package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
- package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
- package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
- package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
- package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
- package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
- package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
- package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
- package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
- package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
- package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
- package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
- package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
- package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
- package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
- package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
- package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
- package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
- package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
- package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
- package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
- package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
- package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
- package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
- package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
- package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
- package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
- package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
- package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
- package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
- package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, D as n, G as r, Jt as i, Kt as a, P as o, Pt as s, S as c, V as l, X as u, c as ee, i as te, jt as ne, pt as re, q as ie, r as ae, t as oe, tt as se, w as ce, wt as d } from "./lib-BuMGJ_a0.js";
|
|
3
|
+
import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
|
|
3
4
|
import { t as de } from "./useTimeLabels-B9CEuiLZ.js";
|
|
4
|
-
import { t as fe } from "./useConfig-
|
|
5
|
-
import { t as pe } from "./usePrinter-
|
|
5
|
+
import { t as fe } from "./useConfig-BilxnBNr.js";
|
|
6
|
+
import { t as pe } from "./usePrinter-BFvi4jVy.js";
|
|
6
7
|
import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
|
|
7
8
|
import { t as ge } from "./useSvgExport-Ba9qBr9M.js";
|
|
8
|
-
import { t as _e } from "./useNestedProp
|
|
9
|
+
import { t as _e } from "./useNestedProp--NSEmhOH.js";
|
|
9
10
|
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
11
|
import { t as ye } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
-
import { n as be } from "./Title-
|
|
12
|
+
import { n as be } from "./Title-BODtwViI.js";
|
|
12
13
|
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
14
|
import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
|
|
14
15
|
import { t as we } from "./A11yDataTable-DdRsVULz.js";
|
|
15
16
|
import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
17
|
import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
18
|
import { t as De } from "./vue_ui_bump-Vl-zYAtG.js";
|
|
18
|
-
import { t as Oe } from "./BaseDraggableDialog-
|
|
19
|
-
import { Fragment as
|
|
19
|
+
import { t as Oe } from "./BaseDraggableDialog-qTnfhLBz.js";
|
|
20
|
+
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as ke, createTextVNode as Ae, createVNode as je, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Me, nextTick as Ne, normalizeClass as Pe, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Fe, onMounted as Ie, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as E, toRefs as ze, unref as D, watch as Be, watchEffect as Ve, withCtx as O } from "vue";
|
|
20
21
|
//#region src/components/vue-ui-bump.vue
|
|
21
22
|
var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
|
|
22
23
|
"xmlns",
|
|
@@ -126,14 +127,51 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
126
127
|
},
|
|
127
128
|
emits: ["copyAlt"],
|
|
128
129
|
setup(e, { expose: xe, emit: He }) {
|
|
129
|
-
let lt =
|
|
130
|
+
let lt = v(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), ut = v(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), dt = v(() => import("./DataTable-D4tM9s5Y.js")), ft = v(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), pt = v(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), mt = v(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), { vue_ui_bump: ht } = fe(), { isThemeValid: gt, warnInvalidTheme: _t } = ve(), k = e, vt = He, yt = p({
|
|
130
131
|
get() {
|
|
131
|
-
return !!
|
|
132
|
+
return !!k.dataset && k.dataset.length;
|
|
132
133
|
},
|
|
133
134
|
set(e) {
|
|
134
135
|
return e;
|
|
135
136
|
}
|
|
136
|
-
}),
|
|
137
|
+
}), A = C(null), j = C(ie()), bt = C(0), xt = C(null), St = C(null), Ct = C(null), wt = C(!1), Tt = C(!1), Et = C(0), Dt = C(0), M = C(null), Ot = C(null), kt = C(!1), At = C(!1), jt = C(!1), N = C(null), Mt = C(null), Nt = C(null), Pt = C(null), P = C(null), Ft = C(!1), F = C(Bt());
|
|
138
|
+
le({
|
|
139
|
+
config: () => F.value,
|
|
140
|
+
dataset: () => k.dataset,
|
|
141
|
+
component: "VueUiBump",
|
|
142
|
+
rules: [
|
|
143
|
+
ue.emptyArray,
|
|
144
|
+
{
|
|
145
|
+
test: (e) => e.length > 31,
|
|
146
|
+
message: [
|
|
147
|
+
"👀 The number of series > 31. Consider:",
|
|
148
|
+
"",
|
|
149
|
+
"▶️ Using filters to let users choose a maximum number of series to display",
|
|
150
|
+
"",
|
|
151
|
+
"▶️ Use several instances of the component to show related series"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
test: (e) => e.length === 1,
|
|
156
|
+
message: [
|
|
157
|
+
"👀 There is only 1 series in your dataset. Consider:",
|
|
158
|
+
"",
|
|
159
|
+
"▶️ Using a line chart, with VueUiXy."
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
test: (e) => e.some((e) => e.values.length > 31),
|
|
164
|
+
message: [
|
|
165
|
+
"👀 Some series contain > 31 data points, which can make the chart hard to read. Consider:",
|
|
166
|
+
"",
|
|
167
|
+
"▶️ Use filters to show less data points at a time.",
|
|
168
|
+
"",
|
|
169
|
+
"▶️ Use larger time scales, or aggregated values."
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
});
|
|
174
|
+
let I = p(() => F.value.userOptions.useCursorPointer), It = p(() => i({
|
|
137
175
|
defaultConfig: {
|
|
138
176
|
userOptions: { show: !1 },
|
|
139
177
|
style: { chart: {
|
|
@@ -153,11 +191,11 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
153
191
|
} }
|
|
154
192
|
},
|
|
155
193
|
userConfig: F.value.skeletonConfig ?? {}
|
|
156
|
-
})), { loading:
|
|
157
|
-
...ze(
|
|
194
|
+
})), { loading: Lt, FINAL_DATASET: Rt, manualLoading: zt } = me({
|
|
195
|
+
...ze(k),
|
|
158
196
|
FINAL_CONFIG: F,
|
|
159
|
-
prepareConfig:
|
|
160
|
-
skeletonDataset:
|
|
197
|
+
prepareConfig: Bt,
|
|
198
|
+
skeletonDataset: k.config?.skeletonDataset ?? [
|
|
161
199
|
{
|
|
162
200
|
name: "————",
|
|
163
201
|
values: [
|
|
@@ -207,59 +245,59 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
207
245
|
color: "#8A8A8A"
|
|
208
246
|
}
|
|
209
247
|
],
|
|
210
|
-
skeletonConfig:
|
|
248
|
+
skeletonConfig: i({
|
|
211
249
|
defaultConfig: F.value,
|
|
212
|
-
userConfig:
|
|
250
|
+
userConfig: It.value
|
|
213
251
|
})
|
|
214
252
|
});
|
|
215
|
-
Ie(
|
|
216
|
-
function
|
|
253
|
+
Ie(en);
|
|
254
|
+
function Bt() {
|
|
217
255
|
let e = _e({
|
|
218
|
-
userConfig:
|
|
256
|
+
userConfig: k.config,
|
|
219
257
|
defaultConfig: ht
|
|
220
258
|
}), t = {}, n = e.theme;
|
|
221
259
|
if (n) if (!gt.value(e)) _t(e), t = e;
|
|
222
260
|
else {
|
|
223
261
|
let r = _e({
|
|
224
|
-
userConfig: De[n] ||
|
|
262
|
+
userConfig: De[n] || k.config,
|
|
225
263
|
defaultConfig: e
|
|
226
264
|
});
|
|
227
265
|
t = {
|
|
228
266
|
..._e({
|
|
229
|
-
userConfig:
|
|
267
|
+
userConfig: k.config,
|
|
230
268
|
defaultConfig: r
|
|
231
269
|
}),
|
|
232
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
270
|
+
customPalette: e.customPalette.length ? e.customPalette : a[n] || s
|
|
233
271
|
};
|
|
234
272
|
}
|
|
235
273
|
else t = e;
|
|
236
274
|
return t;
|
|
237
275
|
}
|
|
238
|
-
let { userOptionsVisible:
|
|
239
|
-
function
|
|
240
|
-
kt.value = !0,
|
|
276
|
+
let { userOptionsVisible: Vt, setUserOptionsVisibility: Ht, keepUserOptionState: Ut } = Te({ config: F.value }), { svgRef: L } = Ee({ config: F.value.style.chart.title });
|
|
277
|
+
function Wt() {
|
|
278
|
+
kt.value = !0, Ht(!0);
|
|
241
279
|
}
|
|
242
|
-
function
|
|
243
|
-
|
|
280
|
+
function Gt() {
|
|
281
|
+
Ht(!1), kt.value = !1;
|
|
244
282
|
}
|
|
245
|
-
let R =
|
|
283
|
+
let R = C({ showTable: F.value.table.show });
|
|
246
284
|
Be(F, () => {
|
|
247
285
|
R.value = { showTable: F.value.table.show };
|
|
248
|
-
}, { immediate: !0 }), Be(() =>
|
|
249
|
-
|
|
286
|
+
}, { immediate: !0 }), Be(() => k.config, (e) => {
|
|
287
|
+
Lt.value || (F.value = Bt()), Vt.value = !F.value.userOptions.showOnChartHover, en(), Et.value += 1, Dt.value += 1, R.value.showTable = F.value.table.show, z.value.width = F.value.style.chart.width, z.value.height = F.value.style.chart.height, z.value.paddingRatio = {
|
|
250
288
|
top: F.value.style.chart.padding.top / F.value.style.chart.height,
|
|
251
289
|
right: F.value.style.chart.padding.right / F.value.style.chart.width,
|
|
252
290
|
bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
|
|
253
291
|
left: F.value.style.chart.padding.left / F.value.style.chart.width
|
|
254
292
|
};
|
|
255
|
-
}), Be(() =>
|
|
256
|
-
Array.isArray(e) && e.length > 0 && (
|
|
293
|
+
}), Be(() => k.dataset, (e) => {
|
|
294
|
+
Array.isArray(e) && e.length > 0 && (zt.value = !1);
|
|
257
295
|
}, { deep: !0 });
|
|
258
|
-
let { isPrinting:
|
|
259
|
-
elementId: `bump_${
|
|
296
|
+
let { isPrinting: Kt, isImaging: qt, generatePdf: Jt, generateImage: Yt } = pe({
|
|
297
|
+
elementId: `bump_${j.value}`,
|
|
260
298
|
fileName: F.value.style.chart.title.text || "vue-ui-bump",
|
|
261
299
|
options: F.value.userOptions.print
|
|
262
|
-
}),
|
|
300
|
+
}), Xt = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), z = C({
|
|
263
301
|
width: F.value.style.chart.width,
|
|
264
302
|
height: F.value.style.chart.height,
|
|
265
303
|
paddingRatio: {
|
|
@@ -268,32 +306,32 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
268
306
|
bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
|
|
269
307
|
left: F.value.style.chart.padding.left / F.value.style.chart.width
|
|
270
308
|
}
|
|
271
|
-
}),
|
|
272
|
-
function
|
|
273
|
-
if (
|
|
309
|
+
}), Zt = p(() => ce(F.value.customPalette)), B = Re(null), V = Re(null), Qt = C(null), $t = p(() => !!F.value.debug);
|
|
310
|
+
function en() {
|
|
311
|
+
if (ne(k.dataset) ? (se({
|
|
274
312
|
componentName: "VueUiBump",
|
|
275
313
|
type: "dataset",
|
|
276
|
-
debug:
|
|
277
|
-
}),
|
|
278
|
-
|
|
314
|
+
debug: $t.value
|
|
315
|
+
}), zt.value = !0) : k.dataset.forEach((e, t) => {
|
|
316
|
+
re({
|
|
279
317
|
datasetObject: e,
|
|
280
318
|
requiredAttributes: ["name", "values"]
|
|
281
319
|
}).forEach((e) => {
|
|
282
|
-
yt.value = !1,
|
|
320
|
+
yt.value = !1, se({
|
|
283
321
|
componentName: "VueUiBump",
|
|
284
322
|
type: "datasetSerieAttribute",
|
|
285
323
|
property: e,
|
|
286
324
|
index: t,
|
|
287
|
-
debug:
|
|
288
|
-
}),
|
|
325
|
+
debug: $t.value
|
|
326
|
+
}), zt.value = !0;
|
|
289
327
|
});
|
|
290
|
-
}),
|
|
328
|
+
}), ne(k.dataset) || (zt.value = F.value.loading), setTimeout(() => {
|
|
291
329
|
Tt.value = !0;
|
|
292
330
|
}, 10), F.value.responsive) {
|
|
293
331
|
let e = Se(() => {
|
|
294
332
|
Tt.value = !1;
|
|
295
333
|
let { width: e, height: t } = Ce({
|
|
296
|
-
chart:
|
|
334
|
+
chart: A.value,
|
|
297
335
|
noTitle: St.value,
|
|
298
336
|
title: F.value.style.chart.title.text ? xt.value : null,
|
|
299
337
|
legend: null,
|
|
@@ -301,27 +339,27 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
301
339
|
source: Ct.value
|
|
302
340
|
});
|
|
303
341
|
requestAnimationFrame(() => {
|
|
304
|
-
z.value.width = e, z.value.height = t - 12, clearTimeout(
|
|
342
|
+
z.value.width = e, z.value.height = t - 12, clearTimeout(Qt.value), Qt.value = setTimeout(() => {
|
|
305
343
|
Tt.value = !0;
|
|
306
344
|
}, 10);
|
|
307
345
|
});
|
|
308
346
|
});
|
|
309
|
-
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value =
|
|
347
|
+
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = A.value.parentNode, B.value.observe(V.value);
|
|
310
348
|
}
|
|
311
349
|
}
|
|
312
350
|
Fe(() => {
|
|
313
351
|
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
314
352
|
});
|
|
315
|
-
let
|
|
316
|
-
let n =
|
|
353
|
+
let tn = p(() => Rt.value.map((e, t) => {
|
|
354
|
+
let n = c(e.color) || Zt.value[t] || s[t] || s[t % s.length];
|
|
317
355
|
return {
|
|
318
356
|
...e,
|
|
319
357
|
absoluteIndex: t,
|
|
320
|
-
id:
|
|
358
|
+
id: ie(),
|
|
321
359
|
color: n
|
|
322
360
|
};
|
|
323
|
-
})), H =
|
|
324
|
-
function
|
|
361
|
+
})), H = p(() => Math.max(...tn.value.map((e) => e.values.length)));
|
|
362
|
+
function nn(e) {
|
|
325
363
|
let t = e.map(() => Array(H.value).fill(null));
|
|
326
364
|
for (let n = 0; n < H.value; n += 1) {
|
|
327
365
|
let r = e.map((e, r) => ({
|
|
@@ -337,34 +375,34 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
337
375
|
}
|
|
338
376
|
return t;
|
|
339
377
|
}
|
|
340
|
-
function
|
|
378
|
+
function rn() {
|
|
341
379
|
let e = 0;
|
|
342
|
-
return
|
|
380
|
+
return Mt.value && (e = Array.from(Mt.value.querySelectorAll("tspan")).reduce((e, t) => {
|
|
343
381
|
let n = t.getComputedTextLength();
|
|
344
382
|
return n > e ? n : e;
|
|
345
383
|
}, 0)), e;
|
|
346
384
|
}
|
|
347
|
-
function
|
|
385
|
+
function an() {
|
|
348
386
|
let e = 0;
|
|
349
|
-
return
|
|
387
|
+
return Nt.value && (e = Array.from(Nt.value.querySelectorAll("tspan")).reduce((e, t) => {
|
|
350
388
|
let n = t.getComputedTextLength();
|
|
351
389
|
return n > e ? n : e;
|
|
352
390
|
}, 0)), e;
|
|
353
391
|
}
|
|
354
|
-
let
|
|
355
|
-
|
|
392
|
+
let on = C(0), sn = Se((e) => {
|
|
393
|
+
on.value = e;
|
|
356
394
|
}, 100);
|
|
357
395
|
Ve((e) => {
|
|
358
|
-
let t =
|
|
396
|
+
let t = Pt.value;
|
|
359
397
|
if (!t) return;
|
|
360
398
|
let n = new ResizeObserver((e) => {
|
|
361
|
-
|
|
399
|
+
sn(e[0].contentRect.height);
|
|
362
400
|
});
|
|
363
401
|
n.observe(t), e(() => n.disconnect());
|
|
364
402
|
}), Fe(() => {
|
|
365
|
-
|
|
403
|
+
on.value = 0;
|
|
366
404
|
});
|
|
367
|
-
let
|
|
405
|
+
let cn = p(() => {
|
|
368
406
|
let e = F.value.style.chart.layout.timeLabels;
|
|
369
407
|
if (!e.show) return 0;
|
|
370
408
|
let t = e.fontSize, n = e.rotation, r = Math.PI / 180 * n, i = K.value || [];
|
|
@@ -375,32 +413,32 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
375
413
|
}, 1), o = i.reduce((e, t) => {
|
|
376
414
|
let n = String(t?.text ?? "").split("\n").reduce((e, t) => Math.max(e, t.length), 0);
|
|
377
415
|
return Math.max(e, n);
|
|
378
|
-
}, 0), s = t * 1.3 * a,
|
|
379
|
-
return Math.max(0,
|
|
380
|
-
}), U =
|
|
381
|
-
let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i =
|
|
416
|
+
}, 0), s = t * 1.3 * a, c = o * t * (o === 1 ? 1 : .6), l = Math.abs(Math.sin(r)) * c + Math.abs(Math.cos(r)) * s, u = t * .3;
|
|
417
|
+
return Math.max(0, l + Math.abs(e.offsetY) + u);
|
|
418
|
+
}), U = p(() => {
|
|
419
|
+
let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i = rn(), a = an(), o = F.value.style.chart.padding.top, s = t - t * n - a, c = t * r + i, l = t - t * n - t * r - i - a, u = e - o - F.value.style.chart.padding.bottom - cn.value, ee = o + u, te = o + u, ne = Math.max(0, e);
|
|
382
420
|
return {
|
|
383
|
-
chartHeight:
|
|
421
|
+
chartHeight: te,
|
|
384
422
|
chartWidth: Math.max(0, t),
|
|
385
423
|
top: o,
|
|
386
424
|
right: Math.max(0, s),
|
|
387
|
-
bottom: Math.max(0,
|
|
388
|
-
left: Math.max(0,
|
|
389
|
-
width: Math.max(0,
|
|
390
|
-
height: Math.max(0,
|
|
391
|
-
unitH: Math.max(0,
|
|
392
|
-
unitW: Math.max(0,
|
|
393
|
-
svgHeight:
|
|
425
|
+
bottom: Math.max(0, ee),
|
|
426
|
+
left: Math.max(0, c),
|
|
427
|
+
width: Math.max(0, l),
|
|
428
|
+
height: Math.max(0, u),
|
|
429
|
+
unitH: Math.max(0, u) / tn.value.length,
|
|
430
|
+
unitW: Math.max(0, l) / H.value,
|
|
431
|
+
svgHeight: ne
|
|
394
432
|
};
|
|
395
|
-
}), W =
|
|
396
|
-
if (!yt.value && !
|
|
397
|
-
let e =
|
|
398
|
-
return
|
|
433
|
+
}), W = p(() => {
|
|
434
|
+
if (!yt.value && !Lt.value) return [];
|
|
435
|
+
let e = nn(tn.value);
|
|
436
|
+
return tn.value.map((t, n) => ({
|
|
399
437
|
...t,
|
|
400
438
|
positions: e[n]
|
|
401
439
|
})).map((e) => {
|
|
402
440
|
let t = e.positions.map((t, n) => {
|
|
403
|
-
let r =
|
|
441
|
+
let r = te(F.value.style.chart.layout.plots.labels.formatter, e.values[n], u({
|
|
404
442
|
p: F.value.style.chart.layout.plots.labels.prefix,
|
|
405
443
|
v: e.values[n],
|
|
406
444
|
s: F.value.style.chart.layout.plots.labels.suffix,
|
|
@@ -415,25 +453,25 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
415
453
|
displayValue: r,
|
|
416
454
|
rank: e.positions[n] + 1,
|
|
417
455
|
color: e.color,
|
|
418
|
-
labelColor: F.value.style.chart.layout.plots.labels.color === "auto" ?
|
|
456
|
+
labelColor: F.value.style.chart.layout.plots.labels.color === "auto" ? ae(e.color) : c(F.value.style.chart.layout.plots.labels.color) ?? ae(e.color)
|
|
419
457
|
};
|
|
420
|
-
}),
|
|
458
|
+
}), n = t.filter((e) => d(e.value)), r = F.value.style.chart.layout.lines.smooth ? o(n) : l(n);
|
|
421
459
|
return {
|
|
422
460
|
...e,
|
|
423
461
|
coordinates: t,
|
|
424
|
-
path:
|
|
462
|
+
path: r
|
|
425
463
|
};
|
|
426
464
|
});
|
|
427
465
|
});
|
|
428
|
-
|
|
466
|
+
p(() => W.value.flatMap((e, t) => e.coordinates.map((n, r) => ({
|
|
429
467
|
...n,
|
|
430
468
|
pointIndex: r,
|
|
431
469
|
seriesIndex: t,
|
|
432
470
|
seriesId: e.id,
|
|
433
471
|
seriesName: e.name,
|
|
434
472
|
pointId: `${e.id}_${r}`
|
|
435
|
-
})).filter((e) =>
|
|
436
|
-
function
|
|
473
|
+
})).filter((e) => d(e.value))));
|
|
474
|
+
function ln(e, t, n, r) {
|
|
437
475
|
let i = e.toSorted((e, t) => e.y - t.y);
|
|
438
476
|
for (let e = 1; e < i.length; e += 1) {
|
|
439
477
|
let n = i[e - 1], r = i[e];
|
|
@@ -453,7 +491,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
453
491
|
}
|
|
454
492
|
return i;
|
|
455
493
|
}
|
|
456
|
-
let
|
|
494
|
+
let un = p(() => {
|
|
457
495
|
let e = [], t = [];
|
|
458
496
|
W.value.forEach((n) => {
|
|
459
497
|
let r = n.coordinates.filter((e) => Number.isFinite(e.rank));
|
|
@@ -462,28 +500,28 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
462
500
|
let i = r[r.length - 1];
|
|
463
501
|
t.push({ ...i });
|
|
464
502
|
});
|
|
465
|
-
let n = F.value.style.chart.layout.nameLabels.fontSize, r = n * 1.4, i = U.value.top + n, a = U.value.bottom - n, o =
|
|
503
|
+
let n = F.value.style.chart.layout.nameLabels.fontSize, r = n * 1.4, i = U.value.top + n, a = U.value.bottom - n, o = ln(t, r, i, a);
|
|
466
504
|
return {
|
|
467
|
-
left:
|
|
505
|
+
left: ln(e, r, i, a),
|
|
468
506
|
right: o
|
|
469
507
|
};
|
|
470
508
|
});
|
|
471
|
-
function
|
|
472
|
-
let t = F.value.style.chart.layout.plots.labels.fontSize * .4, n = e.displayValue, r = n.length * (F.value.style.chart.layout.plots.labels.fontSize * (n.length === 1 ? 1 : .6)), i = F.value.style.chart.layout.plots.labels.fontSize, a = r + t * 2, o = i + t * 2, s = e.x - a / 2,
|
|
509
|
+
function dn(e) {
|
|
510
|
+
let t = F.value.style.chart.layout.plots.labels.fontSize * .4, n = e.displayValue, r = n.length * (F.value.style.chart.layout.plots.labels.fontSize * (n.length === 1 ? 1 : .6)), i = F.value.style.chart.layout.plots.labels.fontSize, a = r + t * 2, o = i + t * 2, s = e.x - a / 2, c = e.y - o / 2, l = F.value.style.chart.layout.plots.strokeWidth;
|
|
473
511
|
return {
|
|
474
|
-
x: s -
|
|
475
|
-
y:
|
|
476
|
-
width: a +
|
|
477
|
-
height: o +
|
|
512
|
+
x: s - l / 2,
|
|
513
|
+
y: c - l / 2,
|
|
514
|
+
width: a + l,
|
|
515
|
+
height: o + l,
|
|
478
516
|
fill: e.color,
|
|
479
517
|
stroke: F.value.style.chart.layout.plots.stroke,
|
|
480
|
-
"stroke-width":
|
|
518
|
+
"stroke-width": l,
|
|
481
519
|
rx: o / 2
|
|
482
520
|
};
|
|
483
521
|
}
|
|
484
|
-
let G =
|
|
522
|
+
let G = C([]), fn = 0;
|
|
485
523
|
Ve(() => {
|
|
486
|
-
let e = ++
|
|
524
|
+
let e = ++fn, t = F.value.style.chart.layout.timeLabels, n = t.values, r = t.datetimeFormatter, i = H.value;
|
|
487
525
|
if (!i || !Array.isArray(n) || n.length === 0) {
|
|
488
526
|
G.value = [];
|
|
489
527
|
return;
|
|
@@ -496,72 +534,72 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
496
534
|
start: 0,
|
|
497
535
|
end: i
|
|
498
536
|
});
|
|
499
|
-
e ===
|
|
537
|
+
e === fn && (G.value = t);
|
|
500
538
|
})();
|
|
501
539
|
});
|
|
502
|
-
let
|
|
540
|
+
let pn = p(() => {
|
|
503
541
|
let e = F.value.style.chart.layout.timeLabels.modulo;
|
|
504
542
|
return G.value.length ? Math.min(e, [...new Set(G.value.map((e) => e.text))].length) : e;
|
|
505
|
-
}), K =
|
|
543
|
+
}), K = p(() => {
|
|
506
544
|
let e = F.value.style.chart.layout.timeLabels, t = G.value || [], n = G.value || [], r = H.value, i = t.map((e) => e?.text ?? ""), a = n.map((e) => e?.text ?? "");
|
|
507
|
-
return
|
|
508
|
-
}),
|
|
545
|
+
return ee(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, pn.value || 1), i, a, 0, null, r);
|
|
546
|
+
}), mn = p(() => z.value.width), hn = p(() => z.value.height), gn = p(() => ({
|
|
509
547
|
start: 0,
|
|
510
548
|
end: H.value
|
|
511
|
-
})), q =
|
|
512
|
-
let t = [...e.coordinates].filter((e) =>
|
|
549
|
+
})), q = p(() => [...W.value].map((e) => {
|
|
550
|
+
let t = [...e.coordinates].filter((e) => d(e.value)).at(-1);
|
|
513
551
|
return {
|
|
514
552
|
...e,
|
|
515
553
|
navigationRank: t?.rank ?? Infinity
|
|
516
554
|
};
|
|
517
555
|
}).sort((e, t) => e.navigationRank - t.navigationRank));
|
|
518
|
-
function
|
|
519
|
-
P.value = null,
|
|
556
|
+
function _n() {
|
|
557
|
+
P.value = null, Ft.value = !0;
|
|
520
558
|
}
|
|
521
|
-
function
|
|
522
|
-
|
|
559
|
+
function vn() {
|
|
560
|
+
bn(), Ft.value = !1;
|
|
523
561
|
}
|
|
524
|
-
function
|
|
562
|
+
function yn(e, t) {
|
|
525
563
|
let n = q.value.length;
|
|
526
564
|
return n ? e === null || e < 0 || e >= n ? 0 : t === "previous" ? (e - 1 + n) % n : (e + 1) % n : null;
|
|
527
565
|
}
|
|
528
|
-
function
|
|
566
|
+
function bn() {
|
|
529
567
|
if (P.value !== null) {
|
|
530
568
|
let e = q.value[P.value];
|
|
531
569
|
e && $(e, e);
|
|
532
570
|
}
|
|
533
571
|
P.value = null, N.value = null;
|
|
534
572
|
}
|
|
535
|
-
function
|
|
573
|
+
function xn(e) {
|
|
536
574
|
if (!L.value || Y.value || document.activeElement !== L.value || !q.value.length) return;
|
|
537
575
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
538
576
|
if (!t && !n && !r && !i) return;
|
|
539
577
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
540
|
-
|
|
578
|
+
bn();
|
|
541
579
|
return;
|
|
542
580
|
}
|
|
543
581
|
if (r) {
|
|
544
582
|
if (P.value === null) return;
|
|
545
583
|
let e = q.value[P.value];
|
|
546
584
|
if (!e) return;
|
|
547
|
-
|
|
585
|
+
Nn(e, e);
|
|
548
586
|
return;
|
|
549
587
|
}
|
|
550
588
|
let a = P.value;
|
|
551
|
-
a === null ? a = 0 : t ? a =
|
|
589
|
+
a === null ? a = 0 : t ? a = yn(a, "previous") : n && (a = yn(a, "next"));
|
|
552
590
|
let o = q.value[a];
|
|
553
591
|
o && (P.value = a, Q(o, o));
|
|
554
592
|
}
|
|
555
|
-
let J =
|
|
593
|
+
let J = p(() => ({
|
|
556
594
|
head: Z.value.head,
|
|
557
|
-
body: W.value.map((e) => [e.name, ...e.coordinates.map((e) =>
|
|
595
|
+
body: W.value.map((e) => [e.name, ...e.coordinates.map((e) => d(e.value) ? `${e.displayValue} (${e.rank})` : "-")]),
|
|
558
596
|
caption: F.value.a11y.translations.tableCaption,
|
|
559
597
|
notice: F.value.a11y.translations.tableAvailable
|
|
560
598
|
}));
|
|
561
599
|
ye({
|
|
562
|
-
timeLabelsEls:
|
|
600
|
+
timeLabelsEls: Pt,
|
|
563
601
|
timeLabels: G,
|
|
564
|
-
slicer:
|
|
602
|
+
slicer: gn,
|
|
565
603
|
configRef: F,
|
|
566
604
|
rotationPath: [
|
|
567
605
|
"style",
|
|
@@ -579,45 +617,45 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
579
617
|
"enable"
|
|
580
618
|
],
|
|
581
619
|
isAutoSize: !1,
|
|
582
|
-
width:
|
|
583
|
-
height:
|
|
620
|
+
width: mn,
|
|
621
|
+
height: hn,
|
|
584
622
|
rotation: F.value.style.chart.layout.timeLabels.autoRotate.angle
|
|
585
623
|
});
|
|
586
|
-
let Y =
|
|
587
|
-
function
|
|
624
|
+
let Y = C(!1);
|
|
625
|
+
function Sn() {
|
|
588
626
|
Y.value = !Y.value;
|
|
589
627
|
}
|
|
590
|
-
function
|
|
628
|
+
function Cn(e) {
|
|
591
629
|
wt.value = e, bt.value += 1;
|
|
592
630
|
}
|
|
593
|
-
function
|
|
631
|
+
function wn() {
|
|
594
632
|
R.value.showTable = !R.value.showTable;
|
|
595
633
|
}
|
|
596
634
|
Be(() => R.value.showTable, (e) => {
|
|
597
|
-
F.value.table.show || (e && F.value.table.useDialog &&
|
|
635
|
+
F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
598
636
|
});
|
|
599
|
-
function
|
|
637
|
+
function Tn() {
|
|
600
638
|
R.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
|
|
601
639
|
}
|
|
602
|
-
function
|
|
640
|
+
function En() {
|
|
603
641
|
return W.value;
|
|
604
642
|
}
|
|
605
|
-
function
|
|
606
|
-
let
|
|
643
|
+
function Dn(e = null) {
|
|
644
|
+
let r = [
|
|
607
645
|
[F.value.style.chart.title.text],
|
|
608
646
|
[F.value.style.chart.title.subtitle.text],
|
|
609
647
|
[""]
|
|
610
|
-
],
|
|
648
|
+
], i = ["", ...K.value.map((e) => e?.text ?? "")], a = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.displayValue}`)]), o = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.rank}`)]), s = n(r.concat([[F.value.table.columnNames.values]]).concat([i]).concat(a).concat([
|
|
611
649
|
[""],
|
|
612
650
|
[F.value.table.columnNames.ranking],
|
|
613
|
-
[
|
|
614
|
-
]).concat(
|
|
615
|
-
e ? e(
|
|
616
|
-
csvContent:
|
|
651
|
+
[i]
|
|
652
|
+
]).concat(o));
|
|
653
|
+
e ? e(s) : t({
|
|
654
|
+
csvContent: s,
|
|
617
655
|
title: F.value.style.chart.title.text || "vue-ui-bump"
|
|
618
656
|
});
|
|
619
657
|
}
|
|
620
|
-
let X =
|
|
658
|
+
let X = p(() => {
|
|
621
659
|
let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
|
|
622
660
|
return {
|
|
623
661
|
component: e ? Oe : ut,
|
|
@@ -628,7 +666,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
628
666
|
headerColor: F.value.table.th.color,
|
|
629
667
|
headerBg: F.value.table.th.backgroundColor,
|
|
630
668
|
isFullscreen: wt.value,
|
|
631
|
-
fullscreenParent:
|
|
669
|
+
fullscreenParent: A.value,
|
|
632
670
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
633
671
|
isCursorPointer: I.value
|
|
634
672
|
} : {
|
|
@@ -647,7 +685,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
647
685
|
}
|
|
648
686
|
}
|
|
649
687
|
};
|
|
650
|
-
}), Z =
|
|
688
|
+
}), Z = p(() => ({
|
|
651
689
|
head: [""].concat(K.value.map((e) => e.text)),
|
|
652
690
|
body: W.value.map((e, t) => [e.name, ...e.coordinates.map((e) => `${e.displayValue} (${e.rank})`)]),
|
|
653
691
|
config: {
|
|
@@ -664,33 +702,33 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
664
702
|
breakpoint: F.value.table.responsiveBreakpoint
|
|
665
703
|
},
|
|
666
704
|
colNames: [F.value.table.columnNames.series]
|
|
667
|
-
})),
|
|
705
|
+
})), On = p(() => F.value.style.chart.backgroundColor), { exportSvg: kn, getSvg: An } = ge({
|
|
668
706
|
svg: L,
|
|
669
|
-
title:
|
|
707
|
+
title: p(() => F.value.style.chart.title),
|
|
670
708
|
legend: null,
|
|
671
709
|
legendItems: null,
|
|
672
|
-
backgroundColor:
|
|
710
|
+
backgroundColor: On
|
|
673
711
|
});
|
|
674
|
-
async function
|
|
675
|
-
|
|
712
|
+
async function jn({ isCb: e }) {
|
|
713
|
+
jt.value = !0, await Ne();
|
|
676
714
|
try {
|
|
677
715
|
if (e) {
|
|
678
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
716
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await An();
|
|
679
717
|
await Promise.resolve(F.value.userOptions.callbacks.svg({
|
|
680
718
|
blob: e,
|
|
681
719
|
url: t,
|
|
682
720
|
text: n,
|
|
683
721
|
dataUrl: r
|
|
684
722
|
}));
|
|
685
|
-
} else await Promise.resolve(
|
|
723
|
+
} else await Promise.resolve(kn());
|
|
686
724
|
} finally {
|
|
687
|
-
|
|
725
|
+
jt.value = !1;
|
|
688
726
|
}
|
|
689
727
|
}
|
|
690
|
-
async function
|
|
691
|
-
if (!
|
|
692
|
-
let { width: t, height: n } =
|
|
693
|
-
domElement:
|
|
728
|
+
async function Mn({ scale: e = 2 } = {}) {
|
|
729
|
+
if (!A.value) return;
|
|
730
|
+
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
|
|
731
|
+
domElement: A.value,
|
|
694
732
|
base64: !0,
|
|
695
733
|
img: !0,
|
|
696
734
|
scale: e
|
|
@@ -716,24 +754,24 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
716
754
|
seriesIndex: e?.pointIndex ?? null
|
|
717
755
|
});
|
|
718
756
|
}
|
|
719
|
-
function
|
|
757
|
+
function Nn(e, t) {
|
|
720
758
|
F.value.events.datapointClick && F.value.events.datapointClick({
|
|
721
759
|
datapoint: e,
|
|
722
760
|
seriesIndex: e?.pointIndex ?? null
|
|
723
761
|
});
|
|
724
762
|
}
|
|
725
|
-
function
|
|
763
|
+
function Pn(e) {
|
|
726
764
|
if (e?.stage === "start") {
|
|
727
|
-
|
|
765
|
+
At.value = !0;
|
|
728
766
|
return;
|
|
729
767
|
}
|
|
730
768
|
if (e?.stage === "end") {
|
|
731
|
-
|
|
769
|
+
At.value = !1;
|
|
732
770
|
return;
|
|
733
771
|
}
|
|
734
|
-
|
|
772
|
+
Yt();
|
|
735
773
|
}
|
|
736
|
-
async function
|
|
774
|
+
async function Fn() {
|
|
737
775
|
if (vt("copyAlt", {
|
|
738
776
|
config: F.value,
|
|
739
777
|
dataset: W.value
|
|
@@ -747,36 +785,36 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
747
785
|
}));
|
|
748
786
|
}
|
|
749
787
|
return xe({
|
|
750
|
-
getData:
|
|
751
|
-
getImage:
|
|
752
|
-
generatePdf:
|
|
753
|
-
generateCsv:
|
|
754
|
-
generateImage:
|
|
755
|
-
generateSvg:
|
|
756
|
-
toggleTable:
|
|
757
|
-
toggleAnnotator:
|
|
758
|
-
toggleFullscreen:
|
|
759
|
-
copyAlt:
|
|
760
|
-
}), (e, t) => (
|
|
761
|
-
id: `bump_${
|
|
788
|
+
getData: En,
|
|
789
|
+
getImage: Mn,
|
|
790
|
+
generatePdf: Jt,
|
|
791
|
+
generateCsv: Dn,
|
|
792
|
+
generateImage: Yt,
|
|
793
|
+
generateSvg: jn,
|
|
794
|
+
toggleTable: wn,
|
|
795
|
+
toggleAnnotator: Sn,
|
|
796
|
+
toggleFullscreen: Cn,
|
|
797
|
+
copyAlt: Fn
|
|
798
|
+
}), (e, t) => (S(), g("div", {
|
|
799
|
+
id: `bump_${j.value}`,
|
|
762
800
|
ref_key: "bumpChart",
|
|
763
|
-
ref:
|
|
801
|
+
ref: A,
|
|
764
802
|
class: Pe({
|
|
765
803
|
"vue-data-ui-component": !0,
|
|
766
804
|
"vue-ui-bump": !0,
|
|
767
805
|
"vue-data-ui-wrapper-fullscreen": wt.value
|
|
768
806
|
}),
|
|
769
|
-
style:
|
|
770
|
-
onMouseenter:
|
|
771
|
-
onMouseleave:
|
|
807
|
+
style: x(`background:${F.value.style.chart.backgroundColor};color:${F.value.style.chart.color};font-family:${F.value.style.fontFamily}; position: relative; ${F.value.responsive ? "height: 100%" : ""}`),
|
|
808
|
+
onMouseenter: Wt,
|
|
809
|
+
onMouseleave: Gt
|
|
772
810
|
}, [
|
|
773
|
-
|
|
774
|
-
id: `chart-instructions-${
|
|
811
|
+
_("p", {
|
|
812
|
+
id: `chart-instructions-${j.value}`,
|
|
775
813
|
class: "sr-only"
|
|
776
|
-
},
|
|
777
|
-
J.value.body.length ? (
|
|
814
|
+
}, E(F.value.a11y.translations.keyboardNavigation), 9, We),
|
|
815
|
+
J.value.body.length ? (S(), m(we, {
|
|
778
816
|
key: 0,
|
|
779
|
-
uid:
|
|
817
|
+
uid: j.value,
|
|
780
818
|
head: J.value.head,
|
|
781
819
|
body: J.value.body,
|
|
782
820
|
caption: J.value.caption,
|
|
@@ -787,22 +825,22 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
787
825
|
"body",
|
|
788
826
|
"caption",
|
|
789
827
|
"notice"
|
|
790
|
-
])) :
|
|
791
|
-
F.value.userOptions.buttons.annotator ? (
|
|
828
|
+
])) : h("", !0),
|
|
829
|
+
F.value.userOptions.buttons.annotator ? (S(), m(D(ft), {
|
|
792
830
|
key: 1,
|
|
793
|
-
svgRef:
|
|
831
|
+
svgRef: D(L),
|
|
794
832
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
795
833
|
color: F.value.style.chart.color,
|
|
796
834
|
active: Y.value,
|
|
797
835
|
isCursorPointer: I.value,
|
|
798
|
-
onClose:
|
|
836
|
+
onClose: Sn
|
|
799
837
|
}, {
|
|
800
|
-
"annotator-action-close":
|
|
801
|
-
"annotator-action-color":
|
|
802
|
-
"annotator-action-draw":
|
|
803
|
-
"annotator-action-undo":
|
|
804
|
-
"annotator-action-redo":
|
|
805
|
-
"annotator-action-delete":
|
|
838
|
+
"annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
839
|
+
"annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
|
|
840
|
+
"annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", b(y({ mode: t })), void 0, !0)]),
|
|
841
|
+
"annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", b(y({ disabled: t })), void 0, !0)]),
|
|
842
|
+
"annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", b(y({ disabled: t })), void 0, !0)]),
|
|
843
|
+
"annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", b(y({ disabled: t })), void 0, !0)]),
|
|
806
844
|
_: 3
|
|
807
845
|
}, 8, [
|
|
808
846
|
"svgRef",
|
|
@@ -810,21 +848,21 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
810
848
|
"color",
|
|
811
849
|
"active",
|
|
812
850
|
"isCursorPointer"
|
|
813
|
-
])) :
|
|
814
|
-
|
|
815
|
-
|
|
851
|
+
])) : h("", !0),
|
|
852
|
+
T(e.$slots, "userConfig", {}, void 0, !0),
|
|
853
|
+
Xt.value ? (S(), g("div", {
|
|
816
854
|
key: 2,
|
|
817
855
|
ref_key: "noTitle",
|
|
818
856
|
ref: St,
|
|
819
857
|
class: "vue-data-ui-no-title-space",
|
|
820
858
|
style: "height:36px; width: 100%;background:transparent"
|
|
821
|
-
}, null, 512)) :
|
|
822
|
-
F.value.style.chart.title.text ? (
|
|
859
|
+
}, null, 512)) : h("", !0),
|
|
860
|
+
F.value.style.chart.title.text ? (S(), g("div", {
|
|
823
861
|
key: 3,
|
|
824
862
|
ref_key: "chartTitle",
|
|
825
863
|
ref: xt,
|
|
826
864
|
style: "width:100%;background:transparent;"
|
|
827
|
-
}, [(
|
|
865
|
+
}, [(S(), m(be, {
|
|
828
866
|
key: `title_${Et.value}`,
|
|
829
867
|
config: {
|
|
830
868
|
title: {
|
|
@@ -836,16 +874,16 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
836
874
|
...F.value.style.chart.title.subtitle
|
|
837
875
|
}
|
|
838
876
|
}
|
|
839
|
-
}, null, 8, ["config"]))], 512)) :
|
|
840
|
-
F.value.userOptions.show && yt.value && (
|
|
877
|
+
}, null, 8, ["config"]))], 512)) : h("", !0),
|
|
878
|
+
F.value.userOptions.show && yt.value && (D(Ut) || D(Vt)) ? (S(), m(D(pt), {
|
|
841
879
|
ref_key: "userOptionsRef",
|
|
842
880
|
ref: Ot,
|
|
843
881
|
key: `user_option_${bt.value}`,
|
|
844
882
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
845
883
|
color: F.value.style.chart.color,
|
|
846
|
-
isPrinting:
|
|
847
|
-
isImaging:
|
|
848
|
-
uid:
|
|
884
|
+
isPrinting: D(Kt),
|
|
885
|
+
isImaging: D(qt),
|
|
886
|
+
uid: j.value,
|
|
849
887
|
hasTooltip: !1,
|
|
850
888
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
851
889
|
hasImg: F.value.userOptions.buttons.img,
|
|
@@ -856,7 +894,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
856
894
|
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
857
895
|
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
858
896
|
isFullcreen: wt.value,
|
|
859
|
-
chartElement:
|
|
897
|
+
chartElement: A.value,
|
|
860
898
|
position: F.value.userOptions.position,
|
|
861
899
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
862
900
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
@@ -865,19 +903,19 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
865
903
|
printScale: F.value.userOptions.print.scale,
|
|
866
904
|
tableDialog: F.value.table.useDialog,
|
|
867
905
|
isCursorPointer: I.value,
|
|
868
|
-
onToggleFullscreen:
|
|
869
|
-
onGeneratePdf:
|
|
870
|
-
onGenerateCsv:
|
|
871
|
-
onGenerateImage:
|
|
872
|
-
onGenerateSvg:
|
|
873
|
-
onToggleTable:
|
|
874
|
-
onToggleAnnotator:
|
|
875
|
-
onCopyAlt:
|
|
876
|
-
style:
|
|
906
|
+
onToggleFullscreen: Cn,
|
|
907
|
+
onGeneratePdf: D(Jt),
|
|
908
|
+
onGenerateCsv: Dn,
|
|
909
|
+
onGenerateImage: Pn,
|
|
910
|
+
onGenerateSvg: jn,
|
|
911
|
+
onToggleTable: wn,
|
|
912
|
+
onToggleAnnotator: Sn,
|
|
913
|
+
onCopyAlt: Fn,
|
|
914
|
+
style: x({ visibility: D(Ut) ? D(Vt) ? "visible" : "hidden" : "visible" })
|
|
877
915
|
}, ke({ _: 2 }, [
|
|
878
916
|
e.$slots.menuIcon ? {
|
|
879
917
|
name: "menuIcon",
|
|
880
|
-
fn:
|
|
918
|
+
fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", b(y({
|
|
881
919
|
isOpen: t,
|
|
882
920
|
color: n
|
|
883
921
|
})), void 0, !0)]),
|
|
@@ -885,32 +923,32 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
885
923
|
} : void 0,
|
|
886
924
|
e.$slots.optionPdf ? {
|
|
887
925
|
name: "optionPdf",
|
|
888
|
-
fn:
|
|
926
|
+
fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
889
927
|
key: "1"
|
|
890
928
|
} : void 0,
|
|
891
929
|
e.$slots.optionCsv ? {
|
|
892
930
|
name: "optionCsv",
|
|
893
|
-
fn:
|
|
931
|
+
fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
894
932
|
key: "2"
|
|
895
933
|
} : void 0,
|
|
896
934
|
e.$slots.optionImg ? {
|
|
897
935
|
name: "optionImg",
|
|
898
|
-
fn:
|
|
936
|
+
fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
899
937
|
key: "3"
|
|
900
938
|
} : void 0,
|
|
901
939
|
e.$slots.optionSvg ? {
|
|
902
940
|
name: "optionSvg",
|
|
903
|
-
fn:
|
|
941
|
+
fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
904
942
|
key: "4"
|
|
905
943
|
} : void 0,
|
|
906
944
|
e.$slots.optionTable ? {
|
|
907
945
|
name: "optionTable",
|
|
908
|
-
fn:
|
|
946
|
+
fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
909
947
|
key: "5"
|
|
910
948
|
} : void 0,
|
|
911
949
|
e.$slots.optionFullscreen ? {
|
|
912
950
|
name: "optionFullscreen",
|
|
913
|
-
fn:
|
|
951
|
+
fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", b(y({
|
|
914
952
|
toggleFullscreen: t,
|
|
915
953
|
isFullscreen: n
|
|
916
954
|
})), void 0, !0)]),
|
|
@@ -918,7 +956,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
918
956
|
} : void 0,
|
|
919
957
|
e.$slots.optionAnnotator ? {
|
|
920
958
|
name: "optionAnnotator",
|
|
921
|
-
fn:
|
|
959
|
+
fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", b(y({
|
|
922
960
|
toggleAnnotator: t,
|
|
923
961
|
isAnnotator: n
|
|
924
962
|
})), void 0, !0)]),
|
|
@@ -926,17 +964,17 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
926
964
|
} : void 0,
|
|
927
965
|
e.$slots.optionAltCopy ? {
|
|
928
966
|
name: "optionAltCopy",
|
|
929
|
-
fn:
|
|
967
|
+
fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", b(y({ altCopy: t })), void 0, !0)]),
|
|
930
968
|
key: "8"
|
|
931
969
|
} : void 0,
|
|
932
970
|
e.$slots["custom-menu-before"] ? {
|
|
933
971
|
name: "custom-menu-before",
|
|
934
|
-
fn:
|
|
972
|
+
fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
935
973
|
key: "9"
|
|
936
974
|
} : void 0,
|
|
937
975
|
e.$slots["custom-menu-after"] ? {
|
|
938
976
|
name: "custom-menu-after",
|
|
939
|
-
fn:
|
|
977
|
+
fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
940
978
|
key: "10"
|
|
941
979
|
} : void 0
|
|
942
980
|
]), 1032, [
|
|
@@ -964,37 +1002,36 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
964
1002
|
"isCursorPointer",
|
|
965
1003
|
"onGeneratePdf",
|
|
966
1004
|
"style"
|
|
967
|
-
])) :
|
|
968
|
-
|
|
1005
|
+
])) : h("", !0),
|
|
1006
|
+
_("div", Ge, [(S(), g("svg", {
|
|
969
1007
|
ref_key: "svgRef",
|
|
970
1008
|
ref: L,
|
|
971
|
-
xmlns:
|
|
972
|
-
"aria-describedby": `chart-instructions-${
|
|
1009
|
+
xmlns: D(oe),
|
|
1010
|
+
"aria-describedby": `chart-instructions-${j.value}`,
|
|
973
1011
|
viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.svgHeight <= 0 ? 10 : U.value.svgHeight}`,
|
|
974
1012
|
class: Pe({
|
|
975
|
-
"vue-data-ui-loading":
|
|
976
|
-
"no-transition": !F.value.useCssAnimation
|
|
977
|
-
"with-transition": F.value.useCssAnimation
|
|
1013
|
+
"vue-data-ui-loading": D(Lt),
|
|
1014
|
+
"no-transition": !F.value.useCssAnimation
|
|
978
1015
|
}),
|
|
979
|
-
style:
|
|
1016
|
+
style: x(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
|
|
980
1017
|
role: "img",
|
|
981
1018
|
"aria-live": "polite",
|
|
982
1019
|
preserveAspectRatio: "xMidYMid",
|
|
983
1020
|
tabindex: "0",
|
|
984
|
-
onFocus:
|
|
985
|
-
onBlur:
|
|
986
|
-
onKeydown:
|
|
1021
|
+
onFocus: _n,
|
|
1022
|
+
onBlur: vn,
|
|
1023
|
+
onKeydown: xn
|
|
987
1024
|
}, [
|
|
988
|
-
je(
|
|
989
|
-
e.$slots["chart-background"] ? (
|
|
1025
|
+
je(D(mt)),
|
|
1026
|
+
e.$slots["chart-background"] ? (S(), g("foreignObject", {
|
|
990
1027
|
key: 0,
|
|
991
1028
|
x: U.value.left,
|
|
992
1029
|
y: U.value.top,
|
|
993
1030
|
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
994
1031
|
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
995
1032
|
style: { pointerEvents: "none" }
|
|
996
|
-
}, [
|
|
997
|
-
(
|
|
1033
|
+
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : h("", !0),
|
|
1034
|
+
(S(!0), g(f, null, w(W.value, (e) => (S(), g(f, null, [_("path", {
|
|
998
1035
|
class: "transition-opacity",
|
|
999
1036
|
d: `M${e.path}`,
|
|
1000
1037
|
stroke: F.value.style.chart.layout.lines.coatingColor,
|
|
@@ -1002,10 +1039,10 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1002
1039
|
"stroke-linecap": "round",
|
|
1003
1040
|
"stroke-linejoin": "round",
|
|
1004
1041
|
fill: "none",
|
|
1005
|
-
style:
|
|
1042
|
+
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1006
1043
|
onMouseenter: (t) => N.value = e.id,
|
|
1007
1044
|
onMouseleave: t[0] ||= (e) => N.value = null
|
|
1008
|
-
}, null, 44, Je),
|
|
1045
|
+
}, null, 44, Je), _("path", {
|
|
1009
1046
|
class: "transition-opacity",
|
|
1010
1047
|
d: `M${e.path}`,
|
|
1011
1048
|
stroke: e.color,
|
|
@@ -1013,13 +1050,13 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1013
1050
|
"stroke-linecap": "round",
|
|
1014
1051
|
"stroke-linejoin": "round",
|
|
1015
1052
|
fill: "none",
|
|
1016
|
-
style:
|
|
1053
|
+
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1017
1054
|
onMouseenter: (t) => Q(e, e),
|
|
1018
1055
|
onMouseleave: (t) => $(e, e),
|
|
1019
|
-
onClick: (t) =>
|
|
1056
|
+
onClick: (t) => Nn(e, e)
|
|
1020
1057
|
}, null, 44, Ye)], 64))), 256)),
|
|
1021
|
-
(
|
|
1022
|
-
F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (
|
|
1058
|
+
(S(!0), g(f, null, w(W.value, (t) => (S(), g(f, null, [
|
|
1059
|
+
F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (S(!0), g(f, { key: 0 }, w(t.coordinates, (e, n) => (S(), g("circle", {
|
|
1023
1060
|
class: "transition-opacity",
|
|
1024
1061
|
cx: e.x,
|
|
1025
1062
|
cy: e.y,
|
|
@@ -1027,7 +1064,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1027
1064
|
fill: t.color,
|
|
1028
1065
|
stroke: F.value.style.chart.layout.plots.stroke,
|
|
1029
1066
|
"stroke-width": F.value.style.chart.layout.plots.strokeWidth,
|
|
1030
|
-
style:
|
|
1067
|
+
style: x({ opacity: N.value == null || N.value === t.id ? 1 : .1 }),
|
|
1031
1068
|
onMouseenter: (r) => Q({
|
|
1032
1069
|
...e,
|
|
1033
1070
|
pointIndex: n
|
|
@@ -1040,24 +1077,24 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1040
1077
|
...e,
|
|
1041
1078
|
pointIndex: n
|
|
1042
1079
|
}, t)
|
|
1043
|
-
}, null, 44, Xe))), 256)) :
|
|
1044
|
-
F.value.style.chart.layout.plots.labels.show && F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (
|
|
1080
|
+
}, null, 44, Xe))), 256)) : h("", !0),
|
|
1081
|
+
F.value.style.chart.layout.plots.labels.show && F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (S(!0), g(f, { key: 1 }, w(t.coordinates, (e) => (S(), g("text", {
|
|
1045
1082
|
class: "transition-opacity",
|
|
1046
1083
|
x: e.x,
|
|
1047
1084
|
y: e.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
|
|
1048
1085
|
fill: e.labelColor,
|
|
1049
1086
|
"font-size": F.value.style.chart.layout.plots.labels.fontSize,
|
|
1050
1087
|
"text-anchor": "middle",
|
|
1051
|
-
style:
|
|
1088
|
+
style: x({
|
|
1052
1089
|
userSelect: "none",
|
|
1053
1090
|
pointerEvents: "none",
|
|
1054
1091
|
opacity: N.value == null || N.value === t.id ? 1 : .1
|
|
1055
1092
|
})
|
|
1056
|
-
},
|
|
1057
|
-
F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (
|
|
1093
|
+
}, E(e.rank), 13, Ze))), 256)) : h("", !0),
|
|
1094
|
+
F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (S(!0), g(f, { key: 2 }, w(t.coordinates, (n) => (S(), g(f, null, [D(d)(n.value) ? (S(), g("rect", Me({
|
|
1058
1095
|
key: 0,
|
|
1059
1096
|
class: "transition-opacity"
|
|
1060
|
-
}, { ref_for: !0 },
|
|
1097
|
+
}, { ref_for: !0 }, dn(n), {
|
|
1061
1098
|
style: { opacity: N.value == null || N.value === t.id ? 1 : .1 },
|
|
1062
1099
|
onMouseenter: (n) => Q({
|
|
1063
1100
|
...e.point,
|
|
@@ -1071,7 +1108,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1071
1108
|
...e.point,
|
|
1072
1109
|
pointIndex: e.i
|
|
1073
1110
|
}, t)
|
|
1074
|
-
}), null, 16, Qe)) :
|
|
1111
|
+
}), null, 16, Qe)) : h("", !0), D(d)(n.value) && F.value.style.chart.layout.plots.labels.show ? (S(), g("text", {
|
|
1075
1112
|
key: 1,
|
|
1076
1113
|
class: "transition-opacity",
|
|
1077
1114
|
x: n.x,
|
|
@@ -1079,18 +1116,18 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1079
1116
|
fill: n.labelColor,
|
|
1080
1117
|
"font-size": F.value.style.chart.layout.plots.labels.fontSize,
|
|
1081
1118
|
"text-anchor": "middle",
|
|
1082
|
-
style:
|
|
1119
|
+
style: x({
|
|
1083
1120
|
userSelect: "none",
|
|
1084
1121
|
pointerEvents: "none",
|
|
1085
1122
|
opacity: N.value == null || N.value === t.id ? 1 : .1
|
|
1086
1123
|
})
|
|
1087
|
-
},
|
|
1124
|
+
}, E(n.displayValue), 13, $e)) : h("", !0)], 64))), 256)) : h("", !0)
|
|
1088
1125
|
], 64))), 256)),
|
|
1089
|
-
F.value.style.chart.layout.nameLabels.leftLabels.show ? (
|
|
1126
|
+
F.value.style.chart.layout.nameLabels.leftLabels.show ? (S(), g("g", {
|
|
1090
1127
|
key: 1,
|
|
1091
1128
|
ref_key: "labelsLeft",
|
|
1092
|
-
ref:
|
|
1093
|
-
}, [(
|
|
1129
|
+
ref: Mt
|
|
1130
|
+
}, [(S(!0), g(f, null, w(un.value.left.filter((e) => D(d)(e.value)), (e, t) => (S(), g("text", {
|
|
1094
1131
|
class: "transition-opacity",
|
|
1095
1132
|
x: U.value.left,
|
|
1096
1133
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -1098,7 +1135,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1098
1135
|
"font-size": F.value.style.chart.layout.nameLabels.fontSize,
|
|
1099
1136
|
"font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1100
1137
|
"text-anchor": "end",
|
|
1101
|
-
innerHTML:
|
|
1138
|
+
innerHTML: D(r)({
|
|
1102
1139
|
content: e.name,
|
|
1103
1140
|
fontSize: F.value.style.chart.layout.nameLabels.fontSize,
|
|
1104
1141
|
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
@@ -1106,16 +1143,16 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1106
1143
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1107
1144
|
translateY: !0
|
|
1108
1145
|
}),
|
|
1109
|
-
style:
|
|
1146
|
+
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1110
1147
|
onMouseenter: (t) => Q(e, e),
|
|
1111
1148
|
onMouseleave: (t) => $(e, e),
|
|
1112
|
-
onClick: (t) =>
|
|
1113
|
-
}, null, 44, et))), 256))], 512)) :
|
|
1114
|
-
F.value.style.chart.layout.nameLabels.rightLabels.show ? (
|
|
1149
|
+
onClick: (t) => Nn(e, e)
|
|
1150
|
+
}, null, 44, et))), 256))], 512)) : h("", !0),
|
|
1151
|
+
F.value.style.chart.layout.nameLabels.rightLabels.show ? (S(), g("g", {
|
|
1115
1152
|
key: 2,
|
|
1116
1153
|
ref_key: "labelsRight",
|
|
1117
|
-
ref:
|
|
1118
|
-
}, [(
|
|
1154
|
+
ref: Nt
|
|
1155
|
+
}, [(S(!0), g(f, null, w(un.value.right.filter((e) => D(d)(e.value)), (e, t) => (S(), g("text", {
|
|
1119
1156
|
class: "transition-opacity",
|
|
1120
1157
|
x: U.value.right,
|
|
1121
1158
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -1123,7 +1160,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1123
1160
|
"font-size": F.value.style.chart.layout.nameLabels.fontSize,
|
|
1124
1161
|
"font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1125
1162
|
"text-anchor": "start",
|
|
1126
|
-
innerHTML:
|
|
1163
|
+
innerHTML: D(r)({
|
|
1127
1164
|
content: e.name,
|
|
1128
1165
|
fontSize: F.value.style.chart.layout.nameLabels.fontSize,
|
|
1129
1166
|
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
@@ -1131,16 +1168,16 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1131
1168
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1132
1169
|
translateY: !0
|
|
1133
1170
|
}),
|
|
1134
|
-
style:
|
|
1171
|
+
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1135
1172
|
onMouseenter: (t) => Q(e, e),
|
|
1136
1173
|
onMouseleave: (t) => $(e, e),
|
|
1137
|
-
onClick: (t) =>
|
|
1138
|
-
}, null, 44, tt))), 256))], 512)) :
|
|
1139
|
-
F.value.style.chart.layout.timeLabels.show ? (
|
|
1174
|
+
onClick: (t) => Nn(e, e)
|
|
1175
|
+
}, null, 44, tt))), 256))], 512)) : h("", !0),
|
|
1176
|
+
F.value.style.chart.layout.timeLabels.show ? (S(), g("g", {
|
|
1140
1177
|
key: 3,
|
|
1141
1178
|
ref_key: "timeLabelsEls",
|
|
1142
|
-
ref:
|
|
1143
|
-
}, [e.$slots["time-label"] ? (
|
|
1179
|
+
ref: Pt
|
|
1180
|
+
}, [e.$slots["time-label"] ? (S(), g("g", nt, [(S(!0), g(f, null, w(K.value, (t, n) => (S(), g("g", null, [T(e.$slots, "time-label", Me({ ref_for: !0 }, {
|
|
1144
1181
|
x: U.value.unitW * n + U.value.unitW / 2 + U.value.left,
|
|
1145
1182
|
y: U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY,
|
|
1146
1183
|
fontSize: F.value.style.chart.layout.timeLabels.fontSize,
|
|
@@ -1150,7 +1187,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1150
1187
|
content: t.text,
|
|
1151
1188
|
textAnchor: F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1152
1189
|
show: !0
|
|
1153
|
-
}), void 0, !0)]))), 256))])) : (
|
|
1190
|
+
}), void 0, !0)]))), 256))])) : (S(), g("g", rt, [(S(!0), g(f, null, w(K.value, (e, t) => (S(), g("g", null, [String(e.text).includes("\n") ? (S(), g("text", {
|
|
1154
1191
|
key: t + "-multi",
|
|
1155
1192
|
"text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1156
1193
|
"font-size": F.value.style.chart.layout.timeLabels.fontSize,
|
|
@@ -1162,14 +1199,14 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1162
1199
|
),
|
|
1163
1200
|
rotate(${F.value.style.chart.layout.timeLabels.rotation})
|
|
1164
1201
|
`,
|
|
1165
|
-
innerHTML:
|
|
1202
|
+
innerHTML: D(r)({
|
|
1166
1203
|
content: String(e.text),
|
|
1167
1204
|
fontSize: F.value.style.chart.layout.timeLabels.fontSize,
|
|
1168
1205
|
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1169
1206
|
x: 0,
|
|
1170
1207
|
y: 0
|
|
1171
1208
|
})
|
|
1172
|
-
}, null, 8, at)) : (
|
|
1209
|
+
}, null, 8, at)) : (S(), g("text", {
|
|
1173
1210
|
class: "vue-data-ui-time-label",
|
|
1174
1211
|
key: t,
|
|
1175
1212
|
"text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -1177,24 +1214,24 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1177
1214
|
"font-weight": F.value.style.chart.layout.timeLabels.bold ? "bold" : "normal",
|
|
1178
1215
|
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1179
1216
|
transform: `translate(${U.value.unitW * t + U.value.unitW / 2 + U.value.left}, ${U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY}), rotate(${F.value.style.chart.layout.timeLabels.rotation})`
|
|
1180
|
-
},
|
|
1181
|
-
|
|
1217
|
+
}, E(e.text), 9, it))]))), 256))]))], 512)) : h("", !0),
|
|
1218
|
+
T(e.$slots, "svg", { svg: {
|
|
1182
1219
|
drawingArea: U.value,
|
|
1183
1220
|
data: W.value,
|
|
1184
|
-
isPrintingImg:
|
|
1185
|
-
isPrintingSvg:
|
|
1221
|
+
isPrintingImg: D(Kt) || D(qt) || At.value,
|
|
1222
|
+
isPrintingSvg: jt.value
|
|
1186
1223
|
} }, void 0, !0)
|
|
1187
|
-
], 46, Ke)), e.$slots.hint ? (
|
|
1224
|
+
], 46, Ke)), e.$slots.hint ? (S(), g("div", ot, [T(e.$slots, "hint", b(y({
|
|
1188
1225
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1189
|
-
isVisible:
|
|
1190
|
-
})), void 0, !0)])) :
|
|
1191
|
-
e.$slots.watermark ? (
|
|
1192
|
-
yt.value && F.value.userOptions.buttons.table ? (
|
|
1226
|
+
isVisible: Ft.value
|
|
1227
|
+
})), void 0, !0)])) : h("", !0)]),
|
|
1228
|
+
e.$slots.watermark ? (S(), g("div", st, [T(e.$slots, "watermark", b(y({ isPrinting: D(Kt) || D(qt) || At.value || jt.value })), void 0, !0)])) : h("", !0),
|
|
1229
|
+
yt.value && F.value.userOptions.buttons.table ? (S(), m(Le(X.value.component), Me({ key: 6 }, X.value.props, {
|
|
1193
1230
|
ref_key: "tableUnit",
|
|
1194
|
-
ref:
|
|
1195
|
-
onClose:
|
|
1231
|
+
ref: M,
|
|
1232
|
+
onClose: Tn
|
|
1196
1233
|
}), ke({
|
|
1197
|
-
content:
|
|
1234
|
+
content: O(() => [je(D(dt), {
|
|
1198
1235
|
colNames: Z.value.colNames,
|
|
1199
1236
|
head: Z.value.head,
|
|
1200
1237
|
body: Z.value.body,
|
|
@@ -1202,10 +1239,10 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1202
1239
|
title: F.value.table.useDialog ? "" : X.value.title,
|
|
1203
1240
|
withCloseButton: !F.value.table.useDialog,
|
|
1204
1241
|
isCursorPointer: I.value,
|
|
1205
|
-
onClose:
|
|
1242
|
+
onClose: Tn
|
|
1206
1243
|
}, {
|
|
1207
|
-
th:
|
|
1208
|
-
td:
|
|
1244
|
+
th: O(({ th: e }) => [_("div", { innerHTML: e }, null, 8, ct)]),
|
|
1245
|
+
td: O(({ td: e }) => [Ae(E(e), 1)]),
|
|
1209
1246
|
_: 1
|
|
1210
1247
|
}, 8, [
|
|
1211
1248
|
"colNames",
|
|
@@ -1219,30 +1256,30 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1219
1256
|
_: 2
|
|
1220
1257
|
}, [F.value.table.useDialog ? {
|
|
1221
1258
|
name: "title",
|
|
1222
|
-
fn:
|
|
1259
|
+
fn: O(() => [Ae(E(X.value.title), 1)]),
|
|
1223
1260
|
key: "0"
|
|
1224
1261
|
} : void 0, F.value.table.useDialog ? {
|
|
1225
1262
|
name: "actions",
|
|
1226
|
-
fn:
|
|
1263
|
+
fn: O(() => [_("button", {
|
|
1227
1264
|
tabindex: "0",
|
|
1228
1265
|
class: "vue-ui-user-options-button",
|
|
1229
|
-
onClick: t[1] ||= (e) =>
|
|
1230
|
-
style:
|
|
1231
|
-
}, [je(
|
|
1266
|
+
onClick: t[1] ||= (e) => Dn(F.value.userOptions.callbacks.csv),
|
|
1267
|
+
style: x({ cursor: I.value ? "pointer" : "default" })
|
|
1268
|
+
}, [je(D(lt), {
|
|
1232
1269
|
name: "fileCsv",
|
|
1233
1270
|
stroke: X.value.props.color
|
|
1234
1271
|
}, null, 8, ["stroke"])], 4)]),
|
|
1235
1272
|
key: "1"
|
|
1236
|
-
} : void 0]), 1040)) :
|
|
1237
|
-
e.$slots.source ? (
|
|
1273
|
+
} : void 0]), 1040)) : h("", !0),
|
|
1274
|
+
e.$slots.source ? (S(), g("div", {
|
|
1238
1275
|
key: 7,
|
|
1239
1276
|
ref_key: "source",
|
|
1240
1277
|
ref: Ct,
|
|
1241
1278
|
dir: "auto"
|
|
1242
|
-
}, [
|
|
1243
|
-
|
|
1279
|
+
}, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
|
|
1280
|
+
T(e.$slots, "skeleton", {}, () => [D(Lt) ? (S(), m(he, { key: 0 })) : h("", !0)], !0)
|
|
1244
1281
|
], 46, Ue));
|
|
1245
1282
|
}
|
|
1246
|
-
}, [["__scopeId", "data-v-
|
|
1283
|
+
}, [["__scopeId", "data-v-42d635ca"]]);
|
|
1247
1284
|
//#endregion
|
|
1248
1285
|
export { He as n, lt as t };
|