vue-data-ui 3.15.9 → 3.15.10
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-C4Kx1nmG.js → Arrow-DlPyR6HQ.js} +3 -3
- package/dist/{BaseDraggableDialog-DZ8LtDpY.js → BaseDraggableDialog-DaB3XPwS.js} +103 -93
- package/dist/{BaseIcon-lam_h6kW.js → BaseIcon-DYhirMez.js} +4 -4
- package/dist/{BaseLegendToggle-Cz-5VYyW.js → BaseLegendToggle-ZDVj6coL.js} +3 -3
- package/dist/{BaseScanner-BMpwQAfz.js → BaseScanner-BhhkKVoj.js} +2 -2
- package/dist/{BaseZoomControls-FInC2Yvc.js → BaseZoomControls-r2ndeaDq.js} +9 -9
- package/dist/{ColorPicker-DWjwBmHA.js → ColorPicker-DwUWvBwa.js} +9 -9
- package/dist/{DataTable-BNUSkQ1I.js → DataTable-mrCnsKbU.js} +10 -10
- package/dist/{Legend-DR9jONUq.js → Legend-1LMMsPxL.js} +10 -10
- package/dist/{NonSvgPenAndPaper-TNyCuTPy.js → NonSvgPenAndPaper-Bl2OlHDV.js} +20 -20
- package/dist/PackageVersion-Bc9ZZXxP.js +10 -0
- package/dist/{PenAndPaper-BsIogIo7.js → PenAndPaper-d2L8xCxt.js} +10 -10
- package/dist/{RecursiveCircles-CM4bn2Vg.js → RecursiveCircles-BE6GoMmo.js} +4 -4
- package/dist/{RecursiveLabels-DxmctYbA.js → RecursiveLabels-BhQMS9Sm.js} +3 -3
- package/dist/{RecursiveLinks-Da489v6n.js → RecursiveLinks-BYh0tHDW.js} +1 -1
- package/dist/{Shape-Dgax95cz.js → Shape-CSyWYgXc.js} +12 -12
- package/dist/{Slicer-cPGPCYv-.js → Slicer-C_cv38Qj.js} +62 -62
- package/dist/{SlicerPreview-BX2RZn2f.js → SlicerPreview-WOj5_yxF.js} +77 -77
- package/dist/{SparkTooltip-CaAeTUUM.js → SparkTooltip-BiseJed3.js} +3 -3
- package/dist/{Title-CtqQ6g3d.js → Title-BfyrP-jp.js} +8 -8
- package/dist/{Tooltip-DAGAXq--.js → Tooltip-DL3QgjZf.js} +6 -6
- package/dist/{UserOptions-Cfr2LZOA.js → UserOptions-CmU3oL-B.js} +3 -3
- 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-pattern.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-tkqJrAwG.js → dom-to-png-BAqzNjb1.js} +1 -1
- package/dist/{exposedLib-Ty_H9P8z.js → exposedLib-H4lmBl1t.js} +5 -5
- package/dist/{img-l8PGcgoC.js → img-BYYzY_QU.js} +1 -1
- package/dist/{labelUtils-CABKJbCw.js → labelUtils-CTXUc3V9.js} +1 -1
- package/dist/{lib-CvwgMHct.js → lib-GwPnJSrY.js} +6 -6
- package/dist/{pdf-Cm3an52v.js → pdf-z-YiJeJQ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +13 -1
- package/dist/types/vue-data-ui.d.ts +16 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-ekOZ-1Lt.js → useAutoSizeLabelsInsideViewbox-80fzdfxt.js} +1 -1
- package/dist/{useNestedProp-CteOeqI2.js → useNestedProp-BBT0mbHh.js} +1 -1
- package/dist/{useObjectBindings-sW-ey3KT.js → useObjectBindings-C5mBNsmr.js} +3 -3
- package/dist/{usePrinter-CWhr1T_G.js → usePrinter-DiK5R6k-.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-B9DBUYiT.js → vue-data-ui-C38RIPZN.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DCcVT76m.js → vue-ui-3d-bar-WR2z8-aB.js} +8 -8
- package/dist/{vue-ui-accordion-DsPxFAqp.js → vue-ui-accordion-DzomGdLc.js} +6 -6
- package/dist/{vue-ui-age-pyramid-Cy8asDRh.js → vue-ui-age-pyramid-B3QzpqJd.js} +8 -8
- package/dist/vue-ui-annotator-DkU3jPOY.js +2882 -0
- package/dist/{vue-ui-bullet-9FIbtgFp.js → vue-ui-bullet-ZnREf7mu.js} +9 -9
- package/dist/{vue-ui-bump-HuzBVpLz.js → vue-ui-bump-DVkdVKZq.js} +8 -8
- package/dist/{vue-ui-candlestick-CTw2YC_-.js → vue-ui-candlestick-BuhUPfY_.js} +59 -59
- package/dist/{vue-ui-carousel-table-BPs2Ri8i.js → vue-ui-carousel-table-DxqgUHUk.js} +9 -9
- package/dist/{vue-ui-chestnut--XK3Z6Tt.js → vue-ui-chestnut-CS83itbG.js} +7 -7
- package/dist/{vue-ui-chord-CT4VK2B1.js → vue-ui-chord-CNCN5qdZ.js} +58 -58
- package/dist/{vue-ui-circle-pack-BnEN6viC.js → vue-ui-circle-pack-DluhxXX-.js} +190 -185
- package/dist/{vue-ui-cursor-2xl1-_Pb.js → vue-ui-cursor-ColjJWoQ.js} +4 -4
- package/dist/{vue-ui-dag-C3FPOMmR.js → vue-ui-dag-B9oDvcxb.js} +44 -44
- package/dist/{vue-ui-dashboard-D0yZtm_m.js → vue-ui-dashboard-BRYKvXUp.js} +76 -76
- package/dist/{vue-ui-digits-CEWMagP_.js → vue-ui-digits-CWYOzafW.js} +3 -3
- package/dist/{vue-ui-donut-BvWaED8i.js → vue-ui-donut-QtHrgJWk.js} +12 -12
- package/dist/{vue-ui-donut-evolution-B-_Gq4As.js → vue-ui-donut-evolution-Byj2SOjd.js} +11 -11
- package/dist/{vue-ui-dumbbell-CGjOIHJk.js → vue-ui-dumbbell-D8lQ-4xZ.js} +51 -51
- package/dist/{vue-ui-flow-BFl9qgIN.js → vue-ui-flow-DB1hqVV-.js} +57 -57
- package/dist/{vue-ui-funnel-DTu6pXbU.js → vue-ui-funnel-BGZXPTsu.js} +22 -22
- package/dist/{vue-ui-galaxy-MFJFaigg.js → vue-ui-galaxy-CBzrrrBg.js} +11 -11
- package/dist/{vue-ui-gauge-CQ1oym23.js → vue-ui-gauge-CZ0ikgjI.js} +9 -9
- package/dist/{vue-ui-geo-RlgJrVh3.js → vue-ui-geo-D0ZLNDoc.js} +47 -47
- package/dist/{vue-ui-gizmo-B3Tpws46.js → vue-ui-gizmo-Bus-vaCg.js} +8 -8
- package/dist/{vue-ui-heatmap-BBcillAt.js → vue-ui-heatmap-D9CYgZsq.js} +9 -9
- package/dist/{vue-ui-history-plot-BtEKj3E_.js → vue-ui-history-plot-CPmE-fbq.js} +60 -60
- package/dist/{vue-ui-horizontal-bar-C033f091.js → vue-ui-horizontal-bar-CbdMNVdD.js} +12 -12
- package/dist/{vue-ui-kpi-DecmcI3p.js → vue-ui-kpi-Xek1a3np.js} +7 -7
- package/dist/{vue-ui-mini-loader-BhsAQ6Qf.js → vue-ui-mini-loader-DdOXSCb1.js} +7 -7
- package/dist/{vue-ui-molecule-DDN1tThN.js → vue-ui-molecule-DPRpSzwk.js} +7 -7
- package/dist/{vue-ui-mood-radar-BkmM-yyq.js → vue-ui-mood-radar-B2MwU0oy.js} +51 -51
- package/dist/{vue-ui-nested-donuts-B543lpfu.js → vue-ui-nested-donuts-CwOKk7tF.js} +61 -61
- package/dist/{vue-ui-onion-DubCXC-F.js → vue-ui-onion-CWvEKTsz.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-D49LuA21.js → vue-ui-parallel-coordinate-plot-DMpfuLON.js} +61 -61
- package/dist/{vue-ui-pattern-D5pNvoQp.js → vue-ui-pattern-mXZW_pvA.js} +2 -2
- package/dist/{vue-ui-quadrant-CtCE1qs1.js → vue-ui-quadrant-C9rRIVdH.js} +11 -11
- package/dist/{vue-ui-quick-chart-DHYc_Z85.js → vue-ui-quick-chart-BPNlyu-G.js} +9 -9
- package/dist/{vue-ui-radar-bYG_3PUq.js → vue-ui-radar-dt0sAUGc.js} +11 -11
- package/dist/{vue-ui-rating-BaOHArCS.js → vue-ui-rating-DdqNu8aR.js} +23 -23
- package/dist/{vue-ui-relation-circle-PTFs9Gan.js → vue-ui-relation-circle-BuPIRV4-.js} +9 -9
- package/dist/{vue-ui-ridgeline-D1XLj7qf.js → vue-ui-ridgeline-CxcOAiJD.js} +59 -59
- package/dist/{vue-ui-rings-CO0bIv5j.js → vue-ui-rings-VTqipDZr.js} +12 -12
- package/dist/{vue-ui-scatter-DWnGyh2B.js → vue-ui-scatter-BHWAZj27.js} +11 -11
- package/dist/{vue-ui-skeleton-DsqMZHLJ.js → vue-ui-skeleton-Be-MXDR-.js} +92 -92
- package/dist/{vue-ui-smiley-CQgVDQpr.js → vue-ui-smiley-qmUzLQCf.js} +17 -17
- package/dist/{vue-ui-spark-trend-BGcUaWgF.js → vue-ui-spark-trend-CvAjvqpO.js} +5 -5
- package/dist/{vue-ui-sparkbar-DTPMMROZ.js → vue-ui-sparkbar-DH2FOUfm.js} +9 -9
- package/dist/{vue-ui-sparkgauge-BKuKeHKP.js → vue-ui-sparkgauge-Bjl0V5yE.js} +11 -11
- package/dist/{vue-ui-sparkhistogram-DlM3gS3o.js → vue-ui-sparkhistogram-F4MhrNwJ.js} +6 -6
- package/dist/{vue-ui-sparkline-BYroiSIi.js → vue-ui-sparkline-CQ5HmPeT.js} +12 -12
- package/dist/{vue-ui-sparkstackbar-BpfveM1y.js → vue-ui-sparkstackbar-C11psTYu.js} +14 -14
- package/dist/{vue-ui-stackbar-BuLnHnM1.js → vue-ui-stackbar-DWZGbNO9.js} +85 -85
- package/dist/{vue-ui-stackline-DQC_Fo2v.js → vue-ui-stackline-D-Ia_NMA.js} +70 -70
- package/dist/{vue-ui-strip-plot-CH-YKnhz.js → vue-ui-strip-plot-g-UGSDjJ.js} +77 -77
- package/dist/vue-ui-table-62O_NGg7.js +1509 -0
- package/dist/{vue-ui-table-heatmap-mzZAgUlK.js → vue-ui-table-heatmap-CqkXx6BY.js} +16 -16
- package/dist/{vue-ui-table-sparkline-_l8uZYG7.js → vue-ui-table-sparkline-KKPhRBpS.js} +5 -5
- package/dist/{vue-ui-thermometer-DUFelryT.js → vue-ui-thermometer-JgQtpTfY.js} +9 -9
- package/dist/{vue-ui-timer-i3POF2tL.js → vue-ui-timer-BpVC6Cg9.js} +18 -18
- package/dist/{vue-ui-tiremarks-BSAYkFvj.js → vue-ui-tiremarks-CBdJDA2X.js} +8 -8
- package/dist/{vue-ui-treemap-B1ejMNqn.js → vue-ui-treemap-6O0a5WWB.js} +49 -49
- package/dist/{vue-ui-waffle-CQPQVNzP.js → vue-ui-waffle-8NtrrW4J.js} +12 -12
- package/dist/{vue-ui-wheel-DP-W-B5B.js → vue-ui-wheel-ChCCNLne.js} +31 -31
- package/dist/{vue-ui-word-cloud-CSw7v2YK.js → vue-ui-word-cloud-B5UqslXN.js} +9 -9
- package/dist/{vue-ui-world-ByVzKS7M.js → vue-ui-world-DqiamXM8.js} +61 -61
- package/dist/{vue-ui-xy-canvas-cm8CYnaN.js → vue-ui-xy-canvas-C3ivCGrY.js} +32 -32
- package/dist/{vue-ui-xy-cLiF8pL3.js → vue-ui-xy-p8Vwm4WZ.js} +17 -15
- package/package.json +1 -1
- package/dist/PackageVersion-9XKEicNx.js +0 -10
- package/dist/vue-ui-annotator-BbFYKkBB.js +0 -2985
- package/dist/vue-ui-table-CUFzmGUZ.js +0 -1691
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { computed as u,
|
|
2
|
-
import { j as n } from "./lib-
|
|
1
|
+
import { computed as u, openBlock as d, createElementBlock as m, createElementVNode as t, unref as o } from "vue";
|
|
2
|
+
import { j as n } from "./lib-GwPnJSrY.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: {
|
|
@@ -50,7 +50,7 @@ const s = { class: "vue-ui-element-arrow" }, f = ["id", "viewBox", "refX", "refY
|
|
|
50
50
|
},
|
|
51
51
|
setup(e) {
|
|
52
52
|
const a = e, i = n(), k = u(() => `0 0 ${a.markerSize} ${a.markerSize}`), r = u(() => a.markerSize / 2), l = u(() => r.value + a.markerSize / 10);
|
|
53
|
-
return (x, S) => (
|
|
53
|
+
return (x, S) => (d(), m("g", s, [
|
|
54
54
|
t("defs", null, [
|
|
55
55
|
t("marker", {
|
|
56
56
|
id: `arrow_end_${o(i)}`,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import oe from "./BaseIcon-
|
|
3
|
-
import { j as ie, X as re } from "./lib-
|
|
1
|
+
import { ref as s, reactive as A, computed as q, onMounted as F, onUnmounted as G, openBlock as x, createBlock as J, Teleport as Q, createElementBlock as O, withModifiers as d, normalizeStyle as k, createElementVNode as o, unref as Z, renderSlot as h, createVNode as _, normalizeClass as ee, createCommentVNode as te, nextTick as ne } from "vue";
|
|
2
|
+
import oe from "./BaseIcon-DYhirMez.js";
|
|
3
|
+
import { j as ie, X as re } from "./lib-GwPnJSrY.js";
|
|
4
4
|
import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const
|
|
5
|
+
const de = ["xmlns"], le = { class: "draggable-dialog-actions" }, se = {
|
|
6
6
|
__name: "BaseDraggableDialog",
|
|
7
7
|
props: {
|
|
8
8
|
backgroundColor: { type: String },
|
|
@@ -13,19 +13,23 @@ const se = ["xmlns"], de = { class: "draggable-dialog-actions" }, le = {
|
|
|
13
13
|
isFullscreen: { type: Boolean, default: !1 },
|
|
14
14
|
withPadding: { type: Boolean, default: !1 },
|
|
15
15
|
forcedWidth: { type: Number, default: 400 },
|
|
16
|
-
|
|
16
|
+
forcedHeight: { type: Number, default: 400 },
|
|
17
|
+
isCursorPointer: { type: Boolean, default: !1 },
|
|
18
|
+
forceAspectRatio: { type: Boolean, default: !1 },
|
|
19
|
+
withFullWidth: { type: Boolean, default: !1 },
|
|
20
|
+
noLayerUpdate: { type: Boolean, default: !1 }
|
|
17
21
|
},
|
|
18
|
-
emits: ["close"],
|
|
19
|
-
setup(a, { expose:
|
|
20
|
-
const
|
|
21
|
-
function
|
|
22
|
-
|
|
22
|
+
emits: ["close", "size"],
|
|
23
|
+
setup(a, { expose: P, emit: I }) {
|
|
24
|
+
const u = a, g = I, L = s(!1), M = s(!1), B = s(0), v = s(null), D = s(null), p = s(null), C = `vue-ui-draggable-dialog-${ie()}`, W = `${C}-title`, H = `${C}-body`;
|
|
25
|
+
function z() {
|
|
26
|
+
u.noLayerUpdate || (B.value += 1);
|
|
23
27
|
}
|
|
24
|
-
const e =
|
|
28
|
+
const e = A({
|
|
25
29
|
left: window.innerWidth / 2 - 200,
|
|
26
30
|
top: window.innerHeight / 2 - 120,
|
|
27
|
-
width:
|
|
28
|
-
height:
|
|
31
|
+
width: u.forcedWidth,
|
|
32
|
+
height: u.forcedHeight,
|
|
29
33
|
dragging: !1,
|
|
30
34
|
resizing: !1,
|
|
31
35
|
dragOffsetX: 0,
|
|
@@ -35,18 +39,18 @@ const se = ["xmlns"], de = { class: "draggable-dialog-actions" }, le = {
|
|
|
35
39
|
resizeStartW: 0,
|
|
36
40
|
resizeStartH: 0
|
|
37
41
|
});
|
|
38
|
-
function
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
const t = D.value ||
|
|
42
|
+
function N() {
|
|
43
|
+
p.value = document.activeElement instanceof HTMLElement ? document.activeElement : null, L.value = !0, ne(() => {
|
|
44
|
+
M.value || (e.left = Math.max(0, window.innerWidth / 2 - e.width / 2), e.top = Math.max(0, window.innerHeight / 2 - e.height / 2), M.value = !0);
|
|
45
|
+
const t = D.value || v.value;
|
|
42
46
|
t && typeof t.focus == "function" && t.focus();
|
|
43
47
|
});
|
|
44
48
|
}
|
|
45
|
-
function
|
|
46
|
-
|
|
49
|
+
function S() {
|
|
50
|
+
L.value = !1, g("close"), p.value && typeof p.value.focus == "function" && p.value.focus();
|
|
47
51
|
}
|
|
48
|
-
|
|
49
|
-
const
|
|
52
|
+
P({ open: N, close: S });
|
|
53
|
+
const R = q(() => ({
|
|
50
54
|
position: "fixed",
|
|
51
55
|
left: `${e.left}px`,
|
|
52
56
|
top: `${e.top}px`,
|
|
@@ -54,105 +58,108 @@ const se = ["xmlns"], de = { class: "draggable-dialog-actions" }, le = {
|
|
|
54
58
|
height: `${e.height}px`,
|
|
55
59
|
padding: 0,
|
|
56
60
|
border: "none",
|
|
57
|
-
background:
|
|
61
|
+
background: u.backgroundColor,
|
|
58
62
|
boxShadow: "0 4px 24px rgba(0,0,0,0.15)",
|
|
59
63
|
zIndex: 9999,
|
|
60
64
|
overflow: "visible",
|
|
61
65
|
borderRadius: "2px",
|
|
62
|
-
"--dlg-color":
|
|
66
|
+
"--dlg-color": u.color
|
|
63
67
|
}));
|
|
64
|
-
function
|
|
68
|
+
function l(t) {
|
|
65
69
|
return t.touches && t.touches.length ? { x: t.touches[0].clientX, y: t.touches[0].clientY } : { x: t.clientX, y: t.clientY };
|
|
66
70
|
}
|
|
67
|
-
function
|
|
68
|
-
t.preventDefault?.(),
|
|
69
|
-
const n =
|
|
70
|
-
e.dragOffsetX = n.x - e.left, e.dragOffsetY = n.y - e.top, document.addEventListener("mousemove",
|
|
71
|
+
function T(t) {
|
|
72
|
+
t.preventDefault?.(), z(), e.dragging = !0;
|
|
73
|
+
const n = l(t);
|
|
74
|
+
e.dragOffsetX = n.x - e.left, e.dragOffsetY = n.y - e.top, document.addEventListener("mousemove", y), document.addEventListener("mouseup", c), document.addEventListener("touchmove", y, { passive: !1 }), document.addEventListener("touchend", c);
|
|
71
75
|
}
|
|
72
|
-
function
|
|
76
|
+
function y(t) {
|
|
73
77
|
if (!e.dragging) return;
|
|
74
78
|
t.preventDefault?.();
|
|
75
|
-
const n =
|
|
79
|
+
const n = l(t);
|
|
76
80
|
let i = n.x - e.dragOffsetX, r = n.y - e.dragOffsetY;
|
|
77
81
|
i = Math.max(0, Math.min(i, window.innerWidth - e.width)), r = Math.max(0, Math.min(r, window.innerHeight - e.height)), e.left = i, e.top = r;
|
|
78
82
|
}
|
|
79
|
-
function
|
|
80
|
-
e.dragging = !1, document.removeEventListener("mousemove",
|
|
83
|
+
function c() {
|
|
84
|
+
e.dragging = !1, document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", c), document.removeEventListener("touchmove", y), document.removeEventListener("touchend", c);
|
|
81
85
|
}
|
|
82
86
|
function X(t) {
|
|
83
|
-
t.preventDefault?.(),
|
|
84
|
-
const n =
|
|
85
|
-
e.pointerStartX = n.x, e.pointerStartY = n.y, e.resizeStartW = e.width, e.resizeStartH = e.height, document.addEventListener("mousemove",
|
|
87
|
+
t.preventDefault?.(), z(), e.resizing = !0;
|
|
88
|
+
const n = l(t);
|
|
89
|
+
e.pointerStartX = n.x, e.pointerStartY = n.y, e.resizeStartW = e.width, e.resizeStartH = e.height, document.addEventListener("mousemove", b), document.addEventListener("mouseup", f), document.addEventListener("touchmove", b, { passive: !1 }), document.addEventListener("touchend", f);
|
|
86
90
|
}
|
|
87
|
-
function
|
|
91
|
+
function b(t) {
|
|
88
92
|
if (!e.resizing) return;
|
|
89
93
|
t.preventDefault?.();
|
|
90
|
-
const n =
|
|
94
|
+
const n = l(t);
|
|
91
95
|
let i = n.x - e.pointerStartX, r = n.y - e.pointerStartY;
|
|
92
|
-
e.width = Math.max(240, e.resizeStartW + i), e.height = Math.max(400, e.resizeStartH + r);
|
|
96
|
+
e.width = Math.max(240, e.resizeStartW + i), e.height = Math.max(400, e.resizeStartH + r), g("size", { width: e.width, height: e.height });
|
|
93
97
|
}
|
|
94
|
-
function
|
|
95
|
-
e.resizing = !1, document.removeEventListener("mousemove",
|
|
98
|
+
function f() {
|
|
99
|
+
e.resizing = !1, document.removeEventListener("mousemove", b), document.removeEventListener("mouseup", f), document.removeEventListener("touchmove", b), document.removeEventListener("touchend", f), g("size", { width: e.width, height: e.height });
|
|
96
100
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
+
F(() => {
|
|
102
|
+
g("size", { width: e.width, height: e.height });
|
|
103
|
+
});
|
|
104
|
+
function $(t) {
|
|
105
|
+
t.preventDefault?.(), z(), e.resizing = !0;
|
|
106
|
+
const n = l(t);
|
|
107
|
+
e.pointerStartX = n.x, e.pointerStartY = n.y, e.resizeStartW = e.width, e.resizeStartH = e.height, e.resizeStartLeft = e.left, e.resizeStartTop = e.top, document.addEventListener("mousemove", w), document.addEventListener("mouseup", m), document.addEventListener("touchmove", w, { passive: !1 }), document.addEventListener("touchend", m);
|
|
101
108
|
}
|
|
102
|
-
function
|
|
109
|
+
function w(t) {
|
|
103
110
|
if (!e.resizing) return;
|
|
104
111
|
t.preventDefault?.();
|
|
105
|
-
const n =
|
|
112
|
+
const n = l(t);
|
|
106
113
|
let i = n.x - e.pointerStartX, r = Math.min(
|
|
107
114
|
Math.max(0, e.resizeStartLeft + i),
|
|
108
115
|
e.resizeStartLeft + e.resizeStartW - 240
|
|
109
|
-
),
|
|
110
|
-
e.left = r, e.width =
|
|
116
|
+
), E = e.resizeStartW - (r - e.resizeStartLeft), j = n.y - e.pointerStartY, V = Math.max(400, e.resizeStartH + j);
|
|
117
|
+
e.left = r, e.width = E, e.height = V;
|
|
111
118
|
}
|
|
112
|
-
function
|
|
113
|
-
e.resizing = !1, document.removeEventListener("mousemove",
|
|
119
|
+
function m() {
|
|
120
|
+
e.resizing = !1, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", m), document.removeEventListener("touchmove", w), document.removeEventListener("touchend", m);
|
|
114
121
|
}
|
|
115
|
-
|
|
122
|
+
F(() => {
|
|
116
123
|
document.addEventListener("keydown", Y);
|
|
117
124
|
});
|
|
118
125
|
function Y(t) {
|
|
119
|
-
t.key && t.key === "Escape" &&
|
|
126
|
+
t.key && t.key === "Escape" && S();
|
|
120
127
|
}
|
|
121
128
|
G(() => {
|
|
122
|
-
|
|
129
|
+
c(), f(), m(), document.removeEventListener("keydown", Y);
|
|
123
130
|
});
|
|
124
|
-
function R(t) {
|
|
125
|
-
t.key === "Tab" && K(t);
|
|
126
|
-
}
|
|
127
131
|
function K(t) {
|
|
128
|
-
|
|
129
|
-
|
|
132
|
+
t.key === "Tab" && U(t);
|
|
133
|
+
}
|
|
134
|
+
function U(t) {
|
|
135
|
+
if (!v.value) return;
|
|
136
|
+
const i = v.value.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex]:not([tabindex="-1"]), [contenteditable="true"]');
|
|
130
137
|
if (!i.length) return;
|
|
131
|
-
const r = i[0],
|
|
132
|
-
t.shiftKey ? document.activeElement === r && (t.preventDefault(),
|
|
138
|
+
const r = i[0], E = i[i.length - 1];
|
|
139
|
+
t.shiftKey ? document.activeElement === r && (t.preventDefault(), E.focus()) : document.activeElement === E && (t.preventDefault(), r.focus());
|
|
133
140
|
}
|
|
134
|
-
return (t, n) => (
|
|
141
|
+
return (t, n) => (x(), J(Q, {
|
|
135
142
|
to: a.isFullscreen ? a.fullscreenParent : "body",
|
|
136
|
-
key:
|
|
143
|
+
key: B.value
|
|
137
144
|
}, [
|
|
138
|
-
|
|
145
|
+
L.value ? (x(), O("div", {
|
|
139
146
|
key: 0,
|
|
140
147
|
ref_key: "draggableDialog",
|
|
141
|
-
ref:
|
|
148
|
+
ref: v,
|
|
142
149
|
class: "vue-ui-draggable-dialog",
|
|
143
|
-
style:
|
|
150
|
+
style: k(R.value),
|
|
144
151
|
role: "dialog",
|
|
145
152
|
"aria-modal": !0,
|
|
146
|
-
"aria-labelledby":
|
|
147
|
-
"aria-describedby":
|
|
153
|
+
"aria-labelledby": W,
|
|
154
|
+
"aria-describedby": H,
|
|
148
155
|
tabindex: "-1",
|
|
149
|
-
onClick: n[0] || (n[0] =
|
|
156
|
+
onClick: n[0] || (n[0] = d(() => {
|
|
150
157
|
}, ["stop"])),
|
|
151
|
-
onKeydown:
|
|
158
|
+
onKeydown: K
|
|
152
159
|
}, [
|
|
153
160
|
o("div", {
|
|
154
161
|
class: "vue-ui-draggable-dialog-header",
|
|
155
|
-
style:
|
|
162
|
+
style: k({
|
|
156
163
|
backgroundColor: a.headerBg,
|
|
157
164
|
color: a.headerColor
|
|
158
165
|
})
|
|
@@ -160,11 +167,11 @@ const se = ["xmlns"], de = { class: "draggable-dialog-actions" }, le = {
|
|
|
160
167
|
o("span", {
|
|
161
168
|
class: "drag-handle",
|
|
162
169
|
"aria-hidden": "true",
|
|
163
|
-
onMousedown:
|
|
164
|
-
onTouchstart:
|
|
170
|
+
onMousedown: d(T, ["stop", "prevent"]),
|
|
171
|
+
onTouchstart: d(T, ["stop", "prevent"])
|
|
165
172
|
}, [
|
|
166
|
-
(
|
|
167
|
-
xmlns:
|
|
173
|
+
(x(), O("svg", {
|
|
174
|
+
xmlns: Z(re),
|
|
168
175
|
width: "20",
|
|
169
176
|
height: "20",
|
|
170
177
|
viewBox: "0 0 24 24",
|
|
@@ -180,26 +187,26 @@ const se = ["xmlns"], de = { class: "draggable-dialog-actions" }, le = {
|
|
|
180
187
|
o("path", { d: "M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
181
188
|
o("path", { d: "M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
182
189
|
o("path", { d: "M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1)
|
|
183
|
-
])], 8,
|
|
190
|
+
])], 8, de))
|
|
184
191
|
], 32),
|
|
185
192
|
o("span", {
|
|
186
193
|
class: "vue-ui-draggable-dialog-title",
|
|
187
|
-
id:
|
|
194
|
+
id: W
|
|
188
195
|
}, [
|
|
189
|
-
|
|
196
|
+
h(t.$slots, "title", {}, void 0, !0)
|
|
190
197
|
]),
|
|
191
|
-
o("div",
|
|
192
|
-
|
|
198
|
+
o("div", le, [
|
|
199
|
+
h(t.$slots, "actions", {}, void 0, !0),
|
|
193
200
|
o("button", {
|
|
194
201
|
ref_key: "closeButtonElement",
|
|
195
202
|
ref: D,
|
|
196
203
|
class: "close",
|
|
197
204
|
type: "button",
|
|
198
205
|
"aria-label": "Close dialog",
|
|
199
|
-
onClick:
|
|
200
|
-
style:
|
|
206
|
+
onClick: S,
|
|
207
|
+
style: k({ cursor: a.isCursorPointer ? "pointer" : "default" })
|
|
201
208
|
}, [
|
|
202
|
-
|
|
209
|
+
_(oe, {
|
|
203
210
|
name: "close",
|
|
204
211
|
stroke: a.headerColor
|
|
205
212
|
}, null, 8, ["stroke"])
|
|
@@ -207,31 +214,34 @@ const se = ["xmlns"], de = { class: "draggable-dialog-actions" }, le = {
|
|
|
207
214
|
])
|
|
208
215
|
], 4),
|
|
209
216
|
o("div", {
|
|
210
|
-
id:
|
|
217
|
+
id: H,
|
|
211
218
|
role: "document",
|
|
212
|
-
class:
|
|
219
|
+
class: ee({
|
|
213
220
|
"vue-ui-draggable-dialog-body": !a.withPadding,
|
|
214
|
-
"vue-ui-draggable-dialog-body-pad": a.withPadding
|
|
221
|
+
"vue-ui-draggable-dialog-body-pad": a.withPadding,
|
|
222
|
+
"vue-ui-draggable-dialog-body-full-width": a.withFullWidth
|
|
215
223
|
})
|
|
216
224
|
}, [
|
|
217
|
-
|
|
225
|
+
h(t.$slots, "before", {}, void 0, !0),
|
|
226
|
+
h(t.$slots, "content", {}, void 0, !0),
|
|
227
|
+
h(t.$slots, "after", {}, void 0, !0)
|
|
218
228
|
], 2),
|
|
219
229
|
o("div", {
|
|
220
230
|
class: "resize-handle",
|
|
221
231
|
"aria-hidden": "true",
|
|
222
|
-
onMousedown:
|
|
223
|
-
onTouchstart:
|
|
232
|
+
onMousedown: d(X, ["stop", "prevent"]),
|
|
233
|
+
onTouchstart: d(X, ["stop", "prevent"])
|
|
224
234
|
}, null, 32),
|
|
225
235
|
o("div", {
|
|
226
236
|
class: "resize-handle resize-handle-left",
|
|
227
237
|
"aria-hidden": "true",
|
|
228
|
-
onMousedown:
|
|
229
|
-
onTouchstart:
|
|
238
|
+
onMousedown: d($, ["stop", "prevent"]),
|
|
239
|
+
onTouchstart: d($, ["stop", "prevent"])
|
|
230
240
|
}, null, 32)
|
|
231
|
-
], 36)) :
|
|
241
|
+
], 36)) : te("", !0)
|
|
232
242
|
], 8, ["to"]));
|
|
233
243
|
}
|
|
234
|
-
},
|
|
244
|
+
}, he = /* @__PURE__ */ ae(se, [["__scopeId", "data-v-51e6b1e7"]]);
|
|
235
245
|
export {
|
|
236
|
-
|
|
246
|
+
he as default
|
|
237
247
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useCssVars as Q, computed as l, useSlots as N,
|
|
2
|
-
import { X as B } from "./lib-
|
|
1
|
+
import { useCssVars as Q, computed as l, useSlots as N, openBlock as b, createElementBlock as v, normalizeClass as z, unref as S } from "vue";
|
|
2
|
+
import { X as B } from "./lib-GwPnJSrY.js";
|
|
3
3
|
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const X = ["xmlns", "viewBox", "height", "width", "innerHTML"], _ = ["xmlns", "viewBox", "height", "width", "innerHTML"], I = {
|
|
5
5
|
__name: "BaseIcon",
|
|
@@ -443,7 +443,7 @@ const X = ["xmlns", "viewBox", "height", "width", "innerHTML"], _ = ["xmlns", "v
|
|
|
443
443
|
}
|
|
444
444
|
return `${o}${n}${e}`;
|
|
445
445
|
}), g = l(() => y.value ? c.value && !s.value || s.value && !c.value ? i.size * 1.6 : i.size * 2.2 : i.size);
|
|
446
|
-
return (o, n) => y.value ? (
|
|
446
|
+
return (o, n) => y.value ? (b(), v("svg", {
|
|
447
447
|
key: 0,
|
|
448
448
|
xmlns: S(B),
|
|
449
449
|
class: z({ "spin ": C.isSpin }),
|
|
@@ -452,7 +452,7 @@ const X = ["xmlns", "viewBox", "height", "width", "innerHTML"], _ = ["xmlns", "v
|
|
|
452
452
|
width: g.value,
|
|
453
453
|
style: { background: "transparent", display: "block" },
|
|
454
454
|
innerHTML: P.value
|
|
455
|
-
}, null, 10, X)) : (
|
|
455
|
+
}, null, 10, X)) : (b(), v("svg", {
|
|
456
456
|
key: 1,
|
|
457
457
|
xmlns: S(B),
|
|
458
458
|
class: z({ "spin ": C.isSpin }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import m from "./BaseIcon-
|
|
1
|
+
import { openBlock as i, createElementBlock as l, normalizeClass as a, createElementVNode as s, normalizeStyle as d, withKeys as g, createVNode as c } from "vue";
|
|
2
|
+
import m from "./BaseIcon-DYhirMez.js";
|
|
3
3
|
import { _ as u } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const C = {
|
|
5
5
|
__name: "BaseLegendToggle",
|
|
@@ -13,7 +13,7 @@ const C = {
|
|
|
13
13
|
emits: ["toggle"],
|
|
14
14
|
setup(e, { emit: n }) {
|
|
15
15
|
const o = n;
|
|
16
|
-
return (f, t) => (
|
|
16
|
+
return (f, t) => (i(), l("div", {
|
|
17
17
|
class: a({ "vue-ui-legend-toggle-wrapper": e.isCursorPointer }),
|
|
18
18
|
"data-dom-to-png-ignore": ""
|
|
19
19
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as d, computed as g, unref as a, watchEffect as h,
|
|
1
|
+
import { ref as d, computed as g, unref as a, watchEffect as h, openBlock as A, createElementBlock as y } from "vue";
|
|
2
2
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
function T({
|
|
4
4
|
config: s,
|
|
@@ -21,7 +21,7 @@ function T({
|
|
|
21
21
|
}
|
|
22
22
|
const E = {}, L = { class: "vue-data-ui-scanner" };
|
|
23
23
|
function x(s, n) {
|
|
24
|
-
return
|
|
24
|
+
return A(), y("div", L);
|
|
25
25
|
}
|
|
26
26
|
const j = /* @__PURE__ */ B(E, [["render", x], ["__scopeId", "data-v-d6376e44"]]);
|
|
27
27
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { l as y } from "./exposedLib-
|
|
3
|
-
import i from "./BaseIcon-
|
|
1
|
+
import { openBlock as c, createElementBlock as a, normalizeStyle as e, unref as d, normalizeClass as m, createElementVNode as l, createVNode as s, toDisplayString as f, createCommentVNode as z } from "vue";
|
|
2
|
+
import { l as y } from "./exposedLib-H4lmBl1t.js";
|
|
3
|
+
import i from "./BaseIcon-DYhirMez.js";
|
|
4
4
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const g = ["disabled"], C = {
|
|
6
6
|
__name: "BaseZoomControls",
|
|
@@ -31,8 +31,8 @@ const g = ["disabled"], C = {
|
|
|
31
31
|
emits: ["zoomIn", "zoomOut", "resetZoom", "switchDirection"],
|
|
32
32
|
setup(o, { emit: u }) {
|
|
33
33
|
const n = u;
|
|
34
|
-
return (h, t) => (
|
|
35
|
-
class:
|
|
34
|
+
return (h, t) => (c(), a("div", {
|
|
35
|
+
class: m({ "vue-data-ui-zoom-controls": !0, "vue-data-ui-zoom-controls-fullscreen": o.isFullscreen }),
|
|
36
36
|
"data-dom-to-png-ignore": "",
|
|
37
37
|
style: e({
|
|
38
38
|
border: o.config.style.chart.controls.border,
|
|
@@ -40,7 +40,7 @@ const g = ["disabled"], C = {
|
|
|
40
40
|
padding: o.config.style.chart.controls.padding,
|
|
41
41
|
borderRadius: o.config.style.chart.controls.borderRadius,
|
|
42
42
|
"--vue-data-ui-zoom-control-button-color": o.config.style.chart.controls.buttonColor,
|
|
43
|
-
"--vue-data-ui-zoom-control-button-color-hover":
|
|
43
|
+
"--vue-data-ui-zoom-control-button-color-hover": d(y)(o.config.style.chart.controls.buttonColor, 0.2)
|
|
44
44
|
})
|
|
45
45
|
}, [
|
|
46
46
|
l("button", {
|
|
@@ -66,7 +66,7 @@ const g = ["disabled"], C = {
|
|
|
66
66
|
fontSize: o.config.style.chart.controls.fontSize + "px",
|
|
67
67
|
cursor: o.isCursorPointer ? "pointer" : "default"
|
|
68
68
|
})
|
|
69
|
-
},
|
|
69
|
+
}, f(Math.round(o.scale * 100)) + "% ", 5),
|
|
70
70
|
l("button", {
|
|
71
71
|
onClick: t[2] || (t[2] = (r) => n("zoomIn")),
|
|
72
72
|
class: "vue-data-ui-zoom-controls-button",
|
|
@@ -95,7 +95,7 @@ const g = ["disabled"], C = {
|
|
|
95
95
|
size: o.config.style.chart.controls.fontSize * 1.2
|
|
96
96
|
}, null, 8, ["stroke", "size"])
|
|
97
97
|
], 12, g),
|
|
98
|
-
o.withDirection ? (
|
|
98
|
+
o.withDirection ? (c(), a("button", {
|
|
99
99
|
key: 0,
|
|
100
100
|
onClick: t[4] || (t[4] = (r) => n("switchDirection")),
|
|
101
101
|
class: "vue-data-ui-zoom-controls-button",
|
|
@@ -108,7 +108,7 @@ const g = ["disabled"], C = {
|
|
|
108
108
|
stroke: o.config.style.chart.controls.color,
|
|
109
109
|
size: o.config.style.chart.controls.fontSize * 1.2
|
|
110
110
|
}, null, 8, ["stroke", "size"])
|
|
111
|
-
], 4)) :
|
|
111
|
+
], 4)) : z("", !0)
|
|
112
112
|
], 6));
|
|
113
113
|
}
|
|
114
114
|
}, P = /* @__PURE__ */ b(C, [["__scopeId", "data-v-f6b8b4d1"]]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as u, computed as T, watchEffect as U, onMounted as W, onBeforeUnmount as Y, watch as j, withDirectives as q,
|
|
2
|
-
import g from "./BaseIcon-
|
|
3
|
-
import { W as ee } from "./lib-
|
|
1
|
+
import { ref as u, computed as T, watchEffect as U, onMounted as W, onBeforeUnmount as Y, watch as j, withDirectives as q, openBlock as s, createElementBlock as v, withKeys as A, createElementVNode as i, normalizeStyle as a, renderSlot as G, normalizeProps as H, guardReactiveProps as J, createVNode as b, withModifiers as n, Fragment as R, renderList as M, createCommentVNode as N, createBlock as Q, Teleport as X, unref as Z, nextTick as _ } from "vue";
|
|
2
|
+
import g from "./BaseIcon-DYhirMez.js";
|
|
3
|
+
import { W as ee } from "./lib-GwPnJSrY.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"], re = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, le = ["value"], ie = ["onClick"], ue = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, se = ["value"], ae = {
|
|
@@ -118,7 +118,7 @@ const ne = ["onClick"], re = { style: { position: "absolute", top: "50%", left:
|
|
|
118
118
|
style: a(V.value),
|
|
119
119
|
type: "button"
|
|
120
120
|
}, [
|
|
121
|
-
|
|
121
|
+
G(t.$slots, "annotator-action-color", H(J({ color: f.value })), () => [
|
|
122
122
|
b(g, {
|
|
123
123
|
name: "palette",
|
|
124
124
|
stroke: f.value,
|
|
@@ -144,7 +144,7 @@ const ne = ["onClick"], re = { style: { position: "absolute", top: "50%", left:
|
|
|
144
144
|
onTouchstart: e[4] || (e[4] = n(() => {
|
|
145
145
|
}, ["stop"]))
|
|
146
146
|
}, [
|
|
147
|
-
(s(!0), v(
|
|
147
|
+
(s(!0), v(R, null, M(z.value, (r) => (s(), v("button", {
|
|
148
148
|
key: r,
|
|
149
149
|
class: "vue-ui-color-picker-option",
|
|
150
150
|
type: "button",
|
|
@@ -177,8 +177,8 @@ const ne = ["onClick"], re = { style: { position: "absolute", top: "50%", left:
|
|
|
177
177
|
onInput: E
|
|
178
178
|
}, null, 40, le)
|
|
179
179
|
], 36)
|
|
180
|
-
], 36)) :
|
|
181
|
-
l.value && o.teleported ? (s(),
|
|
180
|
+
], 36)) : N("", !0),
|
|
181
|
+
l.value && o.teleported ? (s(), Q(X, {
|
|
182
182
|
key: 1,
|
|
183
183
|
to: "body"
|
|
184
184
|
}, [
|
|
@@ -199,7 +199,7 @@ const ne = ["onClick"], re = { style: { position: "absolute", top: "50%", left:
|
|
|
199
199
|
onTouchstart: e[9] || (e[9] = n(() => {
|
|
200
200
|
}, ["stop"]))
|
|
201
201
|
}, [
|
|
202
|
-
(s(!0), v(
|
|
202
|
+
(s(!0), v(R, null, M(z.value, (r) => (s(), v("button", {
|
|
203
203
|
key: r,
|
|
204
204
|
class: "vue-ui-color-picker-option",
|
|
205
205
|
type: "button",
|
|
@@ -233,7 +233,7 @@ const ne = ["onClick"], re = { style: { position: "absolute", top: "50%", left:
|
|
|
233
233
|
}, null, 40, se)
|
|
234
234
|
], 36)
|
|
235
235
|
], 36)
|
|
236
|
-
])) :
|
|
236
|
+
])) : N("", !0)
|
|
237
237
|
], 32)), [
|
|
238
238
|
[Z(oe), L]
|
|
239
239
|
]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useCssVars as A, unref as t, computed as D, ref as k, onMounted as E,
|
|
2
|
-
import { _ as K } from "./Shape-
|
|
3
|
-
import O from "./BaseIcon-
|
|
1
|
+
import { useCssVars as A, unref as t, computed as D, ref as k, onMounted as E, openBlock as o, createElementBlock as l, normalizeClass as C, normalizeStyle as r, withKeys as R, createVNode as B, createCommentVNode as m, createElementVNode as a, toDisplayString as I, Fragment as g, renderList as v, renderSlot as $ } from "vue";
|
|
2
|
+
import { _ as K } from "./Shape-CSyWYgXc.js";
|
|
3
|
+
import O from "./BaseIcon-DYhirMez.js";
|
|
4
4
|
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const T = { class: "vue-ui-data-table" }, j = { style: { display: "flex", "align-items": "center", "justify-content": "flex-end", "padding-right": "3px", gap: "3px" } }, F = { style: { width: "12px", height: "12px" } }, L = {
|
|
6
6
|
key: 0,
|
|
@@ -48,7 +48,7 @@ const T = { class: "vue-ui-data-table" }, j = { style: { display: "flex", "align
|
|
|
48
48
|
b.value && s.observe(b.value);
|
|
49
49
|
});
|
|
50
50
|
const x = N;
|
|
51
|
-
return (s, i) => (
|
|
51
|
+
return (s, i) => (o(), l("div", {
|
|
52
52
|
ref_key: "tableContainer",
|
|
53
53
|
ref: b,
|
|
54
54
|
style: r(`width: 100%; container-type: inline-size; position:relative;${e.withCloseButton ? "padding-top: 36px;" : ""}overflow:auto`),
|
|
@@ -57,7 +57,7 @@ const T = { class: "vue-ui-data-table" }, j = { style: { display: "flex", "align
|
|
|
57
57
|
"vue-ui-responsive": w.value
|
|
58
58
|
})
|
|
59
59
|
}, [
|
|
60
|
-
e.withCloseButton ? (
|
|
60
|
+
e.withCloseButton ? (o(), l("div", {
|
|
61
61
|
key: 0,
|
|
62
62
|
"data-dom-to-png-ignore": "",
|
|
63
63
|
role: "button",
|
|
@@ -83,7 +83,7 @@ const T = { class: "vue-ui-data-table" }, j = { style: { display: "flex", "align
|
|
|
83
83
|
style: r([{ "font-variant-numeric": "tabular-nums" }, { backgroundColor: t(h), color: t(y) }]),
|
|
84
84
|
class: "vue-ui-data-table__thead-row"
|
|
85
85
|
}, [
|
|
86
|
-
(
|
|
86
|
+
(o(!0), l(g, null, v(e.head, (n, d) => (o(), l("th", {
|
|
87
87
|
role: "cell",
|
|
88
88
|
style: r({
|
|
89
89
|
outline: t(p)
|
|
@@ -92,7 +92,7 @@ const T = { class: "vue-ui-data-table" }, j = { style: { display: "flex", "align
|
|
|
92
92
|
}, [
|
|
93
93
|
a("div", j, [
|
|
94
94
|
a("div", F, [
|
|
95
|
-
n.color ? (
|
|
95
|
+
n.color ? (o(), l("svg", L, [
|
|
96
96
|
a("circle", {
|
|
97
97
|
cx: "10",
|
|
98
98
|
cy: "10",
|
|
@@ -107,19 +107,19 @@ const T = { class: "vue-ui-data-table" }, j = { style: { display: "flex", "align
|
|
|
107
107
|
], 4)
|
|
108
108
|
]),
|
|
109
109
|
a("tbody", null, [
|
|
110
|
-
(
|
|
110
|
+
(o(!0), l(g, null, v(e.body, (n, d) => (o(), l("tr", {
|
|
111
111
|
role: "row",
|
|
112
112
|
style: r([{ "font-variant-numeric": "tabular-nums" }, { backgroundColor: t(z), color: t(S) }]),
|
|
113
113
|
class: C({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": d % 2 === 0, "vue-ui-data-table__tbody__row-odd": d % 2 !== 0 })
|
|
114
114
|
}, [
|
|
115
|
-
(
|
|
115
|
+
(o(!0), l(g, null, v(n, (c, u) => (o(), l("td", {
|
|
116
116
|
role: "cell",
|
|
117
117
|
"data-cell": (e.colNames[u] && e.colNames[u].name ? e.colNames[u].name : "") || e.colNames[u] || "",
|
|
118
118
|
style: r({ outline: t(_) }),
|
|
119
119
|
class: "vue-ui-data-table__tbody__td"
|
|
120
120
|
}, [
|
|
121
121
|
a("div", G, [
|
|
122
|
-
c.color ? (
|
|
122
|
+
c.color ? (o(), l("svg", H, [
|
|
123
123
|
B(K, {
|
|
124
124
|
plot: { x: 10, y: 10 },
|
|
125
125
|
color: c.color,
|