vue-data-ui 3.3.2 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DLi6NnGD.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-yAMEyP6y.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-By4rru90.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-DyDViSOy.js} +1 -1
- package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BceHSLHf.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-Znzt0gSE.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-Camz1Lce.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-VOcQEHa4.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CSja1SGU.js → UserOptions-C0YT60JN.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-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-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-DxyZSvDx.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-J2dLIr8Y.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CEjkWSLj.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-anN8VbM7.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-D7Tgakts.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
- package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-BGzYbrts.js} +62 -55
- package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
- package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
- package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
- package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
- package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-YYE07iRP.js} +35 -35
- package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-BRSqhjxm.js} +47 -47
- package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
- package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-Yw81BFf2.js} +189 -189
- package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-k3xCwZYv.js} +145 -138
- package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-DMPndU1O.js} +82 -75
- package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-D-W3VQTv.js} +75 -75
- package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
- package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
- package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-APtv_CvA.js} +58 -58
- package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
- package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-BBdrkhmg.js} +465 -435
- package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-DL5ioFH4.js} +115 -108
- package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
- package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
- package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
- package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DbanwrFr.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +88 -81
- package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
- package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-C4Uc3DRH.js} +280 -273
- package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
- package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
- package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B1T10gWF.js} +118 -111
- package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-G0bYxlue.js} +50 -50
- package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-DqZwonPL.js} +100 -100
- package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
- package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
- package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
- package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
- package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
- package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-CA4GL9dj.js} +144 -137
- package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-BAbQsJGk.js} +18 -18
- package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
- package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
- package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-Cj677c6_.js} +29 -29
- package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
- package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
- package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
- package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-C39XL2GH.js} +68 -68
- package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
- package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Dlp9LghX.js} +35 -35
- package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-BS8BCZJ3.js} +6 -6
- package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/package.json +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
- package/dist/vue-ui-candlestick-x9U5Ni0N.js +0 -1066
- package/dist/vue-ui-stackbar-DIUil9DO.js +0 -1442
- package/dist/vue-ui-xy-canvas-BQKR36bd.js +0 -1305
- package/dist/vue-ui-xy-tWE4H5ij.js +0 -4520
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as z, computed as C, useSlots as w, onMounted as y, watch as k, ref as $, createElementBlock as s, openBlock as i, normalizeStyle as u, normalizeClass as r, createElementVNode as b, renderSlot as n, createTextVNode as h, toDisplayString as F, createVNode as B, unref as v, Fragment as L } from "vue";
|
|
2
|
-
import { u as M, a as E } from "./useNestedProp-
|
|
3
|
-
import { a as I, d as O } from "./lib-
|
|
2
|
+
import { u as M, a as E } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import { a as I, d as O } from "./lib-BcBZIm6u.js";
|
|
4
4
|
const R = {
|
|
5
5
|
__name: "vue-ui-kpi",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const R = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(o) {
|
|
19
|
-
const N = z(() => import("./vue-ui-digits-
|
|
19
|
+
const N = z(() => import("./vue-ui-digits-eYxf3UFN.js")), { vue_ui_kpi: D } = M(), l = o, e = C({
|
|
20
20
|
get: () => c(),
|
|
21
21
|
set: (a) => a
|
|
22
22
|
}), S = w(), A = C(() => e.value.debug);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as h, computed as o, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
|
|
2
|
-
import { u as m, a as y } from "./useNestedProp-
|
|
3
|
-
import { X as L } from "./lib-
|
|
2
|
+
import { u as m, a as y } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import { X as L } from "./lib-BcBZIm6u.js";
|
|
4
4
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const B = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
6
6
|
__name: "vue-ui-mini-loader",
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { useCssVars as bt, defineAsyncComponent as h, computed as p, onMounted as Ct, ref as r, toRefs as yt, watch as U, nextTick as
|
|
2
|
-
import { o as $t, f as _t, c as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as Ut, B as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
1
|
+
import { useCssVars as bt, defineAsyncComponent as h, computed as p, onMounted as Ct, ref as r, toRefs as yt, watch as U, nextTick as H, createElementBlock as C, openBlock as u, unref as a, normalizeStyle as M, normalizeClass as Oe, createBlock as w, createCommentVNode as b, createVNode as D, createSlots as Se, withCtx as c, renderSlot as v, normalizeProps as T, guardReactiveProps as $, createElementVNode as P, Fragment as kt, renderList as At, resolveDynamicComponent as wt, mergeProps as Tt, createTextVNode as De, toDisplayString as Pe } from "vue";
|
|
2
|
+
import { o as $t, f as _t, c as Ie, t as Ot, b as St, p as Fe, e as Dt, a7 as Pt, X as It, S as Ft, k as Nt, h as Ne, P as Lt, Q as Bt, G as xt, H as Et } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { u as Rt, a as Le } from "./useNestedProp-B7CiTRDS.js";
|
|
4
|
+
import { u as Ut, B as Ht } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
+
import { u as Mt } from "./usePrinter-C1GiglOH.js";
|
|
6
|
+
import { u as Gt } from "./useSvgExport-DrjCWun4.js";
|
|
7
7
|
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
-
import { u as
|
|
9
|
-
import Wt from "./img-
|
|
8
|
+
import { u as zt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import Wt from "./img-CFY3JivG.js";
|
|
10
10
|
import { t as Xt } from "./themes-Dw-dDudK.js";
|
|
11
11
|
import { u as jt } from "./usePanZoom-BVca3eMk.js";
|
|
12
12
|
import { _ as Yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
const Zt = ["id"],
|
|
13
|
+
const Zt = ["id"], Qt = {
|
|
14
14
|
key: 1,
|
|
15
15
|
ref: "noTitle",
|
|
16
16
|
class: "vue-data-ui-no-title-space",
|
|
17
17
|
style: "height:36px; width: 100%;background:transparent"
|
|
18
|
-
},
|
|
18
|
+
}, qt = {
|
|
19
19
|
key: 2,
|
|
20
20
|
style: "width:100%;background:transparent;"
|
|
21
|
-
},
|
|
21
|
+
}, Jt = ["xmlns", "viewBox"], Kt = ["width", "height"], eo = ["id"], to = ["stop-color"], oo = ["stop-color"], lo = {
|
|
22
22
|
key: 4,
|
|
23
23
|
class: "vue-data-ui-watermark"
|
|
24
24
|
}, ao = {
|
|
@@ -46,24 +46,24 @@ const Zt = ["id"], qt = {
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
emits: ["selectNode"],
|
|
49
|
-
setup(
|
|
49
|
+
setup(Be, { expose: xe, emit: Ee }) {
|
|
50
50
|
bt((t) => ({
|
|
51
51
|
v09141ae0: t.slicerColor
|
|
52
52
|
}));
|
|
53
|
-
const
|
|
53
|
+
const Re = h(() => import("./Title-CFmv95In.js")), Ue = h(() => import("./Tooltip-Cs4v8OnI.js")), te = h(() => import("./BaseIcon-B5KaGWWC.js")), He = h(() => import("./vue-ui-accordion-BKkTS12x.js")), Me = h(() => import("./DataTable-DOx3zgih.js")), Ge = h(() => import("./PenAndPaper-Dj2diYr0.js")), Ve = h(() => import("./UserOptions-C0YT60JN.js")), ze = h(() => import("./PackageVersion-DyDViSOy.js")), We = h(() => import("./RecursiveLinks-00zGWPf9.js")), Xe = h(() => import("./RecursiveLabels-Bgcv0pzu.js")), je = h(() => import("./RecursiveCircles-BcLb1aRS.js")), Ye = h(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_molecule: Ze } = Rt(), k = Be, Qe = Ee, oe = p(() => !!k.dataset && k.dataset.length);
|
|
54
54
|
Ct(() => {
|
|
55
55
|
le();
|
|
56
56
|
});
|
|
57
|
-
const
|
|
57
|
+
const qe = p(() => e.value.debug);
|
|
58
58
|
function le() {
|
|
59
|
-
$t(
|
|
59
|
+
$t(k.dataset) && _t({
|
|
60
60
|
componentName: "VueUiMolecule",
|
|
61
61
|
type: "dataset",
|
|
62
|
-
debug:
|
|
62
|
+
debug: qe.value
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
const
|
|
66
|
-
...yt(
|
|
65
|
+
const G = r(Ie()), V = r(!1), B = r(""), A = r(null), ae = r(0), se = r(0), ne = r(0), I = r(null), z = r(null), e = r(Y()), { loading: W, FINAL_DATASET: X } = Ut({
|
|
66
|
+
...yt(k),
|
|
67
67
|
FINAL_CONFIG: e,
|
|
68
68
|
prepareConfig: Y,
|
|
69
69
|
skeletonDataset: [
|
|
@@ -118,34 +118,34 @@ const Zt = ["id"], qt = {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
})
|
|
121
|
-
}), { userOptionsVisible: j, setUserOptionsVisibility: re, keepUserOptionState: ie } = Vt({ config: e.value }), { svgRef:
|
|
121
|
+
}), { userOptionsVisible: j, setUserOptionsVisibility: re, keepUserOptionState: ie } = Vt({ config: e.value }), { svgRef: x } = zt({ config: e.value.style.chart.title });
|
|
122
122
|
function Y() {
|
|
123
123
|
const t = Le({
|
|
124
|
-
userConfig:
|
|
124
|
+
userConfig: k.config,
|
|
125
125
|
defaultConfig: Ze
|
|
126
126
|
});
|
|
127
127
|
return t.theme ? {
|
|
128
128
|
...Le({
|
|
129
|
-
userConfig: Xt.vue_ui_molecule[t.theme] ||
|
|
129
|
+
userConfig: Xt.vue_ui_molecule[t.theme] || k.config,
|
|
130
130
|
defaultConfig: t
|
|
131
131
|
}),
|
|
132
132
|
customPalette: St[t.theme] || Fe
|
|
133
133
|
} : t;
|
|
134
134
|
}
|
|
135
|
-
U(() =>
|
|
135
|
+
U(() => k.config, (t) => {
|
|
136
136
|
e.value = Y(), j.value = !e.value.userOptions.showOnChartHover, le(), se.value += 1, ne.value += 1, d.value.showTable = e.value.table.show, d.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
137
137
|
}, { deep: !0 });
|
|
138
|
-
const ue = r(0),
|
|
138
|
+
const ue = r(0), Je = () => {
|
|
139
139
|
ue.value += 1;
|
|
140
140
|
};
|
|
141
141
|
U([() => W.value, () => X.value], async ([t]) => {
|
|
142
|
-
t || (await
|
|
142
|
+
t || (await H(), f.value = fe(), await H(), Je(), await H(), ct({ x: 0, y: 0, width: 400, height: 400 }), J(!1));
|
|
143
143
|
}, { flush: "post", deep: !1 });
|
|
144
|
-
const { isPrinting: ce, isImaging: ve, generatePdf: de, generateImage: he } =
|
|
145
|
-
elementId: `cluster_${
|
|
144
|
+
const { isPrinting: ce, isImaging: ve, generatePdf: de, generateImage: he } = Mt({
|
|
145
|
+
elementId: `cluster_${G.value}`,
|
|
146
146
|
fileName: e.value.style.chart.title.text || "vue-ui-molecule",
|
|
147
147
|
options: e.value.userOptions.print
|
|
148
|
-
}),
|
|
148
|
+
}), Ke = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), et = p(() => Dt(e.value.customPalette)), d = r({
|
|
149
149
|
showTable: e.value.table.show,
|
|
150
150
|
showDataLabels: !0,
|
|
151
151
|
showTooltip: e.value.style.chart.tooltip.show
|
|
@@ -171,7 +171,7 @@ const Zt = ["id"], qt = {
|
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
const f = r(fe());
|
|
174
|
-
function me(t, l = { x: -f.value.width / 2.43, y: f.value.height / 2 }, o = f.value.width / 1.1, n = 24, s = 0, i = 0, m = "#BBBBBB",
|
|
174
|
+
function me(t, l = { x: -f.value.width / 2.43, y: f.value.height / 2 }, o = f.value.width / 1.1, n = 24, s = 0, i = 0, m = "#BBBBBB", K = 0) {
|
|
175
175
|
if (!Array.isArray(t) || t.length === 0) return t;
|
|
176
176
|
const gt = Nt({
|
|
177
177
|
plot: l,
|
|
@@ -185,7 +185,7 @@ const Zt = ["id"], qt = {
|
|
|
185
185
|
return ee.startsWith("#") ? ee : `#${ee}`;
|
|
186
186
|
})() : null;
|
|
187
187
|
let S;
|
|
188
|
-
_e ? S = _e :
|
|
188
|
+
_e ? S = _e : K === 0 ? S = m : K === 1 ? (S = et.value[i] || Fe[i] || m, i += 1) : S = m, g.polygonPath = { coordinates: [$e] }, g.circleRadius = n, g.color = S, g.uid = Ie(), Array.isArray(g.nodes) && g.nodes.length && (g.nodes = me(
|
|
189
189
|
g.nodes,
|
|
190
190
|
$e,
|
|
191
191
|
o / 2.9,
|
|
@@ -193,7 +193,7 @@ const Zt = ["id"], qt = {
|
|
|
193
193
|
s + Math.PI * Te / g.nodes.length,
|
|
194
194
|
i,
|
|
195
195
|
S,
|
|
196
|
-
|
|
196
|
+
K + 1
|
|
197
197
|
));
|
|
198
198
|
}), t;
|
|
199
199
|
}
|
|
@@ -214,7 +214,7 @@ const Zt = ["id"], qt = {
|
|
|
214
214
|
}), n;
|
|
215
215
|
}
|
|
216
216
|
const ot = p(() => tt(y.value)), y = p(() => {
|
|
217
|
-
const t =
|
|
217
|
+
const t = Pt(X.value);
|
|
218
218
|
return me(t);
|
|
219
219
|
}), Z = r(null);
|
|
220
220
|
function lt(t) {
|
|
@@ -225,13 +225,13 @@ const Zt = ["id"], qt = {
|
|
|
225
225
|
config: e.value
|
|
226
226
|
};
|
|
227
227
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
228
|
-
if (
|
|
228
|
+
if (xt(l) && Et(() => l({
|
|
229
229
|
seriesIndex: -1,
|
|
230
230
|
datapoint: t,
|
|
231
231
|
series: y.value,
|
|
232
232
|
config: e.value
|
|
233
233
|
})))
|
|
234
|
-
|
|
234
|
+
B.value = l({
|
|
235
235
|
seriesIndex: -1,
|
|
236
236
|
// well, ok
|
|
237
237
|
datapoint: t,
|
|
@@ -240,12 +240,12 @@ const Zt = ["id"], qt = {
|
|
|
240
240
|
});
|
|
241
241
|
else {
|
|
242
242
|
let o = "";
|
|
243
|
-
o += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${t.color}">⬤</div><div>${t.name}</div></div>`, t.details && (o += `<div style="width:100%;border-top:1px solid ${e.value.style.chart.tooltip.borderColor};margin-top: 2px">${t.details}</div>`),
|
|
243
|
+
o += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${t.color}">⬤</div><div>${t.name}</div></div>`, t.details && (o += `<div style="width:100%;border-top:1px solid ${e.value.style.chart.tooltip.borderColor};margin-top: 2px">${t.details}</div>`), B.value = `<div style="font-family:inherit">${o}</div>`;
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
const
|
|
246
|
+
const E = r(null), F = r(null), ge = r(null);
|
|
247
247
|
function at(t) {
|
|
248
|
-
ge.value =
|
|
248
|
+
ge.value = E.value, E.value = t, t ? e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: -1 }) : e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: ge.value || E.value, seriesIndex: -1 }), t ? (V.value = !0, lt(t), F.value = t.uid) : (V.value = !1, B.value = "", F.value = null);
|
|
249
249
|
}
|
|
250
250
|
function st(t) {
|
|
251
251
|
const l = [];
|
|
@@ -298,10 +298,10 @@ const Zt = ["id"], qt = {
|
|
|
298
298
|
colNames: n
|
|
299
299
|
};
|
|
300
300
|
});
|
|
301
|
-
function
|
|
302
|
-
|
|
301
|
+
function Q(t = null) {
|
|
302
|
+
H(() => {
|
|
303
303
|
const l = _.value.body.map((s, i) => [[s[0].name], [s[1]], [s[2]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[..._.value.head]]].concat(l), n = Lt(o);
|
|
304
|
-
t ? t(n) :
|
|
304
|
+
t ? t(n) : Bt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-molecule" });
|
|
305
305
|
});
|
|
306
306
|
}
|
|
307
307
|
function rt() {
|
|
@@ -317,25 +317,25 @@ const Zt = ["id"], qt = {
|
|
|
317
317
|
function ye() {
|
|
318
318
|
d.value.showDataLabels = !d.value.showDataLabels;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function ke() {
|
|
321
321
|
d.value.showTooltip = !d.value.showTooltip;
|
|
322
322
|
}
|
|
323
323
|
const N = r(!1);
|
|
324
|
-
function
|
|
324
|
+
function q() {
|
|
325
325
|
N.value = !N.value;
|
|
326
326
|
}
|
|
327
|
-
const it = p(() => !N.value), { viewBox:
|
|
327
|
+
const it = p(() => !N.value), { viewBox: R, resetZoom: J, isZoom: ut, setInitialViewBox: ct } = jt(x, {
|
|
328
328
|
x: 0,
|
|
329
329
|
y: 0,
|
|
330
330
|
width: Math.max(10, f.value.width),
|
|
331
331
|
height: Math.max(10, f.value.height)
|
|
332
332
|
}, e.value.style.chart.zoom.speed, it);
|
|
333
333
|
function vt(t) {
|
|
334
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: -1 }),
|
|
334
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: -1 }), Qe("selectNode", t);
|
|
335
335
|
}
|
|
336
336
|
async function dt({ scale: t = 2 } = {}) {
|
|
337
|
-
if (!
|
|
338
|
-
const { width: l, height: o } =
|
|
337
|
+
if (!A.value) return;
|
|
338
|
+
const { width: l, height: o } = A.value.getBoundingClientRect(), n = l / o, { imageUri: s, base64: i } = await Wt({ domElement: A.value, base64: !0, img: !0, scale: t });
|
|
339
339
|
return {
|
|
340
340
|
imageUri: s,
|
|
341
341
|
base64: i,
|
|
@@ -348,7 +348,7 @@ const Zt = ["id"], qt = {
|
|
|
348
348
|
const L = p(() => {
|
|
349
349
|
const t = e.value.table.useDialog && !e.value.table.show, l = d.value.showTable;
|
|
350
350
|
return {
|
|
351
|
-
component: t ? Ye :
|
|
351
|
+
component: t ? Ye : He,
|
|
352
352
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
353
353
|
props: t ? {
|
|
354
354
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -356,7 +356,7 @@ const Zt = ["id"], qt = {
|
|
|
356
356
|
headerColor: e.value.table.th.color,
|
|
357
357
|
headerBg: e.value.table.th.backgroundColor,
|
|
358
358
|
isFullscreen: O.value,
|
|
359
|
-
fullscreenParent:
|
|
359
|
+
fullscreenParent: A.value,
|
|
360
360
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
361
361
|
} : {
|
|
362
362
|
hideDetails: !0,
|
|
@@ -376,13 +376,13 @@ const Zt = ["id"], qt = {
|
|
|
376
376
|
};
|
|
377
377
|
});
|
|
378
378
|
U(() => d.value.showTable, (t) => {
|
|
379
|
-
e.value.table.show || (t && e.value.table.useDialog &&
|
|
379
|
+
e.value.table.show || (t && e.value.table.useDialog && I.value ? I.value.open() : "close" in I.value && I.value.close());
|
|
380
380
|
});
|
|
381
|
-
function
|
|
382
|
-
d.value.showTable = !1,
|
|
381
|
+
function Ae() {
|
|
382
|
+
d.value.showTable = !1, z.value && z.value.setTableIconState(!1);
|
|
383
383
|
}
|
|
384
|
-
const ht = p(() => e.value.style.chart.backgroundColor), pt = p(() => e.value.style.chart.title), { exportSvg: ft, getSvg: mt } =
|
|
385
|
-
svg:
|
|
384
|
+
const ht = p(() => e.value.style.chart.backgroundColor), pt = p(() => e.value.style.chart.title), { exportSvg: ft, getSvg: mt } = Gt({
|
|
385
|
+
svg: x,
|
|
386
386
|
title: pt,
|
|
387
387
|
backgroundColor: ht
|
|
388
388
|
});
|
|
@@ -393,40 +393,40 @@ const Zt = ["id"], qt = {
|
|
|
393
393
|
} else
|
|
394
394
|
ft();
|
|
395
395
|
}
|
|
396
|
-
return
|
|
396
|
+
return xe({
|
|
397
397
|
getData: rt,
|
|
398
398
|
getImage: dt,
|
|
399
399
|
generatePdf: de,
|
|
400
|
-
generateCsv:
|
|
400
|
+
generateCsv: Q,
|
|
401
401
|
generateImage: he,
|
|
402
402
|
generateSvg: we,
|
|
403
403
|
toggleTable: Ce,
|
|
404
404
|
toggleLabels: ye,
|
|
405
|
-
toggleTooltip:
|
|
406
|
-
toggleAnnotator:
|
|
405
|
+
toggleTooltip: ke,
|
|
406
|
+
toggleAnnotator: q,
|
|
407
407
|
toggleFullscreen: be
|
|
408
408
|
}), (t, l) => (u(), C("div", {
|
|
409
409
|
ref_key: "moleculeChart",
|
|
410
|
-
ref:
|
|
410
|
+
ref: A,
|
|
411
411
|
class: Oe(`vue-data-ui-component vue-ui-molecule ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
412
|
-
style:
|
|
413
|
-
id: `cluster_${
|
|
412
|
+
style: M(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
413
|
+
id: `cluster_${G.value}`,
|
|
414
414
|
onMouseleave: l[2] || (l[2] = (o) => {
|
|
415
|
-
|
|
415
|
+
E.value = null, F.value = null, a(re)(!1);
|
|
416
416
|
}),
|
|
417
417
|
onMouseenter: l[3] || (l[3] = () => a(re)(!0))
|
|
418
418
|
}, [
|
|
419
|
-
e.value.userOptions.buttons.annotator ? (u(), w(a(
|
|
419
|
+
e.value.userOptions.buttons.annotator ? (u(), w(a(Ge), {
|
|
420
420
|
key: 0,
|
|
421
|
-
svgRef: a(
|
|
421
|
+
svgRef: a(x),
|
|
422
422
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
423
423
|
color: e.value.style.chart.color,
|
|
424
424
|
active: N.value,
|
|
425
|
-
onClose:
|
|
425
|
+
onClose: q
|
|
426
426
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
|
|
427
|
-
|
|
428
|
-
e.value.style.chart.title.text ? (u(), C("div",
|
|
429
|
-
(u(), w(a(
|
|
427
|
+
Ke.value ? (u(), C("div", Qt, null, 512)) : b("", !0),
|
|
428
|
+
e.value.style.chart.title.text ? (u(), C("div", qt, [
|
|
429
|
+
(u(), w(a(Re), {
|
|
430
430
|
key: `title_${se.value}`,
|
|
431
431
|
config: {
|
|
432
432
|
title: {
|
|
@@ -442,13 +442,13 @@ const Zt = ["id"], qt = {
|
|
|
442
442
|
])) : b("", !0),
|
|
443
443
|
e.value.userOptions.show && oe.value && (a(ie) || a(j)) ? (u(), w(a(Ve), {
|
|
444
444
|
ref_key: "userOptionsRef",
|
|
445
|
-
ref:
|
|
445
|
+
ref: z,
|
|
446
446
|
key: `user_options_${ae.value}`,
|
|
447
447
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
448
448
|
color: e.value.style.chart.color,
|
|
449
449
|
isPrinting: a(ce),
|
|
450
450
|
isImaging: a(ve),
|
|
451
|
-
uid:
|
|
451
|
+
uid: G.value,
|
|
452
452
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
453
453
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
454
454
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -459,7 +459,7 @@ const Zt = ["id"], qt = {
|
|
|
459
459
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
460
460
|
isTooltip: d.value.showTooltip,
|
|
461
461
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
462
|
-
chartElement:
|
|
462
|
+
chartElement: A.value,
|
|
463
463
|
position: e.value.userOptions.position,
|
|
464
464
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
465
465
|
isAnnotation: N.value,
|
|
@@ -468,14 +468,14 @@ const Zt = ["id"], qt = {
|
|
|
468
468
|
tableDialog: e.value.table.useDialog,
|
|
469
469
|
onToggleFullscreen: be,
|
|
470
470
|
onGeneratePdf: a(de),
|
|
471
|
-
onGenerateCsv:
|
|
471
|
+
onGenerateCsv: Q,
|
|
472
472
|
onGenerateImage: a(he),
|
|
473
473
|
onGenerateSvg: we,
|
|
474
474
|
onToggleTable: Ce,
|
|
475
475
|
onToggleLabels: ye,
|
|
476
|
-
onToggleTooltip:
|
|
477
|
-
onToggleAnnotator:
|
|
478
|
-
style:
|
|
476
|
+
onToggleTooltip: ke,
|
|
477
|
+
onToggleAnnotator: q,
|
|
478
|
+
style: M({
|
|
479
479
|
visibility: a(ie) ? a(j) ? "visible" : "hidden" : "visible"
|
|
480
480
|
})
|
|
481
481
|
}, Se({ _: 2 }, [
|
|
@@ -545,14 +545,14 @@ const Zt = ["id"], qt = {
|
|
|
545
545
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
|
|
546
546
|
(u(), C("svg", {
|
|
547
547
|
ref_key: "svgRef",
|
|
548
|
-
ref:
|
|
548
|
+
ref: x,
|
|
549
549
|
key: `svg_${ue.value}`,
|
|
550
|
-
xmlns: a(
|
|
551
|
-
viewBox: `${a(
|
|
550
|
+
xmlns: a(It),
|
|
551
|
+
viewBox: `${a(R).x} ${a(R).y} ${a(R).width} ${a(R).height}`,
|
|
552
552
|
class: Oe({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
553
|
-
style:
|
|
553
|
+
style: M(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
|
|
554
554
|
}, [
|
|
555
|
-
D(a(
|
|
555
|
+
D(a(ze)),
|
|
556
556
|
t.$slots["chart-background"] ? (u(), C("foreignObject", {
|
|
557
557
|
key: 0,
|
|
558
558
|
x: 0,
|
|
@@ -564,9 +564,9 @@ const Zt = ["id"], qt = {
|
|
|
564
564
|
}
|
|
565
565
|
}, [
|
|
566
566
|
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
567
|
-
], 8,
|
|
568
|
-
|
|
569
|
-
(u(!0), C(
|
|
567
|
+
], 8, Kt)) : b("", !0),
|
|
568
|
+
P("defs", null, [
|
|
569
|
+
(u(!0), C(kt, null, At(Object.keys(ot.value), (o) => (u(), C("radialGradient", {
|
|
570
570
|
id: `gradient_${o}`,
|
|
571
571
|
cx: "50%",
|
|
572
572
|
cy: "30%",
|
|
@@ -574,11 +574,11 @@ const Zt = ["id"], qt = {
|
|
|
574
574
|
fx: "50%",
|
|
575
575
|
fy: "50%"
|
|
576
576
|
}, [
|
|
577
|
-
|
|
577
|
+
P("stop", {
|
|
578
578
|
offset: "0%",
|
|
579
579
|
"stop-color": a(Ft)(o, 0.5)
|
|
580
580
|
}, null, 8, to),
|
|
581
|
-
|
|
581
|
+
P("stop", {
|
|
582
582
|
offset: "100%",
|
|
583
583
|
"stop-color": o
|
|
584
584
|
}, null, 8, oo)
|
|
@@ -609,21 +609,21 @@ const Zt = ["id"], qt = {
|
|
|
609
609
|
hoveredUid: F.value
|
|
610
610
|
}, null, 8, ["dataset", "color", "hoveredUid"])) : b("", !0),
|
|
611
611
|
v(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
612
|
-
], 14,
|
|
612
|
+
], 14, Jt)),
|
|
613
613
|
t.$slots.watermark ? (u(), C("div", lo, [
|
|
614
614
|
v(t.$slots, "watermark", T($({ isPrinting: a(ce) || a(ve) })), void 0, !0)
|
|
615
615
|
])) : b("", !0),
|
|
616
616
|
a(ut) ? (u(), C("div", ao, [
|
|
617
|
-
v(t.$slots, "reset-action", { reset: a(
|
|
618
|
-
|
|
617
|
+
v(t.$slots, "reset-action", { reset: a(J) }, () => [
|
|
618
|
+
P("button", {
|
|
619
619
|
"data-cy-reset": "",
|
|
620
620
|
tabindex: "0",
|
|
621
621
|
role: "button",
|
|
622
622
|
class: "vue-data-ui-refresh-button",
|
|
623
|
-
style:
|
|
623
|
+
style: M({
|
|
624
624
|
background: e.value.style.chart.backgroundColor
|
|
625
625
|
}),
|
|
626
|
-
onClick: l[0] || (l[0] = (o) => a(
|
|
626
|
+
onClick: l[0] || (l[0] = (o) => a(J)(!0))
|
|
627
627
|
}, [
|
|
628
628
|
D(a(te), {
|
|
629
629
|
name: "refresh",
|
|
@@ -646,8 +646,8 @@ const Zt = ["id"], qt = {
|
|
|
646
646
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
647
647
|
position: e.value.style.chart.tooltip.position,
|
|
648
648
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
649
|
-
parent:
|
|
650
|
-
content:
|
|
649
|
+
parent: A.value,
|
|
650
|
+
content: B.value,
|
|
651
651
|
isFullscreen: O.value,
|
|
652
652
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
653
653
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
@@ -665,11 +665,11 @@ const Zt = ["id"], qt = {
|
|
|
665
665
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
666
666
|
oe.value && e.value.userOptions.buttons.table ? (u(), w(wt(L.value.component), Tt({ key: 7 }, L.value.props, {
|
|
667
667
|
ref_key: "tableUnit",
|
|
668
|
-
ref:
|
|
669
|
-
onClose:
|
|
668
|
+
ref: I,
|
|
669
|
+
onClose: Ae
|
|
670
670
|
}), Se({
|
|
671
671
|
content: c(() => [
|
|
672
|
-
(u(), w(a(
|
|
672
|
+
(u(), w(a(Me), {
|
|
673
673
|
key: `table_${ne.value}`,
|
|
674
674
|
colNames: _.value.colNames,
|
|
675
675
|
head: _.value.head,
|
|
@@ -677,16 +677,16 @@ const Zt = ["id"], qt = {
|
|
|
677
677
|
config: _.value.config,
|
|
678
678
|
title: e.value.table.useDialog ? "" : L.value.title,
|
|
679
679
|
withCloseButton: !e.value.table.useDialog,
|
|
680
|
-
onClose:
|
|
680
|
+
onClose: Ae
|
|
681
681
|
}, {
|
|
682
682
|
th: c(({ th: o }) => [
|
|
683
|
-
|
|
683
|
+
P("div", {
|
|
684
684
|
innerHTML: o,
|
|
685
685
|
style: { display: "flex", "align-items": "center" }
|
|
686
686
|
}, null, 8, no)
|
|
687
687
|
]),
|
|
688
688
|
td: c(({ td: o }) => [
|
|
689
|
-
De(
|
|
689
|
+
De(Pe(o.name || o), 1)
|
|
690
690
|
]),
|
|
691
691
|
_: 1
|
|
692
692
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -696,17 +696,17 @@ const Zt = ["id"], qt = {
|
|
|
696
696
|
e.value.table.useDialog ? {
|
|
697
697
|
name: "title",
|
|
698
698
|
fn: c(() => [
|
|
699
|
-
De(
|
|
699
|
+
De(Pe(L.value.title), 1)
|
|
700
700
|
]),
|
|
701
701
|
key: "0"
|
|
702
702
|
} : void 0,
|
|
703
703
|
e.value.table.useDialog ? {
|
|
704
704
|
name: "actions",
|
|
705
705
|
fn: c(() => [
|
|
706
|
-
|
|
706
|
+
P("button", {
|
|
707
707
|
tabindex: "0",
|
|
708
708
|
class: "vue-ui-user-options-button",
|
|
709
|
-
onClick: l[1] || (l[1] = (o) =>
|
|
709
|
+
onClick: l[1] || (l[1] = (o) => Q(e.value.userOptions.callbacks.csv))
|
|
710
710
|
}, [
|
|
711
711
|
D(a(te), {
|
|
712
712
|
name: "excel",
|
|
@@ -717,10 +717,10 @@ const Zt = ["id"], qt = {
|
|
|
717
717
|
key: "1"
|
|
718
718
|
} : void 0
|
|
719
719
|
]), 1040)) : b("", !0),
|
|
720
|
-
a(W) ? (u(), w(
|
|
720
|
+
a(W) ? (u(), w(Ht, { key: 8 })) : b("", !0)
|
|
721
721
|
], 46, Zt));
|
|
722
722
|
}
|
|
723
|
-
},
|
|
723
|
+
}, ko = /* @__PURE__ */ Yt(ro, [["__scopeId", "data-v-b73208de"]]);
|
|
724
724
|
export {
|
|
725
|
-
|
|
725
|
+
ko as default
|
|
726
726
|
};
|