vue-data-ui 3.26.2 → 3.26.3
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/{PackageVersion-BEPMhtFD.js → PackageVersion-DDtcwca2.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.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-hill.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-kpi.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-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-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-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.js +1 -1
- package/dist/{package-Z9m3lUgv.js → package-DDthpXJc.js} +1 -1
- package/dist/{render-common-BGgH-o7M.js → render-common-CF9qAkaI.js} +1 -1
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-B1nJEZZd.js → vue-data-ui-DZ_ypVjD.js} +61 -61
- package/dist/vue-data-ui.js +61 -61
- package/dist/{vue-ui-3d-bar-DOlebgJU.js → vue-ui-3d-bar-AE72RbGo.js} +1 -1
- package/dist/{vue-ui-age-pyramid-WCUbSc4I.js → vue-ui-age-pyramid-BprwHR2l.js} +1 -1
- package/dist/{vue-ui-bullet-HCCMPG8c.js → vue-ui-bullet-jJk6aC2d.js} +1 -1
- package/dist/{vue-ui-bump-WpOTEgBs.js → vue-ui-bump-DDek6Y8i.js} +1 -1
- package/dist/{vue-ui-candlestick-PBAZcPnG.js → vue-ui-candlestick-C_T-4PvR.js} +1 -1
- package/dist/{vue-ui-carousel-table-CSbj5FQD.js → vue-ui-carousel-table-pbg0DNs-.js} +1 -1
- package/dist/{vue-ui-chestnut-_lab15WI.js → vue-ui-chestnut-BIZo9bFQ.js} +1 -1
- package/dist/{vue-ui-chord-Yz_Y2416.js → vue-ui-chord-1a-LgYke.js} +1 -1
- package/dist/{vue-ui-circle-pack-B6DRb9Y8.js → vue-ui-circle-pack-DnxnFOLU.js} +1 -1
- package/dist/{vue-ui-cursor-Dn1ybFBp.js → vue-ui-cursor-B1G3bO3u.js} +1 -1
- package/dist/{vue-ui-dag-D6hig70T.js → vue-ui-dag-BJH34mhH.js} +1 -1
- package/dist/{vue-ui-dashboard-DhRVpj8N.js → vue-ui-dashboard-BxrQFKw2.js} +57 -57
- package/dist/{vue-ui-digits-PxLlo-CM.js → vue-ui-digits-COK65t4o.js} +1 -1
- package/dist/{vue-ui-donut-30tufQoZ.js → vue-ui-donut-CsBzv7rk.js} +1 -1
- package/dist/{vue-ui-donut-BCPpEny9.js → vue-ui-donut-LulYXjY-.js} +1 -1
- package/dist/{vue-ui-donut-evolution-D01OJjf2.js → vue-ui-donut-evolution-CrwqKE7G.js} +1 -1
- package/dist/{vue-ui-dumbbell-Ca9DaPlN.js → vue-ui-dumbbell-D2j6gJAr.js} +1 -1
- package/dist/{vue-ui-flow-D1NVGMrT.js → vue-ui-flow-BGb7lpAW.js} +1 -1
- package/dist/{vue-ui-funnel-goru-QCU.js → vue-ui-funnel-CJfc8cXT.js} +1 -1
- package/dist/{vue-ui-galaxy-yZIMvOg6.js → vue-ui-galaxy-CA2FF651.js} +1 -1
- package/dist/{vue-ui-gauge-Egg_Vg1A.js → vue-ui-gauge-D9Ek-tFP.js} +1 -1
- package/dist/{vue-ui-geo-Dfz_qotE.js → vue-ui-geo-rtEZJFHY.js} +1 -1
- package/dist/{vue-ui-gizmo-DzSJQJyI.js → vue-ui-gizmo-B_SU2Jgd.js} +1 -1
- package/dist/{vue-ui-heatmap-Cqk2tB4G.js → vue-ui-heatmap-BySwsSk3.js} +1 -1
- package/dist/{vue-ui-hill-BwUwkVy1.js → vue-ui-hill-Cxf-0GE7.js} +1 -1
- package/dist/{vue-ui-history-plot-C43YqSxd.js → vue-ui-history-plot-BZtZ_398.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-DcttDEaL.js → vue-ui-horizontal-bar-DsdB1Lke.js} +1 -1
- package/dist/{vue-ui-kpi-B0r6I1Fo.js → vue-ui-kpi--YE_hJM-.js} +1 -1
- package/dist/{vue-ui-molecule-DtCE2Y4f.js → vue-ui-molecule-CIm_6t6E.js} +1 -1
- package/dist/{vue-ui-mood-radar-DUTaPxkh.js → vue-ui-mood-radar-ki4ZlohZ.js} +1 -1
- package/dist/{vue-ui-nested-donuts-BtBJnH9I.js → vue-ui-nested-donuts-Ctbq_pnj.js} +1 -1
- package/dist/{vue-ui-onion-fQ7czuGC.js → vue-ui-onion-DjznoyvR.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-C5zmfb4B.js → vue-ui-parallel-coordinate-plot-CW27xBHo.js} +1 -1
- package/dist/{vue-ui-quadrant-1A10Y-VF.js → vue-ui-quadrant-D9270b-4.js} +1 -1
- package/dist/{vue-ui-quick-chart-DNL0Q2CF.js → vue-ui-quick-chart-BwA8ZYnt.js} +1 -1
- package/dist/{vue-ui-radar-CB62kQ2o.js → vue-ui-radar-CIqWnSkX.js} +1 -1
- package/dist/{vue-ui-relation-circle-DyTMR3Xd.js → vue-ui-relation-circle-DfcHFOBp.js} +1 -1
- package/dist/{vue-ui-ridgeline-1-6ULP95.js → vue-ui-ridgeline-BK23FH_o.js} +1 -1
- package/dist/{vue-ui-rings-WqwQYIJS.js → vue-ui-rings-Bo7e_oIT.js} +1 -1
- package/dist/{vue-ui-scatter-CK95iCay.js → vue-ui-scatter-B2qUgPxs.js} +319 -318
- package/dist/{vue-ui-skeleton-6wUNrAgh.js → vue-ui-skeleton--bojbC6J.js} +1 -1
- package/dist/{vue-ui-spark-trend-BIeum0ir.js → vue-ui-spark-trend-DUWAGYCO.js} +1 -1
- package/dist/{vue-ui-sparkbar-C8M__S7L.js → vue-ui-sparkbar-DIN_e8Hd.js} +1 -1
- package/dist/{vue-ui-sparkgauge-COePNpyn.js → vue-ui-sparkgauge-CAC8JU-B.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-Cupz7sUb.js → vue-ui-sparkhistogram-hSkVMj5Q.js} +1 -1
- package/dist/{vue-ui-sparkline-DoD9fpC0.js → vue-ui-sparkline-BosCT_mQ.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-8RhZwvlv.js → vue-ui-sparkstackbar-DB4FwqUL.js} +1 -1
- package/dist/{vue-ui-stackbar-CXJtds5H.js → vue-ui-stackbar-COywI2qU.js} +1 -1
- package/dist/{vue-ui-stackline-WIDO75JZ.js → vue-ui-stackline-D9USdD0o.js} +1 -1
- package/dist/{vue-ui-strip-plot-DiHk8f-N.js → vue-ui-strip-plot-CCnX8Iaq.js} +1 -1
- package/dist/{vue-ui-table-DPpR5FZm.js → vue-ui-table-Wjqv8Y_Y.js} +2 -2
- package/dist/{vue-ui-table-sparkline-xxPIRGUL.js → vue-ui-table-sparkline-82kb3CVs.js} +1 -1
- package/dist/{vue-ui-thermometer-Dly84Zo6.js → vue-ui-thermometer-B4VN0-6d.js} +1 -1
- package/dist/{vue-ui-timer-rb9_fs0J.js → vue-ui-timer-8xeqZhkj.js} +1 -1
- package/dist/{vue-ui-tiremarks-5msdNX8I.js → vue-ui-tiremarks-B6eWE0Q8.js} +1 -1
- package/dist/{vue-ui-treemap-swB3RyK0.js → vue-ui-treemap-C0ll73wT.js} +1 -1
- package/dist/{vue-ui-waffle-DXYytGC3.js → vue-ui-waffle-Cw8O3BUF.js} +1 -1
- package/dist/{vue-ui-wheel-B8T6rwqo.js → vue-ui-wheel-B0eYItCQ.js} +1 -1
- package/dist/{vue-ui-word-cloud-BSZPpdXe.js → vue-ui-word-cloud-D0zkMkNk.js} +1 -1
- package/dist/{vue-ui-world-DOoyrxxG.js → vue-ui-world-CRhkj77G.js} +1 -1
- package/dist/{vue-ui-xy-BwN86L64.js → vue-ui-xy-CXLKh2F2.js} +1 -1
- package/dist/{vue-ui-xy-Ce1A0lrV.js → vue-ui-xy-DFczQEnY.js} +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ import { t as je } from "./Legend-Dv90gh-6.js";
|
|
|
22
22
|
import { t as Me } from "./vue_ui_scatter-I0POnicu.js";
|
|
23
23
|
import { Fragment as _, Teleport as Ne, computed as v, createBlock as Pe, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as Re, guardReactiveProps as S, mergeProps as ze, nextTick as Be, normalizeClass as Ve, normalizeProps as C, normalizeStyle as He, onBeforeUnmount as Ue, onMounted as We, openBlock as w, ref as T, renderList as E, renderSlot as D, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as O, toRefs as qe, unref as k, watch as Je, withCtx as A } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-scatter.vue
|
|
25
|
-
var Ye = /* @__PURE__ */ e({ default: () =>
|
|
25
|
+
var Ye = /* @__PURE__ */ e({ default: () => yn }), Xe = ["id"], Ze = ["id"], Qe = {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: "sr-only",
|
|
28
28
|
"aria-live": "polite",
|
|
@@ -202,24 +202,24 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
202
202
|
"onMouseover",
|
|
203
203
|
"onMouseleave",
|
|
204
204
|
"onClick"
|
|
205
|
-
], Bt = [
|
|
205
|
+
], Bt = [
|
|
206
206
|
"d",
|
|
207
207
|
"fill",
|
|
208
208
|
"stroke",
|
|
209
209
|
"stroke-width",
|
|
210
210
|
"stroke-opacity"
|
|
211
|
-
],
|
|
211
|
+
], Vt = {
|
|
212
212
|
key: 0,
|
|
213
213
|
style: { "pointer-events": "none" }
|
|
214
|
-
},
|
|
214
|
+
}, Ht = [
|
|
215
215
|
"x",
|
|
216
216
|
"y",
|
|
217
217
|
"width",
|
|
218
218
|
"height"
|
|
219
|
-
],
|
|
219
|
+
], Ut = {
|
|
220
220
|
key: 0,
|
|
221
221
|
style: { "pointer-events": "none !important" }
|
|
222
|
-
},
|
|
222
|
+
}, Wt = [
|
|
223
223
|
"x1",
|
|
224
224
|
"x2",
|
|
225
225
|
"y1",
|
|
@@ -227,7 +227,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
227
227
|
"stroke",
|
|
228
228
|
"stroke-width",
|
|
229
229
|
"stroke-dasharray"
|
|
230
|
-
],
|
|
230
|
+
], Gt = [
|
|
231
231
|
"x1",
|
|
232
232
|
"x2",
|
|
233
233
|
"y1",
|
|
@@ -235,89 +235,89 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
235
235
|
"stroke",
|
|
236
236
|
"stroke-width",
|
|
237
237
|
"stroke-dasharray"
|
|
238
|
-
],
|
|
238
|
+
], Kt = [
|
|
239
239
|
"x",
|
|
240
240
|
"y",
|
|
241
241
|
"font-size",
|
|
242
242
|
"fill",
|
|
243
243
|
"font-weight",
|
|
244
244
|
"text-anchor"
|
|
245
|
-
],
|
|
245
|
+
], qt = [
|
|
246
246
|
"x",
|
|
247
247
|
"y",
|
|
248
248
|
"font-size",
|
|
249
249
|
"fill",
|
|
250
250
|
"font-weight"
|
|
251
|
-
],
|
|
251
|
+
], Jt = [
|
|
252
252
|
"x",
|
|
253
253
|
"y",
|
|
254
254
|
"font-size",
|
|
255
255
|
"fill"
|
|
256
|
-
],
|
|
256
|
+
], Yt = [
|
|
257
257
|
"x",
|
|
258
258
|
"y",
|
|
259
259
|
"font-size",
|
|
260
260
|
"fill"
|
|
261
|
-
],
|
|
261
|
+
], Xt = [
|
|
262
262
|
"cx",
|
|
263
263
|
"cy",
|
|
264
264
|
"r",
|
|
265
265
|
"fill",
|
|
266
266
|
"stroke",
|
|
267
267
|
"stroke-width"
|
|
268
|
-
],
|
|
268
|
+
], Zt = [
|
|
269
269
|
"cx",
|
|
270
270
|
"cy",
|
|
271
271
|
"r",
|
|
272
272
|
"fill",
|
|
273
273
|
"stroke",
|
|
274
274
|
"stroke-width"
|
|
275
|
-
],
|
|
275
|
+
], Qt = [
|
|
276
276
|
"x",
|
|
277
277
|
"y",
|
|
278
278
|
"font-size",
|
|
279
279
|
"fill",
|
|
280
280
|
"font-weight",
|
|
281
281
|
"text-anchor"
|
|
282
|
-
],
|
|
282
|
+
], $t = [
|
|
283
283
|
"id",
|
|
284
284
|
"transform",
|
|
285
285
|
"font-size",
|
|
286
286
|
"font-weight",
|
|
287
287
|
"fill"
|
|
288
|
-
],
|
|
288
|
+
], en = [
|
|
289
289
|
"font-size",
|
|
290
290
|
"fill",
|
|
291
291
|
"transform"
|
|
292
|
-
],
|
|
292
|
+
], tn = [
|
|
293
293
|
"transform",
|
|
294
294
|
"font-size",
|
|
295
295
|
"fill"
|
|
296
|
-
],
|
|
296
|
+
], nn = [
|
|
297
297
|
"x",
|
|
298
298
|
"y",
|
|
299
299
|
"font-size",
|
|
300
300
|
"fill"
|
|
301
|
-
],
|
|
301
|
+
], rn = [
|
|
302
302
|
"x",
|
|
303
303
|
"y",
|
|
304
304
|
"font-size",
|
|
305
305
|
"fill"
|
|
306
|
-
],
|
|
306
|
+
], an = [
|
|
307
307
|
"font-size",
|
|
308
308
|
"font-weight",
|
|
309
309
|
"fill",
|
|
310
310
|
"x",
|
|
311
311
|
"y"
|
|
312
|
-
],
|
|
312
|
+
], on = ["id"], sn = [
|
|
313
313
|
"x",
|
|
314
314
|
"y",
|
|
315
315
|
"width",
|
|
316
316
|
"height"
|
|
317
|
-
],
|
|
317
|
+
], cn = {
|
|
318
318
|
key: 14,
|
|
319
319
|
style: { pointerEvents: "none" }
|
|
320
|
-
},
|
|
320
|
+
}, ln = [
|
|
321
321
|
"x1",
|
|
322
322
|
"x2",
|
|
323
323
|
"y1",
|
|
@@ -326,13 +326,13 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
326
326
|
"stroke",
|
|
327
327
|
"stroke-width",
|
|
328
328
|
"clip-path"
|
|
329
|
-
],
|
|
329
|
+
], un = [
|
|
330
330
|
"x",
|
|
331
331
|
"y",
|
|
332
332
|
"fill",
|
|
333
333
|
"font-size",
|
|
334
334
|
"font-weight"
|
|
335
|
-
],
|
|
335
|
+
], dn = {
|
|
336
336
|
key: 0,
|
|
337
337
|
style: {
|
|
338
338
|
position: "absolute",
|
|
@@ -342,10 +342,10 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
342
342
|
},
|
|
343
343
|
"data-dom-to-png-ignore": "",
|
|
344
344
|
"aria-hidden": "true"
|
|
345
|
-
},
|
|
345
|
+
}, fn = {
|
|
346
346
|
key: 6,
|
|
347
347
|
class: "vue-data-ui-watermark"
|
|
348
|
-
},
|
|
348
|
+
}, pn = ["id"], mn = ["onClick"], hn = {
|
|
349
349
|
key: 0,
|
|
350
350
|
style: {
|
|
351
351
|
width: "100%",
|
|
@@ -353,7 +353,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
353
353
|
"align-items": "center",
|
|
354
354
|
"justify-content": "center"
|
|
355
355
|
}
|
|
356
|
-
},
|
|
356
|
+
}, gn = {
|
|
357
357
|
viewBox: "0 0 20 20",
|
|
358
358
|
height: "20",
|
|
359
359
|
width: "20",
|
|
@@ -361,7 +361,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
361
361
|
overflow: "hidden",
|
|
362
362
|
background: "transparent"
|
|
363
363
|
}
|
|
364
|
-
},
|
|
364
|
+
}, _n = { key: 0 }, vn = ["innerHTML"], yn = /*#__PURE__*/ Ce({
|
|
365
365
|
__name: "vue-ui-scatter",
|
|
366
366
|
props: {
|
|
367
367
|
config: {
|
|
@@ -379,10 +379,10 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
379
379
|
},
|
|
380
380
|
emits: ["copyAlt", "selectLegend"],
|
|
381
381
|
setup(e, { expose: Ce, emit: Ye }) {
|
|
382
|
-
let
|
|
382
|
+
let yn = Re(() => import("./Tooltip-2NAb_Rrx.js")), bn = Re(() => import("./BaseIcon-BV75ei8X.js").then((e) => e.n)), xn = Re(() => import("./vue-ui-accordion-15kKhkup.js").then((e) => e.n)), Sn = Re(() => import("./DataTable-DX5fToAo.js")), Cn = Re(() => import("./PenAndPaper-DkQ4sEhs.js").then((e) => e.t)), wn = Re(() => import("./UserOptions-Dgn3StKw.js").then((e) => e.n)), Tn = Re(() => import("./PackageVersion-DDtcwca2.js").then((e) => e.t)), En = Re(() => import("./BaseDraggableDialog-C1Slb3Yh.js").then((e) => e.n)), { vue_ui_scatter: Dn } = fe(), { isThemeValid: On, warnInvalidTheme: kn } = _e(), j = e, An = Ye, jn = v(() => !!j.dataset && j.dataset.length), M = T(p()), Mn = T(!1), Nn = T(""), Pn = T(0), Fn = T(null), In = T(null), Ln = T(null), Rn = T(null), zn = T(null), Bn = T(0), Vn = T(0), Hn = T(0), N = T([]), Un = T(!1), Wn = T(null), Gn = T(null), Kn = T(null), qn = T(null), Jn = T(null), Yn = T(null), Xn = T(null), Zn = T(null), Qn = T(null), $n = T(null), er = T(null), tr = T({
|
|
383
383
|
x: 0,
|
|
384
384
|
y: 0
|
|
385
|
-
}),
|
|
385
|
+
}), nr = T("pointer"), rr = T(!1), ir = T(null), P = T(_r()), F = v(() => P.value.userOptions), I = v(() => P.value.style.layout.dataLabels.xAxis), L = v(() => P.value.style.layout.dataLabels.yAxis), R = v(() => P.value.style.layout.marginalBars), z = v(() => P.value.style.layout.plots), B = v(() => P.value.style.tooltip), V = v(() => P.value.style);
|
|
386
386
|
ue({
|
|
387
387
|
config: () => P.value,
|
|
388
388
|
dataset: () => j.dataset,
|
|
@@ -397,10 +397,10 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
397
397
|
]
|
|
398
398
|
}]
|
|
399
399
|
});
|
|
400
|
-
let { transitionEnabled:
|
|
400
|
+
let { transitionEnabled: ar } = ye({
|
|
401
401
|
config: () => P.value.transitions,
|
|
402
402
|
dataset: () => j.dataset
|
|
403
|
-
}),
|
|
403
|
+
}), or = v(() => P.value.userOptions.useCursorPointer), sr = v(() => a(P.value.events?.datapointClick));
|
|
404
404
|
function cr(e = 100, t = .8, n = {}) {
|
|
405
405
|
let { meanX: r = 0, sdX: i = 1, meanY: a = 0, sdY: o = 1, seed: s } = n, c = (s ?? Math.floor(Math.random() * 2 ** 31)) >>> 0, l = () => (c = c * 1664525 + 1013904223 >>> 0, c / 2 ** 32), u = () => {
|
|
406
406
|
let e = 0, t = 0;
|
|
@@ -466,10 +466,10 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
466
466
|
function _r() {
|
|
467
467
|
let e = ge({
|
|
468
468
|
userConfig: j.config,
|
|
469
|
-
defaultConfig:
|
|
469
|
+
defaultConfig: Dn
|
|
470
470
|
}), t = e.theme;
|
|
471
471
|
if (!t) return e;
|
|
472
|
-
if (!
|
|
472
|
+
if (!On.value(e)) return kn(e), e;
|
|
473
473
|
let r = ge({
|
|
474
474
|
userConfig: Me[t] || j.config,
|
|
475
475
|
defaultConfig: e
|
|
@@ -495,13 +495,13 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
495
495
|
P.value.style.tooltip = i.style.tooltip, H.value.showTooltip = P.value.style.tooltip.show;
|
|
496
496
|
return;
|
|
497
497
|
}
|
|
498
|
-
ur.value || (P.value = i), pr.value = !P.value.userOptions.showOnChartHover, Cr(),
|
|
498
|
+
ur.value || (P.value = i), pr.value = !P.value.userOptions.showOnChartHover, Cr(), Bn.value += 1, Vn.value += 1, Hn.value += 1, H.value.showTable = P.value.table.show, H.value.showTooltip = B.value.show, Sr.value && P.value.usePerformanceMode && console.warn("VueUiScatter : You are using performance mode\n\n- downsampling is disabled in this mode, all plots are rendered\n\n- plot significance is not active in this mode (all plots have the same opacity) \n\n- Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness \n\nℹ️ To remove this warning, set config.debug to false.");
|
|
499
499
|
}, { deep: !0 }), Je(() => j.dataset, (e) => {
|
|
500
500
|
Array.isArray(e) && e.length > 0 && (fr.value = !1);
|
|
501
501
|
}, { deep: !0 });
|
|
502
502
|
let br = Ke(null), xr = Ke(null);
|
|
503
503
|
We(async () => {
|
|
504
|
-
Cr(), await Be(),
|
|
504
|
+
Cr(), await Be(), Un.value = !0;
|
|
505
505
|
});
|
|
506
506
|
let Sr = v(() => P.value.debug);
|
|
507
507
|
function Cr() {
|
|
@@ -512,17 +512,17 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
512
512
|
}), fr.value = !0), l(j.dataset) || (fr.value = P.value.loading), P.value.responsive) {
|
|
513
513
|
let e = we(() => {
|
|
514
514
|
let { width: e, height: t } = Te({
|
|
515
|
-
chart:
|
|
516
|
-
title: V.value.title.text ?
|
|
517
|
-
legend: V.value.legend.show ?
|
|
518
|
-
source:
|
|
519
|
-
noTitle:
|
|
515
|
+
chart: Fn.value,
|
|
516
|
+
title: V.value.title.text ? In.value : null,
|
|
517
|
+
legend: V.value.legend.show ? Ln.value : null,
|
|
518
|
+
source: Rn.value,
|
|
519
|
+
noTitle: zn.value
|
|
520
520
|
});
|
|
521
521
|
requestAnimationFrame(() => {
|
|
522
522
|
U.value.width = e, U.value.height = t;
|
|
523
523
|
});
|
|
524
524
|
});
|
|
525
|
-
br.value && (xr.value && br.value.unobserve(xr.value), br.value.disconnect()), br.value = new ResizeObserver(e), xr.value =
|
|
525
|
+
br.value && (xr.value && br.value.unobserve(xr.value), br.value.disconnect()), br.value = new ResizeObserver(e), xr.value = Fn.value.parentNode, br.value.observe(xr.value);
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
Ue(() => {
|
|
@@ -548,8 +548,8 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
548
548
|
}), Ar = v(() => R.value.show ? R.value.size + R.value.offset : 0);
|
|
549
549
|
function jr() {
|
|
550
550
|
let e = 0;
|
|
551
|
-
if (L.value.scales.show &&
|
|
552
|
-
e = Array.from(
|
|
551
|
+
if (L.value.scales.show && Qn.value) try {
|
|
552
|
+
e = Array.from(Qn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
553
553
|
let n = t.getComputedTextLength();
|
|
554
554
|
return n > e ? n : e;
|
|
555
555
|
}, 0);
|
|
@@ -557,8 +557,8 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
557
557
|
e = 0;
|
|
558
558
|
}
|
|
559
559
|
let t = 0;
|
|
560
|
-
if (
|
|
561
|
-
t =
|
|
560
|
+
if (Jn.value) try {
|
|
561
|
+
t = Jn.value.getBBox().width;
|
|
562
562
|
} catch {
|
|
563
563
|
t = 0;
|
|
564
564
|
}
|
|
@@ -566,15 +566,15 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
566
566
|
}
|
|
567
567
|
function Mr() {
|
|
568
568
|
let e = 0;
|
|
569
|
-
if (
|
|
570
|
-
let t =
|
|
569
|
+
if (Yn.value) try {
|
|
570
|
+
let t = Yn.value.getBBox(), n = t.x + t.width - U.value.width;
|
|
571
571
|
e = n > 0 ? n + 6 : 0;
|
|
572
572
|
} catch {
|
|
573
573
|
e = 0;
|
|
574
574
|
}
|
|
575
575
|
let t = 0;
|
|
576
|
-
if (I.value.scales.show &&
|
|
577
|
-
t = Array.from(
|
|
576
|
+
if (I.value.scales.show && $n.value) try {
|
|
577
|
+
t = Array.from($n.value.querySelectorAll("text")).reduce((e, t) => {
|
|
578
578
|
let n = t.getBBox(), r = n.x + n.width - U.value.width, i = r > 0 ? r + 6 : 0;
|
|
579
579
|
return i > e ? i : e;
|
|
580
580
|
}, 0);
|
|
@@ -585,8 +585,8 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
585
585
|
}
|
|
586
586
|
let W = v(() => {
|
|
587
587
|
let e = 0, t = 0, n = 0;
|
|
588
|
-
if (e = jr(), t = Mr(),
|
|
589
|
-
n =
|
|
588
|
+
if (e = jr(), t = Mr(), Zn.value) try {
|
|
589
|
+
n = Zn.value.getBBox().height + 6;
|
|
590
590
|
} catch {
|
|
591
591
|
n = 0;
|
|
592
592
|
}
|
|
@@ -699,7 +699,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
699
699
|
r: Ir(e)
|
|
700
700
|
}))
|
|
701
701
|
}));
|
|
702
|
-
}), Hr = v(() =>
|
|
702
|
+
}), Hr = v(() => oi.value.length > 0 && I.value.scales.show), Ur = v(() => oi.value.length > 0 && L.value.scales.show);
|
|
703
703
|
function Wr(e) {
|
|
704
704
|
let t = G.value.xMax - G.value.xMin;
|
|
705
705
|
return t === 0 ? W.value.left : W.value.left + (e - G.value.xMin) / t * W.value.width;
|
|
@@ -726,12 +726,12 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
726
726
|
color: e.color ? e.color : kr.value[t] || f[t] || f[t % f.length],
|
|
727
727
|
opacity: N.value.includes(n) ? .5 : 1,
|
|
728
728
|
shape: e.shape ?? "circle",
|
|
729
|
-
segregate: () =>
|
|
729
|
+
segregate: () => pi(n),
|
|
730
730
|
isSegregated: N.value.includes(n),
|
|
731
|
-
hasGroupSelection: !!
|
|
732
|
-
isGroupSelected:
|
|
733
|
-
onEnter: () =>
|
|
734
|
-
onLeave: () =>
|
|
731
|
+
hasGroupSelection: !!ti.value,
|
|
732
|
+
isGroupSelected: ti.value === n,
|
|
733
|
+
onEnter: () => ri(n),
|
|
734
|
+
onLeave: () => ii()
|
|
735
735
|
};
|
|
736
736
|
})), qr = v(() => ({
|
|
737
737
|
cy: "scatter-div-legend",
|
|
@@ -894,28 +894,28 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
894
894
|
id: n.id
|
|
895
895
|
};
|
|
896
896
|
});
|
|
897
|
-
}), X = T(void 0), Z = T(null), Q = T([]), $r = T(
|
|
898
|
-
function
|
|
899
|
-
|
|
897
|
+
}), X = T(void 0), Z = T(null), Q = T([]), $r = T(!1), ei = T(null), ti = T(void 0);
|
|
898
|
+
function ni() {
|
|
899
|
+
Mn.value = !1, X.value = void 0, Q.value = [], Z.value = null, ir.value = null, er.value = null, ti.value = void 0;
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function ri(e) {
|
|
902
902
|
let t = q.value.find((t) => t.id === e);
|
|
903
903
|
if (!t) {
|
|
904
904
|
Q.value = [];
|
|
905
905
|
return;
|
|
906
906
|
}
|
|
907
|
-
Q.value = t.plots.map((e) => e.id),
|
|
907
|
+
Q.value = t.plots.map((e) => e.id), ti.value = e;
|
|
908
908
|
}
|
|
909
|
-
function
|
|
910
|
-
Q.value = [],
|
|
909
|
+
function ii() {
|
|
910
|
+
Q.value = [], ti.value = void 0;
|
|
911
911
|
}
|
|
912
|
-
function
|
|
912
|
+
function ai(e) {
|
|
913
913
|
if (!gr.value || !e) return;
|
|
914
914
|
let t = c(e.x, e.y, gr.value);
|
|
915
|
-
t && (
|
|
915
|
+
t && (tr.value = t);
|
|
916
916
|
}
|
|
917
|
-
let
|
|
918
|
-
function
|
|
917
|
+
let oi = v(() => Z.value ? [Z.value] : Q.value.length ? q.value.flatMap((e) => e.plots).filter((e) => Q.value.includes(e.id)) : []);
|
|
918
|
+
function si(e) {
|
|
919
919
|
let n = I.value, r = n.scales.labels;
|
|
920
920
|
return g(r.formatter, h(e.v.x), t({
|
|
921
921
|
p: z.value.selectors.labels.prefix,
|
|
@@ -924,7 +924,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
924
924
|
r: Ir(n)
|
|
925
925
|
}), { datapoint: e });
|
|
926
926
|
}
|
|
927
|
-
function
|
|
927
|
+
function ci(e) {
|
|
928
928
|
let n = L.value, r = n.scales.labels;
|
|
929
929
|
return g(r.formatter, h(e.v.y), t({
|
|
930
930
|
p: z.value.selectors.labels.prefix,
|
|
@@ -933,13 +933,13 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
933
933
|
r: Ir(n)
|
|
934
934
|
}), { datapoint: e });
|
|
935
935
|
}
|
|
936
|
-
function
|
|
937
|
-
X.value = e.id, Z.value = e,
|
|
936
|
+
function li(e, n, r = "pointer", i = null) {
|
|
937
|
+
X.value = e.id, Z.value = e, nr.value = r, ir.value = i, er.value = e.id;
|
|
938
938
|
let o = "";
|
|
939
939
|
P.value.events.datapointEnter && P.value.events.datapointEnter({
|
|
940
940
|
datapoint: e,
|
|
941
941
|
seriesIndex: n
|
|
942
|
-
}),
|
|
942
|
+
}), ei.value = {
|
|
943
943
|
datapoint: e,
|
|
944
944
|
seriesIndex: n,
|
|
945
945
|
series: q.value,
|
|
@@ -951,7 +951,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
951
951
|
seriesIndex: n,
|
|
952
952
|
series: q.value,
|
|
953
953
|
config: P.value
|
|
954
|
-
})) ?
|
|
954
|
+
})) ? Nn.value = s({
|
|
955
955
|
datapoint: e,
|
|
956
956
|
seriesIndex: n,
|
|
957
957
|
series: q.value,
|
|
@@ -975,42 +975,42 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
975
975
|
})}</b></div>`, o += `${z.value.deviation.translation}: <b>${t({
|
|
976
976
|
v: e.deviation,
|
|
977
977
|
r: z.value.deviation.roundingValue
|
|
978
|
-
})}</b>`, o += "</div>",
|
|
979
|
-
|
|
978
|
+
})}</b>`, o += "</div>", Nn.value = `<div>${o}</div>`), Mn.value = !0, r === "keyboard" && Be(() => {
|
|
979
|
+
ai(e);
|
|
980
980
|
});
|
|
981
981
|
}
|
|
982
|
-
function
|
|
982
|
+
function ui(e, t) {
|
|
983
983
|
P.value.events.datapointLeave && P.value.events.datapointLeave({
|
|
984
984
|
datapoint: e,
|
|
985
985
|
seriesIndex: t
|
|
986
|
-
}), (
|
|
986
|
+
}), (nr.value !== "keyboard" || er.value !== e?.id) && (Mn.value = !1, X.value = void 0, Z.value = null);
|
|
987
987
|
}
|
|
988
|
-
function
|
|
988
|
+
function di(e, t) {
|
|
989
989
|
P.value.events.datapointClick && P.value.events.datapointClick({
|
|
990
990
|
datapoint: e,
|
|
991
991
|
seriesIndex: t
|
|
992
992
|
});
|
|
993
993
|
}
|
|
994
|
-
function
|
|
994
|
+
function fi() {
|
|
995
995
|
N.value.length ? N.value = [] : Kr.value.forEach((e) => {
|
|
996
996
|
N.value.push(e.id);
|
|
997
|
-
}),
|
|
998
|
-
}
|
|
999
|
-
function fi(e) {
|
|
1000
|
-
N.value.includes(e) ? N.value = N.value.filter((t) => t !== e) : N.value.length < dr.value.length - 1 && N.value.push(e), jn("selectLegend", Jr.value);
|
|
997
|
+
}), An("selectLegend", Jr.value);
|
|
1001
998
|
}
|
|
1002
999
|
function pi(e) {
|
|
1003
|
-
|
|
1000
|
+
N.value.includes(e) ? N.value = N.value.filter((t) => t !== e) : N.value.length < dr.value.length - 1 && N.value.push(e), An("selectLegend", Jr.value);
|
|
1004
1001
|
}
|
|
1005
1002
|
function mi(e) {
|
|
1006
|
-
|
|
1007
|
-
t !== null && N.value.includes(t.id) && fi(t.id);
|
|
1003
|
+
return Kr.value.length ? Kr.value.find((t) => t.name === e) || (Sr.value && console.warn(`VueUiScatter - Series name not found "${e}"`), null) : (Sr.value && console.warn("VueUiScatter - There are no series to show."), null);
|
|
1008
1004
|
}
|
|
1009
1005
|
function hi(e) {
|
|
1010
|
-
let t =
|
|
1011
|
-
t !== null &&
|
|
1006
|
+
let t = mi(e);
|
|
1007
|
+
t !== null && N.value.includes(t.id) && pi(t.id);
|
|
1012
1008
|
}
|
|
1013
|
-
function gi(e
|
|
1009
|
+
function gi(e) {
|
|
1010
|
+
let t = mi(e);
|
|
1011
|
+
t !== null && (N.value.includes(t.id) || pi(t.id));
|
|
1012
|
+
}
|
|
1013
|
+
function _i(e = null) {
|
|
1014
1014
|
Be(() => {
|
|
1015
1015
|
let t = [
|
|
1016
1016
|
"",
|
|
@@ -1040,7 +1040,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1040
1040
|
});
|
|
1041
1041
|
});
|
|
1042
1042
|
}
|
|
1043
|
-
let
|
|
1043
|
+
let vi = v(() => {
|
|
1044
1044
|
let e = [
|
|
1045
1045
|
P.value.table.translations.series,
|
|
1046
1046
|
P.value.table.translations.correlationCoefficient,
|
|
@@ -1077,24 +1077,24 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1077
1077
|
},
|
|
1078
1078
|
colNames: e
|
|
1079
1079
|
};
|
|
1080
|
-
}),
|
|
1081
|
-
function
|
|
1082
|
-
|
|
1080
|
+
}), yi = T(!1);
|
|
1081
|
+
function bi(e) {
|
|
1082
|
+
yi.value = e, Pn.value += 1;
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function xi() {
|
|
1085
1085
|
H.value.showTable = !H.value.showTable;
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1087
|
+
function Si() {
|
|
1088
1088
|
H.value.showTooltip = !H.value.showTooltip;
|
|
1089
1089
|
}
|
|
1090
|
-
let
|
|
1091
|
-
function
|
|
1092
|
-
|
|
1090
|
+
let Ci = T(!1);
|
|
1091
|
+
function wi() {
|
|
1092
|
+
Ci.value = !Ci.value;
|
|
1093
1093
|
}
|
|
1094
|
-
async function
|
|
1095
|
-
if (!
|
|
1096
|
-
let { width: t, height: n } =
|
|
1097
|
-
domElement:
|
|
1094
|
+
async function Ti({ scale: e = 2 } = {}) {
|
|
1095
|
+
if (!Fn.value) return;
|
|
1096
|
+
let { width: t, height: n } = Fn.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
|
|
1097
|
+
domElement: Fn.value,
|
|
1098
1098
|
base64: !0,
|
|
1099
1099
|
img: !0,
|
|
1100
1100
|
scale: e
|
|
@@ -1108,16 +1108,16 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1108
1108
|
aspectRatio: r
|
|
1109
1109
|
};
|
|
1110
1110
|
}
|
|
1111
|
-
function Ti(e) {
|
|
1112
|
-
Gn.value = e, R.value.highlighter.highlightBothAxes && (Kn.value = Y.value.y.length - 2 - e);
|
|
1113
|
-
}
|
|
1114
1111
|
function Ei(e) {
|
|
1115
|
-
|
|
1112
|
+
Wn.value = e, R.value.highlighter.highlightBothAxes && (Gn.value = Y.value.y.length - 2 - e);
|
|
1116
1113
|
}
|
|
1117
|
-
function Di() {
|
|
1118
|
-
Gn.value =
|
|
1114
|
+
function Di(e) {
|
|
1115
|
+
Gn.value = e, R.value.highlighter.highlightBothAxes && (Wn.value = e);
|
|
1119
1116
|
}
|
|
1120
|
-
|
|
1117
|
+
function Oi() {
|
|
1118
|
+
Wn.value = null, Gn.value = null;
|
|
1119
|
+
}
|
|
1120
|
+
let ki = {
|
|
1121
1121
|
circle: 1,
|
|
1122
1122
|
square: 1,
|
|
1123
1123
|
diamond: 1,
|
|
@@ -1126,9 +1126,9 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1126
1126
|
pentagon: 1.3,
|
|
1127
1127
|
hexagon: 1.3
|
|
1128
1128
|
}, $ = (e) => e.toFixed(3);
|
|
1129
|
-
function
|
|
1129
|
+
function Ai({ shape: e = "circle", cx: t, cy: n, r }) {
|
|
1130
1130
|
if (!P.value.usePerformanceMode) return "";
|
|
1131
|
-
let i =
|
|
1131
|
+
let i = ki[e] * r;
|
|
1132
1132
|
switch (e) {
|
|
1133
1133
|
case "circle": {
|
|
1134
1134
|
let e = $(t - i), r = $(n), a = $(t + i), o = $(i);
|
|
@@ -1182,7 +1182,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1182
1182
|
}
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
|
-
let
|
|
1185
|
+
let ji = v(() => {
|
|
1186
1186
|
if (!P.value.usePerformanceMode) return [""];
|
|
1187
1187
|
let { left: e, right: t, top: n, bottom: r } = W.value, i = Math.max(1, (t - e) * (r - n)), a = (e) => e / i * 1e4, o = z.value.stroke, s = z.value.strokeWidth, c = z.value.opacity;
|
|
1188
1188
|
return q.value.map((i) => {
|
|
@@ -1191,7 +1191,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1191
1191
|
let o = a.x, s = a.y;
|
|
1192
1192
|
if (o < e || o > t || s < n || s > r) continue;
|
|
1193
1193
|
let c = Math.max(z.value.radius, a.weight);
|
|
1194
|
-
l.push(
|
|
1194
|
+
l.push(Ai({
|
|
1195
1195
|
shape: i.shape || "circle",
|
|
1196
1196
|
cx: o,
|
|
1197
1197
|
cy: s,
|
|
@@ -1210,7 +1210,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1210
1210
|
};
|
|
1211
1211
|
}).filter(Boolean);
|
|
1212
1212
|
});
|
|
1213
|
-
function
|
|
1213
|
+
function Mi() {
|
|
1214
1214
|
return P.value.usePerformanceMode ? (e) => {
|
|
1215
1215
|
let t = gr.value;
|
|
1216
1216
|
if (!t) return;
|
|
@@ -1224,41 +1224,41 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1224
1224
|
let n = e.x - a.x, r = e.y - a.y, i = n * n + r * r;
|
|
1225
1225
|
i <= 64 && i < s && (s = i, o = e, c = t);
|
|
1226
1226
|
});
|
|
1227
|
-
}), o) X.value !== o.id && (X.value = o.id,
|
|
1227
|
+
}), $r.value = !!o, o) X.value !== o.id && (X.value = o.id, li(o, c, "pointer", Qi.value.get(o.id) ?? null));
|
|
1228
1228
|
else if (X.value) {
|
|
1229
1229
|
let e = Z.value;
|
|
1230
|
-
X.value = void 0,
|
|
1230
|
+
X.value = void 0, ui(e, c);
|
|
1231
1231
|
}
|
|
1232
1232
|
} : () => null;
|
|
1233
1233
|
}
|
|
1234
|
-
let
|
|
1235
|
-
function
|
|
1236
|
-
if (X.value) {
|
|
1234
|
+
let Ni = Mi();
|
|
1235
|
+
function Pi() {
|
|
1236
|
+
if ($r.value = !1, X.value) {
|
|
1237
1237
|
let e = Z.value;
|
|
1238
|
-
X.value = void 0,
|
|
1238
|
+
X.value = void 0, ui(e, null);
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function Fi(e) {
|
|
1242
1242
|
let t = Z.value;
|
|
1243
1243
|
if (t) {
|
|
1244
1244
|
let e = q.value.findIndex((e) => e.id === t.clusterId);
|
|
1245
|
-
|
|
1245
|
+
di(t, e >= 0 ? e : 0);
|
|
1246
1246
|
}
|
|
1247
1247
|
}
|
|
1248
|
-
let
|
|
1248
|
+
let Ii = v(() => {
|
|
1249
1249
|
let e = P.value.table.useDialog && !P.value.table.show, t = H.value.showTable;
|
|
1250
1250
|
return {
|
|
1251
|
-
component: e ?
|
|
1251
|
+
component: e ? En : xn,
|
|
1252
1252
|
title: `${V.value.title.text}${V.value.title.subtitle.text ? `: ${V.value.title.subtitle.text}` : ""}`,
|
|
1253
1253
|
props: e ? {
|
|
1254
1254
|
backgroundColor: P.value.table.th.backgroundColor,
|
|
1255
1255
|
color: P.value.table.th.color,
|
|
1256
1256
|
headerColor: P.value.table.th.color,
|
|
1257
1257
|
headerBg: P.value.table.th.backgroundColor,
|
|
1258
|
-
isFullscreen:
|
|
1259
|
-
fullscreenParent:
|
|
1258
|
+
isFullscreen: yi.value,
|
|
1259
|
+
fullscreenParent: Fn.value,
|
|
1260
1260
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
1261
|
-
isCursorPointer:
|
|
1261
|
+
isCursorPointer: or.value
|
|
1262
1262
|
} : {
|
|
1263
1263
|
hideDetails: !0,
|
|
1264
1264
|
config: {
|
|
@@ -1277,22 +1277,22 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1277
1277
|
};
|
|
1278
1278
|
});
|
|
1279
1279
|
Je(() => H.value.showTable, (e) => {
|
|
1280
|
-
P.value.table.show || (e && P.value.table.useDialog &&
|
|
1280
|
+
P.value.table.show || (e && P.value.table.useDialog && Kn.value ? Kn.value.open() : "close" in Kn.value && Kn.value.close());
|
|
1281
1281
|
});
|
|
1282
|
-
function
|
|
1283
|
-
H.value.showTable = !1,
|
|
1282
|
+
function Li() {
|
|
1283
|
+
H.value.showTable = !1, qn.value && qn.value.setTableIconState(!1);
|
|
1284
1284
|
}
|
|
1285
|
-
let
|
|
1285
|
+
let Ri = v(() => V.value.backgroundColor), zi = v(() => V.value.legend), Bi = v(() => V.value.title), { isCallbackImaging: Vi, isCallbackSvg: Hi, generateSvg: Ui, onGenerateImage: Wi } = ve({
|
|
1286
1286
|
svg: gr,
|
|
1287
|
-
title:
|
|
1288
|
-
legend:
|
|
1287
|
+
title: Bi,
|
|
1288
|
+
legend: zi,
|
|
1289
1289
|
legendItems: Kr,
|
|
1290
|
-
backgroundColor:
|
|
1290
|
+
backgroundColor: Ri,
|
|
1291
1291
|
getSvgCallback: () => P.value.userOptions.callbacks.svg,
|
|
1292
1292
|
generateImage: Dr
|
|
1293
1293
|
});
|
|
1294
|
-
async function
|
|
1295
|
-
if (
|
|
1294
|
+
async function Gi() {
|
|
1295
|
+
if (An("copyAlt", {
|
|
1296
1296
|
config: P.value,
|
|
1297
1297
|
dataset: Jr.value
|
|
1298
1298
|
}), !P.value.userOptions.callbacks.altCopy) {
|
|
@@ -1304,8 +1304,8 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1304
1304
|
dataset: Jr.value
|
|
1305
1305
|
}));
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1308
|
-
let n =
|
|
1307
|
+
function Ki(e, t) {
|
|
1308
|
+
let n = Zi.value.filter((t) => t.id !== e.id);
|
|
1309
1309
|
if (!n.length) return null;
|
|
1310
1310
|
let r = ((n) => {
|
|
1311
1311
|
if (!n.length) return null;
|
|
@@ -1341,59 +1341,59 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1341
1341
|
return Math.abs(t === "right" || t === "left" ? r.y - e.y : r.x - e.x) < i ? r : n;
|
|
1342
1342
|
}, null) : null;
|
|
1343
1343
|
}
|
|
1344
|
-
function Ki() {
|
|
1345
|
-
ar.value = null, tr.value = null, ir.value = !0;
|
|
1346
|
-
}
|
|
1347
1344
|
function qi() {
|
|
1348
|
-
|
|
1345
|
+
ir.value = null, er.value = null, rr.value = !0;
|
|
1349
1346
|
}
|
|
1350
|
-
function Ji(
|
|
1351
|
-
|
|
1347
|
+
function Ji() {
|
|
1348
|
+
ni(), nr.value = "pointer", rr.value = !1;
|
|
1349
|
+
}
|
|
1350
|
+
function Yi(e) {
|
|
1351
|
+
if (!gr.value || Ci.value || document.activeElement !== gr.value || !Zi.value.length) return;
|
|
1352
1352
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
1353
1353
|
if (!t && !n && !r && !i && !a && !o) return;
|
|
1354
1354
|
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
1355
|
-
|
|
1355
|
+
ni(), nr.value = "pointer";
|
|
1356
1356
|
return;
|
|
1357
1357
|
}
|
|
1358
1358
|
if (a) {
|
|
1359
|
-
if (
|
|
1360
|
-
let e =
|
|
1359
|
+
if (ir.value === null) return;
|
|
1360
|
+
let e = Zi.value[ir.value];
|
|
1361
1361
|
if (!e) return;
|
|
1362
|
-
|
|
1362
|
+
di(e, e.seriesIndex);
|
|
1363
1363
|
return;
|
|
1364
1364
|
}
|
|
1365
1365
|
let s = null;
|
|
1366
|
-
if (n && (s = "right"), t && (s = "left"), i && (s = "down"), r && (s = "up"),
|
|
1366
|
+
if (n && (s = "right"), t && (s = "left"), i && (s = "down"), r && (s = "up"), er.value === null) {
|
|
1367
1367
|
let e = Z.value;
|
|
1368
1368
|
if (e && e.id) {
|
|
1369
|
-
let t =
|
|
1369
|
+
let t = Ki(e, s);
|
|
1370
1370
|
if (!t) {
|
|
1371
|
-
let t =
|
|
1371
|
+
let t = Qi.value.get(e.id);
|
|
1372
1372
|
if (t === void 0) return;
|
|
1373
|
-
|
|
1373
|
+
li(e, e.seriesIndex, "keyboard", t);
|
|
1374
1374
|
return;
|
|
1375
1375
|
}
|
|
1376
|
-
let n =
|
|
1376
|
+
let n = Qi.value.get(t.id);
|
|
1377
1377
|
if (n === void 0) return;
|
|
1378
|
-
|
|
1378
|
+
li(t, t.seriesIndex, "keyboard", n);
|
|
1379
1379
|
return;
|
|
1380
1380
|
}
|
|
1381
|
-
let t =
|
|
1381
|
+
let t = Zi.value[0];
|
|
1382
1382
|
if (!t) return;
|
|
1383
|
-
let n =
|
|
1384
|
-
|
|
1383
|
+
let n = Qi.value.get(t.id) ?? 0;
|
|
1384
|
+
li(t, t.seriesIndex, "keyboard", n);
|
|
1385
1385
|
return;
|
|
1386
1386
|
}
|
|
1387
|
-
let c =
|
|
1387
|
+
let c = Qi.value.get(er.value);
|
|
1388
1388
|
if (c === void 0) return;
|
|
1389
|
-
let l =
|
|
1389
|
+
let l = Zi.value[c];
|
|
1390
1390
|
if (!l) return;
|
|
1391
|
-
let u =
|
|
1391
|
+
let u = Ki(l, s);
|
|
1392
1392
|
if (!u) return;
|
|
1393
|
-
let d =
|
|
1394
|
-
d !== void 0 &&
|
|
1393
|
+
let d = Qi.value.get(u.id);
|
|
1394
|
+
d !== void 0 && li(u, u.seriesIndex, "keyboard", d);
|
|
1395
1395
|
}
|
|
1396
|
-
let
|
|
1396
|
+
let Xi = v(() => {
|
|
1397
1397
|
if (!Z.value) return "";
|
|
1398
1398
|
let e = Z.value, n = isNaN(e.v.x) ? "-" : g(z.value.selectors.labels.x.formatter, e.v.x, t({
|
|
1399
1399
|
p: B.value.prefix,
|
|
@@ -1418,57 +1418,57 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1418
1418
|
`${I.value.name}: ${n}`,
|
|
1419
1419
|
`${L.value.name}: ${r}`
|
|
1420
1420
|
].filter(Boolean).join(". ");
|
|
1421
|
-
}),
|
|
1421
|
+
}), Zi = v(() => q.value.flatMap((e, t) => e.plots.map((n) => ({
|
|
1422
1422
|
...n,
|
|
1423
1423
|
seriesIndex: t,
|
|
1424
1424
|
seriesId: e.id,
|
|
1425
1425
|
seriesName: e.name,
|
|
1426
1426
|
shape: e.shape || "circle",
|
|
1427
1427
|
color: e.color
|
|
1428
|
-
})))),
|
|
1428
|
+
})))), Qi = v(() => {
|
|
1429
1429
|
let e = /* @__PURE__ */ new Map();
|
|
1430
|
-
return
|
|
1430
|
+
return Zi.value.forEach((t, n) => {
|
|
1431
1431
|
e.set(t.id, n);
|
|
1432
1432
|
}), e;
|
|
1433
|
-
}),
|
|
1434
|
-
headers:
|
|
1435
|
-
rows:
|
|
1433
|
+
}), $i = v(() => ({
|
|
1434
|
+
headers: vi.value?.colNames ?? [],
|
|
1435
|
+
rows: vi.value?.a11yBody ?? []
|
|
1436
1436
|
}));
|
|
1437
1437
|
return Ce({
|
|
1438
1438
|
getData: Xr,
|
|
1439
|
-
getImage:
|
|
1439
|
+
getImage: Ti,
|
|
1440
1440
|
generatePdf: Er,
|
|
1441
|
-
generateCsv:
|
|
1441
|
+
generateCsv: _i,
|
|
1442
1442
|
generateImage: Dr,
|
|
1443
|
-
generateSvg:
|
|
1444
|
-
hideSeries:
|
|
1445
|
-
showSeries:
|
|
1446
|
-
toggleTable:
|
|
1447
|
-
toggleTooltip:
|
|
1448
|
-
toggleAnnotator:
|
|
1449
|
-
toggleFullscreen:
|
|
1450
|
-
copyAlt:
|
|
1443
|
+
generateSvg: Ui,
|
|
1444
|
+
hideSeries: gi,
|
|
1445
|
+
showSeries: hi,
|
|
1446
|
+
toggleTable: xi,
|
|
1447
|
+
toggleTooltip: Si,
|
|
1448
|
+
toggleAnnotator: wi,
|
|
1449
|
+
toggleFullscreen: bi,
|
|
1450
|
+
copyAlt: Gi
|
|
1451
1451
|
}), (e, n) => (w(), b("div", {
|
|
1452
|
-
class: Ve(`vue-data-ui-component vue-ui-scatter ${
|
|
1452
|
+
class: Ve(`vue-data-ui-component vue-ui-scatter ${yi.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1453
1453
|
ref_key: "scatterChart",
|
|
1454
|
-
ref:
|
|
1454
|
+
ref: Fn,
|
|
1455
1455
|
id: `vue-ui-scatter_${M.value}`,
|
|
1456
1456
|
style: He(`font-family:${V.value.fontFamily};width:100%; text-align:center;background:${V.value.backgroundColor};${P.value.responsive ? "height: 100%" : ""}`),
|
|
1457
1457
|
onMouseenter: n[5] ||= () => k(mr)(!0),
|
|
1458
1458
|
onMouseleave: n[6] ||= () => {
|
|
1459
|
-
k(mr)(!1),
|
|
1459
|
+
k(mr)(!1), rr.value || ni();
|
|
1460
1460
|
}
|
|
1461
1461
|
}, [
|
|
1462
1462
|
x("div", {
|
|
1463
1463
|
id: `chart-instructions-${M.value}`,
|
|
1464
1464
|
class: "sr-only"
|
|
1465
1465
|
}, [x("p", null, O(P.value.a11y.translations.keyboardNavigation), 1)], 8, Ze),
|
|
1466
|
-
H.value.showTooltip ? y("", !0) : (w(), b("div", Qe, O(
|
|
1467
|
-
|
|
1466
|
+
H.value.showTooltip ? y("", !0) : (w(), b("div", Qe, O(Xi.value), 1)),
|
|
1467
|
+
$i.value?.rows?.length && jn.value ? (w(), Pe(Oe, {
|
|
1468
1468
|
key: 1,
|
|
1469
1469
|
uid: M.value,
|
|
1470
|
-
head:
|
|
1471
|
-
body:
|
|
1470
|
+
head: $i.value.headers,
|
|
1471
|
+
body: $i.value.rows,
|
|
1472
1472
|
notice: P.value.a11y.translations.tableAvailable,
|
|
1473
1473
|
caption: P.value.a11y.translations.tableCaption
|
|
1474
1474
|
}, null, 8, [
|
|
@@ -1478,15 +1478,15 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1478
1478
|
"notice",
|
|
1479
1479
|
"caption"
|
|
1480
1480
|
])) : y("", !0),
|
|
1481
|
-
F.value.buttons.annotator ? (w(), Pe(k(
|
|
1481
|
+
F.value.buttons.annotator ? (w(), Pe(k(Cn), {
|
|
1482
1482
|
key: 2,
|
|
1483
1483
|
svgRef: k(gr),
|
|
1484
1484
|
backgroundColor: V.value.backgroundColor,
|
|
1485
1485
|
color: V.value.color,
|
|
1486
|
-
active:
|
|
1487
|
-
isCursorPointer:
|
|
1486
|
+
active: Ci.value,
|
|
1487
|
+
isCursorPointer: or.value,
|
|
1488
1488
|
palette: F.value.annotatorPalette,
|
|
1489
|
-
onClose:
|
|
1489
|
+
onClose: wi
|
|
1490
1490
|
}, {
|
|
1491
1491
|
"annotator-action-close": A(() => [D(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1492
1492
|
"annotator-action-color": A(({ color: t }) => [D(e.$slots, "annotator-action-color", C(S({ color: t })), void 0, !0)]),
|
|
@@ -1506,17 +1506,17 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1506
1506
|
Or.value ? (w(), b("div", {
|
|
1507
1507
|
key: 3,
|
|
1508
1508
|
ref_key: "noTitle",
|
|
1509
|
-
ref:
|
|
1509
|
+
ref: zn,
|
|
1510
1510
|
class: "vue-data-ui-no-title-space",
|
|
1511
1511
|
style: "height:36px; width: 100%;background:transparent"
|
|
1512
1512
|
}, null, 512)) : y("", !0),
|
|
1513
1513
|
V.value.title.text ? (w(), b("div", {
|
|
1514
1514
|
key: 4,
|
|
1515
1515
|
ref_key: "chartTitle",
|
|
1516
|
-
ref:
|
|
1516
|
+
ref: In,
|
|
1517
1517
|
style: "width:100%;background:transparent"
|
|
1518
1518
|
}, [(w(), Pe(xe, {
|
|
1519
|
-
key: `title_${
|
|
1519
|
+
key: `title_${Bn.value}`,
|
|
1520
1520
|
config: {
|
|
1521
1521
|
title: {
|
|
1522
1522
|
cy: "scatter-div-title",
|
|
@@ -1529,10 +1529,10 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1529
1529
|
}
|
|
1530
1530
|
}, null, 8, ["config"]))], 512)) : y("", !0),
|
|
1531
1531
|
x("div", { id: `legend-top-${M.value}` }, null, 8, $e),
|
|
1532
|
-
F.value.show &&
|
|
1532
|
+
F.value.show && jn.value && (k(hr) || k(pr)) ? (w(), Pe(k(wn), {
|
|
1533
1533
|
ref_key: "userOptionsRef",
|
|
1534
|
-
ref:
|
|
1535
|
-
key: `user_options_${
|
|
1534
|
+
ref: qn,
|
|
1535
|
+
key: `user_options_${Pn.value}`,
|
|
1536
1536
|
backgroundColor: V.value.backgroundColor,
|
|
1537
1537
|
color: V.value.color,
|
|
1538
1538
|
isImaging: k(Tr),
|
|
@@ -1547,25 +1547,25 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1547
1547
|
hasFullscreen: F.value.buttons.fullscreen,
|
|
1548
1548
|
hasAltCopy: F.value.buttons.altCopy,
|
|
1549
1549
|
isTooltip: H.value.showTooltip,
|
|
1550
|
-
isFullscreen:
|
|
1550
|
+
isFullscreen: yi.value,
|
|
1551
1551
|
titles: { ...F.value.buttonTitles },
|
|
1552
|
-
chartElement:
|
|
1552
|
+
chartElement: Fn.value,
|
|
1553
1553
|
position: F.value.position,
|
|
1554
1554
|
hasAnnotator: F.value.buttons.annotator,
|
|
1555
|
-
isAnnotation:
|
|
1555
|
+
isAnnotation: Ci.value,
|
|
1556
1556
|
callbacks: F.value.callbacks,
|
|
1557
1557
|
printScale: F.value.print.scale,
|
|
1558
1558
|
tableDialog: P.value.table.useDialog,
|
|
1559
|
-
isCursorPointer:
|
|
1560
|
-
onToggleFullscreen:
|
|
1559
|
+
isCursorPointer: or.value,
|
|
1560
|
+
onToggleFullscreen: bi,
|
|
1561
1561
|
onGeneratePdf: k(Er),
|
|
1562
|
-
onGenerateCsv:
|
|
1563
|
-
onGenerateImage: k(
|
|
1564
|
-
onGenerateSvg: k(
|
|
1565
|
-
onToggleTable:
|
|
1566
|
-
onToggleTooltip:
|
|
1567
|
-
onToggleAnnotator:
|
|
1568
|
-
onCopyAlt:
|
|
1562
|
+
onGenerateCsv: _i,
|
|
1563
|
+
onGenerateImage: k(Wi),
|
|
1564
|
+
onGenerateSvg: k(Ui),
|
|
1565
|
+
onToggleTable: xi,
|
|
1566
|
+
onToggleTooltip: Si,
|
|
1567
|
+
onToggleAnnotator: wi,
|
|
1568
|
+
onCopyAlt: Gi,
|
|
1569
1569
|
style: He({ visibility: k(hr) ? k(pr) ? "visible" : "hidden" : "visible" })
|
|
1570
1570
|
}, Fe({ _: 2 }, [
|
|
1571
1571
|
e.$slots.menuIcon ? {
|
|
@@ -1644,19 +1644,19 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1644
1644
|
xmlns: k(ae),
|
|
1645
1645
|
"aria-describedby": `chart-instructions-${M.value}`,
|
|
1646
1646
|
class: Ve({
|
|
1647
|
-
"vue-data-ui-fullscreen--on":
|
|
1648
|
-
"vue-data-ui-fulscreen--off": !
|
|
1649
|
-
"vue-data-ui-no-transition": !k(
|
|
1647
|
+
"vue-data-ui-fullscreen--on": yi.value,
|
|
1648
|
+
"vue-data-ui-fulscreen--off": !yi.value,
|
|
1649
|
+
"vue-data-ui-no-transition": !k(ar)
|
|
1650
1650
|
}),
|
|
1651
1651
|
viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
|
|
1652
1652
|
style: He(`max-width:100%;overflow:visible;background:transparent;color:${V.value.color}`),
|
|
1653
|
-
onMouseleave:
|
|
1653
|
+
onMouseleave: Oi,
|
|
1654
1654
|
tabindex: "0",
|
|
1655
|
-
onFocus:
|
|
1656
|
-
onBlur:
|
|
1657
|
-
onKeydown:
|
|
1655
|
+
onFocus: qi,
|
|
1656
|
+
onBlur: Ji,
|
|
1657
|
+
onKeydown: Yi
|
|
1658
1658
|
}, [
|
|
1659
|
-
Le(k(
|
|
1659
|
+
Le(k(Tn)),
|
|
1660
1660
|
e.$slots["chart-background"] ? (w(), b("foreignObject", {
|
|
1661
1661
|
key: 0,
|
|
1662
1662
|
x: 0,
|
|
@@ -1695,19 +1695,19 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1695
1695
|
I.value.scales.show ? (w(), b("g", {
|
|
1696
1696
|
key: 3,
|
|
1697
1697
|
ref_key: "xAxisScaleLabels",
|
|
1698
|
-
ref:
|
|
1698
|
+
ref: $n
|
|
1699
1699
|
}, [(w(!0), b(_, null, E(Br.value, (e, t) => (w(), b("g", {
|
|
1700
1700
|
class: "vue-ui-scatter-scale-group",
|
|
1701
1701
|
key: `scatter-x-scale-${M.value}-${t}`,
|
|
1702
1702
|
opacity: +!Hr.value
|
|
1703
1703
|
}, [x("path", {
|
|
1704
|
-
class: Ve({ "vue-data-ui-transition": k(
|
|
1704
|
+
class: Ve({ "vue-data-ui-transition": k(ar) }),
|
|
1705
1705
|
stroke: V.value.layout.axis.stroke,
|
|
1706
1706
|
"stroke-width": V.value.layout.axis.strokeWidth,
|
|
1707
1707
|
d: `M${e.x},${K.value.y - 4} ${e.x},${K.value.y + 4}`,
|
|
1708
1708
|
"stroke-linecap": "round"
|
|
1709
1709
|
}, null, 10, lt), x("text", {
|
|
1710
|
-
class: Ve({ "vue-data-ui-transition": k(
|
|
1710
|
+
class: Ve({ "vue-data-ui-transition": k(ar) }),
|
|
1711
1711
|
transform: `translate(${e.x}, ${K.value.y + I.value.scales.labels.fontSize + 6 + I.value.scales.labels.offsetY})`,
|
|
1712
1712
|
"text-anchor": "middle",
|
|
1713
1713
|
"font-size": I.value.scales.labels.fontSize,
|
|
@@ -1729,18 +1729,18 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1729
1729
|
L.value.scales.show ? (w(), b("g", {
|
|
1730
1730
|
key: 5,
|
|
1731
1731
|
ref_key: "yAxisScaleLabels",
|
|
1732
|
-
ref:
|
|
1732
|
+
ref: Qn,
|
|
1733
1733
|
opacity: +!Ur.value,
|
|
1734
1734
|
style: { transition: "opacity 0.1s ease-in-out" },
|
|
1735
1735
|
class: "vue-ui-scatter-scale-group"
|
|
1736
1736
|
}, [(w(!0), b(_, null, E(Vr.value, (e, t) => (w(), b("g", { key: `scatter-y-scale-${M.value}-${t}` }, [x("path", {
|
|
1737
|
-
class: Ve({ "vue-data-ui-transition": k(
|
|
1737
|
+
class: Ve({ "vue-data-ui-transition": k(ar) }),
|
|
1738
1738
|
d: `M${K.value.x - 4},${e.y} ${K.value.x + 4},${e.y}`,
|
|
1739
1739
|
stroke: V.value.layout.axis.stroke,
|
|
1740
1740
|
"stroke-width": V.value.layout.axis.strokeWidth,
|
|
1741
1741
|
"stroke-linecap": "round"
|
|
1742
1742
|
}, null, 10, mt), x("text", {
|
|
1743
|
-
class: Ve({ "vue-data-ui-transition": k(
|
|
1743
|
+
class: Ve({ "vue-data-ui-transition": k(ar) }),
|
|
1744
1744
|
transform: `translate(${K.value.x - L.value.scales.labels.fontSize / 2 - 8 + L.value.scales.labels.offsetX}, ${e.y + L.value.scales.labels.fontSize / 3})`,
|
|
1745
1745
|
"text-anchor": "end",
|
|
1746
1746
|
"font-size": L.value.scales.labels.fontSize,
|
|
@@ -1803,10 +1803,10 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1803
1803
|
width: W.value.width / J.value <= 0 ? 1e-4 : W.value.width / J.value,
|
|
1804
1804
|
height: Math.max(.1, R.value.size),
|
|
1805
1805
|
fill: "transparent",
|
|
1806
|
-
onMouseenter: (e) =>
|
|
1807
|
-
onMouseleave: n[0] ||= (e) =>
|
|
1806
|
+
onMouseenter: (e) => Ei(t),
|
|
1807
|
+
onMouseleave: n[0] ||= (e) => Oi()
|
|
1808
1808
|
}, null, 40, vt)) : y("", !0),
|
|
1809
|
-
Y.value.avgX[t] &&
|
|
1809
|
+
Y.value.avgX[t] && Wn.value != null && Wn.value === t ? (w(), b("g", yt, [
|
|
1810
1810
|
x("rect", {
|
|
1811
1811
|
x: Y.value.avgX[t] - W.value.width / J.value / 2,
|
|
1812
1812
|
y: W.value.top,
|
|
@@ -1863,10 +1863,10 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1863
1863
|
width: Math.max(.1, R.value.size),
|
|
1864
1864
|
height: W.value.height / J.value <= 0 ? 1e-4 : W.value.height / J.value,
|
|
1865
1865
|
fill: "transparent",
|
|
1866
|
-
onMouseenter: (e) =>
|
|
1867
|
-
onMouseleave: n[1] ||= (e) =>
|
|
1866
|
+
onMouseenter: (e) => Di(t),
|
|
1867
|
+
onMouseleave: n[1] ||= (e) => Oi()
|
|
1868
1868
|
}, null, 40, wt)) : y("", !0),
|
|
1869
|
-
Y.value.avgY[t] &&
|
|
1869
|
+
Y.value.avgY[t] && Gn.value != null && Gn.value === t ? (w(), b("g", Tt, [
|
|
1870
1870
|
x("rect", {
|
|
1871
1871
|
x: W.value.left,
|
|
1872
1872
|
y: Y.value.avgY[t] - W.value.height / J.value / 2,
|
|
@@ -1961,9 +1961,9 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1961
1961
|
stroke: z.value.stroke,
|
|
1962
1962
|
"stroke-width": z.value.strokeWidth,
|
|
1963
1963
|
style: He(`opacity:${X.value && X.value === n.id || Q.value.includes(n.id) ? 1 : z.value.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) / Yr.value : z.value.significance.show && Math.abs(n.deviation) > z.value.significance.deviationThreshold ? z.value.significance.opacity : 1}`),
|
|
1964
|
-
onMouseover: (e) =>
|
|
1965
|
-
onMouseleave: (e) =>
|
|
1966
|
-
onClick: (e) =>
|
|
1964
|
+
onMouseover: (e) => li(n, t, "pointer", Qi.value.get(n.id)),
|
|
1965
|
+
onMouseleave: (e) => ui(n, t),
|
|
1966
|
+
onClick: (e) => di(n, t)
|
|
1967
1967
|
}, null, 44, Lt))), 128))])) : (w(), b("g", Rt, [(w(!0), b(_, null, E(e.plots, (n, r) => (w(), Pe(Se, {
|
|
1968
1968
|
class: "vue-ui-scatter-datapoint",
|
|
1969
1969
|
plot: {
|
|
@@ -1976,9 +1976,9 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1976
1976
|
stroke: z.value.stroke,
|
|
1977
1977
|
strokeWidth: z.value.strokeWidth,
|
|
1978
1978
|
style: He(`opacity:${X.value && X.value === n.id || Q.value.includes(n.id) ? 1 : z.value.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) / Yr.value : z.value.significance.show && Math.abs(n.deviation) > z.value.significance.deviationThreshold ? z.value.significance.opacity : 1}`),
|
|
1979
|
-
onMouseover: (e) =>
|
|
1980
|
-
onMouseleave: (e) =>
|
|
1981
|
-
onClick: (e) =>
|
|
1979
|
+
onMouseover: (e) => li(n, t, "pointer", Qi.value.get(n.id)),
|
|
1980
|
+
onMouseleave: (e) => ui(n, t),
|
|
1981
|
+
onClick: (e) => di(n, t)
|
|
1982
1982
|
}, null, 8, [
|
|
1983
1983
|
"plot",
|
|
1984
1984
|
"radius",
|
|
@@ -1997,12 +1997,12 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1997
1997
|
"text-anchor": "middle",
|
|
1998
1998
|
"font-size": z.value.name.fontSize,
|
|
1999
1999
|
fill: k(ie)(z.value.name.color, X.value && X.value !== e.id || Q.value.length && !Q.value.includes(e.id) ? z.value.opacityNotSelected * 100 : 100),
|
|
2000
|
-
onMouseover: (n) =>
|
|
2001
|
-
onMouseleave: (n) =>
|
|
2002
|
-
onClick: (n) =>
|
|
2000
|
+
onMouseover: (n) => li(e, t, "pointer", Qi.value.get(e.id)),
|
|
2001
|
+
onMouseleave: (n) => ui(e, t),
|
|
2002
|
+
onClick: (n) => di(e, t)
|
|
2003
2003
|
}, O(e.clusterName), 41, zt))), 128)) : y("", !0)]))), 128)),
|
|
2004
2004
|
P.value.usePerformanceMode ? (w(), b(_, { key: 9 }, [
|
|
2005
|
-
x("g",
|
|
2005
|
+
x("g", null, [(w(!0), b(_, null, E(ji.value, (e) => (w(), b("path", {
|
|
2006
2006
|
key: e.id,
|
|
2007
2007
|
d: e.d,
|
|
2008
2008
|
fill: e.fill,
|
|
@@ -2011,15 +2011,15 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2011
2011
|
"stroke-opacity": e.strokeOpacity,
|
|
2012
2012
|
"vector-effect": "non-scaling-stroke",
|
|
2013
2013
|
"paint-order": "fill"
|
|
2014
|
-
}, null, 8,
|
|
2015
|
-
Z.value
|
|
2014
|
+
}, null, 8, Bt))), 128))]),
|
|
2015
|
+
Z.value ? (w(), b("g", Vt, [Le(Se, {
|
|
2016
2016
|
shape: Z.value.shape || "circle",
|
|
2017
2017
|
color: Z.value.color,
|
|
2018
2018
|
plot: {
|
|
2019
2019
|
x: Z.value.x,
|
|
2020
2020
|
y: Z.value.y
|
|
2021
2021
|
},
|
|
2022
|
-
radius:
|
|
2022
|
+
radius: Z.value.weight * z.value.hoverRadiusRatio,
|
|
2023
2023
|
stroke: z.value.stroke,
|
|
2024
2024
|
strokeWidth: z.value.strokeWidth
|
|
2025
2025
|
}, null, 8, [
|
|
@@ -2036,12 +2036,13 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2036
2036
|
width: Math.max(1e-4, W.value.width),
|
|
2037
2037
|
height: Math.max(1e-4, W.value.height),
|
|
2038
2038
|
fill: "transparent",
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2039
|
+
style: He({ cursor: $r.value && sr.value ? "pointer" : "default" }),
|
|
2040
|
+
onMousemove: n[2] ||= (...e) => k(Ni) && k(Ni)(...e),
|
|
2041
|
+
onMouseleave: Pi,
|
|
2042
|
+
onClick: Fi
|
|
2043
|
+
}, null, 44, Ht)
|
|
2043
2044
|
], 64)) : y("", !0),
|
|
2044
|
-
(w(!0), b(_, null, E(
|
|
2045
|
+
(w(!0), b(_, null, E(oi.value, (e) => (w(), b(_, { key: `selector_${e.id}` }, [z.value.selectors.show ? (w(), b("g", Ut, [
|
|
2045
2046
|
x("line", {
|
|
2046
2047
|
x1: K.value.x,
|
|
2047
2048
|
x2: e.x,
|
|
@@ -2052,7 +2053,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2052
2053
|
"stroke-dasharray": z.value.selectors.strokeDasharray,
|
|
2053
2054
|
"stroke-linecap": "round",
|
|
2054
2055
|
class: "line-pointer"
|
|
2055
|
-
}, null, 8,
|
|
2056
|
+
}, null, 8, Wt),
|
|
2056
2057
|
x("line", {
|
|
2057
2058
|
x1: e.x,
|
|
2058
2059
|
x2: e.x,
|
|
@@ -2063,7 +2064,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2063
2064
|
"stroke-dasharray": z.value.selectors.strokeDasharray,
|
|
2064
2065
|
"stroke-linecap": "round",
|
|
2065
2066
|
class: "line-pointer"
|
|
2066
|
-
}, null, 8,
|
|
2067
|
+
}, null, 8, Gt),
|
|
2067
2068
|
L.value.scales.show ? y("", !0) : (w(), b("text", {
|
|
2068
2069
|
key: 0,
|
|
2069
2070
|
x: K.value.x + (e.x > K.value.x ? -6 : 6),
|
|
@@ -2077,7 +2078,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2077
2078
|
v: k(h)(e.v.y),
|
|
2078
2079
|
s: z.value.selectors.labels.suffix,
|
|
2079
2080
|
r: z.value.selectors.labels.rounding
|
|
2080
|
-
}), { datapoint: e })), 9,
|
|
2081
|
+
}), { datapoint: e })), 9, Kt)),
|
|
2081
2082
|
I.value.scales.show ? y("", !0) : (w(), b("text", {
|
|
2082
2083
|
key: 1,
|
|
2083
2084
|
x: e.x,
|
|
@@ -2091,7 +2092,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2091
2092
|
v: k(h)(e.v.x),
|
|
2092
2093
|
s: z.value.selectors.labels.suffix,
|
|
2093
2094
|
r: z.value.selectors.labels.rounding
|
|
2094
|
-
}), { datapoint: e })), 9,
|
|
2095
|
+
}), { datapoint: e })), 9, qt)),
|
|
2095
2096
|
I.value.scales.show ? (w(), b("text", {
|
|
2096
2097
|
key: 2,
|
|
2097
2098
|
x: e.x,
|
|
@@ -2099,7 +2100,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2099
2100
|
"text-anchor": "middle",
|
|
2100
2101
|
"font-size": I.value.scales.labels.fontSize,
|
|
2101
2102
|
fill: I.value.scales.labels.color
|
|
2102
|
-
}, O(
|
|
2103
|
+
}, O(si(e)), 9, Jt)) : y("", !0),
|
|
2103
2104
|
L.value.scales.show ? (w(), b("text", {
|
|
2104
2105
|
key: 3,
|
|
2105
2106
|
x: K.value.x - L.value.scales.labels.fontSize / 2 - 8 + L.value.scales.labels.offsetX,
|
|
@@ -2107,7 +2108,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2107
2108
|
"text-anchor": "end",
|
|
2108
2109
|
"font-size": L.value.scales.labels.fontSize,
|
|
2109
2110
|
fill: L.value.scales.labels.color
|
|
2110
|
-
}, O(
|
|
2111
|
+
}, O(ci(e)), 9, Yt)) : y("", !0),
|
|
2111
2112
|
x("circle", {
|
|
2112
2113
|
cx: K.value.x,
|
|
2113
2114
|
cy: e.y,
|
|
@@ -2116,7 +2117,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2116
2117
|
stroke: z.value.selectors.markers.stroke,
|
|
2117
2118
|
"stroke-width": z.value.selectors.markers.strokeWidth,
|
|
2118
2119
|
class: "line-pointer"
|
|
2119
|
-
}, null, 8,
|
|
2120
|
+
}, null, 8, Xt),
|
|
2120
2121
|
x("circle", {
|
|
2121
2122
|
cx: e.x,
|
|
2122
2123
|
cy: K.value.y,
|
|
@@ -2125,7 +2126,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2125
2126
|
stroke: z.value.selectors.markers.stroke,
|
|
2126
2127
|
"stroke-width": z.value.selectors.markers.strokeWidth,
|
|
2127
2128
|
class: "line-pointer"
|
|
2128
|
-
}, null, 8,
|
|
2129
|
+
}, null, 8, Zt),
|
|
2129
2130
|
z.value.selectors.labels.showName && !z.value.name.show ? (w(), b("text", {
|
|
2130
2131
|
key: 4,
|
|
2131
2132
|
x: e.x,
|
|
@@ -2134,12 +2135,12 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2134
2135
|
fill: z.value.selectors.labels.color,
|
|
2135
2136
|
"font-weight": z.value.selectors.labels.bold ? "bold" : "normal",
|
|
2136
2137
|
"text-anchor": e.x < W.value.left + 100 ? "start" : e.x > W.value.right - 100 ? "end" : e.x > K.value.x ? "start" : "end"
|
|
2137
|
-
}, O(e.v.name), 9,
|
|
2138
|
+
}, O(e.v.name), 9, Qt)) : y("", !0)
|
|
2138
2139
|
])) : y("", !0)], 64))), 128)),
|
|
2139
2140
|
I.value.show ? (w(), b("g", {
|
|
2140
2141
|
key: 10,
|
|
2141
2142
|
ref_key: "xAxisLabelLeft",
|
|
2142
|
-
ref:
|
|
2143
|
+
ref: Jn
|
|
2143
2144
|
}, [x("text", {
|
|
2144
2145
|
id: `vue-ui-scatter-xAxis-label-${M.value}`,
|
|
2145
2146
|
transform: `translate(${I.value.fontSize + (V.value.layout.dataLabels.reverseAxisLabels ? L.value.offsetX : I.value.offsetX)}, ${W.value.top + W.value.height / 2 + (V.value.layout.dataLabels.reverseAxisLabels ? L.value.offsetY : I.value.offsetY)}), rotate(-90)`,
|
|
@@ -2147,7 +2148,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2147
2148
|
"font-size": I.value.fontSize,
|
|
2148
2149
|
"font-weight": I.value.bold ? "bold" : "normal",
|
|
2149
2150
|
fill: I.value.color
|
|
2150
|
-
}, O(V.value.layout.dataLabels.reverseAxisLabels ? L.value.name : I.value.name), 9,
|
|
2151
|
+
}, O(V.value.layout.dataLabels.reverseAxisLabels ? L.value.name : I.value.name), 9, $t), I.value.showValue ? (w(), b("text", {
|
|
2151
2152
|
key: 0,
|
|
2152
2153
|
"text-anchor": "middle",
|
|
2153
2154
|
"font-size": I.value.fontSize,
|
|
@@ -2158,11 +2159,11 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2158
2159
|
v: k(h)(G.value.xMin),
|
|
2159
2160
|
s: z.value.selectors.labels.suffix,
|
|
2160
2161
|
r: V.value.layout.dataLabels.xAxis.rounding
|
|
2161
|
-
}))), 9,
|
|
2162
|
+
}))), 9, en)) : y("", !0)], 512)) : y("", !0),
|
|
2162
2163
|
I.value.show && I.value.showValue ? (w(), b("text", {
|
|
2163
2164
|
key: 11,
|
|
2164
2165
|
ref_key: "xAxisLabelRight",
|
|
2165
|
-
ref:
|
|
2166
|
+
ref: Yn,
|
|
2166
2167
|
"text-anchor": "middle",
|
|
2167
2168
|
transform: `translate(${W.value.right + V.value.layout.padding.right + 6}, ${K.value.y + I.value.fontSize / 3}), rotate(-90)`,
|
|
2168
2169
|
"font-size": I.value.fontSize,
|
|
@@ -2172,11 +2173,11 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2172
2173
|
v: k(h)(G.value.xMax),
|
|
2173
2174
|
s: z.value.selectors.labels.suffix,
|
|
2174
2175
|
r: I.value.rounding
|
|
2175
|
-
}))), 9,
|
|
2176
|
+
}))), 9, tn)) : y("", !0),
|
|
2176
2177
|
L.value.show && L.value.showValue ? (w(), b("text", {
|
|
2177
2178
|
key: 12,
|
|
2178
2179
|
ref_key: "yAxisLabelTop",
|
|
2179
|
-
ref:
|
|
2180
|
+
ref: Xn,
|
|
2180
2181
|
x: K.value.x,
|
|
2181
2182
|
y: W.value.top - L.value.fontSize,
|
|
2182
2183
|
"text-anchor": "middle",
|
|
@@ -2187,11 +2188,11 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2187
2188
|
v: k(h)(G.value.yMax),
|
|
2188
2189
|
s: z.value.selectors.labels.suffix,
|
|
2189
2190
|
r: L.value.rounding
|
|
2190
|
-
}))), 9,
|
|
2191
|
+
}))), 9, nn)) : y("", !0),
|
|
2191
2192
|
L.value.show ? (w(), b("g", {
|
|
2192
2193
|
key: 13,
|
|
2193
2194
|
ref_key: "yAxisLabelBottom",
|
|
2194
|
-
ref:
|
|
2195
|
+
ref: Zn
|
|
2195
2196
|
}, [L.value.showValue ? (w(), b("text", {
|
|
2196
2197
|
key: 0,
|
|
2197
2198
|
x: K.value.x,
|
|
@@ -2204,21 +2205,21 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2204
2205
|
v: k(h)(G.value.yMin),
|
|
2205
2206
|
s: z.value.selectors.labels.suffix,
|
|
2206
2207
|
r: V.value.layout.dataLabels.yAxis.rounding
|
|
2207
|
-
}))), 9,
|
|
2208
|
+
}))), 9, rn)) : y("", !0), x("text", {
|
|
2208
2209
|
"text-anchor": "middle",
|
|
2209
2210
|
"font-size": L.value.fontSize,
|
|
2210
2211
|
"font-weight": L.value.bold ? "bold" : "normal",
|
|
2211
2212
|
fill: L.value.color,
|
|
2212
2213
|
x: W.value.left + W.value.width / 2 + (V.value.layout.dataLabels.reverseAxisLabels ? I.value.offsetX : L.value.offsetX),
|
|
2213
2214
|
y: U.value.height + (V.value.layout.dataLabels.reverseAxisLabels ? I.value.offsetY : L.value.offsetY)
|
|
2214
|
-
}, O(V.value.layout.dataLabels.reverseAxisLabels ? I.value.name : L.value.name), 9,
|
|
2215
|
+
}, O(V.value.layout.dataLabels.reverseAxisLabels ? I.value.name : L.value.name), 9, an)], 512)) : y("", !0),
|
|
2215
2216
|
x("clipPath", { id: `clip_path_${M.value}` }, [x("rect", {
|
|
2216
2217
|
x: W.value.left,
|
|
2217
2218
|
y: W.value.top,
|
|
2218
2219
|
width: W.value.width <= 0 ? 1e-4 : W.value.width,
|
|
2219
2220
|
height: W.value.height <= 0 ? 1e-4 : W.value.height
|
|
2220
|
-
}, null, 8,
|
|
2221
|
-
V.value.layout.correlation.show ? (w(), b("g",
|
|
2221
|
+
}, null, 8, sn)], 8, on),
|
|
2222
|
+
V.value.layout.correlation.show ? (w(), b("g", cn, [(w(!0), b(_, null, E(q.value.filter((e) => e.correlation), (e, t) => (w(), b("line", {
|
|
2222
2223
|
x1: e.correlation.x1,
|
|
2223
2224
|
x2: e.correlation.x2,
|
|
2224
2225
|
y1: e.correlation.y1,
|
|
@@ -2227,7 +2228,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2227
2228
|
stroke: e.color,
|
|
2228
2229
|
"stroke-width": V.value.layout.correlation.strokeWidth,
|
|
2229
2230
|
"clip-path": `url(#clip_path_${M.value})`
|
|
2230
|
-
}, null, 8,
|
|
2231
|
+
}, null, 8, ln))), 256)), (w(!0), b(_, null, E(q.value.filter((e) => e.correlation), (e, n) => (w(), b("g", null, [V.value.layout.correlation.label.show ? (w(), b("text", {
|
|
2231
2232
|
key: 0,
|
|
2232
2233
|
x: e.correlation.x2,
|
|
2233
2234
|
y: e.correlation.y2,
|
|
@@ -2238,7 +2239,7 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2238
2239
|
}, O(k(t)({
|
|
2239
2240
|
v: k(h)(e.correlation?.coefficient ?? 0),
|
|
2240
2241
|
r: V.value.layout.correlation.label.roundingValue
|
|
2241
|
-
})), 9,
|
|
2242
|
+
})), 9, un)) : y("", !0)]))), 256))])) : y("", !0),
|
|
2242
2243
|
D(e.$slots, "svg", { svg: {
|
|
2243
2244
|
...U.value,
|
|
2244
2245
|
drawingArea: {
|
|
@@ -2246,40 +2247,40 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2246
2247
|
zero: K.value
|
|
2247
2248
|
},
|
|
2248
2249
|
data: Jr.value,
|
|
2249
|
-
isPrintingImg: k(wr) || k(Tr) || k(
|
|
2250
|
-
isPrintingSvg: k(
|
|
2250
|
+
isPrintingImg: k(wr) || k(Tr) || k(Vi),
|
|
2251
|
+
isPrintingSvg: k(Hi)
|
|
2251
2252
|
} }, void 0, !0)
|
|
2252
|
-
], 46, tt)), e.$slots.hint ? (w(), b("div",
|
|
2253
|
+
], 46, tt)), e.$slots.hint ? (w(), b("div", dn, [D(e.$slots, "hint", C(S({
|
|
2253
2254
|
hint: P.value.a11y.translations.keyboardNavigation,
|
|
2254
|
-
isVisible:
|
|
2255
|
+
isVisible: rr.value
|
|
2255
2256
|
})), void 0, !0)])) : y("", !0)]),
|
|
2256
|
-
e.$slots.watermark ? (w(), b("div",
|
|
2257
|
-
x("div", { id: `legend-bottom-${M.value}` }, null, 8,
|
|
2258
|
-
|
|
2257
|
+
e.$slots.watermark ? (w(), b("div", fn, [D(e.$slots, "watermark", C(S({ isPrinting: k(wr) || k(Tr) || k(Vi) || k(Hi) })), void 0, !0)])) : y("", !0),
|
|
2258
|
+
x("div", { id: `legend-bottom-${M.value}` }, null, 8, pn),
|
|
2259
|
+
jn.value && Un.value && (V.value.legend.show || e.$slots.legend) ? (w(), Pe(Ne, {
|
|
2259
2260
|
key: 7,
|
|
2260
2261
|
to: V.value.legend.position === "top" ? `#legend-top-${M.value}` : `#legend-bottom-${M.value}`
|
|
2261
2262
|
}, [x("div", {
|
|
2262
2263
|
ref_key: "chartLegend",
|
|
2263
|
-
ref:
|
|
2264
|
+
ref: Ln
|
|
2264
2265
|
}, [D(e.$slots, "legend", { legend: Kr.value }, () => [V.value.legend.show ? (w(), Pe(je, {
|
|
2265
|
-
key: `legend_${
|
|
2266
|
+
key: `legend_${Hn.value}`,
|
|
2266
2267
|
legendSet: Kr.value,
|
|
2267
2268
|
config: qr.value,
|
|
2268
|
-
isCursorPointer:
|
|
2269
|
-
onClickMarker: n[3] ||= ({ legend: e }) =>
|
|
2269
|
+
isCursorPointer: or.value,
|
|
2270
|
+
onClickMarker: n[3] ||= ({ legend: e }) => pi(e.id)
|
|
2270
2271
|
}, {
|
|
2271
2272
|
item: A(({ legend: e }) => [x("div", {
|
|
2272
2273
|
onClick: (t) => e.segregate(),
|
|
2273
2274
|
style: He(`opacity:${N.value.includes(e.id) ? .5 : 1}`)
|
|
2274
|
-
}, O(e.name), 13,
|
|
2275
|
+
}, O(e.name), 13, mn)]),
|
|
2275
2276
|
legendToggle: A(() => [Kr.value.length > 2 && V.value.legend.selectAllToggle.show && !k(ur) ? (w(), Pe(De, {
|
|
2276
2277
|
key: 0,
|
|
2277
2278
|
backgroundColor: V.value.legend.selectAllToggle.backgroundColor,
|
|
2278
2279
|
color: V.value.legend.selectAllToggle.color,
|
|
2279
2280
|
fontSize: V.value.legend.fontSize,
|
|
2280
2281
|
checked: N.value.length > 0,
|
|
2281
|
-
isCursorPointer:
|
|
2282
|
-
onToggle:
|
|
2282
|
+
isCursorPointer: or.value,
|
|
2283
|
+
onToggle: fi
|
|
2283
2284
|
}, null, 8, [
|
|
2284
2285
|
"backgroundColor",
|
|
2285
2286
|
"color",
|
|
@@ -2296,12 +2297,12 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2296
2297
|
e.$slots.source ? (w(), b("div", {
|
|
2297
2298
|
key: 8,
|
|
2298
2299
|
ref_key: "source",
|
|
2299
|
-
ref:
|
|
2300
|
+
ref: Rn,
|
|
2300
2301
|
dir: "auto"
|
|
2301
2302
|
}, [D(e.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
|
|
2302
|
-
Le(k(
|
|
2303
|
+
Le(k(yn), {
|
|
2303
2304
|
teleportTo: B.value.teleportTo,
|
|
2304
|
-
show: H.value.showTooltip &&
|
|
2305
|
+
show: H.value.showTooltip && Mn.value,
|
|
2305
2306
|
backgroundColor: B.value.backgroundColor,
|
|
2306
2307
|
color: B.value.color,
|
|
2307
2308
|
borderRadius: B.value.borderRadius,
|
|
@@ -2312,21 +2313,21 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2312
2313
|
position: B.value.position,
|
|
2313
2314
|
offsetX: B.value.offsetX,
|
|
2314
2315
|
offsetY: B.value.offsetY,
|
|
2315
|
-
parent:
|
|
2316
|
-
content:
|
|
2317
|
-
isFullscreen:
|
|
2316
|
+
parent: Fn.value,
|
|
2317
|
+
content: Nn.value,
|
|
2318
|
+
isFullscreen: yi.value,
|
|
2318
2319
|
isCustom: B.value.customFormat && typeof B.value.customFormat == "function",
|
|
2319
2320
|
smooth: B.value.smooth,
|
|
2320
2321
|
backdropFilter: B.value.backdropFilter,
|
|
2321
2322
|
smoothForce: B.value.smoothForce,
|
|
2322
2323
|
smoothSnapThreshold: B.value.smoothSnapThreshold,
|
|
2323
|
-
isA11yMode:
|
|
2324
|
-
a11yPosition:
|
|
2324
|
+
isA11yMode: nr.value === "keyboard",
|
|
2325
|
+
a11yPosition: tr.value
|
|
2325
2326
|
}, {
|
|
2326
|
-
"tooltip-before": A(() => [D(e.$slots, "tooltip-before", C(S({
|
|
2327
|
-
tooltip: A(() => [D(e.$slots, "tooltip", C(S({
|
|
2328
|
-
"tooltip-after": A(() => [D(e.$slots, "tooltip-after", C(S({
|
|
2329
|
-
default: A(() => [B.value.showShape ? (w(), b("div",
|
|
2327
|
+
"tooltip-before": A(() => [D(e.$slots, "tooltip-before", C(S({ ...ei.value })), void 0, !0)]),
|
|
2328
|
+
tooltip: A(() => [D(e.$slots, "tooltip", C(S({ ...ei.value })), void 0, !0)]),
|
|
2329
|
+
"tooltip-after": A(() => [D(e.$slots, "tooltip-after", C(S({ ...ei.value })), void 0, !0)]),
|
|
2330
|
+
default: A(() => [B.value.showShape ? (w(), b("div", hn, [(w(), b("svg", gn, [Le(Se, {
|
|
2330
2331
|
shape: Z.value.shape,
|
|
2331
2332
|
color: Z.value.color,
|
|
2332
2333
|
plot: {
|
|
@@ -2360,27 +2361,27 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2360
2361
|
"isA11yMode",
|
|
2361
2362
|
"a11yPosition"
|
|
2362
2363
|
]),
|
|
2363
|
-
|
|
2364
|
+
jn.value && F.value.buttons.table ? (w(), Pe(Ge(Ii.value.component), ze({ key: 9 }, Ii.value.props, {
|
|
2364
2365
|
ref_key: "tableUnit",
|
|
2365
|
-
ref:
|
|
2366
|
-
onClose:
|
|
2366
|
+
ref: Kn,
|
|
2367
|
+
onClose: Li
|
|
2367
2368
|
}), Fe({
|
|
2368
|
-
content: A(() => [(w(), Pe(k(
|
|
2369
|
-
key: `table_${
|
|
2370
|
-
colNames:
|
|
2371
|
-
head:
|
|
2372
|
-
body:
|
|
2373
|
-
config:
|
|
2374
|
-
title: P.value.table.useDialog ? "" :
|
|
2369
|
+
content: A(() => [(w(), Pe(k(Sn), {
|
|
2370
|
+
key: `table_${Vn.value}`,
|
|
2371
|
+
colNames: vi.value.colNames,
|
|
2372
|
+
head: vi.value.head,
|
|
2373
|
+
body: vi.value.body,
|
|
2374
|
+
config: vi.value.config,
|
|
2375
|
+
title: P.value.table.useDialog ? "" : Ii.value.title,
|
|
2375
2376
|
withCloseButton: !P.value.table.useDialog,
|
|
2376
|
-
isCursorPointer:
|
|
2377
|
-
onClose:
|
|
2377
|
+
isCursorPointer: or.value,
|
|
2378
|
+
onClose: Li
|
|
2378
2379
|
}, {
|
|
2379
2380
|
th: A(({ th: e }) => [Ie(O(e), 1)]),
|
|
2380
|
-
td: A(({ td: e }) => [e.shape ? (w(), b("div",
|
|
2381
|
+
td: A(({ td: e }) => [e.shape ? (w(), b("div", _n, [x("span", null, O(e.content), 1)])) : (w(), b("div", {
|
|
2381
2382
|
key: 1,
|
|
2382
2383
|
innerHTML: e
|
|
2383
|
-
}, null, 8,
|
|
2384
|
+
}, null, 8, vn))]),
|
|
2384
2385
|
_: 1
|
|
2385
2386
|
}, 8, [
|
|
2386
2387
|
"colNames",
|
|
@@ -2394,24 +2395,24 @@ var Ye = /* @__PURE__ */ e({ default: () => bn }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
2394
2395
|
_: 2
|
|
2395
2396
|
}, [P.value.table.useDialog ? {
|
|
2396
2397
|
name: "title",
|
|
2397
|
-
fn: A(() => [Ie(O(
|
|
2398
|
+
fn: A(() => [Ie(O(Ii.value.title), 1)]),
|
|
2398
2399
|
key: "0"
|
|
2399
2400
|
} : void 0, P.value.table.useDialog ? {
|
|
2400
2401
|
name: "actions",
|
|
2401
2402
|
fn: A(() => [x("button", {
|
|
2402
2403
|
tabindex: "0",
|
|
2403
2404
|
class: "vue-ui-user-options-button",
|
|
2404
|
-
onClick: n[4] ||= (e) =>
|
|
2405
|
-
style: He({ cursor:
|
|
2406
|
-
}, [Le(k(
|
|
2405
|
+
onClick: n[4] ||= (e) => _i(F.value.callbacks.csv),
|
|
2406
|
+
style: He({ cursor: or.value ? "pointer" : "default" })
|
|
2407
|
+
}, [Le(k(bn), {
|
|
2407
2408
|
name: "fileCsv",
|
|
2408
|
-
stroke:
|
|
2409
|
+
stroke: Ii.value.props.color
|
|
2409
2410
|
}, null, 8, ["stroke"])], 4)]),
|
|
2410
2411
|
key: "1"
|
|
2411
2412
|
} : void 0]), 1040)) : y("", !0),
|
|
2412
2413
|
D(e.$slots, "skeleton", {}, () => [k(ur) ? (w(), Pe(he, { key: 0 })) : y("", !0)], !0)
|
|
2413
2414
|
], 46, Xe));
|
|
2414
2415
|
}
|
|
2415
|
-
}, [["__scopeId", "data-v-
|
|
2416
|
+
}, [["__scopeId", "data-v-524d8427"]]);
|
|
2416
2417
|
//#endregion
|
|
2417
|
-
export { Ye as n,
|
|
2418
|
+
export { Ye as n, yn as t };
|