vue-data-ui 3.22.0 → 3.22.2
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-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
- package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
- package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
- package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
- package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
- package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
- package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
- package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
- package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-Dx81ZIAL.js} +1 -1
- package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
- package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
- package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
- package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
- package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
- package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
- package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
- package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.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-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
- package/dist/exposedLib-CffbQxjN.js +19 -0
- package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
- package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
- package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
- package/dist/{package-0oRlvBuX.js → package-CILLITOI.js} +1 -1
- package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
- package/dist/{render-common-DSiH7qj-.js → render-common-bMAFQ_qf.js} +2 -2
- 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 +7 -10
- package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
- package/dist/{useConfig-Br1uzq_L.js → useConfig-Bf_EBbe3.js} +4 -1
- package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
- package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-Byts-nf-.js} +1 -1
- package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DD-txoS1.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +1757 -0
- package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Di_givzQ.js} +4 -4
- package/dist/vue-ui-age-pyramid-CTwMfsqS.js +1238 -0
- package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-tRkLFMQ9.js} +60 -60
- package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-9gtGJaGb.js} +23 -23
- package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-BJ5O8Mps.js} +400 -400
- package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-CJ_VVYbJ.js} +50 -50
- package/dist/vue-ui-carousel-table-8s8BSy-K.js +455 -0
- package/dist/vue-ui-chestnut-D3-ck2h2.js +2010 -0
- package/dist/vue-ui-chord-1BitQtEw.js +1391 -0
- package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DVMhDFKU.js} +44 -44
- package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-D7yh10hX.js} +61 -61
- package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag--LFEAAf_.js} +18 -18
- package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-COeO878g.js} +70 -70
- package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-C50FVr7C.js} +4 -4
- package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-BzKXqQA2.js} +160 -160
- package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-NHjQzFO5.js} +474 -474
- package/dist/vue-ui-donut-evolution-lPkwit2C.js +1510 -0
- package/dist/vue-ui-dumbbell-hlEfvbbf.js +1530 -0
- package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-Bg_OSszc.js} +43 -43
- package/dist/vue-ui-funnel-B_bK0jJB.js +777 -0
- package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-WVCUzcYc.js} +301 -301
- package/dist/vue-ui-gauge-Cqeko0wA.js +920 -0
- package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-DtzXRvmx.js} +22 -22
- package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-hIFd7qck.js} +4 -4
- package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-yPlwc3l_.js} +95 -95
- package/dist/vue-ui-history-plot-BGmcDg2w.js +1554 -0
- package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-CJciNHpT.js} +264 -264
- package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DmSe1QGb.js} +4 -4
- package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-CqxI6DwN.js} +3 -3
- package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-w-94Uktn.js} +181 -181
- package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-B3OGWGHR.js} +29 -29
- package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-Dv_yE5EV.js} +211 -211
- package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-BQbI0Vxd.js} +34 -34
- package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-ColST3Jj.js} +40 -40
- package/dist/vue-ui-quadrant-BB7qdXK0.js +1978 -0
- package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-CGDeo3Fx.js} +358 -358
- package/dist/vue-ui-radar-DqDn14DL.js +1281 -0
- package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-ChDwpol2.js} +34 -34
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +924 -0
- package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-Cq8z57xB.js} +219 -219
- package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-Ds-sgNPK.js} +36 -36
- package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-BgOVUzQ3.js} +75 -75
- package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DJ5KAbfV.js} +42 -42
- package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-fFrNX-Gl.js} +17 -17
- package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-D6OBWxmg.js} +92 -92
- package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-CtCP8O44.js} +78 -78
- package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-CZDkyViI.js} +38 -38
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +560 -0
- package/dist/vue-ui-sparkline-CJKE7Xcl.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BSV0M-2u.js} +162 -162
- package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-pnlYCnTj.js} +67 -67
- package/dist/vue-ui-stackline-DS_MPmc1.js +2398 -0
- package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot-DSKOrJZX.js} +49 -49
- package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-c1FPEwLM.js} +87 -87
- package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-CMQJXnP8.js} +17 -17
- package/dist/vue-ui-table-sparkline-CAS9Pk60.js +712 -0
- package/dist/vue-ui-thermometer-w3eeJv9s.js +763 -0
- package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-CSP48eS-.js} +6 -6
- package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-DJvXj1P3.js} +19 -19
- package/dist/vue-ui-treemap-BaOMXTR1.js +1587 -0
- package/dist/vue-ui-waffle-Bo22Ph8n.js +1362 -0
- package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-CbL52G-w.js} +51 -51
- package/dist/vue-ui-word-cloud-BqOCyp7c.js +1723 -0
- package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-BkjzCcVh.js} +445 -445
- package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CVDNhnDY.js} +162 -162
- package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DuwLRfr4.js} +537 -534
- package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CXqGVMeQ.js} +65 -65
- package/package.json +2 -2
- package/dist/exposedLib-BJbE_A8E.js +0 -19
- package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
- package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
- package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
- package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
- package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
- package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
- package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
- package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
- package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
- package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
- package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
- package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
- package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
- package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
- package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
- package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
- package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
- package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
- package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
- package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
- package/dist/vue-ui-word-cloud-BqsUdsCY.js +0 -1656
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { B as t,
|
|
2
|
+
import { B as t, Et as n, G as r, H as i, I as a, J as o, S as ee, Ut as s, Vt as c, X as l, ct as te, i as ne, k as re, kt as ie, r as ae, s as oe, t as se, x as ce, y as le, yt as u } from "./lib-CXicicWN.js";
|
|
3
3
|
import { t as ue } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
-
import { t as de } from "./useConfig-
|
|
5
|
-
import { t as fe } from "./usePrinter-
|
|
4
|
+
import { t as de } from "./useConfig-Bf_EBbe3.js";
|
|
5
|
+
import { t as fe } from "./usePrinter-Dng0UK-G.js";
|
|
6
6
|
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as he } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as ge } from "./useNestedProp-
|
|
8
|
+
import { t as ge } from "./useNestedProp-APyFoLCQ.js";
|
|
9
9
|
import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as ve } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
-
import { n as ye } from "./Title-
|
|
11
|
+
import { n as ye } from "./Title-CVYf1f8m.js";
|
|
12
12
|
import { t as be } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as xe } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as Se } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -16,7 +16,7 @@ import { t as Ce } from "./A11yDataTable-DdRsVULz.js";
|
|
|
16
16
|
import { t as we } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
18
|
import { t as Ee } from "./vue_ui_bump-Vl-zYAtG.js";
|
|
19
|
-
import { t as De } from "./BaseDraggableDialog-
|
|
19
|
+
import { t as De } from "./BaseDraggableDialog-a9xCKjW-.js";
|
|
20
20
|
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Oe, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as je, nextTick as Me, normalizeClass as Ne, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Pe, onMounted as Fe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ie, shallowRef as Le, toDisplayString as T, toRefs as Re, unref as E, watch as ze, watchEffect as Be, withCtx as D } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-bump.vue
|
|
22
22
|
var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We = { style: { position: "relative" } }, Ge = [
|
|
@@ -127,14 +127,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
127
127
|
},
|
|
128
128
|
emits: ["copyAlt"],
|
|
129
129
|
setup(e, { expose: be, emit: Ve }) {
|
|
130
|
-
let ct = _(() => import("./BaseIcon-
|
|
130
|
+
let ct = _(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), lt = _(() => import("./vue-ui-accordion-Di_givzQ.js").then((e) => e.n)), ut = _(() => import("./DataTable-DJZgdnIn.js")), dt = _(() => import("./PenAndPaper-DJIIG6dv.js").then((e) => e.t)), ft = _(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-Dx81ZIAL.js").then((e) => e.t)), { vue_ui_bump: mt } = de(), { isThemeValid: ht, warnInvalidTheme: gt } = _e(), O = e, _t = Ve, vt = f({
|
|
131
131
|
get() {
|
|
132
132
|
return !!O.dataset && O.dataset.length;
|
|
133
133
|
},
|
|
134
134
|
set(e) {
|
|
135
135
|
return e;
|
|
136
136
|
}
|
|
137
|
-
}), k = S(null), A = S(i()), yt = S(0), bt = S(null), xt = S(null), St = S(null), Ct = S(!1), wt = S(!1), Tt = S(0), Et = S(0), j = S(null), Dt = S(null), Ot = S(!1), kt = S(!1),
|
|
137
|
+
}), k = S(null), A = S(i()), yt = S(0), bt = S(null), xt = S(null), St = S(null), Ct = S(!1), wt = S(!1), Tt = S(0), Et = S(0), j = S(null), Dt = S(null), Ot = S(!1), kt = S(!1), M = S(!1), N = S(null), At = S(null), jt = S(null), Mt = S(null), P = S(null), Nt = S(!1), F = S(Rt()), I = f(() => F.value.userOptions.useCursorPointer), Pt = f(() => s({
|
|
138
138
|
defaultConfig: {
|
|
139
139
|
userOptions: { show: !1 },
|
|
140
140
|
style: { chart: {
|
|
@@ -153,11 +153,11 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
153
153
|
}
|
|
154
154
|
} }
|
|
155
155
|
},
|
|
156
|
-
userConfig:
|
|
157
|
-
})), { loading:
|
|
156
|
+
userConfig: F.value.skeletonConfig ?? {}
|
|
157
|
+
})), { loading: Ft, FINAL_DATASET: It, manualLoading: Lt } = pe({
|
|
158
158
|
...Re(O),
|
|
159
|
-
FINAL_CONFIG:
|
|
160
|
-
prepareConfig:
|
|
159
|
+
FINAL_CONFIG: F,
|
|
160
|
+
prepareConfig: Rt,
|
|
161
161
|
skeletonDataset: O.config?.skeletonDataset ?? [
|
|
162
162
|
{
|
|
163
163
|
name: "————",
|
|
@@ -208,123 +208,123 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
208
208
|
color: "#8A8A8A"
|
|
209
209
|
}
|
|
210
210
|
],
|
|
211
|
-
skeletonConfig:
|
|
212
|
-
defaultConfig:
|
|
213
|
-
userConfig:
|
|
211
|
+
skeletonConfig: s({
|
|
212
|
+
defaultConfig: F.value,
|
|
213
|
+
userConfig: Pt.value
|
|
214
214
|
})
|
|
215
215
|
});
|
|
216
|
-
Fe(
|
|
217
|
-
function
|
|
216
|
+
Fe(Qt);
|
|
217
|
+
function Rt() {
|
|
218
218
|
let e = ge({
|
|
219
219
|
userConfig: O.config,
|
|
220
220
|
defaultConfig: mt
|
|
221
|
-
}), t = {},
|
|
222
|
-
if (
|
|
221
|
+
}), t = {}, n = e.theme;
|
|
222
|
+
if (n) if (!ht.value(e)) gt(e), t = e;
|
|
223
223
|
else {
|
|
224
|
-
let
|
|
225
|
-
userConfig: Ee[
|
|
224
|
+
let r = ge({
|
|
225
|
+
userConfig: Ee[n] || O.config,
|
|
226
226
|
defaultConfig: e
|
|
227
227
|
});
|
|
228
228
|
t = {
|
|
229
229
|
...ge({
|
|
230
230
|
userConfig: O.config,
|
|
231
|
-
defaultConfig:
|
|
231
|
+
defaultConfig: r
|
|
232
232
|
}),
|
|
233
|
-
customPalette: e.customPalette.length ? e.customPalette : n
|
|
233
|
+
customPalette: e.customPalette.length ? e.customPalette : c[n] || ie
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
else t = e;
|
|
237
237
|
return t;
|
|
238
238
|
}
|
|
239
|
-
let { userOptionsVisible:
|
|
240
|
-
function
|
|
241
|
-
Ot.value = !0,
|
|
239
|
+
let { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = we({ config: F.value }), { svgRef: L } = Te({ config: F.value.style.chart.title });
|
|
240
|
+
function Ht() {
|
|
241
|
+
Ot.value = !0, Bt(!0);
|
|
242
242
|
}
|
|
243
|
-
function
|
|
244
|
-
|
|
243
|
+
function Ut() {
|
|
244
|
+
Bt(!1), Ot.value = !1;
|
|
245
245
|
}
|
|
246
|
-
let
|
|
247
|
-
ze(
|
|
248
|
-
|
|
246
|
+
let R = S({ showTable: F.value.table.show });
|
|
247
|
+
ze(F, () => {
|
|
248
|
+
R.value = { showTable: F.value.table.show };
|
|
249
249
|
}, { immediate: !0 }), ze(() => O.config, (e) => {
|
|
250
|
-
|
|
251
|
-
top:
|
|
252
|
-
right:
|
|
253
|
-
bottom:
|
|
254
|
-
left:
|
|
250
|
+
Ft.value || (F.value = Rt()), zt.value = !F.value.userOptions.showOnChartHover, Qt(), Tt.value += 1, Et.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 = {
|
|
251
|
+
top: F.value.style.chart.padding.top / F.value.style.chart.height,
|
|
252
|
+
right: F.value.style.chart.padding.right / F.value.style.chart.width,
|
|
253
|
+
bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
|
|
254
|
+
left: F.value.style.chart.padding.left / F.value.style.chart.width
|
|
255
255
|
};
|
|
256
256
|
}), ze(() => O.dataset, (e) => {
|
|
257
|
-
Array.isArray(e) && e.length > 0 && (
|
|
257
|
+
Array.isArray(e) && e.length > 0 && (Lt.value = !1);
|
|
258
258
|
}, { deep: !0 });
|
|
259
|
-
let { isPrinting:
|
|
259
|
+
let { isPrinting: Wt, isImaging: Gt, generatePdf: Kt, generateImage: qt } = fe({
|
|
260
260
|
elementId: `bump_${A.value}`,
|
|
261
|
-
fileName:
|
|
262
|
-
options:
|
|
263
|
-
}),
|
|
264
|
-
width:
|
|
265
|
-
height:
|
|
261
|
+
fileName: F.value.style.chart.title.text || "vue-ui-bump",
|
|
262
|
+
options: F.value.userOptions.print
|
|
263
|
+
}), Jt = f(() => F.value.userOptions.show && !F.value.style.chart.title.text), z = S({
|
|
264
|
+
width: F.value.style.chart.width,
|
|
265
|
+
height: F.value.style.chart.height,
|
|
266
266
|
paddingRatio: {
|
|
267
|
-
top:
|
|
268
|
-
right:
|
|
269
|
-
bottom:
|
|
270
|
-
left:
|
|
267
|
+
top: F.value.style.chart.padding.top / F.value.style.chart.height,
|
|
268
|
+
right: F.value.style.chart.padding.right / F.value.style.chart.width,
|
|
269
|
+
bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
|
|
270
|
+
left: F.value.style.chart.padding.left / F.value.style.chart.width
|
|
271
271
|
}
|
|
272
|
-
}),
|
|
273
|
-
function
|
|
274
|
-
if (
|
|
272
|
+
}), Yt = f(() => ce(F.value.customPalette)), B = Le(null), V = Le(null), Xt = S(null), Zt = f(() => !!F.value.debug);
|
|
273
|
+
function Qt() {
|
|
274
|
+
if (n(O.dataset) ? (l({
|
|
275
275
|
componentName: "VueUiBump",
|
|
276
276
|
type: "dataset",
|
|
277
|
-
debug:
|
|
278
|
-
}),
|
|
279
|
-
|
|
277
|
+
debug: Zt.value
|
|
278
|
+
}), Lt.value = !0) : O.dataset.forEach((e, t) => {
|
|
279
|
+
te({
|
|
280
280
|
datasetObject: e,
|
|
281
281
|
requiredAttributes: ["name", "values"]
|
|
282
282
|
}).forEach((e) => {
|
|
283
|
-
vt.value = !1,
|
|
283
|
+
vt.value = !1, l({
|
|
284
284
|
componentName: "VueUiBump",
|
|
285
285
|
type: "datasetSerieAttribute",
|
|
286
286
|
property: e,
|
|
287
287
|
index: t,
|
|
288
|
-
debug:
|
|
289
|
-
}),
|
|
288
|
+
debug: Zt.value
|
|
289
|
+
}), Lt.value = !0;
|
|
290
290
|
});
|
|
291
|
-
}),
|
|
291
|
+
}), n(O.dataset) || (Lt.value = F.value.loading), setTimeout(() => {
|
|
292
292
|
wt.value = !0;
|
|
293
|
-
}, 10),
|
|
293
|
+
}, 10), F.value.responsive) {
|
|
294
294
|
let e = xe(() => {
|
|
295
295
|
wt.value = !1;
|
|
296
296
|
let { width: e, height: t } = Se({
|
|
297
297
|
chart: k.value,
|
|
298
298
|
noTitle: xt.value,
|
|
299
|
-
title:
|
|
299
|
+
title: F.value.style.chart.title.text ? bt.value : null,
|
|
300
300
|
legend: null,
|
|
301
301
|
slicer: null,
|
|
302
302
|
source: St.value
|
|
303
303
|
});
|
|
304
304
|
requestAnimationFrame(() => {
|
|
305
|
-
|
|
305
|
+
z.value.width = e, z.value.height = t - 12, clearTimeout(Xt.value), Xt.value = setTimeout(() => {
|
|
306
306
|
wt.value = !0;
|
|
307
307
|
}, 10);
|
|
308
308
|
});
|
|
309
309
|
});
|
|
310
|
-
|
|
310
|
+
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = k.value.parentNode, B.value.observe(V.value);
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
Pe(() => {
|
|
314
|
-
|
|
314
|
+
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
315
315
|
});
|
|
316
|
-
let
|
|
317
|
-
let n = le(e.color) ||
|
|
316
|
+
let $t = f(() => It.value.map((e, t) => {
|
|
317
|
+
let n = le(e.color) || Yt.value[t] || ie[t] || ie[t % ie.length];
|
|
318
318
|
return {
|
|
319
319
|
...e,
|
|
320
320
|
absoluteIndex: t,
|
|
321
321
|
id: i(),
|
|
322
322
|
color: n
|
|
323
323
|
};
|
|
324
|
-
})),
|
|
325
|
-
function
|
|
326
|
-
let t = e.map(() => Array(
|
|
327
|
-
for (let n = 0; n <
|
|
324
|
+
})), H = f(() => Math.max(...$t.value.map((e) => e.values.length)));
|
|
325
|
+
function en(e) {
|
|
326
|
+
let t = e.map(() => Array(H.value).fill(null));
|
|
327
|
+
for (let n = 0; n < H.value; n += 1) {
|
|
328
328
|
let r = e.map((e, r) => ({
|
|
329
329
|
seriesIndex: r,
|
|
330
330
|
value: e.values?.[n],
|
|
@@ -338,37 +338,37 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
338
338
|
}
|
|
339
339
|
return t;
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function tn() {
|
|
342
342
|
let e = 0;
|
|
343
|
-
return
|
|
343
|
+
return At.value && (e = Array.from(At.value.querySelectorAll("tspan")).reduce((e, t) => {
|
|
344
344
|
let n = t.getComputedTextLength();
|
|
345
345
|
return n > e ? n : e;
|
|
346
346
|
}, 0)), e;
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function nn() {
|
|
349
349
|
let e = 0;
|
|
350
|
-
return
|
|
350
|
+
return jt.value && (e = Array.from(jt.value.querySelectorAll("tspan")).reduce((e, t) => {
|
|
351
351
|
let n = t.getComputedTextLength();
|
|
352
352
|
return n > e ? n : e;
|
|
353
353
|
}, 0)), e;
|
|
354
354
|
}
|
|
355
|
-
let
|
|
356
|
-
|
|
355
|
+
let rn = S(0), an = xe((e) => {
|
|
356
|
+
rn.value = e;
|
|
357
357
|
}, 100);
|
|
358
358
|
Be((e) => {
|
|
359
|
-
let t =
|
|
359
|
+
let t = Mt.value;
|
|
360
360
|
if (!t) return;
|
|
361
361
|
let n = new ResizeObserver((e) => {
|
|
362
|
-
|
|
362
|
+
an(e[0].contentRect.height);
|
|
363
363
|
});
|
|
364
364
|
n.observe(t), e(() => n.disconnect());
|
|
365
365
|
}), Pe(() => {
|
|
366
|
-
|
|
366
|
+
rn.value = 0;
|
|
367
367
|
});
|
|
368
|
-
let
|
|
369
|
-
let e =
|
|
368
|
+
let on = f(() => {
|
|
369
|
+
let e = F.value.style.chart.layout.timeLabels;
|
|
370
370
|
if (!e.show) return 0;
|
|
371
|
-
let t = e.fontSize, n = e.rotation, r = Math.PI / 180 * n, i =
|
|
371
|
+
let t = e.fontSize, n = e.rotation, r = Math.PI / 180 * n, i = K.value || [];
|
|
372
372
|
if (!i.length) return 0;
|
|
373
373
|
let a = i.reduce((e, t) => {
|
|
374
374
|
let n = String(t?.text ?? "").split("\n").length;
|
|
@@ -378,8 +378,8 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
378
378
|
return Math.max(e, n);
|
|
379
379
|
}, 0), ee = t * 1.3 * a, s = o * t * (o === 1 ? 1 : .6), c = Math.abs(Math.sin(r)) * s + Math.abs(Math.cos(r)) * ee, l = t * .3;
|
|
380
380
|
return Math.max(0, c + Math.abs(e.offsetY) + l);
|
|
381
|
-
}),
|
|
382
|
-
let { height: e, width: t } =
|
|
381
|
+
}), U = f(() => {
|
|
382
|
+
let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i = tn(), a = nn(), o = F.value.style.chart.padding.top, ee = t - t * n - a, s = t * r + i, c = t - t * n - t * r - i - a, l = e - o - F.value.style.chart.padding.bottom - on.value, te = o + l, ne = o + l, re = Math.max(0, e);
|
|
383
383
|
return {
|
|
384
384
|
chartHeight: ne,
|
|
385
385
|
chartWidth: Math.max(0, t),
|
|
@@ -389,36 +389,36 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
389
389
|
left: Math.max(0, s),
|
|
390
390
|
width: Math.max(0, c),
|
|
391
391
|
height: Math.max(0, l),
|
|
392
|
-
unitH: Math.max(0, l) /
|
|
393
|
-
unitW: Math.max(0, c) /
|
|
392
|
+
unitH: Math.max(0, l) / $t.value.length,
|
|
393
|
+
unitW: Math.max(0, c) / H.value,
|
|
394
394
|
svgHeight: re
|
|
395
395
|
};
|
|
396
|
-
}),
|
|
397
|
-
if (!vt.value && !
|
|
398
|
-
let e =
|
|
399
|
-
return
|
|
396
|
+
}), W = f(() => {
|
|
397
|
+
if (!vt.value && !Ft.value) return [];
|
|
398
|
+
let e = en($t.value);
|
|
399
|
+
return $t.value.map((t, n) => ({
|
|
400
400
|
...t,
|
|
401
401
|
positions: e[n]
|
|
402
402
|
})).map((e) => {
|
|
403
403
|
let t = e.positions.map((t, n) => {
|
|
404
|
-
let i =
|
|
405
|
-
p:
|
|
404
|
+
let i = ne(F.value.style.chart.layout.plots.labels.formatter, e.values[n], r({
|
|
405
|
+
p: F.value.style.chart.layout.plots.labels.prefix,
|
|
406
406
|
v: e.values[n],
|
|
407
|
-
s:
|
|
408
|
-
r:
|
|
407
|
+
s: F.value.style.chart.layout.plots.labels.suffix,
|
|
408
|
+
r: F.value.style.chart.layout.plots.labels.rounding
|
|
409
409
|
}));
|
|
410
410
|
return {
|
|
411
411
|
name: e.name,
|
|
412
412
|
id: e.id,
|
|
413
|
-
x:
|
|
414
|
-
y:
|
|
413
|
+
x: U.value.left + n * U.value.unitW + U.value.unitW / 2,
|
|
414
|
+
y: U.value.top + t * U.value.unitH + U.value.unitH / 2,
|
|
415
415
|
value: e.values[n],
|
|
416
416
|
displayValue: i,
|
|
417
417
|
rank: e.positions[n] + 1,
|
|
418
418
|
color: e.color,
|
|
419
|
-
labelColor:
|
|
419
|
+
labelColor: F.value.style.chart.layout.plots.labels.color === "auto" ? ae(e.color) : le(F.value.style.chart.layout.plots.labels.color) ?? ae(e.color)
|
|
420
420
|
};
|
|
421
|
-
}), n = t.filter((e) => u(e.value)), i =
|
|
421
|
+
}), n = t.filter((e) => u(e.value)), i = F.value.style.chart.layout.lines.smooth ? re(n) : a(n);
|
|
422
422
|
return {
|
|
423
423
|
...e,
|
|
424
424
|
coordinates: t,
|
|
@@ -426,7 +426,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
426
426
|
};
|
|
427
427
|
});
|
|
428
428
|
});
|
|
429
|
-
f(() =>
|
|
429
|
+
f(() => W.value.flatMap((e, t) => e.coordinates.map((n, r) => ({
|
|
430
430
|
...n,
|
|
431
431
|
pointIndex: r,
|
|
432
432
|
seriesIndex: t,
|
|
@@ -434,7 +434,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
434
434
|
seriesName: e.name,
|
|
435
435
|
pointId: `${e.id}_${r}`
|
|
436
436
|
})).filter((e) => u(e.value))));
|
|
437
|
-
function
|
|
437
|
+
function sn(e, t, n, r) {
|
|
438
438
|
let i = e.toSorted((e, t) => e.y - t.y);
|
|
439
439
|
for (let e = 1; e < i.length; e += 1) {
|
|
440
440
|
let n = i[e - 1], r = i[e];
|
|
@@ -454,39 +454,39 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
454
454
|
}
|
|
455
455
|
return i;
|
|
456
456
|
}
|
|
457
|
-
let
|
|
457
|
+
let cn = f(() => {
|
|
458
458
|
let e = [], t = [];
|
|
459
|
-
|
|
459
|
+
W.value.forEach((n) => {
|
|
460
460
|
let r = n.coordinates.filter((e) => Number.isFinite(e.rank));
|
|
461
461
|
if (!r.length) return;
|
|
462
462
|
e.push({ ...r[0] });
|
|
463
463
|
let i = r[r.length - 1];
|
|
464
464
|
t.push({ ...i });
|
|
465
465
|
});
|
|
466
|
-
let n =
|
|
466
|
+
let n = F.value.style.chart.layout.nameLabels.fontSize, r = n * 1.4, i = U.value.top + n, a = U.value.bottom - n, o = sn(t, r, i, a);
|
|
467
467
|
return {
|
|
468
|
-
left:
|
|
468
|
+
left: sn(e, r, i, a),
|
|
469
469
|
right: o
|
|
470
470
|
};
|
|
471
471
|
});
|
|
472
|
-
function
|
|
473
|
-
let t =
|
|
472
|
+
function ln(e) {
|
|
473
|
+
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, ee = e.x - a / 2, s = e.y - o / 2, c = F.value.style.chart.layout.plots.strokeWidth;
|
|
474
474
|
return {
|
|
475
475
|
x: ee - c / 2,
|
|
476
476
|
y: s - c / 2,
|
|
477
477
|
width: a + c,
|
|
478
478
|
height: o + c,
|
|
479
479
|
fill: e.color,
|
|
480
|
-
stroke:
|
|
480
|
+
stroke: F.value.style.chart.layout.plots.stroke,
|
|
481
481
|
"stroke-width": c,
|
|
482
482
|
rx: o / 2
|
|
483
483
|
};
|
|
484
484
|
}
|
|
485
|
-
let
|
|
485
|
+
let G = S([]), un = 0;
|
|
486
486
|
Be(() => {
|
|
487
|
-
let e = ++
|
|
487
|
+
let e = ++un, t = F.value.style.chart.layout.timeLabels, n = t.values, r = t.datetimeFormatter, i = H.value;
|
|
488
488
|
if (!i || !Array.isArray(n) || n.length === 0) {
|
|
489
|
-
|
|
489
|
+
G.value = [];
|
|
490
490
|
return;
|
|
491
491
|
}
|
|
492
492
|
(async () => {
|
|
@@ -497,73 +497,73 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
497
497
|
start: 0,
|
|
498
498
|
end: i
|
|
499
499
|
});
|
|
500
|
-
e ===
|
|
500
|
+
e === un && (G.value = t);
|
|
501
501
|
})();
|
|
502
502
|
});
|
|
503
|
-
let
|
|
504
|
-
let e =
|
|
505
|
-
return
|
|
506
|
-
}),
|
|
507
|
-
let e =
|
|
508
|
-
return oe(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1,
|
|
509
|
-
}),
|
|
503
|
+
let dn = f(() => {
|
|
504
|
+
let e = F.value.style.chart.layout.timeLabels.modulo;
|
|
505
|
+
return G.value.length ? Math.min(e, [...new Set(G.value.map((e) => e.text))].length) : e;
|
|
506
|
+
}), K = f(() => {
|
|
507
|
+
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 ?? "");
|
|
508
|
+
return oe(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, dn.value || 1), i, a, 0, null, r);
|
|
509
|
+
}), fn = f(() => z.value.width), pn = f(() => z.value.height), mn = f(() => ({
|
|
510
510
|
start: 0,
|
|
511
|
-
end:
|
|
512
|
-
})),
|
|
511
|
+
end: H.value
|
|
512
|
+
})), q = f(() => [...W.value].map((e) => {
|
|
513
513
|
let t = [...e.coordinates].filter((e) => u(e.value)).at(-1);
|
|
514
514
|
return {
|
|
515
515
|
...e,
|
|
516
516
|
navigationRank: t?.rank ?? Infinity
|
|
517
517
|
};
|
|
518
518
|
}).sort((e, t) => e.navigationRank - t.navigationRank));
|
|
519
|
-
function
|
|
520
|
-
|
|
519
|
+
function hn() {
|
|
520
|
+
P.value = null, Nt.value = !0;
|
|
521
521
|
}
|
|
522
|
-
function
|
|
523
|
-
|
|
522
|
+
function gn() {
|
|
523
|
+
vn(), Nt.value = !1;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
526
|
-
let n =
|
|
525
|
+
function _n(e, t) {
|
|
526
|
+
let n = q.value.length;
|
|
527
527
|
return n ? e === null || e < 0 || e >= n ? 0 : t === "previous" ? (e - 1 + n) % n : (e + 1) % n : null;
|
|
528
528
|
}
|
|
529
|
-
function
|
|
530
|
-
if (
|
|
531
|
-
let e =
|
|
532
|
-
e &&
|
|
529
|
+
function vn() {
|
|
530
|
+
if (P.value !== null) {
|
|
531
|
+
let e = q.value[P.value];
|
|
532
|
+
e && $(e, e);
|
|
533
533
|
}
|
|
534
|
-
|
|
534
|
+
P.value = null, N.value = null;
|
|
535
535
|
}
|
|
536
|
-
function
|
|
537
|
-
if (!
|
|
536
|
+
function yn(e) {
|
|
537
|
+
if (!L.value || Y.value || document.activeElement !== L.value || !q.value.length) return;
|
|
538
538
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
539
539
|
if (!t && !n && !r && !i) return;
|
|
540
540
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
541
|
-
|
|
541
|
+
vn();
|
|
542
542
|
return;
|
|
543
543
|
}
|
|
544
544
|
if (r) {
|
|
545
|
-
if (
|
|
546
|
-
let e =
|
|
545
|
+
if (P.value === null) return;
|
|
546
|
+
let e = q.value[P.value];
|
|
547
547
|
if (!e) return;
|
|
548
|
-
|
|
548
|
+
jn(e, e);
|
|
549
549
|
return;
|
|
550
550
|
}
|
|
551
|
-
let a =
|
|
552
|
-
a === null ? a = 0 : t ? a =
|
|
553
|
-
let o =
|
|
554
|
-
o && (
|
|
551
|
+
let a = P.value;
|
|
552
|
+
a === null ? a = 0 : t ? a = _n(a, "previous") : n && (a = _n(a, "next"));
|
|
553
|
+
let o = q.value[a];
|
|
554
|
+
o && (P.value = a, Q(o, o));
|
|
555
555
|
}
|
|
556
|
-
let
|
|
557
|
-
head:
|
|
558
|
-
body:
|
|
559
|
-
caption:
|
|
560
|
-
notice:
|
|
556
|
+
let J = f(() => ({
|
|
557
|
+
head: Z.value.head,
|
|
558
|
+
body: W.value.map((e) => [e.name, ...e.coordinates.map((e) => u(e.value) ? `${e.displayValue} (${e.rank})` : "-")]),
|
|
559
|
+
caption: F.value.a11y.translations.tableCaption,
|
|
560
|
+
notice: F.value.a11y.translations.tableAvailable
|
|
561
561
|
}));
|
|
562
562
|
ve({
|
|
563
|
-
timeLabelsEls:
|
|
564
|
-
timeLabels:
|
|
565
|
-
slicer:
|
|
566
|
-
configRef:
|
|
563
|
+
timeLabelsEls: Mt,
|
|
564
|
+
timeLabels: G,
|
|
565
|
+
slicer: mn,
|
|
566
|
+
configRef: F,
|
|
567
567
|
rotationPath: [
|
|
568
568
|
"style",
|
|
569
569
|
"chart",
|
|
@@ -580,115 +580,115 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
580
580
|
"enable"
|
|
581
581
|
],
|
|
582
582
|
isAutoSize: !1,
|
|
583
|
-
width:
|
|
584
|
-
height:
|
|
585
|
-
rotation:
|
|
583
|
+
width: fn,
|
|
584
|
+
height: pn,
|
|
585
|
+
rotation: F.value.style.chart.layout.timeLabels.autoRotate.angle
|
|
586
586
|
});
|
|
587
|
-
let
|
|
588
|
-
function
|
|
589
|
-
|
|
587
|
+
let Y = S(!1);
|
|
588
|
+
function bn() {
|
|
589
|
+
Y.value = !Y.value;
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function xn(e) {
|
|
592
592
|
Ct.value = e, yt.value += 1;
|
|
593
593
|
}
|
|
594
|
-
function
|
|
595
|
-
|
|
594
|
+
function Sn() {
|
|
595
|
+
R.value.showTable = !R.value.showTable;
|
|
596
596
|
}
|
|
597
|
-
ze(() =>
|
|
598
|
-
|
|
597
|
+
ze(() => R.value.showTable, (e) => {
|
|
598
|
+
F.value.table.show || (e && F.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
599
599
|
});
|
|
600
|
-
function
|
|
601
|
-
|
|
600
|
+
function Cn() {
|
|
601
|
+
R.value.showTable = !1, Dt.value && Dt.value.setTableIconState(!1);
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
return
|
|
603
|
+
function wn() {
|
|
604
|
+
return W.value;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function Tn(e = null) {
|
|
607
607
|
let t = [
|
|
608
|
-
[
|
|
609
|
-
[
|
|
608
|
+
[F.value.style.chart.title.text],
|
|
609
|
+
[F.value.style.chart.title.subtitle.text],
|
|
610
610
|
[""]
|
|
611
|
-
], n = ["", ...
|
|
611
|
+
], n = ["", ...K.value.map((e) => e?.text ?? "")], r = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.displayValue}`)]), i = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.rank}`)]), a = ee(t.concat([[F.value.table.columnNames.values]]).concat([n]).concat(r).concat([
|
|
612
612
|
[""],
|
|
613
|
-
[
|
|
613
|
+
[F.value.table.columnNames.ranking],
|
|
614
614
|
[n]
|
|
615
615
|
]).concat(i));
|
|
616
|
-
e ? e(a) :
|
|
616
|
+
e ? e(a) : o({
|
|
617
617
|
csvContent: a,
|
|
618
|
-
title:
|
|
618
|
+
title: F.value.style.chart.title.text || "vue-ui-bump"
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
let
|
|
622
|
-
let e =
|
|
621
|
+
let X = f(() => {
|
|
622
|
+
let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
|
|
623
623
|
return {
|
|
624
624
|
component: e ? De : lt,
|
|
625
|
-
title: `${
|
|
625
|
+
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
626
626
|
props: e ? {
|
|
627
|
-
backgroundColor:
|
|
628
|
-
color:
|
|
629
|
-
headerColor:
|
|
630
|
-
headerBg:
|
|
627
|
+
backgroundColor: F.value.table.th.backgroundColor,
|
|
628
|
+
color: F.value.table.th.color,
|
|
629
|
+
headerColor: F.value.table.th.color,
|
|
630
|
+
headerBg: F.value.table.th.backgroundColor,
|
|
631
631
|
isFullscreen: Ct.value,
|
|
632
632
|
fullscreenParent: k.value,
|
|
633
633
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
634
|
-
isCursorPointer:
|
|
634
|
+
isCursorPointer: I.value
|
|
635
635
|
} : {
|
|
636
636
|
hideDetails: !0,
|
|
637
637
|
config: {
|
|
638
638
|
open: t,
|
|
639
639
|
maxHeight: 1e4,
|
|
640
640
|
body: {
|
|
641
|
-
backgroundColor:
|
|
642
|
-
color:
|
|
641
|
+
backgroundColor: F.value.style.chart.backgroundColor,
|
|
642
|
+
color: F.value.style.chart.color
|
|
643
643
|
},
|
|
644
644
|
head: {
|
|
645
|
-
backgroundColor:
|
|
646
|
-
color:
|
|
645
|
+
backgroundColor: F.value.style.chart.backgroundColor,
|
|
646
|
+
color: F.value.style.chart.color
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
};
|
|
651
|
-
}),
|
|
652
|
-
head: [""].concat(
|
|
653
|
-
body:
|
|
651
|
+
}), Z = f(() => ({
|
|
652
|
+
head: [""].concat(K.value.map((e) => e.text)),
|
|
653
|
+
body: W.value.map((e, t) => [e.name, ...e.coordinates.map((e) => `${e.displayValue} (${e.rank})`)]),
|
|
654
654
|
config: {
|
|
655
655
|
th: {
|
|
656
|
-
backgroundColor:
|
|
657
|
-
color:
|
|
658
|
-
outline:
|
|
656
|
+
backgroundColor: F.value.table.th.backgroundColor,
|
|
657
|
+
color: F.value.table.th.color,
|
|
658
|
+
outline: F.value.table.th.outline
|
|
659
659
|
},
|
|
660
660
|
td: {
|
|
661
|
-
backgroundColor:
|
|
662
|
-
color:
|
|
663
|
-
outline:
|
|
661
|
+
backgroundColor: F.value.table.td.backgroundColor,
|
|
662
|
+
color: F.value.table.td.color,
|
|
663
|
+
outline: F.value.table.td.outline
|
|
664
664
|
},
|
|
665
|
-
breakpoint:
|
|
665
|
+
breakpoint: F.value.table.responsiveBreakpoint
|
|
666
666
|
},
|
|
667
|
-
colNames: [
|
|
668
|
-
})),
|
|
669
|
-
svg:
|
|
670
|
-
title: f(() =>
|
|
667
|
+
colNames: [F.value.table.columnNames.series]
|
|
668
|
+
})), En = f(() => F.value.style.chart.backgroundColor), { exportSvg: Dn, getSvg: On } = he({
|
|
669
|
+
svg: L,
|
|
670
|
+
title: f(() => F.value.style.chart.title),
|
|
671
671
|
legend: null,
|
|
672
672
|
legendItems: null,
|
|
673
|
-
backgroundColor:
|
|
673
|
+
backgroundColor: En
|
|
674
674
|
});
|
|
675
|
-
async function
|
|
676
|
-
|
|
675
|
+
async function kn({ isCb: e }) {
|
|
676
|
+
M.value = !0, await Me();
|
|
677
677
|
try {
|
|
678
678
|
if (e) {
|
|
679
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
680
|
-
await Promise.resolve(
|
|
679
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await On();
|
|
680
|
+
await Promise.resolve(F.value.userOptions.callbacks.svg({
|
|
681
681
|
blob: e,
|
|
682
682
|
url: t,
|
|
683
683
|
text: n,
|
|
684
684
|
dataUrl: r
|
|
685
685
|
}));
|
|
686
|
-
} else await Promise.resolve(
|
|
686
|
+
} else await Promise.resolve(Dn());
|
|
687
687
|
} finally {
|
|
688
|
-
|
|
688
|
+
M.value = !1;
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
|
-
async function
|
|
691
|
+
async function An({ scale: e = 2 } = {}) {
|
|
692
692
|
if (!k.value) return;
|
|
693
693
|
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
|
|
694
694
|
domElement: k.value,
|
|
@@ -699,26 +699,26 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
699
699
|
return {
|
|
700
700
|
imageUri: i,
|
|
701
701
|
base64: a,
|
|
702
|
-
title:
|
|
702
|
+
title: F.value.style.chart.title.text,
|
|
703
703
|
width: t,
|
|
704
704
|
height: n,
|
|
705
705
|
aspectRatio: r
|
|
706
706
|
};
|
|
707
707
|
}
|
|
708
|
-
function
|
|
709
|
-
|
|
708
|
+
function Q(e, t) {
|
|
709
|
+
N.value = t.id, F.value.events.datapointEnter && F.value.events.datapointEnter({
|
|
710
710
|
datapoint: e,
|
|
711
711
|
seriesIndex: e?.pointIndex ?? null
|
|
712
712
|
});
|
|
713
713
|
}
|
|
714
|
-
function
|
|
715
|
-
|
|
714
|
+
function $(e, t) {
|
|
715
|
+
N.value = null, F.value.events.datapointLeave && F.value.events.datapointLeave({
|
|
716
716
|
datapoint: e,
|
|
717
717
|
seriesIndex: e?.pointIndex ?? null
|
|
718
718
|
});
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
|
|
720
|
+
function jn(e, t) {
|
|
721
|
+
F.value.events.datapointClick && F.value.events.datapointClick({
|
|
722
722
|
datapoint: e,
|
|
723
723
|
seriesIndex: e?.pointIndex ?? null
|
|
724
724
|
});
|
|
@@ -732,31 +732,31 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
732
732
|
kt.value = !1;
|
|
733
733
|
return;
|
|
734
734
|
}
|
|
735
|
-
|
|
735
|
+
qt();
|
|
736
736
|
}
|
|
737
737
|
async function Nn() {
|
|
738
738
|
if (_t("copyAlt", {
|
|
739
|
-
config:
|
|
740
|
-
dataset:
|
|
741
|
-
}), !
|
|
739
|
+
config: F.value,
|
|
740
|
+
dataset: W.value
|
|
741
|
+
}), !F.value.userOptions.callbacks.altCopy) {
|
|
742
742
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
743
743
|
return;
|
|
744
744
|
}
|
|
745
|
-
await Promise.resolve(
|
|
746
|
-
config:
|
|
747
|
-
dataset:
|
|
745
|
+
await Promise.resolve(F.value.userOptions.callbacks.altCopy({
|
|
746
|
+
config: F.value,
|
|
747
|
+
dataset: W.value
|
|
748
748
|
}));
|
|
749
749
|
}
|
|
750
750
|
return be({
|
|
751
|
-
getData:
|
|
752
|
-
getImage:
|
|
753
|
-
generatePdf:
|
|
754
|
-
generateCsv:
|
|
755
|
-
generateImage:
|
|
756
|
-
generateSvg:
|
|
757
|
-
toggleTable:
|
|
758
|
-
toggleAnnotator:
|
|
759
|
-
toggleFullscreen:
|
|
751
|
+
getData: wn,
|
|
752
|
+
getImage: An,
|
|
753
|
+
generatePdf: Kt,
|
|
754
|
+
generateCsv: Tn,
|
|
755
|
+
generateImage: qt,
|
|
756
|
+
generateSvg: kn,
|
|
757
|
+
toggleTable: Sn,
|
|
758
|
+
toggleAnnotator: bn,
|
|
759
|
+
toggleFullscreen: xn,
|
|
760
760
|
copyAlt: Nn
|
|
761
761
|
}), (e, n) => (x(), h("div", {
|
|
762
762
|
id: `bump_${A.value}`,
|
|
@@ -767,21 +767,21 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
767
767
|
"vue-ui-bump": !0,
|
|
768
768
|
"vue-data-ui-wrapper-fullscreen": Ct.value
|
|
769
769
|
}),
|
|
770
|
-
style: b(`background:${
|
|
771
|
-
onMouseenter:
|
|
772
|
-
onMouseleave:
|
|
770
|
+
style: b(`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%" : ""}`),
|
|
771
|
+
onMouseenter: Ht,
|
|
772
|
+
onMouseleave: Ut
|
|
773
773
|
}, [
|
|
774
774
|
g("p", {
|
|
775
775
|
id: `chart-instructions-${A.value}`,
|
|
776
776
|
class: "sr-only"
|
|
777
|
-
}, T(
|
|
778
|
-
|
|
777
|
+
}, T(F.value.a11y.translations.keyboardNavigation), 9, Ue),
|
|
778
|
+
J.value.body.length ? (x(), p(Ce, {
|
|
779
779
|
key: 0,
|
|
780
780
|
uid: A.value,
|
|
781
|
-
head:
|
|
782
|
-
body:
|
|
783
|
-
caption:
|
|
784
|
-
notice:
|
|
781
|
+
head: J.value.head,
|
|
782
|
+
body: J.value.body,
|
|
783
|
+
caption: J.value.caption,
|
|
784
|
+
notice: J.value.notice
|
|
785
785
|
}, null, 8, [
|
|
786
786
|
"uid",
|
|
787
787
|
"head",
|
|
@@ -789,14 +789,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
789
789
|
"caption",
|
|
790
790
|
"notice"
|
|
791
791
|
])) : m("", !0),
|
|
792
|
-
|
|
792
|
+
F.value.userOptions.buttons.annotator ? (x(), p(E(dt), {
|
|
793
793
|
key: 1,
|
|
794
|
-
svgRef: E(
|
|
795
|
-
backgroundColor:
|
|
796
|
-
color:
|
|
797
|
-
active:
|
|
798
|
-
isCursorPointer:
|
|
799
|
-
onClose:
|
|
794
|
+
svgRef: E(L),
|
|
795
|
+
backgroundColor: F.value.style.chart.backgroundColor,
|
|
796
|
+
color: F.value.style.chart.color,
|
|
797
|
+
active: Y.value,
|
|
798
|
+
isCursorPointer: I.value,
|
|
799
|
+
onClose: bn
|
|
800
800
|
}, {
|
|
801
801
|
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
802
802
|
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
|
|
@@ -813,14 +813,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
813
813
|
"isCursorPointer"
|
|
814
814
|
])) : m("", !0),
|
|
815
815
|
w(e.$slots, "userConfig", {}, void 0, !0),
|
|
816
|
-
|
|
816
|
+
Jt.value ? (x(), h("div", {
|
|
817
817
|
key: 2,
|
|
818
818
|
ref_key: "noTitle",
|
|
819
819
|
ref: xt,
|
|
820
820
|
class: "vue-data-ui-no-title-space",
|
|
821
821
|
style: "height:36px; width: 100%;background:transparent"
|
|
822
822
|
}, null, 512)) : m("", !0),
|
|
823
|
-
|
|
823
|
+
F.value.style.chart.title.text ? (x(), h("div", {
|
|
824
824
|
key: 3,
|
|
825
825
|
ref_key: "chartTitle",
|
|
826
826
|
ref: bt,
|
|
@@ -830,51 +830,51 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
830
830
|
config: {
|
|
831
831
|
title: {
|
|
832
832
|
cy: "bump-title",
|
|
833
|
-
...
|
|
833
|
+
...F.value.style.chart.title
|
|
834
834
|
},
|
|
835
835
|
subtitle: {
|
|
836
836
|
cy: "bump-subtitle",
|
|
837
|
-
...
|
|
837
|
+
...F.value.style.chart.title.subtitle
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
840
|
}, null, 8, ["config"]))], 512)) : m("", !0),
|
|
841
|
-
|
|
841
|
+
F.value.userOptions.show && vt.value && (E(Vt) || E(zt)) ? (x(), p(E(ft), {
|
|
842
842
|
ref_key: "userOptionsRef",
|
|
843
843
|
ref: Dt,
|
|
844
844
|
key: `user_option_${yt.value}`,
|
|
845
|
-
backgroundColor:
|
|
846
|
-
color:
|
|
847
|
-
isPrinting: E(
|
|
848
|
-
isImaging: E(
|
|
845
|
+
backgroundColor: F.value.style.chart.backgroundColor,
|
|
846
|
+
color: F.value.style.chart.color,
|
|
847
|
+
isPrinting: E(Wt),
|
|
848
|
+
isImaging: E(Gt),
|
|
849
849
|
uid: A.value,
|
|
850
850
|
hasTooltip: !1,
|
|
851
|
-
hasPdf:
|
|
852
|
-
hasImg:
|
|
853
|
-
hasSvg:
|
|
854
|
-
hasXls:
|
|
855
|
-
hasTable:
|
|
851
|
+
hasPdf: F.value.userOptions.buttons.pdf,
|
|
852
|
+
hasImg: F.value.userOptions.buttons.img,
|
|
853
|
+
hasSvg: F.value.userOptions.buttons.svg,
|
|
854
|
+
hasXls: F.value.userOptions.buttons.csv,
|
|
855
|
+
hasTable: F.value.userOptions.buttons.table,
|
|
856
856
|
hasLabel: !1,
|
|
857
|
-
hasAltCopy:
|
|
858
|
-
hasFullscreen:
|
|
857
|
+
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
858
|
+
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
859
859
|
isFullcreen: Ct.value,
|
|
860
860
|
chartElement: k.value,
|
|
861
|
-
position:
|
|
862
|
-
titles: { ...
|
|
863
|
-
hasAnnotator:
|
|
864
|
-
isAnnotation:
|
|
865
|
-
callbacks:
|
|
866
|
-
printScale:
|
|
867
|
-
tableDialog:
|
|
868
|
-
isCursorPointer:
|
|
869
|
-
onToggleFullscreen:
|
|
870
|
-
onGeneratePdf: E(
|
|
871
|
-
onGenerateCsv:
|
|
861
|
+
position: F.value.userOptions.position,
|
|
862
|
+
titles: { ...F.value.userOptions.buttonTitles },
|
|
863
|
+
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
864
|
+
isAnnotation: Y.value,
|
|
865
|
+
callbacks: F.value.userOptions.callbacks,
|
|
866
|
+
printScale: F.value.userOptions.print.scale,
|
|
867
|
+
tableDialog: F.value.table.useDialog,
|
|
868
|
+
isCursorPointer: I.value,
|
|
869
|
+
onToggleFullscreen: xn,
|
|
870
|
+
onGeneratePdf: E(Kt),
|
|
871
|
+
onGenerateCsv: Tn,
|
|
872
872
|
onGenerateImage: Mn,
|
|
873
|
-
onGenerateSvg:
|
|
874
|
-
onToggleTable:
|
|
875
|
-
onToggleAnnotator:
|
|
873
|
+
onGenerateSvg: kn,
|
|
874
|
+
onToggleTable: Sn,
|
|
875
|
+
onToggleAnnotator: bn,
|
|
876
876
|
onCopyAlt: Nn,
|
|
877
|
-
style: b({ visibility: E(
|
|
877
|
+
style: b({ visibility: E(Vt) ? E(zt) ? "visible" : "hidden" : "visible" })
|
|
878
878
|
}, Oe({ _: 2 }, [
|
|
879
879
|
e.$slots.menuIcon ? {
|
|
880
880
|
name: "menuIcon",
|
|
@@ -968,242 +968,242 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
968
968
|
])) : m("", !0),
|
|
969
969
|
g("div", We, [(x(), h("svg", {
|
|
970
970
|
ref_key: "svgRef",
|
|
971
|
-
ref:
|
|
971
|
+
ref: L,
|
|
972
972
|
xmlns: E(se),
|
|
973
973
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
974
|
-
viewBox: `0 0 ${
|
|
974
|
+
viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.svgHeight <= 0 ? 10 : U.value.svgHeight}`,
|
|
975
975
|
class: Ne({
|
|
976
|
-
"vue-data-ui-loading": E(
|
|
977
|
-
"no-transition": !
|
|
978
|
-
"with-transition":
|
|
976
|
+
"vue-data-ui-loading": E(Ft),
|
|
977
|
+
"no-transition": !F.value.useCssAnimation,
|
|
978
|
+
"with-transition": F.value.useCssAnimation
|
|
979
979
|
}),
|
|
980
|
-
style: b(`max-width:100%;overflow:visible;background:transparent;color:${
|
|
980
|
+
style: b(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
|
|
981
981
|
role: "img",
|
|
982
982
|
"aria-live": "polite",
|
|
983
983
|
preserveAspectRatio: "xMidYMid",
|
|
984
984
|
tabindex: "0",
|
|
985
|
-
onFocus:
|
|
986
|
-
onBlur:
|
|
987
|
-
onKeydown:
|
|
985
|
+
onFocus: hn,
|
|
986
|
+
onBlur: gn,
|
|
987
|
+
onKeydown: yn
|
|
988
988
|
}, [
|
|
989
989
|
Ae(E(pt)),
|
|
990
990
|
e.$slots["chart-background"] ? (x(), h("foreignObject", {
|
|
991
991
|
key: 0,
|
|
992
|
-
x:
|
|
993
|
-
y:
|
|
994
|
-
width:
|
|
995
|
-
height:
|
|
992
|
+
x: U.value.left,
|
|
993
|
+
y: U.value.top,
|
|
994
|
+
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
995
|
+
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
996
996
|
style: { pointerEvents: "none" }
|
|
997
997
|
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) : m("", !0),
|
|
998
|
-
(x(!0), h(d, null, C(
|
|
998
|
+
(x(!0), h(d, null, C(W.value, (e) => (x(), h(d, null, [g("path", {
|
|
999
999
|
class: "transition-opacity",
|
|
1000
1000
|
d: `M${e.path}`,
|
|
1001
|
-
stroke:
|
|
1002
|
-
"stroke-width":
|
|
1001
|
+
stroke: F.value.style.chart.layout.lines.coatingColor,
|
|
1002
|
+
"stroke-width": F.value.style.chart.layout.lines.strokeWidth + 2,
|
|
1003
1003
|
"stroke-linecap": "round",
|
|
1004
1004
|
"stroke-linejoin": "round",
|
|
1005
1005
|
fill: "none",
|
|
1006
|
-
style: b({ opacity:
|
|
1007
|
-
onMouseenter: (t) =>
|
|
1008
|
-
onMouseleave: n[0] ||= (e) =>
|
|
1006
|
+
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1007
|
+
onMouseenter: (t) => N.value = e.id,
|
|
1008
|
+
onMouseleave: n[0] ||= (e) => N.value = null
|
|
1009
1009
|
}, null, 44, qe), g("path", {
|
|
1010
1010
|
class: "transition-opacity",
|
|
1011
1011
|
d: `M${e.path}`,
|
|
1012
1012
|
stroke: e.color,
|
|
1013
|
-
"stroke-width":
|
|
1013
|
+
"stroke-width": F.value.style.chart.layout.lines.strokeWidth,
|
|
1014
1014
|
"stroke-linecap": "round",
|
|
1015
1015
|
"stroke-linejoin": "round",
|
|
1016
1016
|
fill: "none",
|
|
1017
|
-
style: b({ opacity:
|
|
1018
|
-
onMouseenter: (t) =>
|
|
1019
|
-
onMouseleave: (t) =>
|
|
1020
|
-
onClick: (t) =>
|
|
1017
|
+
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1018
|
+
onMouseenter: (t) => Q(e, e),
|
|
1019
|
+
onMouseleave: (t) => $(e, e),
|
|
1020
|
+
onClick: (t) => jn(e, e)
|
|
1021
1021
|
}, null, 44, Je)], 64))), 256)),
|
|
1022
|
-
(x(!0), h(d, null, C(
|
|
1023
|
-
|
|
1022
|
+
(x(!0), h(d, null, C(W.value, (t) => (x(), h(d, null, [
|
|
1023
|
+
F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (x(!0), h(d, { key: 0 }, C(t.coordinates, (e, n) => (x(), h("circle", {
|
|
1024
1024
|
class: "transition-opacity",
|
|
1025
1025
|
cx: e.x,
|
|
1026
1026
|
cy: e.y,
|
|
1027
|
-
r:
|
|
1027
|
+
r: F.value.style.chart.layout.plots.radius,
|
|
1028
1028
|
fill: t.color,
|
|
1029
|
-
stroke:
|
|
1030
|
-
"stroke-width":
|
|
1031
|
-
style: b({ opacity:
|
|
1032
|
-
onMouseenter: (r) =>
|
|
1029
|
+
stroke: F.value.style.chart.layout.plots.stroke,
|
|
1030
|
+
"stroke-width": F.value.style.chart.layout.plots.strokeWidth,
|
|
1031
|
+
style: b({ opacity: N.value == null || N.value === t.id ? 1 : .1 }),
|
|
1032
|
+
onMouseenter: (r) => Q({
|
|
1033
1033
|
...e,
|
|
1034
1034
|
pointIndex: n
|
|
1035
1035
|
}, t),
|
|
1036
|
-
onMouseleave: (r) =>
|
|
1036
|
+
onMouseleave: (r) => $({
|
|
1037
1037
|
...e,
|
|
1038
1038
|
pointIndex: n
|
|
1039
1039
|
}, t),
|
|
1040
|
-
onClick: (r) =>
|
|
1040
|
+
onClick: (r) => Q({
|
|
1041
1041
|
...e,
|
|
1042
1042
|
pointIndex: n
|
|
1043
1043
|
}, t)
|
|
1044
1044
|
}, null, 44, Ye))), 256)) : m("", !0),
|
|
1045
|
-
|
|
1045
|
+
F.value.style.chart.layout.plots.labels.show && F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (x(!0), h(d, { key: 1 }, C(t.coordinates, (e) => (x(), h("text", {
|
|
1046
1046
|
class: "transition-opacity",
|
|
1047
1047
|
x: e.x,
|
|
1048
|
-
y: e.y +
|
|
1048
|
+
y: e.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
|
|
1049
1049
|
fill: e.labelColor,
|
|
1050
|
-
"font-size":
|
|
1050
|
+
"font-size": F.value.style.chart.layout.plots.labels.fontSize,
|
|
1051
1051
|
"text-anchor": "middle",
|
|
1052
1052
|
style: b({
|
|
1053
1053
|
userSelect: "none",
|
|
1054
1054
|
pointerEvents: "none",
|
|
1055
|
-
opacity:
|
|
1055
|
+
opacity: N.value == null || N.value === t.id ? 1 : .1
|
|
1056
1056
|
})
|
|
1057
1057
|
}, T(e.rank), 13, Xe))), 256)) : m("", !0),
|
|
1058
|
-
|
|
1058
|
+
F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (x(!0), h(d, { key: 2 }, C(t.coordinates, (n) => (x(), h(d, null, [E(u)(n.value) ? (x(), h("rect", je({
|
|
1059
1059
|
key: 0,
|
|
1060
1060
|
class: "transition-opacity"
|
|
1061
|
-
}, { ref_for: !0 },
|
|
1062
|
-
style: { opacity:
|
|
1063
|
-
onMouseenter: (n) =>
|
|
1061
|
+
}, { ref_for: !0 }, ln(n), {
|
|
1062
|
+
style: { opacity: N.value == null || N.value === t.id ? 1 : .1 },
|
|
1063
|
+
onMouseenter: (n) => Q({
|
|
1064
1064
|
...e.point,
|
|
1065
1065
|
pointIndex: e.i
|
|
1066
1066
|
}, t),
|
|
1067
|
-
onMouseleave: (n) =>
|
|
1067
|
+
onMouseleave: (n) => $({
|
|
1068
1068
|
...e.point,
|
|
1069
1069
|
pointIndex: e.i
|
|
1070
1070
|
}, t),
|
|
1071
|
-
onClick: (n) =>
|
|
1071
|
+
onClick: (n) => Q({
|
|
1072
1072
|
...e.point,
|
|
1073
1073
|
pointIndex: e.i
|
|
1074
1074
|
}, t)
|
|
1075
|
-
}), null, 16, Ze)) : m("", !0), E(u)(n.value) &&
|
|
1075
|
+
}), null, 16, Ze)) : m("", !0), E(u)(n.value) && F.value.style.chart.layout.plots.labels.show ? (x(), h("text", {
|
|
1076
1076
|
key: 1,
|
|
1077
1077
|
class: "transition-opacity",
|
|
1078
1078
|
x: n.x,
|
|
1079
|
-
y: n.y +
|
|
1079
|
+
y: n.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
|
|
1080
1080
|
fill: n.labelColor,
|
|
1081
|
-
"font-size":
|
|
1081
|
+
"font-size": F.value.style.chart.layout.plots.labels.fontSize,
|
|
1082
1082
|
"text-anchor": "middle",
|
|
1083
1083
|
style: b({
|
|
1084
1084
|
userSelect: "none",
|
|
1085
1085
|
pointerEvents: "none",
|
|
1086
|
-
opacity:
|
|
1086
|
+
opacity: N.value == null || N.value === t.id ? 1 : .1
|
|
1087
1087
|
})
|
|
1088
1088
|
}, T(n.displayValue), 13, Qe)) : m("", !0)], 64))), 256)) : m("", !0)
|
|
1089
1089
|
], 64))), 256)),
|
|
1090
|
-
|
|
1090
|
+
F.value.style.chart.layout.nameLabels.leftLabels.show ? (x(), h("g", {
|
|
1091
1091
|
key: 1,
|
|
1092
1092
|
ref_key: "labelsLeft",
|
|
1093
|
-
ref:
|
|
1094
|
-
}, [(x(!0), h(d, null, C(
|
|
1093
|
+
ref: At
|
|
1094
|
+
}, [(x(!0), h(d, null, C(cn.value.left.filter((e) => E(u)(e.value)), (e, n) => (x(), h("text", {
|
|
1095
1095
|
class: "transition-opacity",
|
|
1096
|
-
x:
|
|
1097
|
-
y: e.y +
|
|
1098
|
-
fill:
|
|
1099
|
-
"font-size":
|
|
1100
|
-
"font--weight":
|
|
1096
|
+
x: U.value.left,
|
|
1097
|
+
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1098
|
+
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
1099
|
+
"font-size": F.value.style.chart.layout.nameLabels.fontSize,
|
|
1100
|
+
"font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1101
1101
|
"text-anchor": "end",
|
|
1102
1102
|
innerHTML: E(t)({
|
|
1103
1103
|
content: e.name,
|
|
1104
|
-
fontSize:
|
|
1105
|
-
fill:
|
|
1106
|
-
x:
|
|
1107
|
-
y: e.y +
|
|
1104
|
+
fontSize: F.value.style.chart.layout.nameLabels.fontSize,
|
|
1105
|
+
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
1106
|
+
x: U.value.left - F.value.style.chart.layout.nameLabels.offsetX,
|
|
1107
|
+
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1108
1108
|
translateY: !0
|
|
1109
1109
|
}),
|
|
1110
|
-
style: b({ opacity:
|
|
1111
|
-
onMouseenter: (t) =>
|
|
1112
|
-
onMouseleave: (t) =>
|
|
1113
|
-
onClick: (t) =>
|
|
1110
|
+
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1111
|
+
onMouseenter: (t) => Q(e, e),
|
|
1112
|
+
onMouseleave: (t) => $(e, e),
|
|
1113
|
+
onClick: (t) => jn(e, e)
|
|
1114
1114
|
}, null, 44, $e))), 256))], 512)) : m("", !0),
|
|
1115
|
-
|
|
1115
|
+
F.value.style.chart.layout.nameLabels.rightLabels.show ? (x(), h("g", {
|
|
1116
1116
|
key: 2,
|
|
1117
1117
|
ref_key: "labelsRight",
|
|
1118
|
-
ref:
|
|
1119
|
-
}, [(x(!0), h(d, null, C(
|
|
1118
|
+
ref: jt
|
|
1119
|
+
}, [(x(!0), h(d, null, C(cn.value.right.filter((e) => E(u)(e.value)), (e, n) => (x(), h("text", {
|
|
1120
1120
|
class: "transition-opacity",
|
|
1121
|
-
x:
|
|
1122
|
-
y: e.y +
|
|
1123
|
-
fill:
|
|
1124
|
-
"font-size":
|
|
1125
|
-
"font--weight":
|
|
1121
|
+
x: U.value.right,
|
|
1122
|
+
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1123
|
+
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
1124
|
+
"font-size": F.value.style.chart.layout.nameLabels.fontSize,
|
|
1125
|
+
"font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1126
1126
|
"text-anchor": "start",
|
|
1127
1127
|
innerHTML: E(t)({
|
|
1128
1128
|
content: e.name,
|
|
1129
|
-
fontSize:
|
|
1130
|
-
fill:
|
|
1131
|
-
x:
|
|
1132
|
-
y: e.y +
|
|
1129
|
+
fontSize: F.value.style.chart.layout.nameLabels.fontSize,
|
|
1130
|
+
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
1131
|
+
x: U.value.right + F.value.style.chart.layout.nameLabels.offsetX,
|
|
1132
|
+
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1133
1133
|
translateY: !0
|
|
1134
1134
|
}),
|
|
1135
|
-
style: b({ opacity:
|
|
1136
|
-
onMouseenter: (t) =>
|
|
1137
|
-
onMouseleave: (t) =>
|
|
1138
|
-
onClick: (t) =>
|
|
1135
|
+
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1136
|
+
onMouseenter: (t) => Q(e, e),
|
|
1137
|
+
onMouseleave: (t) => $(e, e),
|
|
1138
|
+
onClick: (t) => jn(e, e)
|
|
1139
1139
|
}, null, 44, et))), 256))], 512)) : m("", !0),
|
|
1140
|
-
|
|
1140
|
+
F.value.style.chart.layout.timeLabels.show ? (x(), h("g", {
|
|
1141
1141
|
key: 3,
|
|
1142
1142
|
ref_key: "timeLabelsEls",
|
|
1143
|
-
ref:
|
|
1144
|
-
}, [e.$slots["time-label"] ? (x(), h("g", tt, [(x(!0), h(d, null, C(
|
|
1145
|
-
x:
|
|
1146
|
-
y:
|
|
1147
|
-
fontSize:
|
|
1148
|
-
fill:
|
|
1149
|
-
transform: `translate(${
|
|
1143
|
+
ref: Mt
|
|
1144
|
+
}, [e.$slots["time-label"] ? (x(), h("g", tt, [(x(!0), h(d, null, C(K.value, (t, n) => (x(), h("g", null, [w(e.$slots, "time-label", je({ ref_for: !0 }, {
|
|
1145
|
+
x: U.value.unitW * n + U.value.unitW / 2 + U.value.left,
|
|
1146
|
+
y: U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY,
|
|
1147
|
+
fontSize: F.value.style.chart.layout.timeLabels.fontSize,
|
|
1148
|
+
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1149
|
+
transform: `translate(${U.value.unitW * n + 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})`,
|
|
1150
1150
|
absoluteIndex: t.absoluteIndex,
|
|
1151
1151
|
content: t.text,
|
|
1152
|
-
textAnchor:
|
|
1152
|
+
textAnchor: F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1153
1153
|
show: !0
|
|
1154
|
-
}), void 0, !0)]))), 256))])) : (x(), h("g", nt, [(x(!0), h(d, null, C(
|
|
1154
|
+
}), void 0, !0)]))), 256))])) : (x(), h("g", nt, [(x(!0), h(d, null, C(K.value, (e, n) => (x(), h("g", null, [String(e.text).includes("\n") ? (x(), h("text", {
|
|
1155
1155
|
key: n + "-multi",
|
|
1156
|
-
"text-anchor":
|
|
1157
|
-
"font-size":
|
|
1158
|
-
fill:
|
|
1156
|
+
"text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1157
|
+
"font-size": F.value.style.chart.layout.timeLabels.fontSize,
|
|
1158
|
+
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1159
1159
|
transform: `
|
|
1160
1160
|
translate(
|
|
1161
|
-
${
|
|
1162
|
-
${
|
|
1161
|
+
${U.value.unitW * n + U.value.unitW / 2 + U.value.left},
|
|
1162
|
+
${U.value.chartHeight + F.value.style.chart.layout.timeLabels.fontSize * 1.3 + F.value.style.chart.layout.timeLabels.offsetY}
|
|
1163
1163
|
),
|
|
1164
|
-
rotate(${
|
|
1164
|
+
rotate(${F.value.style.chart.layout.timeLabels.rotation})
|
|
1165
1165
|
`,
|
|
1166
1166
|
innerHTML: E(t)({
|
|
1167
1167
|
content: String(e.text),
|
|
1168
|
-
fontSize:
|
|
1169
|
-
fill:
|
|
1168
|
+
fontSize: F.value.style.chart.layout.timeLabels.fontSize,
|
|
1169
|
+
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1170
1170
|
x: 0,
|
|
1171
1171
|
y: 0
|
|
1172
1172
|
})
|
|
1173
1173
|
}, null, 8, it)) : (x(), h("text", {
|
|
1174
1174
|
class: "vue-data-ui-time-label",
|
|
1175
1175
|
key: n,
|
|
1176
|
-
"text-anchor":
|
|
1177
|
-
"font-size":
|
|
1178
|
-
"font-weight":
|
|
1179
|
-
fill:
|
|
1180
|
-
transform: `translate(${
|
|
1176
|
+
"text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1177
|
+
"font-size": F.value.style.chart.layout.timeLabels.fontSize,
|
|
1178
|
+
"font-weight": F.value.style.chart.layout.timeLabels.bold ? "bold" : "normal",
|
|
1179
|
+
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1180
|
+
transform: `translate(${U.value.unitW * n + 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})`
|
|
1181
1181
|
}, T(e.text), 9, rt))]))), 256))]))], 512)) : m("", !0),
|
|
1182
1182
|
w(e.$slots, "svg", { svg: {
|
|
1183
|
-
drawingArea:
|
|
1184
|
-
data:
|
|
1185
|
-
isPrintingImg: E(
|
|
1186
|
-
isPrintingSvg:
|
|
1183
|
+
drawingArea: U.value,
|
|
1184
|
+
data: W.value,
|
|
1185
|
+
isPrintingImg: E(Wt) || E(Gt) || kt.value,
|
|
1186
|
+
isPrintingSvg: M.value
|
|
1187
1187
|
} }, void 0, !0)
|
|
1188
1188
|
], 46, Ge)), e.$slots.hint ? (x(), h("div", at, [w(e.$slots, "hint", y(v({
|
|
1189
|
-
hint:
|
|
1190
|
-
isVisible:
|
|
1189
|
+
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1190
|
+
isVisible: Nt.value
|
|
1191
1191
|
})), void 0, !0)])) : m("", !0)]),
|
|
1192
|
-
e.$slots.watermark ? (x(), h("div", ot, [w(e.$slots, "watermark", y(v({ isPrinting: E(
|
|
1193
|
-
vt.value &&
|
|
1192
|
+
e.$slots.watermark ? (x(), h("div", ot, [w(e.$slots, "watermark", y(v({ isPrinting: E(Wt) || E(Gt) || kt.value || M.value })), void 0, !0)])) : m("", !0),
|
|
1193
|
+
vt.value && F.value.userOptions.buttons.table ? (x(), p(Ie(X.value.component), je({ key: 6 }, X.value.props, {
|
|
1194
1194
|
ref_key: "tableUnit",
|
|
1195
1195
|
ref: j,
|
|
1196
|
-
onClose:
|
|
1196
|
+
onClose: Cn
|
|
1197
1197
|
}), Oe({
|
|
1198
1198
|
content: D(() => [Ae(E(ut), {
|
|
1199
|
-
colNames:
|
|
1200
|
-
head:
|
|
1201
|
-
body:
|
|
1202
|
-
config:
|
|
1203
|
-
title:
|
|
1204
|
-
withCloseButton: !
|
|
1205
|
-
isCursorPointer:
|
|
1206
|
-
onClose:
|
|
1199
|
+
colNames: Z.value.colNames,
|
|
1200
|
+
head: Z.value.head,
|
|
1201
|
+
body: Z.value.body,
|
|
1202
|
+
config: Z.value.config,
|
|
1203
|
+
title: F.value.table.useDialog ? "" : X.value.title,
|
|
1204
|
+
withCloseButton: !F.value.table.useDialog,
|
|
1205
|
+
isCursorPointer: I.value,
|
|
1206
|
+
onClose: Cn
|
|
1207
1207
|
}, {
|
|
1208
1208
|
th: D(({ th: e }) => [g("div", { innerHTML: e }, null, 8, st)]),
|
|
1209
1209
|
td: D(({ td: e }) => [ke(T(e), 1)]),
|
|
@@ -1218,20 +1218,20 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1218
1218
|
"isCursorPointer"
|
|
1219
1219
|
])]),
|
|
1220
1220
|
_: 2
|
|
1221
|
-
}, [
|
|
1221
|
+
}, [F.value.table.useDialog ? {
|
|
1222
1222
|
name: "title",
|
|
1223
|
-
fn: D(() => [ke(T(
|
|
1223
|
+
fn: D(() => [ke(T(X.value.title), 1)]),
|
|
1224
1224
|
key: "0"
|
|
1225
|
-
} : void 0,
|
|
1225
|
+
} : void 0, F.value.table.useDialog ? {
|
|
1226
1226
|
name: "actions",
|
|
1227
1227
|
fn: D(() => [g("button", {
|
|
1228
1228
|
tabindex: "0",
|
|
1229
1229
|
class: "vue-ui-user-options-button",
|
|
1230
|
-
onClick: n[1] ||= (e) =>
|
|
1231
|
-
style: b({ cursor:
|
|
1230
|
+
onClick: n[1] ||= (e) => Tn(F.value.userOptions.callbacks.csv),
|
|
1231
|
+
style: b({ cursor: I.value ? "pointer" : "default" })
|
|
1232
1232
|
}, [Ae(E(ct), {
|
|
1233
1233
|
name: "fileCsv",
|
|
1234
|
-
stroke:
|
|
1234
|
+
stroke: X.value.props.color
|
|
1235
1235
|
}, null, 8, ["stroke"])], 4)]),
|
|
1236
1236
|
key: "1"
|
|
1237
1237
|
} : void 0]), 1040)) : m("", !0),
|
|
@@ -1241,7 +1241,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1241
1241
|
ref: St,
|
|
1242
1242
|
dir: "auto"
|
|
1243
1243
|
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1244
|
-
w(e.$slots, "skeleton", {}, () => [E(
|
|
1244
|
+
w(e.$slots, "skeleton", {}, () => [E(Ft) ? (x(), p(me, { key: 0 })) : m("", !0)], !0)
|
|
1245
1245
|
], 46, He));
|
|
1246
1246
|
}
|
|
1247
1247
|
}, [["__scopeId", "data-v-893ac120"]]);
|