vue-data-ui 3.23.0 → 3.23.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-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.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 +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/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.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 +9 -0
- package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
- package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
- package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
- package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
- package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
- package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
- package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
- package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
- package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
- package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
- package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
- package/dist/vue-ui-gauge-CJstpakj.js +932 -0
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
- package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
- package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
- package/dist/vue-ui-molecule-paWHp18h.js +935 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
- package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
- package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
- package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
- package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
- package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
- package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
- package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
- package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
- package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
- package/dist/vue-ui-wheel-DrefGLos.js +871 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
- package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
- package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
- package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
- package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
- package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
- package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
- package/dist/vue-ui-funnel-CjYosIik.js +0 -797
- package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
- package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
- package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,559 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Jt as t, Vt as n, X as r, b as i, i as a, jt as o, q as s, t as c, tt as l } from "./lib-BuMGJ_a0.js";
|
|
3
|
-
import { n as ee, t as te } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ne } from "./useConfig-BilxnBNr.js";
|
|
5
|
-
import { t as re } from "./usePrinter-BFvi4jVy.js";
|
|
6
|
-
import { n as ie, t as ae } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as oe } from "./useSvgExport-Ba9qBr9M.js";
|
|
8
|
-
import { t as u } from "./useNestedProp--NSEmhOH.js";
|
|
9
|
-
import { t as se } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
-
import { t as ce } from "./img-DIQG5q8T.js";
|
|
11
|
-
import { n as le } from "./Title-BODtwViI.js";
|
|
12
|
-
import { t as ue } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
-
import { l as de, t as fe } from "./useResponsive-ZtArZtUf.js";
|
|
14
|
-
import { t as pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
-
import { t as me } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
-
import { t as he } from "./usePrefersMotion-BC-CsqR1.js";
|
|
17
|
-
import { t as ge } from "./vue_ui_tiremarks-CdEPieWV.js";
|
|
18
|
-
import { Fragment as _e, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as ve, createSlots as ye, createVNode as be, defineAsyncComponent as h, guardReactiveProps as g, nextTick as xe, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as Se, openBlock as b, ref as x, renderList as Ce, renderSlot as S, toDisplayString as C, toRefs as we, unref as w, watch as Te, withCtx as T } from "vue";
|
|
19
|
-
//#region src/components/vue-ui-tiremarks.vue
|
|
20
|
-
var Ee = /* @__PURE__ */ e({ default: () => E }), De = ["id"], Oe = [
|
|
21
|
-
"xmlns",
|
|
22
|
-
"viewBox",
|
|
23
|
-
"aria-labelledby",
|
|
24
|
-
"aria-describedby"
|
|
25
|
-
], ke = ["id"], Ae = ["id"], je = ["width", "height"], Me = { key: 1 }, Ne = [
|
|
26
|
-
"d",
|
|
27
|
-
"stroke-width",
|
|
28
|
-
"stroke"
|
|
29
|
-
], Pe = { key: 2 }, Fe = [
|
|
30
|
-
"x1",
|
|
31
|
-
"y1",
|
|
32
|
-
"x2",
|
|
33
|
-
"y2",
|
|
34
|
-
"stroke-width",
|
|
35
|
-
"stroke"
|
|
36
|
-
], Ie = ["aria-label"], Le = [
|
|
37
|
-
"x",
|
|
38
|
-
"y",
|
|
39
|
-
"height"
|
|
40
|
-
], Re = [
|
|
41
|
-
"x",
|
|
42
|
-
"y",
|
|
43
|
-
"font-size",
|
|
44
|
-
"fill",
|
|
45
|
-
"font-weight",
|
|
46
|
-
"text-anchor"
|
|
47
|
-
], ze = {
|
|
48
|
-
key: 4,
|
|
49
|
-
class: "vue-data-ui-watermark"
|
|
50
|
-
}, E = /*#__PURE__*/ ue({
|
|
51
|
-
__name: "vue-ui-tiremarks",
|
|
52
|
-
props: {
|
|
53
|
-
config: {
|
|
54
|
-
type: Object,
|
|
55
|
-
default() {
|
|
56
|
-
return {};
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
dataset: {
|
|
60
|
-
type: Object,
|
|
61
|
-
default() {
|
|
62
|
-
return {};
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
emits: ["copyAlt"],
|
|
67
|
-
setup(e, { expose: ue, emit: Ee }) {
|
|
68
|
-
let E = h(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), Be = h(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Ve = h(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), { vue_ui_tiremarks: He } = ne(), { isThemeValid: Ue, warnInvalidTheme: We } = se(), D = he(), O = e, Ge = Ee, Ke = d(() => !!O.dataset && Object.keys(O.dataset).length), k = x(s()), A = x(null), qe = x(null), Je = x(null), Ye = x(null), Xe = x(0), Ze = x(0), j = x(null), M = x(null), N = x(!1), P = x(!1), F = x(B());
|
|
69
|
-
ee({
|
|
70
|
-
config: () => F.value,
|
|
71
|
-
dataset: () => O.dataset,
|
|
72
|
-
component: "VueUiTiremarks",
|
|
73
|
-
rules: [te.noHint]
|
|
74
|
-
});
|
|
75
|
-
let Qe = d(() => F.value.userOptions.useCursorPointer), $e = d(() => t({
|
|
76
|
-
defaultConfig: {
|
|
77
|
-
userOptions: { show: !1 },
|
|
78
|
-
style: { chart: {
|
|
79
|
-
backgroundColor: "#99999930",
|
|
80
|
-
animation: { use: !1 },
|
|
81
|
-
layout: {
|
|
82
|
-
activeColor: "#6A6A6A80",
|
|
83
|
-
inactiveColor: "#CACACA80",
|
|
84
|
-
ticks: { gradient: { show: !1 } }
|
|
85
|
-
}
|
|
86
|
-
} }
|
|
87
|
-
},
|
|
88
|
-
userConfig: F.value.skeletonConfig ?? {}
|
|
89
|
-
})), { loading: I, FINAL_DATASET: L } = ie({
|
|
90
|
-
...we(O),
|
|
91
|
-
FINAL_CONFIG: F,
|
|
92
|
-
prepareConfig: B,
|
|
93
|
-
skeletonDataset: O.config?.skeletonDataset ?? { percentage: 50 },
|
|
94
|
-
skeletonConfig: t({
|
|
95
|
-
defaultConfig: F.value,
|
|
96
|
-
userConfig: $e.value
|
|
97
|
-
})
|
|
98
|
-
}), { userOptionsVisible: R, setUserOptionsVisibility: et, keepUserOptionState: tt } = pe({ config: F.value }), { svgRef: z } = me({ config: F.value.style.chart.title });
|
|
99
|
-
function B() {
|
|
100
|
-
let e = u({
|
|
101
|
-
userConfig: O.config,
|
|
102
|
-
defaultConfig: He
|
|
103
|
-
}), t = e.theme;
|
|
104
|
-
if (!t) return e;
|
|
105
|
-
if (!Ue.value(e)) return We(e), e;
|
|
106
|
-
let n = u({
|
|
107
|
-
userConfig: ge[t] || O.config,
|
|
108
|
-
defaultConfig: e
|
|
109
|
-
});
|
|
110
|
-
return u({
|
|
111
|
-
userConfig: O.config,
|
|
112
|
-
defaultConfig: n
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
Te(() => O.config, (e) => {
|
|
116
|
-
F.value = B(), R.value = !F.value.userOptions.showOnChartHover, q.value = F.value.style.chart.width, J.value = F.value.style.chart.height, st(), Ze.value += 1;
|
|
117
|
-
}, { deep: !0 });
|
|
118
|
-
let { isPrinting: V, isImaging: H, generatePdf: nt, generateImage: rt } = re({
|
|
119
|
-
elementId: k.value,
|
|
120
|
-
fileName: F.value.style.chart.title.text || "vue-ui-tiremarks",
|
|
121
|
-
options: F.value.userOptions.print
|
|
122
|
-
}), it = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), U = x(F.value.style.chart.animation.use && !D.value ? 0 : i(L.value.percentage));
|
|
123
|
-
Te(() => L.value, (e) => {
|
|
124
|
-
F.value.style.chart.animation.use && !D.value ? at(e.percentage) : U.value = e.percentage || 0;
|
|
125
|
-
}, { deep: !0 }), Se(() => {
|
|
126
|
-
st();
|
|
127
|
-
});
|
|
128
|
-
function at(e) {
|
|
129
|
-
let t = F.value.style.chart.animation.speed, n = Math.abs(e - U.value) / (t * 120);
|
|
130
|
-
function r() {
|
|
131
|
-
U.value < e ? U.value = Math.min(U.value + n, e) : U.value > e && (U.value = Math.max(U.value - n, e)), U.value !== e && requestAnimationFrame(r);
|
|
132
|
-
}
|
|
133
|
-
r();
|
|
134
|
-
}
|
|
135
|
-
let ot = d(() => !!F.value.debug);
|
|
136
|
-
function st() {
|
|
137
|
-
if (o(O.dataset) && l({
|
|
138
|
-
componentName: "VueUiTiremarks",
|
|
139
|
-
type: "dataset",
|
|
140
|
-
debug: ot.value
|
|
141
|
-
}), F.value.responsive) {
|
|
142
|
-
let e = de(() => {
|
|
143
|
-
let { width: e, height: t } = fe({
|
|
144
|
-
chart: A.value,
|
|
145
|
-
title: F.value.style.chart.title.text ? Je.value : null,
|
|
146
|
-
source: Ye.value
|
|
147
|
-
});
|
|
148
|
-
requestAnimationFrame(() => {
|
|
149
|
-
q.value = Math.max(.1, e), J.value = Math.max(.1, t - 12);
|
|
150
|
-
});
|
|
151
|
-
});
|
|
152
|
-
j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect()), j.value = new ResizeObserver(e), M.value = A.value.parentNode, j.value.observe(M.value);
|
|
153
|
-
}
|
|
154
|
-
at(L.value.percentage || 0);
|
|
155
|
-
}
|
|
156
|
-
let W = d(() => F.value.style.chart.layout.display === "vertical"), G = d(() => {
|
|
157
|
-
let e = F.value.style.chart.percentage.show, t = {
|
|
158
|
-
top: e ? 48 : 12,
|
|
159
|
-
left: e ? 64 : 16,
|
|
160
|
-
right: e ? 64 : 16,
|
|
161
|
-
bottom: e ? 48 : 12
|
|
162
|
-
};
|
|
163
|
-
return W.value ? {
|
|
164
|
-
top: F.value.style.chart.percentage.verticalPosition === "top" ? t.top : 3,
|
|
165
|
-
left: 3,
|
|
166
|
-
right: 3,
|
|
167
|
-
bottom: F.value.style.chart.percentage.verticalPosition === "bottom" ? t.bottom : 3
|
|
168
|
-
} : {
|
|
169
|
-
top: 0,
|
|
170
|
-
bottom: 0,
|
|
171
|
-
left: F.value.style.chart.percentage.horizontalPosition === "left" ? t.left : 16,
|
|
172
|
-
right: F.value.style.chart.percentage.horizontalPosition === "right" ? t.right : 10
|
|
173
|
-
};
|
|
174
|
-
}), K = d(() => Object.values(G.value).reduce((e, t) => e + t, 0)), q = x(F.value.style.chart.width), J = x(F.value.style.chart.height), Y = d(() => ({
|
|
175
|
-
height: J.value,
|
|
176
|
-
width: q.value
|
|
177
|
-
})), ct = d(() => ({
|
|
178
|
-
horizontal: {
|
|
179
|
-
x: Z.value.x + (F.value.style.chart.percentage.horizontalPosition === "left" ? 6 : 3),
|
|
180
|
-
y: Y.value.height / 2 - Z.value.fontSize / 2
|
|
181
|
-
},
|
|
182
|
-
vertical: {
|
|
183
|
-
x: Y.value.width / 2 - 20,
|
|
184
|
-
y: Z.value.y - Z.value.fontSize / 2
|
|
185
|
-
}
|
|
186
|
-
})[F.value.style.chart.layout.display]), X = d(() => W.value ? {
|
|
187
|
-
mark: (Y.value.height - K.value) / 100 * .5,
|
|
188
|
-
space: (Y.value.height - K.value) / 100 * .5
|
|
189
|
-
} : {
|
|
190
|
-
mark: (Y.value.width - K.value) / 100 * .5,
|
|
191
|
-
space: (Y.value.width - K.value) / 100 * .5
|
|
192
|
-
}), lt = d(() => {
|
|
193
|
-
let e = [];
|
|
194
|
-
for (let t = 0; t < 100; t += 1) {
|
|
195
|
-
let r = F.value.style.chart.layout.ticks.gradient.show ? n(F.value.style.chart.layout.activeColor, t / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.layout.activeColor;
|
|
196
|
-
if (W.value) {
|
|
197
|
-
let n = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.width - G.value.left - G.value.right) / 100 / 3 : 0, i = G.value.left + 4 + n, a = Y.value.width - G.value.right - 4 - n, o = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, s = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, c = (a - i) / F.value.style.chart.layout.curveAngleX, l = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100);
|
|
198
|
-
e.push({
|
|
199
|
-
x1: i,
|
|
200
|
-
x2: a,
|
|
201
|
-
y1: o,
|
|
202
|
-
y2: s,
|
|
203
|
-
curve: `M ${i} ${o} C ${i + c} ${o - l}, ${a - c} ${s - l}, ${a} ${s}`,
|
|
204
|
-
color: r
|
|
205
|
-
});
|
|
206
|
-
} else {
|
|
207
|
-
let n = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.height - G.value.top - G.value.bottom) / 100 / 3 : 0, i = G.value.left + t * X.value.mark + t * X.value.space - X.value.mark, a = i, o = G.value.top + 4 + n, s = Y.value.height - G.value.bottom - 4 - n, c = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100), l = (s - o) / F.value.style.chart.layout.curveAngleX;
|
|
208
|
-
e.push({
|
|
209
|
-
x1: i,
|
|
210
|
-
x2: a,
|
|
211
|
-
y1: o,
|
|
212
|
-
y2: s,
|
|
213
|
-
curve: `M ${i} ${o} C ${i + c} ${o + l}, ${a + c} ${s - l}, ${a} ${s}`,
|
|
214
|
-
color: r
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
return e;
|
|
219
|
-
}), Z = d(() => {
|
|
220
|
-
let e, t, n, r = F.value.style.chart.percentage.fontSize / 3;
|
|
221
|
-
return W.value ? F.value.style.chart.percentage.verticalPosition === "top" ? (e = Y.value.width / 2, t = G.value.top / 2, n = "middle") : F.value.style.chart.percentage.verticalPosition === "bottom" && (e = Y.value.width / 2, t = Y.value.height - G.value.bottom / 2 + r, n = "middle") : F.value.style.chart.percentage.horizontalPosition === "left" ? (e = 4, t = Y.value.height / 2 + r, n = "start") : F.value.style.chart.percentage.horizontalPosition === "right" && (e = Y.value.width - G.value.right + 8, t = Y.value.height / 2 + r, n = "start"), {
|
|
222
|
-
x: e,
|
|
223
|
-
y: t,
|
|
224
|
-
textAnchor: n,
|
|
225
|
-
bold: F.value.style.chart.percentage.bold,
|
|
226
|
-
fontSize: F.value.style.chart.percentage.fontSize,
|
|
227
|
-
fill: F.value.style.chart.percentage.color
|
|
228
|
-
};
|
|
229
|
-
}), Q = x(!1);
|
|
230
|
-
function ut(e) {
|
|
231
|
-
Q.value = e, Xe.value += 1;
|
|
232
|
-
}
|
|
233
|
-
let $ = x(!1);
|
|
234
|
-
function dt() {
|
|
235
|
-
$.value = !$.value;
|
|
236
|
-
}
|
|
237
|
-
async function ft({ scale: e = 2 } = {}) {
|
|
238
|
-
if (!A.value) return;
|
|
239
|
-
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ce({
|
|
240
|
-
domElement: A.value,
|
|
241
|
-
base64: !0,
|
|
242
|
-
img: !0,
|
|
243
|
-
scale: e
|
|
244
|
-
});
|
|
245
|
-
return {
|
|
246
|
-
imageUri: i,
|
|
247
|
-
base64: a,
|
|
248
|
-
title: F.value.style.chart.title.text,
|
|
249
|
-
width: t,
|
|
250
|
-
height: n,
|
|
251
|
-
aspectRatio: r
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
let pt = d(() => F.value.style.chart.backgroundColor), { exportSvg: mt, getSvg: ht } = oe({
|
|
255
|
-
svg: z,
|
|
256
|
-
title: d(() => F.value.style.chart.title),
|
|
257
|
-
backgroundColor: pt
|
|
258
|
-
});
|
|
259
|
-
async function gt({ isCb: e }) {
|
|
260
|
-
P.value = !0, await xe();
|
|
261
|
-
try {
|
|
262
|
-
if (e) {
|
|
263
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await ht();
|
|
264
|
-
await Promise.resolve(F.value.userOptions.callbacks.svg({
|
|
265
|
-
blob: e,
|
|
266
|
-
url: t,
|
|
267
|
-
text: n,
|
|
268
|
-
dataUrl: r
|
|
269
|
-
}));
|
|
270
|
-
} else await Promise.resolve(mt());
|
|
271
|
-
} finally {
|
|
272
|
-
P.value = !1;
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
function _t(e) {
|
|
276
|
-
if (e?.stage === "start") {
|
|
277
|
-
N.value = !0;
|
|
278
|
-
return;
|
|
279
|
-
}
|
|
280
|
-
if (e?.stage === "end") {
|
|
281
|
-
N.value = !1;
|
|
282
|
-
return;
|
|
283
|
-
}
|
|
284
|
-
rt();
|
|
285
|
-
}
|
|
286
|
-
async function vt() {
|
|
287
|
-
if (Ge("copyAlt", {
|
|
288
|
-
config: F.value,
|
|
289
|
-
dataset: L.value
|
|
290
|
-
}), !F.value.userOptions.callbacks.altCopy) {
|
|
291
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
292
|
-
return;
|
|
293
|
-
}
|
|
294
|
-
await Promise.resolve(F.value.userOptions.callbacks.altCopy({
|
|
295
|
-
config: F.value,
|
|
296
|
-
dataset: L.value
|
|
297
|
-
}));
|
|
298
|
-
}
|
|
299
|
-
let yt = d(() => `${k.value}-title`), bt = d(() => `${k.value}-desc`), xt = d(() => a(F.value.style.chart.percentage.formatter, U.value, r({
|
|
300
|
-
v: U.value,
|
|
301
|
-
s: "%",
|
|
302
|
-
r: F.value.style.chart.percentage.rounding
|
|
303
|
-
}))), St = d(() => F.value.style.chart.title.text || ""), Ct = d(() => I.value ? "Loading data" : `Value: ${xt.value}`);
|
|
304
|
-
return ue({
|
|
305
|
-
getImage: ft,
|
|
306
|
-
generatePdf: nt,
|
|
307
|
-
generateImage: rt,
|
|
308
|
-
generateSvg: gt,
|
|
309
|
-
toggleAnnotator: dt,
|
|
310
|
-
toggleFullscreen: ut,
|
|
311
|
-
copyAlt: vt
|
|
312
|
-
}), (e, t) => (b(), m("div", {
|
|
313
|
-
ref_key: "tiremarksChart",
|
|
314
|
-
ref: A,
|
|
315
|
-
class: _(`vue-data-ui-component vue-ui-tiremarks ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
316
|
-
style: y(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor}`),
|
|
317
|
-
id: k.value,
|
|
318
|
-
onMouseenter: t[0] ||= () => w(et)(!0),
|
|
319
|
-
onMouseleave: t[1] ||= () => w(et)(!1)
|
|
320
|
-
}, [
|
|
321
|
-
F.value.userOptions.buttons.annotator ? (b(), f(w(E), {
|
|
322
|
-
key: 0,
|
|
323
|
-
svgRef: w(z),
|
|
324
|
-
backgroundColor: F.value.style.chart.backgroundColor,
|
|
325
|
-
color: F.value.style.chart.color,
|
|
326
|
-
active: $.value,
|
|
327
|
-
isCursorPointer: Qe.value,
|
|
328
|
-
onClose: dt
|
|
329
|
-
}, {
|
|
330
|
-
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
331
|
-
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
332
|
-
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
|
|
333
|
-
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
|
|
334
|
-
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
|
|
335
|
-
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
|
|
336
|
-
_: 3
|
|
337
|
-
}, 8, [
|
|
338
|
-
"svgRef",
|
|
339
|
-
"backgroundColor",
|
|
340
|
-
"color",
|
|
341
|
-
"active",
|
|
342
|
-
"isCursorPointer"
|
|
343
|
-
])) : p("", !0),
|
|
344
|
-
it.value ? (b(), m("div", {
|
|
345
|
-
key: 1,
|
|
346
|
-
ref_key: "noTitle",
|
|
347
|
-
ref: qe,
|
|
348
|
-
class: "vue-data-ui-no-title-space",
|
|
349
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
350
|
-
}, null, 512)) : p("", !0),
|
|
351
|
-
F.value.style.chart.title.text ? (b(), m("div", {
|
|
352
|
-
key: 2,
|
|
353
|
-
ref_key: "chartTitle",
|
|
354
|
-
ref: Je,
|
|
355
|
-
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
356
|
-
}, [(b(), f(le, {
|
|
357
|
-
key: `title_${Ze.value}`,
|
|
358
|
-
config: {
|
|
359
|
-
title: {
|
|
360
|
-
cy: "wheel-title",
|
|
361
|
-
...F.value.style.chart.title
|
|
362
|
-
},
|
|
363
|
-
subtitle: {
|
|
364
|
-
cy: "wheel-subtitle",
|
|
365
|
-
...F.value.style.chart.title.subtitle
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
369
|
-
F.value.userOptions.show && Ke.value && (w(tt) || w(R)) ? (b(), f(w(Be), {
|
|
370
|
-
ref: "details",
|
|
371
|
-
key: `user_options_${Xe.value}`,
|
|
372
|
-
backgroundColor: F.value.style.chart.backgroundColor,
|
|
373
|
-
color: F.value.style.chart.color,
|
|
374
|
-
isPrinting: w(V),
|
|
375
|
-
isImaging: w(H),
|
|
376
|
-
uid: k.value,
|
|
377
|
-
hasPdf: F.value.userOptions.buttons.pdf,
|
|
378
|
-
hasImg: F.value.userOptions.buttons.img,
|
|
379
|
-
hasSvg: F.value.userOptions.buttons.svg,
|
|
380
|
-
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
381
|
-
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
382
|
-
hasXls: !1,
|
|
383
|
-
isFullscreen: Q.value,
|
|
384
|
-
titles: { ...F.value.userOptions.buttonTitles },
|
|
385
|
-
chartElement: A.value,
|
|
386
|
-
position: F.value.userOptions.position,
|
|
387
|
-
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
388
|
-
isAnnotation: $.value,
|
|
389
|
-
callbacks: F.value.userOptions.callbacks,
|
|
390
|
-
printScale: F.value.userOptions.print.scale,
|
|
391
|
-
isCursorPointer: Qe.value,
|
|
392
|
-
onToggleFullscreen: ut,
|
|
393
|
-
onGeneratePdf: w(nt),
|
|
394
|
-
onGenerateImage: _t,
|
|
395
|
-
onGenerateSvg: gt,
|
|
396
|
-
onToggleAnnotator: dt,
|
|
397
|
-
onCopyAlt: vt,
|
|
398
|
-
style: y({ visibility: w(tt) ? w(R) ? "visible" : "hidden" : "visible" })
|
|
399
|
-
}, ye({ _: 2 }, [
|
|
400
|
-
e.$slots.menuIcon ? {
|
|
401
|
-
name: "menuIcon",
|
|
402
|
-
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", v(g({
|
|
403
|
-
isOpen: t,
|
|
404
|
-
color: n
|
|
405
|
-
})), void 0, !0)]),
|
|
406
|
-
key: "0"
|
|
407
|
-
} : void 0,
|
|
408
|
-
e.$slots.optionPdf ? {
|
|
409
|
-
name: "optionPdf",
|
|
410
|
-
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
411
|
-
key: "1"
|
|
412
|
-
} : void 0,
|
|
413
|
-
e.$slots.optionImg ? {
|
|
414
|
-
name: "optionImg",
|
|
415
|
-
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
416
|
-
key: "2"
|
|
417
|
-
} : void 0,
|
|
418
|
-
e.$slots.optionSvg ? {
|
|
419
|
-
name: "optionSvg",
|
|
420
|
-
fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
421
|
-
key: "3"
|
|
422
|
-
} : void 0,
|
|
423
|
-
e.$slots.optionFullscreen ? {
|
|
424
|
-
name: "optionFullscreen",
|
|
425
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", v(g({
|
|
426
|
-
toggleFullscreen: t,
|
|
427
|
-
isFullscreen: n
|
|
428
|
-
})), void 0, !0)]),
|
|
429
|
-
key: "4"
|
|
430
|
-
} : void 0,
|
|
431
|
-
e.$slots.optionAnnotator ? {
|
|
432
|
-
name: "optionAnnotator",
|
|
433
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", v(g({
|
|
434
|
-
toggleAnnotator: t,
|
|
435
|
-
isAnnotator: n
|
|
436
|
-
})), void 0, !0)]),
|
|
437
|
-
key: "5"
|
|
438
|
-
} : void 0,
|
|
439
|
-
e.$slots.optionAltCopy ? {
|
|
440
|
-
name: "optionAltCopy",
|
|
441
|
-
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
|
|
442
|
-
key: "6"
|
|
443
|
-
} : void 0,
|
|
444
|
-
e.$slots["custom-menu-before"] ? {
|
|
445
|
-
name: "custom-menu-before",
|
|
446
|
-
fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
447
|
-
key: "7"
|
|
448
|
-
} : void 0,
|
|
449
|
-
e.$slots["custom-menu-after"] ? {
|
|
450
|
-
name: "custom-menu-after",
|
|
451
|
-
fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
452
|
-
key: "8"
|
|
453
|
-
} : void 0
|
|
454
|
-
]), 1032, [
|
|
455
|
-
"backgroundColor",
|
|
456
|
-
"color",
|
|
457
|
-
"isPrinting",
|
|
458
|
-
"isImaging",
|
|
459
|
-
"uid",
|
|
460
|
-
"hasPdf",
|
|
461
|
-
"hasImg",
|
|
462
|
-
"hasSvg",
|
|
463
|
-
"hasFullscreen",
|
|
464
|
-
"hasAltCopy",
|
|
465
|
-
"isFullscreen",
|
|
466
|
-
"titles",
|
|
467
|
-
"chartElement",
|
|
468
|
-
"position",
|
|
469
|
-
"hasAnnotator",
|
|
470
|
-
"isAnnotation",
|
|
471
|
-
"callbacks",
|
|
472
|
-
"printScale",
|
|
473
|
-
"isCursorPointer",
|
|
474
|
-
"onGeneratePdf",
|
|
475
|
-
"style"
|
|
476
|
-
])) : p("", !0),
|
|
477
|
-
(b(), m("svg", {
|
|
478
|
-
ref_key: "svgRef",
|
|
479
|
-
ref: z,
|
|
480
|
-
xmlns: w(c),
|
|
481
|
-
class: _({
|
|
482
|
-
"vue-data-ui-fullscreen--on": Q.value,
|
|
483
|
-
"vue-data-ui-fulscreen--off": !Q.value
|
|
484
|
-
}),
|
|
485
|
-
viewBox: `0 0 ${q.value} ${J.value}`,
|
|
486
|
-
style: y(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
|
|
487
|
-
role: "img",
|
|
488
|
-
"aria-labelledby": yt.value,
|
|
489
|
-
"aria-describedby": bt.value
|
|
490
|
-
}, [
|
|
491
|
-
ve("title", { id: yt.value }, C(St.value), 9, ke),
|
|
492
|
-
ve("desc", { id: bt.value }, C(Ct.value), 9, Ae),
|
|
493
|
-
be(w(Ve)),
|
|
494
|
-
e.$slots["chart-background"] ? (b(), m("foreignObject", {
|
|
495
|
-
key: 0,
|
|
496
|
-
x: 0,
|
|
497
|
-
y: 0,
|
|
498
|
-
width: Y.value.width,
|
|
499
|
-
height: Y.value.height,
|
|
500
|
-
style: { pointerEvents: "none" }
|
|
501
|
-
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, je)) : p("", !0),
|
|
502
|
-
F.value.style.chart.layout.curved ? (b(), m("g", Me, [(b(!0), m(_e, null, Ce(lt.value, (e, t) => (b(), m("path", {
|
|
503
|
-
d: e.curve,
|
|
504
|
-
"stroke-width": X.value.mark,
|
|
505
|
-
stroke: U.value >= t ? e.color : F.value.style.chart.layout.inactiveColor,
|
|
506
|
-
"stroke-linecap": "round",
|
|
507
|
-
fill: "none",
|
|
508
|
-
class: _({ "vue-ui-tick-animated": F.value.style.chart.animation.use && !w(D) && t <= U.value })
|
|
509
|
-
}, null, 10, Ne))), 256))])) : (b(), m("g", Pe, [(b(!0), m(_e, null, Ce(lt.value, (e, t) => (b(), m("line", {
|
|
510
|
-
x1: e.x1,
|
|
511
|
-
y1: e.y1,
|
|
512
|
-
x2: e.x2,
|
|
513
|
-
y2: e.y2,
|
|
514
|
-
"stroke-width": X.value.mark,
|
|
515
|
-
stroke: U.value >= t ? e.color : F.value.style.chart.layout.inactiveColor,
|
|
516
|
-
"stroke-linecap": "round"
|
|
517
|
-
}, null, 8, Fe))), 256))])),
|
|
518
|
-
F.value.style.chart.percentage.show ? (b(), m("g", {
|
|
519
|
-
key: 3,
|
|
520
|
-
role: "status",
|
|
521
|
-
"aria-live": "polite",
|
|
522
|
-
"aria-label": w(I) ? "..." : `${xt.value}`
|
|
523
|
-
}, [w(I) ? (b(), m("rect", {
|
|
524
|
-
key: 0,
|
|
525
|
-
x: ct.value.x,
|
|
526
|
-
y: ct.value.y,
|
|
527
|
-
width: 40,
|
|
528
|
-
height: Z.value.fontSize,
|
|
529
|
-
fill: "#6A6A6A80",
|
|
530
|
-
rx: 3
|
|
531
|
-
}, null, 8, Le)) : (b(), m("text", {
|
|
532
|
-
key: 1,
|
|
533
|
-
"aria-hidden": "true",
|
|
534
|
-
x: Z.value.x,
|
|
535
|
-
y: Z.value.y,
|
|
536
|
-
"font-size": Z.value.fontSize,
|
|
537
|
-
fill: F.value.style.chart.layout.ticks.gradient.show && F.value.style.chart.percentage.useGradientColor ? w(n)(F.value.style.chart.layout.activeColor, U.value / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.percentage.color,
|
|
538
|
-
"font-weight": Z.value.bold ? "bold" : "normal",
|
|
539
|
-
"text-anchor": Z.value.textAnchor
|
|
540
|
-
}, C(xt.value), 9, Re))], 8, Ie)) : p("", !0),
|
|
541
|
-
S(e.$slots, "svg", { svg: {
|
|
542
|
-
...Y.value,
|
|
543
|
-
isPrintingImg: w(V) || w(H) || N.value,
|
|
544
|
-
isPrintingSvg: P.value
|
|
545
|
-
} }, void 0, !0)
|
|
546
|
-
], 14, Oe)),
|
|
547
|
-
e.$slots.watermark ? (b(), m("div", ze, [S(e.$slots, "watermark", v(g({ isPrinting: w(V) || w(H) || N.value || P.value })), void 0, !0)])) : p("", !0),
|
|
548
|
-
e.$slots.source ? (b(), m("div", {
|
|
549
|
-
key: 5,
|
|
550
|
-
ref_key: "source",
|
|
551
|
-
ref: Ye,
|
|
552
|
-
dir: "auto"
|
|
553
|
-
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
554
|
-
S(e.$slots, "skeleton", {}, () => [w(I) ? (b(), f(ae, { key: 0 })) : p("", !0)], !0)
|
|
555
|
-
], 46, De));
|
|
556
|
-
}
|
|
557
|
-
}, [["__scopeId", "data-v-7f57d45c"]]);
|
|
558
|
-
//#endregion
|
|
559
|
-
export { Ee as n, E as t };
|