vue-data-ui 3.20.11 → 3.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/{PackageVersion-eS823iMF.js → PackageVersion-DYLo3MRd.js} +1 -1
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/ssr.js +1366 -0
- package/dist/types/ssr.d.ts +128 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-D2dM3IQZ.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
- package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-BVCYywuS.js} +253 -253
- package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
- package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
- package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
- package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
- package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
- package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
- package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-lL0juBzN.js} +20 -20
- package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
- package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
- package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
- package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
- package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
- package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-BXfzMTXx.js} +57 -57
- package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-BpnC82m0.js} +32 -32
- package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
- package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
- package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
- package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
- package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
- package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
- package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
- package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-B9bdicir.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
- package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
- package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
- package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-3fJB4mfC.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
- package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
- package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
- package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
- package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
- package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-BgFO7NYF.js} +81 -81
- package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
- package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
- package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
- package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
- package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
- package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
- package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
- package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
- package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-R-aXpHvF.js} +78 -78
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
- package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
- package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-AlYvthQ6.js} +23 -23
- package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
- package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
- package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
- package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
- package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
- package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-B93iq1ZM.js} +445 -445
- package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
- package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/package.json +5 -1
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
- package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
- package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
- package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
- package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
- package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
- package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
- package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
- package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
- package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
- package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
- package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
- package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
- package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
- package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
- package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
- package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
- package/dist/vue-ui-xy-omDIF90L.js +0 -4744
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { D as t,
|
|
2
|
+
import { D as t, P as n, Pt as r, t as i } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as ee } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
-
import { t as te } from "./useNestedProp-
|
|
4
|
+
import { t as te } from "./useNestedProp-DtcXIg7n.js";
|
|
5
5
|
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
|
-
import { n as o } from "./PackageVersion-
|
|
6
|
+
import { n as o } from "./PackageVersion-DYLo3MRd.js";
|
|
7
7
|
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createStaticVNode as f, createVNode as p, normalizeClass as ne, normalizeStyle as m, openBlock as h, ref as g, renderList as _, unref as v } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-skeleton.vue
|
|
9
9
|
var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae = { transform: "translate(300, 300)" }, oe = [
|
|
@@ -1654,19 +1654,19 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
1654
1654
|
cx: 200,
|
|
1655
1655
|
cy: 200,
|
|
1656
1656
|
r: 180,
|
|
1657
|
-
fill: v(
|
|
1657
|
+
fill: v(r)(q.value.style.rings.color, 40)
|
|
1658
1658
|
}, null, 8, _n),
|
|
1659
1659
|
d("circle", {
|
|
1660
1660
|
cx: 200,
|
|
1661
1661
|
cy: 250,
|
|
1662
1662
|
r: 130,
|
|
1663
|
-
fill: v(
|
|
1663
|
+
fill: v(r)(q.value.style.rings.color, 60)
|
|
1664
1664
|
}, null, 8, vn),
|
|
1665
1665
|
d("circle", {
|
|
1666
1666
|
cx: 200,
|
|
1667
1667
|
cy: 290,
|
|
1668
1668
|
r: 90,
|
|
1669
|
-
fill: v(
|
|
1669
|
+
fill: v(r)(q.value.style.rings.color, 100)
|
|
1670
1670
|
}, null, 8, yn)
|
|
1671
1671
|
], 12, gn)) : l("", !0),
|
|
1672
1672
|
J.value === "wheel" ? (h(), u("svg", {
|
|
@@ -1682,7 +1682,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
1682
1682
|
x2: e.x2,
|
|
1683
1683
|
y1: e.y1,
|
|
1684
1684
|
y2: e.y2,
|
|
1685
|
-
stroke: t < 66 ? e.color : v(
|
|
1685
|
+
stroke: t < 66 ? e.color : v(r)(e.color, 50),
|
|
1686
1686
|
"stroke-width": 5,
|
|
1687
1687
|
"stroke-linecap": "round"
|
|
1688
1688
|
}, null, 8, xn))), 256)),
|
|
@@ -1691,11 +1691,11 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
1691
1691
|
cy: 200,
|
|
1692
1692
|
r: 130,
|
|
1693
1693
|
"stroke-width": 3,
|
|
1694
|
-
stroke: v(
|
|
1694
|
+
stroke: v(r)(q.value.style.wheel.color, 50),
|
|
1695
1695
|
fill: "none"
|
|
1696
1696
|
}, null, 8, Sn),
|
|
1697
1697
|
d("rect", {
|
|
1698
|
-
fill: v(
|
|
1698
|
+
fill: v(r)(q.value.style.wheel.color, 50),
|
|
1699
1699
|
rx: 12,
|
|
1700
1700
|
x: 160,
|
|
1701
1701
|
y: 170,
|
|
@@ -1808,14 +1808,14 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
1808
1808
|
width: "100%",
|
|
1809
1809
|
viewBox: `0 0 ${10 * q.value.style.heatmap.cellsX} ${10 * q.value.style.heatmap.cellsY}`,
|
|
1810
1810
|
style: m(`background:${q.value.style.backgroundColor}`)
|
|
1811
|
-
}, [p(o), (h(!0), u(s, null, _(q.value.style.heatmap.cellsY, (e, t) => (h(), u("g", null, [(h(!0), u(s, null, _(q.value.style.heatmap.cellsX, (e,
|
|
1812
|
-
x:
|
|
1811
|
+
}, [p(o), (h(!0), u(s, null, _(q.value.style.heatmap.cellsY, (e, t) => (h(), u("g", null, [(h(!0), u(s, null, _(q.value.style.heatmap.cellsX, (e, n) => (h(), u("g", null, [d("rect", {
|
|
1812
|
+
x: n * 10,
|
|
1813
1813
|
y: t * 10,
|
|
1814
1814
|
height: 10,
|
|
1815
1815
|
width: 10,
|
|
1816
1816
|
stroke: q.value.style.backgroundColor,
|
|
1817
1817
|
"stroke-width": 1,
|
|
1818
|
-
fill: v(
|
|
1818
|
+
fill: v(r)(q.value.style.heatmap.color, Math.round(Math.random() * 100))
|
|
1819
1819
|
}, null, 8, Ln)]))), 256))]))), 256))], 12, In)) : l("", !0),
|
|
1820
1820
|
J.value === "chestnut" ? (h(), u("svg", {
|
|
1821
1821
|
key: 25,
|
|
@@ -1825,14 +1825,14 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
1825
1825
|
style: m(`background:${q.value.style.backgroundColor}`)
|
|
1826
1826
|
}, [
|
|
1827
1827
|
p(o),
|
|
1828
|
-
(h(!0), u(s, null, _(Y.value, (e) => (h(), u("g", null, [(h(!0), u(s, null, _(e.bars, (t) => (h(), u("g", null, [(h(), u(s, null, _(22, (
|
|
1828
|
+
(h(!0), u(s, null, _(Y.value, (e) => (h(), u("g", null, [(h(!0), u(s, null, _(e.bars, (t) => (h(), u("g", null, [(h(), u(s, null, _(22, (n, i) => d("path", {
|
|
1829
1829
|
d: `M
|
|
1830
1830
|
${t.x},${t.y + i}
|
|
1831
1831
|
C${t.x - 20},${t.y + i}
|
|
1832
1832
|
${t.x - 80},${t.y + i}
|
|
1833
1833
|
${e.root.x + e.root.r / 2}, ${e.root.y}
|
|
1834
1834
|
`,
|
|
1835
|
-
stroke: v(
|
|
1835
|
+
stroke: v(r)(q.value.style.chestnut.color, t.opacity * .2),
|
|
1836
1836
|
fill: "none",
|
|
1837
1837
|
"stroke-width": "2",
|
|
1838
1838
|
"shape-rendering": "cirspEdges"
|
|
@@ -1849,7 +1849,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
1849
1849
|
cx: e.root.x,
|
|
1850
1850
|
cy: e.root.y,
|
|
1851
1851
|
r: e.root.r,
|
|
1852
|
-
fill: v(
|
|
1852
|
+
fill: v(r)(q.value.style.chestnut.color, e.root.opacity),
|
|
1853
1853
|
stroke: q.value.style.backgroundColor,
|
|
1854
1854
|
"stroke-width": 3
|
|
1855
1855
|
}, null, 8, Vn))), 256)),
|
|
@@ -1860,13 +1860,13 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
1860
1860
|
y: e.y,
|
|
1861
1861
|
width: e.width,
|
|
1862
1862
|
height: 22,
|
|
1863
|
-
fill: v(
|
|
1863
|
+
fill: v(r)(q.value.style.chestnut.color, e.opacity)
|
|
1864
1864
|
}, null, 8, Hn))), 256)),
|
|
1865
1865
|
(h(!0), u(s, null, _(e.bars, (e) => (h(), u("circle", {
|
|
1866
1866
|
cx: e.x + e.width + 32,
|
|
1867
1867
|
cy: e.y + 11,
|
|
1868
1868
|
r: 11,
|
|
1869
|
-
fill: v(
|
|
1869
|
+
fill: v(r)(q.value.style.chestnut.color, e.opacity)
|
|
1870
1870
|
}, null, 8, Un))), 256)),
|
|
1871
1871
|
(h(!0), u(s, null, _(e.bars, (e) => (h(), u("circle", {
|
|
1872
1872
|
cx: e.x + e.width + 32,
|
|
@@ -2053,13 +2053,13 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2053
2053
|
d: " M 113 250 A 100 100 0 0 1 250 113",
|
|
2054
2054
|
fill: "none",
|
|
2055
2055
|
"stroke-width": q.value.style.donut.strokeWidth,
|
|
2056
|
-
stroke: v(
|
|
2056
|
+
stroke: v(r)(q.value.style.donut.color, 60)
|
|
2057
2057
|
}, null, 8, _r),
|
|
2058
2058
|
d("path", {
|
|
2059
2059
|
d: " M 250 113 A 100 100 0 0 1 300 200",
|
|
2060
2060
|
fill: "none",
|
|
2061
2061
|
"stroke-width": q.value.style.donut.strokeWidth,
|
|
2062
|
-
stroke: v(
|
|
2062
|
+
stroke: v(r)(q.value.style.donut.color, 30)
|
|
2063
2063
|
}, null, 8, vr)
|
|
2064
2064
|
], 12, hr)) : l("", !0),
|
|
2065
2065
|
J.value === "onion" ? (h(), u("svg", {
|
|
@@ -2079,7 +2079,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2079
2079
|
}, null, 8, br),
|
|
2080
2080
|
d("path", {
|
|
2081
2081
|
d: " M 200 100 A 100 100 0 1 1 100 200",
|
|
2082
|
-
stroke: v(
|
|
2082
|
+
stroke: v(r)(q.value.style.onion.color, 60),
|
|
2083
2083
|
"stroke-linecap": "round",
|
|
2084
2084
|
"stroke-width": "20",
|
|
2085
2085
|
fill: "none"
|
|
@@ -2087,7 +2087,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2087
2087
|
d("path", {
|
|
2088
2088
|
d: " M 200 140 A 60 60 0 1 1 140 200",
|
|
2089
2089
|
fill: "none",
|
|
2090
|
-
stroke: v(
|
|
2090
|
+
stroke: v(r)(q.value.style.onion.color, 40),
|
|
2091
2091
|
"stroke-linecap": "round",
|
|
2092
2092
|
"stroke-width": "20"
|
|
2093
2093
|
}, null, 8, Sr)
|
|
@@ -2218,7 +2218,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2218
2218
|
d("path", {
|
|
2219
2219
|
d: Di.value,
|
|
2220
2220
|
fill: "none",
|
|
2221
|
-
stroke: v(
|
|
2221
|
+
stroke: v(r)(q.value.style.radar.grid.color, 70),
|
|
2222
2222
|
"stroke-width": q.value.style.radar.grid.strokeWidth / 2,
|
|
2223
2223
|
"stroke-linecap": "round",
|
|
2224
2224
|
"stroke-linejoin": "round"
|
|
@@ -2226,7 +2226,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2226
2226
|
d("path", {
|
|
2227
2227
|
d: Oi.value,
|
|
2228
2228
|
fill: "none",
|
|
2229
|
-
stroke: v(
|
|
2229
|
+
stroke: v(r)(q.value.style.radar.grid.color, 70),
|
|
2230
2230
|
"stroke-width": q.value.style.radar.grid.strokeWidth / 2,
|
|
2231
2231
|
"stroke-linecap": "round",
|
|
2232
2232
|
"stroke-linejoin": "round"
|
|
@@ -2234,37 +2234,37 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2234
2234
|
d("path", {
|
|
2235
2235
|
d: ki.value,
|
|
2236
2236
|
fill: "none",
|
|
2237
|
-
stroke: v(
|
|
2237
|
+
stroke: v(r)(q.value.style.radar.grid.color, 70),
|
|
2238
2238
|
"stroke-width": q.value.style.radar.grid.strokeWidth / 2.5,
|
|
2239
2239
|
"stroke-linecap": "round",
|
|
2240
2240
|
"stroke-linejoin": "round"
|
|
2241
2241
|
}, null, 8, Hr),
|
|
2242
2242
|
d("path", {
|
|
2243
2243
|
d: "M 9,50 91,50",
|
|
2244
|
-
stroke: v(
|
|
2244
|
+
stroke: v(r)(q.value.style.radar.grid.color, 50),
|
|
2245
2245
|
"stroke-width": q.value.style.radar.grid.strokeWidth / 2
|
|
2246
2246
|
}, null, 8, Ur),
|
|
2247
2247
|
d("path", {
|
|
2248
2248
|
d: "M 29.5,14.5 70.5 85.5",
|
|
2249
|
-
stroke: v(
|
|
2249
|
+
stroke: v(r)(q.value.style.radar.grid.color, 50),
|
|
2250
2250
|
"stroke-width": q.value.style.radar.grid.strokeWidth / 2
|
|
2251
2251
|
}, null, 8, Wr),
|
|
2252
2252
|
d("path", {
|
|
2253
2253
|
d: "M 29.5,85.5 70.5 14.5",
|
|
2254
|
-
stroke: v(
|
|
2254
|
+
stroke: v(r)(q.value.style.radar.grid.color, 50),
|
|
2255
2255
|
"stroke-width": q.value.style.radar.grid.strokeWidth / 2
|
|
2256
2256
|
}, null, 8, Gr),
|
|
2257
2257
|
d("path", {
|
|
2258
2258
|
d: "M 34,23 68.5,18, 70,50 61.5,70 35,75.5 10,50 Z",
|
|
2259
2259
|
stroke: "none",
|
|
2260
2260
|
"stroke-linejoin": "round",
|
|
2261
|
-
fill: v(
|
|
2261
|
+
fill: v(r)(q.value.style.radar.shapes.color, 30)
|
|
2262
2262
|
}, null, 8, Kr),
|
|
2263
2263
|
d("path", {
|
|
2264
2264
|
d: "M 43.5,40 64.5,25, 84,50 55.5,60 29.5,85.5 25,50 Z",
|
|
2265
2265
|
stroke: "none",
|
|
2266
2266
|
"stroke-linejoin": "round",
|
|
2267
|
-
fill: v(
|
|
2267
|
+
fill: v(r)(q.value.style.radar.shapes.color, 50)
|
|
2268
2268
|
}, null, 8, qr)
|
|
2269
2269
|
], 12, Rr)) : l("", !0),
|
|
2270
2270
|
J.value === "waffle" ? (h(), u("svg", {
|
|
@@ -2274,30 +2274,30 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2274
2274
|
style: m(`background:${q.value.style.backgroundColor}`)
|
|
2275
2275
|
}, [
|
|
2276
2276
|
p(o),
|
|
2277
|
-
(h(), u(s, null, _(10, (e, t) => d("g", null, [(h(), u(s, null, _(10, (e,
|
|
2278
|
-
x: 3 +
|
|
2277
|
+
(h(), u(s, null, _(10, (e, t) => d("g", null, [(h(), u(s, null, _(10, (e, n) => d("g", null, [d("rect", {
|
|
2278
|
+
x: 3 + n * 9.5,
|
|
2279
2279
|
y: 3 + t * 9.5,
|
|
2280
2280
|
height: 9,
|
|
2281
2281
|
width: 9,
|
|
2282
|
-
fill: v(
|
|
2282
|
+
fill: v(r)(q.value.style.waffle.color, 20),
|
|
2283
2283
|
rx: "1"
|
|
2284
2284
|
}, null, 8, Yr)])), 64))])), 64)),
|
|
2285
|
-
(h(), u(s, null, _(10, (e, t) => d("g", null, [(h(), u(s, null, _(10, (e,
|
|
2285
|
+
(h(), u(s, null, _(10, (e, t) => d("g", null, [(h(), u(s, null, _(10, (e, n) => d("g", null, [t > 2 ? (h(), u("rect", {
|
|
2286
2286
|
key: 0,
|
|
2287
|
-
x: 3 +
|
|
2287
|
+
x: 3 + n * 9.5,
|
|
2288
2288
|
y: 3 + t * 9.5,
|
|
2289
2289
|
height: 9,
|
|
2290
2290
|
width: 9,
|
|
2291
|
-
fill: v(
|
|
2291
|
+
fill: v(r)(q.value.style.waffle.color, 30),
|
|
2292
2292
|
rx: "1"
|
|
2293
2293
|
}, null, 8, Xr)) : l("", !0)])), 64))])), 64)),
|
|
2294
|
-
(h(), u(s, null, _(10, (e, t) => d("g", null, [(h(), u(s, null, _(10, (e,
|
|
2294
|
+
(h(), u(s, null, _(10, (e, t) => d("g", null, [(h(), u(s, null, _(10, (e, n) => d("g", null, [t > 6 ? (h(), u("rect", {
|
|
2295
2295
|
key: 0,
|
|
2296
|
-
x: 3 +
|
|
2296
|
+
x: 3 + n * 9.5,
|
|
2297
2297
|
y: 3 + t * 9.5,
|
|
2298
2298
|
height: 9,
|
|
2299
2299
|
width: 9,
|
|
2300
|
-
fill: v(
|
|
2300
|
+
fill: v(r)(q.value.style.waffle.color, 50),
|
|
2301
2301
|
rx: "1"
|
|
2302
2302
|
}, null, 8, Zr)) : l("", !0)])), 64))])), 64))
|
|
2303
2303
|
], 12, Jr)) : l("", !0),
|
|
@@ -2310,14 +2310,14 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2310
2310
|
}, [
|
|
2311
2311
|
p(o),
|
|
2312
2312
|
d("rect", {
|
|
2313
|
-
fill: v(
|
|
2313
|
+
fill: v(r)(q.value.style.table.th.color, 50),
|
|
2314
2314
|
x: 3.5,
|
|
2315
2315
|
y: 5,
|
|
2316
2316
|
height: "10",
|
|
2317
2317
|
width: "93"
|
|
2318
2318
|
}, null, 8, $r),
|
|
2319
2319
|
d("rect", {
|
|
2320
|
-
fill: v(
|
|
2320
|
+
fill: v(r)(q.value.style.table.th.color, 50),
|
|
2321
2321
|
x: 3.5,
|
|
2322
2322
|
y: 15,
|
|
2323
2323
|
height: "50",
|
|
@@ -2511,7 +2511,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2511
2511
|
viewBox: "0 0 100 30",
|
|
2512
2512
|
style: m(`background:${q.value.style.backgroundColor};max-width:${q.value.style.rating.maxWidth}px`)
|
|
2513
2513
|
}, [p(o), (h(), u(s, null, _(5, (e, t) => d("polygon", {
|
|
2514
|
-
points: v(
|
|
2514
|
+
points: v(n)({
|
|
2515
2515
|
plot: {
|
|
2516
2516
|
x: 10 + t * 20,
|
|
2517
2517
|
y: 15
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Ft as t, G as n, Tt as r, X as i, i as a, t as o } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as s } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
-
import { t as c } from "./useNestedProp-
|
|
4
|
+
import { t as c } from "./useNestedProp-DtcXIg7n.js";
|
|
5
5
|
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
6
|
import { Fragment as u, computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, normalizeClass as _, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, unref as T, useSlots as E, watch as D, withCtx as O, withKeys as k } from "vue";
|
|
7
7
|
//#region src/atoms/BaseSmilingUnit.vue
|
|
@@ -27,13 +27,13 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
27
27
|
"mouseenter",
|
|
28
28
|
"mouseleave"
|
|
29
29
|
],
|
|
30
|
-
setup(e, { emit:
|
|
31
|
-
let
|
|
32
|
-
return (
|
|
30
|
+
setup(e, { emit: n }) {
|
|
31
|
+
let r = e, i = n;
|
|
32
|
+
return (n, a) => (b(), p("div", {
|
|
33
33
|
tabindex: "0",
|
|
34
34
|
class: _({ "vue-ui-smiley-rated": !e.config.readonly && e.currentRating === e.unit }),
|
|
35
35
|
style: v({
|
|
36
|
-
cursor: e.config.readonly ? "default" :
|
|
36
|
+
cursor: e.config.readonly ? "default" : r.isCursorPointer ? "pointer" : "default",
|
|
37
37
|
height: e.config.style.itemSize + "px",
|
|
38
38
|
aspectRatio: "1/1",
|
|
39
39
|
position: "relative"
|
|
@@ -70,7 +70,7 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
70
70
|
color: e.config.style.tooltip.color
|
|
71
71
|
}) }, [
|
|
72
72
|
m("span", { style: v(`font-size:${e.config.style.tooltip.fontSize}px`) }, w(e.unit) + ":", 5),
|
|
73
|
-
m("span", { style: v(`font-weight:${e.config.style.tooltip.bold ? "bold" : "normal"};font-size:${e.config.style.tooltip.fontSize}px`) }, [C(
|
|
73
|
+
m("span", { style: v(`font-weight:${e.config.style.tooltip.bold ? "bold" : "normal"};font-size:${e.config.style.tooltip.fontSize}px`) }, [C(n.$slots, "rating", {}, void 0, !0)], 4),
|
|
74
74
|
m("div", { style: v(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${e.config.style.tooltip.borderColor}`) }, " ▼ ", 4)
|
|
75
75
|
], 4)], 4)) : f("", !0),
|
|
76
76
|
e.config.style.icons.filled ? (b(), p("svg", {
|
|
@@ -91,11 +91,11 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
91
91
|
"stroke-linejoin": "round"
|
|
92
92
|
}, [m("defs", null, [m("radialGradient", { id: `vueUiSmiley${e.unit - 1}` }, [m("stop", {
|
|
93
93
|
offset: "0%",
|
|
94
|
-
"stop-color": T(
|
|
94
|
+
"stop-color": T(t)(e.config.style.colors.active[e.unit - 1], .05)
|
|
95
95
|
}, null, 8, M), m("stop", {
|
|
96
96
|
offset: "100%",
|
|
97
97
|
"stop-color": e.config.style.colors.active[e.unit - 1]
|
|
98
|
-
}, null, 8, N)], 8, j)]), C(
|
|
98
|
+
}, null, 8, N)], 8, j)]), C(n.$slots, "path-icon-filled", {}, void 0, !0)], 8, A)) : (b(), p("svg", {
|
|
99
99
|
key: 2,
|
|
100
100
|
style: {
|
|
101
101
|
position: "absolute",
|
|
@@ -110,7 +110,7 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
110
110
|
fill: "none",
|
|
111
111
|
"stroke-linecap": "round",
|
|
112
112
|
"stroke-linejoin": "round"
|
|
113
|
-
}, [C(
|
|
113
|
+
}, [C(n.$slots, "path-icon", {}, void 0, !0)], 8, P)),
|
|
114
114
|
e.config.style.icons.filled && e.isReadonly ? (b(), p("svg", {
|
|
115
115
|
key: 3,
|
|
116
116
|
xmlns: T(o),
|
|
@@ -129,11 +129,11 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
129
129
|
"stroke-linejoin": "round"
|
|
130
130
|
}, [m("defs", null, [m("radialGradient", { id: `vueUiSmiley${e.unit - 1}` }, [m("stop", {
|
|
131
131
|
offset: "0%",
|
|
132
|
-
"stop-color": T(
|
|
132
|
+
"stop-color": T(t)(e.config.style.colors.activeReadonly[e.unit - 1], .05)
|
|
133
133
|
}, null, 8, L), m("stop", {
|
|
134
134
|
offset: "100%",
|
|
135
135
|
"stop-color": e.config.style.colors.activeReadonly[e.unit - 1]
|
|
136
|
-
}, null, 8, R)], 8, I)]), C(
|
|
136
|
+
}, null, 8, R)], 8, I)]), C(n.$slots, "path-icon-filled-readonly", {}, void 0, !0)], 8, F)) : f("", !0),
|
|
137
137
|
!e.config.style.icons.filled && e.isReadonly ? (b(), p("svg", {
|
|
138
138
|
key: 4,
|
|
139
139
|
style: {
|
|
@@ -149,7 +149,7 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
149
149
|
fill: "none",
|
|
150
150
|
"stroke-linecap": "round",
|
|
151
151
|
"stroke-linejoin": "round"
|
|
152
|
-
}, [C(
|
|
152
|
+
}, [C(n.$slots, "path-icon-readonly", {}, void 0, !0)], 8, z)) : f("", !0)
|
|
153
153
|
], 38));
|
|
154
154
|
}
|
|
155
155
|
}, [["__scopeId", "data-v-e3093b6c"]]), V = /* @__PURE__ */ e({ default: () => q }), H = {
|
|
@@ -173,13 +173,13 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
175
|
emits: ["rate"],
|
|
176
|
-
setup(e, { expose:
|
|
176
|
+
setup(e, { expose: t, emit: o }) {
|
|
177
177
|
let { vue_ui_smiley: l } = s(), _ = e, C = E(), T = o, k = x(null);
|
|
178
178
|
y(() => {
|
|
179
179
|
C["chart-background"] && console.warn("VueUiSmiley does not support the #chart-background slot.");
|
|
180
180
|
});
|
|
181
181
|
function A() {
|
|
182
|
-
(!Object.hasOwn(_.dataset, "rating") ||
|
|
182
|
+
(!Object.hasOwn(_.dataset, "rating") || r(_.dataset)) && i({
|
|
183
183
|
componentName: "VueUiSmiley",
|
|
184
184
|
type: "datasetAttribute",
|
|
185
185
|
property: "rating"
|
|
@@ -273,7 +273,7 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
273
273
|
function Z(e = !0) {
|
|
274
274
|
L.value = e;
|
|
275
275
|
}
|
|
276
|
-
return
|
|
276
|
+
return t({
|
|
277
277
|
getData: X,
|
|
278
278
|
toggleReadonly: Z
|
|
279
279
|
}), (e, t) => (b(), p("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { G as t, H as n, Ht as r, Pt as i, Tt as a, X as ee, bt as o, i as s, k as c, m as te, t as ne, v as l } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as re } from "./useConfig-DnH7Pf_2.js";
|
|
4
4
|
import { n as ie, t as ae } from "./BaseScanner-Dr2a1Msy.js";
|
|
5
|
-
import { t as u } from "./useNestedProp-
|
|
5
|
+
import { t as u } from "./useNestedProp-DtcXIg7n.js";
|
|
6
6
|
import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
|
|
7
7
|
import { t as d } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
8
|
import { c as se } from "./canvas-lib-BOP_HS11.js";
|
|
@@ -63,7 +63,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
setup(e) {
|
|
66
|
-
let d = me(() => import("./PackageVersion-
|
|
66
|
+
let d = me(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), { vue_ui_spark_trend: S } = re(), { isThemeValid: C, warnInvalidTheme: Le } = oe(), w = le(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(n()), M = _(I()), Be = f(() => r({
|
|
67
67
|
defaultConfig: { style: {
|
|
68
68
|
animation: { show: !1 },
|
|
69
69
|
backgroundColor: "#99999930",
|
|
@@ -96,7 +96,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
96
96
|
144,
|
|
97
97
|
233
|
|
98
98
|
],
|
|
99
|
-
skeletonConfig:
|
|
99
|
+
skeletonConfig: r({
|
|
100
100
|
defaultConfig: M.value,
|
|
101
101
|
userConfig: Be.value
|
|
102
102
|
})
|
|
@@ -117,7 +117,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
117
117
|
defaultConfig: n
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
|
-
let L = f(() =>
|
|
120
|
+
let L = f(() => o({
|
|
121
121
|
data: P.value,
|
|
122
122
|
threshold: M.value.downsample.threshold
|
|
123
123
|
}));
|
|
@@ -125,9 +125,9 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
125
125
|
M.value = I(), H.value = M.value.style.width, U.value = M.value.style.height, V();
|
|
126
126
|
}, { deep: !0 });
|
|
127
127
|
function R(e) {
|
|
128
|
-
return e.map((e) =>
|
|
128
|
+
return e.map((e) => l(e));
|
|
129
129
|
}
|
|
130
|
-
let z = _(
|
|
130
|
+
let z = _(o({
|
|
131
131
|
data: P.value,
|
|
132
132
|
threshold: M.value.downsample.threshold
|
|
133
133
|
}).map((e) => M.value.style.animation.show && !w.value || [
|
|
@@ -148,7 +148,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
148
148
|
deep: !0,
|
|
149
149
|
immediate: !0
|
|
150
150
|
}), x(() => JSON.stringify(T.dataset), () => {
|
|
151
|
-
A.value &&= (cancelAnimationFrame(A.value), null), F.value =
|
|
151
|
+
A.value &&= (cancelAnimationFrame(A.value), null), F.value = a(T.dataset);
|
|
152
152
|
let e = L.value;
|
|
153
153
|
z.value = M.value.style.animation.show && !w.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(), he(() => $(".vue-ui-sparktrend-progress-label", 6));
|
|
154
154
|
}, {
|
|
@@ -173,11 +173,11 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
173
173
|
});
|
|
174
174
|
let Ve = f(() => M.value.debug);
|
|
175
175
|
function V() {
|
|
176
|
-
if (
|
|
176
|
+
if (a(T.dataset) && (ee({
|
|
177
177
|
componentName: "VueUiSparkTrend",
|
|
178
178
|
type: "dataset",
|
|
179
179
|
debug: Ve.value
|
|
180
|
-
}), F.value = !0),
|
|
180
|
+
}), F.value = !0), a(T.dataset) || (F.value = !1), M.value.responsive) {
|
|
181
181
|
let e = se(() => {
|
|
182
182
|
let { width: e, height: t } = ce({
|
|
183
183
|
chart: E.value,
|
|
@@ -242,12 +242,12 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
242
242
|
-Infinity
|
|
243
243
|
].includes(e) ? 0 : e || 0;
|
|
244
244
|
return {
|
|
245
|
-
value:
|
|
246
|
-
absoluteValue:
|
|
247
|
-
plotValue:
|
|
245
|
+
value: l(e),
|
|
246
|
+
absoluteValue: l(n),
|
|
247
|
+
plotValue: l(n + q.value),
|
|
248
248
|
toMax: We(n + q.value),
|
|
249
|
-
x: G.value.left +
|
|
250
|
-
y: G.value.bottom -
|
|
249
|
+
x: G.value.left + l(t * (G.value.width / (Ge.value - 1))) - M.value.style.padding.right,
|
|
250
|
+
y: G.value.bottom - l(G.value.height * We(n + q.value))
|
|
251
251
|
};
|
|
252
252
|
})), Y = f(() => {
|
|
253
253
|
let e = R(L.value);
|
|
@@ -280,20 +280,20 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
280
280
|
fontSize: M.value.style.trendLabel.fontSize
|
|
281
281
|
}), Je = f(() => {
|
|
282
282
|
if (N.value || k.value) return "Trend chart loading";
|
|
283
|
-
let e = J.value?.at(-1),
|
|
283
|
+
let e = J.value?.at(-1), n = e?.value, r = t({
|
|
284
284
|
p: Y.value > 0 ? "+" : "",
|
|
285
285
|
v: Y.value,
|
|
286
286
|
s: "%",
|
|
287
287
|
r: M.value.style.trendLabel.rounding
|
|
288
|
-
}), i =
|
|
288
|
+
}), i = n == null ? "not available" : s(M.value.style.dataLabel.formatter, n, t({
|
|
289
289
|
p: M.value.style.dataLabel.prefix,
|
|
290
|
-
v:
|
|
290
|
+
v: n,
|
|
291
291
|
s: M.value.style.dataLabel.suffix,
|
|
292
292
|
r: M.value.style.dataLabel.rounding
|
|
293
293
|
}), { datapoint: e });
|
|
294
|
-
return `Progression ${X.value === "positive" ? `up ${
|
|
294
|
+
return `Progression ${X.value === "positive" ? `up ${r}` : X.value === "negative" ? `down ${r}` : `stable at ${r}`}. Last value ${i}.`;
|
|
295
295
|
}), Ye = f(() => `sparktrend-a11y-${j.value}`);
|
|
296
|
-
return (e,
|
|
296
|
+
return (e, n) => (g(), m("div", {
|
|
297
297
|
ref_key: "sparkTrendChart",
|
|
298
298
|
ref: E,
|
|
299
299
|
class: "vue-data-ui-component vue-ui-spark-trend",
|
|
@@ -333,25 +333,25 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
333
333
|
id: `pill_gradient_${j.value}`
|
|
334
334
|
}, [h("stop", {
|
|
335
335
|
offset: "0%",
|
|
336
|
-
"stop-color": b(
|
|
336
|
+
"stop-color": b(i)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity)
|
|
337
337
|
}, null, 8, we), h("stop", {
|
|
338
338
|
offset: "100%",
|
|
339
339
|
"stop-color": M.value.style.backgroundColor
|
|
340
340
|
}, null, 8, Te)], 8, Ce)]),
|
|
341
341
|
M.value.style.area.show && J.value[0] ? (g(), m("g", Ee, [M.value.style.line.smooth ? (g(), m("path", {
|
|
342
342
|
key: 0,
|
|
343
|
-
d: `M ${J.value[0].x},${G.value.bottom} ${b(
|
|
344
|
-
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(
|
|
343
|
+
d: `M ${J.value[0].x},${G.value.bottom} ${b(c)(J.value)} L ${J.value.at(-1).x},${G.value.bottom} Z`,
|
|
344
|
+
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(i)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
345
345
|
stroke: "none"
|
|
346
346
|
}, null, 8, De)) : (g(), m("path", {
|
|
347
347
|
key: 1,
|
|
348
348
|
d: `M${Ke.value}Z`,
|
|
349
|
-
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(
|
|
349
|
+
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(i)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
350
350
|
stroke: "none"
|
|
351
351
|
}, null, 8, Oe))])) : p("", !0),
|
|
352
352
|
M.value.style.line.smooth && J.value.length ? (g(), m("path", {
|
|
353
353
|
key: 2,
|
|
354
|
-
d: `M ${b(
|
|
354
|
+
d: `M ${b(c)(J.value)}`,
|
|
355
355
|
stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
|
|
356
356
|
fill: "none",
|
|
357
357
|
"stroke-width": M.value.style.line.strokeWidth,
|
|
@@ -394,7 +394,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
394
394
|
fill: M.value.style.trendLabel.useColorTrend ? Z.value : M.value.style.trendLabel.color,
|
|
395
395
|
"font-size": M.value.style.trendLabel.fontSize,
|
|
396
396
|
"font-weight": M.value.style.trendLabel.bold ? "bold" : "normal"
|
|
397
|
-
}, y(b(
|
|
397
|
+
}, y(b(t)({
|
|
398
398
|
p: Y.value > 0 ? "+" : "",
|
|
399
399
|
v: Y.value,
|
|
400
400
|
s: "%",
|
|
@@ -417,7 +417,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
417
417
|
"font-size": M.value.style.dataLabel.fontSize,
|
|
418
418
|
fill: M.value.style.dataLabel.useColorTrend ? Z.value : M.value.style.dataLabel.color,
|
|
419
419
|
"font-weight": M.value.style.dataLabel.bold ? "bold" : "normal"
|
|
420
|
-
}, y(b(
|
|
420
|
+
}, y(b(s)(M.value.style.dataLabel.formatter, J.value.at(-1).value, b(t)({
|
|
421
421
|
p: M.value.style.dataLabel.prefix,
|
|
422
422
|
v: J.value.at(-1).value,
|
|
423
423
|
s: M.value.style.dataLabel.suffix,
|