vue-data-ui 3.1.17 → 3.1.19-next.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-DFX_NfRh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CrCjMg89.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-7s-tCFcQ.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-BoLH_m_Z.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-Dw6dxJk3.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-CjdnJGHq.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-tX2IXHuz.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-D1HToLlZ.js → PackageVersion-DRpg18lg.js} +3 -3
- package/dist/{PenAndPaper-BKnXOYre.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-6PexQroB.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-BJkhMBk4.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-BtO1j0i1.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-BVMfF0uu.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-DBvmoYXU.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CKzW9w0Q.js → UserOptions-Bn3u4JQu.js} +2 -2
- package/dist/components/arrow.js +5 -0
- package/dist/components/vue-ui-3d-bar.js +5 -0
- package/dist/components/vue-ui-accordion.js +5 -0
- package/dist/components/vue-ui-age-pyramid.js +5 -0
- package/dist/components/vue-ui-bullet.js +5 -0
- package/dist/components/vue-ui-candlestick.js +5 -0
- package/dist/components/vue-ui-carousel-table.js +5 -0
- package/dist/components/vue-ui-chestnut.js +5 -0
- package/dist/components/vue-ui-chord.js +5 -0
- package/dist/components/vue-ui-circle-pack.js +5 -0
- package/dist/components/vue-ui-cursor.js +5 -0
- package/dist/components/vue-ui-dashboard.js +5 -0
- package/dist/components/vue-ui-digits.js +5 -0
- package/dist/components/vue-ui-donut-evolution.js +5 -0
- package/dist/components/vue-ui-donut.js +5 -0
- package/dist/components/vue-ui-dumbbell.js +5 -0
- package/dist/components/vue-ui-flow.js +5 -0
- package/dist/components/vue-ui-funnel.js +5 -0
- package/dist/components/vue-ui-galaxy.js +5 -0
- package/dist/components/vue-ui-gauge.js +5 -0
- package/dist/components/vue-ui-gizmo.js +5 -0
- package/dist/components/vue-ui-heatmap.js +5 -0
- package/dist/components/vue-ui-history-plot.js +5 -0
- package/dist/components/vue-ui-horizontal-bar.js +5 -0
- package/dist/components/vue-ui-icon.js +5 -0
- package/dist/components/vue-ui-kpi.js +5 -0
- package/dist/components/vue-ui-mini-loader.js +5 -0
- package/dist/components/vue-ui-molecule.js +5 -0
- package/dist/components/vue-ui-mood-radar.js +5 -0
- package/dist/components/vue-ui-nested-donuts.js +5 -0
- package/dist/components/vue-ui-onion.js +5 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
- package/dist/components/vue-ui-pattern.js +5 -0
- package/dist/components/vue-ui-quadrant.js +5 -0
- package/dist/components/vue-ui-quick-chart.js +5 -0
- package/dist/components/vue-ui-radar.js +5 -0
- package/dist/components/vue-ui-rating.js +5 -0
- package/dist/components/vue-ui-relation-circle.js +5 -0
- package/dist/components/vue-ui-ridgeline.js +5 -0
- package/dist/components/vue-ui-rings.js +5 -0
- package/dist/components/vue-ui-scatter.js +5 -0
- package/dist/components/vue-ui-skeleton.js +5 -0
- package/dist/components/vue-ui-smiley.js +5 -0
- package/dist/components/vue-ui-spark-trend.js +5 -0
- package/dist/components/vue-ui-sparkbar.js +5 -0
- package/dist/components/vue-ui-sparkgauge.js +5 -0
- package/dist/components/vue-ui-sparkhistogram.js +5 -0
- package/dist/components/vue-ui-sparkline.js +5 -0
- package/dist/components/vue-ui-sparkstackbar.js +5 -0
- package/dist/components/vue-ui-stackbar.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +5 -0
- package/dist/components/vue-ui-table-heatmap.js +5 -0
- package/dist/components/vue-ui-table-sparkline.js +5 -0
- package/dist/components/vue-ui-table.js +5 -0
- package/dist/components/vue-ui-thermometer.js +5 -0
- package/dist/components/vue-ui-timer.js +5 -0
- package/dist/components/vue-ui-tiremarks.js +5 -0
- package/dist/components/vue-ui-treemap.js +5 -0
- package/dist/components/vue-ui-vertical-bar.js +5 -0
- package/dist/components/vue-ui-waffle.js +5 -0
- package/dist/components/vue-ui-wheel.js +5 -0
- package/dist/components/vue-ui-word-cloud.js +5 -0
- package/dist/components/vue-ui-world.js +5 -0
- package/dist/components/vue-ui-xy-canvas.js +5 -0
- package/dist/components/vue-ui-xy.js +5 -0
- package/dist/{dom-to-png-D0wlWRL9.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-CeCjiMpr.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D5bgIg6W.js → pdf-Wd2BQz4D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/themes-D3cUNuKw.js +53 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/universal.d.ts +1 -0
- package/dist/types/vue-data-ui.d.ts +71 -21
- package/dist/types/vue-ui-3d-bar.d.ts +18 -0
- package/dist/types/vue-ui-accordion.d.ts +12 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
- package/dist/types/vue-ui-bullet.d.ts +16 -0
- package/dist/types/vue-ui-candlestick.d.ts +16 -0
- package/dist/types/vue-ui-carousel-table.d.ts +14 -0
- package/dist/types/vue-ui-chestnut.d.ts +17 -0
- package/dist/types/vue-ui-chord.d.ts +19 -0
- package/dist/types/vue-ui-circle-pack.d.ts +17 -0
- package/dist/types/vue-ui-cursor.d.ts +7 -0
- package/dist/types/vue-ui-dashboard.d.ts +14 -0
- package/dist/types/vue-ui-digits.d.ts +10 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
- package/dist/types/vue-ui-donut.d.ts +18 -0
- package/dist/types/vue-ui-dumbbell.d.ts +18 -0
- package/dist/types/vue-ui-flow.d.ts +18 -0
- package/dist/types/vue-ui-funnel.d.ts +15 -0
- package/dist/types/vue-ui-galaxy.d.ts +18 -0
- package/dist/types/vue-ui-gauge.d.ts +16 -0
- package/dist/types/vue-ui-gizmo.d.ts +14 -0
- package/dist/types/vue-ui-heatmap.d.ts +17 -0
- package/dist/types/vue-ui-history-plot.d.ts +19 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
- package/dist/types/vue-ui-icon.d.ts +16 -0
- package/dist/types/vue-ui-kpi.d.ts +13 -0
- package/dist/types/vue-ui-mini-loader.d.ts +13 -0
- package/dist/types/vue-ui-molecule.d.ts +17 -0
- package/dist/types/vue-ui-mood-radar.d.ts +17 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
- package/dist/types/vue-ui-onion.d.ts +18 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
- package/dist/types/vue-ui-pattern.d.ts +17 -0
- package/dist/types/vue-ui-quadrant.d.ts +20 -0
- package/dist/types/vue-ui-quick-chart.d.ts +16 -0
- package/dist/types/vue-ui-radar.d.ts +22 -0
- package/dist/types/vue-ui-rating.d.ts +15 -0
- package/dist/types/vue-ui-relation-circle.d.ts +17 -0
- package/dist/types/vue-ui-ridgeline.d.ts +20 -0
- package/dist/types/vue-ui-rings.d.ts +17 -0
- package/dist/types/vue-ui-scatter.d.ts +19 -0
- package/dist/types/vue-ui-skeleton.d.ts +12 -0
- package/dist/types/vue-ui-smiley.d.ts +14 -0
- package/dist/types/vue-ui-spark-trend.d.ts +13 -0
- package/dist/types/vue-ui-sparkbar.d.ts +15 -0
- package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
- package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
- package/dist/types/vue-ui-sparkline.d.ts +15 -0
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
- package/dist/types/vue-ui-stackbar.d.ts +18 -0
- package/dist/types/vue-ui-strip-plot.d.ts +19 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
- package/dist/types/vue-ui-table.d.ts +17 -0
- package/dist/types/vue-ui-thermometer.d.ts +15 -0
- package/dist/types/vue-ui-timer.d.ts +12 -0
- package/dist/types/vue-ui-tiremarks.d.ts +15 -0
- package/dist/types/vue-ui-treemap.d.ts +18 -0
- package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
- package/dist/types/vue-ui-waffle.d.ts +18 -0
- package/dist/types/vue-ui-wheel.d.ts +15 -0
- package/dist/types/vue-ui-word-cloud.d.ts +17 -0
- package/dist/types/vue-ui-world.d.ts +17 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
- package/dist/types/vue-ui-xy.d.ts +24 -0
- package/dist/universal-registry-CL8g2COA.js +70 -0
- package/dist/universal.js +5 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BxqMb3sU.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-DGI4Mlad.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/vue-data-ui-h5C8hpE8.js +317 -0
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-8b3VZcUI.js → vue-ui-3d-bar-BZDLbeym.js} +103 -102
- package/dist/{vue-ui-accordion-BJG-ogQj.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-Cr_dhyTO.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
- package/dist/{vue-ui-annotator-ttaqcMTz.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-DXvTj07g.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
- package/dist/{vue-ui-candlestick-B5NqFTXr.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
- package/dist/{vue-ui-carousel-table-B0bpCRFh.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
- package/dist/{vue-ui-chestnut-Cby7Wcbu.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
- package/dist/{vue-ui-chord-Cxg8nwzZ.js → vue-ui-chord-DqGoensA.js} +61 -60
- package/dist/{vue-ui-circle-pack-Cc5e6dE3.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
- package/dist/{vue-ui-cursor-D6MvR7jD.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CaUM9n5b.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
- package/dist/{vue-ui-digits-DsoHRv9p.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-Dxsq1gpz.js → vue-ui-donut-CWgiy7rq.js} +39 -38
- package/dist/{vue-ui-donut-evolution-CFu9WNVV.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
- package/dist/{vue-ui-dumbbell-Cgb7ijQS.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
- package/dist/{vue-ui-flow-Ucb9PdWP.js → vue-ui-flow-C8iSww9L.js} +127 -126
- package/dist/{vue-ui-funnel-CV29tksj.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
- package/dist/{vue-ui-galaxy-CVJb9_hA.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
- package/dist/{vue-ui-gauge-ofpIH29X.js → vue-ui-gauge-MM8rPNWR.js} +149 -148
- package/dist/{vue-ui-gizmo-Ci9kN9VQ.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
- package/dist/{vue-ui-heatmap-BK_jorrw.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
- package/dist/{vue-ui-history-plot-Ce8BB4Tn.js → vue-ui-history-plot-BCfEt867.js} +105 -104
- package/dist/{vue-ui-kpi-DAHT9q6j.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-CuilTrcI.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-C6suewK-.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
- package/dist/{vue-ui-mood-radar-DPvGhgPI.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
- package/dist/{vue-ui-nested-donuts-BvPWp9Du.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
- package/dist/{vue-ui-onion-BZ0tfRV_.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-DqFj8hbo.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
- package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
- package/dist/{vue-ui-quadrant-Cg5e73ny.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
- package/dist/{vue-ui-quick-chart-sABlk5nb.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
- package/dist/{vue-ui-radar-DYcoGzSu.js → vue-ui-radar-BmmwGJaI.js} +90 -89
- package/dist/{vue-ui-rating-1eguB-TH.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-BeWuQDkk.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
- package/dist/{vue-ui-ridgeline-CG7FefqU.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
- package/dist/{vue-ui-rings-2eedFGuC.js → vue-ui-rings-DS-YbQVr.js} +74 -73
- package/dist/{vue-ui-scatter-CNtgNP5j.js → vue-ui-scatter-D8kUADP7.js} +121 -120
- package/dist/{vue-ui-skeleton-fqG3bKSz.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
- package/dist/{vue-ui-smiley-D4bvSF9S.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/vue-ui-spark-trend-qt8UvEPc.js +337 -0
- package/dist/{vue-ui-sparkbar-D1FXZyQE.js → vue-ui-sparkbar-DgHvA8ra.js} +86 -85
- package/dist/{vue-ui-sparkgauge-CHbbxg13.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-BxYes64D.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
- package/dist/{vue-ui-sparkline-CS3F5TFN.js → vue-ui-sparkline-BSGiRpQ9.js} +105 -104
- package/dist/{vue-ui-sparkstackbar-CUSBwkUS.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
- package/dist/{vue-ui-stackbar-CDihyp-i.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
- package/dist/{vue-ui-strip-plot-D6MFuKnN.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
- package/dist/{vue-ui-table-COT59wVb.js → vue-ui-table-DKHtmqLd.js} +9 -8
- package/dist/{vue-ui-table-heatmap--e8yw5yS.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DnSLwUNN.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
- package/dist/{vue-ui-thermometer-ByiRARW0.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
- package/dist/{vue-ui-timer-DOQVdVN2.js → vue-ui-timer-C4LZMTeg.js} +31 -31
- package/dist/{vue-ui-tiremarks-BFXeJQNZ.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
- package/dist/{vue-ui-treemap-s_O9rQUT.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
- package/dist/{vue-ui-vertical-bar-Bn-m5GKU.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
- package/dist/{vue-ui-waffle-DmxaWHSw.js → vue-ui-waffle-CP6jUrto.js} +76 -75
- package/dist/{vue-ui-wheel-zJ5U-h_D.js → vue-ui-wheel-B59kWUZd.js} +85 -84
- package/dist/{vue-ui-word-cloud-BEnkOZdv.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
- package/dist/{vue-ui-world-CkqoTL4V.js → vue-ui-world-B6S7X6sr.js} +19 -19
- package/dist/{vue-ui-xy-Uqdl2nk-.js → vue-ui-xy-BjzutuG2.js} +496 -505
- package/dist/{vue-ui-xy-canvas-cIU8Y1sD.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
- package/package.json +19 -11
- package/dist/index-Lg17rmB1.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DpwLJMsW.js +0 -13
- package/dist/vue-data-ui-lki09wwK.js +0 -325
- package/dist/vue-ui-spark-trend-GML5JJxY.js +0 -315
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as w, computed as g, createElementBlock as e, openBlock as o, normalizeStyle as n, normalizeClass as N, createCommentVNode as a, unref as s, createVNode as d, createElementVNode as t, Fragment as k, renderList as h, createStaticVNode as $ } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as V } from "./useNestedProp-
|
|
4
|
-
import y from "./PackageVersion-
|
|
2
|
+
import { k as B, X as u, s as v, j as F } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { u as O, a as V } from "./useNestedProp-DF7e2h1z.js";
|
|
4
|
+
import y from "./PackageVersion-DRpg18lg.js";
|
|
5
5
|
import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
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"], u1 = ["stroke"], c1 = ["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"], ul = ["stroke", "fill"], cl = ["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"], u0 = ["stroke"], c0 = ["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"], ut = ["stroke", "stroke-width"], ct = ["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"], ue = ["x", "y", "fill"], ce = ["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 = {
|
|
7
7
|
__name: "vue-ui-skeleton",
|
|
@@ -14,7 +14,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, U = [
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
setup(P) {
|
|
17
|
-
const { vue_ui_skeleton: W } =
|
|
17
|
+
const { vue_ui_skeleton: W } = O(), j = P, f = w(`vue-ui-skeleton-${Math.random()}`), l = g(() => V({
|
|
18
18
|
userConfig: j.config,
|
|
19
19
|
defaultConfig: W
|
|
20
20
|
})), z = g(() => l.value.style.animated), c = g(() => l.value.type), Z = w([60, 50, 55, 36, 40, 25, 26, 12]), q = g(() => B({
|
|
@@ -2410,7 +2410,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, U = [
|
|
|
2410
2410
|
}, [
|
|
2411
2411
|
d(y),
|
|
2412
2412
|
(o(), e(k, null, h(5, (r, i) => t("polygon", {
|
|
2413
|
-
points: s(
|
|
2413
|
+
points: s(F)({
|
|
2414
2414
|
plot: { x: 10 + i * 20, y: 15 },
|
|
2415
2415
|
radius: 6
|
|
2416
2416
|
}),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useSlots as E, onMounted as G, ref as R, computed as _, watch as T, createElementBlock as s, openBlock as i, normalizeStyle as a, createCommentVNode as d, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as Q } from "./useNestedProp-
|
|
2
|
+
import { o as P, f as q, a as x, d as b, X as f, i as k } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { u as J, a as Q } from "./useNestedProp-DF7e2h1z.js";
|
|
4
4
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "vue-ui-rating-title",
|
|
8
8
|
style: { width: "100%" }
|
|
9
|
-
}, tt = ["xmlns", "stroke"], et = { id: "vueUiSmiley0" }, lt = ["stop-color"], ot = ["stop-color"], at = ["fill"], st = ["stroke"], it = ["xmlns", "viewBox", "stroke"], nt = { id: "vueUiSmiley0" }, rt = ["stop-color"], dt = ["stop-color"], ut = ["fill"], vt = ["viewBox", "stroke"], pt = ["xmlns", "stroke"], yt = { id: "vueUiSmiley1" }, ft = ["stop-color"], ht = ["stop-color"], ct = ["fill"], gt = ["xmlns", "stroke"],
|
|
9
|
+
}, tt = ["xmlns", "stroke"], et = { id: "vueUiSmiley0" }, lt = ["stop-color"], ot = ["stop-color"], at = ["fill"], st = ["stroke"], it = ["xmlns", "viewBox", "stroke"], nt = { id: "vueUiSmiley0" }, rt = ["stop-color"], dt = ["stop-color"], ut = ["fill"], vt = ["viewBox", "stroke"], pt = ["xmlns", "stroke"], yt = { id: "vueUiSmiley1" }, ft = ["stop-color"], ht = ["stop-color"], ct = ["fill"], gt = ["xmlns", "stroke"], mt = ["xmlns", "viewBox", "stroke"], kt = { id: "vueUiSmiley1" }, xt = ["stop-color"], bt = ["stop-color"], $t = ["fill"], wt = ["viewBox", "stroke"], zt = ["xmlns", "stroke"], Mt = { id: "vueUiSmiley2" }, St = ["stop-color"], _t = ["stop-color"], Rt = ["fill"], Ct = ["xmlns", "stroke"], Bt = ["xmlns", "viewBox", "stroke"], jt = { id: "vueUiSmiley2" }, Ht = ["stop-color"], Ut = ["stop-color"], Gt = ["fill"], Vt = ["xmlns", "viewBox", "stroke"], At = ["xmlns", "stroke"], Xt = { id: "vueUiSmiley3" }, Yt = ["stop-color"], Nt = ["stop-color"], Ft = ["fill"], It = ["xmlns", "stroke"], Kt = ["xmlns", "viewBox", "stroke"], Ot = { id: "vueUiSmiley3" }, Lt = ["stop-color"], Dt = ["stop-color"], Et = ["fill"], Tt = ["xmlns", "viewBox", "stroke"], Pt = ["xmlns", "stroke"], qt = { id: "vueUiSmiley4" }, Jt = ["stop-color"], Qt = ["stop-color"], Wt = ["fill"], Zt = ["xmlns", "stroke"], te = ["xmlns", "viewBox", "stroke"], ee = { id: "vueUiSmiley4" }, le = ["stop-color"], oe = ["stop-color"], ae = ["fill"], se = ["xmlns", "viewBox", "stroke"], ie = {
|
|
10
10
|
__name: "vue-ui-smiley",
|
|
11
11
|
props: {
|
|
12
12
|
config: {
|
|
@@ -24,14 +24,14 @@ const Z = {
|
|
|
24
24
|
},
|
|
25
25
|
emits: ["rate"],
|
|
26
26
|
setup(V, { expose: A, emit: X }) {
|
|
27
|
-
const { vue_ui_smiley: Y } =
|
|
27
|
+
const { vue_ui_smiley: Y } = J(), u = V, N = E();
|
|
28
28
|
G(() => {
|
|
29
29
|
N["chart-background"] && console.warn("VueUiSmiley does not support the #chart-background slot.");
|
|
30
30
|
}), G(() => {
|
|
31
31
|
C();
|
|
32
32
|
});
|
|
33
33
|
function C() {
|
|
34
|
-
(!Object.hasOwn(u.dataset, "rating") ||
|
|
34
|
+
(!Object.hasOwn(u.dataset, "rating") || P(u.dataset)) && q({
|
|
35
35
|
componentName: "VueUiSmiley",
|
|
36
36
|
type: "datasetAttribute",
|
|
37
37
|
property: "rating"
|
|
@@ -71,7 +71,7 @@ const Z = {
|
|
|
71
71
|
return e * n;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function m(r) {
|
|
75
75
|
y.value || (p.value = r, F("rate", r));
|
|
76
76
|
}
|
|
77
77
|
function O() {
|
|
@@ -139,8 +139,8 @@ const Z = {
|
|
|
139
139
|
position:relative`),
|
|
140
140
|
onMouseenter: e[0] || (e[0] = (n) => v.value = 0),
|
|
141
141
|
onMouseleave: e[1] || (e[1] = (n) => v.value = void 0),
|
|
142
|
-
onClick: e[2] || (e[2] = (n) =>
|
|
143
|
-
onKeyup: e[3] || (e[3] = z((n) =>
|
|
142
|
+
onClick: e[2] || (e[2] = (n) => m(1)),
|
|
143
|
+
onKeyup: e[3] || (e[3] = z((n) => m(1), ["enter"]))
|
|
144
144
|
}, [
|
|
145
145
|
t.value.style.tooltip.show && w.value && y.value ? (i(), s("div", {
|
|
146
146
|
key: 0,
|
|
@@ -186,7 +186,7 @@ const Z = {
|
|
|
186
186
|
l("radialGradient", et, [
|
|
187
187
|
l("stop", {
|
|
188
188
|
offset: "0%",
|
|
189
|
-
"stop-color": o(
|
|
189
|
+
"stop-color": o(k)(t.value.style.colors.active[0], 0.05)
|
|
190
190
|
}, null, 8, lt),
|
|
191
191
|
l("stop", {
|
|
192
192
|
offset: "100%",
|
|
@@ -233,7 +233,7 @@ const Z = {
|
|
|
233
233
|
l("radialGradient", nt, [
|
|
234
234
|
l("stop", {
|
|
235
235
|
offset: "0%",
|
|
236
|
-
"stop-color": o(
|
|
236
|
+
"stop-color": o(k)(t.value.style.colors.activeReadonly[0], 0.05)
|
|
237
237
|
}, null, 8, rt),
|
|
238
238
|
l("stop", {
|
|
239
239
|
offset: "100%",
|
|
@@ -272,8 +272,8 @@ const Z = {
|
|
|
272
272
|
style: a(`cursor:${t.value.readonly ? "default" : "pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
273
273
|
onMouseenter: e[4] || (e[4] = (n) => v.value = 1),
|
|
274
274
|
onMouseleave: e[5] || (e[5] = (n) => v.value = void 0),
|
|
275
|
-
onClick: e[6] || (e[6] = (n) =>
|
|
276
|
-
onKeyup: e[7] || (e[7] = z((n) =>
|
|
275
|
+
onClick: e[6] || (e[6] = (n) => m(2)),
|
|
276
|
+
onKeyup: e[7] || (e[7] = z((n) => m(2), ["enter"]))
|
|
277
277
|
}, [
|
|
278
278
|
t.value.style.tooltip.show && w.value && y.value ? (i(), s("div", {
|
|
279
279
|
key: 0,
|
|
@@ -319,7 +319,7 @@ const Z = {
|
|
|
319
319
|
l("radialGradient", yt, [
|
|
320
320
|
l("stop", {
|
|
321
321
|
offset: "0%",
|
|
322
|
-
"stop-color": o(
|
|
322
|
+
"stop-color": o(k)(t.value.style.colors.active[1], 0.05)
|
|
323
323
|
}, null, 8, ft),
|
|
324
324
|
l("stop", {
|
|
325
325
|
offset: "100%",
|
|
@@ -364,10 +364,10 @@ const Z = {
|
|
|
364
364
|
"stroke-linejoin": "round"
|
|
365
365
|
}, [
|
|
366
366
|
l("defs", null, [
|
|
367
|
-
l("radialGradient",
|
|
367
|
+
l("radialGradient", kt, [
|
|
368
368
|
l("stop", {
|
|
369
369
|
offset: "0%",
|
|
370
|
-
"stop-color": o(
|
|
370
|
+
"stop-color": o(k)(t.value.style.colors.activeReadonly[1], 0.05)
|
|
371
371
|
}, null, 8, xt),
|
|
372
372
|
l("stop", {
|
|
373
373
|
offset: "100%",
|
|
@@ -385,7 +385,7 @@ const Z = {
|
|
|
385
385
|
"stroke-width": "0",
|
|
386
386
|
fill: t.value.style.icons.useGradient ? "url(#vueUiSmiley1)" : t.value.style.colors.activeReadonly[1]
|
|
387
387
|
}, null, 8, $t)
|
|
388
|
-
], 8,
|
|
388
|
+
], 8, mt)) : d("", !0),
|
|
389
389
|
!t.value.style.icons.filled && y.value ? (i(), s("svg", {
|
|
390
390
|
key: 4,
|
|
391
391
|
style: { position: "absolute", top: "0", left: "0", transition: "all 0.1s ease-in-out" },
|
|
@@ -406,8 +406,8 @@ const Z = {
|
|
|
406
406
|
style: a(`cursor:${t.value.readonly ? "default" : "pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
407
407
|
onMouseenter: e[8] || (e[8] = (n) => v.value = 2),
|
|
408
408
|
onMouseleave: e[9] || (e[9] = (n) => v.value = void 0),
|
|
409
|
-
onClick: e[10] || (e[10] = (n) =>
|
|
410
|
-
onKeyup: e[11] || (e[11] = z((n) =>
|
|
409
|
+
onClick: e[10] || (e[10] = (n) => m(3)),
|
|
410
|
+
onKeyup: e[11] || (e[11] = z((n) => m(3), ["enter"]))
|
|
411
411
|
}, [
|
|
412
412
|
t.value.style.tooltip.show && w.value && y.value ? (i(), s("div", {
|
|
413
413
|
key: 0,
|
|
@@ -453,7 +453,7 @@ const Z = {
|
|
|
453
453
|
l("radialGradient", Mt, [
|
|
454
454
|
l("stop", {
|
|
455
455
|
offset: "0%",
|
|
456
|
-
"stop-color": o(
|
|
456
|
+
"stop-color": o(k)(t.value.style.colors.activeReadonly[2], 0.05)
|
|
457
457
|
}, null, 8, St),
|
|
458
458
|
l("stop", {
|
|
459
459
|
offset: "100%",
|
|
@@ -513,7 +513,7 @@ const Z = {
|
|
|
513
513
|
l("radialGradient", jt, [
|
|
514
514
|
l("stop", {
|
|
515
515
|
offset: "0%",
|
|
516
|
-
"stop-color": o(
|
|
516
|
+
"stop-color": o(k)(t.value.style.colors.activeReadonly[2], 0.05)
|
|
517
517
|
}, null, 8, Ht),
|
|
518
518
|
l("stop", {
|
|
519
519
|
offset: "100%",
|
|
@@ -555,8 +555,8 @@ const Z = {
|
|
|
555
555
|
style: a(`cursor:${t.value.readonly ? "default" : "pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
556
556
|
onMouseenter: e[12] || (e[12] = (n) => v.value = 3),
|
|
557
557
|
onMouseleave: e[13] || (e[13] = (n) => v.value = void 0),
|
|
558
|
-
onClick: e[14] || (e[14] = (n) =>
|
|
559
|
-
onKeyup: e[15] || (e[15] = z((n) =>
|
|
558
|
+
onClick: e[14] || (e[14] = (n) => m(4)),
|
|
559
|
+
onKeyup: e[15] || (e[15] = z((n) => m(4), ["enter"]))
|
|
560
560
|
}, [
|
|
561
561
|
t.value.style.tooltip.show && w.value && y.value ? (i(), s("div", {
|
|
562
562
|
key: 0,
|
|
@@ -602,7 +602,7 @@ const Z = {
|
|
|
602
602
|
l("radialGradient", Xt, [
|
|
603
603
|
l("stop", {
|
|
604
604
|
offset: "0%",
|
|
605
|
-
"stop-color": o(
|
|
605
|
+
"stop-color": o(k)(t.value.style.colors.activeReadonly[3], 0.95)
|
|
606
606
|
}, null, 8, Yt),
|
|
607
607
|
l("stop", {
|
|
608
608
|
offset: "100%",
|
|
@@ -655,7 +655,7 @@ const Z = {
|
|
|
655
655
|
l("radialGradient", Ot, [
|
|
656
656
|
l("stop", {
|
|
657
657
|
offset: "0%",
|
|
658
|
-
"stop-color": o(
|
|
658
|
+
"stop-color": o(k)(t.value.style.colors.activeReadonly[3], 0.95)
|
|
659
659
|
}, null, 8, Lt),
|
|
660
660
|
l("stop", {
|
|
661
661
|
offset: "100%",
|
|
@@ -690,8 +690,8 @@ const Z = {
|
|
|
690
690
|
style: a(`cursor:${t.value.readonly ? "default" : "pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),
|
|
691
691
|
onMouseenter: e[16] || (e[16] = (n) => v.value = 4),
|
|
692
692
|
onMouseleave: e[17] || (e[17] = (n) => v.value = void 0),
|
|
693
|
-
onClick: e[18] || (e[18] = (n) =>
|
|
694
|
-
onKeyup: e[19] || (e[19] = z((n) =>
|
|
693
|
+
onClick: e[18] || (e[18] = (n) => m(5)),
|
|
694
|
+
onKeyup: e[19] || (e[19] = z((n) => m(5), ["enter"]))
|
|
695
695
|
}, [
|
|
696
696
|
t.value.style.tooltip.show && w.value && y.value ? (i(), s("div", {
|
|
697
697
|
key: 0,
|
|
@@ -737,7 +737,7 @@ const Z = {
|
|
|
737
737
|
l("radialGradient", qt, [
|
|
738
738
|
l("stop", {
|
|
739
739
|
offset: "0%",
|
|
740
|
-
"stop-color": o(
|
|
740
|
+
"stop-color": o(k)(t.value.style.colors.activeReadonly[4], 0.9)
|
|
741
741
|
}, null, 8, Jt),
|
|
742
742
|
l("stop", {
|
|
743
743
|
offset: "100%",
|
|
@@ -790,7 +790,7 @@ const Z = {
|
|
|
790
790
|
l("radialGradient", ee, [
|
|
791
791
|
l("stop", {
|
|
792
792
|
offset: "0%",
|
|
793
|
-
"stop-color": o(
|
|
793
|
+
"stop-color": o(k)(t.value.style.colors.activeReadonly[4], 0.9)
|
|
794
794
|
}, null, 8, le),
|
|
795
795
|
l("stop", {
|
|
796
796
|
offset: "100%",
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { defineAsyncComponent as ce, ref as f, toRefs as he, computed as u, watch as G, nextTick as J, onMounted as ye, createElementBlock as r, openBlock as o, normalizeStyle as pe, createCommentVNode as h, createBlock as ge, unref as i, createVNode as me, createElementVNode as z, renderSlot as K, toDisplayString as Q } from "vue";
|
|
2
|
+
import { c as ke, t as be, a0 as Y, o as R, f as _e, q as x, a1 as we, X as xe, s as W, W as ee, d as te, a as $e } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as Le, u as Ce } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Ae, a as le } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as Te, B as Ne } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as Se } from "./useFitSvgText-2crs6Fv5.js";
|
|
7
|
+
import { t as ze } from "./themes-D3cUNuKw.js";
|
|
8
|
+
import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["id"], Be = ["stop-color"], Ve = ["stop-color"], De = { key: 1 }, Oe = ["d", "fill"], Ge = ["d", "fill"], Re = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], We = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Ze = ["d"], qe = ["fill", "d"], He = ["x", "y", "width", "height"], Ue = ["x", "y", "fill", "font-size", "font-weight"], Pe = ["stroke", "cx", "cy", "fill"], Xe = ["x", "y", "font-size", "fill", "font-weight"], Je = {
|
|
10
|
+
__name: "vue-ui-spark-trend",
|
|
11
|
+
props: {
|
|
12
|
+
config: {
|
|
13
|
+
type: Object,
|
|
14
|
+
default() {
|
|
15
|
+
return {};
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
dataset: {
|
|
19
|
+
type: Array,
|
|
20
|
+
default() {
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(ae) {
|
|
26
|
+
const ne = ce(() => import("./PackageVersion-DRpg18lg.js")), { vue_ui_spark_trend: ue } = Ae(), m = ae, F = f(null), Z = f(null), q = f(null), $ = f(null), C = f(null), A = f(!1), y = f(null), L = f(ke()), e = f(j()), { loading: _, FINAL_DATASET: M, manualLoading: I } = Te({
|
|
27
|
+
...he(m),
|
|
28
|
+
FINAL_CONFIG: e,
|
|
29
|
+
prepareConfig: j,
|
|
30
|
+
skeletonDataset: [1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233],
|
|
31
|
+
skeletonConfig: be({
|
|
32
|
+
defaultConfig: e.value,
|
|
33
|
+
userConfig: {
|
|
34
|
+
style: {
|
|
35
|
+
animation: { show: !1 },
|
|
36
|
+
backgroundColor: "#99999930",
|
|
37
|
+
line: {
|
|
38
|
+
stroke: "#6A6A6A",
|
|
39
|
+
useColorTrend: !1
|
|
40
|
+
},
|
|
41
|
+
dataLabel: { show: !1, useColorTrend: !1, color: "#6A6A6A" }
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
})
|
|
45
|
+
});
|
|
46
|
+
function j() {
|
|
47
|
+
const t = le({
|
|
48
|
+
userConfig: m.config,
|
|
49
|
+
defaultConfig: ue
|
|
50
|
+
});
|
|
51
|
+
return t.theme ? {
|
|
52
|
+
...le({
|
|
53
|
+
userConfig: ze.vue_ui_spark_trend[t.theme] || m.config,
|
|
54
|
+
defaultConfig: t
|
|
55
|
+
})
|
|
56
|
+
} : t;
|
|
57
|
+
}
|
|
58
|
+
const p = u(() => Y({
|
|
59
|
+
data: M.value,
|
|
60
|
+
threshold: e.value.downsample.threshold
|
|
61
|
+
}));
|
|
62
|
+
G(() => m.config, (t) => {
|
|
63
|
+
e.value = j(), V.value = e.value.style.width, w.value = e.value.style.height, H();
|
|
64
|
+
}, { deep: !0 });
|
|
65
|
+
function E(t) {
|
|
66
|
+
return t.map((l) => x(l));
|
|
67
|
+
}
|
|
68
|
+
const b = f(Y({
|
|
69
|
+
data: M.value,
|
|
70
|
+
threshold: e.value.downsample.threshold
|
|
71
|
+
}).map((t) => e.value.style.animation.show || [void 0, 1 / 0, -1 / 0, null, NaN].includes(t) ? null : t));
|
|
72
|
+
G(p, (t) => {
|
|
73
|
+
y.value && (cancelAnimationFrame(y.value), y.value = null), e.value.style.animation.show ? b.value = Array(t.length).fill(null) : b.value = t.map(
|
|
74
|
+
(l) => ![void 0, 1 / 0, -1 / 0, null].includes(l) && !Number.isNaN(l) ? l : null
|
|
75
|
+
), B(), J(() => S(".vue-ui-sparktrend-progress-label", 6));
|
|
76
|
+
}, { deep: !0, immediate: !0 }), G(
|
|
77
|
+
() => JSON.stringify(m.dataset),
|
|
78
|
+
() => {
|
|
79
|
+
y.value && (cancelAnimationFrame(y.value), y.value = null), I.value = R(m.dataset);
|
|
80
|
+
const t = p.value;
|
|
81
|
+
b.value = e.value.style.animation.show ? Array(t.length).fill(null) : t.map((l) => Number.isFinite(l) ? l : null), B(), J(() => S(".vue-ui-sparktrend-progress-label", 6));
|
|
82
|
+
},
|
|
83
|
+
{ deep: !1, immediate: !0 }
|
|
84
|
+
);
|
|
85
|
+
function B() {
|
|
86
|
+
let l = 1e3 / e.value.style.animation.animationFrames, s = performance.now();
|
|
87
|
+
if (!_.value && e.value.style.animation.show && e.value.style.animation.animationFrames && M.value.length > 1) {
|
|
88
|
+
let k = function() {
|
|
89
|
+
A.value = !0;
|
|
90
|
+
let P = performance.now(), X = P - s;
|
|
91
|
+
X > l ? (s = P - X % l, c < p.value.length ? (b.value.push(p.value[c]), c += 1, y.value = requestAnimationFrame(k)) : (cancelAnimationFrame(y.value), b.value = E(p.value), A.value = !1, S(".vue-ui-sparktrend-progress-label", 6))) : y.value = requestAnimationFrame(k);
|
|
92
|
+
};
|
|
93
|
+
b.value = [];
|
|
94
|
+
let c = 0;
|
|
95
|
+
k();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
ye(() => {
|
|
99
|
+
H();
|
|
100
|
+
});
|
|
101
|
+
const se = u(() => e.value.debug);
|
|
102
|
+
function H() {
|
|
103
|
+
if (R(m.dataset) && (_e({
|
|
104
|
+
componentName: "VueUiSparkTrend",
|
|
105
|
+
type: "dataset",
|
|
106
|
+
debug: se.value
|
|
107
|
+
}), I.value = !0), R(m.dataset) || (I.value = !1), e.value.responsive) {
|
|
108
|
+
const t = Le(() => {
|
|
109
|
+
const { width: l, height: s } = Ce({
|
|
110
|
+
chart: F.value,
|
|
111
|
+
source: q.value
|
|
112
|
+
});
|
|
113
|
+
requestAnimationFrame(() => {
|
|
114
|
+
V.value = l, w.value = s;
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
$.value && (C.value && $.value.unobserve(C.value), $.value.disconnect()), $.value = new ResizeObserver(t), C.value = F.value.parentNode, $.value.observe(C.value);
|
|
118
|
+
}
|
|
119
|
+
B(), S(".vue-ui-sparktrend-progress-label", 6);
|
|
120
|
+
}
|
|
121
|
+
const V = f(e.value.style.width), w = f(e.value.style.height), v = u(() => ({
|
|
122
|
+
height: w.value,
|
|
123
|
+
width: V.value
|
|
124
|
+
})), n = u(() => ({
|
|
125
|
+
top: e.value.style.padding.top,
|
|
126
|
+
left: e.value.style.padding.left,
|
|
127
|
+
right: v.value.width - e.value.style.padding.right,
|
|
128
|
+
bottom: v.value.height - e.value.style.padding.bottom,
|
|
129
|
+
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),
|
|
130
|
+
width: v.value.width - (e.value.style.padding.left + e.value.style.padding.right)
|
|
131
|
+
})), D = u(() => {
|
|
132
|
+
const t = E(p.value).filter(Number.isFinite);
|
|
133
|
+
if (!t.length) return { max: 0, min: 0 };
|
|
134
|
+
let l = t[0], s = t[0];
|
|
135
|
+
for (let c = 1; c < t.length; c++) {
|
|
136
|
+
const k = t[c];
|
|
137
|
+
k > l && (l = k), k < s && (s = k);
|
|
138
|
+
}
|
|
139
|
+
return { max: l, min: s };
|
|
140
|
+
}), oe = u(() => {
|
|
141
|
+
const t = p.value, l = t.length ? t[t.length - 1] : "x";
|
|
142
|
+
return [
|
|
143
|
+
L.value,
|
|
144
|
+
t.length,
|
|
145
|
+
Number.isFinite(l) ? l : "x",
|
|
146
|
+
e.value.downsample.threshold,
|
|
147
|
+
e.value.style.line.smooth ? "s" : "l"
|
|
148
|
+
].join("-");
|
|
149
|
+
}), T = u(() => {
|
|
150
|
+
const t = D.value.min >= 0 ? 0 : D.value.min;
|
|
151
|
+
return Math.abs(t);
|
|
152
|
+
}), re = u(() => D.value.max + T.value);
|
|
153
|
+
function U(t) {
|
|
154
|
+
return t / re.value;
|
|
155
|
+
}
|
|
156
|
+
const ie = u(() => p.value.length), a = u(() => b.value.map((t, l) => {
|
|
157
|
+
const s = isNaN(t) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t) ? 0 : t || 0;
|
|
158
|
+
return {
|
|
159
|
+
value: x(t),
|
|
160
|
+
absoluteValue: x(s),
|
|
161
|
+
plotValue: x(s + T.value),
|
|
162
|
+
toMax: U(s + T.value),
|
|
163
|
+
x: n.value.left + x(l * (n.value.width / (ie.value - 1))) - e.value.style.padding.right,
|
|
164
|
+
y: n.value.bottom - x(n.value.height * U(s + T.value))
|
|
165
|
+
};
|
|
166
|
+
})), N = u(() => {
|
|
167
|
+
const t = E(p.value);
|
|
168
|
+
return e.value.style.trendLabel.trendType === "global" ? we(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;
|
|
169
|
+
}), O = u(() => A.value || N.value === 0 ? "neutral" : N.value > 0 ? "positive" : "negative"), g = u(() => e.value.style.arrow.colors[O.value]), ve = u(() => {
|
|
170
|
+
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 }, s = [];
|
|
171
|
+
return a.value.forEach((c) => {
|
|
172
|
+
s.push(`${c.x},${c.y} `);
|
|
173
|
+
}), [t.x, t.y, ...s, l.x, l.y].toString();
|
|
174
|
+
}), de = u(() => {
|
|
175
|
+
let t = [];
|
|
176
|
+
return a.value.forEach((l) => {
|
|
177
|
+
t.push(`${l.x},${l.y} `);
|
|
178
|
+
}), `M ${t.toString()}`;
|
|
179
|
+
}), d = u(() => w.value / 2 - e.value.style.trendLabel.fontSize), fe = u(() => n.value.left * 0.8), { fitText: S } = Se({
|
|
180
|
+
svgRef: Z,
|
|
181
|
+
unitWidth: fe,
|
|
182
|
+
fontSize: e.value.style.trendLabel.fontSize
|
|
183
|
+
});
|
|
184
|
+
return (t, l) => (o(), r("div", {
|
|
185
|
+
ref_key: "sparkTrendChart",
|
|
186
|
+
ref: F,
|
|
187
|
+
class: "vue-ui-spark-trend",
|
|
188
|
+
id: L.value,
|
|
189
|
+
style: pe(`width:100%;font-family:${e.value.style.fontFamily};background:${e.value.style.backgroundColor}`)
|
|
190
|
+
}, [
|
|
191
|
+
(o(), r("svg", {
|
|
192
|
+
key: oe.value,
|
|
193
|
+
ref_key: "svgRef",
|
|
194
|
+
ref: Z,
|
|
195
|
+
xmlns: i(xe),
|
|
196
|
+
viewBox: `0 0 ${v.value.width} ${v.value.height}`,
|
|
197
|
+
style: "width:100%;background:transparent;overflow:visible"
|
|
198
|
+
}, [
|
|
199
|
+
me(i(ne)),
|
|
200
|
+
t.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
201
|
+
key: 0,
|
|
202
|
+
x: 0,
|
|
203
|
+
y: 0,
|
|
204
|
+
width: v.value.width <= 0 ? 10 : v.value.width,
|
|
205
|
+
height: v.value.height <= 0 ? 10 : v.value.height,
|
|
206
|
+
style: {
|
|
207
|
+
pointerEvents: "none"
|
|
208
|
+
}
|
|
209
|
+
}, [
|
|
210
|
+
K(t.$slots, "chart-background", {}, void 0, !0)
|
|
211
|
+
], 8, je)) : h("", !0),
|
|
212
|
+
z("defs", null, [
|
|
213
|
+
z("linearGradient", {
|
|
214
|
+
x1: "0%",
|
|
215
|
+
y1: "0%",
|
|
216
|
+
x2: "0%",
|
|
217
|
+
y2: "100%",
|
|
218
|
+
id: `pill_gradient_${L.value}`
|
|
219
|
+
}, [
|
|
220
|
+
z("stop", {
|
|
221
|
+
offset: "0%",
|
|
222
|
+
"stop-color": i(W)(e.value.style.line.useColorTrend ? g.value : e.value.style.line.stroke, e.value.style.area.opacity)
|
|
223
|
+
}, null, 8, Be),
|
|
224
|
+
z("stop", {
|
|
225
|
+
offset: "100%",
|
|
226
|
+
"stop-color": e.value.style.backgroundColor
|
|
227
|
+
}, null, 8, Ve)
|
|
228
|
+
], 8, Ee)
|
|
229
|
+
]),
|
|
230
|
+
e.value.style.area.show && a.value[0] ? (o(), r("g", De, [
|
|
231
|
+
e.value.style.line.smooth ? (o(), r("path", {
|
|
232
|
+
key: 0,
|
|
233
|
+
d: `M ${a.value[0].x},${n.value.bottom} ${i(ee)(a.value)} L ${a.value.at(-1).x},${n.value.bottom} Z`,
|
|
234
|
+
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${L.value})` : i(W)(e.value.style.line.useColorTrend ? g.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
235
|
+
stroke: "none"
|
|
236
|
+
}, null, 8, Oe)) : (o(), r("path", {
|
|
237
|
+
key: 1,
|
|
238
|
+
d: `M${ve.value}Z`,
|
|
239
|
+
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${L.value})` : i(W)(e.value.style.line.useColorTrend ? g.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
240
|
+
stroke: "none"
|
|
241
|
+
}, null, 8, Ge))
|
|
242
|
+
])) : h("", !0),
|
|
243
|
+
e.value.style.line.smooth && a.value.length ? (o(), r("path", {
|
|
244
|
+
key: 2,
|
|
245
|
+
d: `M ${i(ee)(a.value)}`,
|
|
246
|
+
stroke: e.value.style.line.useColorTrend ? g.value : e.value.style.line.stroke,
|
|
247
|
+
fill: "none",
|
|
248
|
+
"stroke-width": e.value.style.line.strokeWidth,
|
|
249
|
+
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
250
|
+
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
251
|
+
}, null, 8, Re)) : h("", !0),
|
|
252
|
+
!e.value.style.line.smooth && a.value.length ? (o(), r("path", {
|
|
253
|
+
key: 3,
|
|
254
|
+
d: de.value,
|
|
255
|
+
stroke: e.value.style.line.useColorTrend ? g.value : e.value.style.line.stroke,
|
|
256
|
+
fill: "none",
|
|
257
|
+
"stroke-width": e.value.style.line.strokeWidth,
|
|
258
|
+
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
259
|
+
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
260
|
+
}, null, 8, We)) : h("", !0),
|
|
261
|
+
i(_) ? (o(), r("path", {
|
|
262
|
+
key: 4,
|
|
263
|
+
fill: "#6A6A6A",
|
|
264
|
+
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`
|
|
265
|
+
}, null, 8, Ze)) : (o(), r("path", {
|
|
266
|
+
key: 5,
|
|
267
|
+
fill: g.value,
|
|
268
|
+
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`
|
|
269
|
+
}, null, 8, qe)),
|
|
270
|
+
i(_) ? (o(), r("rect", {
|
|
271
|
+
key: 6,
|
|
272
|
+
x: n.value.left / 2 - e.value.style.trendLabel.fontSize - 2,
|
|
273
|
+
y: w.value / 2 + e.value.style.trendLabel.fontSize - 2,
|
|
274
|
+
width: e.value.style.trendLabel.fontSize * 2,
|
|
275
|
+
height: e.value.style.trendLabel.fontSize,
|
|
276
|
+
fill: "#6A6A6A80",
|
|
277
|
+
rx: "3"
|
|
278
|
+
}, null, 8, He)) : h("", !0),
|
|
279
|
+
!A.value && !i(_) ? (o(), r("text", {
|
|
280
|
+
key: 7,
|
|
281
|
+
class: "vue-ui-sparktrend-progress-label",
|
|
282
|
+
x: n.value.left / 2,
|
|
283
|
+
y: w.value / 2 + e.value.style.trendLabel.fontSize * 2,
|
|
284
|
+
"text-anchor": "middle",
|
|
285
|
+
fill: e.value.style.trendLabel.useColorTrend ? g.value : e.value.style.trendLabel.color,
|
|
286
|
+
"font-size": e.value.style.trendLabel.fontSize,
|
|
287
|
+
"font-weight": e.value.style.trendLabel.bold ? "bold" : "normal"
|
|
288
|
+
}, Q(i(te)({
|
|
289
|
+
p: N.value > 0 ? "+" : "",
|
|
290
|
+
v: N.value,
|
|
291
|
+
s: "%",
|
|
292
|
+
r: e.value.style.trendLabel.rounding
|
|
293
|
+
})), 9, Ue)) : h("", !0),
|
|
294
|
+
a.value.length && a.value.at(-1).x !== void 0 ? (o(), r("circle", {
|
|
295
|
+
key: 8,
|
|
296
|
+
stroke: e.value.style.backgroundColor,
|
|
297
|
+
"stroke-width": 2,
|
|
298
|
+
cx: a.value.at(-1).x,
|
|
299
|
+
cy: a.value.at(-1).y,
|
|
300
|
+
r: 4,
|
|
301
|
+
fill: i(_) ? "#6A6A6A" : g.value
|
|
302
|
+
}, null, 8, Pe)) : h("", !0),
|
|
303
|
+
a.value.length && a.value.at(-1).x !== void 0 && e.value.style.dataLabel.show ? (o(), r("text", {
|
|
304
|
+
key: 9,
|
|
305
|
+
"text-anchor": "middle",
|
|
306
|
+
x: a.value.at(-1).x,
|
|
307
|
+
y: a.value.at(-1).y - e.value.style.dataLabel.fontSize / 1.5,
|
|
308
|
+
"font-size": e.value.style.dataLabel.fontSize,
|
|
309
|
+
fill: e.value.style.dataLabel.useColorTrend ? g.value : e.value.style.dataLabel.color,
|
|
310
|
+
"font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
|
|
311
|
+
}, Q(i($e)(
|
|
312
|
+
e.value.style.dataLabel.formatter,
|
|
313
|
+
a.value.at(-1).value,
|
|
314
|
+
i(te)({
|
|
315
|
+
p: e.value.style.dataLabel.prefix,
|
|
316
|
+
v: a.value.at(-1).value,
|
|
317
|
+
s: e.value.style.dataLabel.suffix,
|
|
318
|
+
r: e.value.style.dataLabel.rounding
|
|
319
|
+
}),
|
|
320
|
+
{ datapoint: a.value.at(-1) }
|
|
321
|
+
)), 9, Xe)) : h("", !0)
|
|
322
|
+
], 8, Ie)),
|
|
323
|
+
t.$slots.source ? (o(), r("div", {
|
|
324
|
+
key: 0,
|
|
325
|
+
ref_key: "source",
|
|
326
|
+
ref: q,
|
|
327
|
+
dir: "auto"
|
|
328
|
+
}, [
|
|
329
|
+
K(t.$slots, "source", {}, void 0, !0)
|
|
330
|
+
], 512)) : h("", !0),
|
|
331
|
+
i(_) ? (o(), ge(Ne, { key: 1 })) : h("", !0)
|
|
332
|
+
], 12, Me));
|
|
333
|
+
}
|
|
334
|
+
}, ut = /* @__PURE__ */ Fe(Je, [["__scopeId", "data-v-95dc56d2"]]);
|
|
335
|
+
export {
|
|
336
|
+
ut as default
|
|
337
|
+
};
|