vue-data-ui 2.12.6 → 2.12.7-beta.1

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.
Files changed (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-C5-RFd0F.js} +1 -1
  2. package/dist/BaseDraggableDialog-CKbomZCX.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-DhWmrDAn.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-F4TctKaQ.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Y5HbiUZU.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DtTYopxf.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-PC9Yu1K_.js +467 -0
  8. package/dist/PackageVersion-DaWGaZxE.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-C-CpE0NC.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-B6kIkp2s.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-DXpA-pZk.js} +2 -2
  15. package/dist/SparkTooltip-DcdMxgqn.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-Bc66VstS.js} +2 -2
  17. package/dist/Tooltip-B07vY6jm.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-C8X2STEg.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DH-7H-9g.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-CEn9LJxg.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BHEd2dgu.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BfkyEFza.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-CZztHZIm.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-C8URL2IU.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-C0tGhjs9.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-CriyJ0Da.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-DntThSTF.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BwgozppD.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-B7jNrpQ0.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-C20X1YRt.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-B264jwvu.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-ECSEPy9m.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-BxjeL4B6.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-CJNnQbPC.js} +356 -364
  41. package/dist/vue-ui-circle-pack-0RLVrL7y.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-c9pZbUX7.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-DJTFcJry.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-Cwy7WTqM.js} +2 -2
  45. package/dist/vue-ui-donut-BIFf4SLq.js +1292 -0
  46. package/dist/vue-ui-donut-evolution-mc_-1JSs.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-D50S44wU.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-CxDTjjYn.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DeC0U017.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-n0MW2u-q.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-AYMCSEtU.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-Ckz1h7XW.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-m0SgFsTu.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-BrcF_YLL.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-DiVxDYiV.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-CqbUMft8.js} +2 -2
  57. package/dist/vue-ui-molecule-BCUC8QED.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-DrrjD9S1.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-8RTss1yH.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-CmPLnisN.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-BsbEUu_g.js} +292 -298
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-CdM3bVZs.js} +403 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-C-lgCI6O.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Dq94lb99.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-DceDRLFc.js} +2 -2
  66. package/dist/vue-ui-relation-circle-DsKddA_I.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-CVR7NvJ_.js} +313 -317
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-B0soMLZ5.js} +260 -266
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Bq4_NUfW.js} +368 -374
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CG3Pn3Zg.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-aGKTgh42.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend--6lA4742.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-BXx7Vglf.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-zM4_Tgqb.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-BDNrZbWN.js} +93 -95
  76. package/dist/vue-ui-sparkline-CzzyDmYJ.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-tBSUQ_09.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-BriZOfj6.js} +409 -412
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-DzYyFp3o.js} +240 -246
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-C2qosrZR.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-COKfg2KT.js} +90 -90
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-D7C5AiCp.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-CDG6vSMm.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-DOoO0CVB.js} +180 -181
  85. package/dist/vue-ui-tiremarks-BSPIy1A3.js +341 -0
  86. package/dist/vue-ui-treemap-DsMmxgin.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-B2_ZHuyv.js} +381 -386
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-YhkwHcUX.js} +312 -318
  89. package/dist/vue-ui-wheel-CWHJwyyL.js +335 -0
  90. package/dist/vue-ui-word-cloud-BLgEqHRF.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-BQelvSLD.js} +389 -400
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-D1luVUXJ.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-C7Pu9RFN.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -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-BFzQMJda.js";
2
+ import { c as n } from "./index-BHEd2dgu.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: {
@@ -0,0 +1,180 @@
1
+ import { useCssVars as O, ref as L, reactive as T, computed as $, onUnmounted as R, createBlock as N, openBlock as v, Teleport as V, createElementBlock as E, createCommentVNode as _, withModifiers as s, normalizeStyle as M, createElementVNode as o, unref as I, renderSlot as y, createVNode as j, nextTick as P } from "vue";
2
+ import U from "./BaseIcon-DhWmrDAn.js";
3
+ import { X as q } from "./index-BHEd2dgu.js";
4
+ import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ const F = ["xmlns"], G = { class: "modal-title" }, J = { class: "modal-body" }, K = {
6
+ __name: "BaseDraggableDialog",
7
+ props: {
8
+ backgroundColor: { type: String },
9
+ color: { type: String },
10
+ headerBg: { type: String },
11
+ headerColor: { type: String }
12
+ },
13
+ emits: ["close"],
14
+ setup(d, { expose: k, emit: b }) {
15
+ O((t) => ({
16
+ b93256ca: d.color
17
+ }));
18
+ const D = d, X = b, f = L(!1), g = L(!1), e = T({
19
+ left: window.innerWidth / 2 - 200,
20
+ top: window.innerHeight / 2 - 120,
21
+ width: 400,
22
+ height: 400,
23
+ dragging: !1,
24
+ resizing: !1,
25
+ dragOffsetX: 0,
26
+ dragOffsetY: 0,
27
+ pointerStartX: 0,
28
+ pointerStartY: 0,
29
+ resizeStartW: 0,
30
+ resizeStartH: 0
31
+ });
32
+ function C() {
33
+ f.value = !0, P(() => {
34
+ g.value || (e.left = Math.max(0, window.innerWidth / 2 - e.width / 2), e.top = Math.max(0, window.innerHeight / 2 - e.height / 2), g.value = !0);
35
+ });
36
+ }
37
+ function w() {
38
+ f.value = !1, X("close");
39
+ }
40
+ k({ open: C, close: w });
41
+ const B = $(() => ({
42
+ position: "fixed",
43
+ left: `${e.left}px`,
44
+ top: `${e.top}px`,
45
+ width: `${e.width}px`,
46
+ height: `${e.height}px`,
47
+ padding: 0,
48
+ border: "none",
49
+ background: D.backgroundColor,
50
+ boxShadow: "0 4px 24px rgba(0,0,0,0.15)",
51
+ zIndex: 9999,
52
+ overflow: "visible",
53
+ borderRadius: "2px"
54
+ }));
55
+ function a(t) {
56
+ return t.touches && t.touches.length ? { x: t.touches[0].clientX, y: t.touches[0].clientY } : { x: t.clientX, y: t.clientY };
57
+ }
58
+ function x(t) {
59
+ t.preventDefault?.(), e.dragging = !0;
60
+ const n = a(t);
61
+ e.dragOffsetX = n.x - e.left, e.dragOffsetY = n.y - e.top, document.addEventListener("mousemove", m), document.addEventListener("mouseup", u), document.addEventListener("touchmove", m, { passive: !1 }), document.addEventListener("touchend", u);
62
+ }
63
+ function m(t) {
64
+ if (!e.dragging) return;
65
+ t.preventDefault?.();
66
+ const n = a(t);
67
+ let i = n.x - e.dragOffsetX, r = n.y - e.dragOffsetY;
68
+ 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;
69
+ }
70
+ function u() {
71
+ e.dragging = !1, document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", u), document.removeEventListener("touchmove", m), document.removeEventListener("touchend", u);
72
+ }
73
+ function S(t) {
74
+ t.preventDefault?.(), e.resizing = !0;
75
+ const n = a(t);
76
+ e.pointerStartX = n.x, e.pointerStartY = n.y, e.resizeStartW = e.width, e.resizeStartH = e.height, document.addEventListener("mousemove", h), document.addEventListener("mouseup", l), document.addEventListener("touchmove", h, { passive: !1 }), document.addEventListener("touchend", l);
77
+ }
78
+ function h(t) {
79
+ if (!e.resizing) return;
80
+ t.preventDefault?.();
81
+ const n = a(t);
82
+ let i = n.x - e.pointerStartX, r = n.y - e.pointerStartY;
83
+ e.width = Math.max(240, e.resizeStartW + i), e.height = Math.max(400, e.resizeStartH + r);
84
+ }
85
+ function l() {
86
+ e.resizing = !1, document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", l), document.removeEventListener("touchmove", h), document.removeEventListener("touchend", l);
87
+ }
88
+ function z(t) {
89
+ t.preventDefault?.(), e.resizing = !0;
90
+ const n = a(t);
91
+ 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", p), document.addEventListener("mouseup", c), document.addEventListener("touchmove", p, { passive: !1 }), document.addEventListener("touchend", c);
92
+ }
93
+ function p(t) {
94
+ if (!e.resizing) return;
95
+ t.preventDefault?.();
96
+ const n = a(t);
97
+ let i = n.x - e.pointerStartX, r = Math.min(
98
+ Math.max(0, e.resizeStartLeft + i),
99
+ e.resizeStartLeft + e.resizeStartW - 240
100
+ // min width
101
+ ), W = e.resizeStartW - (r - e.resizeStartLeft), Y = n.y - e.pointerStartY, H = Math.max(400, e.resizeStartH + Y);
102
+ e.left = r, e.width = W, e.height = H;
103
+ }
104
+ function c() {
105
+ e.resizing = !1, document.removeEventListener("mousemove", p), document.removeEventListener("mouseup", c), document.removeEventListener("touchmove", p), document.removeEventListener("touchend", c);
106
+ }
107
+ return R(() => {
108
+ u(), l(), c();
109
+ }), (t, n) => (v(), N(V, { to: "body" }, [
110
+ f.value ? (v(), E("div", {
111
+ key: 0,
112
+ class: "modal vue-ui-draggable-dialog",
113
+ style: M(B.value),
114
+ onClick: n[0] || (n[0] = s(() => {
115
+ }, ["stop"]))
116
+ }, [
117
+ o("div", {
118
+ class: "modal-header",
119
+ style: M({
120
+ backgroundColor: d.headerBg,
121
+ color: d.headerColor
122
+ })
123
+ }, [
124
+ o("span", {
125
+ class: "drag-handle",
126
+ onMousedown: s(x, ["stop", "prevent"]),
127
+ onTouchstart: s(x, ["stop", "prevent"])
128
+ }, [
129
+ (v(), E("svg", {
130
+ xmlns: I(q),
131
+ width: "20",
132
+ height: "20",
133
+ viewBox: "0 0 24 24",
134
+ fill: "none",
135
+ stroke: "currentColor",
136
+ "stroke-width": "1",
137
+ "stroke-linecap": "round",
138
+ "stroke-linejoin": "round"
139
+ }, n[1] || (n[1] = [
140
+ o("path", { d: "M5 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
141
+ o("path", { d: "M5 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
142
+ o("path", { d: "M12 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
143
+ o("path", { d: "M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
144
+ o("path", { d: "M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
145
+ o("path", { d: "M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1)
146
+ ]), 8, F))
147
+ ], 32),
148
+ o("span", G, [
149
+ y(t.$slots, "title", {}, void 0, !0)
150
+ ]),
151
+ o("button", {
152
+ class: "close",
153
+ onClick: w
154
+ }, [
155
+ j(U, {
156
+ name: "close",
157
+ stroke: d.headerColor
158
+ }, null, 8, ["stroke"])
159
+ ])
160
+ ], 4),
161
+ o("div", J, [
162
+ y(t.$slots, "default", {}, void 0, !0)
163
+ ]),
164
+ o("div", {
165
+ class: "resize-handle",
166
+ onMousedown: s(S, ["stop", "prevent"]),
167
+ onTouchstart: s(S, ["stop", "prevent"])
168
+ }, null, 32),
169
+ o("div", {
170
+ class: "resize-handle resize-handle-left",
171
+ onMousedown: s(z, ["stop", "prevent"]),
172
+ onTouchstart: s(z, ["stop", "prevent"])
173
+ }, null, 32)
174
+ ], 4)) : _("", !0)
175
+ ]));
176
+ }
177
+ }, ne = /* @__PURE__ */ A(K, [["__scopeId", "data-v-1344ad9f"]]);
178
+ export {
179
+ ne as default
180
+ };
@@ -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-BFzQMJda.js";
2
+ import { X as l } from "./index-BHEd2dgu.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,7 +1,7 @@
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-CNbwMh_-.js";
3
- import { G as V } from "./index-BFzQMJda.js";
4
- import { v as D } from "./usePrinter-C5bLp34h.js";
2
+ import C from "./BaseIcon-DhWmrDAn.js";
3
+ import { G as V } from "./index-BHEd2dgu.js";
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"], G = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -46%)" } }, L = ["value"], T = {
7
7
  __name: "ColorPicker",
@@ -24,36 +24,35 @@ const $ = ["onClick"], G = { style: { position: "absolute", top: "50%", left: "5
24
24
  }
25
25
  },
26
26
  emits: ["update:value"],
27
- setup(o, { emit: m }) {
28
- const c = o, s = m, g = l(null), y = k(() => ({
27
+ setup(e, { emit: m }) {
28
+ const c = e, s = m, g = l(null), y = k(() => ({
29
29
  backgroundColor: c.value,
30
30
  width: "100%",
31
31
  height: "100%",
32
32
  cursor: "pointer"
33
- })), i = l(null), t = l(!1), b = () => {
34
- var e;
35
- (e = i.value) == null || e.click();
33
+ })), i = l(null), o = l(!1), b = () => {
34
+ i.value?.click();
36
35
  };
37
- function h(e) {
38
- s("update:value", e), t.value = !1;
36
+ function h(t) {
37
+ s("update:value", t), o.value = !1;
39
38
  }
40
39
  function _() {
41
- t.value = !1;
40
+ o.value = !1;
42
41
  }
43
42
  function d() {
44
- t.value && _();
43
+ o.value && _();
45
44
  }
46
- const x = (e) => {
47
- const v = e.target.value;
45
+ const x = (t) => {
46
+ const v = t.target.value;
48
47
  s("update:value", v);
49
48
  }, p = k(() => V(c.value));
50
49
  async function w() {
51
- t.value = !t.value;
50
+ o.value = !o.value;
52
51
  }
53
52
  I(
54
53
  () => c.value,
55
- (e) => {
56
- i.value.value = e;
54
+ (t) => {
55
+ i.value.value = t;
57
56
  }
58
57
  );
59
58
  const B = l([
@@ -67,7 +66,7 @@ const $ = ["onClick"], G = { style: { position: "absolute", top: "50%", left: "5
67
66
  "#FF1493",
68
67
  "#00CED1"
69
68
  ]);
70
- return (e, v) => P((n(), r("div", {
69
+ return (t, v) => P((n(), r("div", {
71
70
  onKeydown: S(d, ["esc"]),
72
71
  style: { height: "100%", width: "100%", position: "relative" }
73
72
  }, [
@@ -82,14 +81,14 @@ const $ = ["onClick"], G = { style: { position: "absolute", top: "50%", left: "5
82
81
  size: 22
83
82
  }, null, 8, ["stroke"])
84
83
  ], 4),
85
- t.value ? (n(), r("div", {
84
+ o.value ? (n(), r("div", {
86
85
  key: 0,
87
86
  ref_key: "picker",
88
87
  ref: g,
89
88
  tabindex: "0",
90
89
  class: "vue-ui-color-picker",
91
90
  style: a({
92
- backgroundColor: o.backgroundColor
91
+ backgroundColor: e.backgroundColor
93
92
  })
94
93
  }, [
95
94
  (n(!0), r(E, null, N(B.value, (f) => (n(), r("button", {
@@ -97,7 +96,7 @@ const $ = ["onClick"], G = { style: { position: "absolute", top: "50%", left: "5
97
96
  class: "vue-ui-color-picker-option",
98
97
  style: a({
99
98
  backgroundColor: f,
100
- outline: `1px solid ${o.buttonBorderColor}`
99
+ outline: `1px solid ${e.buttonBorderColor}`
101
100
  }),
102
101
  onClick: () => h(f)
103
102
  }, null, 12, $))), 256)),
@@ -105,8 +104,8 @@ const $ = ["onClick"], G = { style: { position: "absolute", top: "50%", left: "5
105
104
  class: "vue-ui-color-picker-option",
106
105
  onClick: b,
107
106
  style: a({
108
- backgroundColor: o.value,
109
- outline: `1px solid ${o.buttonBorderColor}`
107
+ backgroundColor: e.value,
108
+ outline: `1px solid ${e.buttonBorderColor}`
110
109
  })
111
110
  }, [
112
111
  u("div", G, [
@@ -120,7 +119,7 @@ const $ = ["onClick"], G = { style: { position: "absolute", top: "50%", left: "5
120
119
  ref_key: "colorInput",
121
120
  ref: i,
122
121
  type: "color",
123
- value: o.value,
122
+ value: e.value,
124
123
  class: "hidden-input",
125
124
  onInput: x
126
125
  }, null, 40, L)
@@ -1,6 +1,6 @@
1
- import { useCssVars as V, unref as e, computed as A, 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 m, renderList as f, renderSlot as N, createCommentVNode as $ } from "vue";
2
- import { _ as K } from "./Shape-C69a0f29.js";
3
- import O from "./BaseIcon-CNbwMh_-.js";
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 K from "./Shape-B6kIkp2s.js";
3
+ import O from "./BaseIcon-DhWmrDAn.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,
@@ -33,14 +33,14 @@ const j = { class: "vue-ui-data-table" }, F = { style: { display: "flex", "align
33
33
  },
34
34
  emits: ["close"],
35
35
  setup(o, { emit: B }) {
36
- V((s) => ({
36
+ A((s) => ({
37
37
  "2908e47d": e(v)
38
38
  }));
39
- const b = o, { backgroundColor: h, color: p, outline: g } = b.config.th, { backgroundColor: z, color: D, outline: v } = b.config.td, S = A(() => b.config.breakpoint), y = w(null), _ = w(!1);
39
+ const b = o, { backgroundColor: h, color: p, outline: g } = b.config.th, { backgroundColor: z, color: S, outline: v } = b.config.td, V = D(() => b.config.breakpoint), y = w(null), _ = w(!1);
40
40
  E(() => {
41
41
  const s = new ResizeObserver((r) => {
42
42
  r.forEach((l) => {
43
- _.value = l.contentRect.width < S.value;
43
+ _.value = l.contentRect.width < V.value;
44
44
  });
45
45
  });
46
46
  y.value && s.observe(y.value);
@@ -77,7 +77,7 @@ const j = { class: "vue-ui-data-table" }, F = { style: { display: "flex", "align
77
77
  style: i([{ "font-variant-numeric": "tabular-nums" }, { backgroundColor: e(h), color: e(p) }]),
78
78
  class: "vue-ui-data-table__thead-row"
79
79
  }, [
80
- (a(!0), n(m, null, f(o.head, (l, c) => (a(), n("th", {
80
+ (a(!0), n(f, null, m(o.head, (l, c) => (a(), n("th", {
81
81
  role: "cell",
82
82
  style: i({ outline: e(g) }),
83
83
  key: `th_${c}`
@@ -99,12 +99,12 @@ const j = { class: "vue-ui-data-table" }, F = { style: { display: "flex", "align
99
99
  ], 4)
100
100
  ]),
101
101
  t("tbody", null, [
102
- (a(!0), n(m, null, f(o.body, (l, c) => (a(), n("tr", {
102
+ (a(!0), n(f, null, m(o.body, (l, c) => (a(), n("tr", {
103
103
  role: "row",
104
- style: i([{ "font-variant-numeric": "tabular-nums" }, { backgroundColor: e(z), color: e(D) }]),
104
+ style: i([{ "font-variant-numeric": "tabular-nums" }, { backgroundColor: e(z), color: e(S) }]),
105
105
  class: k({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": c % 2 === 0, "vue-ui-data-table__tbody__row-odd": c % 2 !== 0 })
106
106
  }, [
107
- (a(!0), n(m, null, f(l, (d, u) => (a(), n("td", {
107
+ (a(!0), n(f, null, m(l, (d, u) => (a(), n("td", {
108
108
  role: "cell",
109
109
  "data-cell": (o.colNames[u] && o.colNames[u].name ? o.colNames[u].name : "") || o.colNames[u] || "",
110
110
  style: i({ outline: e(v) }),
@@ -129,5 +129,5 @@ const j = { class: "vue-ui-data-table" }, F = { style: { display: "flex", "align
129
129
  }
130
130
  }, Y = /* @__PURE__ */ T(P, [["__scopeId", "data-v-4afbd65f"]]);
131
131
  export {
132
- Y as D
132
+ Y as default
133
133
  };
@@ -1,6 +1,6 @@
1
- import { createElementBlock as n, openBlock as o, normalizeStyle as d, renderSlot as l, Fragment as u, renderList as g, normalizeClass as m, createCommentVNode as h, createVNode as k, mergeProps as $, unref as y } from "vue";
2
- import { $ as p } from "./index-BFzQMJda.js";
3
- import { _ as v } from "./Shape-C69a0f29.js";
1
+ import { createElementBlock as n, openBlock as o, normalizeStyle as d, renderSlot as l, Fragment as s, renderList as g, normalizeClass as m, createCommentVNode as h, createVNode as k, mergeProps as $, unref as y } from "vue";
2
+ import { $ as p } from "./index-BHEd2dgu.js";
3
+ import v from "./Shape-B6kIkp2s.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",
@@ -29,7 +29,7 @@ const S = ["id"], x = ["onClick", "height", "width"], z = {
29
29
  emits: ["clickMarker"],
30
30
  setup(e, { emit: c }) {
31
31
  const f = c;
32
- function s(i, r) {
32
+ function u(i, r) {
33
33
  f("clickMarker", { legend: i, i: r });
34
34
  }
35
35
  return (i, r) => (o(), n("div", {
@@ -38,12 +38,12 @@ const S = ["id"], x = ["onClick", "height", "width"], z = {
38
38
  style: d(`background:${e.config.backgroundColor};font-size:${e.config.fontSize}px;color:${e.config.color};padding-bottom:${e.config.paddingBottom}px;padding-top:${e.config.paddingTop || 12}px;font-weight:${e.config.fontWeight}`)
39
39
  }, [
40
40
  l(i.$slots, "legendTitle", { titleSet: e.legendSet }, void 0, !0),
41
- (o(!0), n(u, null, g(e.legendSet, (t, a) => (o(), n("div", {
41
+ (o(!0), n(s, null, g(e.legendSet, (t, a) => (o(), n("div", {
42
42
  class: m({ "vue-data-ui-legend-item": !0, active: e.clickable })
43
43
  }, [
44
44
  t.shape ? (o(), n("svg", {
45
45
  key: 0,
46
- onClick: (C) => s(t, a),
46
+ onClick: (C) => u(t, a),
47
47
  height: e.config.fontSize,
48
48
  width: e.config.fontSize,
49
49
  viewBox: "0 0 60 60",
@@ -65,7 +65,7 @@ const S = ["id"], x = ["onClick", "height", "width"], z = {
65
65
  ], 2))), 256))
66
66
  ], 12, S));
67
67
  }
68
- }, I = /* @__PURE__ */ b(z, [["__scopeId", "data-v-f1db6c9f"]]);
68
+ }, L = /* @__PURE__ */ b(z, [["__scopeId", "data-v-f1db6c9f"]]);
69
69
  export {
70
- I as L
70
+ L as default
71
71
  };