vue-data-ui 3.15.12 → 3.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +132 -59
- package/dist/A11yDataTable-KcVAX2cP.js +54 -0
- package/dist/{Arrow-DlPyR6HQ.js → Arrow-Bn-9n3bm.js} +1 -1
- package/dist/{BaseDraggableDialog-DSpKTn3R.js → BaseDraggableDialog-CIb-iD9g.js} +2 -2
- package/dist/{BaseIcon-CNx8Tzl5.js → BaseIcon-Cb3zzG6s.js} +1 -1
- package/dist/{BaseLegendToggle-Y61xahI4.js → BaseLegendToggle-BQVIawmA.js} +1 -1
- package/dist/{BaseZoomControls-CoFievy9.js → BaseZoomControls-DievbOeJ.js} +2 -2
- package/dist/ColorPicker-B0mV4xzu.js +255 -0
- package/dist/{DataTable-Bo1pmAqG.js → DataTable-DT2kIdQ6.js} +2 -2
- package/dist/Legend-CS7Xo5LK.js +101 -0
- package/dist/{NonSvgPenAndPaper-CGk_xThe.js → NonSvgPenAndPaper-VyJFyJ6X.js} +3 -3
- package/dist/{PackageVersion-DN9d0ME5.js → PackageVersion-DPO-OOVI.js} +1 -1
- package/dist/{PenAndPaper-DWV1FMIi.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
- package/dist/{Shape-CSyWYgXc.js → Shape-BKRUOeKk.js} +1 -1
- package/dist/{Slicer-DZJA9IG-.js → Slicer-DUycDH_N.js} +2 -2
- package/dist/{SlicerPreview-I2J0UUF_.js → SlicerPreview-DTjwV0iY.js} +2 -2
- package/dist/{SparkTooltip-BiseJed3.js → SparkTooltip-BorBpltj.js} +1 -1
- package/dist/{Title-BfyrP-jp.js → Title-BeMKE1cj.js} +1 -1
- package/dist/{Tooltip-DL3QgjZf.js → Tooltip-Bf-kM3_A.js} +86 -68
- package/dist/{UserOptions-CrLqEimB.js → UserOptions-rW2fRf3V.js} +228 -222
- 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-BAqzNjb1.js → dom-to-png-CtxhhdWb.js} +1 -1
- package/dist/{exposedLib-H4lmBl1t.js → exposedLib-DlqmhBx3.js} +1 -1
- package/dist/{img-BYYzY_QU.js → img-LXxMLmCg.js} +1 -1
- package/dist/{labelUtils-CTXUc3V9.js → labelUtils-CqTHa20R.js} +1 -1
- package/dist/{lib-GwPnJSrY.js → lib-DBptbyyI.js} +106 -84
- package/dist/{pdf-z-YiJeJQ.js → pdf-B4tTdfvl.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +59 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-80fzdfxt.js → useAutoSizeLabelsInsideViewbox-DX7LdvFX.js} +1 -1
- package/dist/{useConfig-CIgyKZ6R.js → useConfig-DO94Aj5s.js} +953 -700
- package/dist/{useNestedProp-BBT0mbHh.js → useNestedProp-Bf5XFbs8.js} +1 -1
- package/dist/{useObjectBindings-BlXBVtRa.js → useObjectBindings-DQ8g8Jwi.js} +1 -1
- package/dist/usePrefersMotion-CUKm8_t8.js +15 -0
- package/dist/{usePrinter-DiK5R6k-.js → usePrinter-CEpYU3r5.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-C2kPofmi.js → vue-data-ui-DXGkXRnC.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-BaFpQnd5.js +1597 -0
- package/dist/{vue-ui-accordion-BGHTqIBt.js → vue-ui-accordion-nvggWcGN.js} +4 -4
- package/dist/vue-ui-age-pyramid-CRM498Pc.js +1069 -0
- package/dist/{vue-ui-annotator-B1GWVtPp.js → vue-ui-annotator-CkPi9moo.js} +7 -7
- package/dist/{vue-ui-bullet-DPoGGtaG.js → vue-ui-bullet-BBiwof3c.js} +158 -150
- package/dist/vue-ui-bump-Brxpu4xV.js +1147 -0
- package/dist/vue-ui-candlestick-DAnZv77-.js +1587 -0
- package/dist/{vue-ui-carousel-table-CmiHTJ8E.js → vue-ui-carousel-table-BHRZBYY0.js} +168 -160
- package/dist/vue-ui-chestnut-CbrYnRgm.js +1812 -0
- package/dist/vue-ui-chord-CaX_IUVs.js +1326 -0
- package/dist/vue-ui-circle-pack-CR3h53sc.js +988 -0
- package/dist/{vue-ui-cursor-B4mHR7QC.js → vue-ui-cursor-Cjfazw7Z.js} +4 -4
- package/dist/vue-ui-dag-B9vH3c66.js +3047 -0
- package/dist/{vue-ui-dashboard-Bo5FX73U.js → vue-ui-dashboard-DWll05qs.js} +70 -70
- package/dist/{vue-ui-digits-mpo2IcM5.js → vue-ui-digits-DcM67rMx.js} +76 -66
- package/dist/vue-ui-donut-Be5G38P5.js +2229 -0
- package/dist/vue-ui-donut-evolution-BLSesj3c.js +1358 -0
- package/dist/vue-ui-dumbbell-DIMiCY4r.js +1380 -0
- package/dist/vue-ui-flow-zvZylhgr.js +1202 -0
- package/dist/{vue-ui-funnel-BRkaEkBb.js → vue-ui-funnel-CSri-oWm.js} +7 -7
- package/dist/vue-ui-galaxy-CGykxsAI.js +1012 -0
- package/dist/{vue-ui-gauge-J2VYHsQe.js → vue-ui-gauge-D1MNB9Jq.js} +8 -8
- package/dist/vue-ui-geo-DdJDGhG2.js +1437 -0
- package/dist/{vue-ui-gizmo-DEec3-v9.js → vue-ui-gizmo-BZYRHGFm.js} +77 -68
- package/dist/vue-ui-heatmap-CryOx6XK.js +1500 -0
- package/dist/vue-ui-history-plot-C85iw9Kl.js +1449 -0
- package/dist/vue-ui-horizontal-bar-BoBZOybC.js +1637 -0
- package/dist/vue-ui-kpi-DHrolXw6.js +109 -0
- package/dist/{vue-ui-mini-loader-CoOHvZUk.js → vue-ui-mini-loader-Bc3fEQ9j.js} +3 -3
- package/dist/{vue-ui-molecule-Chq1qWDK.js → vue-ui-molecule-DJ_BQ4DK.js} +6 -6
- package/dist/vue-ui-mood-radar-CBE02TpQ.js +1086 -0
- package/dist/vue-ui-nested-donuts-YTFtb4CL.js +1595 -0
- package/dist/vue-ui-onion-B9l81-PS.js +1124 -0
- package/dist/vue-ui-parallel-coordinate-plot-C1e_rs8J.js +1252 -0
- package/dist/vue-ui-quadrant-C1qsLCRn.js +1759 -0
- package/dist/vue-ui-quick-chart-DFoz3WiA.js +2216 -0
- package/dist/vue-ui-radar-Cmo3p-UA.js +1139 -0
- package/dist/{vue-ui-rating-zV58MDQh.js → vue-ui-rating-BAHhYt_A.js} +3 -3
- package/dist/vue-ui-relation-circle-BqwznVwf.js +782 -0
- package/dist/vue-ui-ridgeline-CDk9eXJq.js +1473 -0
- package/dist/vue-ui-rings-BRkGoQdL.js +1156 -0
- package/dist/vue-ui-scatter-BxDtWASQ.js +1831 -0
- package/dist/{vue-ui-skeleton-CbqNz9IE.js → vue-ui-skeleton-D6kTb9aO.js} +4 -4
- package/dist/{vue-ui-smiley-BK5EKp9u.js → vue-ui-smiley-CzVaLlpB.js} +3 -3
- package/dist/vue-ui-spark-trend-D8Mf2A1w.js +378 -0
- package/dist/{vue-ui-sparkbar-DUDWvTo-.js → vue-ui-sparkbar-BbYj56c3.js} +86 -84
- package/dist/vue-ui-sparkgauge-DXzOSLRb.js +256 -0
- package/dist/vue-ui-sparkhistogram-DMfSx1iH.js +474 -0
- package/dist/vue-ui-sparkline-D-rQ9PsC.js +1327 -0
- package/dist/vue-ui-sparkstackbar-DK5n8IKP.js +621 -0
- package/dist/vue-ui-stackbar-BHthy6jf.js +2070 -0
- package/dist/vue-ui-stackline-C6-WNpKD.js +2164 -0
- package/dist/vue-ui-strip-plot-CHu-1ilI.js +1183 -0
- package/dist/{vue-ui-table-BHuXI4Eq.js → vue-ui-table-DW9JGsLq.js} +6 -6
- package/dist/{vue-ui-table-heatmap-y88sBfu3.js → vue-ui-table-heatmap-LYqoBit9.js} +6 -6
- package/dist/{vue-ui-table-sparkline-ClpLLKi2.js → vue-ui-table-sparkline-CXK1dFr-.js} +5 -5
- package/dist/{vue-ui-thermometer-sjruUGQx.js → vue-ui-thermometer-BN8tflOz.js} +272 -256
- package/dist/{vue-ui-timer-CgdgMKIc.js → vue-ui-timer-DGT0UBOF.js} +6 -6
- package/dist/{vue-ui-tiremarks-UBDpAIVr.js → vue-ui-tiremarks-BZ-osQqY.js} +204 -191
- package/dist/vue-ui-treemap-98KaVRyd.js +1723 -0
- package/dist/vue-ui-waffle-Cb7oJnIc.js +1321 -0
- package/dist/vue-ui-wheel-sfew1fjw.js +738 -0
- package/dist/vue-ui-word-cloud-vq1t9JHr.js +1548 -0
- package/dist/{vue-ui-world-D-3wgoTn.js → vue-ui-world-CN0f6elD.js} +8 -8
- package/dist/vue-ui-xy-BdzEiImZ.js +3877 -0
- package/dist/vue-ui-xy-canvas-CWQzUQzY.js +1810 -0
- package/package.json +2 -2
- package/dist/ColorPicker-j0ySewhI.js +0 -244
- package/dist/Legend-1LMMsPxL.js +0 -90
- package/dist/vue-ui-3d-bar-BhNgFaJA.js +0 -1484
- package/dist/vue-ui-age-pyramid-CuYRf5v-.js +0 -997
- package/dist/vue-ui-bump-C_fKharc.js +0 -1059
- package/dist/vue-ui-candlestick-BY-_E7eZ.js +0 -1487
- package/dist/vue-ui-chestnut-C-bQYaNI.js +0 -1557
- package/dist/vue-ui-chord-uQYQgyGM.js +0 -1220
- package/dist/vue-ui-circle-pack-CdbDcuDw.js +0 -907
- package/dist/vue-ui-dag-DsHUvjvm.js +0 -2885
- package/dist/vue-ui-donut-CzCgCVsx.js +0 -2139
- package/dist/vue-ui-donut-evolution-C_ck_TOR.js +0 -1297
- package/dist/vue-ui-dumbbell-CVSA90b2.js +0 -1293
- package/dist/vue-ui-flow-CsbSaFnu.js +0 -1075
- package/dist/vue-ui-galaxy-DWKHDciu.js +0 -914
- package/dist/vue-ui-geo-DykhEWVq.js +0 -1331
- package/dist/vue-ui-heatmap-BEDirv8T.js +0 -1334
- package/dist/vue-ui-history-plot-Bs96PebH.js +0 -1292
- package/dist/vue-ui-horizontal-bar-ClQcB9nL.js +0 -1522
- package/dist/vue-ui-kpi-DlUEHKuw.js +0 -101
- package/dist/vue-ui-mood-radar-A2LBLgUi.js +0 -967
- package/dist/vue-ui-nested-donuts-DFX251aT.js +0 -1513
- package/dist/vue-ui-onion-CW0YO9Ro.js +0 -1045
- package/dist/vue-ui-parallel-coordinate-plot-UFg10bHP.js +0 -1134
- package/dist/vue-ui-quadrant-C1pLW2zA.js +0 -1647
- package/dist/vue-ui-quick-chart-FaxttnJY.js +0 -2030
- package/dist/vue-ui-radar-DE70LPBZ.js +0 -1067
- package/dist/vue-ui-relation-circle-iuRXIyRU.js +0 -704
- package/dist/vue-ui-ridgeline-CwvDh5pG.js +0 -1385
- package/dist/vue-ui-rings-80ZUki42.js +0 -1083
- package/dist/vue-ui-scatter-FdAAYJOK.js +0 -1670
- package/dist/vue-ui-spark-trend-C68p8-Xp.js +0 -349
- package/dist/vue-ui-sparkgauge-DdRtHQDe.js +0 -245
- package/dist/vue-ui-sparkhistogram-C9DvzQae.js +0 -396
- package/dist/vue-ui-sparkline-B2RDrdiR.js +0 -1273
- package/dist/vue-ui-sparkstackbar-BsIOHUE5.js +0 -475
- package/dist/vue-ui-stackbar-BZl0kEkb.js +0 -2001
- package/dist/vue-ui-stackline-2VKxwFei.js +0 -2099
- package/dist/vue-ui-strip-plot-B9nBSRyY.js +0 -1080
- package/dist/vue-ui-treemap-BS5EilZf.js +0 -1645
- package/dist/vue-ui-waffle-CbX5K9Q2.js +0 -1211
- package/dist/vue-ui-wheel-BIJ09H5D.js +0 -723
- package/dist/vue-ui-word-cloud-DJmJ-oYT.js +0 -1466
- package/dist/vue-ui-xy-canvas-4auyhlTr.js +0 -1717
- package/dist/vue-ui-xy-f67V1xjd.js +0 -3713
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as w, computed as g, openBlock as e, createElementBlock as o, normalizeStyle as n, normalizeClass as N, unref as s, createVNode as d, createElementVNode as t, Fragment as k, renderList as h, createCommentVNode as a, createStaticVNode as $ } from "vue";
|
|
2
|
-
import { A as B, X as c, u as v, z as F } from "./lib-
|
|
3
|
-
import { u as O } from "./useNestedProp-
|
|
4
|
-
import { u as V } from "./useConfig-
|
|
5
|
-
import y from "./PackageVersion-
|
|
2
|
+
import { A as B, X as c, u as v, z as F } from "./lib-DBptbyyI.js";
|
|
3
|
+
import { u as O } from "./useNestedProp-Bf5XFbs8.js";
|
|
4
|
+
import { u as V } from "./useConfig-DO94Aj5s.js";
|
|
5
|
+
import y from "./PackageVersion-DPO-OOVI.js";
|
|
6
6
|
import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, U = ["d", "fill", "stroke"], Y = ["xmlns"], D = ["id"], J = ["stop-color"], K = ["stop-color"], l1 = ["stop-color"], t1 = ["stop-color"], e1 = ["fill", "stroke"], o1 = ["fill", "stroke"], s1 = ["fill", "stroke"], r1 = ["fill", "stroke"], i1 = ["fill", "stroke"], n1 = ["xmlns"], a1 = ["stroke"], c1 = ["stroke"], u1 = ["stroke"], d1 = ["fill", "stroke"], y1 = ["fill"], k1 = ["fill", "stroke"], h1 = ["fill"], v1 = ["fill", "stroke"], _1 = ["fill"], x1 = ["fill", "stroke"], p1 = ["fill"], g1 = ["fill", "stroke"], f1 = ["fill"], w1 = ["fill", "stroke"], C1 = ["fill"], m1 = ["xmlns"], b1 = ["stroke"], M1 = ["stroke"], L1 = ["stroke"], A1 = ["stroke"], $1 = ["stroke"], B1 = ["stroke"], P1 = ["stroke"], W1 = ["stroke"], j1 = ["stroke"], z1 = ["xmlns"], Z1 = ["stroke", "fill"], q1 = ["xmlns"], H1 = ["stroke", "fill"], Q1 = ["xmlns"], E1 = ["fill"], S1 = ["fill"], I1 = ["fill"], N1 = ["fill"], F1 = ["xmlns"], O1 = ["stroke"], V1 = ["fill"], X1 = ["stroke", "fill"], G1 = ["stroke", "fill"], R1 = ["fill"], T1 = ["stroke", "fill"], U1 = ["stroke", "fill"], Y1 = ["fill"], D1 = ["stroke", "fill"], J1 = ["stroke", "fill"], K1 = ["fill"], ll = ["stroke", "fill"], tl = ["stroke", "fill"], el = ["fill"], ol = ["stroke", "fill"], sl = ["stroke", "fill"], rl = ["xmlns"], il = ["stroke"], nl = ["stroke"], al = ["stroke", "fill"], cl = ["stroke", "fill"], ul = ["stroke", "fill"], dl = ["stroke", "fill"], yl = ["stroke", "fill"], kl = ["stroke", "fill"], hl = ["stroke", "fill"], vl = ["stroke", "fill"], _l = ["stroke", "fill"], xl = ["stroke", "fill"], pl = ["stroke", "fill"], gl = ["stroke", "fill"], fl = ["stroke", "fill"], wl = ["stroke", "fill"], Cl = ["stroke", "fill"], ml = ["stroke", "fill"], bl = ["stroke", "fill"], Ml = ["stroke", "fill"], Ll = ["stroke", "fill"], Al = ["stroke", "fill"], $l = ["stroke", "fill"], Bl = ["stroke", "fill"], Pl = ["stroke", "fill"], Wl = ["xmlns"], jl = ["stroke"], zl = ["xmlns"], Zl = ["stroke"], ql = ["xmlns"], Hl = ["stroke"], Ql = ["xmlns"], El = ["fill"], Sl = ["fill"], Il = ["fill"], Nl = ["fill"], Fl = ["fill"], Ol = ["fill"], Vl = ["fill"], Xl = ["fill"], Gl = ["fill"], Rl = ["fill"], Tl = ["fill"], Ul = ["fill"], Yl = ["xmlns"], Dl = ["stroke"], Jl = ["stroke"], Kl = ["stroke"], l0 = ["stroke"], t0 = ["stroke"], e0 = ["stroke"], o0 = ["xmlns"], s0 = ["stroke"], r0 = ["stroke"], i0 = ["stroke"], n0 = ["stroke"], a0 = ["stroke"], c0 = ["stroke"], u0 = ["stroke"], d0 = ["stroke"], y0 = ["stroke"], k0 = ["xmlns"], h0 = ["stroke"], v0 = ["xmlns"], _0 = ["stroke"], x0 = ["stroke"], p0 = ["stroke"], g0 = ["stroke"], f0 = ["stroke"], w0 = ["stroke"], C0 = ["stroke"], m0 = ["stroke"], b0 = ["stroke"], M0 = ["xmlns"], L0 = ["x1", "x2", "stroke"], A0 = ["xmlns"], $0 = ["x", "y", "width", "height", "fill"], B0 = ["y", "width", "height", "fill"], P0 = ["xmlns"], W0 = ["fill"], j0 = ["fill"], z0 = ["fill"], Z0 = ["xmlns"], q0 = ["x1", "x2", "y1", "y2", "stroke"], H0 = ["stroke"], Q0 = ["fill"], E0 = ["xmlns"], S0 = ["fill"], I0 = ["fill"], N0 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], F0 = ["xmlns"], O0 = { key: 0 }, V0 = ["stroke", "stroke-width"], X0 = ["stroke", "stroke-width"], G0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], R0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], T0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], U0 = ["x", "y", "height", "width", "fill"], Y0 = ["xmlns", "viewBox"], D0 = ["x", "y", "stroke", "fill"], J0 = ["xmlns"], K0 = ["d", "stroke"], lt = ["cx", "cy", "r", "fill", "stroke"], tt = ["cx", "cy", "r", "fill", "stroke"], et = ["x", "y", "width", "fill"], ot = ["cx", "cy", "fill"], st = ["cx", "cy", "fill"], rt = ["stroke"], it = ["xmlns"], nt = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ct = ["stroke", "stroke-width"], ut = ["fill"], dt = ["fill"], yt = ["fill"], kt = ["fill"], ht = ["fill"], vt = ["fill"], _t = ["xmlns"], xt = { key: 0 }, pt = ["stroke", "stroke-width"], gt = ["stroke", "stroke-width"], ft = ["stroke", "stroke-width"], wt = { key: 1 }, Ct = ["r", "fill"], mt = ["r", "fill"], bt = ["xmlns"], Mt = { key: 0 }, Lt = ["stroke", "stroke-width"], At = ["stroke", "stroke-width"], $t = ["fill", "rx", "x", "y", "width", "height"], Bt = ["xmlns"], Pt = ["stroke-width", "stroke"], Wt = ["stroke-width", "stroke"], jt = ["stroke-width", "stroke"], zt = ["xmlns"], Zt = ["stroke"], qt = ["stroke"], Ht = ["stroke"], Qt = ["stroke"], Et = ["fill"], St = ["stroke"], It = ["xmlns"], Nt = ["stroke", "stroke-width"], Ft = ["stroke", "stroke-width"], Ot = ["fill", "r"], Vt = ["fill", "r"], Xt = ["fill", "r"], Gt = ["fill", "r"], Rt = ["fill", "r"], Tt = ["fill", "r"], Ut = ["fill", "r"], Yt = ["fill", "r"], Dt = ["fill", "r"], Jt = ["xmlns"], Kt = ["d", "stroke", "stroke-width"], le = ["d", "stroke", "stroke-width"], te = ["d", "stroke", "stroke-width"], ee = ["d", "stroke", "stroke-width"], oe = ["stroke", "stroke-width"], se = ["stroke", "stroke-width"], re = ["stroke", "stroke-width"], ie = ["fill"], ne = ["fill"], ae = ["xmlns"], ce = ["x", "y", "fill"], ue = ["x", "y", "fill"], de = ["x", "y", "fill"], ye = ["xmlns"], ke = ["fill"], he = ["fill"], ve = ["y1", "y2", "stroke", "stroke-width"], _e = ["x1", "x2", "stroke", "stroke-width"], xe = ["xmlns", "stroke"], pe = ["fill"], ge = ["xmlns", "stroke"], fe = ["xmlns", "stroke"], we = ["fill"], Ce = ["xmlns", "stroke"], me = ["xmlns", "stroke"], be = ["fill"], Me = ["xmlns", "stroke"], Le = ["xmlns", "stroke"], Ae = ["fill"], $e = ["xmlns", "stroke"], Be = ["xmlns", "stroke"], Pe = ["fill"], We = ["xmlns", "stroke"], je = ["xmlns"], ze = ["points", "fill", "stroke", "stroke-width"], Ze = ["xmlns"], qe = { key: 0 }, He = ["stroke", "stroke-width"], Qe = ["y", "width", "fill", "rx"], Ee = {
|
|
8
8
|
__name: "vue-ui-skeleton",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { openBlock as i, createElementBlock as s, withKeys as K, normalizeStyle as r, normalizeClass as T, createElementVNode as a, toDisplayString as v, renderSlot as $, createCommentVNode as f, unref as M, useSlots as q, ref as x, onMounted as N, computed as w, watch as V, Fragment as H, renderList as J, createVNode as Q, withCtx as z, createTextVNode as W } from "vue";
|
|
2
|
-
import { X as j, v as U, k as Z, l as _, o as ee, q as te } from "./lib-
|
|
3
|
-
import { u as le } from "./useNestedProp-
|
|
4
|
-
import { u as ae } from "./useConfig-
|
|
2
|
+
import { X as j, v as U, k as Z, l as _, o as ee, q as te } from "./lib-DBptbyyI.js";
|
|
3
|
+
import { u as le } from "./useNestedProp-Bf5XFbs8.js";
|
|
4
|
+
import { u as ae } from "./useConfig-DO94Aj5s.js";
|
|
5
5
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const ne = ["xmlns", "stroke"], ie = ["id"], se = ["stop-color"], re = ["stop-color"], ue = ["stroke"], ce = ["xmlns", "viewBox", "stroke"], de = ["id"], ye = ["stop-color"], fe = ["stop-color"], ve = ["viewBox", "stroke"], ge = {
|
|
7
7
|
__name: "BaseSmilingUnit",
|
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
import { defineAsyncComponent as _e, ref as c, computed as s, toRefs as $e, watch as P, nextTick as le, onMounted as we, openBlock as o, createElementBlock as r, normalizeStyle as xe, createElementVNode as N, toDisplayString as Z, unref as i, createVNode as Le, renderSlot as H, createCommentVNode as y, createBlock as Ce } from "vue";
|
|
2
|
+
import { j as Te, t as ae, H as ne, o as W, q as Ae, K as L, an as Ne, l as I, k as ue, X as Se, u as q, c as se } from "./lib-DBptbyyI.js";
|
|
3
|
+
import { t as ze, u as Fe } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Me } from "./useConfig-DO94Aj5s.js";
|
|
5
|
+
import { u as Ie, B as Ve } from "./BaseScanner-BhhkKVoj.js";
|
|
6
|
+
import { u as je } from "./useFitSvgText-2crs6Fv5.js";
|
|
7
|
+
import { u as U } from "./useNestedProp-Bf5XFbs8.js";
|
|
8
|
+
import { u as De } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as Ee } from "./usePrefersMotion-CUKm8_t8.js";
|
|
10
|
+
import Be from "./vue_ui_spark_trend-3BjrSprO.js";
|
|
11
|
+
import { _ as Oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const Re = ["id", "aria-describedby"], Ge = ["id"], Pe = ["xmlns", "viewBox"], Ze = ["width", "height"], He = ["id"], We = ["stop-color"], qe = ["stop-color"], Ue = { key: 1 }, Ke = ["d", "fill"], Xe = ["d", "fill"], Je = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Qe = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Ye = ["d"], et = ["fill", "d"], tt = ["x", "y", "width", "height"], lt = ["x", "y", "fill", "font-size", "font-weight"], at = ["stroke", "cx", "cy", "fill"], nt = ["x", "y", "font-size", "fill", "font-weight"], ut = {
|
|
13
|
+
__name: "vue-ui-spark-trend",
|
|
14
|
+
props: {
|
|
15
|
+
config: {
|
|
16
|
+
type: Object,
|
|
17
|
+
default() {
|
|
18
|
+
return {};
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
dataset: {
|
|
22
|
+
type: Array,
|
|
23
|
+
default() {
|
|
24
|
+
return [];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
setup(oe) {
|
|
29
|
+
const re = _e(() => import("./PackageVersion-DPO-OOVI.js")), { vue_ui_spark_trend: ie } = Me(), { isThemeValid: ve, warnInvalidTheme: de } = De(), S = Ee(), h = oe, V = c(null), K = c(null), X = c(null), C = c(null), z = c(null), T = c(!1), p = c(null), $ = c(Te()), e = c(E()), fe = s(() => ae({
|
|
30
|
+
defaultConfig: {
|
|
31
|
+
style: {
|
|
32
|
+
animation: { show: !1 },
|
|
33
|
+
backgroundColor: "#99999930",
|
|
34
|
+
line: {
|
|
35
|
+
stroke: "#6A6A6A",
|
|
36
|
+
useColorTrend: !1
|
|
37
|
+
},
|
|
38
|
+
dataLabel: { show: !1, useColorTrend: !1, color: "#6A6A6A" }
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
userConfig: e.value.skeletonConfig ?? {}
|
|
42
|
+
})), { loading: k, FINAL_DATASET: j, manualLoading: D } = Ie({
|
|
43
|
+
...$e(h),
|
|
44
|
+
FINAL_CONFIG: e,
|
|
45
|
+
prepareConfig: E,
|
|
46
|
+
skeletonDataset: h.config?.skeletonDataset ?? [1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233],
|
|
47
|
+
skeletonConfig: ae({
|
|
48
|
+
defaultConfig: e.value,
|
|
49
|
+
userConfig: fe.value
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
function E() {
|
|
53
|
+
const t = U({
|
|
54
|
+
userConfig: h.config,
|
|
55
|
+
defaultConfig: ie
|
|
56
|
+
}), l = t.theme;
|
|
57
|
+
if (!l) return t;
|
|
58
|
+
if (!ve.value(t))
|
|
59
|
+
return de(t), t;
|
|
60
|
+
const n = U({
|
|
61
|
+
userConfig: Be[l] || h.config,
|
|
62
|
+
defaultConfig: t
|
|
63
|
+
});
|
|
64
|
+
return U({
|
|
65
|
+
userConfig: h.config,
|
|
66
|
+
defaultConfig: n
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
const g = s(() => ne({
|
|
70
|
+
data: j.value,
|
|
71
|
+
threshold: e.value.downsample.threshold
|
|
72
|
+
}));
|
|
73
|
+
P(() => h.config, (t) => {
|
|
74
|
+
e.value = E(), R.value = e.value.style.width, w.value = e.value.style.height, J();
|
|
75
|
+
}, { deep: !0 });
|
|
76
|
+
function B(t) {
|
|
77
|
+
return t.map((l) => L(l));
|
|
78
|
+
}
|
|
79
|
+
const _ = c(ne({
|
|
80
|
+
data: j.value,
|
|
81
|
+
threshold: e.value.downsample.threshold
|
|
82
|
+
}).map((t) => e.value.style.animation.show && !S.value || [void 0, 1 / 0, -1 / 0, null, NaN].includes(t) ? null : t));
|
|
83
|
+
P(g, (t) => {
|
|
84
|
+
p.value && (cancelAnimationFrame(p.value), p.value = null), e.value.style.animation.show && !S.value ? _.value = Array(t.length).fill(null) : _.value = t.map(
|
|
85
|
+
(l) => ![void 0, 1 / 0, -1 / 0, null].includes(l) && !Number.isNaN(l) ? l : null
|
|
86
|
+
), O(), le(() => M(".vue-ui-sparktrend-progress-label", 6));
|
|
87
|
+
}, { deep: !0, immediate: !0 }), P(
|
|
88
|
+
() => JSON.stringify(h.dataset),
|
|
89
|
+
() => {
|
|
90
|
+
p.value && (cancelAnimationFrame(p.value), p.value = null), D.value = W(h.dataset);
|
|
91
|
+
const t = g.value;
|
|
92
|
+
_.value = e.value.style.animation.show && !S.value ? Array(t.length).fill(null) : t.map((l) => Number.isFinite(l) ? l : null), O(), le(() => M(".vue-ui-sparktrend-progress-label", 6));
|
|
93
|
+
},
|
|
94
|
+
{ deep: !1, immediate: !0 }
|
|
95
|
+
);
|
|
96
|
+
function O() {
|
|
97
|
+
let l = 1e3 / e.value.style.animation.animationFrames, n = performance.now();
|
|
98
|
+
if (!k.value && e.value.style.animation.show && !S.value && e.value.style.animation.animationFrames && j.value.length > 1) {
|
|
99
|
+
let b = function() {
|
|
100
|
+
T.value = !0;
|
|
101
|
+
let ee = performance.now(), te = ee - n;
|
|
102
|
+
te > l ? (n = ee - te % l, v < g.value.length ? (_.value.push(g.value[v]), v += 1, p.value = requestAnimationFrame(b)) : (cancelAnimationFrame(p.value), _.value = B(g.value), T.value = !1, M(".vue-ui-sparktrend-progress-label", 6))) : p.value = requestAnimationFrame(b);
|
|
103
|
+
};
|
|
104
|
+
_.value = [];
|
|
105
|
+
let v = 0;
|
|
106
|
+
b();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
we(() => {
|
|
110
|
+
J();
|
|
111
|
+
});
|
|
112
|
+
const ce = s(() => e.value.debug);
|
|
113
|
+
function J() {
|
|
114
|
+
if (W(h.dataset) && (Ae({
|
|
115
|
+
componentName: "VueUiSparkTrend",
|
|
116
|
+
type: "dataset",
|
|
117
|
+
debug: ce.value
|
|
118
|
+
}), D.value = !0), W(h.dataset) || (D.value = !1), e.value.responsive) {
|
|
119
|
+
const t = ze(() => {
|
|
120
|
+
const { width: l, height: n } = Fe({
|
|
121
|
+
chart: V.value,
|
|
122
|
+
source: X.value
|
|
123
|
+
});
|
|
124
|
+
requestAnimationFrame(() => {
|
|
125
|
+
R.value = l, w.value = n;
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
C.value && (z.value && C.value.unobserve(z.value), C.value.disconnect()), C.value = new ResizeObserver(t), z.value = V.value.parentNode, C.value.observe(z.value);
|
|
129
|
+
}
|
|
130
|
+
O(), M(".vue-ui-sparktrend-progress-label", 6);
|
|
131
|
+
}
|
|
132
|
+
const R = c(e.value.style.width), w = c(e.value.style.height), d = s(() => ({
|
|
133
|
+
height: w.value,
|
|
134
|
+
width: R.value
|
|
135
|
+
})), u = s(() => ({
|
|
136
|
+
top: e.value.style.padding.top,
|
|
137
|
+
left: e.value.style.padding.left,
|
|
138
|
+
right: d.value.width - e.value.style.padding.right,
|
|
139
|
+
bottom: d.value.height - e.value.style.padding.bottom,
|
|
140
|
+
height: d.value.height - (e.value.style.padding.top + e.value.style.padding.bottom) - (e.value.style.dataLabel.show ? e.value.style.dataLabel.fontSize : 0),
|
|
141
|
+
width: d.value.width - (e.value.style.padding.left + e.value.style.padding.right)
|
|
142
|
+
})), G = s(() => {
|
|
143
|
+
const t = B(g.value).filter(Number.isFinite);
|
|
144
|
+
if (!t.length) return { max: 0, min: 0 };
|
|
145
|
+
let l = t[0], n = t[0];
|
|
146
|
+
for (let v = 1; v < t.length; v++) {
|
|
147
|
+
const b = t[v];
|
|
148
|
+
b > l && (l = b), b < n && (n = b);
|
|
149
|
+
}
|
|
150
|
+
return { max: l, min: n };
|
|
151
|
+
}), he = s(() => {
|
|
152
|
+
const t = g.value, l = t.length ? t[t.length - 1] : "x";
|
|
153
|
+
return [
|
|
154
|
+
$.value,
|
|
155
|
+
t.length,
|
|
156
|
+
Number.isFinite(l) ? l : "x",
|
|
157
|
+
e.value.downsample.threshold,
|
|
158
|
+
e.value.style.line.smooth ? "s" : "l"
|
|
159
|
+
].join("-");
|
|
160
|
+
}), F = s(() => {
|
|
161
|
+
const t = G.value.min >= 0 ? 0 : G.value.min;
|
|
162
|
+
return Math.abs(t);
|
|
163
|
+
}), ye = s(() => G.value.max + F.value);
|
|
164
|
+
function Q(t) {
|
|
165
|
+
return t / ye.value;
|
|
166
|
+
}
|
|
167
|
+
const pe = s(() => g.value.length), a = s(() => _.value.map((t, l) => {
|
|
168
|
+
const n = isNaN(t) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t) ? 0 : t || 0;
|
|
169
|
+
return {
|
|
170
|
+
value: L(t),
|
|
171
|
+
absoluteValue: L(n),
|
|
172
|
+
plotValue: L(n + F.value),
|
|
173
|
+
toMax: Q(n + F.value),
|
|
174
|
+
x: u.value.left + L(l * (u.value.width / (pe.value - 1))) - e.value.style.padding.right,
|
|
175
|
+
y: u.value.bottom - L(u.value.height * Q(n + F.value))
|
|
176
|
+
};
|
|
177
|
+
})), x = s(() => {
|
|
178
|
+
const t = B(g.value);
|
|
179
|
+
return e.value.style.trendLabel.trendType === "global" ? Ne(t) : e.value.style.trendLabel.trendType === "n-1" && t.length > 1 ? (t.at(-1) / t.at(-2) - 1) * 100 : e.value.style.trendLabel.trendType === "lastToFirst" ? (t.at(-1) / t[0] - 1) * 100 : 0;
|
|
180
|
+
}), A = s(() => T.value || x.value === 0 ? "neutral" : x.value > 0 ? "positive" : "negative"), m = s(() => e.value.style.arrow.colors[A.value]), ge = s(() => {
|
|
181
|
+
const t = { x: a.value[0].x, y: d.value.height - 6 }, l = { x: a.value[a.value.length - 1].x, y: d.value.height - 6 }, n = [];
|
|
182
|
+
return a.value.forEach((v) => {
|
|
183
|
+
n.push(`${v.x},${v.y} `);
|
|
184
|
+
}), [t.x, t.y, ...n, l.x, l.y].toString();
|
|
185
|
+
}), me = s(() => {
|
|
186
|
+
let t = [];
|
|
187
|
+
return a.value.forEach((l) => {
|
|
188
|
+
t.push(`${l.x},${l.y} `);
|
|
189
|
+
}), `M ${t.toString()}`;
|
|
190
|
+
}), f = s(() => w.value / 2 - e.value.style.trendLabel.fontSize), be = s(() => u.value.left * 0.8), { fitText: M } = je({
|
|
191
|
+
svgRef: K,
|
|
192
|
+
unitWidth: be,
|
|
193
|
+
fontSize: e.value.style.trendLabel.fontSize
|
|
194
|
+
}), ke = s(() => {
|
|
195
|
+
if (k.value || T.value)
|
|
196
|
+
return "Trend chart loading";
|
|
197
|
+
const t = a.value?.at(-1), l = t?.value, n = I({
|
|
198
|
+
p: x.value > 0 ? "+" : "",
|
|
199
|
+
v: x.value,
|
|
200
|
+
s: "%",
|
|
201
|
+
r: e.value.style.trendLabel.rounding
|
|
202
|
+
}), v = l == null ? "not available" : ue(
|
|
203
|
+
e.value.style.dataLabel.formatter,
|
|
204
|
+
l,
|
|
205
|
+
I({
|
|
206
|
+
p: e.value.style.dataLabel.prefix,
|
|
207
|
+
v: l,
|
|
208
|
+
s: e.value.style.dataLabel.suffix,
|
|
209
|
+
r: e.value.style.dataLabel.rounding
|
|
210
|
+
}),
|
|
211
|
+
{ datapoint: t }
|
|
212
|
+
);
|
|
213
|
+
return `Progression ${A.value === "positive" ? `up ${n}` : A.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${v}.`;
|
|
214
|
+
}), Y = s(() => `sparktrend-a11y-${$.value}`);
|
|
215
|
+
return (t, l) => (o(), r("div", {
|
|
216
|
+
ref_key: "sparkTrendChart",
|
|
217
|
+
ref: V,
|
|
218
|
+
class: "vue-data-ui-component vue-ui-spark-trend",
|
|
219
|
+
id: $.value,
|
|
220
|
+
style: xe(`width:100%;font-family:${e.value.style.fontFamily};background:${e.value.style.backgroundColor}`),
|
|
221
|
+
role: "img",
|
|
222
|
+
"aria-describedby": Y.value
|
|
223
|
+
}, [
|
|
224
|
+
N("p", {
|
|
225
|
+
id: Y.value,
|
|
226
|
+
class: "sr-only",
|
|
227
|
+
"aria-live": "polite"
|
|
228
|
+
}, Z(ke.value), 9, Ge),
|
|
229
|
+
(o(), r("svg", {
|
|
230
|
+
key: he.value,
|
|
231
|
+
ref_key: "svgRef",
|
|
232
|
+
ref: K,
|
|
233
|
+
xmlns: i(Se),
|
|
234
|
+
viewBox: `0 0 ${d.value.width} ${d.value.height}`,
|
|
235
|
+
style: "width:100%;background:transparent;overflow:visible",
|
|
236
|
+
"aria-hidden": "true"
|
|
237
|
+
}, [
|
|
238
|
+
Le(i(re)),
|
|
239
|
+
t.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
240
|
+
key: 0,
|
|
241
|
+
x: 0,
|
|
242
|
+
y: 0,
|
|
243
|
+
width: d.value.width <= 0 ? 10 : d.value.width,
|
|
244
|
+
height: d.value.height <= 0 ? 10 : d.value.height,
|
|
245
|
+
style: {
|
|
246
|
+
pointerEvents: "none"
|
|
247
|
+
}
|
|
248
|
+
}, [
|
|
249
|
+
H(t.$slots, "chart-background", {}, void 0, !0)
|
|
250
|
+
], 8, Ze)) : y("", !0),
|
|
251
|
+
N("defs", null, [
|
|
252
|
+
N("linearGradient", {
|
|
253
|
+
x1: "0%",
|
|
254
|
+
y1: "0%",
|
|
255
|
+
x2: "0%",
|
|
256
|
+
y2: "100%",
|
|
257
|
+
id: `pill_gradient_${$.value}`
|
|
258
|
+
}, [
|
|
259
|
+
N("stop", {
|
|
260
|
+
offset: "0%",
|
|
261
|
+
"stop-color": i(q)(e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke, e.value.style.area.opacity)
|
|
262
|
+
}, null, 8, We),
|
|
263
|
+
N("stop", {
|
|
264
|
+
offset: "100%",
|
|
265
|
+
"stop-color": e.value.style.backgroundColor
|
|
266
|
+
}, null, 8, qe)
|
|
267
|
+
], 8, He)
|
|
268
|
+
]),
|
|
269
|
+
e.value.style.area.show && a.value[0] ? (o(), r("g", Ue, [
|
|
270
|
+
e.value.style.line.smooth ? (o(), r("path", {
|
|
271
|
+
key: 0,
|
|
272
|
+
d: `M ${a.value[0].x},${u.value.bottom} ${i(se)(a.value)} L ${a.value.at(-1).x},${u.value.bottom} Z`,
|
|
273
|
+
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${$.value})` : i(q)(e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
274
|
+
stroke: "none"
|
|
275
|
+
}, null, 8, Ke)) : (o(), r("path", {
|
|
276
|
+
key: 1,
|
|
277
|
+
d: `M${ge.value}Z`,
|
|
278
|
+
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${$.value})` : i(q)(e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
279
|
+
stroke: "none"
|
|
280
|
+
}, null, 8, Xe))
|
|
281
|
+
])) : y("", !0),
|
|
282
|
+
e.value.style.line.smooth && a.value.length ? (o(), r("path", {
|
|
283
|
+
key: 2,
|
|
284
|
+
d: `M ${i(se)(a.value)}`,
|
|
285
|
+
stroke: e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke,
|
|
286
|
+
fill: "none",
|
|
287
|
+
"stroke-width": e.value.style.line.strokeWidth,
|
|
288
|
+
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
289
|
+
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
290
|
+
}, null, 8, Je)) : y("", !0),
|
|
291
|
+
!e.value.style.line.smooth && a.value.length ? (o(), r("path", {
|
|
292
|
+
key: 3,
|
|
293
|
+
d: me.value,
|
|
294
|
+
stroke: e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke,
|
|
295
|
+
fill: "none",
|
|
296
|
+
"stroke-width": e.value.style.line.strokeWidth,
|
|
297
|
+
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
298
|
+
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
299
|
+
}, null, 8, Qe)) : y("", !0),
|
|
300
|
+
i(k) ? (o(), r("path", {
|
|
301
|
+
key: 4,
|
|
302
|
+
fill: "#6A6A6A",
|
|
303
|
+
d: `M ${u.value.left / 2 + 6}, ${f.value + 7} ${u.value.left / 2 - 7}, ${f.value} ${u.value.left / 2 - 7}, ${f.value + 14} Z`
|
|
304
|
+
}, null, 8, Ye)) : (o(), r("path", {
|
|
305
|
+
key: 5,
|
|
306
|
+
fill: m.value,
|
|
307
|
+
d: A.value === "positive" ? `M ${u.value.left / 2}, ${f.value} ${u.value.left / 2 - 7}, ${f.value + 12} ${u.value.left / 2 + 7}, ${f.value + 12} Z` : A.value === "negative" ? `M ${u.value.left / 2}, ${f.value + 12} ${u.value.left / 2 - 7}, ${f.value} ${u.value.left / 2 + 7}, ${f.value} Z` : `M ${u.value.left / 2 + 6}, ${f.value + 7} ${u.value.left / 2 - 7}, ${f.value} ${u.value.left / 2 - 7}, ${f.value + 14} Z`
|
|
308
|
+
}, null, 8, et)),
|
|
309
|
+
i(k) ? (o(), r("rect", {
|
|
310
|
+
key: 6,
|
|
311
|
+
x: u.value.left / 2 - e.value.style.trendLabel.fontSize - 2,
|
|
312
|
+
y: w.value / 2 + e.value.style.trendLabel.fontSize - 2,
|
|
313
|
+
width: e.value.style.trendLabel.fontSize * 2,
|
|
314
|
+
height: e.value.style.trendLabel.fontSize,
|
|
315
|
+
fill: "#6A6A6A80",
|
|
316
|
+
rx: "3"
|
|
317
|
+
}, null, 8, tt)) : y("", !0),
|
|
318
|
+
!T.value && !i(k) ? (o(), r("text", {
|
|
319
|
+
key: 7,
|
|
320
|
+
class: "vue-ui-sparktrend-progress-label",
|
|
321
|
+
x: u.value.left / 2,
|
|
322
|
+
y: w.value / 2 + e.value.style.trendLabel.fontSize * 2,
|
|
323
|
+
"text-anchor": "middle",
|
|
324
|
+
fill: e.value.style.trendLabel.useColorTrend ? m.value : e.value.style.trendLabel.color,
|
|
325
|
+
"font-size": e.value.style.trendLabel.fontSize,
|
|
326
|
+
"font-weight": e.value.style.trendLabel.bold ? "bold" : "normal"
|
|
327
|
+
}, Z(i(I)({
|
|
328
|
+
p: x.value > 0 ? "+" : "",
|
|
329
|
+
v: x.value,
|
|
330
|
+
s: "%",
|
|
331
|
+
r: e.value.style.trendLabel.rounding
|
|
332
|
+
})), 9, lt)) : y("", !0),
|
|
333
|
+
a.value.length && a.value.at(-1).x !== void 0 ? (o(), r("circle", {
|
|
334
|
+
key: 8,
|
|
335
|
+
stroke: e.value.style.backgroundColor,
|
|
336
|
+
"stroke-width": 2,
|
|
337
|
+
cx: a.value.at(-1).x,
|
|
338
|
+
cy: a.value.at(-1).y,
|
|
339
|
+
r: 4,
|
|
340
|
+
fill: i(k) ? "#6A6A6A" : m.value
|
|
341
|
+
}, null, 8, at)) : y("", !0),
|
|
342
|
+
a.value.length && a.value.at(-1).x !== void 0 && e.value.style.dataLabel.show ? (o(), r("text", {
|
|
343
|
+
key: 9,
|
|
344
|
+
"text-anchor": "middle",
|
|
345
|
+
x: a.value.at(-1).x,
|
|
346
|
+
y: a.value.at(-1).y - e.value.style.dataLabel.fontSize / 1.5,
|
|
347
|
+
"font-size": e.value.style.dataLabel.fontSize,
|
|
348
|
+
fill: e.value.style.dataLabel.useColorTrend ? m.value : e.value.style.dataLabel.color,
|
|
349
|
+
"font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
|
|
350
|
+
}, Z(i(ue)(
|
|
351
|
+
e.value.style.dataLabel.formatter,
|
|
352
|
+
a.value.at(-1).value,
|
|
353
|
+
i(I)({
|
|
354
|
+
p: e.value.style.dataLabel.prefix,
|
|
355
|
+
v: a.value.at(-1).value,
|
|
356
|
+
s: e.value.style.dataLabel.suffix,
|
|
357
|
+
r: e.value.style.dataLabel.rounding
|
|
358
|
+
}),
|
|
359
|
+
{ datapoint: a.value.at(-1) }
|
|
360
|
+
)), 9, nt)) : y("", !0)
|
|
361
|
+
], 8, Pe)),
|
|
362
|
+
t.$slots.source ? (o(), r("div", {
|
|
363
|
+
key: 0,
|
|
364
|
+
ref_key: "source",
|
|
365
|
+
ref: X,
|
|
366
|
+
dir: "auto"
|
|
367
|
+
}, [
|
|
368
|
+
H(t.$slots, "source", {}, void 0, !0)
|
|
369
|
+
], 512)) : y("", !0),
|
|
370
|
+
H(t.$slots, "skeleton", {}, () => [
|
|
371
|
+
i(k) ? (o(), Ce(Ve, { key: 0 })) : y("", !0)
|
|
372
|
+
], !0)
|
|
373
|
+
], 12, Re));
|
|
374
|
+
}
|
|
375
|
+
}, gt = /* @__PURE__ */ Oe(ut, [["__scopeId", "data-v-53283176"]]);
|
|
376
|
+
export {
|
|
377
|
+
gt as default
|
|
378
|
+
};
|