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.
Files changed (218) hide show
  1. package/README.md +132 -59
  2. package/dist/A11yDataTable-KcVAX2cP.js +54 -0
  3. package/dist/{Arrow-DlPyR6HQ.js → Arrow-Bn-9n3bm.js} +1 -1
  4. package/dist/{BaseDraggableDialog-DSpKTn3R.js → BaseDraggableDialog-CIb-iD9g.js} +2 -2
  5. package/dist/{BaseIcon-CNx8Tzl5.js → BaseIcon-Cb3zzG6s.js} +1 -1
  6. package/dist/{BaseLegendToggle-Y61xahI4.js → BaseLegendToggle-BQVIawmA.js} +1 -1
  7. package/dist/{BaseZoomControls-CoFievy9.js → BaseZoomControls-DievbOeJ.js} +2 -2
  8. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  9. package/dist/{DataTable-Bo1pmAqG.js → DataTable-DT2kIdQ6.js} +2 -2
  10. package/dist/Legend-CS7Xo5LK.js +101 -0
  11. package/dist/{NonSvgPenAndPaper-CGk_xThe.js → NonSvgPenAndPaper-VyJFyJ6X.js} +3 -3
  12. package/dist/{PackageVersion-DN9d0ME5.js → PackageVersion-DPO-OOVI.js} +1 -1
  13. package/dist/{PenAndPaper-DWV1FMIi.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  14. package/dist/{Shape-CSyWYgXc.js → Shape-BKRUOeKk.js} +1 -1
  15. package/dist/{Slicer-DZJA9IG-.js → Slicer-DUycDH_N.js} +2 -2
  16. package/dist/{SlicerPreview-I2J0UUF_.js → SlicerPreview-DTjwV0iY.js} +2 -2
  17. package/dist/{SparkTooltip-BiseJed3.js → SparkTooltip-BorBpltj.js} +1 -1
  18. package/dist/{Title-BfyrP-jp.js → Title-BeMKE1cj.js} +1 -1
  19. package/dist/{Tooltip-DL3QgjZf.js → Tooltip-Bf-kM3_A.js} +86 -68
  20. package/dist/{UserOptions-CrLqEimB.js → UserOptions-rW2fRf3V.js} +228 -222
  21. package/dist/components/arrow.js +1 -1
  22. package/dist/components/vue-ui-3d-bar.js +1 -1
  23. package/dist/components/vue-ui-accordion.js +1 -1
  24. package/dist/components/vue-ui-age-pyramid.js +1 -1
  25. package/dist/components/vue-ui-annotator.js +1 -1
  26. package/dist/components/vue-ui-bullet.js +1 -1
  27. package/dist/components/vue-ui-bump.js +1 -1
  28. package/dist/components/vue-ui-candlestick.js +1 -1
  29. package/dist/components/vue-ui-carousel-table.js +1 -1
  30. package/dist/components/vue-ui-chestnut.js +1 -1
  31. package/dist/components/vue-ui-chord.js +1 -1
  32. package/dist/components/vue-ui-circle-pack.js +1 -1
  33. package/dist/components/vue-ui-cursor.js +1 -1
  34. package/dist/components/vue-ui-dag.js +1 -1
  35. package/dist/components/vue-ui-dashboard.js +1 -1
  36. package/dist/components/vue-ui-digits.js +1 -1
  37. package/dist/components/vue-ui-donut-evolution.js +1 -1
  38. package/dist/components/vue-ui-donut.js +1 -1
  39. package/dist/components/vue-ui-dumbbell.js +1 -1
  40. package/dist/components/vue-ui-flow.js +1 -1
  41. package/dist/components/vue-ui-funnel.js +1 -1
  42. package/dist/components/vue-ui-galaxy.js +1 -1
  43. package/dist/components/vue-ui-gauge.js +1 -1
  44. package/dist/components/vue-ui-geo.js +1 -1
  45. package/dist/components/vue-ui-gizmo.js +1 -1
  46. package/dist/components/vue-ui-heatmap.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BAqzNjb1.js → dom-to-png-CtxhhdWb.js} +1 -1
  91. package/dist/{exposedLib-H4lmBl1t.js → exposedLib-DlqmhBx3.js} +1 -1
  92. package/dist/{img-BYYzY_QU.js → img-LXxMLmCg.js} +1 -1
  93. package/dist/{labelUtils-CTXUc3V9.js → labelUtils-CqTHa20R.js} +1 -1
  94. package/dist/{lib-GwPnJSrY.js → lib-DBptbyyI.js} +106 -84
  95. package/dist/{pdf-z-YiJeJQ.js → pdf-B4tTdfvl.js} +1 -1
  96. package/dist/style.css +1 -1
  97. package/dist/types/vue-data-ui.d.ts +59 -0
  98. package/dist/{useAutoSizeLabelsInsideViewbox-80fzdfxt.js → useAutoSizeLabelsInsideViewbox-DX7LdvFX.js} +1 -1
  99. package/dist/{useConfig-CIgyKZ6R.js → useConfig-DO94Aj5s.js} +953 -700
  100. package/dist/{useNestedProp-BBT0mbHh.js → useNestedProp-Bf5XFbs8.js} +1 -1
  101. package/dist/{useObjectBindings-BlXBVtRa.js → useObjectBindings-DQ8g8Jwi.js} +1 -1
  102. package/dist/usePrefersMotion-CUKm8_t8.js +15 -0
  103. package/dist/{usePrinter-DiK5R6k-.js → usePrinter-CEpYU3r5.js} +2 -2
  104. package/dist/utils.js +3 -3
  105. package/dist/{vue-data-ui-C2kPofmi.js → vue-data-ui-DXGkXRnC.js} +68 -68
  106. package/dist/vue-data-ui.js +72 -72
  107. package/dist/vue-ui-3d-bar-BaFpQnd5.js +1597 -0
  108. package/dist/{vue-ui-accordion-BGHTqIBt.js → vue-ui-accordion-nvggWcGN.js} +4 -4
  109. package/dist/vue-ui-age-pyramid-CRM498Pc.js +1069 -0
  110. package/dist/{vue-ui-annotator-B1GWVtPp.js → vue-ui-annotator-CkPi9moo.js} +7 -7
  111. package/dist/{vue-ui-bullet-DPoGGtaG.js → vue-ui-bullet-BBiwof3c.js} +158 -150
  112. package/dist/vue-ui-bump-Brxpu4xV.js +1147 -0
  113. package/dist/vue-ui-candlestick-DAnZv77-.js +1587 -0
  114. package/dist/{vue-ui-carousel-table-CmiHTJ8E.js → vue-ui-carousel-table-BHRZBYY0.js} +168 -160
  115. package/dist/vue-ui-chestnut-CbrYnRgm.js +1812 -0
  116. package/dist/vue-ui-chord-CaX_IUVs.js +1326 -0
  117. package/dist/vue-ui-circle-pack-CR3h53sc.js +988 -0
  118. package/dist/{vue-ui-cursor-B4mHR7QC.js → vue-ui-cursor-Cjfazw7Z.js} +4 -4
  119. package/dist/vue-ui-dag-B9vH3c66.js +3047 -0
  120. package/dist/{vue-ui-dashboard-Bo5FX73U.js → vue-ui-dashboard-DWll05qs.js} +70 -70
  121. package/dist/{vue-ui-digits-mpo2IcM5.js → vue-ui-digits-DcM67rMx.js} +76 -66
  122. package/dist/vue-ui-donut-Be5G38P5.js +2229 -0
  123. package/dist/vue-ui-donut-evolution-BLSesj3c.js +1358 -0
  124. package/dist/vue-ui-dumbbell-DIMiCY4r.js +1380 -0
  125. package/dist/vue-ui-flow-zvZylhgr.js +1202 -0
  126. package/dist/{vue-ui-funnel-BRkaEkBb.js → vue-ui-funnel-CSri-oWm.js} +7 -7
  127. package/dist/vue-ui-galaxy-CGykxsAI.js +1012 -0
  128. package/dist/{vue-ui-gauge-J2VYHsQe.js → vue-ui-gauge-D1MNB9Jq.js} +8 -8
  129. package/dist/vue-ui-geo-DdJDGhG2.js +1437 -0
  130. package/dist/{vue-ui-gizmo-DEec3-v9.js → vue-ui-gizmo-BZYRHGFm.js} +77 -68
  131. package/dist/vue-ui-heatmap-CryOx6XK.js +1500 -0
  132. package/dist/vue-ui-history-plot-C85iw9Kl.js +1449 -0
  133. package/dist/vue-ui-horizontal-bar-BoBZOybC.js +1637 -0
  134. package/dist/vue-ui-kpi-DHrolXw6.js +109 -0
  135. package/dist/{vue-ui-mini-loader-CoOHvZUk.js → vue-ui-mini-loader-Bc3fEQ9j.js} +3 -3
  136. package/dist/{vue-ui-molecule-Chq1qWDK.js → vue-ui-molecule-DJ_BQ4DK.js} +6 -6
  137. package/dist/vue-ui-mood-radar-CBE02TpQ.js +1086 -0
  138. package/dist/vue-ui-nested-donuts-YTFtb4CL.js +1595 -0
  139. package/dist/vue-ui-onion-B9l81-PS.js +1124 -0
  140. package/dist/vue-ui-parallel-coordinate-plot-C1e_rs8J.js +1252 -0
  141. package/dist/vue-ui-quadrant-C1qsLCRn.js +1759 -0
  142. package/dist/vue-ui-quick-chart-DFoz3WiA.js +2216 -0
  143. package/dist/vue-ui-radar-Cmo3p-UA.js +1139 -0
  144. package/dist/{vue-ui-rating-zV58MDQh.js → vue-ui-rating-BAHhYt_A.js} +3 -3
  145. package/dist/vue-ui-relation-circle-BqwznVwf.js +782 -0
  146. package/dist/vue-ui-ridgeline-CDk9eXJq.js +1473 -0
  147. package/dist/vue-ui-rings-BRkGoQdL.js +1156 -0
  148. package/dist/vue-ui-scatter-BxDtWASQ.js +1831 -0
  149. package/dist/{vue-ui-skeleton-CbqNz9IE.js → vue-ui-skeleton-D6kTb9aO.js} +4 -4
  150. package/dist/{vue-ui-smiley-BK5EKp9u.js → vue-ui-smiley-CzVaLlpB.js} +3 -3
  151. package/dist/vue-ui-spark-trend-D8Mf2A1w.js +378 -0
  152. package/dist/{vue-ui-sparkbar-DUDWvTo-.js → vue-ui-sparkbar-BbYj56c3.js} +86 -84
  153. package/dist/vue-ui-sparkgauge-DXzOSLRb.js +256 -0
  154. package/dist/vue-ui-sparkhistogram-DMfSx1iH.js +474 -0
  155. package/dist/vue-ui-sparkline-D-rQ9PsC.js +1327 -0
  156. package/dist/vue-ui-sparkstackbar-DK5n8IKP.js +621 -0
  157. package/dist/vue-ui-stackbar-BHthy6jf.js +2070 -0
  158. package/dist/vue-ui-stackline-C6-WNpKD.js +2164 -0
  159. package/dist/vue-ui-strip-plot-CHu-1ilI.js +1183 -0
  160. package/dist/{vue-ui-table-BHuXI4Eq.js → vue-ui-table-DW9JGsLq.js} +6 -6
  161. package/dist/{vue-ui-table-heatmap-y88sBfu3.js → vue-ui-table-heatmap-LYqoBit9.js} +6 -6
  162. package/dist/{vue-ui-table-sparkline-ClpLLKi2.js → vue-ui-table-sparkline-CXK1dFr-.js} +5 -5
  163. package/dist/{vue-ui-thermometer-sjruUGQx.js → vue-ui-thermometer-BN8tflOz.js} +272 -256
  164. package/dist/{vue-ui-timer-CgdgMKIc.js → vue-ui-timer-DGT0UBOF.js} +6 -6
  165. package/dist/{vue-ui-tiremarks-UBDpAIVr.js → vue-ui-tiremarks-BZ-osQqY.js} +204 -191
  166. package/dist/vue-ui-treemap-98KaVRyd.js +1723 -0
  167. package/dist/vue-ui-waffle-Cb7oJnIc.js +1321 -0
  168. package/dist/vue-ui-wheel-sfew1fjw.js +738 -0
  169. package/dist/vue-ui-word-cloud-vq1t9JHr.js +1548 -0
  170. package/dist/{vue-ui-world-D-3wgoTn.js → vue-ui-world-CN0f6elD.js} +8 -8
  171. package/dist/vue-ui-xy-BdzEiImZ.js +3877 -0
  172. package/dist/vue-ui-xy-canvas-CWQzUQzY.js +1810 -0
  173. package/package.json +2 -2
  174. package/dist/ColorPicker-j0ySewhI.js +0 -244
  175. package/dist/Legend-1LMMsPxL.js +0 -90
  176. package/dist/vue-ui-3d-bar-BhNgFaJA.js +0 -1484
  177. package/dist/vue-ui-age-pyramid-CuYRf5v-.js +0 -997
  178. package/dist/vue-ui-bump-C_fKharc.js +0 -1059
  179. package/dist/vue-ui-candlestick-BY-_E7eZ.js +0 -1487
  180. package/dist/vue-ui-chestnut-C-bQYaNI.js +0 -1557
  181. package/dist/vue-ui-chord-uQYQgyGM.js +0 -1220
  182. package/dist/vue-ui-circle-pack-CdbDcuDw.js +0 -907
  183. package/dist/vue-ui-dag-DsHUvjvm.js +0 -2885
  184. package/dist/vue-ui-donut-CzCgCVsx.js +0 -2139
  185. package/dist/vue-ui-donut-evolution-C_ck_TOR.js +0 -1297
  186. package/dist/vue-ui-dumbbell-CVSA90b2.js +0 -1293
  187. package/dist/vue-ui-flow-CsbSaFnu.js +0 -1075
  188. package/dist/vue-ui-galaxy-DWKHDciu.js +0 -914
  189. package/dist/vue-ui-geo-DykhEWVq.js +0 -1331
  190. package/dist/vue-ui-heatmap-BEDirv8T.js +0 -1334
  191. package/dist/vue-ui-history-plot-Bs96PebH.js +0 -1292
  192. package/dist/vue-ui-horizontal-bar-ClQcB9nL.js +0 -1522
  193. package/dist/vue-ui-kpi-DlUEHKuw.js +0 -101
  194. package/dist/vue-ui-mood-radar-A2LBLgUi.js +0 -967
  195. package/dist/vue-ui-nested-donuts-DFX251aT.js +0 -1513
  196. package/dist/vue-ui-onion-CW0YO9Ro.js +0 -1045
  197. package/dist/vue-ui-parallel-coordinate-plot-UFg10bHP.js +0 -1134
  198. package/dist/vue-ui-quadrant-C1pLW2zA.js +0 -1647
  199. package/dist/vue-ui-quick-chart-FaxttnJY.js +0 -2030
  200. package/dist/vue-ui-radar-DE70LPBZ.js +0 -1067
  201. package/dist/vue-ui-relation-circle-iuRXIyRU.js +0 -704
  202. package/dist/vue-ui-ridgeline-CwvDh5pG.js +0 -1385
  203. package/dist/vue-ui-rings-80ZUki42.js +0 -1083
  204. package/dist/vue-ui-scatter-FdAAYJOK.js +0 -1670
  205. package/dist/vue-ui-spark-trend-C68p8-Xp.js +0 -349
  206. package/dist/vue-ui-sparkgauge-DdRtHQDe.js +0 -245
  207. package/dist/vue-ui-sparkhistogram-C9DvzQae.js +0 -396
  208. package/dist/vue-ui-sparkline-B2RDrdiR.js +0 -1273
  209. package/dist/vue-ui-sparkstackbar-BsIOHUE5.js +0 -475
  210. package/dist/vue-ui-stackbar-BZl0kEkb.js +0 -2001
  211. package/dist/vue-ui-stackline-2VKxwFei.js +0 -2099
  212. package/dist/vue-ui-strip-plot-B9nBSRyY.js +0 -1080
  213. package/dist/vue-ui-treemap-BS5EilZf.js +0 -1645
  214. package/dist/vue-ui-waffle-CbX5K9Q2.js +0 -1211
  215. package/dist/vue-ui-wheel-BIJ09H5D.js +0 -723
  216. package/dist/vue-ui-word-cloud-DJmJ-oYT.js +0 -1466
  217. package/dist/vue-ui-xy-canvas-4auyhlTr.js +0 -1717
  218. package/dist/vue-ui-xy-f67V1xjd.js +0 -3713
@@ -1,349 +0,0 @@
1
- import { defineAsyncComponent as ge, ref as f, computed as s, toRefs as me, watch as G, nextTick as Q, onMounted as ke, openBlock as o, createElementBlock as r, normalizeStyle as be, unref as i, createVNode as _e, renderSlot as R, createCommentVNode as y, createElementVNode as z, toDisplayString as Y, createBlock as we } from "vue";
2
- import { j as $e, t as ee, H as te, o as Z, q as xe, K as $, am as Ce, X as Le, u as H, c as le, l as ae, k as Ae } from "./lib-GwPnJSrY.js";
3
- import { t as Te, u as Ne } from "./useResponsive-DfdjqQps.js";
4
- import { u as Se } from "./useConfig-CIgyKZ6R.js";
5
- import { u as ze, B as Fe } from "./BaseScanner-BhhkKVoj.js";
6
- import { u as Ie } from "./useFitSvgText-2crs6Fv5.js";
7
- import { u as W } from "./useNestedProp-BBT0mbHh.js";
8
- import { u as Me } from "./useThemeCheck-D1ZYXUwG.js";
9
- import je from "./vue_ui_spark_trend-3BjrSprO.js";
10
- import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const Ve = ["id"], Be = ["xmlns", "viewBox"], De = ["width", "height"], Oe = ["id"], Ge = ["stop-color"], Re = ["stop-color"], Ze = { key: 1 }, He = ["d", "fill"], We = ["d", "fill"], qe = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Ue = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Pe = ["d"], Ke = ["fill", "d"], Xe = ["x", "y", "width", "height"], Je = ["x", "y", "fill", "font-size", "font-weight"], Qe = ["stroke", "cx", "cy", "fill"], Ye = ["x", "y", "font-size", "fill", "font-weight"], et = {
12
- __name: "vue-ui-spark-trend",
13
- props: {
14
- config: {
15
- type: Object,
16
- default() {
17
- return {};
18
- }
19
- },
20
- dataset: {
21
- type: Array,
22
- default() {
23
- return [];
24
- }
25
- }
26
- },
27
- setup(ne) {
28
- const ue = ge(() => import("./PackageVersion-DN9d0ME5.js")), { vue_ui_spark_trend: se } = Se(), { isThemeValid: oe, warnInvalidTheme: re } = Me(), h = ne, F = f(null), q = f(null), U = f(null), x = f(null), L = f(null), A = f(!1), p = f(null), C = f($e()), e = f(j()), ie = s(() => ee({
29
- defaultConfig: {
30
- style: {
31
- animation: { show: !1 },
32
- backgroundColor: "#99999930",
33
- line: {
34
- stroke: "#6A6A6A",
35
- useColorTrend: !1
36
- },
37
- dataLabel: { show: !1, useColorTrend: !1, color: "#6A6A6A" }
38
- }
39
- },
40
- userConfig: e.value.skeletonConfig ?? {}
41
- })), { loading: _, FINAL_DATASET: I, manualLoading: M } = ze({
42
- ...me(h),
43
- FINAL_CONFIG: e,
44
- prepareConfig: j,
45
- skeletonDataset: h.config?.skeletonDataset ?? [1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233],
46
- skeletonConfig: ee({
47
- defaultConfig: e.value,
48
- userConfig: ie.value
49
- })
50
- });
51
- function j() {
52
- const t = W({
53
- userConfig: h.config,
54
- defaultConfig: se
55
- }), l = t.theme;
56
- if (!l) return t;
57
- if (!oe.value(t))
58
- return re(t), t;
59
- const u = W({
60
- userConfig: je[l] || h.config,
61
- defaultConfig: t
62
- });
63
- return W({
64
- userConfig: h.config,
65
- defaultConfig: u
66
- });
67
- }
68
- const g = s(() => te({
69
- data: I.value,
70
- threshold: e.value.downsample.threshold
71
- }));
72
- G(() => h.config, (t) => {
73
- e.value = j(), B.value = e.value.style.width, w.value = e.value.style.height, P();
74
- }, { deep: !0 });
75
- function E(t) {
76
- return t.map((l) => $(l));
77
- }
78
- const b = f(te({
79
- data: I.value,
80
- threshold: e.value.downsample.threshold
81
- }).map((t) => e.value.style.animation.show || [void 0, 1 / 0, -1 / 0, null, NaN].includes(t) ? null : t));
82
- G(g, (t) => {
83
- p.value && (cancelAnimationFrame(p.value), p.value = null), e.value.style.animation.show ? b.value = Array(t.length).fill(null) : b.value = t.map(
84
- (l) => ![void 0, 1 / 0, -1 / 0, null].includes(l) && !Number.isNaN(l) ? l : null
85
- ), V(), Q(() => S(".vue-ui-sparktrend-progress-label", 6));
86
- }, { deep: !0, immediate: !0 }), G(
87
- () => JSON.stringify(h.dataset),
88
- () => {
89
- p.value && (cancelAnimationFrame(p.value), p.value = null), M.value = Z(h.dataset);
90
- const t = g.value;
91
- b.value = e.value.style.animation.show ? Array(t.length).fill(null) : t.map((l) => Number.isFinite(l) ? l : null), V(), Q(() => S(".vue-ui-sparktrend-progress-label", 6));
92
- },
93
- { deep: !1, immediate: !0 }
94
- );
95
- function V() {
96
- let l = 1e3 / e.value.style.animation.animationFrames, u = performance.now();
97
- if (!_.value && e.value.style.animation.show && e.value.style.animation.animationFrames && I.value.length > 1) {
98
- let k = function() {
99
- A.value = !0;
100
- let X = performance.now(), J = X - u;
101
- J > l ? (u = X - J % l, c < g.value.length ? (b.value.push(g.value[c]), c += 1, p.value = requestAnimationFrame(k)) : (cancelAnimationFrame(p.value), b.value = E(g.value), A.value = !1, S(".vue-ui-sparktrend-progress-label", 6))) : p.value = requestAnimationFrame(k);
102
- };
103
- b.value = [];
104
- let c = 0;
105
- k();
106
- }
107
- }
108
- ke(() => {
109
- P();
110
- });
111
- const ve = s(() => e.value.debug);
112
- function P() {
113
- if (Z(h.dataset) && (xe({
114
- componentName: "VueUiSparkTrend",
115
- type: "dataset",
116
- debug: ve.value
117
- }), M.value = !0), Z(h.dataset) || (M.value = !1), e.value.responsive) {
118
- const t = Te(() => {
119
- const { width: l, height: u } = Ne({
120
- chart: F.value,
121
- source: U.value
122
- });
123
- requestAnimationFrame(() => {
124
- B.value = l, w.value = u;
125
- });
126
- });
127
- x.value && (L.value && x.value.unobserve(L.value), x.value.disconnect()), x.value = new ResizeObserver(t), L.value = F.value.parentNode, x.value.observe(L.value);
128
- }
129
- V(), S(".vue-ui-sparktrend-progress-label", 6);
130
- }
131
- const B = f(e.value.style.width), w = f(e.value.style.height), v = s(() => ({
132
- height: w.value,
133
- width: B.value
134
- })), n = s(() => ({
135
- top: e.value.style.padding.top,
136
- left: e.value.style.padding.left,
137
- right: v.value.width - e.value.style.padding.right,
138
- bottom: v.value.height - e.value.style.padding.bottom,
139
- height: v.value.height - (e.value.style.padding.top + e.value.style.padding.bottom) - (e.value.style.dataLabel.show ? e.value.style.dataLabel.fontSize : 0),
140
- width: v.value.width - (e.value.style.padding.left + e.value.style.padding.right)
141
- })), D = s(() => {
142
- const t = E(g.value).filter(Number.isFinite);
143
- if (!t.length) return { max: 0, min: 0 };
144
- let l = t[0], u = t[0];
145
- for (let c = 1; c < t.length; c++) {
146
- const k = t[c];
147
- k > l && (l = k), k < u && (u = k);
148
- }
149
- return { max: l, min: u };
150
- }), de = s(() => {
151
- const t = g.value, l = t.length ? t[t.length - 1] : "x";
152
- return [
153
- C.value,
154
- t.length,
155
- Number.isFinite(l) ? l : "x",
156
- e.value.downsample.threshold,
157
- e.value.style.line.smooth ? "s" : "l"
158
- ].join("-");
159
- }), T = s(() => {
160
- const t = D.value.min >= 0 ? 0 : D.value.min;
161
- return Math.abs(t);
162
- }), fe = s(() => D.value.max + T.value);
163
- function K(t) {
164
- return t / fe.value;
165
- }
166
- const ce = s(() => g.value.length), a = s(() => b.value.map((t, l) => {
167
- const u = isNaN(t) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t) ? 0 : t || 0;
168
- return {
169
- value: $(t),
170
- absoluteValue: $(u),
171
- plotValue: $(u + T.value),
172
- toMax: K(u + T.value),
173
- x: n.value.left + $(l * (n.value.width / (ce.value - 1))) - e.value.style.padding.right,
174
- y: n.value.bottom - $(n.value.height * K(u + T.value))
175
- };
176
- })), N = s(() => {
177
- const t = E(g.value);
178
- return e.value.style.trendLabel.trendType === "global" ? Ce(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;
179
- }), O = s(() => A.value || N.value === 0 ? "neutral" : N.value > 0 ? "positive" : "negative"), m = s(() => e.value.style.arrow.colors[O.value]), he = s(() => {
180
- const t = { x: a.value[0].x, y: v.value.height - 6 }, l = { x: a.value[a.value.length - 1].x, y: v.value.height - 6 }, u = [];
181
- return a.value.forEach((c) => {
182
- u.push(`${c.x},${c.y} `);
183
- }), [t.x, t.y, ...u, l.x, l.y].toString();
184
- }), ye = s(() => {
185
- let t = [];
186
- return a.value.forEach((l) => {
187
- t.push(`${l.x},${l.y} `);
188
- }), `M ${t.toString()}`;
189
- }), d = s(() => w.value / 2 - e.value.style.trendLabel.fontSize), pe = s(() => n.value.left * 0.8), { fitText: S } = Ie({
190
- svgRef: q,
191
- unitWidth: pe,
192
- fontSize: e.value.style.trendLabel.fontSize
193
- });
194
- return (t, l) => (o(), r("div", {
195
- ref_key: "sparkTrendChart",
196
- ref: F,
197
- class: "vue-data-ui-component vue-ui-spark-trend",
198
- id: C.value,
199
- style: be(`width:100%;font-family:${e.value.style.fontFamily};background:${e.value.style.backgroundColor}`)
200
- }, [
201
- (o(), r("svg", {
202
- key: de.value,
203
- ref_key: "svgRef",
204
- ref: q,
205
- xmlns: i(Le),
206
- viewBox: `0 0 ${v.value.width} ${v.value.height}`,
207
- style: "width:100%;background:transparent;overflow:visible"
208
- }, [
209
- _e(i(ue)),
210
- t.$slots["chart-background"] ? (o(), r("foreignObject", {
211
- key: 0,
212
- x: 0,
213
- y: 0,
214
- width: v.value.width <= 0 ? 10 : v.value.width,
215
- height: v.value.height <= 0 ? 10 : v.value.height,
216
- style: {
217
- pointerEvents: "none"
218
- }
219
- }, [
220
- R(t.$slots, "chart-background", {}, void 0, !0)
221
- ], 8, De)) : y("", !0),
222
- z("defs", null, [
223
- z("linearGradient", {
224
- x1: "0%",
225
- y1: "0%",
226
- x2: "0%",
227
- y2: "100%",
228
- id: `pill_gradient_${C.value}`
229
- }, [
230
- z("stop", {
231
- offset: "0%",
232
- "stop-color": i(H)(e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke, e.value.style.area.opacity)
233
- }, null, 8, Ge),
234
- z("stop", {
235
- offset: "100%",
236
- "stop-color": e.value.style.backgroundColor
237
- }, null, 8, Re)
238
- ], 8, Oe)
239
- ]),
240
- e.value.style.area.show && a.value[0] ? (o(), r("g", Ze, [
241
- e.value.style.line.smooth ? (o(), r("path", {
242
- key: 0,
243
- d: `M ${a.value[0].x},${n.value.bottom} ${i(le)(a.value)} L ${a.value.at(-1).x},${n.value.bottom} Z`,
244
- fill: e.value.style.area.useGradient ? `url(#pill_gradient_${C.value})` : i(H)(e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke, e.value.style.area.opacity),
245
- stroke: "none"
246
- }, null, 8, He)) : (o(), r("path", {
247
- key: 1,
248
- d: `M${he.value}Z`,
249
- fill: e.value.style.area.useGradient ? `url(#pill_gradient_${C.value})` : i(H)(e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke, e.value.style.area.opacity),
250
- stroke: "none"
251
- }, null, 8, We))
252
- ])) : y("", !0),
253
- e.value.style.line.smooth && a.value.length ? (o(), r("path", {
254
- key: 2,
255
- d: `M ${i(le)(a.value)}`,
256
- stroke: e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke,
257
- fill: "none",
258
- "stroke-width": e.value.style.line.strokeWidth,
259
- "stroke-linecap": e.value.style.line.strokeLinecap,
260
- "stroke-linejoin": e.value.style.line.strokeLinejoin
261
- }, null, 8, qe)) : y("", !0),
262
- !e.value.style.line.smooth && a.value.length ? (o(), r("path", {
263
- key: 3,
264
- d: ye.value,
265
- stroke: e.value.style.line.useColorTrend ? m.value : e.value.style.line.stroke,
266
- fill: "none",
267
- "stroke-width": e.value.style.line.strokeWidth,
268
- "stroke-linecap": e.value.style.line.strokeLinecap,
269
- "stroke-linejoin": e.value.style.line.strokeLinejoin
270
- }, null, 8, Ue)) : y("", !0),
271
- i(_) ? (o(), r("path", {
272
- key: 4,
273
- fill: "#6A6A6A",
274
- d: `M ${n.value.left / 2 + 6}, ${d.value + 7} ${n.value.left / 2 - 7}, ${d.value} ${n.value.left / 2 - 7}, ${d.value + 14} Z`
275
- }, null, 8, Pe)) : (o(), r("path", {
276
- key: 5,
277
- fill: m.value,
278
- d: O.value === "positive" ? `M ${n.value.left / 2}, ${d.value} ${n.value.left / 2 - 7}, ${d.value + 12} ${n.value.left / 2 + 7}, ${d.value + 12} Z` : O.value === "negative" ? `M ${n.value.left / 2}, ${d.value + 12} ${n.value.left / 2 - 7}, ${d.value} ${n.value.left / 2 + 7}, ${d.value} Z` : `M ${n.value.left / 2 + 6}, ${d.value + 7} ${n.value.left / 2 - 7}, ${d.value} ${n.value.left / 2 - 7}, ${d.value + 14} Z`
279
- }, null, 8, Ke)),
280
- i(_) ? (o(), r("rect", {
281
- key: 6,
282
- x: n.value.left / 2 - e.value.style.trendLabel.fontSize - 2,
283
- y: w.value / 2 + e.value.style.trendLabel.fontSize - 2,
284
- width: e.value.style.trendLabel.fontSize * 2,
285
- height: e.value.style.trendLabel.fontSize,
286
- fill: "#6A6A6A80",
287
- rx: "3"
288
- }, null, 8, Xe)) : y("", !0),
289
- !A.value && !i(_) ? (o(), r("text", {
290
- key: 7,
291
- class: "vue-ui-sparktrend-progress-label",
292
- x: n.value.left / 2,
293
- y: w.value / 2 + e.value.style.trendLabel.fontSize * 2,
294
- "text-anchor": "middle",
295
- fill: e.value.style.trendLabel.useColorTrend ? m.value : e.value.style.trendLabel.color,
296
- "font-size": e.value.style.trendLabel.fontSize,
297
- "font-weight": e.value.style.trendLabel.bold ? "bold" : "normal"
298
- }, Y(i(ae)({
299
- p: N.value > 0 ? "+" : "",
300
- v: N.value,
301
- s: "%",
302
- r: e.value.style.trendLabel.rounding
303
- })), 9, Je)) : y("", !0),
304
- a.value.length && a.value.at(-1).x !== void 0 ? (o(), r("circle", {
305
- key: 8,
306
- stroke: e.value.style.backgroundColor,
307
- "stroke-width": 2,
308
- cx: a.value.at(-1).x,
309
- cy: a.value.at(-1).y,
310
- r: 4,
311
- fill: i(_) ? "#6A6A6A" : m.value
312
- }, null, 8, Qe)) : y("", !0),
313
- a.value.length && a.value.at(-1).x !== void 0 && e.value.style.dataLabel.show ? (o(), r("text", {
314
- key: 9,
315
- "text-anchor": "middle",
316
- x: a.value.at(-1).x,
317
- y: a.value.at(-1).y - e.value.style.dataLabel.fontSize / 1.5,
318
- "font-size": e.value.style.dataLabel.fontSize,
319
- fill: e.value.style.dataLabel.useColorTrend ? m.value : e.value.style.dataLabel.color,
320
- "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
321
- }, Y(i(Ae)(
322
- e.value.style.dataLabel.formatter,
323
- a.value.at(-1).value,
324
- i(ae)({
325
- p: e.value.style.dataLabel.prefix,
326
- v: a.value.at(-1).value,
327
- s: e.value.style.dataLabel.suffix,
328
- r: e.value.style.dataLabel.rounding
329
- }),
330
- { datapoint: a.value.at(-1) }
331
- )), 9, Ye)) : y("", !0)
332
- ], 8, Be)),
333
- t.$slots.source ? (o(), r("div", {
334
- key: 0,
335
- ref_key: "source",
336
- ref: U,
337
- dir: "auto"
338
- }, [
339
- R(t.$slots, "source", {}, void 0, !0)
340
- ], 512)) : y("", !0),
341
- R(t.$slots, "skeleton", {}, () => [
342
- i(_) ? (o(), we(Fe, { key: 0 })) : y("", !0)
343
- ], !0)
344
- ], 12, Ve));
345
- }
346
- }, dt = /* @__PURE__ */ Ee(et, [["__scopeId", "data-v-4ee999e7"]]);
347
- export {
348
- dt as default
349
- };
@@ -1,245 +0,0 @@
1
- import { defineAsyncComponent as V, ref as b, computed as n, toRefs as X, onMounted as F, watch as B, openBlock as u, createElementBlock as v, normalizeStyle as y, toDisplayString as k, createCommentVNode as d, unref as i, createVNode as Y, renderSlot as C, createElementVNode as m, normalizeClass as H, createBlock as K } from "vue";
2
- import { u as w } from "./useNestedProp-BBT0mbHh.js";
3
- import { j as J, t as D, o as Q, q as E, r as W, an as Z, X as ee, k as te, K as x, l as ae } from "./lib-GwPnJSrY.js";
4
- import { u as le } from "./useConfig-CIgyKZ6R.js";
5
- import { u as oe, B as se } from "./BaseScanner-BhhkKVoj.js";
6
- import { u as ne } from "./useThemeCheck-D1ZYXUwG.js";
7
- import { u as ue } from "./useChartAccessibility-9icAAmYg.js";
8
- import ie from "./vue_ui_sparkgauge-KnjASOZs.js";
9
- const re = ["xmlns", "viewBox"], ve = ["width", "height"], ce = ["id"], fe = ["stop-color"], de = ["stop-color"], me = ["d", "stroke", "stroke-linecap"], ge = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], ye = ["x", "y", "width", "height"], he = ["x", "y", "font-size", "fill", "font-weight"], pe = {
10
- key: 2,
11
- ref: "source",
12
- dir: "auto"
13
- }, Se = {
14
- __name: "vue-ui-sparkgauge",
15
- props: {
16
- config: {
17
- type: Object,
18
- default() {
19
- return {};
20
- }
21
- },
22
- dataset: {
23
- type: Object,
24
- default() {
25
- return {};
26
- }
27
- }
28
- },
29
- setup(T) {
30
- const j = V(() => import("./PackageVersion-DN9d0ME5.js")), { vue_ui_sparkgauge: I } = le(), { isThemeValid: O, warnInvalidTheme: R } = ne(), r = T, _ = b(J()), e = b(p()), G = n(() => D({
31
- defaultConfig: {
32
- style: {
33
- animation: { show: !1 },
34
- background: "#99999930",
35
- colors: {
36
- min: "#CACACA",
37
- max: "#6A6A6A"
38
- },
39
- track: {
40
- autoColor: !0
41
- },
42
- gutter: {
43
- color: "#6A6A6A80"
44
- }
45
- }
46
- },
47
- userConfig: e.value.skeletonConfig ?? {}
48
- })), { loading: h, FINAL_DATASET: c } = oe({
49
- ...X(r),
50
- FINAL_CONFIG: e,
51
- prepareConfig: p,
52
- skeletonDataset: r.config?.skeletonDataset ?? {
53
- value: 0,
54
- min: -1,
55
- max: 1,
56
- title: ""
57
- },
58
- skeletonConfig: D({
59
- defaultConfig: e.value,
60
- userConfig: G.value
61
- })
62
- }), { svgRef: U } = ue({ config: { text: r.dataset?.title || "" } });
63
- function p() {
64
- const t = w({
65
- userConfig: r.config,
66
- defaultConfig: I
67
- }), o = t.theme;
68
- if (!o) return t;
69
- if (!O.value(t))
70
- return R(t), t;
71
- const f = w({
72
- userConfig: ie[o] || r.config,
73
- defaultConfig: t
74
- });
75
- return w({
76
- userConfig: r.config,
77
- defaultConfig: f
78
- });
79
- }
80
- F(() => {
81
- A();
82
- });
83
- const $ = n(() => e.value.debug);
84
- function A() {
85
- Q(r.dataset) ? E({
86
- componentName: "VueUiSparkgauge",
87
- type: "dataset",
88
- debug: $.value
89
- }) : W({
90
- datasetObject: r.dataset,
91
- requiredAttributes: ["value", "min", "max"]
92
- }).forEach((t) => {
93
- E({
94
- componentName: "VueUiSparkgauge",
95
- type: "datasetAttribute",
96
- property: t,
97
- debug: $.value
98
- });
99
- });
100
- }
101
- B(() => r.config, (t) => {
102
- e.value = p(), a.value = e.value.style.animation.show ? s.value.min : c.value.value, A();
103
- }, { deep: !0 });
104
- const l = n(() => ({
105
- height: e.value.style.height,
106
- width: 128,
107
- base: e.value.style.basePosition
108
- })), s = n(() => {
109
- const t = c.value.min ?? 0, o = c.value.max ?? 0, f = o - t;
110
- return {
111
- min: t,
112
- max: o,
113
- diff: f
114
- };
115
- }), a = b(e.value.style.animation.show ? s.value.min : c.value.value);
116
- B(() => c.value.value, () => {
117
- S(c.value.value || 0);
118
- });
119
- const q = n(() => a.value > s.value.max ? s.value.max : a.value < s.value.min ? s.value.min : a.value), L = n(() => s.value.diff / e.value.style.animation.speedMs);
120
- F(() => {
121
- S(c.value.value || 0);
122
- });
123
- function S(t) {
124
- function o() {
125
- a.value < t ? a.value = Math.min(a.value + L.value, t) : a.value > t && (a.value = Math.max(a.value - L.value, t)), a.value !== t && requestAnimationFrame(o);
126
- }
127
- o();
128
- }
129
- const g = n(() => c.value.title ?? ""), z = n(() => {
130
- const t = s.value.diff;
131
- if (!isFinite(t) || t === 0) return 0;
132
- const o = s.value.min, f = q.value;
133
- return f >= 0 ? (f - o) / t : (Math.abs(o) - Math.abs(f)) / t;
134
- }), N = n(() => Z(e.value.style.colors.min, e.value.style.colors.max, s.value.min, s.value.max, a.value)), M = n(() => e.value.style.dataLabel.autoColor ? N.value : e.value.style.dataLabel.color), P = n(() => e.value.style.track.autoColor ? N.value : e.value.style.track.color);
135
- return (t, o) => (u(), v("div", {
136
- class: "vue-data-ui-component vue-ui-sparkgauge",
137
- style: y(`font-family:${e.value.style.fontFamily};width: 100%; background:${e.value.style.background}`)
138
- }, [
139
- e.value.style.title.show && g.value && e.value.style.title.position === "top" ? (u(), v("div", {
140
- key: 0,
141
- class: "vue-data-ui-sparkgauge-label",
142
- style: y(`font-size:${e.value.style.title.fontSize}px;text-align:${e.value.style.title.textAlign};font-weight:${e.value.style.title.bold ? "bold" : "normal"};color:${e.value.style.title.color}`)
143
- }, k(g.value), 5)) : d("", !0),
144
- (u(), v("svg", {
145
- ref_key: "svgRef",
146
- ref: U,
147
- xmlns: i(ee),
148
- viewBox: `0 0 ${l.value.width} ${l.value.height}`,
149
- style: "overflow: visible; background:transparent; width:100%;"
150
- }, [
151
- Y(i(j)),
152
- t.$slots["chart-background"] && !i(h) ? (u(), v("foreignObject", {
153
- key: 0,
154
- x: 0,
155
- y: 0,
156
- width: l.value.width,
157
- height: l.value.height,
158
- style: {
159
- pointerEvents: "none"
160
- }
161
- }, [
162
- C(t.$slots, "chart-background")
163
- ], 8, ve)) : d("", !0),
164
- m("defs", null, [
165
- m("linearGradient", {
166
- id: `gradient_${_.value}`,
167
- x1: "-10%",
168
- y1: "100%",
169
- x2: "110%",
170
- y2: "100%"
171
- }, [
172
- m("stop", {
173
- offset: "0%",
174
- "stop-color": e.value.style.colors.min
175
- }, null, 8, fe),
176
- m("stop", {
177
- offset: "100%",
178
- "stop-color": e.value.style.colors.max
179
- }, null, 8, de)
180
- ], 8, ce)
181
- ]),
182
- m("path", {
183
- d: `M10 ${l.value.base} A 1 1 0 1 1 118 ${l.value.base}`,
184
- stroke: e.value.style.gutter.color,
185
- "stroke-width": 8,
186
- "stroke-linecap": e.value.style.gutter.strokeLinecap,
187
- fill: "none"
188
- }, null, 8, me),
189
- z.value !== 0 ? (u(), v("path", {
190
- key: 1,
191
- d: `M10 ${l.value.base} A 1 1 0 1 1 118 ${l.value.base}`,
192
- stroke: e.value.style.colors.showGradient ? `url(#gradient_${_.value})` : P.value,
193
- "stroke-width": 8,
194
- "stroke-linecap": e.value.style.track.strokeLinecap,
195
- fill: "none",
196
- "stroke-dasharray": 169.5,
197
- "stroke-dashoffset": 169.5 - 169.5 * z.value,
198
- class: H({ "vue-ui-sparkgauge-track": e.value.style.animation.show }),
199
- style: y(e.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${e.value.style.animation.speedMs}ms ease-in;` : "")
200
- }, null, 14, ge)) : d("", !0),
201
- i(h) ? (u(), v("rect", {
202
- key: 2,
203
- x: l.value.width / 2 - e.value.style.dataLabel.fontSize / 2,
204
- y: l.value.base + 6 + e.value.style.dataLabel.offsetY - e.value.style.dataLabel.fontSize,
205
- width: e.value.style.dataLabel.fontSize,
206
- height: e.value.style.dataLabel.fontSize,
207
- fill: "#6A6A6A50",
208
- rx: 3
209
- }, null, 8, ye)) : (u(), v("text", {
210
- key: 3,
211
- "text-anchor": "middle",
212
- x: l.value.width / 2,
213
- y: l.value.base + 6 + e.value.style.dataLabel.offsetY,
214
- "font-size": e.value.style.dataLabel.fontSize,
215
- fill: M.value,
216
- "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
217
- }, k(i(te)(
218
- e.value.style.dataLabel.formatter,
219
- i(x)(a.value),
220
- i(ae)({
221
- p: e.value.style.dataLabel.prefix,
222
- v: i(x)(a.value),
223
- s: e.value.style.dataLabel.suffix,
224
- r: e.value.style.dataLabel.rounding
225
- }),
226
- { datapoint: i(x)(a.value), color: M.value }
227
- )), 9, he))
228
- ], 8, re)),
229
- e.value.style.title.show && g.value && e.value.style.title.position === "bottom" ? (u(), v("div", {
230
- key: 1,
231
- class: "vue-data-ui-sparkgauge-label",
232
- style: y(`font-size:${e.value.style.title.fontSize}px;text-align:${e.value.style.title.textAlign};font-weight:${e.value.style.title.bold ? "bold" : "normal"};font-weight:${e.value.style.title.bold ? "bold" : "normal"};color:${e.value.style.title.color}`)
233
- }, k(g.value), 5)) : d("", !0),
234
- t.$slots.source ? (u(), v("div", pe, [
235
- C(t.$slots, "source")
236
- ], 512)) : d("", !0),
237
- C(t.$slots, "skeleton", {}, () => [
238
- i(h) ? (u(), K(se, { key: 0 })) : d("", !0)
239
- ])
240
- ], 4));
241
- }
242
- };
243
- export {
244
- Se as default
245
- };