vue-data-ui 3.22.0 → 3.22.2
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-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
- package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
- package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
- package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
- package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
- package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
- package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
- package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
- package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-Dx81ZIAL.js} +1 -1
- package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
- package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
- package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
- package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
- package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
- package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
- package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
- package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
- package/dist/exposedLib-CffbQxjN.js +19 -0
- package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
- package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
- package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
- package/dist/{package-0oRlvBuX.js → package-CILLITOI.js} +1 -1
- package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
- package/dist/{render-common-DSiH7qj-.js → render-common-bMAFQ_qf.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +7 -10
- package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
- package/dist/{useConfig-Br1uzq_L.js → useConfig-Bf_EBbe3.js} +4 -1
- package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
- package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-Byts-nf-.js} +1 -1
- package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DD-txoS1.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +1757 -0
- package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Di_givzQ.js} +4 -4
- package/dist/vue-ui-age-pyramid-CTwMfsqS.js +1238 -0
- package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-tRkLFMQ9.js} +60 -60
- package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-9gtGJaGb.js} +23 -23
- package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-BJ5O8Mps.js} +400 -400
- package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-CJ_VVYbJ.js} +50 -50
- package/dist/vue-ui-carousel-table-8s8BSy-K.js +455 -0
- package/dist/vue-ui-chestnut-D3-ck2h2.js +2010 -0
- package/dist/vue-ui-chord-1BitQtEw.js +1391 -0
- package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DVMhDFKU.js} +44 -44
- package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-D7yh10hX.js} +61 -61
- package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag--LFEAAf_.js} +18 -18
- package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-COeO878g.js} +70 -70
- package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-C50FVr7C.js} +4 -4
- package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-BzKXqQA2.js} +160 -160
- package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-NHjQzFO5.js} +474 -474
- package/dist/vue-ui-donut-evolution-lPkwit2C.js +1510 -0
- package/dist/vue-ui-dumbbell-hlEfvbbf.js +1530 -0
- package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-Bg_OSszc.js} +43 -43
- package/dist/vue-ui-funnel-B_bK0jJB.js +777 -0
- package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-WVCUzcYc.js} +301 -301
- package/dist/vue-ui-gauge-Cqeko0wA.js +920 -0
- package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-DtzXRvmx.js} +22 -22
- package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-hIFd7qck.js} +4 -4
- package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-yPlwc3l_.js} +95 -95
- package/dist/vue-ui-history-plot-BGmcDg2w.js +1554 -0
- package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-CJciNHpT.js} +264 -264
- package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DmSe1QGb.js} +4 -4
- package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-CqxI6DwN.js} +3 -3
- package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-w-94Uktn.js} +181 -181
- package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-B3OGWGHR.js} +29 -29
- package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-Dv_yE5EV.js} +211 -211
- package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-BQbI0Vxd.js} +34 -34
- package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-ColST3Jj.js} +40 -40
- package/dist/vue-ui-quadrant-BB7qdXK0.js +1978 -0
- package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-CGDeo3Fx.js} +358 -358
- package/dist/vue-ui-radar-DqDn14DL.js +1281 -0
- package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-ChDwpol2.js} +34 -34
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +924 -0
- package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-Cq8z57xB.js} +219 -219
- package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-Ds-sgNPK.js} +36 -36
- package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-BgOVUzQ3.js} +75 -75
- package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DJ5KAbfV.js} +42 -42
- package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-fFrNX-Gl.js} +17 -17
- package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-D6OBWxmg.js} +92 -92
- package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-CtCP8O44.js} +78 -78
- package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-CZDkyViI.js} +38 -38
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +560 -0
- package/dist/vue-ui-sparkline-CJKE7Xcl.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BSV0M-2u.js} +162 -162
- package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-pnlYCnTj.js} +67 -67
- package/dist/vue-ui-stackline-DS_MPmc1.js +2398 -0
- package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot-DSKOrJZX.js} +49 -49
- package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-c1FPEwLM.js} +87 -87
- package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-CMQJXnP8.js} +17 -17
- package/dist/vue-ui-table-sparkline-CAS9Pk60.js +712 -0
- package/dist/vue-ui-thermometer-w3eeJv9s.js +763 -0
- package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-CSP48eS-.js} +6 -6
- package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-DJvXj1P3.js} +19 -19
- package/dist/vue-ui-treemap-BaOMXTR1.js +1587 -0
- package/dist/vue-ui-waffle-Bo22Ph8n.js +1362 -0
- package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-CbL52G-w.js} +51 -51
- package/dist/vue-ui-word-cloud-BqOCyp7c.js +1723 -0
- package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-BkjzCcVh.js} +445 -445
- package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CVDNhnDY.js} +162 -162
- package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DuwLRfr4.js} +537 -534
- package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CXqGVMeQ.js} +65 -65
- package/package.json +2 -2
- package/dist/exposedLib-BJbE_A8E.js +0 -19
- package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
- package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
- package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
- package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
- package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
- package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
- package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
- package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
- package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
- package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
- package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
- package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
- package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
- package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
- package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
- package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
- package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
- package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
- package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
- package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
- package/dist/vue-ui-word-cloud-BqsUdsCY.js +0 -1656
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { B as t,
|
|
3
|
-
import { t as he } from "./useConfig-
|
|
4
|
-
import { t as ge } from "./usePrinter-
|
|
2
|
+
import { B as t, Ct as n, Et as r, G as i, H as a, Ht as ee, J as o, Kt as s, S as te, Ut as ne, Vt as re, W as ie, X as ae, ct as oe, gt as se, h as ce, i as le, it as ue, kt as c, t as de, v as fe, x as pe, y as me } from "./lib-CXicicWN.js";
|
|
3
|
+
import { t as he } from "./useConfig-Bf_EBbe3.js";
|
|
4
|
+
import { t as ge } from "./usePrinter-Dng0UK-G.js";
|
|
5
5
|
import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as be } from "./useNestedProp-
|
|
7
|
+
import { t as be } from "./useNestedProp-APyFoLCQ.js";
|
|
8
8
|
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as Se } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
-
import { t as Ce } from "./img-
|
|
11
|
-
import { n as we } from "./Title-
|
|
12
|
-
import { t as Te } from "./Shape-
|
|
10
|
+
import { t as Ce } from "./img-BCAOkqfM.js";
|
|
11
|
+
import { n as we } from "./Title-CVYf1f8m.js";
|
|
12
|
+
import { t as Te } from "./Shape-C5OvuwII.js";
|
|
13
13
|
import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { c as De } from "./canvas-lib-BOP_HS11.js";
|
|
15
15
|
import { t as Oe } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -133,7 +133,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
133
133
|
},
|
|
134
134
|
emits: ["selectDatapoint", "copyAlt"],
|
|
135
135
|
setup(e, { expose: Ee, emit: Ge }) {
|
|
136
|
-
let xt = h(() => import("./Tooltip-
|
|
136
|
+
let xt = h(() => import("./Tooltip-BmGCBJuU.js")), St = h(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), Ct = h(() => import("./vue-ui-accordion-Di_givzQ.js").then((e) => e.n)), wt = h(() => import("./DataTable-DJZgdnIn.js")), Tt = h(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), Et = h(() => import("./PenAndPaper-DJIIG6dv.js").then((e) => e.t)), Dt = h(() => import("./PackageVersion-Dx81ZIAL.js").then((e) => e.t)), Ot = h(() => import("./BaseDraggableDialog-a9xCKjW-.js").then((e) => e.n)), { vue_ui_strip_plot: kt } = he(), { isThemeValid: At, warnInvalidTheme: jt } = xe(), D = e, Mt = Ge, Nt = u({
|
|
137
137
|
get() {
|
|
138
138
|
return !!D.dataset && D.dataset.length;
|
|
139
139
|
},
|
|
@@ -143,7 +143,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
143
143
|
}), O = x(a()), Pt = x(0), Ft = x(!1), It = x(""), k = x(null), Lt = x(null), Rt = x(null), zt = x(null), Bt = x(!1), Vt = x(0), Ht = x(0), A = x(null), Ut = x(null), Wt = x(!1), j = x(!1), Gt = x(null), Kt = x(null), qt = x(null), Jt = x(null), M = x(null), N = x(null), P = x("pointer"), Yt = x({
|
|
144
144
|
x: 0,
|
|
145
145
|
y: 0
|
|
146
|
-
}), Xt = x(!1), F = x(an()), I = u(() => F.value.userOptions.useCursorPointer), Zt = u(() =>
|
|
146
|
+
}), Xt = x(!1), F = x(an()), I = u(() => F.value.userOptions.useCursorPointer), Zt = u(() => ne({
|
|
147
147
|
defaultConfig: {
|
|
148
148
|
userOptions: { show: !1 },
|
|
149
149
|
table: { show: !1 },
|
|
@@ -269,7 +269,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
269
269
|
]
|
|
270
270
|
}
|
|
271
271
|
],
|
|
272
|
-
skeletonConfig:
|
|
272
|
+
skeletonConfig: ne({
|
|
273
273
|
defaultConfig: F.value,
|
|
274
274
|
userConfig: Zt.value
|
|
275
275
|
})
|
|
@@ -281,16 +281,16 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
281
281
|
}), t = e.theme;
|
|
282
282
|
if (!t) return e;
|
|
283
283
|
if (!At.value(e)) return jt(e), e;
|
|
284
|
-
let
|
|
284
|
+
let n = be({
|
|
285
285
|
userConfig: Me[t] || D.config,
|
|
286
286
|
defaultConfig: e
|
|
287
|
-
}),
|
|
287
|
+
}), r = be({
|
|
288
288
|
userConfig: D.config,
|
|
289
|
-
defaultConfig:
|
|
289
|
+
defaultConfig: n
|
|
290
290
|
});
|
|
291
291
|
return {
|
|
292
|
-
...
|
|
293
|
-
customPalette:
|
|
292
|
+
...r,
|
|
293
|
+
customPalette: r.customPalette.length ? r.customPalette : re[t] || c
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
296
|
Ue(() => D.config, async (e) => {
|
|
@@ -304,7 +304,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
304
304
|
});
|
|
305
305
|
let on = u(() => !!F.value.debug);
|
|
306
306
|
function sn() {
|
|
307
|
-
if (
|
|
307
|
+
if (r(D.dataset) ? (ae({
|
|
308
308
|
componentName: "VueUiStripPlot",
|
|
309
309
|
type: "dataset",
|
|
310
310
|
debug: on.value
|
|
@@ -334,7 +334,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
334
334
|
});
|
|
335
335
|
});
|
|
336
336
|
});
|
|
337
|
-
}),
|
|
337
|
+
}), r(D.dataset) || (en.value = F.value.loading), F.value.responsive) {
|
|
338
338
|
let e = De(() => {
|
|
339
339
|
let { width: e, height: t } = Oe({
|
|
340
340
|
chart: k.value,
|
|
@@ -343,7 +343,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
343
343
|
noTitle: zt.value
|
|
344
344
|
});
|
|
345
345
|
requestAnimationFrame(() => {
|
|
346
|
-
hn.value = t, V.value = Math.max(.1, e), H.value = Math.max(.1, t - 12), F.value.responsiveProportionalSizing ? U.value =
|
|
346
|
+
hn.value = t, V.value = Math.max(.1, e), H.value = Math.max(.1, t - 12), F.value.responsiveProportionalSizing ? U.value = ee({
|
|
347
347
|
relator: Math.min(t, e),
|
|
348
348
|
adjuster: 600,
|
|
349
349
|
source: F.value.style.chart.plots.radius,
|
|
@@ -411,15 +411,15 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
411
411
|
let t = 0;
|
|
412
412
|
return qt.value && (t = vn.value + 12), e + t;
|
|
413
413
|
}), G = u(() => {
|
|
414
|
-
let e = _n(), t = mn.value.left + e + F.value.style.chart.labels.axis.yLabelOffsetX + 5, n = V.value - mn.value.right, r = Math.max(0, n - t), i = mn.value.top + F.value.style.chart.plots.radius + F.value.style.chart.labels.bestPlotLabel.fontSize, a = H.value - mn.value.bottom - bn.value,
|
|
414
|
+
let e = _n(), t = mn.value.left + e + F.value.style.chart.labels.axis.yLabelOffsetX + 5, n = V.value - mn.value.right, r = Math.max(0, n - t), i = mn.value.top + F.value.style.chart.plots.radius + F.value.style.chart.labels.bestPlotLabel.fontSize, a = H.value - mn.value.bottom - bn.value, ee = Math.max(0, a - i), o = Array.isArray($t.value) ? $t.value.length : 0;
|
|
415
415
|
return {
|
|
416
416
|
left: t,
|
|
417
417
|
right: n,
|
|
418
418
|
top: i,
|
|
419
419
|
bottom: a,
|
|
420
420
|
width: r,
|
|
421
|
-
height:
|
|
422
|
-
stripWidth:
|
|
421
|
+
height: ee,
|
|
422
|
+
stripWidth: o > 0 ? r / o : 0,
|
|
423
423
|
absoluteHeight: H.value
|
|
424
424
|
};
|
|
425
425
|
}), xn = u(() => $t.value.map((e, t) => {
|
|
@@ -451,7 +451,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
451
451
|
max: Math.max(...e),
|
|
452
452
|
min: Math.min(...e)
|
|
453
453
|
};
|
|
454
|
-
}), q = u(() =>
|
|
454
|
+
}), q = u(() => ce(Cn.value.min < 0 ? Cn.value.min : 0, Cn.value.max, F.value.style.chart.grid.scaleSteps)), J = u(() => (K.value || []).map((e, t) => ({
|
|
455
455
|
...e,
|
|
456
456
|
plots: e.plots.map((e) => ({
|
|
457
457
|
...e,
|
|
@@ -485,13 +485,13 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
485
485
|
config: F.value,
|
|
486
486
|
series: xn.value
|
|
487
487
|
}, Ft.value = !0, Y.value = e;
|
|
488
|
-
let
|
|
489
|
-
if (
|
|
488
|
+
let r = F.value.style.chart.tooltip.customFormat;
|
|
489
|
+
if (se(r) && ue(() => r({
|
|
490
490
|
seriesIndex: t,
|
|
491
491
|
datapoint: e,
|
|
492
492
|
series: xn.value,
|
|
493
493
|
config: F.value
|
|
494
|
-
}))) It.value =
|
|
494
|
+
}))) It.value = r({
|
|
495
495
|
seriesIndex: t,
|
|
496
496
|
datapoint: e,
|
|
497
497
|
series: xn.value,
|
|
@@ -499,7 +499,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
499
499
|
});
|
|
500
500
|
else {
|
|
501
501
|
let n = "";
|
|
502
|
-
n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${F.value.style.chart.plots.gradient.show ? `url(#${e.parentId})` : e.color}"/></svg>${e.name}</div>`, n += `<div>${le(F.value.style.chart.labels.formatter, e.value,
|
|
502
|
+
n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${F.value.style.chart.plots.gradient.show ? `url(#${e.parentId})` : e.color}"/></svg>${e.name}</div>`, n += `<div>${le(F.value.style.chart.labels.formatter, e.value, i({
|
|
503
503
|
p: F.value.style.chart.labels.prefix,
|
|
504
504
|
v: e.value,
|
|
505
505
|
s: F.value.style.chart.labels.suffix,
|
|
@@ -519,12 +519,12 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
519
519
|
}));
|
|
520
520
|
function An(e = null) {
|
|
521
521
|
Le(() => {
|
|
522
|
-
let t = kn.value.head.map((e, t) => [[e.name], [kn.value.body[t]]]), n =
|
|
522
|
+
let t = kn.value.head.map((e, t) => [[e.name], [kn.value.body[t]]]), n = te([
|
|
523
523
|
[F.value.style.chart.title.text],
|
|
524
524
|
[F.value.style.chart.title.subtitle.text],
|
|
525
525
|
[[F.value.table.columnNames.series], [F.value.table.columnNames.value]]
|
|
526
526
|
].concat(t));
|
|
527
|
-
e ? e(n) :
|
|
527
|
+
e ? e(n) : o({
|
|
528
528
|
csvContent: n,
|
|
529
529
|
title: F.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
530
530
|
});
|
|
@@ -532,7 +532,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
532
532
|
}
|
|
533
533
|
let X = u(() => {
|
|
534
534
|
let e = [F.value.table.columnNames.series, F.value.table.columnNames.value], t = kn.value.head.map((e, t) => {
|
|
535
|
-
let n =
|
|
535
|
+
let n = i({
|
|
536
536
|
p: F.value.style.chart.labels.prefix,
|
|
537
537
|
v: kn.value.body[t],
|
|
538
538
|
s: F.value.style.chart.labels.suffix,
|
|
@@ -746,24 +746,24 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
746
746
|
}
|
|
747
747
|
function er(e) {
|
|
748
748
|
if (!L.value || Q.value || document.activeElement !== L.value || !Kn()) return;
|
|
749
|
-
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ",
|
|
750
|
-
if (!t && !n && !r && !i && !a && !
|
|
751
|
-
if (e.preventDefault(), e.stopPropagation(),
|
|
749
|
+
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", ee = e.key === "Escape";
|
|
750
|
+
if (!t && !n && !r && !i && !a && !ee) return;
|
|
751
|
+
if (e.preventDefault(), e.stopPropagation(), ee) {
|
|
752
752
|
Yn();
|
|
753
753
|
return;
|
|
754
754
|
}
|
|
755
|
-
let
|
|
756
|
-
if (
|
|
755
|
+
let o = M.value, s = N.value;
|
|
756
|
+
if (o === null || s === null) o = 0, s = 0;
|
|
757
757
|
else if (t || n) {
|
|
758
758
|
let e = Kn();
|
|
759
|
-
|
|
760
|
-
let t = qn(
|
|
759
|
+
o = n ? (o + 1) % e : (o - 1 + e) % e;
|
|
760
|
+
let t = qn(o);
|
|
761
761
|
if (!t.length) return;
|
|
762
|
-
|
|
762
|
+
s = Math.min(s, t.length - 1);
|
|
763
763
|
} else if (r || i) {
|
|
764
|
-
let e = qn(
|
|
764
|
+
let e = qn(o);
|
|
765
765
|
if (!e.length) return;
|
|
766
|
-
|
|
766
|
+
s = r ? (s + 1) % e.length : (s - 1 + e.length) % e.length;
|
|
767
767
|
}
|
|
768
768
|
if (a) {
|
|
769
769
|
let e = Jn();
|
|
@@ -774,7 +774,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
774
774
|
});
|
|
775
775
|
return;
|
|
776
776
|
}
|
|
777
|
-
Zn(
|
|
777
|
+
Zn(o, s);
|
|
778
778
|
}
|
|
779
779
|
let tr = u(() => ({
|
|
780
780
|
headers: X.value?.colNames ?? [],
|
|
@@ -793,14 +793,14 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
793
793
|
toggleAnnotator: In,
|
|
794
794
|
toggleFullscreen: jn,
|
|
795
795
|
copyAlt: Gn
|
|
796
|
-
}), (e,
|
|
796
|
+
}), (e, r) => (b(), p("div", {
|
|
797
797
|
ref_key: "stripPlotChart",
|
|
798
798
|
ref: k,
|
|
799
799
|
class: _(`vue-data-ui-component vue-ui-strip-plot ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
800
800
|
style: y(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor};${F.value.responsive ? "height:100%" : ""}`),
|
|
801
801
|
id: `strip-plot_${O.value}`,
|
|
802
|
-
onMouseenter:
|
|
803
|
-
onMouseleave:
|
|
802
|
+
onMouseenter: r[1] ||= () => T(nn)(!0),
|
|
803
|
+
onMouseleave: r[2] ||= () => T(nn)(!1)
|
|
804
804
|
}, [
|
|
805
805
|
m("div", {
|
|
806
806
|
id: `chart-instructions-${O.value}`,
|
|
@@ -1059,7 +1059,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1059
1059
|
fill: F.value.style.chart.labels.yAxisLabels.color,
|
|
1060
1060
|
"font-size": F.value.style.chart.labels.yAxisLabels.fontSize,
|
|
1061
1061
|
"text-anchor": "end"
|
|
1062
|
-
}, w(T(le)(F.value.style.chart.labels.formatter, e.value, T(
|
|
1062
|
+
}, w(T(le)(F.value.style.chart.labels.formatter, e.value, T(i)({
|
|
1063
1063
|
p: F.value.style.chart.labels.prefix,
|
|
1064
1064
|
v: e.value,
|
|
1065
1065
|
s: F.value.style.chart.labels.suffix,
|
|
@@ -1080,7 +1080,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1080
1080
|
fill: F.value.style.chart.labels.xAxisLabels.color,
|
|
1081
1081
|
"text-anchor": F.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : F.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
1082
1082
|
innerHTML: T(t)({
|
|
1083
|
-
content: T(
|
|
1083
|
+
content: T(s)(String(e)),
|
|
1084
1084
|
fontSize: F.value.style.chart.labels.xAxisLabels.fontSize,
|
|
1085
1085
|
fill: F.value.style.chart.labels.xAxisLabels.color,
|
|
1086
1086
|
x: 0,
|
|
@@ -1144,7 +1144,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1144
1144
|
}, [
|
|
1145
1145
|
m("stop", {
|
|
1146
1146
|
offset: "10%",
|
|
1147
|
-
"stop-color": T(
|
|
1147
|
+
"stop-color": T(n)(e.color, F.value.style.chart.plots.gradient.intensity / 100)
|
|
1148
1148
|
}, null, 8, pt),
|
|
1149
1149
|
m("stop", {
|
|
1150
1150
|
offset: "90%",
|
|
@@ -1203,7 +1203,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1203
1203
|
fill: F.value.style.chart.labels.bestPlotLabel.color,
|
|
1204
1204
|
"text-anchor": "middle",
|
|
1205
1205
|
style: y(`opacity:${F.value.useCssAnimation ? +!B.value : 1};transition:opacity 0.2s ease-in;`)
|
|
1206
|
-
}, w(e.name) + " " + w(F.value.style.chart.labels.bestPlotLabel.showValue ? T(le)(F.value.style.chart.labels.formatter, e.value, T(
|
|
1206
|
+
}, w(e.name) + " " + w(F.value.style.chart.labels.bestPlotLabel.showValue ? T(le)(F.value.style.chart.labels.formatter, e.value, T(i)({
|
|
1207
1207
|
p: `(${F.value.style.chart.labels.prefix}`,
|
|
1208
1208
|
v: e.value,
|
|
1209
1209
|
s: `${F.value.style.chart.labels.suffix})`,
|
|
@@ -1244,7 +1244,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1244
1244
|
parent: k.value,
|
|
1245
1245
|
content: It.value,
|
|
1246
1246
|
isFullscreen: Z.value,
|
|
1247
|
-
isCustom: T(
|
|
1247
|
+
isCustom: T(se)(F.value.style.chart.tooltip.customFormat),
|
|
1248
1248
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
1249
1249
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
1250
1250
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
@@ -1324,7 +1324,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1324
1324
|
fn: E(() => [m("button", {
|
|
1325
1325
|
tabindex: "0",
|
|
1326
1326
|
class: "vue-ui-user-options-button",
|
|
1327
|
-
onClick:
|
|
1327
|
+
onClick: r[0] ||= (e) => An(F.value.userOptions.callbacks.csv),
|
|
1328
1328
|
style: y({ cursor: I.value ? "pointer" : "default" })
|
|
1329
1329
|
}, [Fe(T(St), {
|
|
1330
1330
|
name: "fileCsv",
|