vue-data-ui 3.0.0-next.74 → 3.0.0-next.76
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-DlebInbO.js → Arrow-C5da7-vW.js} +1 -1
- package/dist/{BaseDraggableDialog-tQB04SOs.js → BaseDraggableDialog-DS5V39M2.js} +2 -2
- package/dist/{BaseIcon-DxXLzb15.js → BaseIcon-BbVc6WEk.js} +1 -1
- package/dist/{ColorPicker-Bpc6e5mE.js → ColorPicker-Dw1nfA9I.js} +2 -2
- package/dist/{DataTable-CuJplxJU.js → DataTable-B64z4T6V.js} +2 -2
- package/dist/{Legend-ioFJsYH-.js → Legend-DYeqPtv4.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CH2Z9b2e.js → NonSvgPenAndPaper-DMIR3sRP.js} +3 -3
- package/dist/{PackageVersion-Cqvb9VXZ.js → PackageVersion-Bpc-IOKW.js} +1 -1
- package/dist/{PenAndPaper-BqhD2pOj.js → PenAndPaper-ThOiaJGx.js} +32 -32
- package/dist/{RecursiveCircles-Dn3TGoL6.js → RecursiveCircles-BcLb1aRS.js} +15 -13
- package/dist/RecursiveLabels-Bgcv0pzu.js +50 -0
- package/dist/{RecursiveLinks-ld_gDZH4.js → RecursiveLinks-00zGWPf9.js} +20 -18
- package/dist/{Shape-CSkkoa5p.js → Shape-D-Jo0-bt.js} +1 -1
- package/dist/{Slicer-Dsw544JD.js → Slicer-BbMAz4aY.js} +2 -2
- package/dist/{SparkTooltip-CwUOWLYh.js → SparkTooltip-BSheBh1T.js} +1 -1
- package/dist/{Title-DM17sbc-.js → Title-qtwjy0bC.js} +1 -1
- package/dist/{Tooltip-DSoDpjRJ.js → Tooltip-CTRGFXlM.js} +1 -1
- package/dist/{UserOptions-gH1Ahkhe.js → UserOptions-1gV2pIRi.js} +2 -2
- package/dist/{dom-to-png-BHtbi9J3.js → dom-to-png-jQvXgcOV.js} +1 -1
- package/dist/{img-WAJVcEH2.js → img-3Um7-myH.js} +1 -1
- package/dist/{index-Be3YloBf.js → index-DJ2NyfQx.js} +27 -1
- package/dist/{pdf-BgW32I8a.js → pdf-CM2hur2z.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +43 -0
- package/dist/types/vue-data-ui.d.ts +43 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BF4GVlCH.js → useAutoSizeLabelsInsideViewbox-Ckb77jvE.js} +1 -1
- package/dist/{useNestedProp-BPkXaKa1.js → useNestedProp-k6YYLdqR.js} +1 -1
- package/dist/{usePrinter-BV33Qwmk.js → usePrinter-A_9chD2-.js} +2 -2
- package/dist/{vue-data-ui-DD8WUltQ.js → vue-data-ui-BEEcrEm8.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Dxjd1sN7.js → vue-ui-3d-bar-Bz1p0QxW.js} +6 -6
- package/dist/{vue-ui-accordion-KpWnxkbY.js → vue-ui-accordion-CpOGKsKy.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BD2EOye9.js → vue-ui-age-pyramid-wisYBBRo.js} +6 -6
- package/dist/{vue-ui-annotator-DE6HLQ7K.js → vue-ui-annotator-DoUxDRES.js} +2 -2
- package/dist/{vue-ui-bullet-vQsnc5Td.js → vue-ui-bullet-D1Js9y0P.js} +7 -7
- package/dist/{vue-ui-candlestick-DiuBIQFo.js → vue-ui-candlestick-2Jc5V55V.js} +7 -7
- package/dist/{vue-ui-carousel-table-IWjiIJOo.js → vue-ui-carousel-table-42W5gnv_.js} +4 -4
- package/dist/{vue-ui-chestnut-867kjoDn.js → vue-ui-chestnut-CLQAwPOt.js} +5 -5
- package/dist/{vue-ui-chord-DkfouYyb.js → vue-ui-chord-DVec8cJh.js} +8 -8
- package/dist/{vue-ui-circle-pack-BgIxgce3.js → vue-ui-circle-pack-OL__TxhK.js} +6 -6
- package/dist/{vue-ui-cursor-DKwYaoFO.js → vue-ui-cursor-DgDNydKb.js} +2 -2
- package/dist/{vue-ui-dashboard-nb_Tdvwb.js → vue-ui-dashboard-CahH5Gpo.js} +62 -62
- package/dist/{vue-ui-digits-DZ3HnXon.js → vue-ui-digits-D66fF-sa.js} +2 -2
- package/dist/{vue-ui-donut-CzCl9JR8.js → vue-ui-donut-WEmNgdKC.js} +8 -8
- package/dist/{vue-ui-donut-evolution-BQ2OSYUs.js → vue-ui-donut-evolution-DLea9AKo.js} +8 -8
- package/dist/{vue-ui-dumbbell-BqXhujgy.js → vue-ui-dumbbell-y9CMQ_ad.js} +7 -7
- package/dist/{vue-ui-flow-DJk5nDXA.js → vue-ui-flow-9axXPapA.js} +7 -7
- package/dist/{vue-ui-funnel-BDwH3FtD.js → vue-ui-funnel-Cyu3psEa.js} +6 -6
- package/dist/{vue-ui-galaxy-EY8HRZXp.js → vue-ui-galaxy-BdiMpLoM.js} +5 -5
- package/dist/{vue-ui-gauge-DMcHPKUR.js → vue-ui-gauge-B3RVkkwI.js} +7 -7
- package/dist/{vue-ui-gizmo-6FSB-WDl.js → vue-ui-gizmo-CxkD0mli.js} +3 -3
- package/dist/{vue-ui-heatmap-C_xD3d6M.js → vue-ui-heatmap-DaiXy-In.js} +7 -7
- package/dist/{vue-ui-history-plot-2xIA6g8q.js → vue-ui-history-plot-C-MBzuc4.js} +7 -7
- package/dist/{vue-ui-kpi-BrjdXiVR.js → vue-ui-kpi-E5WJt4a2.js} +3 -3
- package/dist/{vue-ui-mini-loader-itxvZl1j.js → vue-ui-mini-loader-BHShXHc0.js} +2 -2
- package/dist/vue-ui-molecule-CAZJDq5B.js +656 -0
- package/dist/{vue-ui-mood-radar-C2lpLvo4.js → vue-ui-mood-radar-C1liKsr8.js} +7 -7
- package/dist/{vue-ui-nested-donuts-ByE-C9zx.js → vue-ui-nested-donuts-BYpr8UzJ.js} +9 -9
- package/dist/{vue-ui-onion-D6xfskcr.js → vue-ui-onion-BBBHOyX3.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-Dx_-SFUT.js → vue-ui-parallel-coordinate-plot-BYX9C7zb.js} +8 -8
- package/dist/{vue-ui-quadrant-C6SCZK03.js → vue-ui-quadrant-CAL62jfX.js} +8 -8
- package/dist/{vue-ui-quick-chart-ENmRTJJa.js → vue-ui-quick-chart-CSCZGb5s.js} +6 -6
- package/dist/{vue-ui-radar-DfdSM-Il.js → vue-ui-radar-iauZil3m.js} +8 -8
- package/dist/{vue-ui-rating-CHMK4MLu.js → vue-ui-rating-CDO6_ZR2.js} +2 -2
- package/dist/{vue-ui-relation-circle-DwuyPmGj.js → vue-ui-relation-circle-C35lTiTk.js} +7 -7
- package/dist/{vue-ui-ridgeline-CvyCWHmy.js → vue-ui-ridgeline-CUiuxq3Y.js} +8 -8
- package/dist/{vue-ui-rings-DuRAZ4PD.js → vue-ui-rings-BJLaQWU-.js} +8 -8
- package/dist/{vue-ui-scatter-Cj4In9o1.js → vue-ui-scatter-DMZQbEdt.js} +8 -8
- package/dist/{vue-ui-skeleton-DpHEVrfC.js → vue-ui-skeleton-B9MeQUGc.js} +3 -3
- package/dist/{vue-ui-smiley-Dvi-xiM1.js → vue-ui-smiley-Bz1rRtJ5.js} +2 -2
- package/dist/{vue-ui-spark-trend-Bq7OOC27.js → vue-ui-spark-trend-DEG_vVx3.js} +3 -3
- package/dist/{vue-ui-sparkbar-Ct7dyPaA.js → vue-ui-sparkbar-CZAvJVzm.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BZHWmTFZ.js → vue-ui-sparkgauge-BgOdiKb5.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CCa5tbpq.js → vue-ui-sparkhistogram-BpmM_aa3.js} +4 -4
- package/dist/{vue-ui-sparkline-bZCi8CR7.js → vue-ui-sparkline-Q8qiFO9I.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CJX-bUJj.js → vue-ui-sparkstackbar-avkolFUE.js} +3 -3
- package/dist/{vue-ui-stackbar-DALCNLjV.js → vue-ui-stackbar-H526LHK1.js} +9 -9
- package/dist/{vue-ui-strip-plot-dvRLKPb2.js → vue-ui-strip-plot-Dk31vnVh.js} +7 -7
- package/dist/{vue-ui-table-BotcBqEH.js → vue-ui-table-a-q1TuQe.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Ac60woo0.js → vue-ui-table-heatmap-CPjX9QgY.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CUEGfm0y.js → vue-ui-table-sparkline-CuQz6kRG.js} +4 -4
- package/dist/{vue-ui-thermometer-DgzA1aXg.js → vue-ui-thermometer-BDa45sKU.js} +7 -7
- package/dist/{vue-ui-timer-ZMIxKbzb.js → vue-ui-timer-BSAcYfil.js} +5 -5
- package/dist/{vue-ui-tiremarks-Cj8qpTiw.js → vue-ui-tiremarks-B6liBicC.js} +6 -6
- package/dist/{vue-ui-treemap-BhPlPsmp.js → vue-ui-treemap-D2WXQAx-.js} +8 -8
- package/dist/{vue-ui-vertical-bar-CI6CfNMA.js → vue-ui-vertical-bar-BsbFFHid.js} +9 -9
- package/dist/{vue-ui-waffle-Kht4b0uT.js → vue-ui-waffle-5gg5d3pQ.js} +8 -8
- package/dist/{vue-ui-wheel-CbbKmXVB.js → vue-ui-wheel-2cPFOWn8.js} +6 -6
- package/dist/{vue-ui-word-cloud-5zpZS9-4.js → vue-ui-word-cloud-2qF1d-oE.js} +6 -6
- package/dist/{vue-ui-world-e0l9EEdQ.js → vue-ui-world-CVwCnFiM.js} +361 -326
- package/dist/{vue-ui-xy-DxjJ5aYg.js → vue-ui-xy-CKD9neY3.js} +9 -9
- package/dist/{vue-ui-xy-canvas-DKMqvCTi.js → vue-ui-xy-canvas-V0Y0u9yd.js} +8 -8
- package/package.json +1 -1
- package/dist/RecursiveLabels-NTMB9w5C.js +0 -49
- package/dist/vue-ui-molecule-B1CXM01Y.js +0 -599
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as u, createElementBlock as k, openBlock as m, createElementVNode as t, unref as o } from "vue";
|
|
2
|
-
import { c as n } from "./index-
|
|
2
|
+
import { c as n } from "./index-DJ2NyfQx.js";
|
|
3
3
|
const s = { class: "vue-ui-element-arrow" }, f = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], c = ["d", "fill"], h = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], y = ["d", "fill"], v = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"], z = {
|
|
4
4
|
__name: "Arrow",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as O, ref as S, reactive as T, computed as P, onUnmounted as $, createBlock as R, openBlock as v, Teleport as N, createElementBlock as E, createCommentVNode as V, withModifiers as s, normalizeStyle as y, createElementVNode as o, unref as I, renderSlot as M, createVNode as F, normalizeClass as j, nextTick as U } from "vue";
|
|
2
|
-
import q from "./BaseIcon-
|
|
3
|
-
import { X as A } from "./index-
|
|
2
|
+
import q from "./BaseIcon-BbVc6WEk.js";
|
|
3
|
+
import { X as A } from "./index-DJ2NyfQx.js";
|
|
4
4
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const J = ["xmlns"], K = { class: "modal-title" }, Q = {
|
|
6
6
|
__name: "BaseDraggableDialog",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as e, createElementBlock as n, openBlock as i, normalizeClass as k, unref as L } from "vue";
|
|
2
|
-
import { X as l } from "./index-
|
|
2
|
+
import { X as l } from "./index-DJ2NyfQx.js";
|
|
3
3
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const M = ["xmlns", "viewBox", "height", "width", "innerHTML"], h = {
|
|
5
5
|
__name: "BaseIcon",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as l, computed as k, watch as I, withDirectives as P, createElementBlock as r, openBlock as n, withKeys as S, createElementVNode as u, createCommentVNode as z, normalizeStyle as a, createVNode as F, Fragment as E, renderList as N, unref as O } from "vue";
|
|
2
|
-
import C from "./BaseIcon-
|
|
3
|
-
import { F as V } from "./index-
|
|
2
|
+
import C from "./BaseIcon-BbVc6WEk.js";
|
|
3
|
+
import { F as V } from "./index-DJ2NyfQx.js";
|
|
4
4
|
import { v as D } from "./vClickOutside-C6WiFswA.js";
|
|
5
5
|
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const $ = ["onClick"], L = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -46%)" } }, T = ["value"], j = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as A, unref as e, computed as D, ref as w, onMounted as E, createElementBlock as n, openBlock as a, normalizeClass as k, createElementVNode as t, withKeys as R, normalizeStyle as i, createVNode as C, toDisplayString as I, Fragment as f, renderList as m, renderSlot as N, createCommentVNode as $ } from "vue";
|
|
2
|
-
import { _ as K } from "./Shape-
|
|
3
|
-
import O from "./BaseIcon-
|
|
2
|
+
import { _ as K } from "./Shape-D-Jo0-bt.js";
|
|
3
|
+
import O from "./BaseIcon-BbVc6WEk.js";
|
|
4
4
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const j = { class: "vue-ui-data-table" }, F = { style: { display: "flex", "align-items": "center", "justify-content": "flex-end", "padding-right": "3px", gap: "3px" } }, L = { style: { width: "12px", height: "12px" } }, M = {
|
|
6
6
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as o, openBlock as a, normalizeStyle as d, renderSlot as l, Fragment as u, renderList as g, normalizeClass as m, createCommentVNode as h, createVNode as k, mergeProps as y, unref as $ } from "vue";
|
|
2
|
-
import { a3 as p } from "./index-
|
|
3
|
-
import { _ as v } from "./Shape-
|
|
2
|
+
import { a3 as p } from "./index-DJ2NyfQx.js";
|
|
3
|
+
import { _ as v } from "./Shape-D-Jo0-bt.js";
|
|
4
4
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const S = ["id"], x = ["onClick", "height", "width"], z = {
|
|
6
6
|
__name: "Legend",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as i, computed as we, onMounted as ke, nextTick as be, onBeforeUnmount as Ce, watch as oe, createElementBlock as x, openBlock as y, Fragment as q, createCommentVNode as Y, normalizeStyle as b, normalizeClass as D, createElementVNode as C, withDirectives as ae, createVNode as M, toDisplayString as re, unref as se, vModelText as ue, withModifiers as ie, renderList as ce } from "vue";
|
|
2
|
-
import { l as $e, i as Se, X as Ae } from "./index-
|
|
3
|
-
import R from "./BaseIcon-
|
|
4
|
-
import { C as Ee } from "./ColorPicker-
|
|
2
|
+
import { l as $e, i as Se, X as Ae } from "./index-DJ2NyfQx.js";
|
|
3
|
+
import R from "./BaseIcon-BbVc6WEk.js";
|
|
4
|
+
import { C as Ee } from "./ColorPicker-Dw1nfA9I.js";
|
|
5
5
|
import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const Te = {
|
|
7
7
|
class: /* @__PURE__ */ D({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as e, openBlock as t, toDisplayString as o, unref as n } from "vue";
|
|
2
|
-
const r = "3.0.0-next.
|
|
2
|
+
const r = "3.0.0-next.76", a = { "aria-hidden": "true" }, p = {
|
|
3
3
|
__name: "PackageVersion",
|
|
4
4
|
setup(s) {
|
|
5
5
|
return (c, i) => (t(), e("desc", a, "Composed with Vue Data UI " + o(n(r)), 1));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ref as c, computed as ge, watch as X, nextTick as le, onMounted as pe, onBeforeUnmount as me, createElementBlock as Y, createCommentVNode as q, openBlock as z, normalizeStyle as x, createElementVNode as
|
|
2
|
-
import T from "./BaseIcon-
|
|
3
|
-
import { C as we } from "./ColorPicker-
|
|
4
|
-
import { l as be, i as xe } from "./index-
|
|
1
|
+
import { ref as c, computed as ge, watch as X, nextTick as le, onMounted as pe, onBeforeUnmount as me, createElementBlock as Y, createCommentVNode as q, openBlock as z, normalizeStyle as x, createElementVNode as C, withDirectives as ae, createVNode as $, normalizeClass as G, toDisplayString as Ae, unref as he, vModelText as oe } from "vue";
|
|
2
|
+
import T from "./BaseIcon-BbVc6WEk.js";
|
|
3
|
+
import { C as we } from "./ColorPicker-Dw1nfA9I.js";
|
|
4
|
+
import { l as be, i as xe } from "./index-DJ2NyfQx.js";
|
|
5
5
|
const ye = {
|
|
6
6
|
class: "vue-ui-pen-and-paper-action",
|
|
7
7
|
style: { padding: "0 !important" }
|
|
8
|
-
},
|
|
8
|
+
}, ke = ["disabled"], Be = {
|
|
9
9
|
__name: "PenAndPaper",
|
|
10
10
|
props: {
|
|
11
11
|
svgRef: {
|
|
@@ -31,7 +31,7 @@ const ye = {
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["close"],
|
|
33
33
|
setup(d, { emit: se }) {
|
|
34
|
-
const s = d, ue = se, b = c([]), E = c([]), S = c(s.color),
|
|
34
|
+
const s = d, ue = se, b = c([]), E = c([]), S = c(s.color), R = c(2), M = c(!1), P = c(""), o = c(null), A = c(null), F = c(null), h = c("draw"), Q = c(!1), f = c(null), H = c({ x: 0, y: 0 }), N = c([""]), D = c({ row: 0, col: 0 }), L = c(16), W = c("url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAABg2lDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSIVh2YQcchQnSyIijhKFYtgobQVWnUwufQLmjQkKS6OgmvBwY/FqoOLs64OroIg+AHi6OSk6CIl/i8ptIjx4Lgf7+497t4BQrPKNKtnAtB020wn4lIuvyqFXhGGiAhCiMnMMpKZxSx8x9c9Any9i/Es/3N/jgG1YDEgIBHPMcO0iTeIZzZtg/M+scjKskp8Tjxu0gWJH7muePzGueSywDNFM5ueJxaJpVIXK13MyqZGPE0cVTWd8oWcxyrnLc5atc7a9+QvDBf0lQzXaY4ggSUkkYIEBXVUUIWNGK06KRbStB/38Q+7/hS5FHJVwMixgBo0yK4f/A9+d2sVpya9pHAc6H1xnI9RILQLtBqO833sOK0TIPgMXOkdf60JzH6S3uho0SNgcBu4uO5oyh5wuQMMPRmyKbtSkKZQLALvZ/RNeSByC/Sveb2193H6AGSpq+Ub4OAQGCtR9rrPu/u6e/v3TLu/H5C7crM1WjgWAAAABmJLR0QAqwB5AHWF+8OUAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5gwUExIUagzGcQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAABfSURBVBjTldAxDoNQDIPhL0+q1L33P1AvAhN7xfK6WAgoLfSfrNiykpQtE+7RLzx2vgF9D3o8lWDmn1QVVMP0LZQGmNtqp1/cmou0XHdG/+sYeGZwFBqPCub8rkcvvAGvsi1VYarR8wAAAABJRU5ErkJggg==') 5 5, auto");
|
|
35
35
|
function O(l) {
|
|
36
36
|
if (!o.value || h.value !== "text" || Q.value) return;
|
|
37
37
|
const { x: e, y: n } = V(l);
|
|
@@ -94,9 +94,9 @@ const ye = {
|
|
|
94
94
|
i.setAttribute("x", n), i.setAttribute("y", t), i.setAttribute("font-size", r), i.setAttribute("font-family", "sans-serif"), i.textContent = g || "", o.value.appendChild(i);
|
|
95
95
|
const p = i.getBBox();
|
|
96
96
|
o.value.removeChild(i);
|
|
97
|
-
let m = t + a * r * 1.2,
|
|
97
|
+
let m = t + a * r * 1.2, k = n + p.width;
|
|
98
98
|
const w = document.createElementNS("http://www.w3.org/2000/svg", "rect");
|
|
99
|
-
w.setAttribute("x",
|
|
99
|
+
w.setAttribute("x", k), w.setAttribute("y", m), w.setAttribute("width", 2), w.setAttribute("height", r), w.setAttribute("fill", S.value), w.setAttribute("class", "vue-data-ui-svg-caret"), o.value.appendChild(w);
|
|
100
100
|
}
|
|
101
101
|
function _(l) {
|
|
102
102
|
if (f.value && !f.value.contains(l.target)) {
|
|
@@ -142,8 +142,8 @@ const ye = {
|
|
|
142
142
|
return l;
|
|
143
143
|
const t = ie(n), a = [`M ${t[0]} ${t[1]}`];
|
|
144
144
|
for (let v = 2; v < t.length - 2; v += 2) {
|
|
145
|
-
const g = t[v - 2], i = t[v - 1], p = t[v], m = t[v + 1],
|
|
146
|
-
a.push(`Q ${g} ${i} ${
|
|
145
|
+
const g = t[v - 2], i = t[v - 1], p = t[v], m = t[v + 1], k = (g + p) / 2, w = (i + m) / 2;
|
|
146
|
+
a.push(`Q ${g} ${i} ${k} ${w}`);
|
|
147
147
|
}
|
|
148
148
|
const u = t[t.length - 2], r = t[t.length - 1];
|
|
149
149
|
return a.push(`L ${u} ${r}`), a.join(" ");
|
|
@@ -174,8 +174,8 @@ const ye = {
|
|
|
174
174
|
const p = g - a, m = i - u;
|
|
175
175
|
p === 0 ? n += `v${m}` : m === 0 ? n += `h${p}` : n += `l${p} ${m}`, a = g, u = i;
|
|
176
176
|
} else if (t === "Q") {
|
|
177
|
-
const p = g, m = i,
|
|
178
|
-
p === a && m === u ? n += `t${
|
|
177
|
+
const p = g, m = i, k = parseFloat(e[++r]), w = parseFloat(e[++r]);
|
|
178
|
+
p === a && m === u ? n += `t${k - a} ${w - u}` : n += `q${p - a} ${m - u} ${k - a} ${w - u}`, a = k, u = w;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
}
|
|
@@ -185,7 +185,7 @@ const ye = {
|
|
|
185
185
|
if (h.value !== "draw" || !s.active || !o.value) return;
|
|
186
186
|
M.value = !0;
|
|
187
187
|
const { x: e, y: n } = V(l);
|
|
188
|
-
F.value = { x: e, y: n }, P.value = `M ${e} ${n}`, A.value = document.createElementNS("http://www.w3.org/2000/svg", "path"), A.value.setAttribute("stroke", S.value), A.value.setAttribute("stroke-width",
|
|
188
|
+
F.value = { x: e, y: n }, P.value = `M ${e} ${n}`, A.value = document.createElementNS("http://www.w3.org/2000/svg", "path"), A.value.setAttribute("stroke", S.value), A.value.setAttribute("stroke-width", R.value * s.scale), A.value.setAttribute("fill", "none"), A.value.setAttribute("stroke-linecap", "round"), A.value.setAttribute("stroke-linejoin", "round"), A.value.setAttribute("class", "vue-data-ui-doodle"), o.value.appendChild(A.value);
|
|
189
189
|
}
|
|
190
190
|
function K(l) {
|
|
191
191
|
if (!M.value || !o.value || !A.value) return;
|
|
@@ -197,7 +197,7 @@ const ye = {
|
|
|
197
197
|
const { x: e, y: n } = V(l);
|
|
198
198
|
if (F.value && F.value.x === e && F.value.y === n) {
|
|
199
199
|
const t = document.createElementNS("http://www.w3.org/2000/svg", "circle");
|
|
200
|
-
t.setAttribute("cx", e), t.setAttribute("cy", n), t.setAttribute("r",
|
|
200
|
+
t.setAttribute("cx", e), t.setAttribute("cy", n), t.setAttribute("r", R.value * s.scale / 2), t.setAttribute("fill", S.value), t.setAttribute("class", "vue-data-ui-doodle"), o.value.appendChild(t), b.value.push(t);
|
|
201
201
|
} else {
|
|
202
202
|
const t = A.value;
|
|
203
203
|
t.setAttribute("d", ve(re(P.value))), b.value.push(t);
|
|
@@ -241,14 +241,14 @@ const ye = {
|
|
|
241
241
|
s.svgRef && (o.value = document.createElementNS("http://www.w3.org/2000/svg", "g"), o.value.setAttribute("class", "vue-data-ui-doodles"), o.value.style.cursor = W.value, s.svgRef.appendChild(o.value), U());
|
|
242
242
|
});
|
|
243
243
|
}), me(() => {
|
|
244
|
-
o.value && s.svgRef && (
|
|
244
|
+
o.value && s.svgRef && (o.value.remove(), U());
|
|
245
245
|
}), (l, e) => d.active ? (z(), Y("div", {
|
|
246
246
|
key: 0,
|
|
247
247
|
"data-dom-to-png-ignore": "",
|
|
248
248
|
class: "vue-ui-pen-and-paper-actions",
|
|
249
249
|
style: x({ backgroundColor: d.backgroundColor })
|
|
250
250
|
}, [
|
|
251
|
-
|
|
251
|
+
C("button", {
|
|
252
252
|
class: "vue-ui-pen-and-paper-action",
|
|
253
253
|
onClick: e[0] || (e[0] = (n) => ue("close")),
|
|
254
254
|
style: x({
|
|
@@ -256,20 +256,20 @@ const ye = {
|
|
|
256
256
|
border: `1px solid ${y.value}`
|
|
257
257
|
})
|
|
258
258
|
}, [
|
|
259
|
-
|
|
259
|
+
$(T, {
|
|
260
260
|
name: "close",
|
|
261
261
|
stroke: d.color
|
|
262
262
|
}, null, 8, ["stroke"])
|
|
263
263
|
], 4),
|
|
264
|
-
|
|
265
|
-
|
|
264
|
+
C("button", ye, [
|
|
265
|
+
$(we, {
|
|
266
266
|
value: S.value,
|
|
267
267
|
"onUpdate:value": e[1] || (e[1] = (n) => S.value = n),
|
|
268
268
|
backgroundColor: d.backgroundColor,
|
|
269
269
|
buttonBorderColor: y.value
|
|
270
270
|
}, null, 8, ["value", "backgroundColor", "buttonBorderColor"])
|
|
271
271
|
]),
|
|
272
|
-
|
|
272
|
+
C("button", {
|
|
273
273
|
class: G(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-active": h.value === "text" }]),
|
|
274
274
|
onClick: e[2] || (e[2] = (n) => h.value = h.value === "text" ? "draw" : "text"),
|
|
275
275
|
style: x({
|
|
@@ -277,11 +277,11 @@ const ye = {
|
|
|
277
277
|
border: `1px solid ${y.value}`
|
|
278
278
|
})
|
|
279
279
|
}, [
|
|
280
|
-
|
|
280
|
+
$(T, {
|
|
281
281
|
name: h.value === "draw" ? "annotator" : "text",
|
|
282
282
|
stroke: d.color
|
|
283
283
|
}, null, 8, ["name", "stroke"]),
|
|
284
|
-
|
|
284
|
+
C("div", {
|
|
285
285
|
style: x({
|
|
286
286
|
position: "absolute",
|
|
287
287
|
bottom: "-20px",
|
|
@@ -292,12 +292,12 @@ const ye = {
|
|
|
292
292
|
fontVariantNumeric: "tabular-nums"
|
|
293
293
|
})
|
|
294
294
|
}, Ae(he(xe)({
|
|
295
|
-
v: h.value === "draw" ?
|
|
295
|
+
v: h.value === "draw" ? R.value : L.value,
|
|
296
296
|
s: "px",
|
|
297
297
|
r: 1
|
|
298
298
|
})), 5)
|
|
299
299
|
], 6),
|
|
300
|
-
|
|
300
|
+
C("button", {
|
|
301
301
|
class: G(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-disabled": !b.value.length }]),
|
|
302
302
|
disabled: !b.value.length,
|
|
303
303
|
onClick: ce,
|
|
@@ -307,12 +307,12 @@ const ye = {
|
|
|
307
307
|
marginTop: "20px"
|
|
308
308
|
})
|
|
309
309
|
}, [
|
|
310
|
-
|
|
310
|
+
$(T, {
|
|
311
311
|
name: "restart",
|
|
312
312
|
stroke: d.color
|
|
313
313
|
}, null, 8, ["stroke"])
|
|
314
|
-
], 14,
|
|
315
|
-
|
|
314
|
+
], 14, ke),
|
|
315
|
+
C("button", {
|
|
316
316
|
class: G(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-disabled": !E.value.length }]),
|
|
317
317
|
onClick: de,
|
|
318
318
|
style: x({
|
|
@@ -320,13 +320,13 @@ const ye = {
|
|
|
320
320
|
border: `1px solid ${y.value}`
|
|
321
321
|
})
|
|
322
322
|
}, [
|
|
323
|
-
|
|
323
|
+
$(T, {
|
|
324
324
|
name: "restart",
|
|
325
325
|
stroke: d.color,
|
|
326
326
|
style: { transform: "scaleX(-1)" }
|
|
327
327
|
}, null, 8, ["stroke"])
|
|
328
328
|
], 6),
|
|
329
|
-
|
|
329
|
+
C("button", {
|
|
330
330
|
class: G(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-disabled": !b.value.length }]),
|
|
331
331
|
onClick: fe,
|
|
332
332
|
style: x({
|
|
@@ -334,7 +334,7 @@ const ye = {
|
|
|
334
334
|
border: `1px solid ${y.value}`
|
|
335
335
|
})
|
|
336
336
|
}, [
|
|
337
|
-
|
|
337
|
+
$(T, {
|
|
338
338
|
name: "trash",
|
|
339
339
|
stroke: d.color
|
|
340
340
|
}, null, 8, ["stroke"])
|
|
@@ -347,10 +347,10 @@ const ye = {
|
|
|
347
347
|
min: 0.5,
|
|
348
348
|
max: 12,
|
|
349
349
|
step: 0.1,
|
|
350
|
-
"onUpdate:modelValue": e[3] || (e[3] = (n) =>
|
|
350
|
+
"onUpdate:modelValue": e[3] || (e[3] = (n) => R.value = n),
|
|
351
351
|
style: x({ accentColor: d.color })
|
|
352
352
|
}, null, 4)), [
|
|
353
|
-
[oe,
|
|
353
|
+
[oe, R.value]
|
|
354
354
|
]) : q("", !0),
|
|
355
355
|
h.value === "text" ? ae((z(), Y("input", {
|
|
356
356
|
key: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toRef as
|
|
2
|
-
const
|
|
1
|
+
import { toRef as R, resolveComponent as U, createElementBlock as s, openBlock as o, Fragment as u, renderList as k, createCommentVNode as a, createBlock as w, createElementVNode as F, withModifiers as M, renderSlot as h, mergeProps as f, withCtx as x } from "vue";
|
|
2
|
+
const H = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMouseover"], S = ["x", "y", "height", "width", "onClick", "onMouseover"], B = {
|
|
3
3
|
__name: "RecursiveCircles",
|
|
4
4
|
props: {
|
|
5
5
|
color: {
|
|
@@ -36,16 +36,18 @@ const F = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMous
|
|
|
36
36
|
function n(r) {
|
|
37
37
|
v("hover", r);
|
|
38
38
|
}
|
|
39
|
-
return
|
|
39
|
+
return R(C, "dataset").value.forEach((r) => {
|
|
40
40
|
r.nodes && r.nodes.length > 0 && r.nodes.forEach((l) => {
|
|
41
41
|
l.ancestor = r;
|
|
42
42
|
});
|
|
43
43
|
}), (r, l) => {
|
|
44
|
-
const g =
|
|
45
|
-
return o(!0), s(u, null, k(t.dataset, (e) => (o(), s(u, null, [
|
|
44
|
+
const g = U("RecursiveCircles", !0);
|
|
45
|
+
return o(!0), s(u, null, k(t.dataset, (e, m) => (o(), s(u, null, [
|
|
46
46
|
e.polygonPath && e.polygonPath.coordinates ? (o(), s(u, { key: 0 }, [
|
|
47
|
-
(o(!0), s(u, null, k(e.polygonPath.coordinates, (i,
|
|
48
|
-
|
|
47
|
+
(o(!0), s(u, null, k(e.polygonPath.coordinates, (i, $) => (o(), s(u, {
|
|
48
|
+
key: `node_${m}_${$}`
|
|
49
|
+
}, [
|
|
50
|
+
F("circle", {
|
|
49
51
|
cx: i.x,
|
|
50
52
|
cy: i.y,
|
|
51
53
|
r: e.circleRadius,
|
|
@@ -56,7 +58,7 @@ const F = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMous
|
|
|
56
58
|
onClick: (c) => d(e),
|
|
57
59
|
onMouseover: (c) => n(e),
|
|
58
60
|
onMouseleave: l[0] || (l[0] = (c) => n(null))
|
|
59
|
-
}, null, 40,
|
|
61
|
+
}, null, 40, H),
|
|
60
62
|
r.$slots.node ? (o(), s("foreignObject", {
|
|
61
63
|
key: 0,
|
|
62
64
|
x: i.x - e.circleRadius,
|
|
@@ -64,14 +66,14 @@ const F = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMous
|
|
|
64
66
|
height: e.circleRadius * 2,
|
|
65
67
|
width: e.circleRadius * 2,
|
|
66
68
|
style: { overflow: "visible" },
|
|
67
|
-
onClick:
|
|
69
|
+
onClick: M((c) => d(e), ["stop"]),
|
|
68
70
|
onMouseover: (c) => n(e),
|
|
69
71
|
onMouseleave: l[1] || (l[1] = (c) => n(null))
|
|
70
72
|
}, [
|
|
71
73
|
h(r.$slots, "node", f({ ref_for: !0 }, { node: e }))
|
|
72
|
-
], 40,
|
|
73
|
-
], 64))),
|
|
74
|
-
e.nodes && e.nodes.length > 0 ? (o(),
|
|
74
|
+
], 40, S)) : a("", !0)
|
|
75
|
+
], 64))), 128)),
|
|
76
|
+
e.nodes && e.nodes.length > 0 ? (o(), w(g, {
|
|
75
77
|
key: 0,
|
|
76
78
|
dataset: e.nodes,
|
|
77
79
|
color: t.color,
|
|
@@ -92,5 +94,5 @@ const F = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMous
|
|
|
92
94
|
}
|
|
93
95
|
};
|
|
94
96
|
export {
|
|
95
|
-
|
|
97
|
+
B as default
|
|
96
98
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { toRef as y, resolveComponent as h, createElementBlock as l, openBlock as t, Fragment as n, renderList as c, createCommentVNode as i, createBlock as f, toDisplayString as p } from "vue";
|
|
2
|
+
const v = ["x", "y", "fill", "font-size"], _ = {
|
|
3
|
+
__name: "RecursiveLabels",
|
|
4
|
+
props: {
|
|
5
|
+
color: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: "#000000"
|
|
8
|
+
},
|
|
9
|
+
dataset: {
|
|
10
|
+
type: Array,
|
|
11
|
+
default: () => []
|
|
12
|
+
},
|
|
13
|
+
hoveredUid: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: null
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
emits: ["zoom", "hover"],
|
|
19
|
+
setup(o, { emit: g }) {
|
|
20
|
+
return y(o, "dataset").value.forEach((r) => {
|
|
21
|
+
r.nodes && r.nodes.length > 0 && r.nodes.forEach((a) => {
|
|
22
|
+
a.ancestor = r;
|
|
23
|
+
});
|
|
24
|
+
}), (r, a) => {
|
|
25
|
+
const u = h("RecursiveLabels", !0);
|
|
26
|
+
return t(!0), l(n, null, c(o.dataset, (e, d) => (t(), l(n, null, [
|
|
27
|
+
e.polygonPath && e.polygonPath.coordinates ? (t(), l(n, { key: 0 }, [
|
|
28
|
+
(t(!0), l(n, null, c(e.polygonPath.coordinates, (s, m) => (t(), l("text", {
|
|
29
|
+
key: `node_${d}_${m}`,
|
|
30
|
+
x: s.x,
|
|
31
|
+
y: s.y + e.circleRadius * 2,
|
|
32
|
+
fill: o.color,
|
|
33
|
+
"font-size": e.circleRadius,
|
|
34
|
+
"text-anchor": "middle",
|
|
35
|
+
style: { opacity: "0.8", "pointer-events": "none" }
|
|
36
|
+
}, p(e.name), 9, v))), 128)),
|
|
37
|
+
e.nodes && e.nodes.length > 0 ? (t(), f(u, {
|
|
38
|
+
key: 0,
|
|
39
|
+
dataset: e.nodes,
|
|
40
|
+
color: o.color,
|
|
41
|
+
hoveredUid: o.hoveredUid
|
|
42
|
+
}, null, 8, ["dataset", "color", "hoveredUid"])) : i("", !0)
|
|
43
|
+
], 64)) : i("", !0)
|
|
44
|
+
], 64))), 256);
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
_ as default
|
|
50
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toRef as
|
|
2
|
-
const
|
|
1
|
+
import { toRef as h, resolveComponent as g, createElementBlock as o, openBlock as e, Fragment as r, renderList as c, createCommentVNode as l, createElementVNode as y, createBlock as x } from "vue";
|
|
2
|
+
const p = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], m = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], F = {
|
|
3
3
|
__name: "RecursiveLinks",
|
|
4
4
|
props: {
|
|
5
5
|
dataset: {
|
|
@@ -16,49 +16,51 @@ const g = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], x = ["x1", "y1", "
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(n) {
|
|
19
|
-
return
|
|
19
|
+
return h(n, "dataset").value.forEach((a) => {
|
|
20
20
|
a.nodes && a.nodes.length > 0 && a.nodes.forEach((u) => {
|
|
21
21
|
u.ancestor = a;
|
|
22
22
|
});
|
|
23
23
|
}), (a, u) => {
|
|
24
|
-
const i =
|
|
24
|
+
const i = g("RecursiveLinks", !0);
|
|
25
25
|
return e(), o(r, null, [
|
|
26
|
-
(e(!0), o(r, null, c(n.dataset, (t) => (e(), o(r, null, [
|
|
27
|
-
t.polygonPath && t.polygonPath.coordinates ? (e(!0), o(r, { key: 0 }, c(t.polygonPath.coordinates, (
|
|
26
|
+
(e(!0), o(r, null, c(n.dataset, (t, k) => (e(), o(r, null, [
|
|
27
|
+
t.polygonPath && t.polygonPath.coordinates ? (e(!0), o(r, { key: 0 }, c(t.polygonPath.coordinates, (s, d) => (e(), o(r, {
|
|
28
|
+
key: `node_${k}_${d}`
|
|
29
|
+
}, [
|
|
28
30
|
t.ancestor && t.ancestor.polygonPath ? (e(), o(r, { key: 0 }, [
|
|
29
31
|
y("line", {
|
|
30
|
-
x1:
|
|
31
|
-
y1:
|
|
32
|
+
x1: s.x,
|
|
33
|
+
y1: s.y,
|
|
32
34
|
x2: t.ancestor.polygonPath.coordinates[0].x,
|
|
33
35
|
y2: t.ancestor.polygonPath.coordinates[0].y,
|
|
34
36
|
stroke: n.backgroundColor,
|
|
35
37
|
"stroke-width": t.circleRadius / 1.5
|
|
36
|
-
}, null, 8,
|
|
38
|
+
}, null, 8, p),
|
|
37
39
|
y("line", {
|
|
38
|
-
x1:
|
|
39
|
-
y1:
|
|
40
|
+
x1: s.x,
|
|
41
|
+
y1: s.y,
|
|
40
42
|
x2: t.ancestor.polygonPath.coordinates[0].x,
|
|
41
43
|
y2: t.ancestor.polygonPath.coordinates[0].y,
|
|
42
44
|
stroke: n.color,
|
|
43
45
|
"stroke-width": t.circleRadius / 2
|
|
44
|
-
}, null, 8,
|
|
45
|
-
], 64)) :
|
|
46
|
-
], 64))),
|
|
46
|
+
}, null, 8, m)
|
|
47
|
+
], 64)) : l("", !0)
|
|
48
|
+
], 64))), 128)) : l("", !0)
|
|
47
49
|
], 64))), 256)),
|
|
48
50
|
(e(!0), o(r, null, c(n.dataset, (t) => (e(), o(r, null, [
|
|
49
51
|
t.polygonPath && t.polygonPath.coordinates ? (e(), o(r, { key: 0 }, [
|
|
50
|
-
t.nodes && t.nodes.length > 0 ? (e(),
|
|
52
|
+
t.nodes && t.nodes.length > 0 ? (e(), x(i, {
|
|
51
53
|
key: 0,
|
|
52
54
|
dataset: t.nodes,
|
|
53
55
|
color: n.color,
|
|
54
56
|
backgroundColor: n.backgroundColor
|
|
55
|
-
}, null, 8, ["dataset", "color", "backgroundColor"])) :
|
|
56
|
-
], 64)) :
|
|
57
|
+
}, null, 8, ["dataset", "color", "backgroundColor"])) : l("", !0)
|
|
58
|
+
], 64)) : l("", !0)
|
|
57
59
|
], 64))), 256))
|
|
58
60
|
], 64);
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
};
|
|
62
64
|
export {
|
|
63
|
-
|
|
65
|
+
F as default
|
|
64
66
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as u, createElementBlock as r, openBlock as l, createCommentVNode as a, normalizeStyle as d } from "vue";
|
|
2
|
-
import { _ as f, R as p } from "./index-
|
|
2
|
+
import { _ as f, R as p } from "./index-DJ2NyfQx.js";
|
|
3
3
|
const g = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], S = ["d", "fill", "stroke", "stroke-width"], x = ["points", "fill", "stroke", "stroke-width"], w = {
|
|
4
4
|
__name: "Shape",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as Oe, computed as v, ref as i, onMounted as he, onBeforeUnmount as te, watch as T, nextTick as le, onUpdated as Ze, createElementBlock as c, openBlock as m, createElementVNode as d, createCommentVNode as w, renderSlot as je, normalizeStyle as M, createVNode as Ge, withDirectives as ge, unref as U, Fragment as be, renderList as xe, normalizeClass as B, vModelText as ye, toDisplayString as ae } from "vue";
|
|
2
|
-
import qe from "./BaseIcon-
|
|
2
|
+
import qe from "./BaseIcon-BbVc6WEk.js";
|
|
3
3
|
import { t as we, u as Je } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { c as Ke, V as pe, U as Se, X as Qe, F as ne } from "./index-
|
|
4
|
+
import { c as Ke, V as pe, U as Se, X as Qe, F as ne } from "./index-DJ2NyfQx.js";
|
|
5
5
|
import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const _e = {
|
|
7
7
|
class: "vue-data-ui-slicer-labels",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRef as c, ref as a, computed as v, onMounted as m, watch as y, createElementBlock as b, openBlock as g, normalizeStyle as x, renderSlot as k, nextTick as S } from "vue";
|
|
2
|
-
import { s as _, aq as i } from "./index-
|
|
2
|
+
import { s as _, aq as i } from "./index-DJ2NyfQx.js";
|
|
3
3
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const R = {
|
|
5
5
|
__name: "SparkTooltip",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as n, Fragment as f, createElementVNode as p, createCommentVNode as o, normalizeStyle as d, unref as e, toDisplayString as g, renderSlot as r } from "vue";
|
|
2
|
-
import { u as c } from "./useNestedProp-
|
|
2
|
+
import { u as c } from "./useNestedProp-k6YYLdqR.js";
|
|
3
3
|
const x = {
|
|
4
4
|
__name: "Title",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as d, onMounted as k, onUnmounted as g, watch as p, nextTick as F, computed as x, createBlock as S, openBlock as h, Teleport as $, createElementBlock as B, createCommentVNode as C, normalizeStyle as w, normalizeClass as N, renderSlot as m, createElementVNode as Y } from "vue";
|
|
2
|
-
import { s as z } from "./index-
|
|
2
|
+
import { s as z } from "./index-DJ2NyfQx.js";
|
|
3
3
|
function M({ tooltip: e, chart: a, clientPosition: t, positionPreference: s = "center", defaultOffsetY: c = 24, blockShiftY: u = !1 }) {
|
|
4
4
|
const o = d(0), i = d(c);
|
|
5
5
|
if (e && a) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as m, computed as w, onMounted as Q, onBeforeUnmount as Y, withDirectives as Z, createElementBlock as s, openBlock as o, normalizeStyle as v, createElementVNode as X, withKeys as p, withModifiers as _, renderSlot as d, normalizeProps as S, guardReactiveProps as ee, createVNode as te, normalizeClass as k, createCommentVNode as a, Fragment as $, createBlock as f, toDisplayString as c, mergeProps as T, unref as oe } from "vue";
|
|
2
2
|
import { v as ne } from "./vClickOutside-C6WiFswA.js";
|
|
3
|
-
import r from "./BaseIcon-
|
|
4
|
-
import z from "./img-
|
|
3
|
+
import r from "./BaseIcon-BbVc6WEk.js";
|
|
4
|
+
import z from "./img-3Um7-myH.js";
|
|
5
5
|
import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const ie = ["title"], se = ["data-open"], ae = {
|
|
7
7
|
__name: "UserOptions",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as n } from "./dom-to-png-
|
|
1
|
+
import { d as n } from "./dom-to-png-jQvXgcOV.js";
|
|
2
2
|
async function u({ domElement: t, fileName: c, format: f = "png", scale: i = 2, base64: a = !1, img: g = !1 }) {
|
|
3
3
|
if (!t) return Promise.reject("No element provided");
|
|
4
4
|
const h = typeof navigator < "u" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
@@ -3527,6 +3527,19 @@ function De() {
|
|
|
3527
3527
|
}
|
|
3528
3528
|
}
|
|
3529
3529
|
}, Io = {
|
|
3530
|
+
debug: !1,
|
|
3531
|
+
// v3
|
|
3532
|
+
loading: !1,
|
|
3533
|
+
// v3
|
|
3534
|
+
events: {
|
|
3535
|
+
// v3
|
|
3536
|
+
datapointEnter: null,
|
|
3537
|
+
// v3
|
|
3538
|
+
datapointLeave: null,
|
|
3539
|
+
// v3
|
|
3540
|
+
datapointClick: null
|
|
3541
|
+
// v3
|
|
3542
|
+
},
|
|
3530
3543
|
theme: "",
|
|
3531
3544
|
customPalette: [],
|
|
3532
3545
|
style: {
|
|
@@ -6069,6 +6082,19 @@ function De() {
|
|
|
6069
6082
|
}
|
|
6070
6083
|
}
|
|
6071
6084
|
}, Ce = {
|
|
6085
|
+
debug: !1,
|
|
6086
|
+
// v3
|
|
6087
|
+
loading: !1,
|
|
6088
|
+
// v3
|
|
6089
|
+
events: {
|
|
6090
|
+
// v3
|
|
6091
|
+
datapointEnter: null,
|
|
6092
|
+
// v3
|
|
6093
|
+
datapointLeave: null,
|
|
6094
|
+
// v3
|
|
6095
|
+
datapointClick: null
|
|
6096
|
+
// v3
|
|
6097
|
+
},
|
|
6072
6098
|
userOptions: k({
|
|
6073
6099
|
tooltip: !0,
|
|
6074
6100
|
pdf: !0,
|
|
@@ -8198,7 +8224,7 @@ function bl(o, r) {
|
|
|
8198
8224
|
};
|
|
8199
8225
|
return pe(new Proxy(a, c));
|
|
8200
8226
|
}
|
|
8201
|
-
const fl = h(() => import("./Arrow-
|
|
8227
|
+
const fl = h(() => import("./Arrow-C5da7-vW.js")), gl = h(() => import("./vue-data-ui-BEEcrEm8.js")), Al = h(() => import("./vue-ui-3d-bar-Bz1p0QxW.js")), Cl = h(() => import("./vue-ui-accordion-CpOGKsKy.js")), hl = h(() => import("./vue-ui-age-pyramid-wisYBBRo.js")), kl = h(() => import("./vue-ui-annotator-DoUxDRES.js")), Fl = h(() => import("./vue-ui-candlestick-2Jc5V55V.js")), pl = h(() => import("./vue-ui-chestnut-CLQAwPOt.js")), El = h(() => import("./vue-ui-cursor-DgDNydKb.js")), Dl = h(() => import("./vue-ui-dashboard-CahH5Gpo.js")), Bl = h(() => import("./vue-ui-digits-D66fF-sa.js")), yl = h(() => import("./vue-ui-donut-WEmNgdKC.js")), ml = h(() => import("./vue-ui-donut-evolution-DLea9AKo.js")), xl = h(() => import("./vue-ui-dumbbell-y9CMQ_ad.js")), wl = h(() => import("./vue-ui-flow-9axXPapA.js")), vl = h(() => import("./vue-ui-galaxy-BdiMpLoM.js")), Ll = h(() => import("./vue-ui-gauge-B3RVkkwI.js")), Sl = h(() => import("./vue-ui-heatmap-DaiXy-In.js")), _l = h(() => import("./BaseIcon-BbVc6WEk.js")), zl = h(() => import("./vue-ui-kpi-E5WJt4a2.js")), Ol = h(() => import("./vue-ui-mini-loader-BHShXHc0.js")), Rl = h(() => import("./vue-ui-molecule-CAZJDq5B.js")), Pl = h(() => import("./vue-ui-mood-radar-C1liKsr8.js")), Nl = h(() => import("./vue-ui-nested-donuts-BYpr8UzJ.js")), Tl = h(() => import("./vue-ui-onion-BBBHOyX3.js")), Ml = h(() => import("./vue-ui-parallel-coordinate-plot-BYX9C7zb.js")), Vl = h(() => import("./vue-ui-quadrant-CAL62jfX.js")), Il = h(() => import("./vue-ui-quick-chart-CSCZGb5s.js")), Wl = h(() => import("./vue-ui-radar-iauZil3m.js")), $l = h(() => import("./vue-ui-rating-CDO6_ZR2.js")), Ul = h(() => import("./vue-ui-relation-circle-C35lTiTk.js")), Yl = h(() => import("./vue-ui-rings-BJLaQWU-.js")), Gl = h(() => import("./vue-ui-scatter-DMZQbEdt.js")), Hl = h(() => import("./vue-ui-skeleton-B9MeQUGc.js")), Xl = h(() => import("./vue-ui-smiley-Bz1rRtJ5.js")), jl = h(() => import("./vue-ui-sparkhistogram-BpmM_aa3.js")), Kl = h(() => import("./vue-ui-sparkstackbar-avkolFUE.js")), ql = h(() => import("./vue-ui-spark-trend-DEG_vVx3.js")), Ql = h(() => import("./vue-ui-sparkbar-CZAvJVzm.js")), Zl = h(() => import("./vue-ui-sparkgauge-BgOdiKb5.js")), Jl = h(() => import("./vue-ui-sparkline-Q8qiFO9I.js")), oa = h(() => import("./vue-ui-strip-plot-Dk31vnVh.js")), ea = h(() => import("./vue-ui-table-a-q1TuQe.js")), ta = h(() => import("./vue-ui-table-heatmap-CPjX9QgY.js")), ra = h(() => import("./vue-ui-table-sparkline-CuQz6kRG.js")), la = h(() => import("./vue-ui-thermometer-BDa45sKU.js")), aa = h(() => import("./vue-ui-timer-BSAcYfil.js")), na = h(() => import("./vue-ui-tiremarks-B6liBicC.js")), sa = h(() => import("./vue-ui-treemap-D2WXQAx-.js")), ca = h(() => import("./vue-ui-vertical-bar-BsbFFHid.js")), ia = h(() => import("./vue-ui-vertical-bar-BsbFFHid.js")), ua = h(() => import("./vue-ui-waffle-5gg5d3pQ.js")), da = h(() => import("./vue-ui-wheel-2cPFOWn8.js")), ba = h(() => import("./vue-ui-word-cloud-2qF1d-oE.js")), fa = h(() => import("./vue-ui-xy-CKD9neY3.js")), ga = h(() => import("./vue-ui-xy-canvas-V0Y0u9yd.js")), Aa = h(() => import("./vue-ui-carousel-table-42W5gnv_.js")), Ca = h(() => import("./vue-ui-gizmo-CxkD0mli.js")), ha = h(() => import("./vue-ui-stackbar-H526LHK1.js")), ka = h(() => import("./vue-ui-bullet-D1Js9y0P.js")), Fa = h(() => import("./vue-ui-funnel-Cyu3psEa.js")), pa = h(() => import("./vue-ui-history-plot-C-MBzuc4.js")), Ea = h(() => import("./vue-ui-pattern-DsYgSZWn.js")), Da = h(() => import("./vue-ui-circle-pack-OL__TxhK.js")), Ba = h(() => import("./vue-ui-world-CVwCnFiM.js")), ya = h(() => import("./vue-ui-ridgeline-CUiuxq3Y.js")), ma = h(() => import("./vue-ui-chord-DVec8cJh.js"));
|
|
8202
8228
|
export {
|
|
8203
8229
|
Wr as $,
|
|
8204
8230
|
zt as A,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e } from "./dom-to-png-
|
|
1
|
+
import { d as e } from "./dom-to-png-jQvXgcOV.js";
|
|
2
2
|
async function j({ domElement: t, fileName: l, scale: i = 2, options: F = {} }) {
|
|
3
3
|
if (!t) return Promise.reject("No domElement provided");
|
|
4
4
|
const m = typeof navigator < "u" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|