vue-data-ui 3.9.12 → 3.9.13
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-Cbn8f8m4.js → Arrow-f1dKmuRH.js} +1 -1
- package/dist/{BaseDraggableDialog-C167SnU0.js → BaseDraggableDialog-CAJxIF6g.js} +2 -2
- package/dist/{BaseIcon-r3_sTK1A.js → BaseIcon-4i3dd7Ty.js} +1 -1
- package/dist/{BaseZoomControls-D8N7fb-c.js → BaseZoomControls-C0H509ZF.js} +6 -6
- package/dist/{ColorPicker-Bq2C5Dll.js → ColorPicker-B9oF4-O6.js} +8 -8
- package/dist/{DataTable-DNeCys3I.js → DataTable-WrXCJkfE.js} +2 -2
- package/dist/{Legend-Dxz13z4E.js → Legend-D6z73edh.js} +2 -2
- package/dist/{NonSvgPenAndPaper-ZnkWbBri.js → NonSvgPenAndPaper-7clRuQVF.js} +11 -11
- package/dist/{PackageVersion-BpArR90N.js → PackageVersion-D3cMhAlf.js} +1 -1
- package/dist/{PenAndPaper-CsqBamFZ.js → PenAndPaper-DxIUvoQ8.js} +17 -17
- package/dist/{Shape-_iTOIp3x.js → Shape-DAHhCEdg.js} +1 -1
- package/dist/{Slicer-DBYna_by.js → Slicer-Bn8azYkD.js} +70 -70
- package/dist/{SlicerPreview-pHjYklxh.js → SlicerPreview-oV3dMuV1.js} +2 -2
- package/dist/{SparkTooltip-BaSHhfes.js → SparkTooltip-D7iYVquk.js} +3 -3
- package/dist/{Title-DFtCaCah.js → Title-BhURirpm.js} +1 -1
- package/dist/{Tooltip-B79qvriT.js → Tooltip-TDyKgLB6.js} +1 -1
- package/dist/{UserOptions-B-2A_KRb.js → UserOptions-CzJWRC4s.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-Cm7R2Zu2.js → dom-to-png-C2K57N1M.js} +1 -1
- package/dist/{img-BJzUSmkm.js → img-DKigoPDs.js} +1 -1
- package/dist/labelUtils-PMU3ZGCb.js +30 -0
- package/dist/{lib-W9waxHL3.js → lib-BwysEpWI.js} +81 -77
- package/dist/{pdf-BJR-8Moh.js → pdf-BHGnVnBG.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +20 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DAdqpHf1.js → useAutoSizeLabelsInsideViewbox-DO2dxQ78.js} +1 -1
- package/dist/{useNestedProp-D-jUHecl.js → useNestedProp--5lL-kf1.js} +209 -197
- package/dist/{usePrinter-DhoMn87n.js → usePrinter-BJzHDpYF.js} +2 -2
- package/dist/{vue-data-ui-Dw19CYml.js → vue-data-ui-DE3O1T8n.js} +67 -67
- package/dist/vue-data-ui.js +83 -83
- package/dist/{vue-ui-3d-bar-Bv7Tft_r.js → vue-ui-3d-bar-CVvhPzdH.js} +6 -6
- package/dist/{vue-ui-accordion-B6BX2vhq.js → vue-ui-accordion-tQNKwbVi.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C6NjJlg4.js → vue-ui-age-pyramid-DxTHqM7w.js} +25 -25
- package/dist/{vue-ui-annotator-DB6dpuUU.js → vue-ui-annotator-Da5aL57a.js} +7 -7
- package/dist/{vue-ui-bullet-BLGvme53.js → vue-ui-bullet-DhpTML7L.js} +22 -22
- package/dist/{vue-ui-candlestick-DBG1mW60.js → vue-ui-candlestick-BDOKQqMm.js} +85 -85
- package/dist/{vue-ui-carousel-table-BYnItN48.js → vue-ui-carousel-table-BW6bKPsX.js} +13 -13
- package/dist/{vue-ui-chestnut-DV6f4SNc.js → vue-ui-chestnut-Cc-lke6P.js} +31 -31
- package/dist/{vue-ui-chord-DRleP2O8.js → vue-ui-chord-CB6w31Ex.js} +8 -8
- package/dist/{vue-ui-circle-pack-BCrMaFWw.js → vue-ui-circle-pack-CfihOmNV.js} +6 -6
- package/dist/{vue-ui-cursor-j10t3UEX.js → vue-ui-cursor-Dnpe76BQ.js} +3 -3
- package/dist/{vue-ui-dag-y0oqslGj.js → vue-ui-dag-Dq3hKon7.js} +7 -7
- package/dist/{vue-ui-dashboard-mBGF94l6.js → vue-ui-dashboard-eMwyGsuD.js} +68 -68
- package/dist/{vue-ui-digits-DQz1eJc-.js → vue-ui-digits-B5QhIbFD.js} +2 -2
- package/dist/vue-ui-donut-D3---CiY.js +2082 -0
- package/dist/{vue-ui-donut-evolution-hkHICgry.js → vue-ui-donut-evolution-C6H1Vr6m.js} +8 -8
- package/dist/{vue-ui-dumbbell-BVPZwi0X.js → vue-ui-dumbbell-L1p0npq4.js} +33 -33
- package/dist/{vue-ui-flow-BNeKU-KR.js → vue-ui-flow-CgAIlvZF.js} +38 -38
- package/dist/{vue-ui-funnel-VorM1bT0.js → vue-ui-funnel-CpgqO34n.js} +6 -6
- package/dist/{vue-ui-galaxy-DKkviRQr.js → vue-ui-galaxy-DAi1I2Cr.js} +316 -291
- package/dist/{vue-ui-gauge-BNaWVi-e.js → vue-ui-gauge-DY78U-uO.js} +7 -7
- package/dist/{vue-ui-geo-_R5mjj-u.js → vue-ui-geo-Befu6fkT.js} +7 -7
- package/dist/{vue-ui-gizmo-AQFQccea.js → vue-ui-gizmo-BM_oOeYY.js} +3 -3
- package/dist/{vue-ui-heatmap-BKX1bPY5.js → vue-ui-heatmap-C_ze3bzX.js} +108 -108
- package/dist/{vue-ui-history-plot-BNX8B2jr.js → vue-ui-history-plot-C-_zpLPH.js} +50 -50
- package/dist/{vue-ui-horizontal-bar-B6VyEs1p.js → vue-ui-horizontal-bar-DvLMeP44.js} +47 -47
- package/dist/{vue-ui-kpi-BnCqocoi.js → vue-ui-kpi-IcOqABQz.js} +3 -3
- package/dist/{vue-ui-mini-loader-Dzqusv9i.js → vue-ui-mini-loader-DxlOXn6v.js} +2 -2
- package/dist/{vue-ui-molecule-PtnhkQLr.js → vue-ui-molecule-N938wMMB.js} +5 -5
- package/dist/{vue-ui-mood-radar-DxSVU35A.js → vue-ui-mood-radar-D1hHnpLB.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BY8C1axg.js → vue-ui-nested-donuts-DeTGEb4T.js} +597 -595
- package/dist/{vue-ui-onion-XJAcsPVV.js → vue-ui-onion-BwY998zT.js} +376 -332
- package/dist/{vue-ui-parallel-coordinate-plot-CDWIZbgp.js → vue-ui-parallel-coordinate-plot-B4v3AheY.js} +43 -43
- package/dist/{vue-ui-quadrant-DY9GXVYY.js → vue-ui-quadrant-4f1p9gSO.js} +8 -8
- package/dist/{vue-ui-quick-chart-Y73WB5GW.js → vue-ui-quick-chart-CGbEBTS1.js} +52 -52
- package/dist/{vue-ui-radar-Deup68ga.js → vue-ui-radar-B15r4HoM.js} +57 -57
- package/dist/{vue-ui-rating-BciQHmzs.js → vue-ui-rating-CaRZVE71.js} +2 -2
- package/dist/{vue-ui-relation-circle-C0W3aPaO.js → vue-ui-relation-circle-CFEL1uYt.js} +7 -7
- package/dist/{vue-ui-ridgeline-D9z3_hRf.js → vue-ui-ridgeline-LGH61-xE.js} +8 -8
- package/dist/{vue-ui-rings-CT3gLUkS.js → vue-ui-rings-DNdUdKax.js} +270 -246
- package/dist/{vue-ui-scatter-DiLSOZGs.js → vue-ui-scatter-Duxs0Ie_.js} +8 -8
- package/dist/{vue-ui-skeleton-D_2C5A85.js → vue-ui-skeleton-UoBAzUyN.js} +3 -3
- package/dist/{vue-ui-smiley-C0Bqip2_.js → vue-ui-smiley-BhpJbcM8.js} +2 -2
- package/dist/{vue-ui-spark-trend-C05f4Fn6.js → vue-ui-spark-trend-2c75iF9Y.js} +96 -96
- package/dist/{vue-ui-sparkbar-CjYaG0Ae.js → vue-ui-sparkbar-B2E5nzBF.js} +3 -3
- package/dist/{vue-ui-sparkgauge-AKIy8PYI.js → vue-ui-sparkgauge-DFkpaMkk.js} +13 -13
- package/dist/{vue-ui-sparkhistogram-nWWgx7iD.js → vue-ui-sparkhistogram-K6lo-KnY.js} +4 -4
- package/dist/{vue-ui-sparkline-CGMDNQpH.js → vue-ui-sparkline-CsByZZt4.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-C3vjYPrM.js → vue-ui-sparkstackbar-ByUb6nk-.js} +3 -3
- package/dist/{vue-ui-stackbar-BQiLC89h.js → vue-ui-stackbar-D7SnQvr4.js} +41 -41
- package/dist/{vue-ui-stackline-DPV5Amgq.js → vue-ui-stackline-BnRxf3k_.js} +130 -130
- package/dist/{vue-ui-strip-plot-CFGml25d.js → vue-ui-strip-plot-CJWXdisu.js} +28 -28
- package/dist/{vue-ui-table-DySeXTmp.js → vue-ui-table-BHWwypkc.js} +27 -27
- package/dist/{vue-ui-table-heatmap-CDnzIKGy.js → vue-ui-table-heatmap-DvHKKwJA.js} +12 -12
- package/dist/{vue-ui-table-sparkline-DbEj6x4N.js → vue-ui-table-sparkline-uK0q-dO9.js} +11 -11
- package/dist/{vue-ui-thermometer-BeiT4slQ.js → vue-ui-thermometer-Bxn0JNeJ.js} +31 -31
- package/dist/{vue-ui-timer-RWg45QKc.js → vue-ui-timer-7o5Jrxf3.js} +5 -5
- package/dist/{vue-ui-tiremarks-B4_W_mWX.js → vue-ui-tiremarks-DHoUaHOe.js} +6 -6
- package/dist/{vue-ui-treemap-fq9-enBk.js → vue-ui-treemap-B_4cIAAI.js} +51 -51
- package/dist/{vue-ui-waffle-BRcWupew.js → vue-ui-waffle-CddfqNWD.js} +381 -352
- package/dist/{vue-ui-wheel-DziR9q2I.js → vue-ui-wheel-CGYJA-33.js} +6 -6
- package/dist/{vue-ui-word-cloud-C6i_7Q6Y.js → vue-ui-word-cloud-oszTieHn.js} +32 -32
- package/dist/{vue-ui-world-Dvn1JWi9.js → vue-ui-world-DQjHEyKe.js} +31 -31
- package/dist/{vue-ui-xy-2ui0juKl.js → vue-ui-xy-D5A8tR-O.js} +9 -9
- package/dist/{vue-ui-xy-canvas-9tgX_s2v.js → vue-ui-xy-canvas-Bzd8pZdH.js} +100 -100
- package/package.json +1 -1
- package/dist/vue-ui-donut-A_IFB9JR.js +0 -2078
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as u, createElementBlock as d, openBlock as m, createElementVNode as t, unref as o } from "vue";
|
|
2
|
-
import { c as n } from "./lib-
|
|
2
|
+
import { c as n } from "./lib-BwysEpWI.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 { ref as l, reactive as U, computed as q, onMounted as A, onUnmounted as G, createBlock as J, openBlock as S, Teleport as Q, createElementBlock as Y, createCommentVNode as Z, withModifiers as d, normalizeStyle as $, createElementVNode as o, unref as _, renderSlot as x, createVNode as ee, normalizeClass as te, nextTick as ne } from "vue";
|
|
2
|
-
import oe from "./BaseIcon-
|
|
3
|
-
import { c as ie, X as re } from "./lib-
|
|
2
|
+
import oe from "./BaseIcon-4i3dd7Ty.js";
|
|
3
|
+
import { c as ie, X as re } from "./lib-BwysEpWI.js";
|
|
4
4
|
import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const de = ["xmlns"], se = { class: "draggable-dialog-actions" }, le = {
|
|
6
6
|
__name: "BaseDraggableDialog",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as t, createElementBlock as s, openBlock as i, normalizeClass as k, unref as L } from "vue";
|
|
2
|
-
import { X as l } from "./lib-
|
|
2
|
+
import { X as l } from "./lib-BwysEpWI.js";
|
|
3
3
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const M = ["xmlns", "viewBox", "height", "width", "innerHTML"], c = {
|
|
5
5
|
__name: "BaseIcon",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createElementBlock as a, openBlock as u, normalizeStyle as
|
|
2
|
-
import {
|
|
3
|
-
import c from "./BaseIcon-
|
|
1
|
+
import { createElementBlock as a, openBlock as u, normalizeStyle as m, normalizeClass as d, unref as f, createElementVNode as l, createCommentVNode as z, createVNode as s, toDisplayString as g } from "vue";
|
|
2
|
+
import { m as i, q as y, u as b, h, t as C } from "./lib-BwysEpWI.js";
|
|
3
|
+
import c from "./BaseIcon-4i3dd7Ty.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
function v(o, n) {
|
|
6
6
|
const t = i(o);
|
|
@@ -43,9 +43,9 @@ const x = ["disabled"], S = {
|
|
|
43
43
|
setup(o, { emit: n }) {
|
|
44
44
|
const t = n;
|
|
45
45
|
return (B, e) => (u(), a("div", {
|
|
46
|
-
class:
|
|
46
|
+
class: d({ "vue-data-ui-zoom-controls": !0, "vue-data-ui-zoom-controls-fullscreen": o.isFullscreen }),
|
|
47
47
|
"data-dom-to-png-ignore": "",
|
|
48
|
-
style:
|
|
48
|
+
style: m({
|
|
49
49
|
border: o.config.style.chart.controls.border,
|
|
50
50
|
backgroundColor: o.config.style.chart.controls.backgroundColor,
|
|
51
51
|
padding: o.config.style.chart.controls.padding,
|
|
@@ -69,7 +69,7 @@ const x = ["disabled"], S = {
|
|
|
69
69
|
class: "vue-data-ui-zoom-controls-button-zoom",
|
|
70
70
|
onClick: e[1] || (e[1] = (r) => t("resetZoom")),
|
|
71
71
|
"data-cy-zoom-reset": "",
|
|
72
|
-
style:
|
|
72
|
+
style: m({
|
|
73
73
|
color: o.config.style.chart.controls.color,
|
|
74
74
|
width: o.config.style.chart.controls.fontSize * 4 + "px",
|
|
75
75
|
borderRadius: o.config.style.chart.controls.borderRadius,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as u, computed as T, watchEffect as U, onMounted as W, onBeforeUnmount as Y, watch as j, withDirectives as q, createElementBlock as d, openBlock as s, withKeys as A, createElementVNode as i, createCommentVNode as R, createBlock as G, normalizeStyle as a, renderSlot as H, normalizeProps as J, guardReactiveProps as Q, createVNode as C, withModifiers as n, Fragment as M, renderList as N, Teleport as X, unref as Z, nextTick as _ } from "vue";
|
|
2
|
-
import g from "./BaseIcon-
|
|
3
|
-
import {
|
|
2
|
+
import g from "./BaseIcon-4i3dd7Ty.js";
|
|
3
|
+
import { x as ee } from "./lib-BwysEpWI.js";
|
|
4
4
|
import { v as oe } from "./vClickOutside-C6WiFswA.js";
|
|
5
5
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, re = ["value"], ie = ["onClick"], ue = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, se = ["value"], ae = {
|
|
@@ -41,13 +41,13 @@ const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left:
|
|
|
41
41
|
function E(o) {
|
|
42
42
|
F("update:value", o.target.value);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function x(o) {
|
|
45
45
|
o?.stopPropagation?.(), m.value = !0, c.value?.click();
|
|
46
46
|
}
|
|
47
47
|
function D() {
|
|
48
48
|
r.value = !1;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function L() {
|
|
51
51
|
!m.value && r.value && D();
|
|
52
52
|
}
|
|
53
53
|
async function K() {
|
|
@@ -103,7 +103,7 @@ const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left:
|
|
|
103
103
|
return (o, e) => q((s(), d("div", {
|
|
104
104
|
ref_key: "wrapperRef",
|
|
105
105
|
ref: O,
|
|
106
|
-
onKeydown: A(
|
|
106
|
+
onKeydown: A(L, ["esc"]),
|
|
107
107
|
style: { height: "100%", width: "100%", position: "relative" }
|
|
108
108
|
}, [
|
|
109
109
|
i("button", {
|
|
@@ -151,7 +151,7 @@ const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left:
|
|
|
151
151
|
class: "vue-ui-color-picker-option",
|
|
152
152
|
type: "button",
|
|
153
153
|
style: a({ backgroundColor: t.value, outline: `1px solid ${t.buttonBorderColor}` }),
|
|
154
|
-
onClick: n(
|
|
154
|
+
onClick: n(x, ["stop"]),
|
|
155
155
|
onMousedown: e[0] || (e[0] = n(() => {
|
|
156
156
|
}, ["stop"])),
|
|
157
157
|
onTouchstart: e[1] || (e[1] = n(() => {
|
|
@@ -206,7 +206,7 @@ const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left:
|
|
|
206
206
|
class: "vue-ui-color-picker-option",
|
|
207
207
|
type: "button",
|
|
208
208
|
style: a({ backgroundColor: t.value, outline: `1px solid ${t.buttonBorderColor}` }),
|
|
209
|
-
onClick: n(
|
|
209
|
+
onClick: n(x, ["stop"]),
|
|
210
210
|
onMousedown: e[5] || (e[5] = n(() => {
|
|
211
211
|
}, ["stop"])),
|
|
212
212
|
onTouchstart: e[6] || (e[6] = n(() => {
|
|
@@ -231,7 +231,7 @@ const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left:
|
|
|
231
231
|
], 36)
|
|
232
232
|
])) : R("", !0)
|
|
233
233
|
], 32)), [
|
|
234
|
-
[Z(oe),
|
|
234
|
+
[Z(oe), L]
|
|
235
235
|
]);
|
|
236
236
|
}
|
|
237
237
|
}, ke = /* @__PURE__ */ te(ae, [["__scopeId", "data-v-e6c0b73a"]]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as A, unref as e, computed as D, ref as k, onMounted as E, createElementBlock as o, openBlock as l, normalizeClass as C, normalizeStyle as r, createCommentVNode as m, createElementVNode as a, withKeys as R, createVNode as B, toDisplayString as I, Fragment as g, renderList as v, renderSlot as N } from "vue";
|
|
2
|
-
import { _ as K } from "./Shape-
|
|
3
|
-
import O from "./BaseIcon-
|
|
2
|
+
import { _ as K } from "./Shape-DAHhCEdg.js";
|
|
3
|
+
import O from "./BaseIcon-4i3dd7Ty.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 n, openBlock as a, normalizeStyle as d, renderSlot as r, Fragment as u, renderList as m, normalizeClass as g, createCommentVNode as p, createVNode as h, mergeProps as k, unref as v } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as x } from "./Shape-
|
|
2
|
+
import { E as y } from "./lib-BwysEpWI.js";
|
|
3
|
+
import { _ as x } from "./Shape-DAHhCEdg.js";
|
|
4
4
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const S = ["id"], $ = ["onClick", "viewBox"], B = {
|
|
6
6
|
__name: "Legend",
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
2
|
-
import {
|
|
3
|
-
import R from "./BaseIcon-
|
|
4
|
-
import { C as Ee } from "./ColorPicker-
|
|
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 U, 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 { q as $e, d as Se, X as Ae } from "./lib-BwysEpWI.js";
|
|
3
|
+
import R from "./BaseIcon-4i3dd7Ty.js";
|
|
4
|
+
import { C as Ee } from "./ColorPicker-B9oF4-O6.js";
|
|
5
5
|
import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const Te = {
|
|
7
7
|
class: /* @__PURE__ */ D({
|
|
@@ -136,22 +136,22 @@ const Te = {
|
|
|
136
136
|
function W({ width: l, height: e }) {
|
|
137
137
|
G.value = `0 0 ${l} ${e}`;
|
|
138
138
|
}
|
|
139
|
-
const
|
|
139
|
+
const q = i(null);
|
|
140
140
|
ke(() => {
|
|
141
141
|
be(() => {
|
|
142
142
|
if ($.parent) {
|
|
143
|
-
|
|
143
|
+
q.value = new ResizeObserver((t) => {
|
|
144
144
|
for (const n of t) {
|
|
145
145
|
const { width: o, height: a } = n.contentRect;
|
|
146
146
|
W({ width: o, height: a });
|
|
147
147
|
}
|
|
148
|
-
}),
|
|
148
|
+
}), q.value.observe($.parent);
|
|
149
149
|
const { width: l, height: e } = $.parent.getBoundingClientRect();
|
|
150
150
|
W({ width: l, height: e });
|
|
151
151
|
}
|
|
152
152
|
}), c.value = k.value.querySelector("g");
|
|
153
153
|
}), Ce(() => {
|
|
154
|
-
|
|
154
|
+
q.value && q.value.disconnect();
|
|
155
155
|
}), oe(
|
|
156
156
|
() => $.parent,
|
|
157
157
|
(l) => {
|
|
@@ -256,7 +256,7 @@ const Te = {
|
|
|
256
256
|
w.value = [], N.value = [];
|
|
257
257
|
}
|
|
258
258
|
const le = i(null);
|
|
259
|
-
return (l, e) => (y(), x(
|
|
259
|
+
return (l, e) => (y(), x(U, null, [
|
|
260
260
|
u.active ? (y(), x("div", {
|
|
261
261
|
key: 0,
|
|
262
262
|
"data-dom-to-png-ignore": "",
|
|
@@ -416,7 +416,7 @@ const Te = {
|
|
|
416
416
|
ref_key: "G",
|
|
417
417
|
ref: c
|
|
418
418
|
}, [
|
|
419
|
-
(y(!0), x(
|
|
419
|
+
(y(!0), x(U, null, ce(w.value, (t) => (y(), x(U, {
|
|
420
420
|
key: t.id
|
|
421
421
|
}, [
|
|
422
422
|
t.path && t.path.replace("M", "").split(" ").length === 2 ? (y(), x("circle", {
|
|
@@ -442,7 +442,7 @@ const Te = {
|
|
|
442
442
|
"dominant-baseline": "hanging",
|
|
443
443
|
class: "vue-ui-pen-and-paper-text"
|
|
444
444
|
}, [
|
|
445
|
-
(y(!0), x(
|
|
445
|
+
(y(!0), x(U, null, ce(t.lines, (n, o) => (y(), x("tspan", {
|
|
446
446
|
key: o,
|
|
447
447
|
x: t.x,
|
|
448
448
|
dy: o === 0 ? "0" : t.fontSize * 1.2
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as e, openBlock as t, toDisplayString as o, unref as r } from "vue";
|
|
2
|
-
const n = "3.9.
|
|
2
|
+
const n = "3.9.13", 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(r(n)), 1));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as v, computed as xe, watch as J, nextTick as ie, onMounted as ye, onBeforeUnmount as Ce, createElementBlock as Z, createCommentVNode as _, openBlock as ee, normalizeStyle as x, createElementVNode as S, withDirectives as ve, renderSlot as L, createVNode as R, withCtx as ke, normalizeProps as M, guardReactiveProps as F, normalizeClass as W, toDisplayString as Se, unref as Ee, vModelText as ce } from "vue";
|
|
2
|
-
import Q from "./BaseIcon-
|
|
3
|
-
import { C as Be } from "./ColorPicker-
|
|
4
|
-
import {
|
|
2
|
+
import Q from "./BaseIcon-4i3dd7Ty.js";
|
|
3
|
+
import { C as Be } from "./ColorPicker-B9oF4-O6.js";
|
|
4
|
+
import { q as $e, d as Le } from "./lib-BwysEpWI.js";
|
|
5
5
|
const Re = {
|
|
6
6
|
class: "vue-ui-pen-and-paper-action",
|
|
7
7
|
style: { padding: "0 !important" }
|
|
@@ -34,7 +34,7 @@ const Re = {
|
|
|
34
34
|
const s = d, fe = de, b = v([]), y = v([]), E = v(s.color), N = v(2), I = v(!1), V = v(""), o = v(null), w = v(null), K = v(null), m = v("draw"), U = v(!1), f = v(null), O = v({ x: 0, y: 0 }), D = v([""]), T = v({ row: 0, col: 0 }), B = v(16), P = v(!1), te = v("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 ne(n) {
|
|
36
36
|
if (!o.value || m.value !== "text" || U.value) return;
|
|
37
|
-
const { x: e, y: l } =
|
|
37
|
+
const { x: e, y: l } = H(n);
|
|
38
38
|
O.value = { x: e, y: l }, D.value = [""], T.value = { row: 0, col: 0 }, P.value = !1;
|
|
39
39
|
const t = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
40
40
|
t.setAttribute("x", e), t.setAttribute("y", l), t.setAttribute("fill", E.value), t.setAttribute("font-size", B.value * s.scale), t.setAttribute("font-family", "sans-serif"), t.setAttribute("class", "vue-data-ui-doodle"), t.setAttribute("dominant-baseline", "hanging"), t.setAttribute("pointer-events", "all");
|
|
@@ -82,15 +82,15 @@ const Re = {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
const G = v(null);
|
|
85
|
-
function
|
|
85
|
+
function q() {
|
|
86
86
|
G.value !== null && (clearInterval(G.value), G.value = null);
|
|
87
87
|
}
|
|
88
88
|
function ge(n) {
|
|
89
|
-
|
|
89
|
+
q();
|
|
90
90
|
let e = !0;
|
|
91
91
|
n.style.opacity = "1", G.value = setInterval(() => {
|
|
92
92
|
if (!o.value || !n || !o.value.contains(n)) {
|
|
93
|
-
|
|
93
|
+
q();
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
96
|
e = !e, n.style.opacity = e ? "1" : "0";
|
|
@@ -119,7 +119,7 @@ const Re = {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
function j(n = !1) {
|
|
122
|
-
window.removeEventListener("keydown", le), window.removeEventListener("mousedown", se, !0),
|
|
122
|
+
window.removeEventListener("keydown", le), window.removeEventListener("mousedown", se, !0), q();
|
|
123
123
|
const e = o.value?.querySelector(".vue-data-ui-svg-caret");
|
|
124
124
|
e && o.value && o.value.removeChild(e);
|
|
125
125
|
const l = f.value?.children;
|
|
@@ -139,7 +139,7 @@ const Re = {
|
|
|
139
139
|
e.setAttribute("class", "vue-data-ui-mask"), e.setAttribute("width", "100%"), e.setAttribute("height", "100%"), e.setAttribute("fill", "transparent"), e.setAttribute("pointer-events", "all"), o.value.insertBefore(e, o.value.firstChild);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function H(n) {
|
|
143
143
|
const e = s.svgRef;
|
|
144
144
|
if (!e) return { x: 0, y: 0 };
|
|
145
145
|
const l = e.createSVGPoint();
|
|
@@ -195,20 +195,20 @@ const Re = {
|
|
|
195
195
|
}
|
|
196
196
|
return l;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function X(n) {
|
|
199
199
|
if (m.value !== "draw" || !s.active || !o.value) return;
|
|
200
200
|
I.value = !0;
|
|
201
|
-
const { x: e, y: l } =
|
|
201
|
+
const { x: e, y: l } = H(n);
|
|
202
202
|
K.value = { x: e, y: l }, V.value = `M ${e} ${l}`, w.value = document.createElementNS("http://www.w3.org/2000/svg", "path"), w.value.setAttribute("stroke", E.value), w.value.setAttribute("stroke-width", N.value * s.scale), w.value.setAttribute("fill", "none"), w.value.setAttribute("stroke-linecap", "round"), w.value.setAttribute("stroke-linejoin", "round"), w.value.setAttribute("class", "vue-data-ui-doodle"), o.value.appendChild(w.value);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Y(n) {
|
|
205
205
|
if (!I.value || !o.value || !w.value) return;
|
|
206
|
-
const { x: e, y: l } =
|
|
206
|
+
const { x: e, y: l } = H(n);
|
|
207
207
|
V.value += ` ${e} ${l}`, w.value.setAttribute("d", V.value);
|
|
208
208
|
}
|
|
209
209
|
function $(n) {
|
|
210
210
|
if (I.value && o.value && w.value) {
|
|
211
|
-
const { x: e, y: l } =
|
|
211
|
+
const { x: e, y: l } = H(n);
|
|
212
212
|
if (K.value && K.value.x === e && K.value.y === l) {
|
|
213
213
|
const t = document.createElementNS("http://www.w3.org/2000/svg", "circle");
|
|
214
214
|
t.setAttribute("cx", e), t.setAttribute("cy", l), t.setAttribute("r", N.value * s.scale / 2), t.setAttribute("fill", E.value), t.setAttribute("class", "vue-data-ui-doodle"), o.value.appendChild(t), b.value.push(t);
|
|
@@ -239,10 +239,10 @@ const Re = {
|
|
|
239
239
|
s.active && (z(), re(), m.value === "text" ? o.value.style.cursor = "text" : o.value.style.cursor = te.value);
|
|
240
240
|
});
|
|
241
241
|
function re() {
|
|
242
|
-
!s.svgRef || !s.active || (m.value === "draw" ? (s.svgRef.addEventListener("mousedown",
|
|
242
|
+
!s.svgRef || !s.active || (m.value === "draw" ? (s.svgRef.addEventListener("mousedown", X), s.svgRef.addEventListener("mousemove", Y), s.svgRef.addEventListener("mouseup", $), s.svgRef.addEventListener("mouseleave", $), s.svgRef.addEventListener("touchstart", X, { passive: !1 }), s.svgRef.addEventListener("touchmove", Y, { passive: !1 }), s.svgRef.addEventListener("touchend", $)) : m.value === "text" && s.svgRef.addEventListener("mousedown", ne), o.value && (o.value.style.pointerEvents = "auto"));
|
|
243
243
|
}
|
|
244
244
|
function z() {
|
|
245
|
-
s.svgRef && (s.svgRef.removeEventListener("mousedown",
|
|
245
|
+
s.svgRef && (s.svgRef.removeEventListener("mousedown", X), s.svgRef.removeEventListener("mousemove", Y), s.svgRef.removeEventListener("mouseup", $), s.svgRef.removeEventListener("mouseleave", $), s.svgRef.removeEventListener("touchstart", X), s.svgRef.removeEventListener("touchmove", Y), s.svgRef.removeEventListener("touchend", $), s.svgRef.removeEventListener("mousedown", ne), o.value && (o.value.style.pointerEvents = "none"));
|
|
246
246
|
}
|
|
247
247
|
return J(() => s.active, (n) => {
|
|
248
248
|
n ? re() : z();
|
|
@@ -255,7 +255,7 @@ const Re = {
|
|
|
255
255
|
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 = te.value, s.svgRef.appendChild(o.value), z());
|
|
256
256
|
});
|
|
257
257
|
}), Ce(() => {
|
|
258
|
-
|
|
258
|
+
q(), o.value && s.svgRef && (o.value.remove(), z());
|
|
259
259
|
}), (n, e) => d.active ? (ee(), Z("div", {
|
|
260
260
|
key: 0,
|
|
261
261
|
"data-dom-to-png-ignore": "",
|
|
@@ -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 { b as f, e as p } from "./lib-
|
|
2
|
+
import { b as f, e as p } from "./lib-BwysEpWI.js";
|
|
3
3
|
const g = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], S = ["d", "fill", "stroke", "stroke-width"], x = ["points", "fill", "stroke", "stroke-width"], b = {
|
|
4
4
|
__name: "Shape",
|
|
5
5
|
props: {
|