vue-data-ui 3.16.0 → 3.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/README.md +1 -1
  2. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  3. package/dist/{NonSvgPenAndPaper-vqweC0WU.js → NonSvgPenAndPaper-VyJFyJ6X.js} +1 -1
  4. package/dist/{PackageVersion-IIGK_e2C.js → PackageVersion-C4NWSOC8.js} +1 -1
  5. package/dist/{PenAndPaper-DARlvvKW.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  6. package/dist/{UserOptions-DWHf8jyO.js → UserOptions-rW2fRf3V.js} +2 -2
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-history-plot.js +1 -1
  32. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  33. package/dist/components/vue-ui-kpi.js +1 -1
  34. package/dist/components/vue-ui-molecule.js +1 -1
  35. package/dist/components/vue-ui-mood-radar.js +1 -1
  36. package/dist/components/vue-ui-nested-donuts.js +1 -1
  37. package/dist/components/vue-ui-onion.js +1 -1
  38. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  39. package/dist/components/vue-ui-quadrant.js +1 -1
  40. package/dist/components/vue-ui-quick-chart.js +1 -1
  41. package/dist/components/vue-ui-radar.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-spark-trend.js +1 -1
  48. package/dist/components/vue-ui-sparkbar.js +1 -1
  49. package/dist/components/vue-ui-sparkgauge.js +1 -1
  50. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  51. package/dist/components/vue-ui-sparkline.js +1 -1
  52. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  53. package/dist/components/vue-ui-stackbar.js +1 -1
  54. package/dist/components/vue-ui-stackline.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +1 -0
  72. package/dist/{vue-data-ui-CykQ4SW2.js → vue-data-ui-DFEJxVok.js} +63 -63
  73. package/dist/vue-data-ui.js +63 -63
  74. package/dist/{vue-ui-3d-bar-D5KRiVmZ.js → vue-ui-3d-bar-TFhzm8cr.js} +1 -1
  75. package/dist/{vue-ui-age-pyramid-QfZ1J5Xx.js → vue-ui-age-pyramid-C67ZVh2l.js} +342 -341
  76. package/dist/{vue-ui-annotator-CpSMITlP.js → vue-ui-annotator-CkPi9moo.js} +1 -1
  77. package/dist/{vue-ui-bullet-B-mo7tzz.js → vue-ui-bullet-LoAIeIFd.js} +1 -1
  78. package/dist/{vue-ui-bump-NfZcJ9Q0.js → vue-ui-bump-BCarORO1.js} +1 -1
  79. package/dist/{vue-ui-candlestick-CGU-0rrF.js → vue-ui-candlestick-DJdFQLah.js} +240 -239
  80. package/dist/{vue-ui-carousel-table-BsdD3wU7.js → vue-ui-carousel-table-ChXrvtSj.js} +1 -1
  81. package/dist/{vue-ui-chestnut-JpoNeiHD.js → vue-ui-chestnut-DPYfcD5f.js} +1 -1
  82. package/dist/{vue-ui-chord-CxhxjRQz.js → vue-ui-chord-COQHkRXy.js} +1 -1
  83. package/dist/{vue-ui-circle-pack-DbxOzzk2.js → vue-ui-circle-pack-DT50sM_h.js} +1 -1
  84. package/dist/{vue-ui-cursor-CZGKKkeT.js → vue-ui-cursor-KgnoG_o8.js} +1 -1
  85. package/dist/{vue-ui-dag-gal2eIv-.js → vue-ui-dag-BNET87VV.js} +1 -1
  86. package/dist/{vue-ui-dashboard-ClnkPMc5.js → vue-ui-dashboard-Di_HG3jq.js} +62 -62
  87. package/dist/{vue-ui-digits-DColgbmH.js → vue-ui-digits-CybP0Vom.js} +1 -1
  88. package/dist/{vue-ui-donut-Bckj-DX2.js → vue-ui-donut-Ba-5TQ3a.js} +395 -394
  89. package/dist/{vue-ui-donut-evolution-B6HtvZVs.js → vue-ui-donut-evolution-64u0LX-J.js} +265 -264
  90. package/dist/{vue-ui-dumbbell-r3Jv9uut.js → vue-ui-dumbbell-Qy_lKcLT.js} +1 -1
  91. package/dist/{vue-ui-flow-BxfLqYXa.js → vue-ui-flow-HoOfjAv9.js} +1 -1
  92. package/dist/{vue-ui-funnel-B6Gevxqh.js → vue-ui-funnel-DByHtveP.js} +1 -1
  93. package/dist/{vue-ui-galaxy-BJr1ddJZ.js → vue-ui-galaxy-DbD8-S5s.js} +1 -1
  94. package/dist/{vue-ui-gauge-Q-Slhgwx.js → vue-ui-gauge-C9F0Fva2.js} +1 -1
  95. package/dist/{vue-ui-geo-Dow4oyTv.js → vue-ui-geo-Bn-_i_L8.js} +1 -1
  96. package/dist/{vue-ui-gizmo-zpVjAoDG.js → vue-ui-gizmo-D2mUKXiE.js} +1 -1
  97. package/dist/{vue-ui-heatmap-mKX5Bzql.js → vue-ui-heatmap-gLY-fZmR.js} +494 -482
  98. package/dist/{vue-ui-history-plot-D6kiRkhD.js → vue-ui-history-plot-JWCz3Dsa.js} +1 -1
  99. package/dist/{vue-ui-horizontal-bar-FKkR13e7.js → vue-ui-horizontal-bar-B58pqRYq.js} +438 -437
  100. package/dist/{vue-ui-kpi-CMRe29m5.js → vue-ui-kpi-CXeBMtyK.js} +1 -1
  101. package/dist/{vue-ui-molecule-7eT7D17p.js → vue-ui-molecule-CbadY7E8.js} +1 -1
  102. package/dist/{vue-ui-mood-radar-DsC0X_C2.js → vue-ui-mood-radar-3bJn1U3y.js} +1 -1
  103. package/dist/{vue-ui-nested-donuts-FbiXKFZX.js → vue-ui-nested-donuts-BbuQH4SB.js} +284 -283
  104. package/dist/{vue-ui-onion-CjWiTq2x.js → vue-ui-onion-78rfipI0.js} +1 -1
  105. package/dist/{vue-ui-parallel-coordinate-plot-kl1jgKIX.js → vue-ui-parallel-coordinate-plot-BW8kfcgB.js} +1 -1
  106. package/dist/{vue-ui-quadrant-CyalzEfW.js → vue-ui-quadrant-Cq1Ij3or.js} +556 -555
  107. package/dist/{vue-ui-quick-chart-DgWwf7SJ.js → vue-ui-quick-chart-DDq7LxP3.js} +360 -359
  108. package/dist/{vue-ui-radar-Bw9veQKf.js → vue-ui-radar-CL5dq6Ph.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-D4-9g-5t.js → vue-ui-relation-circle-ZsHgSA93.js} +1 -1
  110. package/dist/{vue-ui-ridgeline-BZy69VT6.js → vue-ui-ridgeline-CnRlC_w1.js} +1 -1
  111. package/dist/{vue-ui-rings-LDs6OFnx.js → vue-ui-rings-pMBjF5ps.js} +1 -1
  112. package/dist/{vue-ui-scatter-i_hakuFa.js → vue-ui-scatter-D_1tBt3O.js} +479 -466
  113. package/dist/{vue-ui-skeleton-F2qaXsQ2.js → vue-ui-skeleton-Ber3eG5N.js} +1 -1
  114. package/dist/{vue-ui-spark-trend-ZIMooBi3.js → vue-ui-spark-trend-DUz9LWxF.js} +1 -1
  115. package/dist/{vue-ui-sparkbar-BYRKG_Mm.js → vue-ui-sparkbar-DRjnVH0Z.js} +1 -1
  116. package/dist/{vue-ui-sparkgauge-BM0mnDHp.js → vue-ui-sparkgauge-DHinf-33.js} +1 -1
  117. package/dist/{vue-ui-sparkhistogram-z4-7Q6J8.js → vue-ui-sparkhistogram-D-jZIHxA.js} +1 -1
  118. package/dist/{vue-ui-sparkline-9m1__jVp.js → vue-ui-sparkline-CtRskCcH.js} +439 -438
  119. package/dist/{vue-ui-sparkstackbar-uM98VUDw.js → vue-ui-sparkstackbar-gslNTicq.js} +1 -1
  120. package/dist/{vue-ui-stackbar-DcSJuwTC.js → vue-ui-stackbar-D5JI4liZ.js} +212 -211
  121. package/dist/{vue-ui-stackline-Dl_FfJAO.js → vue-ui-stackline-BWvPiDVJ.js} +363 -362
  122. package/dist/{vue-ui-strip-plot-CcV8bOkg.js → vue-ui-strip-plot-BW1hOsyh.js} +1 -1
  123. package/dist/{vue-ui-table-Dx-N-eF1.js → vue-ui-table-DOE47Jpg.js} +2 -2
  124. package/dist/{vue-ui-table-heatmap-CVxNZzGe.js → vue-ui-table-heatmap-LYqoBit9.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DdtbqaUL.js → vue-ui-table-sparkline-DwIOn22D.js} +1 -1
  126. package/dist/{vue-ui-thermometer-Clwz-wUE.js → vue-ui-thermometer-Dk8PXXJX.js} +1 -1
  127. package/dist/{vue-ui-timer-BYVk_bvz.js → vue-ui-timer-CcYyxhEU.js} +1 -1
  128. package/dist/{vue-ui-tiremarks-D5TSv5yw.js → vue-ui-tiremarks-Ch-cO4qI.js} +1 -1
  129. package/dist/{vue-ui-treemap-C0zhPMxE.js → vue-ui-treemap-Cflb1VOc.js} +388 -387
  130. package/dist/{vue-ui-waffle-BtjLPkLm.js → vue-ui-waffle-JuTN5MhL.js} +1 -1
  131. package/dist/{vue-ui-wheel-DSlnowV4.js → vue-ui-wheel-BzXCA7Wf.js} +1 -1
  132. package/dist/{vue-ui-word-cloud-DFdiRCqc.js → vue-ui-word-cloud-C4k5LTYe.js} +1 -1
  133. package/dist/{vue-ui-world-CymT7_Ep.js → vue-ui-world-_1e3qZ-5.js} +1 -1
  134. package/dist/{vue-ui-xy-B9Q4FR0g.js → vue-ui-xy-DF2i7jxF.js} +956 -955
  135. package/dist/{vue-ui-xy-canvas-CrnBxoa0.js → vue-ui-xy-canvas-CWQzUQzY.js} +113 -113
  136. package/package.json +1 -1
  137. package/dist/ColorPicker-DQ5sdRrl.js +0 -244
package/README.md CHANGED
@@ -550,7 +550,7 @@ From the dataset you pass into the props, this component will produce the most a
550
550
  | `VueUiGauge` | `VueUiGaugeDataset` | `VueUiGaugeConfig` | `generatePdf`, `generateImage`, `getImage` | `#svg`, `#legend`, `#watermark`, `#chart-background`, `#pattern` | ❌ | ✅ |
551
551
  | `VueUiHeatmap` | `VueUiHeatmapDatasetItem[]` | `VueUiHeatmapConfig` | `@selectDatapoint`, `generatePdf`, `generateCsv`, `generateImage`, `toggleTable`, `toggleTooltip`, `getImage` | `#svg`, `#tooltip-before`, `#tooltip-after`, `#watermark`, `#chart-background`, `#hint` | ✅ | ✅ |
552
552
  | `VueUiHistoryPlot` | `VueUiHistoryPlotDatasetItem[]` | `VueUiHistoryPlotConfig` | `@selectDatapoint`, `@selectLegend`, `hideSeries`, `showSeries`, `getData`, `generatePdf`, `generateCsv`, `generateImage`, `toggleTable`, `toggleTooltip`, `getImage` | `#svg`, `#legend`, `#tooltip-before`, `#tooltip-after`, `#watermark`, `#chart-background`, `#hint` | ✅ | ✅ |
553
- | `VueUiHorizontalBar` | `VueUiHorizontalBarDatasetItem[]` | `VueUiWheelConfig` | `@selectLegend`, `hideSeries`, `showSeries`, `getData`, `generatePdf`, `generateCsv`, `generateImage`, `toggleTable`, `toggleSort`, `toggleTooltip` , `getImage` | `#svg`, `#legend`, `#tooltip-before`, `#tooltip-after`, `#watermark`, `#chart-background`, `#pattern`, `#hint` | ✅ | ✅ |
553
+ | `VueUiHorizontalBar` | `VueUiHorizontalBarDatasetItem[]` | `VueUiWheelConfig` | `@selectDatapoint`, `@selectLegend`, `hideSeries`, `showSeries`, `getData`, `generatePdf`, `generateCsv`, `generateImage`, `toggleTable`, `toggleSort`, `toggleTooltip` , `getImage` | `#svg`, `#legend`, `#tooltip-before`, `#tooltip-after`, `#watermark`, `#chart-background`, `#pattern`, `#hint` | ✅ | ✅ |
554
554
  | `VueUiMolecule` | `VueUiMoleculeDatasetNode[]` | `VueUiMoleculeConfig` | `@selectNode`, `getData`, `generatePdf`, `generateCsv`, `generateImage`, `toggleTable`, `toggleLabels`, `toggleTooltip`, `getImage` | `#node`, `#svg`, `#tooltip-before`, `#tooltip-after`, `#watermark`, `#chart-background` | ✅ | ✅ |
555
555
  | `VueUiMoodRadar` | `VueUiMoodRadarDataset` | `VueUiMoodRadarConfig` | `getData`, `generatePdf`, `generateCsv`, `generateImage`, `toggleTable` , `getImage` | `#svg`, `#legend`, `#watermark`, `#chart-background`, `#hint` | ❌ | ✅ |
556
556
  | `VueUiNestedDonuts` | `VueUiNestedDonutsDatasetItem[]` | `VueUiNestedDonutsConfig` | `@selectDatapoint`, `@selectLegend`, `hideSeries`, `showSeries`, `getData`, `generatePdf`, `generateCsv`, `generateImage`, `toggleTable`, `toggleLabels`, `toggleTooltip` , `getImage` | `#svg`, `#legend`, `#tooltip-before`, `#tooltip-after`, `#watermark`, `#chart-background`, `#hint` | ✅ | ✅ |
@@ -0,0 +1,255 @@
1
+ import { useCssVars as W, ref as u, computed as T, watchEffect as Y, onMounted as j, onBeforeUnmount as q, watch as A, withDirectives as G, openBlock as s, createElementBlock as v, withKeys as R, createElementVNode as i, normalizeStyle as a, renderSlot as H, normalizeProps as J, guardReactiveProps as Q, createVNode as g, withModifiers as r, Fragment as $, renderList as M, createCommentVNode as N, createBlock as X, Teleport as Z, unref as _, nextTick as ee } from "vue";
2
+ import F from "./BaseIcon-Cb3zzG6s.js";
3
+ import { W as oe } from "./lib-DBptbyyI.js";
4
+ import { v as te } from "./vClickOutside-C6WiFswA.js";
5
+ import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const re = ["aria-expanded", "aria-label"], le = ["aria-label", "aria-pressed", "onClick"], ie = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, ue = ["value"], se = ["onClick"], ae = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, de = ["value"], ce = {
7
+ __name: "ColorPicker",
8
+ props: {
9
+ value: {
10
+ type: String,
11
+ default: "#ffffff"
12
+ },
13
+ size: {
14
+ type: String,
15
+ default: "50px"
16
+ },
17
+ backgroundColor: {
18
+ type: String,
19
+ default: "#FFFFFF"
20
+ },
21
+ buttonBorderColor: {
22
+ type: String,
23
+ default: "#FFFFFF"
24
+ },
25
+ teleported: {
26
+ type: Boolean,
27
+ default: !1
28
+ },
29
+ isCursorPointer: {
30
+ type: Boolean,
31
+ default: !1
32
+ }
33
+ },
34
+ emits: ["update:value"],
35
+ setup(o, { emit: O }) {
36
+ W((t) => ({
37
+ v514e661b: o.buttonBorderColor
38
+ }));
39
+ const d = o, w = O, V = u(null), C = u(null), c = u(null), l = u(!1), b = u(!1), y = u({ top: 0, left: 0 }), K = T(() => ({
40
+ backgroundColor: d.value,
41
+ width: "100%",
42
+ height: "100%",
43
+ cursor: d.isCursorPointer ? "pointer" : "default"
44
+ })), p = T(() => oe(d.value));
45
+ function E(t) {
46
+ w("update:value", t), l.value = !1;
47
+ }
48
+ function x(t) {
49
+ w("update:value", t.target.value);
50
+ }
51
+ function P(t) {
52
+ t?.stopPropagation?.(), b.value = !0, c.value?.click();
53
+ }
54
+ function D() {
55
+ l.value = !1;
56
+ }
57
+ function m() {
58
+ !b.value && l.value && D();
59
+ }
60
+ async function U() {
61
+ l.value = !l.value, l.value && d.teleported && (await ee(), B());
62
+ }
63
+ function B() {
64
+ if (!C.value) return;
65
+ const t = C.value.getBoundingClientRect();
66
+ y.value = { top: t.top + 36, left: t.right - 48 };
67
+ }
68
+ function f() {
69
+ l.value && d.teleported && B();
70
+ }
71
+ function k() {
72
+ setTimeout(() => b.value = !1, 0);
73
+ }
74
+ Y((t) => {
75
+ const e = c.value;
76
+ if (!e) return;
77
+ const n = () => k(), I = () => k(), S = () => {
78
+ };
79
+ e.addEventListener("blur", n), e.addEventListener("change", I), e.addEventListener("input", S), t(() => {
80
+ e.removeEventListener("blur", n), e.removeEventListener("change", I), e.removeEventListener("input", S);
81
+ });
82
+ });
83
+ function L() {
84
+ k();
85
+ }
86
+ function h() {
87
+ document.visibilityState === "visible" && k();
88
+ }
89
+ j(() => {
90
+ window.addEventListener("scroll", f, { passive: !0 }), window.addEventListener("resize", f, { passive: !0 }), window.addEventListener("focus", L), document.addEventListener("visibilitychange", h);
91
+ }), q(() => {
92
+ window.removeEventListener("scroll", f), window.removeEventListener("resize", f), window.removeEventListener("focus", L), document.removeEventListener("visibilitychange", h);
93
+ }), A(
94
+ () => d.value,
95
+ (t) => {
96
+ c.value && (c.value.value = t);
97
+ }
98
+ );
99
+ const z = u([
100
+ "#000000",
101
+ "#FFFFFF",
102
+ "#FF5733",
103
+ "#33FF57",
104
+ "#3357FF",
105
+ "#FFC300",
106
+ "#800080",
107
+ "#FF1493",
108
+ "#00CED1"
109
+ ]);
110
+ return (t, e) => G((s(), v("div", {
111
+ ref_key: "wrapperRef",
112
+ ref: V,
113
+ onKeydown: R(m, ["esc"]),
114
+ style: { height: "100%", width: "100%", position: "relative" },
115
+ "aria-expanded": l.value ? "true" : "false",
116
+ "aria-haspopup": "dialog",
117
+ "aria-label": `Choose color. Current color ${o.value}`
118
+ }, [
119
+ i("button", {
120
+ ref_key: "buttonRef",
121
+ ref: C,
122
+ class: "icon",
123
+ onClick: U,
124
+ style: a(K.value),
125
+ type: "button"
126
+ }, [
127
+ H(t.$slots, "annotator-action-color", J(Q({ color: p.value })), () => [
128
+ g(F, {
129
+ name: "palette",
130
+ stroke: p.value,
131
+ size: 22
132
+ }, null, 8, ["stroke"])
133
+ ], !0)
134
+ ], 4),
135
+ l.value && !o.teleported ? (s(), v("div", {
136
+ key: 0,
137
+ class: "vue-ui-color-picker",
138
+ role: "dialog",
139
+ "aria-label": "Color picker",
140
+ style: a({
141
+ backgroundColor: o.backgroundColor,
142
+ position: "absolute",
143
+ left: "calc(100% + 30px)",
144
+ top: "50%",
145
+ transform: "translateY(-18%)"
146
+ }),
147
+ onMousedown: e[2] || (e[2] = r(() => {
148
+ }, ["stop"])),
149
+ onClick: e[3] || (e[3] = r(() => {
150
+ }, ["stop"])),
151
+ onTouchstart: e[4] || (e[4] = r(() => {
152
+ }, ["stop"])),
153
+ onKeydown: R(m, ["esc"])
154
+ }, [
155
+ (s(!0), v($, null, M(z.value, (n) => (s(), v("button", {
156
+ key: n,
157
+ "aria-label": `Select color ${n}`,
158
+ "aria-pressed": o.value === n ? "true" : "false",
159
+ class: "vue-ui-color-picker-option",
160
+ type: "button",
161
+ style: a({ backgroundColor: n, outline: `1px solid ${o.buttonBorderColor}`, cursor: o.isCursorPointer ? "pointer" : "default" }),
162
+ onClick: () => E(n)
163
+ }, null, 12, le))), 128)),
164
+ i("button", {
165
+ class: "vue-ui-color-picker-option",
166
+ type: "button",
167
+ style: a({ backgroundColor: o.value, outline: `1px solid ${o.buttonBorderColor}`, cursor: o.isCursorPointer ? "pointer" : "default" }),
168
+ "aria-label": "Open native color picker",
169
+ onClick: r(P, ["stop"]),
170
+ onMousedown: e[0] || (e[0] = r(() => {
171
+ }, ["stop"])),
172
+ onTouchstart: e[1] || (e[1] = r(() => {
173
+ }, ["stop"]))
174
+ }, [
175
+ i("div", ie, [
176
+ g(F, {
177
+ name: "colorPicker",
178
+ stroke: p.value,
179
+ size: 22
180
+ }, null, 8, ["stroke"])
181
+ ]),
182
+ i("input", {
183
+ ref_key: "colorInput",
184
+ ref: c,
185
+ type: "color",
186
+ value: o.value,
187
+ class: "hidden-input",
188
+ onInput: x
189
+ }, null, 40, ue)
190
+ ], 36)
191
+ ], 36)) : N("", !0),
192
+ l.value && o.teleported ? (s(), X(Z, {
193
+ key: 1,
194
+ to: "body"
195
+ }, [
196
+ i("div", {
197
+ tabindex: "0",
198
+ class: "vue-ui-color-picker",
199
+ style: a({
200
+ backgroundColor: o.backgroundColor,
201
+ position: "fixed",
202
+ top: y.value.top + "px",
203
+ left: y.value.left + "px",
204
+ zIndex: 2147483647
205
+ }),
206
+ onMousedown: e[7] || (e[7] = r(() => {
207
+ }, ["stop"])),
208
+ onClick: e[8] || (e[8] = r(() => {
209
+ }, ["stop"])),
210
+ onTouchstart: e[9] || (e[9] = r(() => {
211
+ }, ["stop"]))
212
+ }, [
213
+ (s(!0), v($, null, M(z.value, (n) => (s(), v("button", {
214
+ key: n,
215
+ class: "vue-ui-color-picker-option",
216
+ type: "button",
217
+ style: a({ backgroundColor: n, outline: `1px solid ${o.buttonBorderColor}`, cursor: o.isCursorPointer ? "pointer" : "default" }),
218
+ onClick: () => E(n)
219
+ }, null, 12, se))), 128)),
220
+ i("button", {
221
+ class: "vue-ui-color-picker-option",
222
+ type: "button",
223
+ style: a({ backgroundColor: o.value, outline: `1px solid ${o.buttonBorderColor}`, cursor: o.isCursorPointer ? "cursor" : "default" }),
224
+ onClick: r(P, ["stop"]),
225
+ onMousedown: e[5] || (e[5] = r(() => {
226
+ }, ["stop"])),
227
+ onTouchstart: e[6] || (e[6] = r(() => {
228
+ }, ["stop"]))
229
+ }, [
230
+ i("div", ae, [
231
+ g(F, {
232
+ name: "colorPicker",
233
+ stroke: p.value,
234
+ size: 22
235
+ }, null, 8, ["stroke"])
236
+ ]),
237
+ i("input", {
238
+ ref_key: "colorInput",
239
+ ref: c,
240
+ type: "color",
241
+ value: o.value,
242
+ class: "hidden-input",
243
+ onInput: x
244
+ }, null, 40, de)
245
+ ], 36)
246
+ ], 36)
247
+ ])) : N("", !0)
248
+ ], 40, re)), [
249
+ [_(te), m]
250
+ ]);
251
+ }
252
+ }, be = /* @__PURE__ */ ne(ce, [["__scopeId", "data-v-e3fdd92e"]]);
253
+ export {
254
+ be as C
255
+ };
@@ -1,7 +1,7 @@
1
1
  import { ref as u, computed as ge, onMounted as ze, nextTick as Xe, onBeforeUnmount as Ye, watch as ee, openBlock as g, createElementBlock as y, Fragment as J, normalizeStyle as C, normalizeClass as M, createElementVNode as $, createVNode as P, toDisplayString as ye, unref as xe, withDirectives as we, vModelText as ke, createCommentVNode as R, withModifiers as be, renderList as me } from "vue";
2
2
  import { j as Ce, x as We, l as Re, X as U } from "./lib-DBptbyyI.js";
3
3
  import q from "./BaseIcon-Cb3zzG6s.js";
4
- import { C as Ue } from "./ColorPicker-DQ5sdRrl.js";
4
+ import { C as Ue } from "./ColorPicker-B0mV4xzu.js";
5
5
  import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const Ve = ["disabled"], Ie = ["data-mode", "xmlns", "viewBox"], Ke = ["cx", "cy", "r", "fill"], Ge = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], He = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "marker-end"], Oe = ["d", "stroke", "stroke-width"], Qe = ["x", "y", "fill", "font-size"], je = ["x", "dy"], Je = ["d", "stroke", "stroke-width"], Ze = {
7
7
  __name: "NonSvgPenAndPaper",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as t, toDisplayString as o, unref as r } from "vue";
2
- const n = "3.16.0", a = { "aria-hidden": "true" }, p = {
2
+ const n = "3.16.2", a = { "aria-hidden": "true" }, p = {
3
3
  __name: "PackageVersion",
4
4
  setup(s) {
5
5
  return (c, i) => (e(), t("desc", a, "Composed with Vue Data UI " + o(r(n)), 1));