vue-data-ui 3.9.3 → 3.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{PackageVersion-Cx3U3jgV.js → PackageVersion-BuFi5-eQ.js} +1 -1
- package/dist/{Title-Bf2WqM40.js → Title-BMp0dt6A.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-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/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +17 -0
- package/dist/{useNestedProp-DjZhR3_5.js → useNestedProp-QQOzuoZs.js} +12 -1
- package/dist/{vue-data-ui-B7Axn7yb.js → vue-data-ui-CC8h6-5j.js} +66 -66
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-BW-lnKGl.js → vue-ui-3d-bar-BqtUIpkf.js} +3 -3
- package/dist/{vue-ui-accordion-BbkkniuF.js → vue-ui-accordion-BoVGnqPH.js} +1 -1
- package/dist/{vue-ui-age-pyramid-D3wuUYw9.js → vue-ui-age-pyramid-D9hs8ZQK.js} +3 -3
- package/dist/{vue-ui-annotator-BNTBBxok.js → vue-ui-annotator-C9VXlkjo.js} +2 -2
- package/dist/{vue-ui-bullet-D6eDCcCM.js → vue-ui-bullet-C0kz8F_R.js} +119 -119
- package/dist/{vue-ui-candlestick-DnDsrru6.js → vue-ui-candlestick-2CyhDt9g.js} +3 -3
- package/dist/{vue-ui-carousel-table-CSnQrLGZ.js → vue-ui-carousel-table-CA3ANfSk.js} +2 -2
- package/dist/{vue-ui-chestnut-CNeF97-x.js → vue-ui-chestnut-C4ooqhXs.js} +2 -2
- package/dist/{vue-ui-chord-IHMYgU6P.js → vue-ui-chord-DpIBRX8P.js} +3 -3
- package/dist/{vue-ui-circle-pack-CX-PKwMX.js → vue-ui-circle-pack-BA8WoFCi.js} +3 -3
- package/dist/{vue-ui-cursor-DttTxd7y.js → vue-ui-cursor-C1l2fB5p.js} +2 -2
- package/dist/vue-ui-dag-KU8FP5pZ.js +2796 -0
- package/dist/{vue-ui-dashboard-Diw4ce8Q.js → vue-ui-dashboard-7x6OpPrj.js} +64 -64
- package/dist/{vue-ui-digits-SXDDgXdv.js → vue-ui-digits-DSLZBEPr.js} +1 -1
- package/dist/{vue-ui-donut-C5YmHwzL.js → vue-ui-donut-CZwS1QdB.js} +3 -3
- package/dist/{vue-ui-donut-evolution-DDj2bBEY.js → vue-ui-donut-evolution-ZcADRKLf.js} +3 -3
- package/dist/{vue-ui-dumbbell-CL2zfaa9.js → vue-ui-dumbbell-D31jdjR7.js} +3 -3
- package/dist/{vue-ui-flow-B9AhZW00.js → vue-ui-flow-D6FXUjgo.js} +3 -3
- package/dist/{vue-ui-funnel-BfEAIZTb.js → vue-ui-funnel-_UBqcaw8.js} +3 -3
- package/dist/{vue-ui-galaxy-YKJJZuMK.js → vue-ui-galaxy-DPjq9BU4.js} +3 -3
- package/dist/{vue-ui-gauge-CZq9JsEo.js → vue-ui-gauge-DBLXhBf4.js} +3 -3
- package/dist/{vue-ui-geo-B6PyEQr0.js → vue-ui-geo-DQMaNUyA.js} +3 -3
- package/dist/{vue-ui-gizmo-HUo5_TOP.js → vue-ui-gizmo-BQ0V962i.js} +2 -2
- package/dist/{vue-ui-heatmap-J8KhjPqj.js → vue-ui-heatmap-vQvgO3Jd.js} +4 -4
- package/dist/{vue-ui-history-plot-C5kQV6LA.js → vue-ui-history-plot-BqxtOo3I.js} +3 -3
- package/dist/{vue-ui-horizontal-bar-B7xXn1ex.js → vue-ui-horizontal-bar-B-Xv-e_t.js} +4 -4
- package/dist/{vue-ui-kpi-P-XmbJWS.js → vue-ui-kpi-PnKb1U7i.js} +2 -2
- package/dist/{vue-ui-mini-loader-Ba1L_dXD.js → vue-ui-mini-loader-BEhetSQy.js} +1 -1
- package/dist/{vue-ui-molecule-CZmwGy3H.js → vue-ui-molecule-Cj25eSBt.js} +2 -2
- package/dist/{vue-ui-mood-radar-BHuAyycM.js → vue-ui-mood-radar-DSOjVYUj.js} +3 -3
- package/dist/{vue-ui-nested-donuts-nNoaEbow.js → vue-ui-nested-donuts-DN5leHW-.js} +3 -3
- package/dist/{vue-ui-onion-BshL66Mw.js → vue-ui-onion-CEJpwyyw.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-CJ3kM13A.js → vue-ui-parallel-coordinate-plot-DugOv0JC.js} +3 -3
- package/dist/{vue-ui-quadrant-Dy1Jv-kw.js → vue-ui-quadrant-DuDyJMpD.js} +3 -3
- package/dist/{vue-ui-quick-chart-BbboXq-a.js → vue-ui-quick-chart-BV4tJOaV.js} +2 -2
- package/dist/{vue-ui-radar-B5hEh8N4.js → vue-ui-radar-DCOxntLw.js} +3 -3
- package/dist/{vue-ui-rating-Dz4fQoXn.js → vue-ui-rating-B4fQmjIS.js} +1 -1
- package/dist/{vue-ui-relation-circle-B0_y669X.js → vue-ui-relation-circle-C8FlmFhP.js} +3 -3
- package/dist/{vue-ui-ridgeline-BI0y8eXQ.js → vue-ui-ridgeline-Cc4NpIdn.js} +3 -3
- package/dist/{vue-ui-rings-DrUtCdK6.js → vue-ui-rings-thRs8cAb.js} +3 -3
- package/dist/{vue-ui-scatter-RNbQn_9g.js → vue-ui-scatter-DT0OYCnc.js} +3 -3
- package/dist/{vue-ui-skeleton-CC8Hpc0I.js → vue-ui-skeleton-BscRFRSG.js} +2 -2
- package/dist/{vue-ui-smiley-sVz4LzSA.js → vue-ui-smiley-CFNQSDEF.js} +1 -1
- package/dist/{vue-ui-spark-trend-rmjin0iU.js → vue-ui-spark-trend-BwEXIKf4.js} +2 -2
- package/dist/{vue-ui-sparkbar-CLH2uuJe.js → vue-ui-sparkbar-C-L4ZLQI.js} +2 -2
- package/dist/{vue-ui-sparkgauge-CoJpHwni.js → vue-ui-sparkgauge-CY9kWxnz.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-Q3jR_iUb.js → vue-ui-sparkhistogram-D13VzeeT.js} +2 -2
- package/dist/{vue-ui-sparkline-cvuMrbcv.js → vue-ui-sparkline-BuHRSYbt.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-DPJL9KSc.js → vue-ui-sparkstackbar-CnQCbwMB.js} +2 -2
- package/dist/{vue-ui-stackbar-CFXVCz6S.js → vue-ui-stackbar-Cl5BKYmC.js} +3 -3
- package/dist/{vue-ui-stackline-DK7j5aaa.js → vue-ui-stackline-BR8H9SOw.js} +3 -3
- package/dist/{vue-ui-strip-plot-DTpf71XO.js → vue-ui-strip-plot-CukKW4RC.js} +3 -3
- package/dist/{vue-ui-table-C3f-J0L6.js → vue-ui-table-BRiGet5p.js} +3 -3
- package/dist/{vue-ui-table-heatmap-7lER15Z2.js → vue-ui-table-heatmap-DNfOy5vg.js} +1 -1
- package/dist/{vue-ui-table-sparkline-CLNhjUOy.js → vue-ui-table-sparkline-BPW0z_z_.js} +2 -2
- package/dist/{vue-ui-thermometer-rEu0nnWc.js → vue-ui-thermometer-DLUyiRGK.js} +3 -3
- package/dist/{vue-ui-timer-CTuT13zQ.js → vue-ui-timer-CKJbLkNv.js} +3 -3
- package/dist/{vue-ui-tiremarks-CxfGnFGL.js → vue-ui-tiremarks-F0mqJsmF.js} +3 -3
- package/dist/{vue-ui-treemap-DU8_UnvP.js → vue-ui-treemap-BLvGu7lx.js} +3 -3
- package/dist/{vue-ui-waffle-CCTw3K5R.js → vue-ui-waffle-B5FH0bcJ.js} +3 -3
- package/dist/{vue-ui-wheel-DwmBHPVq.js → vue-ui-wheel-zam8y1UD.js} +3 -3
- package/dist/{vue-ui-word-cloud-ByIMPclD.js → vue-ui-word-cloud-CZTtw4xK.js} +3 -3
- package/dist/{vue-ui-world-Cvrw9DCl.js → vue-ui-world--ONnm3rc.js} +2 -2
- package/dist/{vue-ui-xy-canvas-C1ZHlQ3Y.js → vue-ui-xy-canvas-B3oRqTH1.js} +3 -3
- package/dist/{vue-ui-xy-CMBkDzNs.js → vue-ui-xy-cv9Kh3M3.js} +4 -4
- package/package.json +1 -1
- package/dist/vue-ui-dag-BMXgf925.js +0 -2687
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as j, ref as h, computed as d, onMounted as qe, toRefs as Xe, watch as he, onBeforeUnmount as Ye, createElementBlock as n, openBlock as s, unref as r, normalizeStyle as V, normalizeClass as de, createBlock as
|
|
2
|
-
import { u as Ze, a as X } from "./useNestedProp-
|
|
1
|
+
import { defineAsyncComponent as j, ref as h, computed as d, onMounted as qe, toRefs as Xe, watch as he, onBeforeUnmount as Ye, createElementBlock as n, openBlock as s, unref as r, normalizeStyle as V, normalizeClass as de, createBlock as _, createCommentVNode as i, createElementVNode as $, withCtx as f, renderSlot as c, normalizeProps as b, guardReactiveProps as p, createSlots as Je, createVNode as Ke, Fragment as G, renderList as q, toDisplayString as T, Teleport as Qe } from "vue";
|
|
2
|
+
import { u as Ze, a as X } from "./useNestedProp-QQOzuoZs.js";
|
|
3
3
|
import { c as et, t as tt, n as at, M as lt, l as ot, a as P, d as M, X as st, o as ge, g as fe, k as rt } from "./lib-_nVZfi2t.js";
|
|
4
4
|
import { t as nt, u as ut } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as it } from "./usePrinter-DXIMGR61.js";
|
|
@@ -9,7 +9,7 @@ import { u as dt } from "./useThemeCheck-DGJ31Vi5.js";
|
|
|
9
9
|
import { u as gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as ft } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
11
|
import mt from "./Legend-PhhPyrZ0.js";
|
|
12
|
-
import yt from "./Title-
|
|
12
|
+
import yt from "./Title-BMp0dt6A.js";
|
|
13
13
|
import bt from "./img-C5q4A7ke.js";
|
|
14
14
|
import { _ as pt } 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 = {
|
|
@@ -34,7 +34,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
34
34
|
ref: "noTitle",
|
|
35
35
|
class: "vue-data-ui-no-title-space",
|
|
36
36
|
style: "height:36px; width: 100%;background:transparent"
|
|
37
|
-
}, At = ["id"], wt = ["xmlns", "viewBox"], Bt = ["width", "height"], xt = { key: 1 }, _t = ["x", "y", "height", "width", "fill", "stroke"],
|
|
37
|
+
}, At = ["id"], wt = ["xmlns", "viewBox"], Bt = ["width", "height"], xt = { key: 1 }, _t = ["x", "y", "height", "width", "fill", "stroke"], $t = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Lt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ft = ["x", "y", "font-size", "font-weight", "fill"], Ot = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], St = { key: 3 }, Dt = ["x", "y", "fill", "font-size", "font-weight"], Et = { key: 4 }, It = ["x1", "x2", "y1", "y2", "stroke"], Tt = {
|
|
38
38
|
key: 4,
|
|
39
39
|
class: "vue-data-ui-watermark"
|
|
40
40
|
}, Pt = ["id"], Mt = {
|
|
@@ -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-BuFi5-eQ.js")), _e = j(() => import("./PenAndPaper-Cjiyv0O9.js")), $e = j(() => import("./UserOptions-DKK-Opvk.js")), { vue_ui_bullet: Le } = Ze(), { isThemeValid: Fe, warnInvalidTheme: Oe } = dt(), L = we, C = h(null), Y = h(null), J = h(0), K = h(null), Q = h(null), Se = h(0), F = h(null), D = h(null), Z = h(!1), w = d({
|
|
62
|
+
get: () => v.value.hasOwnProperty("value"),
|
|
63
63
|
set: (t) => t
|
|
64
|
-
}),
|
|
64
|
+
}), O = d(() => v.value.segments ? Array.isArray(v.value.segments) ? v.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|
|
65
65
|
|
|
66
66
|
segments: [
|
|
67
67
|
{
|
|
@@ -72,7 +72,7 @@ segments: [
|
|
|
72
72
|
},
|
|
73
73
|
{...}
|
|
74
74
|
]
|
|
75
|
-
`),
|
|
75
|
+
`), w.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
|
|
76
76
|
|
|
77
77
|
segments: [
|
|
78
78
|
{
|
|
@@ -83,7 +83,7 @@ segments: [
|
|
|
83
83
|
},
|
|
84
84
|
{...}
|
|
85
85
|
]
|
|
86
|
-
`),
|
|
86
|
+
`), w.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|
|
87
87
|
|
|
88
88
|
segments: [
|
|
89
89
|
{
|
|
@@ -94,18 +94,18 @@ segments: [
|
|
|
94
94
|
},
|
|
95
95
|
{...}
|
|
96
96
|
]
|
|
97
|
-
`),
|
|
97
|
+
`), w.value = !1, !1)), ee = d(() => !!e.value.debug);
|
|
98
98
|
function te() {
|
|
99
|
-
if (ge(
|
|
99
|
+
if (ge(v.value) ? (fe({
|
|
100
100
|
componentName: "VueUiBullet",
|
|
101
101
|
type: "dataset",
|
|
102
102
|
debug: ee.value
|
|
103
|
-
}),
|
|
103
|
+
}), E.value = !0) : O.value ? v.value.segments.forEach((t, l) => {
|
|
104
104
|
rt({
|
|
105
105
|
datasetObject: t,
|
|
106
106
|
requiredAttributes: ["name", "from", "to"]
|
|
107
107
|
}).forEach((a) => {
|
|
108
|
-
|
|
108
|
+
w.value = !1, fe({
|
|
109
109
|
componentName: "VueUiBullet segment",
|
|
110
110
|
type: "datasetSerieAttribute",
|
|
111
111
|
property: a,
|
|
@@ -113,34 +113,34 @@ segments: [
|
|
|
113
113
|
debug: ee.value
|
|
114
114
|
});
|
|
115
115
|
});
|
|
116
|
-
}) : (
|
|
116
|
+
}) : (w.value = !1, E.value = !0), ge(v.value) || (E.value = e.value.loading), e.value.responsive) {
|
|
117
117
|
const t = nt(() => {
|
|
118
118
|
const { width: l, height: a } = ut({
|
|
119
|
-
chart:
|
|
119
|
+
chart: C.value,
|
|
120
120
|
title: e.value.style.chart.title.text ? Y.value : null,
|
|
121
121
|
legend: e.value.style.chart.legend.show ? K.value : null,
|
|
122
122
|
source: Q.value
|
|
123
|
-
});
|
|
123
|
+
}), k = (e.value.style.chart.legend.show ? 24 : 0) || 12;
|
|
124
124
|
requestAnimationFrame(() => {
|
|
125
|
-
|
|
125
|
+
x.value.width = l, x.value.height = a - k;
|
|
126
126
|
});
|
|
127
127
|
});
|
|
128
|
-
|
|
128
|
+
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
129
|
}
|
|
130
|
-
e.value.style.chart.animation.show && !
|
|
130
|
+
e.value.style.chart.animation.show && !B.value && se(v.value.value || 0);
|
|
131
131
|
}
|
|
132
132
|
qe(() => {
|
|
133
133
|
Z.value = !0, te();
|
|
134
134
|
});
|
|
135
|
-
const
|
|
135
|
+
const A = h(et());
|
|
136
136
|
function z() {
|
|
137
137
|
const t = X({
|
|
138
138
|
userConfig: L.config,
|
|
139
|
-
defaultConfig:
|
|
139
|
+
defaultConfig: Le
|
|
140
140
|
}), l = t.theme;
|
|
141
141
|
if (!l) return t;
|
|
142
142
|
if (!Fe.value(t))
|
|
143
|
-
return
|
|
143
|
+
return Oe(t), t;
|
|
144
144
|
const a = X({
|
|
145
145
|
userConfig: Ae[l] || L.config,
|
|
146
146
|
defaultConfig: t
|
|
@@ -150,7 +150,7 @@ segments: [
|
|
|
150
150
|
defaultConfig: a
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
const e = h(z()), { loading:
|
|
153
|
+
const e = h(z()), { loading: B, FINAL_DATASET: v, manualLoading: E } = ct({
|
|
154
154
|
...Xe(L),
|
|
155
155
|
FINAL_CONFIG: e,
|
|
156
156
|
prepareConfig: z,
|
|
@@ -198,40 +198,40 @@ segments: [
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
|
-
}), { userOptionsVisible: H, setUserOptionsVisibility: ae, keepUserOptionState: le } = gt({ config: e.value }), { svgRef: R } = ft({ config: e.value.style.chart.title })
|
|
202
|
-
he(() => L.config, (t) => {
|
|
203
|
-
w.value || (e.value = z()), H.value = !e.value.userOptions.showOnChartHover, te(), J.value += 1;
|
|
204
|
-
}, { deep: !0 });
|
|
205
|
-
const E = h({
|
|
201
|
+
}), { userOptionsVisible: H, setUserOptionsVisibility: ae, keepUserOptionState: le } = gt({ config: e.value }), { svgRef: R } = ft({ config: e.value.style.chart.title }), x = h({
|
|
206
202
|
width: e.value.style.chart.width,
|
|
207
203
|
height: e.value.style.chart.height
|
|
208
|
-
}), De = d(() =>
|
|
209
|
-
|
|
204
|
+
}), De = d(() => x.value.width), Ee = d(() => x.value.height);
|
|
205
|
+
he(() => L.config, (t) => {
|
|
206
|
+
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
|
+
}, { deep: !0 });
|
|
208
|
+
const o = d(() => {
|
|
209
|
+
const t = Ee.value, l = De.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
210
|
return {
|
|
211
211
|
height: Math.max(1e-3, t),
|
|
212
212
|
width: Math.max(1e-3, l),
|
|
213
213
|
left: a,
|
|
214
|
-
right:
|
|
215
|
-
top:
|
|
214
|
+
right: u,
|
|
215
|
+
top: k,
|
|
216
216
|
bottom: g,
|
|
217
|
-
chartWidth: Math.max(1e-3,
|
|
218
|
-
chartHeight: Math.max(1e-3, g -
|
|
217
|
+
chartWidth: Math.max(1e-3, u - a),
|
|
218
|
+
chartHeight: Math.max(1e-3, g - k)
|
|
219
219
|
};
|
|
220
220
|
}), Ie = d(() => {
|
|
221
|
-
if (!
|
|
221
|
+
if (!O.value) return [];
|
|
222
222
|
const t = [];
|
|
223
|
-
for (let l = 0; l <
|
|
224
|
-
t.push(at(e.value.style.chart.segments.baseColor, l /
|
|
223
|
+
for (let l = 0; l < v.value.segments.length; l += 1)
|
|
224
|
+
t.push(at(e.value.style.chart.segments.baseColor, l / v.value.segments.length));
|
|
225
225
|
return t;
|
|
226
|
-
}), N = d(() =>
|
|
227
|
-
min: Math.min(...
|
|
228
|
-
max: Math.max(...
|
|
226
|
+
}), N = d(() => O.value ? {
|
|
227
|
+
min: Math.min(...v.value.segments.map((t) => t.from)),
|
|
228
|
+
max: Math.max(...v.value.segments.map((t) => t.to))
|
|
229
229
|
} : { min: 0, max: 1 }), m = h(Te());
|
|
230
|
-
he(() =>
|
|
231
|
-
t.hasOwnProperty("value") && (
|
|
230
|
+
he(() => v.value, (t) => {
|
|
231
|
+
t.hasOwnProperty("value") && (E.value = !1), e.value.style.chart.animation.show && !B.value ? se(t.value || 0) : m.value = t.value || 0;
|
|
232
232
|
}, { deep: !0 });
|
|
233
233
|
function Te() {
|
|
234
|
-
return e.value.style.chart.animation.show && !
|
|
234
|
+
return e.value.style.chart.animation.show && !B.value ? N.value.min : v.value.value || 0;
|
|
235
235
|
}
|
|
236
236
|
const oe = h(null);
|
|
237
237
|
function se(t) {
|
|
@@ -245,13 +245,13 @@ segments: [
|
|
|
245
245
|
cancelAnimationFrame(oe.value);
|
|
246
246
|
});
|
|
247
247
|
const y = d(() => {
|
|
248
|
-
if (!
|
|
248
|
+
if (!O.value)
|
|
249
249
|
return [];
|
|
250
250
|
const t = lt(N.value.min, N.value.max, e.value.style.chart.segments.ticks.divisions), l = t.min >= 0 ? 0 : Math.abs(t.min), a = {
|
|
251
|
-
x: o.value.left + (
|
|
252
|
-
},
|
|
251
|
+
x: o.value.left + (v.value.target + l) / (t.max + l) * o.value.chartWidth - e.value.style.chart.target.width / 2
|
|
252
|
+
}, u = {
|
|
253
253
|
width: (m.value + l) / (t.max + l) * o.value.chartWidth
|
|
254
|
-
},
|
|
254
|
+
}, k = t.ticks.map((g) => ({
|
|
255
255
|
value: g,
|
|
256
256
|
y: o.value.bottom + e.value.style.chart.segments.dataLabels.fontSize + 3 + e.value.style.chart.segments.dataLabels.offsetY,
|
|
257
257
|
x: o.value.left + (g + l) / (t.max + l) * o.value.chartWidth
|
|
@@ -259,9 +259,9 @@ segments: [
|
|
|
259
259
|
return {
|
|
260
260
|
scale: t,
|
|
261
261
|
target: a,
|
|
262
|
-
value:
|
|
263
|
-
ticks:
|
|
264
|
-
chunks:
|
|
262
|
+
value: u,
|
|
263
|
+
ticks: k,
|
|
264
|
+
chunks: v.value.segments.map((g, Ge) => ({
|
|
265
265
|
...g,
|
|
266
266
|
color: g.color ? ot(g.color) : Ie.value[Ge],
|
|
267
267
|
x: o.value.left + o.value.chartWidth * ((g.from + l) / (t.max + l)),
|
|
@@ -289,12 +289,12 @@ segments: [
|
|
|
289
289
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
290
290
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
291
291
|
})
|
|
292
|
-
),
|
|
292
|
+
), u = `${l} — ${a}`;
|
|
293
293
|
return {
|
|
294
294
|
...t,
|
|
295
295
|
shape: "square",
|
|
296
|
-
value:
|
|
297
|
-
display: `${t.name}: ${
|
|
296
|
+
value: u,
|
|
297
|
+
display: `${t.name}: ${u}`
|
|
298
298
|
};
|
|
299
299
|
})), Pe = d(() => ({
|
|
300
300
|
cy: "bullet-div-legend",
|
|
@@ -304,12 +304,12 @@ segments: [
|
|
|
304
304
|
paddingBottom: 6,
|
|
305
305
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
306
306
|
})), { isPrinting: re, isImaging: ne, generatePdf: ue, generateImage: ie } = it({
|
|
307
|
-
elementId: `bullet_${
|
|
307
|
+
elementId: `bullet_${A.value}`,
|
|
308
308
|
fileName: e.value.style.chart.title.text || "vue-ui-bullet",
|
|
309
309
|
options: e.value.userOptions.print
|
|
310
310
|
}), Me = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), S = h(!1);
|
|
311
311
|
function ce(t) {
|
|
312
|
-
S.value = t,
|
|
312
|
+
S.value = t, Se.value += 1;
|
|
313
313
|
}
|
|
314
314
|
function ze() {
|
|
315
315
|
return y.value;
|
|
@@ -319,15 +319,15 @@ segments: [
|
|
|
319
319
|
I.value = !I.value;
|
|
320
320
|
}
|
|
321
321
|
async function He({ scale: t = 2 } = {}) {
|
|
322
|
-
if (!
|
|
323
|
-
const { width: l, height: a } =
|
|
322
|
+
if (!C.value) return;
|
|
323
|
+
const { width: l, height: a } = C.value.getBoundingClientRect(), u = l / a, { imageUri: k, base64: g } = await bt({ domElement: C.value, base64: !0, img: !0, scale: t });
|
|
324
324
|
return {
|
|
325
|
-
imageUri:
|
|
325
|
+
imageUri: k,
|
|
326
326
|
base64: g,
|
|
327
327
|
title: e.value.style.chart.title.text,
|
|
328
328
|
width: l,
|
|
329
329
|
height: a,
|
|
330
|
-
aspectRatio:
|
|
330
|
+
aspectRatio: u
|
|
331
331
|
};
|
|
332
332
|
}
|
|
333
333
|
const Re = d(() => U.value.map((t) => ({
|
|
@@ -353,14 +353,14 @@ segments: [
|
|
|
353
353
|
toggleFullscreen: ce
|
|
354
354
|
}), (t, l) => (s(), n("div", {
|
|
355
355
|
ref_key: "bulletChart",
|
|
356
|
-
ref:
|
|
356
|
+
ref: C,
|
|
357
357
|
class: de(`vue-data-ui-component vue-ui-bullet ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
358
|
-
style: V(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor}`),
|
|
359
|
-
id: `bullet_${
|
|
358
|
+
style: V(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
359
|
+
id: `bullet_${A.value}`,
|
|
360
360
|
onMouseenter: l[0] || (l[0] = () => r(ae)(!0)),
|
|
361
361
|
onMouseleave: l[1] || (l[1] = () => r(ae)(!1))
|
|
362
362
|
}, [
|
|
363
|
-
e.value.userOptions.buttons.annotator ? (s(),
|
|
363
|
+
e.value.userOptions.buttons.annotator ? (s(), _(r(_e), {
|
|
364
364
|
key: 0,
|
|
365
365
|
svgRef: r(R),
|
|
366
366
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -369,33 +369,33 @@ segments: [
|
|
|
369
369
|
onClose: W
|
|
370
370
|
}, {
|
|
371
371
|
"annotator-action-close": f(() => [
|
|
372
|
-
|
|
372
|
+
c(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
373
373
|
]),
|
|
374
374
|
"annotator-action-color": f(({ color: a }) => [
|
|
375
|
-
|
|
375
|
+
c(t.$slots, "annotator-action-color", b(p({ color: a })), void 0, !0)
|
|
376
376
|
]),
|
|
377
377
|
"annotator-action-draw": f(({ mode: a }) => [
|
|
378
|
-
|
|
378
|
+
c(t.$slots, "annotator-action-draw", b(p({ mode: a })), void 0, !0)
|
|
379
379
|
]),
|
|
380
380
|
"annotator-action-undo": f(({ disabled: a }) => [
|
|
381
|
-
|
|
381
|
+
c(t.$slots, "annotator-action-undo", b(p({ disabled: a })), void 0, !0)
|
|
382
382
|
]),
|
|
383
383
|
"annotator-action-redo": f(({ disabled: a }) => [
|
|
384
|
-
|
|
384
|
+
c(t.$slots, "annotator-action-redo", b(p({ disabled: a })), void 0, !0)
|
|
385
385
|
]),
|
|
386
386
|
"annotator-action-delete": f(({ disabled: a }) => [
|
|
387
|
-
|
|
387
|
+
c(t.$slots, "annotator-action-delete", b(p({ disabled: a })), void 0, !0)
|
|
388
388
|
]),
|
|
389
389
|
_: 3
|
|
390
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
391
|
-
Me.value ? (s(), n("div", Ct, null, 512)) :
|
|
390
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
|
|
391
|
+
Me.value ? (s(), n("div", Ct, null, 512)) : i("", !0),
|
|
392
392
|
e.value.style.chart.title.text ? (s(), n("div", {
|
|
393
393
|
key: 2,
|
|
394
394
|
ref_key: "chartTitle",
|
|
395
395
|
ref: Y,
|
|
396
396
|
style: "width:100%;background:transparent;"
|
|
397
397
|
}, [
|
|
398
|
-
(s(),
|
|
398
|
+
(s(), _(yt, {
|
|
399
399
|
lineHeight: "1.3rem",
|
|
400
400
|
key: `title_${J.value}`,
|
|
401
401
|
config: {
|
|
@@ -409,18 +409,18 @@ segments: [
|
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
}, null, 8, ["config"]))
|
|
412
|
-
], 512)) :
|
|
413
|
-
|
|
414
|
-
id: `legend-top-${
|
|
412
|
+
], 512)) : i("", !0),
|
|
413
|
+
$("div", {
|
|
414
|
+
id: `legend-top-${A.value}`
|
|
415
415
|
}, null, 8, At),
|
|
416
|
-
e.value.userOptions.show &&
|
|
416
|
+
e.value.userOptions.show && w.value && (r(le) || r(H)) ? (s(), _(r($e), {
|
|
417
417
|
key: 3,
|
|
418
418
|
ref: "details",
|
|
419
419
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
420
420
|
color: e.value.style.chart.color,
|
|
421
421
|
isPrinting: r(re),
|
|
422
422
|
isImaging: r(ne),
|
|
423
|
-
uid:
|
|
423
|
+
uid: A.value,
|
|
424
424
|
hasTooltip: !1,
|
|
425
425
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
426
426
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -430,7 +430,7 @@ segments: [
|
|
|
430
430
|
hasLabel: !1,
|
|
431
431
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
432
432
|
isFullscreen: S.value,
|
|
433
|
-
chartElement:
|
|
433
|
+
chartElement: C.value,
|
|
434
434
|
position: e.value.userOptions.position,
|
|
435
435
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
436
436
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
@@ -448,47 +448,47 @@ segments: [
|
|
|
448
448
|
}, Je({ _: 2 }, [
|
|
449
449
|
t.$slots.menuIcon ? {
|
|
450
450
|
name: "menuIcon",
|
|
451
|
-
fn: f(({ isOpen: a, color:
|
|
452
|
-
|
|
451
|
+
fn: f(({ isOpen: a, color: u }) => [
|
|
452
|
+
c(t.$slots, "menuIcon", b(p({ isOpen: a, color: u })), void 0, !0)
|
|
453
453
|
]),
|
|
454
454
|
key: "0"
|
|
455
455
|
} : void 0,
|
|
456
456
|
t.$slots.optionPdf ? {
|
|
457
457
|
name: "optionPdf",
|
|
458
458
|
fn: f(() => [
|
|
459
|
-
|
|
459
|
+
c(t.$slots, "optionPdf", {}, void 0, !0)
|
|
460
460
|
]),
|
|
461
461
|
key: "1"
|
|
462
462
|
} : void 0,
|
|
463
463
|
t.$slots.optionImg ? {
|
|
464
464
|
name: "optionImg",
|
|
465
465
|
fn: f(() => [
|
|
466
|
-
|
|
466
|
+
c(t.$slots, "optionImg", {}, void 0, !0)
|
|
467
467
|
]),
|
|
468
468
|
key: "2"
|
|
469
469
|
} : void 0,
|
|
470
470
|
t.$slots.optionSvg ? {
|
|
471
471
|
name: "optionSvg",
|
|
472
472
|
fn: f(() => [
|
|
473
|
-
|
|
473
|
+
c(t.$slots, "optionSvg", {}, void 0, !0)
|
|
474
474
|
]),
|
|
475
475
|
key: "3"
|
|
476
476
|
} : void 0,
|
|
477
477
|
t.$slots.optionFullscreen ? {
|
|
478
478
|
name: "optionFullscreen",
|
|
479
|
-
fn: f(({ toggleFullscreen: a, isFullscreen:
|
|
480
|
-
|
|
479
|
+
fn: f(({ toggleFullscreen: a, isFullscreen: u }) => [
|
|
480
|
+
c(t.$slots, "optionFullscreen", b(p({ toggleFullscreen: a, isFullscreen: u })), void 0, !0)
|
|
481
481
|
]),
|
|
482
482
|
key: "4"
|
|
483
483
|
} : void 0,
|
|
484
484
|
t.$slots.optionAnnotator ? {
|
|
485
485
|
name: "optionAnnotator",
|
|
486
|
-
fn: f(({ toggleAnnotator: a, isAnnotator:
|
|
487
|
-
|
|
486
|
+
fn: f(({ toggleAnnotator: a, isAnnotator: u }) => [
|
|
487
|
+
c(t.$slots, "optionAnnotator", b(p({ toggleAnnotator: a, isAnnotator: u })), void 0, !0)
|
|
488
488
|
]),
|
|
489
489
|
key: "5"
|
|
490
490
|
} : void 0
|
|
491
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
491
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
492
492
|
(s(), n("svg", {
|
|
493
493
|
ref_key: "svgRef",
|
|
494
494
|
ref: R,
|
|
@@ -508,9 +508,9 @@ segments: [
|
|
|
508
508
|
pointerEvents: "none"
|
|
509
509
|
}
|
|
510
510
|
}, [
|
|
511
|
-
|
|
512
|
-
], 8, Bt)) :
|
|
513
|
-
|
|
511
|
+
c(t.$slots, "chart-background", {}, void 0, !0)
|
|
512
|
+
], 8, Bt)) : i("", !0),
|
|
513
|
+
O.value ? (s(), n("g", xt, [
|
|
514
514
|
(s(!0), n(G, null, q(y.value.chunks, (a) => (s(), n("rect", {
|
|
515
515
|
x: a.x,
|
|
516
516
|
y: a.y,
|
|
@@ -531,8 +531,8 @@ segments: [
|
|
|
531
531
|
fill: e.value.style.chart.target.color,
|
|
532
532
|
stroke: e.value.style.chart.target.stroke,
|
|
533
533
|
"stroke-width": e.value.style.chart.target.strokeWidth
|
|
534
|
-
}, null, 8,
|
|
535
|
-
|
|
534
|
+
}, null, 8, $t)) : i("", !0),
|
|
535
|
+
$("rect", {
|
|
536
536
|
x: o.value.left,
|
|
537
537
|
y: o.value.top + (o.value.chartHeight - o.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
|
|
538
538
|
height: o.value.chartHeight * e.value.style.chart.valueBar.heightRatio,
|
|
@@ -540,7 +540,7 @@ segments: [
|
|
|
540
540
|
fill: e.value.style.chart.valueBar.color,
|
|
541
541
|
stroke: e.value.style.chart.valueBar.stroke,
|
|
542
542
|
"stroke-width": e.value.style.chart.valueBar.strokeWidth
|
|
543
|
-
}, null, 8,
|
|
543
|
+
}, null, 8, Lt),
|
|
544
544
|
e.value.style.chart.valueBar.label.show ? (s(), n("text", {
|
|
545
545
|
key: 1,
|
|
546
546
|
x: o.value.left + y.value.value.width,
|
|
@@ -558,7 +558,7 @@ segments: [
|
|
|
558
558
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
559
559
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
560
560
|
})
|
|
561
|
-
)), 9, Ft)) :
|
|
561
|
+
)), 9, Ft)) : i("", !0),
|
|
562
562
|
e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (s(), n("rect", {
|
|
563
563
|
key: 2,
|
|
564
564
|
x: y.value.target.x,
|
|
@@ -570,8 +570,8 @@ segments: [
|
|
|
570
570
|
stroke: e.value.style.chart.target.stroke,
|
|
571
571
|
"stroke-width": e.value.style.chart.target.strokeWidth,
|
|
572
572
|
style: { transition: "x 0.3s ease-in-out" }
|
|
573
|
-
}, null, 8,
|
|
574
|
-
e.value.style.chart.segments.dataLabels.show ? (s(), n("g",
|
|
573
|
+
}, null, 8, Ot)) : i("", !0),
|
|
574
|
+
e.value.style.chart.segments.dataLabels.show ? (s(), n("g", St, [
|
|
575
575
|
(s(!0), n(G, null, q(y.value.ticks, (a) => (s(), n("text", {
|
|
576
576
|
x: a.x,
|
|
577
577
|
y: a.y,
|
|
@@ -589,7 +589,7 @@ segments: [
|
|
|
589
589
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
590
590
|
})
|
|
591
591
|
)), 9, Dt))), 256))
|
|
592
|
-
])) :
|
|
592
|
+
])) : i("", !0),
|
|
593
593
|
e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (s(), n("g", Et, [
|
|
594
594
|
(s(!0), n(G, null, q(y.value.ticks, (a) => (s(), n("line", {
|
|
595
595
|
x1: a.x,
|
|
@@ -600,53 +600,53 @@ segments: [
|
|
|
600
600
|
"stroke-width": 1,
|
|
601
601
|
"stroke-linecap": "round"
|
|
602
602
|
}, null, 8, It))), 256))
|
|
603
|
-
])) :
|
|
604
|
-
])) :
|
|
605
|
-
|
|
603
|
+
])) : i("", !0)
|
|
604
|
+
])) : i("", !0),
|
|
605
|
+
c(t.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
606
606
|
], 14, wt)),
|
|
607
607
|
t.$slots.watermark ? (s(), n("div", Tt, [
|
|
608
|
-
|
|
609
|
-
])) :
|
|
610
|
-
|
|
611
|
-
id: `legend-bottom-${
|
|
608
|
+
c(t.$slots, "watermark", b(p({ isPrinting: r(re) || r(ne) })), void 0, !0)
|
|
609
|
+
])) : i("", !0),
|
|
610
|
+
$("div", {
|
|
611
|
+
id: `legend-bottom-${A.value}`
|
|
612
612
|
}, null, 8, Pt),
|
|
613
|
-
Z.value ? (s(),
|
|
613
|
+
Z.value ? (s(), _(Qe, {
|
|
614
614
|
key: 5,
|
|
615
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
615
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
616
616
|
}, [
|
|
617
|
-
|
|
617
|
+
$("div", {
|
|
618
618
|
ref_key: "chartLegend",
|
|
619
619
|
ref: K
|
|
620
620
|
}, [
|
|
621
|
-
e.value.style.chart.legend.show ? (s(),
|
|
621
|
+
e.value.style.chart.legend.show ? (s(), _(mt, {
|
|
622
622
|
key: 0,
|
|
623
623
|
clickable: !1,
|
|
624
624
|
legendSet: U.value,
|
|
625
625
|
config: Pe.value
|
|
626
626
|
}, {
|
|
627
627
|
item: f(({ legend: a }) => [
|
|
628
|
-
r(
|
|
629
|
-
|
|
630
|
-
|
|
628
|
+
r(B) ? i("", !0) : (s(), n("div", Mt, [
|
|
629
|
+
$("span", zt, T(a.name) + ":", 1),
|
|
630
|
+
$("span", null, T(a.value), 1)
|
|
631
631
|
]))
|
|
632
632
|
]),
|
|
633
633
|
_: 1
|
|
634
|
-
}, 8, ["legendSet", "config"])) :
|
|
635
|
-
|
|
634
|
+
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
635
|
+
c(t.$slots, "legend", { legend: U.value }, void 0, !0)
|
|
636
636
|
], 512)
|
|
637
|
-
], 8, ["to"])) :
|
|
637
|
+
], 8, ["to"])) : i("", !0),
|
|
638
638
|
t.$slots.source ? (s(), n("div", {
|
|
639
639
|
key: 6,
|
|
640
640
|
ref_key: "source",
|
|
641
641
|
ref: Q,
|
|
642
642
|
dir: "auto"
|
|
643
643
|
}, [
|
|
644
|
-
|
|
645
|
-
], 512)) :
|
|
646
|
-
r(
|
|
644
|
+
c(t.$slots, "source", {}, void 0, !0)
|
|
645
|
+
], 512)) : i("", !0),
|
|
646
|
+
r(B) ? (s(), _(vt, { key: 7 })) : i("", !0)
|
|
647
647
|
], 46, kt));
|
|
648
648
|
}
|
|
649
|
-
}, Rt = /* @__PURE__ */ pt(Ht, [["__scopeId", "data-v-
|
|
649
|
+
}, Rt = /* @__PURE__ */ pt(Ht, [["__scopeId", "data-v-f9c44926"]]), aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
650
650
|
__proto__: null,
|
|
651
651
|
default: Rt
|
|
652
652
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent as j, computed as d, ref as y, toRefs as Dl, watch as se, shallowRef as kt, onMounted as Ml, onBeforeUnmount as Ee, watchEffect as Il, nextTick as wt, createElementBlock as i, openBlock as u, normalizeStyle as ue, normalizeClass as V, createBlock as Z, createCommentVNode as m, createElementVNode as g, createVNode as Re, unref as h, withCtx as b, renderSlot as x, normalizeProps as T, guardReactiveProps as D, createSlots as Ct, Fragment as z, renderList as M, toDisplayString as ie, mergeProps as At, resolveDynamicComponent as Bl, createTextVNode as $t } from "vue";
|
|
2
2
|
import { c as El, t as Rl, a0 as ge, o as Ft, g as J, M as Ol, T as H, R as Pl, d as U, X as Nl, h as fe, s as Vl, a1 as _t, u as Ul, q as Wl, x as Xl, Z as jl } from "./lib-_nVZfi2t.js";
|
|
3
3
|
import { t as zt, u as Hl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Gl, a as Oe } from "./useNestedProp-
|
|
4
|
+
import { u as Gl, a as Oe } from "./useNestedProp-QQOzuoZs.js";
|
|
5
5
|
import { u as ql } from "./usePrinter-DXIMGR61.js";
|
|
6
6
|
import { u as Yl, B as Zl } from "./BaseScanner-BMpwQAfz.js";
|
|
7
7
|
import { u as Lt, a as Jl, l as Kl } from "./useTimeLabels-C5qMhpbe.js";
|
|
@@ -11,7 +11,7 @@ import { u as to } from "./useUserOptionState-BIvW1Kz7.js";
|
|
|
11
11
|
import { u as lo } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
12
|
import { u as oo } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
13
13
|
import ao from "./img-C5q4A7ke.js";
|
|
14
|
-
import so from "./Title-
|
|
14
|
+
import so from "./Title-BMp0dt6A.js";
|
|
15
15
|
import { S as uo } from "./SlicerPreview-Bhjrz2jx.js";
|
|
16
16
|
import { _ as io } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const St = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { selector: { color: "#CCCCCC" }, grid: { stroke: "#5A5A5A", xAxis: { dataLabels: { color: "#CCCCCC" } }, yAxis: { dataLabels: { color: "#CCCCCC" } } }, wick: { stroke: "#5A5A5A", extremity: { color: "#5A5A5A" } }, candle: { stroke: "#1A1A1A" } }, zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Tt = { style: { backgroundColor: "#FFF8E1", color: "#424242", layout: { selector: { color: "#424242" }, grid: { stroke: "#5D4037", xAxis: { dataLabels: { color: "#424242" } }, yAxis: { dataLabels: { color: "#424242" } } }, wick: { stroke: "#5D4037", extremity: { color: "#5D4037" } }, candle: { stroke: "#FFF8E1", colors: { bullish: "#D32F2F", bearish: "#F57C00" }, gradient: { show: !1 } } }, zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Dt = { style: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { selector: { color: "#FFF8E1" }, grid: { stroke: "#5D4037", xAxis: { dataLabels: { color: "#BDBDBD" } }, yAxis: { dataLabels: { color: "#BDBDBD" } } }, wick: { stroke: "#BDBDBD", extremity: { color: "#BDBDBD" } }, candle: { stroke: "#1E1E1E", colors: { bullish: "#D32F2F", bearish: "#F57C00" }, gradient: { show: !1 } } }, zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Mt = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { selector: { color: "#7DA9B5" }, grid: { stroke: "#334C33", xAxis: { dataLabels: { color: "#99CC99" } }, yAxis: { dataLabels: { color: "#99CC99" } } }, wick: { stroke: "#334C33", extremity: { color: "#334C33" } }, candle: { stroke: "#1A1A1A", colors: { bullish: "#00FF00", bearish: "#334C33" }, gradient: { show: !1 } } }, zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, It = { style: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { selector: { color: "#8F837A" }, grid: { stroke: "transparent", xAxis: { dataLabels: { color: "#8A9892" } }, yAxis: { dataLabels: { color: "#8A9892" } } }, wick: { stroke: "#D7E0D2", extremity: { shape: "circle", size: 2, color: "#C5B8A7" } }, candle: { stroke: "#fbfafa", colors: { bullish: "#A0AC94", bearish: "#C09E85" }, gradient: { show: !0 } } }, zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Bt = { style: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { selector: { color: "#7DA9B5" }, grid: { stroke: "#334C33", xAxis: { dataLabels: { color: "#61747E" } }, yAxis: { dataLabels: { color: "#61747E" } } }, wick: { stroke: "#61747E", extremity: { color: "#61747E" } }, candle: { stroke: "#1A1A1A", colors: { bullish: "#92B0AB", bearish: "#EFECEC" }, gradient: { show: !1 } } }, zoom: { color: "#92B0AB", highlightColor: "#50606C" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Et = {
|
|
@@ -56,7 +56,7 @@ const St = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { se
|
|
|
56
56
|
},
|
|
57
57
|
emits: ["selectX"],
|
|
58
58
|
setup(Rt, { expose: Ot, emit: Pt }) {
|
|
59
|
-
const Nt = j(() => import("./BaseIcon-Bcm8I1fZ.js")), Vt = j(() => import("./Tooltip-l2pmtXwi.js")), Ut = j(() => import("./vue-ui-accordion-
|
|
59
|
+
const Nt = j(() => import("./BaseIcon-Bcm8I1fZ.js")), Vt = j(() => import("./Tooltip-l2pmtXwi.js")), Ut = j(() => import("./vue-ui-accordion-BoVGnqPH.js")), Wt = j(() => import("./DataTable-DFcqksx2.js")), Xt = j(() => import("./PenAndPaper-Cjiyv0O9.js")), jt = j(() => import("./UserOptions-DKK-Opvk.js")), Ht = j(() => import("./PackageVersion-BuFi5-eQ.js")), Gt = j(() => import("./BaseDraggableDialog-n3raFtf2.js")), { vue_ui_candlestick: qt } = Gl(), { isThemeValid: Yt, warnInvalidTheme: Zt } = eo(), f = Rt, Pe = Pt, pe = d(() => !!f.dataset && f.dataset.length), E = y(!1), be = y(null), I = y(El()), xe = y(!1), ke = y(""), R = y(void 0), Ne = y(0), O = y(null), Ve = y(null), Ue = y(null), Q = y(null), We = y(null), Xe = y(null), Jt = y(0), je = y(0), He = y(0), we = y(null), ee = y(null), te = y(null), Ce = y(null), Ge = y(null), e = y(_e()), { loading: P, FINAL_DATASET: k, manualLoading: Ae } = Yl({
|
|
60
60
|
...Dl(f),
|
|
61
61
|
FINAL_CONFIG: e,
|
|
62
62
|
prepareConfig: _e,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as ce, ref as n, useSlots as Re, onMounted as w, computed as P, watch as N, onBeforeUnmount as G, shallowRef as ze, nextTick as fe, createElementBlock as p, openBlock as r, unref as u, createElementVNode as U, createBlock as he, createCommentVNode as R, normalizeClass as Ee, normalizeStyle as h, createTextVNode as D, renderSlot as d, toDisplayString as X, Fragment as j, renderList as J, mergeProps as ge, createSlots as He, withCtx as T, normalizeProps as me, guardReactiveProps as be } from "vue";
|
|
2
|
-
import { u as Ne, a as Ue } from "./useNestedProp-
|
|
2
|
+
import { u as Ne, a as Ue } from "./useNestedProp-QQOzuoZs.js";
|
|
3
3
|
import { c as Ve, o as K, g as Q, s as Me, u as qe, q as Le } from "./lib-_nVZfi2t.js";
|
|
4
4
|
import { u as Ge } from "./usePrinter-DXIMGR61.js";
|
|
5
5
|
import { u as De } from "./useUserOptionState-BIvW1Kz7.js";
|
|
@@ -25,7 +25,7 @@ const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
setup(k, { expose: ye }) {
|
|
28
|
-
const Ce = ce(() => import("./vue-ui-skeleton-
|
|
28
|
+
const Ce = ce(() => import("./vue-ui-skeleton-BscRFRSG.js")), $e = ce(() => import("./UserOptions-DKK-Opvk.js")), { vue_ui_carousel_table: Te } = Ne(), i = k, V = n(Ve()), W = n(!1), O = n(!!i.dataset), ke = Re();
|
|
29
29
|
w(() => {
|
|
30
30
|
Y();
|
|
31
31
|
}), w(() => {
|