vue-data-ui 3.9.5 → 3.9.7
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-i6njovHV.js → Arrow-Cbn8f8m4.js} +1 -1
- package/dist/{BaseDraggableDialog-n3raFtf2.js → BaseDraggableDialog-C167SnU0.js} +2 -2
- package/dist/BaseIcon-r3_sTK1A.js +265 -0
- package/dist/{BaseZoomControls-gNf811C7.js → BaseZoomControls-D8N7fb-c.js} +2 -2
- package/dist/{ColorPicker-C4ClF-aL.js → ColorPicker-Bq2C5Dll.js} +2 -2
- package/dist/{DataTable-DFcqksx2.js → DataTable-DNeCys3I.js} +2 -2
- package/dist/{Legend-PhhPyrZ0.js → Legend-Dxz13z4E.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D44f2zrW.js → NonSvgPenAndPaper-ZnkWbBri.js} +3 -3
- package/dist/{PackageVersion-BuFi5-eQ.js → PackageVersion-D3p-7W8-.js} +1 -1
- package/dist/{PenAndPaper-Cjiyv0O9.js → PenAndPaper-CsqBamFZ.js} +3 -3
- package/dist/{Shape-BuBasQnO.js → Shape-_iTOIp3x.js} +1 -1
- package/dist/{Slicer-DFcLRKwb.js → Slicer-DBYna_by.js} +2 -2
- package/dist/{SlicerPreview-Bhjrz2jx.js → SlicerPreview-pHjYklxh.js} +2 -2
- package/dist/{SparkTooltip-yKdo0Bx6.js → SparkTooltip-BaSHhfes.js} +1 -1
- package/dist/{Title-BMp0dt6A.js → Title-BcXW_dzC.js} +1 -1
- package/dist/{Tooltip-l2pmtXwi.js → Tooltip-B79qvriT.js} +1 -1
- package/dist/{UserOptions-DKK-Opvk.js → UserOptions-B-2A_KRb.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-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-CNmX1SJg.js → dom-to-png-Cm7R2Zu2.js} +1 -1
- package/dist/{img-C5q4A7ke.js → img-BJzUSmkm.js} +1 -1
- package/dist/{lib-_nVZfi2t.js → lib-W9waxHL3.js} +25 -25
- package/dist/{pdf-B7obJjyd.js → pdf-BJR-8Moh.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +76 -35
- package/dist/{useAutoSizeLabelsInsideViewbox-Cj4ZcFAh.js → useAutoSizeLabelsInsideViewbox-DAdqpHf1.js} +1 -1
- package/dist/{useNestedProp-QQOzuoZs.js → useNestedProp-J-ft0CnG.js} +1 -1
- package/dist/{usePrinter-DXIMGR61.js → usePrinter-DhoMn87n.js} +2 -2
- package/dist/{useSvgExport-DrjCWun4.js → useSvgExport-ByUukOZt.js} +2 -2
- package/dist/{useTimeLabels-C5qMhpbe.js → useTimeLabels-DKoynYae.js} +1 -1
- package/dist/{vue-data-ui-CC8h6-5j.js → vue-data-ui-JtSrMoh7.js} +67 -67
- package/dist/vue-data-ui.js +72 -72
- package/dist/{vue-ui-3d-bar-BqtUIpkf.js → vue-ui-3d-bar-sCT2ZeWr.js} +7 -7
- package/dist/{vue-ui-accordion-BoVGnqPH.js → vue-ui-accordion-DDRTyrvm.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D9hs8ZQK.js → vue-ui-age-pyramid-BaiWMiKe.js} +7 -7
- package/dist/{vue-ui-annotator-C9VXlkjo.js → vue-ui-annotator-D8erYXm9.js} +12 -15
- package/dist/{vue-ui-bullet-C0kz8F_R.js → vue-ui-bullet-CgSe4b--.js} +142 -133
- package/dist/{vue-ui-candlestick-2CyhDt9g.js → vue-ui-candlestick-B3TgdjiQ.js} +9 -9
- package/dist/{vue-ui-carousel-table-CA3ANfSk.js → vue-ui-carousel-table-B04Y-qO3.js} +4 -4
- package/dist/{vue-ui-chestnut-C4ooqhXs.js → vue-ui-chestnut-BInPEzRp.js} +6 -6
- package/dist/{vue-ui-chord-DpIBRX8P.js → vue-ui-chord-CbeNNLzf.js} +9 -9
- package/dist/{vue-ui-circle-pack-BA8WoFCi.js → vue-ui-circle-pack-DiiWdX9L.js} +7 -7
- package/dist/{vue-ui-cursor-C1l2fB5p.js → vue-ui-cursor-CGQd2-XF.js} +3 -3
- package/dist/{vue-ui-dag-KU8FP5pZ.js → vue-ui-dag-Dc-JEBIs.js} +8 -8
- package/dist/{vue-ui-dashboard-7x6OpPrj.js → vue-ui-dashboard-CJ91_FgA.js} +68 -68
- package/dist/{vue-ui-digits-DSLZBEPr.js → vue-ui-digits-uyucu7A1.js} +2 -2
- package/dist/vue-ui-donut-CvdLt42P.js +2078 -0
- package/dist/{vue-ui-donut-evolution-ZcADRKLf.js → vue-ui-donut-evolution-CFflQgt4.js} +10 -10
- package/dist/{vue-ui-dumbbell-D31jdjR7.js → vue-ui-dumbbell-XQPC6uSl.js} +8 -8
- package/dist/{vue-ui-flow-D6FXUjgo.js → vue-ui-flow-DLfw2_HI.js} +8 -8
- package/dist/{vue-ui-funnel-_UBqcaw8.js → vue-ui-funnel-O_rRTJyh.js} +7 -7
- package/dist/{vue-ui-galaxy-DPjq9BU4.js → vue-ui-galaxy-Befh_XKz.js} +8 -8
- package/dist/{vue-ui-gauge-DBLXhBf4.js → vue-ui-gauge-CkQch81K.js} +8 -8
- package/dist/{vue-ui-geo-DQMaNUyA.js → vue-ui-geo-C-cVubEG.js} +8 -8
- package/dist/{vue-ui-gizmo-BQ0V962i.js → vue-ui-gizmo-CBZerwpT.js} +5 -5
- package/dist/{vue-ui-heatmap-vQvgO3Jd.js → vue-ui-heatmap-DfAMVPNZ.js} +9 -9
- package/dist/{vue-ui-history-plot-BqxtOo3I.js → vue-ui-history-plot-CaUYgiYU.js} +8 -8
- package/dist/{vue-ui-horizontal-bar-B-Xv-e_t.js → vue-ui-horizontal-bar-vym39pX7.js} +14 -14
- package/dist/{vue-ui-kpi-PnKb1U7i.js → vue-ui-kpi-DeZqvXVx.js} +3 -3
- package/dist/{vue-ui-mini-loader-BEhetSQy.js → vue-ui-mini-loader-C8Cf66wY.js} +2 -2
- package/dist/{vue-ui-molecule-Cj25eSBt.js → vue-ui-molecule-CwbotBMg.js} +32 -32
- package/dist/{vue-ui-mood-radar-DSOjVYUj.js → vue-ui-mood-radar-BX8SGmOb.js} +8 -8
- package/dist/{vue-ui-nested-donuts-DN5leHW-.js → vue-ui-nested-donuts-C-rCSsCT.js} +8 -8
- package/dist/{vue-ui-onion-CEJpwyyw.js → vue-ui-onion-Cb-ui03D.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-DugOv0JC.js → vue-ui-parallel-coordinate-plot-BXaVdeh1.js} +29 -29
- package/dist/{vue-ui-quadrant-DuDyJMpD.js → vue-ui-quadrant-Bb2XT-5p.js} +9 -9
- package/dist/{vue-ui-quick-chart-BV4tJOaV.js → vue-ui-quick-chart-DGYm7ANa.js} +8 -8
- package/dist/{vue-ui-radar-DCOxntLw.js → vue-ui-radar-DVShshb4.js} +9 -9
- package/dist/{vue-ui-rating-B4fQmjIS.js → vue-ui-rating-BxKn1uTy.js} +2 -2
- package/dist/{vue-ui-relation-circle-C8FlmFhP.js → vue-ui-relation-circle-DyHeP-VM.js} +8 -8
- package/dist/{vue-ui-ridgeline-Cc4NpIdn.js → vue-ui-ridgeline-BnEpp5KX.js} +10 -10
- package/dist/{vue-ui-rings-thRs8cAb.js → vue-ui-rings-BprCgcrN.js} +9 -9
- package/dist/{vue-ui-scatter-DT0OYCnc.js → vue-ui-scatter-DnPWfHF_.js} +9 -9
- package/dist/{vue-ui-skeleton-BscRFRSG.js → vue-ui-skeleton-ggQIevev.js} +3 -3
- package/dist/{vue-ui-smiley-CFNQSDEF.js → vue-ui-smiley-DVJsGAyp.js} +2 -2
- package/dist/{vue-ui-spark-trend-BwEXIKf4.js → vue-ui-spark-trend-DFE03UVd.js} +3 -3
- package/dist/{vue-ui-sparkbar-C-L4ZLQI.js → vue-ui-sparkbar-8c_fjAhY.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CY9kWxnz.js → vue-ui-sparkgauge-6_FH0-Gt.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-D13VzeeT.js → vue-ui-sparkhistogram-BGPUpVTb.js} +4 -4
- package/dist/{vue-ui-sparkline-BuHRSYbt.js → vue-ui-sparkline-CLisqh4_.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CnQCbwMB.js → vue-ui-sparkstackbar-DqaGBIVn.js} +3 -3
- package/dist/{vue-ui-stackbar-Cl5BKYmC.js → vue-ui-stackbar-Cxvs5z29.js} +11 -11
- package/dist/{vue-ui-stackline-BR8H9SOw.js → vue-ui-stackline-CN9Em2Ju.js} +11 -11
- package/dist/{vue-ui-strip-plot-CukKW4RC.js → vue-ui-strip-plot-CgotpZSa.js} +8 -8
- package/dist/{vue-ui-table-BRiGet5p.js → vue-ui-table-C6Sx9sSr.js} +5 -5
- package/dist/{vue-ui-table-heatmap-DNfOy5vg.js → vue-ui-table-heatmap-DOWpa-yh.js} +10 -10
- package/dist/{vue-ui-table-sparkline-BPW0z_z_.js → vue-ui-table-sparkline-BGSOetxW.js} +4 -4
- package/dist/{vue-ui-thermometer-DLUyiRGK.js → vue-ui-thermometer-BbUpT5oC.js} +8 -8
- package/dist/{vue-ui-timer-CKJbLkNv.js → vue-ui-timer-CAZacjsS.js} +5 -5
- package/dist/{vue-ui-tiremarks-F0mqJsmF.js → vue-ui-tiremarks-BKHYFsIk.js} +7 -7
- package/dist/{vue-ui-treemap-BLvGu7lx.js → vue-ui-treemap-DgR_ARY4.js} +9 -9
- package/dist/{vue-ui-waffle-B5FH0bcJ.js → vue-ui-waffle-pN8IT07N.js} +9 -9
- package/dist/{vue-ui-wheel-zam8y1UD.js → vue-ui-wheel-C_HELTLy.js} +7 -7
- package/dist/{vue-ui-word-cloud-CZTtw4xK.js → vue-ui-word-cloud-Bclo-UyV.js} +8 -8
- package/dist/{vue-ui-world--ONnm3rc.js → vue-ui-world-rpH2VBDg.js} +7 -7
- package/dist/{vue-ui-xy-cv9Kh3M3.js → vue-ui-xy-DTKiDOjP.js} +11 -11
- package/dist/{vue-ui-xy-canvas-B3oRqTH1.js → vue-ui-xy-canvas-DWpFUg-h.js} +11 -11
- package/package.json +5 -5
- package/dist/BaseIcon-Bcm8I1fZ.js +0 -224
- package/dist/vue-ui-donut-CZwS1QdB.js +0 -2011
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineAsyncComponent as j, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { c as
|
|
4
|
-
import { t as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { _ as
|
|
1
|
+
import { defineAsyncComponent as j, ref as d, computed as i, onMounted as Xe, toRefs as Ye, watch as he, onBeforeUnmount as Je, createElementBlock as n, openBlock as s, unref as r, normalizeStyle as V, normalizeClass as de, createBlock as _, createCommentVNode as c, createElementVNode as $, withCtx as f, renderSlot as v, normalizeProps as b, guardReactiveProps as p, createSlots as Ke, createVNode as Qe, Fragment as G, renderList as q, toDisplayString as T, Teleport as Ze } from "vue";
|
|
2
|
+
import { u as et, a as X } from "./useNestedProp-J-ft0CnG.js";
|
|
3
|
+
import { c as tt, t as at, n as lt, M as ot, l as st, a as P, d as M, X as rt, o as ge, g as fe, k as nt } from "./lib-W9waxHL3.js";
|
|
4
|
+
import { t as ut, u as it } from "./useResponsive-DfdjqQps.js";
|
|
5
|
+
import { u as ct } from "./usePrinter-DhoMn87n.js";
|
|
6
|
+
import { u as vt, B as ht } from "./BaseScanner-BMpwQAfz.js";
|
|
7
|
+
import { u as dt } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as gt } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
|
+
import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as mt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import yt from "./Legend-Dxz13z4E.js";
|
|
12
|
+
import bt from "./Title-BcXW_dzC.js";
|
|
13
|
+
import pt from "./img-BJzUSmkm.js";
|
|
14
|
+
import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, segments: { baseColor: "#5A5A5A", dataLabels: { color: "#CCCCCC" }, ticks: { stroke: "#5A5A5A" } }, target: { color: "#1A1A1A" }, valueBar: { color: "#CCCCCC", stroke: "#5A5A5A", label: { color: "#CCCCCC" } } } } }, ye = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, segments: { baseColor: "#D32F2F", dataLabels: { color: "#424242" }, ticks: { stroke: "#424242" } }, target: { color: "#3A3A3A" }, valueBar: { color: "#3A3A3A", stroke: "#FFF8E1", label: { color: "#424242" } } } } }, be = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, segments: { baseColor: "#D32F2F", dataLabels: { color: "#BDBDBD" }, ticks: { stroke: "#BDBDBD" } }, target: { color: "#3A3A3A" }, valueBar: { color: "#3A3A3A", stroke: "#1E1E1E", label: { color: "#BDBDBD" } } } } }, pe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, segments: { baseColor: "#00AA00", dataLabels: { color: "#66CC66" }, ticks: { stroke: "#00AA00" } }, target: { color: "#023602" }, valueBar: { color: "#1b291b", stroke: "#1A1A1A", label: { color: "#66CC66" } } } } }, ke = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, segments: { baseColor: "#8F837A", dataLabels: { color: "#8A9892" }, ticks: { stroke: "#8F837A" } }, target: { color: "#40403a" }, valueBar: { color: "#8F837A", stroke: "#fbfafa", label: { color: "#8A9892" } } } } }, Ce = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", legend: { backgroundColor: "#fbfafa", color: "#50606C" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, segments: { baseColor: "#718890", dataLabels: { color: "#50606C" }, ticks: { stroke: "#50606C" } }, target: { color: "#50606C" }, valueBar: { color: "#50606C", stroke: "#fbfafa", label: { color: "#50606C" } } } } }, Ae = {
|
|
16
16
|
default: {},
|
|
17
17
|
dark: me,
|
|
@@ -20,7 +20,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
20
20
|
hack: pe,
|
|
21
21
|
zen: ke,
|
|
22
22
|
concrete: Ce
|
|
23
|
-
},
|
|
23
|
+
}, aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24
24
|
__proto__: null,
|
|
25
25
|
celebration: ye,
|
|
26
26
|
celebrationNight: be,
|
|
@@ -29,19 +29,19 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
29
29
|
default: Ae,
|
|
30
30
|
hack: pe,
|
|
31
31
|
zen: ke
|
|
32
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
32
|
+
}, Symbol.toStringTag, { value: "Module" })), Ct = ["id"], At = {
|
|
33
33
|
key: 1,
|
|
34
34
|
ref: "noTitle",
|
|
35
35
|
class: "vue-data-ui-no-title-space",
|
|
36
36
|
style: "height:36px; width: 100%;background:transparent"
|
|
37
|
-
},
|
|
37
|
+
}, wt = ["id"], Bt = ["xmlns", "viewBox"], xt = ["width", "height"], _t = { key: 1 }, $t = ["x", "y", "height", "width", "fill", "stroke"], Lt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ft = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ot = ["x", "y", "font-size", "font-weight", "fill"], St = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Dt = { key: 3 }, Et = ["x", "y", "fill", "font-size", "font-weight"], It = { key: 4 }, Tt = ["x1", "x2", "y1", "y2", "stroke"], Pt = {
|
|
38
38
|
key: 4,
|
|
39
39
|
class: "vue-data-ui-watermark"
|
|
40
|
-
},
|
|
40
|
+
}, Mt = ["id"], zt = {
|
|
41
41
|
key: 0,
|
|
42
42
|
class: "vue-ui-bullet-legend-item",
|
|
43
43
|
dir: "auto"
|
|
44
|
-
},
|
|
44
|
+
}, Ht = { style: { "margin-right": "2px" } }, Rt = {
|
|
45
45
|
__name: "vue-ui-bullet",
|
|
46
46
|
props: {
|
|
47
47
|
config: {
|
|
@@ -58,10 +58,10 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
setup(we, { expose: Be }) {
|
|
61
|
-
const xe = j(() => import("./PackageVersion-
|
|
62
|
-
get: () =>
|
|
61
|
+
const xe = j(() => import("./PackageVersion-D3p-7W8-.js")), _e = j(() => import("./PenAndPaper-CsqBamFZ.js")), $e = j(() => import("./UserOptions-B-2A_KRb.js")), { vue_ui_bullet: Le } = et(), { isThemeValid: Fe, warnInvalidTheme: Oe } = gt(), L = we, C = d(null), Y = d(null), J = d(0), K = d(null), Q = d(null), Se = d(0), F = d(null), D = d(null), Z = d(!1), w = i({
|
|
62
|
+
get: () => h.value.hasOwnProperty("value"),
|
|
63
63
|
set: (t) => t
|
|
64
|
-
}), O =
|
|
64
|
+
}), O = i(() => h.value.segments ? Array.isArray(h.value.segments) ? h.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|
|
65
65
|
|
|
66
66
|
segments: [
|
|
67
67
|
{
|
|
@@ -94,14 +94,22 @@ segments: [
|
|
|
94
94
|
},
|
|
95
95
|
{...}
|
|
96
96
|
]
|
|
97
|
-
`), w.value = !1, !1)), ee =
|
|
97
|
+
`), w.value = !1, !1)), ee = i(() => !!e.value.debug), De = i(() => {
|
|
98
|
+
const { top: t, right: l, bottom: a, left: u } = e.value.style.chart.padding;
|
|
99
|
+
return {
|
|
100
|
+
top: t,
|
|
101
|
+
right: l,
|
|
102
|
+
bottom: a,
|
|
103
|
+
left: u
|
|
104
|
+
};
|
|
105
|
+
});
|
|
98
106
|
function te() {
|
|
99
|
-
if (ge(
|
|
107
|
+
if (ge(h.value) ? (fe({
|
|
100
108
|
componentName: "VueUiBullet",
|
|
101
109
|
type: "dataset",
|
|
102
110
|
debug: ee.value
|
|
103
|
-
}), E.value = !0) : O.value ?
|
|
104
|
-
|
|
111
|
+
}), E.value = !0) : O.value ? h.value.segments.forEach((t, l) => {
|
|
112
|
+
nt({
|
|
105
113
|
datasetObject: t,
|
|
106
114
|
requiredAttributes: ["name", "from", "to"]
|
|
107
115
|
}).forEach((a) => {
|
|
@@ -113,13 +121,14 @@ segments: [
|
|
|
113
121
|
debug: ee.value
|
|
114
122
|
});
|
|
115
123
|
});
|
|
116
|
-
}) : (w.value = !1, E.value = !0), ge(
|
|
117
|
-
const t =
|
|
118
|
-
const { width: l, height: a } =
|
|
124
|
+
}) : (w.value = !1, E.value = !0), ge(h.value) || (E.value = e.value.loading), e.value.responsive) {
|
|
125
|
+
const t = ut(() => {
|
|
126
|
+
const { width: l, height: a } = it({
|
|
119
127
|
chart: C.value,
|
|
120
128
|
title: e.value.style.chart.title.text ? Y.value : null,
|
|
121
129
|
legend: e.value.style.chart.legend.show ? K.value : null,
|
|
122
|
-
source: Q.value
|
|
130
|
+
source: Q.value,
|
|
131
|
+
padding: De.value
|
|
123
132
|
}), k = (e.value.style.chart.legend.show ? 24 : 0) || 12;
|
|
124
133
|
requestAnimationFrame(() => {
|
|
125
134
|
x.value.width = l, x.value.height = a - k;
|
|
@@ -127,12 +136,12 @@ segments: [
|
|
|
127
136
|
});
|
|
128
137
|
F.value && (D.value && F.value.unobserve(D.value), F.value.disconnect()), F.value = new ResizeObserver(t), D.value = C.value.parentNode, F.value.observe(D.value);
|
|
129
138
|
}
|
|
130
|
-
e.value.style.chart.animation.show && !B.value && se(
|
|
139
|
+
e.value.style.chart.animation.show && !B.value && se(h.value.value || 0);
|
|
131
140
|
}
|
|
132
|
-
|
|
141
|
+
Xe(() => {
|
|
133
142
|
Z.value = !0, te();
|
|
134
143
|
});
|
|
135
|
-
const A =
|
|
144
|
+
const A = d(tt());
|
|
136
145
|
function z() {
|
|
137
146
|
const t = X({
|
|
138
147
|
userConfig: L.config,
|
|
@@ -150,8 +159,8 @@ segments: [
|
|
|
150
159
|
defaultConfig: a
|
|
151
160
|
});
|
|
152
161
|
}
|
|
153
|
-
const e =
|
|
154
|
-
...
|
|
162
|
+
const e = d(z()), { loading: B, FINAL_DATASET: h, manualLoading: E } = vt({
|
|
163
|
+
...Ye(L),
|
|
155
164
|
FINAL_CONFIG: e,
|
|
156
165
|
prepareConfig: z,
|
|
157
166
|
skeletonDataset: {
|
|
@@ -178,7 +187,7 @@ segments: [
|
|
|
178
187
|
}
|
|
179
188
|
]
|
|
180
189
|
},
|
|
181
|
-
skeletonConfig:
|
|
190
|
+
skeletonConfig: at({
|
|
182
191
|
defaultConfig: e.value,
|
|
183
192
|
userConfig: {
|
|
184
193
|
userOptions: { show: !1 },
|
|
@@ -198,15 +207,15 @@ segments: [
|
|
|
198
207
|
}
|
|
199
208
|
}
|
|
200
209
|
})
|
|
201
|
-
}), { userOptionsVisible: H, setUserOptionsVisibility: ae, keepUserOptionState: le } =
|
|
210
|
+
}), { userOptionsVisible: H, setUserOptionsVisibility: ae, keepUserOptionState: le } = ft({ config: e.value }), { svgRef: R } = mt({ config: e.value.style.chart.title }), x = d({
|
|
202
211
|
width: e.value.style.chart.width,
|
|
203
212
|
height: e.value.style.chart.height
|
|
204
|
-
}),
|
|
213
|
+
}), Ee = i(() => x.value.width), Ie = i(() => x.value.height);
|
|
205
214
|
he(() => L.config, (t) => {
|
|
206
215
|
B.value || (e.value = z()), H.value = !e.value.userOptions.showOnChartHover, x.value.width = e.value.style.chart.width, x.value.height = e.value.style.chart.height, te(), J.value += 1;
|
|
207
216
|
}, { deep: !0 });
|
|
208
|
-
const o =
|
|
209
|
-
const t =
|
|
217
|
+
const o = i(() => {
|
|
218
|
+
const t = Ie.value, l = Ee.value, a = e.value.style.chart.padding.left, u = l - e.value.style.chart.padding.right, k = e.value.style.chart.padding.top, g = t - e.value.style.chart.padding.bottom;
|
|
210
219
|
return {
|
|
211
220
|
height: Math.max(1e-3, t),
|
|
212
221
|
width: Math.max(1e-3, l),
|
|
@@ -217,23 +226,23 @@ segments: [
|
|
|
217
226
|
chartWidth: Math.max(1e-3, u - a),
|
|
218
227
|
chartHeight: Math.max(1e-3, g - k)
|
|
219
228
|
};
|
|
220
|
-
}),
|
|
229
|
+
}), Te = i(() => {
|
|
221
230
|
if (!O.value) return [];
|
|
222
231
|
const t = [];
|
|
223
|
-
for (let l = 0; l <
|
|
224
|
-
t.push(
|
|
232
|
+
for (let l = 0; l < h.value.segments.length; l += 1)
|
|
233
|
+
t.push(lt(e.value.style.chart.segments.baseColor, l / h.value.segments.length));
|
|
225
234
|
return t;
|
|
226
|
-
}), N =
|
|
227
|
-
min: Math.min(...
|
|
228
|
-
max: Math.max(...
|
|
229
|
-
} : { min: 0, max: 1 }), m =
|
|
230
|
-
he(() =>
|
|
235
|
+
}), N = i(() => O.value ? {
|
|
236
|
+
min: Math.min(...h.value.segments.map((t) => t.from)),
|
|
237
|
+
max: Math.max(...h.value.segments.map((t) => t.to))
|
|
238
|
+
} : { min: 0, max: 1 }), m = d(Pe());
|
|
239
|
+
he(() => h.value, (t) => {
|
|
231
240
|
t.hasOwnProperty("value") && (E.value = !1), e.value.style.chart.animation.show && !B.value ? se(t.value || 0) : m.value = t.value || 0;
|
|
232
241
|
}, { deep: !0 });
|
|
233
|
-
function
|
|
234
|
-
return e.value.style.chart.animation.show && !B.value ? N.value.min :
|
|
242
|
+
function Pe() {
|
|
243
|
+
return e.value.style.chart.animation.show && !B.value ? N.value.min : h.value.value || 0;
|
|
235
244
|
}
|
|
236
|
-
const oe =
|
|
245
|
+
const oe = d(null);
|
|
237
246
|
function se(t) {
|
|
238
247
|
const l = Math.abs(t - m.value) / e.value.style.chart.animation.animationFrames;
|
|
239
248
|
function a() {
|
|
@@ -241,14 +250,14 @@ segments: [
|
|
|
241
250
|
}
|
|
242
251
|
a();
|
|
243
252
|
}
|
|
244
|
-
|
|
253
|
+
Je(() => {
|
|
245
254
|
cancelAnimationFrame(oe.value);
|
|
246
255
|
});
|
|
247
|
-
const y =
|
|
256
|
+
const y = i(() => {
|
|
248
257
|
if (!O.value)
|
|
249
258
|
return [];
|
|
250
|
-
const t =
|
|
251
|
-
x: o.value.left + (
|
|
259
|
+
const t = ot(N.value.min, N.value.max, e.value.style.chart.segments.ticks.divisions), l = t.min >= 0 ? 0 : Math.abs(t.min), a = {
|
|
260
|
+
x: o.value.left + (h.value.target + l) / (t.max + l) * o.value.chartWidth - e.value.style.chart.target.width / 2
|
|
252
261
|
}, u = {
|
|
253
262
|
width: (m.value + l) / (t.max + l) * o.value.chartWidth
|
|
254
263
|
}, k = t.ticks.map((g) => ({
|
|
@@ -261,16 +270,16 @@ segments: [
|
|
|
261
270
|
target: a,
|
|
262
271
|
value: u,
|
|
263
272
|
ticks: k,
|
|
264
|
-
chunks:
|
|
273
|
+
chunks: h.value.segments.map((g, qe) => ({
|
|
265
274
|
...g,
|
|
266
|
-
color: g.color ?
|
|
275
|
+
color: g.color ? st(g.color) : Te.value[qe],
|
|
267
276
|
x: o.value.left + o.value.chartWidth * ((g.from + l) / (t.max + l)),
|
|
268
277
|
y: o.value.top,
|
|
269
278
|
height: o.value.chartHeight,
|
|
270
279
|
width: o.value.chartWidth * (Math.abs(g.to - g.from) / (t.max + l))
|
|
271
280
|
}))
|
|
272
281
|
};
|
|
273
|
-
}), U =
|
|
282
|
+
}), U = i(() => !y.value || !y.value.chunks || !y.value.chunks.length ? [] : y.value.chunks.map((t) => {
|
|
274
283
|
const l = P(
|
|
275
284
|
e.value.style.chart.segments.dataLabels.formatter,
|
|
276
285
|
t.from,
|
|
@@ -296,31 +305,31 @@ segments: [
|
|
|
296
305
|
value: u,
|
|
297
306
|
display: `${t.name}: ${u}`
|
|
298
307
|
};
|
|
299
|
-
})),
|
|
308
|
+
})), Me = i(() => ({
|
|
300
309
|
cy: "bullet-div-legend",
|
|
301
310
|
backgroundColor: "transparent",
|
|
302
311
|
color: e.value.style.chart.legend.color,
|
|
303
312
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
304
313
|
paddingBottom: 6,
|
|
305
314
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
306
|
-
})), { isPrinting: re, isImaging: ne, generatePdf: ue, generateImage: ie } =
|
|
315
|
+
})), { isPrinting: re, isImaging: ne, generatePdf: ue, generateImage: ie } = ct({
|
|
307
316
|
elementId: `bullet_${A.value}`,
|
|
308
317
|
fileName: e.value.style.chart.title.text || "vue-ui-bullet",
|
|
309
318
|
options: e.value.userOptions.print
|
|
310
|
-
}),
|
|
319
|
+
}), ze = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), S = d(!1);
|
|
311
320
|
function ce(t) {
|
|
312
321
|
S.value = t, Se.value += 1;
|
|
313
322
|
}
|
|
314
|
-
function
|
|
323
|
+
function He() {
|
|
315
324
|
return y.value;
|
|
316
325
|
}
|
|
317
|
-
const I =
|
|
326
|
+
const I = d(!1);
|
|
318
327
|
function W() {
|
|
319
328
|
I.value = !I.value;
|
|
320
329
|
}
|
|
321
|
-
async function
|
|
330
|
+
async function Re({ scale: t = 2 } = {}) {
|
|
322
331
|
if (!C.value) return;
|
|
323
|
-
const { width: l, height: a } = C.value.getBoundingClientRect(), u = l / a, { imageUri: k, base64: g } = await
|
|
332
|
+
const { width: l, height: a } = C.value.getBoundingClientRect(), u = l / a, { imageUri: k, base64: g } = await pt({ domElement: C.value, base64: !0, img: !0, scale: t });
|
|
324
333
|
return {
|
|
325
334
|
imageUri: k,
|
|
326
335
|
base64: g,
|
|
@@ -330,22 +339,22 @@ segments: [
|
|
|
330
339
|
aspectRatio: u
|
|
331
340
|
};
|
|
332
341
|
}
|
|
333
|
-
const
|
|
342
|
+
const Ne = i(() => U.value.map((t) => ({
|
|
334
343
|
...t,
|
|
335
344
|
name: t.display
|
|
336
|
-
}))),
|
|
345
|
+
}))), Ue = i(() => e.value.style.chart.backgroundColor), We = i(() => e.value.style.chart.legend), je = i(() => e.value.style.chart.title), { exportSvg: Ve, getSvg: Ge } = dt({
|
|
337
346
|
svg: R,
|
|
338
|
-
title:
|
|
339
|
-
legend:
|
|
340
|
-
legendItems:
|
|
341
|
-
backgroundColor:
|
|
347
|
+
title: je,
|
|
348
|
+
legend: We,
|
|
349
|
+
legendItems: Ne,
|
|
350
|
+
backgroundColor: Ue
|
|
342
351
|
});
|
|
343
352
|
function ve({ isCb: t }) {
|
|
344
|
-
t ? e.value.userOptions.callbacks.svg(
|
|
353
|
+
t ? e.value.userOptions.callbacks.svg(Ge()) : Ve();
|
|
345
354
|
}
|
|
346
355
|
return Be({
|
|
347
|
-
getData:
|
|
348
|
-
getImage:
|
|
356
|
+
getData: He,
|
|
357
|
+
getImage: Re,
|
|
349
358
|
generatePdf: ue,
|
|
350
359
|
generateImage: ie,
|
|
351
360
|
generateSvg: ve,
|
|
@@ -369,33 +378,33 @@ segments: [
|
|
|
369
378
|
onClose: W
|
|
370
379
|
}, {
|
|
371
380
|
"annotator-action-close": f(() => [
|
|
372
|
-
|
|
381
|
+
v(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
373
382
|
]),
|
|
374
383
|
"annotator-action-color": f(({ color: a }) => [
|
|
375
|
-
|
|
384
|
+
v(t.$slots, "annotator-action-color", b(p({ color: a })), void 0, !0)
|
|
376
385
|
]),
|
|
377
386
|
"annotator-action-draw": f(({ mode: a }) => [
|
|
378
|
-
|
|
387
|
+
v(t.$slots, "annotator-action-draw", b(p({ mode: a })), void 0, !0)
|
|
379
388
|
]),
|
|
380
389
|
"annotator-action-undo": f(({ disabled: a }) => [
|
|
381
|
-
|
|
390
|
+
v(t.$slots, "annotator-action-undo", b(p({ disabled: a })), void 0, !0)
|
|
382
391
|
]),
|
|
383
392
|
"annotator-action-redo": f(({ disabled: a }) => [
|
|
384
|
-
|
|
393
|
+
v(t.$slots, "annotator-action-redo", b(p({ disabled: a })), void 0, !0)
|
|
385
394
|
]),
|
|
386
395
|
"annotator-action-delete": f(({ disabled: a }) => [
|
|
387
|
-
|
|
396
|
+
v(t.$slots, "annotator-action-delete", b(p({ disabled: a })), void 0, !0)
|
|
388
397
|
]),
|
|
389
398
|
_: 3
|
|
390
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
391
|
-
|
|
399
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
400
|
+
ze.value ? (s(), n("div", At, null, 512)) : c("", !0),
|
|
392
401
|
e.value.style.chart.title.text ? (s(), n("div", {
|
|
393
402
|
key: 2,
|
|
394
403
|
ref_key: "chartTitle",
|
|
395
404
|
ref: Y,
|
|
396
405
|
style: "width:100%;background:transparent;"
|
|
397
406
|
}, [
|
|
398
|
-
(s(), _(
|
|
407
|
+
(s(), _(bt, {
|
|
399
408
|
lineHeight: "1.3rem",
|
|
400
409
|
key: `title_${J.value}`,
|
|
401
410
|
config: {
|
|
@@ -409,10 +418,10 @@ segments: [
|
|
|
409
418
|
}
|
|
410
419
|
}
|
|
411
420
|
}, null, 8, ["config"]))
|
|
412
|
-
], 512)) :
|
|
421
|
+
], 512)) : c("", !0),
|
|
413
422
|
$("div", {
|
|
414
423
|
id: `legend-top-${A.value}`
|
|
415
|
-
}, null, 8,
|
|
424
|
+
}, null, 8, wt),
|
|
416
425
|
e.value.userOptions.show && w.value && (r(le) || r(H)) ? (s(), _(r($e), {
|
|
417
426
|
key: 3,
|
|
418
427
|
ref: "details",
|
|
@@ -445,59 +454,59 @@ segments: [
|
|
|
445
454
|
style: V({
|
|
446
455
|
visibility: r(le) ? r(H) ? "visible" : "hidden" : "visible"
|
|
447
456
|
})
|
|
448
|
-
},
|
|
457
|
+
}, Ke({ _: 2 }, [
|
|
449
458
|
t.$slots.menuIcon ? {
|
|
450
459
|
name: "menuIcon",
|
|
451
460
|
fn: f(({ isOpen: a, color: u }) => [
|
|
452
|
-
|
|
461
|
+
v(t.$slots, "menuIcon", b(p({ isOpen: a, color: u })), void 0, !0)
|
|
453
462
|
]),
|
|
454
463
|
key: "0"
|
|
455
464
|
} : void 0,
|
|
456
465
|
t.$slots.optionPdf ? {
|
|
457
466
|
name: "optionPdf",
|
|
458
467
|
fn: f(() => [
|
|
459
|
-
|
|
468
|
+
v(t.$slots, "optionPdf", {}, void 0, !0)
|
|
460
469
|
]),
|
|
461
470
|
key: "1"
|
|
462
471
|
} : void 0,
|
|
463
472
|
t.$slots.optionImg ? {
|
|
464
473
|
name: "optionImg",
|
|
465
474
|
fn: f(() => [
|
|
466
|
-
|
|
475
|
+
v(t.$slots, "optionImg", {}, void 0, !0)
|
|
467
476
|
]),
|
|
468
477
|
key: "2"
|
|
469
478
|
} : void 0,
|
|
470
479
|
t.$slots.optionSvg ? {
|
|
471
480
|
name: "optionSvg",
|
|
472
481
|
fn: f(() => [
|
|
473
|
-
|
|
482
|
+
v(t.$slots, "optionSvg", {}, void 0, !0)
|
|
474
483
|
]),
|
|
475
484
|
key: "3"
|
|
476
485
|
} : void 0,
|
|
477
486
|
t.$slots.optionFullscreen ? {
|
|
478
487
|
name: "optionFullscreen",
|
|
479
488
|
fn: f(({ toggleFullscreen: a, isFullscreen: u }) => [
|
|
480
|
-
|
|
489
|
+
v(t.$slots, "optionFullscreen", b(p({ toggleFullscreen: a, isFullscreen: u })), void 0, !0)
|
|
481
490
|
]),
|
|
482
491
|
key: "4"
|
|
483
492
|
} : void 0,
|
|
484
493
|
t.$slots.optionAnnotator ? {
|
|
485
494
|
name: "optionAnnotator",
|
|
486
495
|
fn: f(({ toggleAnnotator: a, isAnnotator: u }) => [
|
|
487
|
-
|
|
496
|
+
v(t.$slots, "optionAnnotator", b(p({ toggleAnnotator: a, isAnnotator: u })), void 0, !0)
|
|
488
497
|
]),
|
|
489
498
|
key: "5"
|
|
490
499
|
} : void 0
|
|
491
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
500
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
492
501
|
(s(), n("svg", {
|
|
493
502
|
ref_key: "svgRef",
|
|
494
503
|
ref: R,
|
|
495
|
-
xmlns: r(
|
|
504
|
+
xmlns: r(rt),
|
|
496
505
|
class: de({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value, "vue-ui-bullet-svg": !0 }),
|
|
497
506
|
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
498
507
|
style: V(`width: 100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
499
508
|
}, [
|
|
500
|
-
|
|
509
|
+
Qe(r(xe)),
|
|
501
510
|
t.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
502
511
|
key: 0,
|
|
503
512
|
x: 0,
|
|
@@ -508,9 +517,9 @@ segments: [
|
|
|
508
517
|
pointerEvents: "none"
|
|
509
518
|
}
|
|
510
519
|
}, [
|
|
511
|
-
|
|
512
|
-
], 8,
|
|
513
|
-
O.value ? (s(), n("g",
|
|
520
|
+
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
521
|
+
], 8, xt)) : c("", !0),
|
|
522
|
+
O.value ? (s(), n("g", _t, [
|
|
514
523
|
(s(!0), n(G, null, q(y.value.chunks, (a) => (s(), n("rect", {
|
|
515
524
|
x: a.x,
|
|
516
525
|
y: a.y,
|
|
@@ -520,7 +529,7 @@ segments: [
|
|
|
520
529
|
"stroke-width": 1,
|
|
521
530
|
stroke: e.value.style.chart.backgroundColor,
|
|
522
531
|
style: { transition: "x 0.3s ease-in-out, width 0.3s ease-in-out" }
|
|
523
|
-
}, null, 8,
|
|
532
|
+
}, null, 8, $t))), 256)),
|
|
524
533
|
!e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (s(), n("rect", {
|
|
525
534
|
key: 0,
|
|
526
535
|
x: y.value.target.x,
|
|
@@ -531,7 +540,7 @@ segments: [
|
|
|
531
540
|
fill: e.value.style.chart.target.color,
|
|
532
541
|
stroke: e.value.style.chart.target.stroke,
|
|
533
542
|
"stroke-width": e.value.style.chart.target.strokeWidth
|
|
534
|
-
}, null, 8,
|
|
543
|
+
}, null, 8, Lt)) : c("", !0),
|
|
535
544
|
$("rect", {
|
|
536
545
|
x: o.value.left,
|
|
537
546
|
y: o.value.top + (o.value.chartHeight - o.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
|
|
@@ -540,7 +549,7 @@ segments: [
|
|
|
540
549
|
fill: e.value.style.chart.valueBar.color,
|
|
541
550
|
stroke: e.value.style.chart.valueBar.stroke,
|
|
542
551
|
"stroke-width": e.value.style.chart.valueBar.strokeWidth
|
|
543
|
-
}, null, 8,
|
|
552
|
+
}, null, 8, Ft),
|
|
544
553
|
e.value.style.chart.valueBar.label.show ? (s(), n("text", {
|
|
545
554
|
key: 1,
|
|
546
555
|
x: o.value.left + y.value.value.width,
|
|
@@ -558,7 +567,7 @@ segments: [
|
|
|
558
567
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
559
568
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
560
569
|
})
|
|
561
|
-
)), 9,
|
|
570
|
+
)), 9, Ot)) : c("", !0),
|
|
562
571
|
e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (s(), n("rect", {
|
|
563
572
|
key: 2,
|
|
564
573
|
x: y.value.target.x,
|
|
@@ -570,8 +579,8 @@ segments: [
|
|
|
570
579
|
stroke: e.value.style.chart.target.stroke,
|
|
571
580
|
"stroke-width": e.value.style.chart.target.strokeWidth,
|
|
572
581
|
style: { transition: "x 0.3s ease-in-out" }
|
|
573
|
-
}, null, 8,
|
|
574
|
-
e.value.style.chart.segments.dataLabels.show ? (s(), n("g",
|
|
582
|
+
}, null, 8, St)) : c("", !0),
|
|
583
|
+
e.value.style.chart.segments.dataLabels.show ? (s(), n("g", Dt, [
|
|
575
584
|
(s(!0), n(G, null, q(y.value.ticks, (a) => (s(), n("text", {
|
|
576
585
|
x: a.x,
|
|
577
586
|
y: a.y,
|
|
@@ -588,9 +597,9 @@ segments: [
|
|
|
588
597
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
589
598
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
590
599
|
})
|
|
591
|
-
)), 9,
|
|
592
|
-
])) :
|
|
593
|
-
e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (s(), n("g",
|
|
600
|
+
)), 9, Et))), 256))
|
|
601
|
+
])) : c("", !0),
|
|
602
|
+
e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (s(), n("g", It, [
|
|
594
603
|
(s(!0), n(G, null, q(y.value.ticks, (a) => (s(), n("line", {
|
|
595
604
|
x1: a.x,
|
|
596
605
|
x2: a.x,
|
|
@@ -599,18 +608,18 @@ segments: [
|
|
|
599
608
|
stroke: e.value.style.chart.segments.ticks.stroke,
|
|
600
609
|
"stroke-width": 1,
|
|
601
610
|
"stroke-linecap": "round"
|
|
602
|
-
}, null, 8,
|
|
603
|
-
])) :
|
|
604
|
-
])) :
|
|
605
|
-
|
|
606
|
-
], 14,
|
|
607
|
-
t.$slots.watermark ? (s(), n("div",
|
|
608
|
-
|
|
609
|
-
])) :
|
|
611
|
+
}, null, 8, Tt))), 256))
|
|
612
|
+
])) : c("", !0)
|
|
613
|
+
])) : c("", !0),
|
|
614
|
+
v(t.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
615
|
+
], 14, Bt)),
|
|
616
|
+
t.$slots.watermark ? (s(), n("div", Pt, [
|
|
617
|
+
v(t.$slots, "watermark", b(p({ isPrinting: r(re) || r(ne) })), void 0, !0)
|
|
618
|
+
])) : c("", !0),
|
|
610
619
|
$("div", {
|
|
611
620
|
id: `legend-bottom-${A.value}`
|
|
612
|
-
}, null, 8,
|
|
613
|
-
Z.value ? (s(), _(
|
|
621
|
+
}, null, 8, Mt),
|
|
622
|
+
Z.value ? (s(), _(Ze, {
|
|
614
623
|
key: 5,
|
|
615
624
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
616
625
|
}, [
|
|
@@ -618,40 +627,40 @@ segments: [
|
|
|
618
627
|
ref_key: "chartLegend",
|
|
619
628
|
ref: K
|
|
620
629
|
}, [
|
|
621
|
-
e.value.style.chart.legend.show ? (s(), _(
|
|
630
|
+
e.value.style.chart.legend.show ? (s(), _(yt, {
|
|
622
631
|
key: 0,
|
|
623
632
|
clickable: !1,
|
|
624
633
|
legendSet: U.value,
|
|
625
|
-
config:
|
|
634
|
+
config: Me.value
|
|
626
635
|
}, {
|
|
627
636
|
item: f(({ legend: a }) => [
|
|
628
|
-
r(B) ?
|
|
629
|
-
$("span",
|
|
637
|
+
r(B) ? c("", !0) : (s(), n("div", zt, [
|
|
638
|
+
$("span", Ht, T(a.name) + ":", 1),
|
|
630
639
|
$("span", null, T(a.value), 1)
|
|
631
640
|
]))
|
|
632
641
|
]),
|
|
633
642
|
_: 1
|
|
634
|
-
}, 8, ["legendSet", "config"])) :
|
|
635
|
-
|
|
643
|
+
}, 8, ["legendSet", "config"])) : c("", !0),
|
|
644
|
+
v(t.$slots, "legend", { legend: U.value }, void 0, !0)
|
|
636
645
|
], 512)
|
|
637
|
-
], 8, ["to"])) :
|
|
646
|
+
], 8, ["to"])) : c("", !0),
|
|
638
647
|
t.$slots.source ? (s(), n("div", {
|
|
639
648
|
key: 6,
|
|
640
649
|
ref_key: "source",
|
|
641
650
|
ref: Q,
|
|
642
651
|
dir: "auto"
|
|
643
652
|
}, [
|
|
644
|
-
|
|
645
|
-
], 512)) :
|
|
646
|
-
r(B) ? (s(), _(
|
|
647
|
-
], 46,
|
|
653
|
+
v(t.$slots, "source", {}, void 0, !0)
|
|
654
|
+
], 512)) : c("", !0),
|
|
655
|
+
r(B) ? (s(), _(ht, { key: 7 })) : c("", !0)
|
|
656
|
+
], 46, Ct));
|
|
648
657
|
}
|
|
649
|
-
},
|
|
658
|
+
}, Nt = /* @__PURE__ */ kt(Rt, [["__scopeId", "data-v-7902e6f9"]]), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
650
659
|
__proto__: null,
|
|
651
|
-
default:
|
|
660
|
+
default: Nt
|
|
652
661
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
653
662
|
export {
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
663
|
+
aa as a,
|
|
664
|
+
la as b,
|
|
665
|
+
Nt as v
|
|
657
666
|
};
|