vue-data-ui 3.20.10 → 3.21.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-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/{PackageVersion-BbgWxFC4.js → PackageVersion-DYLo3MRd.js} +1 -1
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/SlicerPreview-CXLgqXX8.js +1676 -0
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/ssr.js +1366 -0
- package/dist/style.css +1 -1
- package/dist/types/ssr.d.ts +128 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-CBjd88aV.js → vue-data-ui-D2dM3IQZ.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
- package/dist/{vue-ui-bump-S-FGGlPW.js → vue-ui-bump-BVCYywuS.js} +253 -253
- package/dist/{vue-ui-candlestick-BaaswVai.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
- package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
- package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
- package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
- package/dist/{vue-ui-circle-pack--4oUO8hO.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
- package/dist/{vue-ui-cursor-C7zZVebz.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
- package/dist/{vue-ui-dag-DsCnV6f0.js → vue-ui-dag-lL0juBzN.js} +20 -20
- package/dist/{vue-ui-dashboard-CmTnG8CS.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
- package/dist/{vue-ui-digits-BQ0e9Czq.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
- package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
- package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
- package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
- package/dist/{vue-ui-flow-jBINqYMb.js → vue-ui-flow-BXfzMTXx.js} +57 -57
- package/dist/{vue-ui-funnel-B9DsneCv.js → vue-ui-funnel-BpnC82m0.js} +32 -32
- package/dist/{vue-ui-galaxy-SAZjgllD.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
- package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
- package/dist/{vue-ui-geo-B41ZRCPC.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
- package/dist/{vue-ui-gizmo-PL2TAIV_.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
- package/dist/{vue-ui-heatmap-NkJ_KGMs.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
- package/dist/{vue-ui-history-plot-B9KX1kKs.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
- package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
- package/dist/{vue-ui-kpi-Bo4x1-vC.js → vue-ui-kpi-B9bdicir.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
- package/dist/{vue-ui-mood-radar-DE71e1H_.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
- package/dist/{vue-ui-nested-donuts-DQhSwNYF.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
- package/dist/{vue-ui-onion-X9anqRDz.js → vue-ui-onion-3fJB4mfC.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-aN0OHwgH.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
- package/dist/{vue-ui-quadrant-CpKMBoX9.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
- package/dist/{vue-ui-quick-chart-BwD7IGYx.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
- package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
- package/dist/{vue-ui-ridgeline-68X0PTKo.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
- package/dist/{vue-ui-rings-cDPIzhPb.js → vue-ui-rings-BgFO7NYF.js} +81 -81
- package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
- package/dist/{vue-ui-skeleton-BD0JzrcV.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-DLXJpfGh.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
- package/dist/{vue-ui-sparkbar-5pFFPu5l.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
- package/dist/{vue-ui-sparkgauge--CihPbUW.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-CjrIcako.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
- package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-Dlg1W_fF.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
- package/dist/{vue-ui-stackbar-DltfPoDm.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
- package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
- package/dist/{vue-ui-strip-plot-CEE-cw3d.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
- package/dist/{vue-ui-table-C7AvFChf.js → vue-ui-table-R-aXpHvF.js} +86 -86
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-DgTHhaZI.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
- package/dist/{vue-ui-thermometer-Cg7jcmgc.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
- package/dist/{vue-ui-timer-U045embk.js → vue-ui-timer-AlYvthQ6.js} +23 -23
- package/dist/{vue-ui-tiremarks-T55IpHYP.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
- package/dist/{vue-ui-treemap-BPQ-Ekq4.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
- package/dist/{vue-ui-waffle-DNCJGwEA.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
- package/dist/{vue-ui-wheel-5GuVbUOq.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
- package/dist/{vue-ui-word-cloud-Cs-MBJJU.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
- package/dist/{vue-ui-world-D3v5f6dU.js → vue-ui-world-B93iq1ZM.js} +445 -445
- package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
- package/dist/{vue-ui-xy-canvas-Ww81eEZ6.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/package.json +6 -2
- package/dist/SlicerPreview-CpvCUAIM.js +0 -1669
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-DmMi_eVe.js +0 -1757
- package/dist/vue-ui-age-pyramid-CbJDodNj.js +0 -1238
- package/dist/vue-ui-bullet-rCmOch09.js +0 -710
- package/dist/vue-ui-carousel-table-DFUP6c1B.js +0 -455
- package/dist/vue-ui-chestnut-DKNsQA7h.js +0 -2010
- package/dist/vue-ui-chord-BMkz02R6.js +0 -1391
- package/dist/vue-ui-donut-BLlR2VgI.js +0 -2410
- package/dist/vue-ui-donut-evolution-kXDchwtH.js +0 -1510
- package/dist/vue-ui-dumbbell-BWuXbccQ.js +0 -1530
- package/dist/vue-ui-gauge-NSzY9L6X.js +0 -920
- package/dist/vue-ui-horizontal-bar-mmoqYnkA.js +0 -1681
- package/dist/vue-ui-molecule-QoXYCfyP.js +0 -925
- package/dist/vue-ui-radar-TfxsgQrA.js +0 -1229
- package/dist/vue-ui-relation-circle-CMqV9U6C.js +0 -924
- package/dist/vue-ui-scatter-8nirnHQi.js +0 -2413
- package/dist/vue-ui-sparkline-DPZm7RqN.js +0 -1507
- package/dist/vue-ui-stackline-6agFEYxZ.js +0 -2398
- package/dist/vue-ui-xy-C0kcCaFA.js +0 -4747
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Bt as t,
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { c as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { Fragment as
|
|
2
|
+
import { Bt as t, Ft as n, G as r, H as i, Ht as a, J as o, Ot as s, Pt as ee, S as te, Tt as ne, X as re, ct as ie, ht as ae, i as c, it as oe, n as se, r as ce, t as le, x as ue, y as de } from "./lib-AJRHFE5U.js";
|
|
3
|
+
import { t as fe } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
+
import { t as pe } from "./usePrinter-6n2MzVyV.js";
|
|
5
|
+
import { n as me, t as he } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
+
import { t as ge } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as _e } from "./useNestedProp-DtcXIg7n.js";
|
|
8
|
+
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as ye } from "./img-C_RNNswI.js";
|
|
10
|
+
import { n as be } from "./Title-DH6G8_cZ.js";
|
|
11
|
+
import { t as xe } from "./Shape-BxFtoF1z.js";
|
|
12
|
+
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { c as Ce } from "./canvas-lib-BOP_HS11.js";
|
|
14
|
+
import { t as we } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
+
import { t as Te } from "./BaseLegendToggle-BNRi408o.js";
|
|
16
|
+
import { t as Ee } from "./A11yDataTable-BCbtxMU6.js";
|
|
17
|
+
import { t as De } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as ke } from "./labelUtils-Bycs-017.js";
|
|
20
|
+
import { t as Ae } from "./Legend-BLhREbj7.js";
|
|
21
|
+
import { t as je } from "./vue_ui_waffle-DIARFc7g.js";
|
|
22
|
+
import { Fragment as l, Teleport as Me, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ie, nextTick as Le, normalizeClass as Re, normalizeProps as _, normalizeStyle as ze, onBeforeUnmount as Be, onMounted as Ve, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as S, toRefs as We, unref as C, useSlots as Ge, watch as w, withCtx as T } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-waffle.vue
|
|
24
24
|
var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
|
|
25
25
|
"xmlns",
|
|
@@ -85,7 +85,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
85
85
|
}, ft = {
|
|
86
86
|
key: 5,
|
|
87
87
|
class: "vue-data-ui-watermark"
|
|
88
|
-
}, pt = ["id"], mt = ["onClick"], ht = ["innerHTML"], gt = /* @__PURE__ */
|
|
88
|
+
}, pt = ["id"], mt = ["onClick"], ht = ["innerHTML"], gt = /* @__PURE__ */ Se({
|
|
89
89
|
__name: "vue-ui-waffle",
|
|
90
90
|
props: {
|
|
91
91
|
config: {
|
|
@@ -102,18 +102,18 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
emits: ["selectLegend", "copyAlt"],
|
|
105
|
-
setup(e, { expose:
|
|
106
|
-
let gt =
|
|
105
|
+
setup(e, { expose: Se, emit: Ke }) {
|
|
106
|
+
let gt = h(() => import("./Tooltip-979Ytd8R.js")), _t = h(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), vt = h(() => import("./DataTable-DweDyHc1.js")), yt = h(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), bt = h(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), xt = h(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), St = h(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), Ct = h(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_waffle: wt } = fe(), { isThemeValid: Tt, warnInvalidTheme: Et } = ve(), E = e, Dt = Ge(), Ot = u({
|
|
107
107
|
get() {
|
|
108
108
|
return !!E.dataset && E.dataset.length;
|
|
109
109
|
},
|
|
110
110
|
set(e) {
|
|
111
111
|
return e;
|
|
112
112
|
}
|
|
113
|
-
}), D = y(
|
|
113
|
+
}), D = y(i()), kt = y(!1), At = y(""), O = y(null), jt = y(0), k = y(null), Mt = y(null), Nt = y(null), Pt = y(null), Ft = y(null), It = y(0), Lt = y(0), Rt = y(0), zt = y(!1), Bt = y(null), Vt = y(null), Ht = y(!1), Ut = y(!1), A = y(null), Wt = y({
|
|
114
114
|
x: 0,
|
|
115
115
|
y: 0
|
|
116
|
-
}),
|
|
116
|
+
}), j = y("pointer"), Gt = y(!1), M = y($t()), N = u(() => M.value.userOptions.useCursorPointer), Kt = u(() => a({
|
|
117
117
|
defaultConfig: {
|
|
118
118
|
useCustomCells: !1,
|
|
119
119
|
userOptions: { show: !1 },
|
|
@@ -132,7 +132,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
132
132
|
} }
|
|
133
133
|
},
|
|
134
134
|
userConfig: M.value.skeletonConfig ?? {}
|
|
135
|
-
})), { loading: qt, FINAL_DATASET: Jt, manualLoading: Yt } =
|
|
135
|
+
})), { loading: qt, FINAL_DATASET: Jt, manualLoading: Yt } = me({
|
|
136
136
|
...We(E),
|
|
137
137
|
FINAL_CONFIG: M,
|
|
138
138
|
prepareConfig: $t,
|
|
@@ -158,45 +158,45 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
158
158
|
color: "#CACACA"
|
|
159
159
|
}
|
|
160
160
|
],
|
|
161
|
-
skeletonConfig:
|
|
161
|
+
skeletonConfig: a({
|
|
162
162
|
defaultConfig: M.value,
|
|
163
163
|
userConfig: Kt.value
|
|
164
164
|
})
|
|
165
|
-
}), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } =
|
|
165
|
+
}), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = De({ config: M.value }), { svgRef: P } = Oe({ config: M.value.style.chart.title });
|
|
166
166
|
function $t() {
|
|
167
|
-
let e =
|
|
167
|
+
let e = _e({
|
|
168
168
|
userConfig: E.config,
|
|
169
169
|
defaultConfig: wt
|
|
170
|
-
}),
|
|
171
|
-
if (!
|
|
170
|
+
}), n = e.theme;
|
|
171
|
+
if (!n) return e;
|
|
172
172
|
if (!Tt.value(e)) return Et(e), e;
|
|
173
|
-
let
|
|
174
|
-
userConfig:
|
|
173
|
+
let r = _e({
|
|
174
|
+
userConfig: je[n] || E.config,
|
|
175
175
|
defaultConfig: e
|
|
176
|
-
}), i =
|
|
176
|
+
}), i = _e({
|
|
177
177
|
userConfig: E.config,
|
|
178
|
-
defaultConfig:
|
|
178
|
+
defaultConfig: r
|
|
179
179
|
});
|
|
180
180
|
return {
|
|
181
181
|
...i,
|
|
182
|
-
customPalette: i.customPalette.length ? i.customPalette :
|
|
182
|
+
customPalette: i.customPalette.length ? i.customPalette : t[n] || s
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
w(() => E.config, (e) => {
|
|
186
|
-
qt.value || (M.value = $t()), Xt.value = !M.value.userOptions.showOnChartHover, tn(),
|
|
186
|
+
qt.value || (M.value = $t()), Xt.value = !M.value.userOptions.showOnChartHover, tn(), It.value += 1, Lt.value += 1, Rt.value += 1, L.value.showTable = M.value.table.show, L.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
187
187
|
}, { deep: !0 });
|
|
188
|
-
let F = Ue(null), I = Ue(null), en =
|
|
188
|
+
let F = Ue(null), I = Ue(null), en = u(() => !!M.value.debug);
|
|
189
189
|
function tn() {
|
|
190
|
-
if (
|
|
190
|
+
if (ne(E.dataset) ? (re({
|
|
191
191
|
componentName: "VueUiWaffle",
|
|
192
192
|
type: "dataset",
|
|
193
193
|
debug: en.value
|
|
194
194
|
}), Ot.value = !1, Yt.value = !0) : E.dataset.forEach((e, t) => {
|
|
195
|
-
|
|
195
|
+
ie({
|
|
196
196
|
datasetObject: e,
|
|
197
197
|
requiredAttributes: ["name", "values"]
|
|
198
198
|
}).forEach((e) => {
|
|
199
|
-
|
|
199
|
+
re({
|
|
200
200
|
componentName: "VueUiWaffle",
|
|
201
201
|
type: "datasetSerieAttribute",
|
|
202
202
|
property: e,
|
|
@@ -204,32 +204,32 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
204
204
|
debug: en.value
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
|
-
}),
|
|
208
|
-
let e =
|
|
209
|
-
let { width: e, height: t } =
|
|
210
|
-
chart:
|
|
211
|
-
title: M.value.style.chart.title.text ?
|
|
212
|
-
legend: M.value.style.chart.legend.show ?
|
|
213
|
-
source:
|
|
214
|
-
noTitle:
|
|
207
|
+
}), ne(E.dataset) || (Yt.value = M.value.loading), M.value.responsive) {
|
|
208
|
+
let e = Ce(() => {
|
|
209
|
+
let { width: e, height: t } = we({
|
|
210
|
+
chart: k.value,
|
|
211
|
+
title: M.value.style.chart.title.text ? Mt.value : null,
|
|
212
|
+
legend: M.value.style.chart.legend.show ? Nt.value : null,
|
|
213
|
+
source: Pt.value,
|
|
214
|
+
noTitle: Ft.value
|
|
215
215
|
});
|
|
216
216
|
requestAnimationFrame(() => {
|
|
217
217
|
R.value.width = e, R.value.height = t, z.value.width = e, z.value.height = t;
|
|
218
218
|
});
|
|
219
219
|
});
|
|
220
|
-
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value =
|
|
220
|
+
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = k.value.parentNode, F.value.observe(I.value);
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
Ve(() => {
|
|
224
|
-
|
|
224
|
+
zt.value = !0, tn();
|
|
225
225
|
}), Be(() => {
|
|
226
226
|
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect());
|
|
227
227
|
});
|
|
228
|
-
let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } =
|
|
228
|
+
let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } = pe({
|
|
229
229
|
elementId: `vue-ui-waffle_${D.value}`,
|
|
230
230
|
fileName: M.value.style.chart.title.text || "vue-ui-waffle",
|
|
231
231
|
options: M.value.userOptions.print
|
|
232
|
-
}), sn =
|
|
232
|
+
}), sn = u(() => M.value.userOptions.show && !M.value.style.chart.title.text), cn = u(() => ue(M.value.customPalette)), L = y({
|
|
233
233
|
showTable: M.value.table.show,
|
|
234
234
|
showTooltip: M.value.style.chart.tooltip.show
|
|
235
235
|
});
|
|
@@ -247,7 +247,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
247
247
|
left: 0,
|
|
248
248
|
height: 512,
|
|
249
249
|
width: 512
|
|
250
|
-
}), B =
|
|
250
|
+
}), B = u(() => (z.value.width - M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.spaceBetween) / M.value.style.chart.layout.grid.size), V = u(() => (z.value.height - M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.spaceBetween) / M.value.style.chart.layout.grid.size), ln = u(() => Math.max(1e-4, z.value.width / M.value.style.chart.layout.grid.size)), un = u(() => Math.max(1e-4, z.value.height / M.value.style.chart.layout.grid.size));
|
|
251
251
|
function dn(e) {
|
|
252
252
|
let t = M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.size, n = e.reduce((e, t) => e + t, 0), r = e.map((e) => e / n * t), i = r.map(Math.floor), a = r.map((e) => e % 1), o = t - i.reduce((e, t) => e + t, 0);
|
|
253
253
|
for (; o > 0;) {
|
|
@@ -260,19 +260,19 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
260
260
|
function pn() {
|
|
261
261
|
return fn.value = Jt.value.flatMap((e) => e.values.reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0) === 0, Jt.value.map((e, t) => ({
|
|
262
262
|
...e,
|
|
263
|
-
color:
|
|
263
|
+
color: de(e.color) || cn.value[t] || s[t] || s[t % s.length],
|
|
264
264
|
uid: `serie_${t}`,
|
|
265
265
|
absoluteIndex: t
|
|
266
266
|
}));
|
|
267
267
|
}
|
|
268
|
-
let mn =
|
|
268
|
+
let mn = u(() => pn()), H = y(mn.value);
|
|
269
269
|
w(() => E.dataset, (e) => {
|
|
270
270
|
Array.isArray(e) && e.length > 0 && (Yt.value = !1);
|
|
271
271
|
}, { immediate: !0 }), w(() => E.dataset, (e) => {
|
|
272
272
|
H.value = pn();
|
|
273
273
|
}, { deep: !0 });
|
|
274
|
-
let hn =
|
|
275
|
-
[null, void 0].includes(e.values) &&
|
|
274
|
+
let hn = u(() => dn(H.value.filter((e, t) => !K.value.includes(e.uid)).map((e, t) => fn.value ? 1 : (e.values || []).reduce((e, t) => e + t, 0)))), gn = u(() => dn(H.value.map((e, t) => fn.value ? 1 : (e.values || []).reduce((e, t) => e + t)))), U = u(() => (Jt.value.forEach((e, t) => {
|
|
275
|
+
[null, void 0].includes(e.values) && re({
|
|
276
276
|
componentName: "VueUiWaffle",
|
|
277
277
|
type: "datasetSerieAttribute",
|
|
278
278
|
property: "values (number[])",
|
|
@@ -286,7 +286,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
286
286
|
value: (e.values || []).reduce((e, t) => e + t, 0),
|
|
287
287
|
absoluteValues: e.values || [],
|
|
288
288
|
proportion: hn.value[t]
|
|
289
|
-
})))), _n =
|
|
289
|
+
})))), _n = u(() => H.value.map((e, t) => ({
|
|
290
290
|
absoluteIndex: e.absoluteIndex,
|
|
291
291
|
uid: e.uid,
|
|
292
292
|
name: e.name,
|
|
@@ -303,7 +303,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
303
303
|
proportion: e.proportion
|
|
304
304
|
}));
|
|
305
305
|
}
|
|
306
|
-
let yn =
|
|
306
|
+
let yn = u(() => {
|
|
307
307
|
let e = 0;
|
|
308
308
|
return U.value.map((t, n) => {
|
|
309
309
|
let r = e, i = r + t.proportion, a = [];
|
|
@@ -314,7 +314,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
314
314
|
rects: a
|
|
315
315
|
};
|
|
316
316
|
});
|
|
317
|
-
}), W =
|
|
317
|
+
}), W = u(() => yn.value.flatMap((e, t) => e.rects.map((n, r) => ({
|
|
318
318
|
isFirst: r === 0,
|
|
319
319
|
isLongEnough: n.length > 2,
|
|
320
320
|
name: e.name,
|
|
@@ -327,7 +327,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
327
327
|
}))).map((e, t) => ({
|
|
328
328
|
...e,
|
|
329
329
|
isAbsoluteFirst: t % M.value.style.chart.layout.grid.size === 0
|
|
330
|
-
}))), G =
|
|
330
|
+
}))), G = u(() => {
|
|
331
331
|
let e = [];
|
|
332
332
|
for (let t = 0; t < M.value.style.chart.layout.grid.size; t += 1) for (let n = 0; n < M.value.style.chart.layout.grid.size; n += 1) e.push({
|
|
333
333
|
isStartOfLine: n === 0,
|
|
@@ -437,7 +437,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
437
437
|
t !== null && (K.value.includes(t.uid) || q(t.uid));
|
|
438
438
|
}
|
|
439
439
|
function Mn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
|
|
440
|
-
return
|
|
440
|
+
return ke({
|
|
441
441
|
config: i,
|
|
442
442
|
val: e,
|
|
443
443
|
percentage: t,
|
|
@@ -445,19 +445,19 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
445
445
|
showPercentage: r
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
-
let J =
|
|
449
|
-
let n = (e.values || []).reduce((e, t) => e + t, 0),
|
|
448
|
+
let J = u(() => H.value.map((e, t) => {
|
|
449
|
+
let n = (e.values || []).reduce((e, t) => e + t, 0), r = n / H.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
|
|
450
450
|
return {
|
|
451
451
|
name: e.name,
|
|
452
|
-
color: e.color || cn[t] ||
|
|
452
|
+
color: e.color || cn[t] || s[t] || s[t % s.length],
|
|
453
453
|
value: n,
|
|
454
|
-
proportion:
|
|
454
|
+
proportion: r,
|
|
455
455
|
uid: e.uid,
|
|
456
456
|
shape: "square"
|
|
457
457
|
};
|
|
458
458
|
}).map((e, t) => {
|
|
459
459
|
let n = Mn({
|
|
460
|
-
val:
|
|
460
|
+
val: c(M.value.style.chart.layout.labels.dataLabels.formatter, e.value, r({
|
|
461
461
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
462
462
|
v: e.value,
|
|
463
463
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -466,7 +466,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
466
466
|
datapoint: e,
|
|
467
467
|
index: t
|
|
468
468
|
}),
|
|
469
|
-
percentage: isNaN(e.value / Y.value) ? "-" :
|
|
469
|
+
percentage: isNaN(e.value / Y.value) ? "-" : r({
|
|
470
470
|
v: e.value / Y.value * 100,
|
|
471
471
|
s: "%",
|
|
472
472
|
r: M.value.style.chart.legend.roundingPercentage
|
|
@@ -482,14 +482,14 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
482
482
|
isSegregated: K.value.includes(e.uid),
|
|
483
483
|
display: `${e.name}${M.value.style.chart.legend.showPercentage || M.value.style.chart.legend.showValue ? ": " : ""}${n}`
|
|
484
484
|
};
|
|
485
|
-
})), Nn =
|
|
485
|
+
})), Nn = u(() => ({
|
|
486
486
|
cy: "waffle-div-legend",
|
|
487
487
|
backgroundColor: M.value.style.chart.legend.backgroundColor,
|
|
488
488
|
color: M.value.style.chart.legend.color,
|
|
489
489
|
fontSize: M.value.style.chart.legend.fontSize,
|
|
490
490
|
paddingBottom: 12,
|
|
491
491
|
fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
|
|
492
|
-
})), Y =
|
|
492
|
+
})), Y = u(() => U.value.map((e) => e.value).reduce((e, t) => e + t, 0)), Pn = y(null), Fn = y(null), X = u(() => {
|
|
493
493
|
let e = /* @__PURE__ */ new Map();
|
|
494
494
|
return W.value.forEach((t, n) => {
|
|
495
495
|
e.has(t.serieIndex) ? e.get(t.serieIndex).rectIndexes.push(n) : e.set(t.serieIndex, {
|
|
@@ -523,13 +523,13 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
523
523
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
524
524
|
datapoint: t,
|
|
525
525
|
seriesIndex: t.serieIndex
|
|
526
|
-
}), Fn.value = null,
|
|
526
|
+
}), Fn.value = null, kt.value = !1, O.value = null, A.value = null, j.value = "pointer";
|
|
527
527
|
}
|
|
528
528
|
function Bn(e, t = "pointer") {
|
|
529
529
|
if (K.value.length === E.dataset.length) return;
|
|
530
530
|
let n = W.value[e];
|
|
531
531
|
if (!n) return;
|
|
532
|
-
|
|
532
|
+
j.value = t, A.value = n.serieIndex, Pn.value = {
|
|
533
533
|
datapoint: n,
|
|
534
534
|
seriesIndex: n.absoluteIndex,
|
|
535
535
|
series: H.value,
|
|
@@ -537,14 +537,14 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
537
537
|
}, M.value.events.datapointEnter && Fn.value !== n.serieIndex && M.value.events.datapointEnter({
|
|
538
538
|
datapoint: n,
|
|
539
539
|
seriesIndex: n.serieIndex
|
|
540
|
-
}), Fn.value = n.serieIndex,
|
|
541
|
-
let
|
|
542
|
-
if (
|
|
540
|
+
}), Fn.value = n.serieIndex, kt.value = !0, O.value = n.serieIndex;
|
|
541
|
+
let i = M.value.style.chart.tooltip.customFormat;
|
|
542
|
+
if (ae(i) && oe(() => i({
|
|
543
543
|
seriesIndex: n.absoluteIndex,
|
|
544
544
|
datapoint: n,
|
|
545
545
|
series: H.value,
|
|
546
546
|
config: M.value
|
|
547
|
-
})))
|
|
547
|
+
}))) At.value = i({
|
|
548
548
|
seriesIndex: n.absoluteIndex,
|
|
549
549
|
datapoint: n,
|
|
550
550
|
series: H.value,
|
|
@@ -556,7 +556,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
556
556
|
config: M.value.style.chart.tooltip,
|
|
557
557
|
showVal: M.value.style.chart.tooltip.showValue,
|
|
558
558
|
showPercentage: M.value.style.chart.tooltip.showPercentage,
|
|
559
|
-
val: `<span>${
|
|
559
|
+
val: `<span>${c(M.value.style.chart.layout.labels.dataLabels.formatter, n.value, r({
|
|
560
560
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
561
561
|
v: n.value,
|
|
562
562
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -566,15 +566,15 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
566
566
|
seriesIndex: n.absoluteIndex,
|
|
567
567
|
series: H.value
|
|
568
568
|
})}</span>`,
|
|
569
|
-
percentage: `<span>${
|
|
569
|
+
percentage: `<span>${r({
|
|
570
570
|
v: fn.value ? 1 / Jt.value.length * 100 : n.value / Y.value * 100,
|
|
571
571
|
s: "%",
|
|
572
572
|
r: M.value.style.chart.tooltip.roundingPercentage
|
|
573
573
|
})}</span>`
|
|
574
|
-
})}</b></div>`,
|
|
574
|
+
})}</b></div>`, At.value = e;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
let Vn = Ke, Z =
|
|
577
|
+
let Vn = Ke, Z = u(() => ({
|
|
578
578
|
head: U.value.map((e) => ({
|
|
579
579
|
name: e.name,
|
|
580
580
|
color: e.color
|
|
@@ -582,13 +582,13 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
582
582
|
body: U.value.map((e) => e.value)
|
|
583
583
|
}));
|
|
584
584
|
function Hn(e) {
|
|
585
|
-
return M.value.useBlurOnHover && ![null, void 0].includes(
|
|
585
|
+
return M.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== e ? `url(#blur_${D.value})` : "";
|
|
586
586
|
}
|
|
587
587
|
function Un(e, t) {
|
|
588
588
|
return M.value.style.chart.layout.labels.captions.show ? W.value.length && !bn.value && !M.value.style.chart.layout.grid.vertical && (W.value[e].isFirst && t.position < M.value.style.chart.layout.grid.size - 2 || W.value[e].isAbsoluteFirst && e % M.value.style.chart.layout.grid.size === 0 && W.value[e].absoluteStartIndex) : !1;
|
|
589
589
|
}
|
|
590
590
|
function Wn(e, t = null) {
|
|
591
|
-
let n =
|
|
591
|
+
let n = c(M.value.style.chart.layout.labels.dataLabels.formatter, W.value[e].value, r({
|
|
592
592
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
593
593
|
v: W.value[e].value,
|
|
594
594
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -596,29 +596,29 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
596
596
|
}), {
|
|
597
597
|
datapoint: W.value[e],
|
|
598
598
|
position: t
|
|
599
|
-
}),
|
|
599
|
+
}), i = r({
|
|
600
600
|
v: W.value[e].proportion,
|
|
601
601
|
s: "%",
|
|
602
602
|
r: M.value.style.chart.layout.labels.captions.roundingPercentage
|
|
603
|
-
}), a = (M.value.style.chart.layout.labels.captions.serieNameAbbreviation ?
|
|
603
|
+
}), a = (M.value.style.chart.layout.labels.captions.serieNameAbbreviation ? se({
|
|
604
604
|
source: W.value[e].name,
|
|
605
605
|
length: M.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize
|
|
606
606
|
}) : W.value[e].name) + (M.value.style.chart.layout.labels.captions.showPercentage || M.value.style.chart.layout.labels.captions.showValue ? ":" : "");
|
|
607
607
|
return `${M.value.style.chart.layout.labels.captions.showSerieName ? a : ""} ${Mn({
|
|
608
608
|
val: n,
|
|
609
|
-
percentage:
|
|
609
|
+
percentage: i,
|
|
610
610
|
showVal: M.value.style.chart.layout.labels.captions.showValue,
|
|
611
611
|
showPercentage: M.value.style.chart.layout.labels.captions.showPercentage,
|
|
612
612
|
config: M.value.style.chart.layout.labels.dataLabels
|
|
613
613
|
})}`;
|
|
614
614
|
}
|
|
615
615
|
function Gn(e = null) {
|
|
616
|
-
|
|
616
|
+
Le(() => {
|
|
617
617
|
let t = Z.value.head.map((e, t) => [
|
|
618
618
|
[e.name],
|
|
619
619
|
[Z.value.body[t]],
|
|
620
620
|
[isNaN(Z.value.body[t] / Y.value) ? "-" : Z.value.body[t] / Y.value * 100]
|
|
621
|
-
]), n =
|
|
621
|
+
]), n = te([
|
|
622
622
|
[M.value.style.chart.title.text],
|
|
623
623
|
[M.value.style.chart.title.subtitle.text],
|
|
624
624
|
[
|
|
@@ -633,10 +633,10 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
633
633
|
});
|
|
634
634
|
});
|
|
635
635
|
}
|
|
636
|
-
let Q =
|
|
636
|
+
let Q = u(() => ({
|
|
637
637
|
head: [
|
|
638
638
|
" <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>",
|
|
639
|
-
|
|
639
|
+
c(M.value.style.chart.layout.labels.dataLabels.formatter, Y.value, r({
|
|
640
640
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
641
641
|
v: Y.value,
|
|
642
642
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -649,13 +649,13 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
649
649
|
color: e.color,
|
|
650
650
|
name: e.name
|
|
651
651
|
},
|
|
652
|
-
|
|
652
|
+
c(M.value.style.chart.layout.labels.dataLabels.formatter, Z.value.body[t], r({
|
|
653
653
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
654
654
|
v: Z.value.body[t],
|
|
655
655
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
656
656
|
r: M.value.table.td.roundingValue
|
|
657
657
|
})),
|
|
658
|
-
isNaN(Z.value.body[t] / Y.value) ? "-" :
|
|
658
|
+
isNaN(Z.value.body[t] / Y.value) ? "-" : r({
|
|
659
659
|
v: Z.value.body[t] / Y.value * 100,
|
|
660
660
|
s: "%",
|
|
661
661
|
r: M.value.table.td.roundingPercentage
|
|
@@ -682,7 +682,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
682
682
|
]
|
|
683
683
|
})), $ = y(!1);
|
|
684
684
|
function Kn(e) {
|
|
685
|
-
$.value = e,
|
|
685
|
+
$.value = e, jt.value += 1;
|
|
686
686
|
}
|
|
687
687
|
function qn() {
|
|
688
688
|
L.value.showTable = !L.value.showTable;
|
|
@@ -695,9 +695,9 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
695
695
|
Yn.value = !Yn.value;
|
|
696
696
|
}
|
|
697
697
|
async function Zn({ scale: e = 2 } = {}) {
|
|
698
|
-
if (!
|
|
699
|
-
let { width: t, height: n } =
|
|
700
|
-
domElement:
|
|
698
|
+
if (!k.value) return;
|
|
699
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
|
|
700
|
+
domElement: k.value,
|
|
701
701
|
base64: !0,
|
|
702
702
|
img: !0,
|
|
703
703
|
scale: e
|
|
@@ -711,7 +711,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
711
711
|
aspectRatio: r
|
|
712
712
|
};
|
|
713
713
|
}
|
|
714
|
-
let Qn =
|
|
714
|
+
let Qn = u(() => {
|
|
715
715
|
let e = M.value.table.useDialog && !M.value.table.show, t = L.value.showTable;
|
|
716
716
|
return {
|
|
717
717
|
component: e ? Ct : yt,
|
|
@@ -722,7 +722,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
722
722
|
headerColor: M.value.table.th.color,
|
|
723
723
|
headerBg: M.value.table.th.backgroundColor,
|
|
724
724
|
isFullscreen: $.value,
|
|
725
|
-
fullscreenParent:
|
|
725
|
+
fullscreenParent: k.value,
|
|
726
726
|
forcedWidth: Math.min(500, window.innerWidth * .8),
|
|
727
727
|
isCursorPointer: N.value
|
|
728
728
|
} : {
|
|
@@ -743,23 +743,23 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
743
743
|
};
|
|
744
744
|
});
|
|
745
745
|
w(() => L.value.showTable, (e) => {
|
|
746
|
-
M.value.table.show || (e && M.value.table.useDialog &&
|
|
746
|
+
M.value.table.show || (e && M.value.table.useDialog && Bt.value ? Bt.value.open() : "close" in Bt.value && Bt.value.close());
|
|
747
747
|
});
|
|
748
748
|
function $n() {
|
|
749
|
-
L.value.showTable = !1,
|
|
749
|
+
L.value.showTable = !1, Vt.value && Vt.value.setTableIconState(!1);
|
|
750
750
|
}
|
|
751
|
-
let er =
|
|
751
|
+
let er = u(() => J.value.map((e) => ({
|
|
752
752
|
...e,
|
|
753
753
|
name: e.display
|
|
754
|
-
}))), tr =
|
|
754
|
+
}))), tr = u(() => M.value.style.chart.backgroundColor), nr = u(() => M.value.style.chart.legend), { exportSvg: rr, getSvg: ir } = ge({
|
|
755
755
|
svg: P,
|
|
756
|
-
title:
|
|
756
|
+
title: u(() => M.value.style.chart.title),
|
|
757
757
|
legend: nr,
|
|
758
758
|
legendItems: er,
|
|
759
759
|
backgroundColor: tr
|
|
760
760
|
});
|
|
761
761
|
async function ar({ isCb: e }) {
|
|
762
|
-
|
|
762
|
+
Ut.value = !0, await Le();
|
|
763
763
|
try {
|
|
764
764
|
if (e) {
|
|
765
765
|
let { blob: e, url: t, text: n, dataUrl: r } = await ir();
|
|
@@ -771,16 +771,16 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
771
771
|
}));
|
|
772
772
|
} else await Promise.resolve(rr());
|
|
773
773
|
} finally {
|
|
774
|
-
|
|
774
|
+
Ut.value = !1;
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
777
|
function or(e) {
|
|
778
778
|
if (e?.stage === "start") {
|
|
779
|
-
|
|
779
|
+
Ht.value = !0;
|
|
780
780
|
return;
|
|
781
781
|
}
|
|
782
782
|
if (e?.stage === "end") {
|
|
783
|
-
|
|
783
|
+
Ht.value = !1;
|
|
784
784
|
return;
|
|
785
785
|
}
|
|
786
786
|
on();
|
|
@@ -799,30 +799,30 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
799
799
|
}));
|
|
800
800
|
}
|
|
801
801
|
function cr() {
|
|
802
|
-
|
|
802
|
+
A.value = null, Gt.value = !0;
|
|
803
803
|
}
|
|
804
804
|
function lr() {
|
|
805
|
-
|
|
805
|
+
A.value = null, j.value = "pointer", kt.value = !1, O.value = null, Fn.value = null, Gt.value = !1;
|
|
806
806
|
}
|
|
807
807
|
function ur(e) {
|
|
808
808
|
if (!P.value || Yn.value || document.activeElement !== P.value || !X.value.length || K.value.length === E.dataset.length) return;
|
|
809
809
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
810
810
|
if (!t && !n && !r && !i) return;
|
|
811
811
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
812
|
-
|
|
812
|
+
A.value = null, j.value = "pointer", kt.value = !1, O.value = null, Fn.value = null;
|
|
813
813
|
return;
|
|
814
814
|
}
|
|
815
815
|
if (r) {
|
|
816
|
-
if (
|
|
817
|
-
let e = Ln(
|
|
816
|
+
if (A.value === null) return;
|
|
817
|
+
let e = Ln(A.value);
|
|
818
818
|
if (e === null) return;
|
|
819
819
|
Rn(e);
|
|
820
820
|
return;
|
|
821
821
|
}
|
|
822
|
-
let a = X.value.findIndex((e) => e.serieIndex ===
|
|
822
|
+
let a = X.value.findIndex((e) => e.serieIndex === A.value), o = null;
|
|
823
823
|
if (o = a === -1 ? n ? X.value[0] : X.value[X.value.length - 1] : n ? X.value[(a + 1) % X.value.length] : X.value[(a - 1 + X.value.length) % X.value.length], !o) return;
|
|
824
|
-
let
|
|
825
|
-
|
|
824
|
+
let s = Ln(o.serieIndex);
|
|
825
|
+
s !== null && (dr(o.serieIndex), Bn(s, "keyboard"));
|
|
826
826
|
}
|
|
827
827
|
function dr(e) {
|
|
828
828
|
if (!Number.isFinite(e) || !P.value) return;
|
|
@@ -836,17 +836,17 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
836
836
|
} : null;
|
|
837
837
|
}).filter(Boolean);
|
|
838
838
|
if (!n.length) return;
|
|
839
|
-
let r = Math.min(...n.map((e) => e.x)), i = Math.max(...n.map((e) => e.x)), a = Math.min(...n.map((e) => e.y)), o = Math.max(...n.map((e) => e.y)),
|
|
840
|
-
|
|
841
|
-
x:
|
|
842
|
-
y:
|
|
839
|
+
let r = Math.min(...n.map((e) => e.x)), i = Math.max(...n.map((e) => e.x)), a = Math.min(...n.map((e) => e.y)), o = Math.max(...n.map((e) => e.y)), s = (r + i) / 2, ee = (a + o) / 2, te = P.value.getBoundingClientRect();
|
|
840
|
+
Wt.value = {
|
|
841
|
+
x: te.left + s / R.value.width * te.width,
|
|
842
|
+
y: te.top + ee / R.value.height * te.height
|
|
843
843
|
};
|
|
844
844
|
}
|
|
845
|
-
let fr =
|
|
845
|
+
let fr = u(() => ({
|
|
846
846
|
headers: Q.value?.colNames ?? [],
|
|
847
847
|
rows: Q.value?.body ?? []
|
|
848
848
|
}));
|
|
849
|
-
return
|
|
849
|
+
return Se({
|
|
850
850
|
getData: vn,
|
|
851
851
|
getImage: Zn,
|
|
852
852
|
generatePdf: an,
|
|
@@ -860,20 +860,20 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
860
860
|
toggleAnnotator: Xn,
|
|
861
861
|
toggleFullscreen: Kn,
|
|
862
862
|
copyAlt: sr
|
|
863
|
-
}), (e, t) => (v(),
|
|
864
|
-
class:
|
|
863
|
+
}), (e, t) => (v(), p("div", {
|
|
864
|
+
class: Re(`vue-data-ui-component vue-ui-waffle ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
865
865
|
ref_key: "waffleChart",
|
|
866
|
-
ref:
|
|
866
|
+
ref: k,
|
|
867
867
|
id: `vue-ui-waffle_${D.value}`,
|
|
868
|
-
style:
|
|
868
|
+
style: ze(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
|
|
869
869
|
onMouseenter: t[2] ||= () => C(Zt)(!0),
|
|
870
870
|
onMouseleave: t[3] ||= () => C(Zt)(!1)
|
|
871
871
|
}, [
|
|
872
|
-
|
|
872
|
+
m("div", {
|
|
873
873
|
id: `chart-instructions-${D.value}`,
|
|
874
874
|
class: "sr-only"
|
|
875
|
-
}, [
|
|
876
|
-
fr.value?.rows?.length ? (v(),
|
|
875
|
+
}, [m("p", null, S(M.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
|
|
876
|
+
fr.value?.rows?.length ? (v(), d(Ee, {
|
|
877
877
|
key: 0,
|
|
878
878
|
uid: D.value,
|
|
879
879
|
head: fr.value.headers,
|
|
@@ -886,8 +886,8 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
886
886
|
"body",
|
|
887
887
|
"notice",
|
|
888
888
|
"caption"
|
|
889
|
-
])) :
|
|
890
|
-
M.value.userOptions.buttons.annotator ? (v(),
|
|
889
|
+
])) : f("", !0),
|
|
890
|
+
M.value.userOptions.buttons.annotator ? (v(), d(C(xt), {
|
|
891
891
|
key: 1,
|
|
892
892
|
svgRef: C(P),
|
|
893
893
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
@@ -897,11 +897,11 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
897
897
|
onClose: Xn
|
|
898
898
|
}, {
|
|
899
899
|
"annotator-action-close": T(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
900
|
-
"annotator-action-color": T(({ color: t }) => [x(e.$slots, "annotator-action-color", g(
|
|
901
|
-
"annotator-action-draw": T(({ mode: t }) => [x(e.$slots, "annotator-action-draw", g(
|
|
902
|
-
"annotator-action-undo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", g(
|
|
903
|
-
"annotator-action-redo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", g(
|
|
904
|
-
"annotator-action-delete": T(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", g(
|
|
900
|
+
"annotator-action-color": T(({ color: t }) => [x(e.$slots, "annotator-action-color", _(g({ color: t })), void 0, !0)]),
|
|
901
|
+
"annotator-action-draw": T(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(g({ mode: t })), void 0, !0)]),
|
|
902
|
+
"annotator-action-undo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(g({ disabled: t })), void 0, !0)]),
|
|
903
|
+
"annotator-action-redo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(g({ disabled: t })), void 0, !0)]),
|
|
904
|
+
"annotator-action-delete": T(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(g({ disabled: t })), void 0, !0)]),
|
|
905
905
|
_: 3
|
|
906
906
|
}, 8, [
|
|
907
907
|
"svgRef",
|
|
@@ -909,21 +909,21 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
909
909
|
"color",
|
|
910
910
|
"active",
|
|
911
911
|
"isCursorPointer"
|
|
912
|
-
])) :
|
|
913
|
-
sn.value ? (v(),
|
|
912
|
+
])) : f("", !0),
|
|
913
|
+
sn.value ? (v(), p("div", {
|
|
914
914
|
key: 2,
|
|
915
915
|
ref_key: "noTitle",
|
|
916
|
-
ref:
|
|
916
|
+
ref: Ft,
|
|
917
917
|
class: "vue-data-ui-no-title-space",
|
|
918
918
|
style: "height:36px; width: 100%;background:transparent"
|
|
919
|
-
}, null, 512)) :
|
|
920
|
-
M.value.style.chart.title.text ? (v(),
|
|
919
|
+
}, null, 512)) : f("", !0),
|
|
920
|
+
M.value.style.chart.title.text ? (v(), p("div", {
|
|
921
921
|
key: 3,
|
|
922
922
|
ref_key: "chartTitle",
|
|
923
|
-
ref:
|
|
923
|
+
ref: Mt,
|
|
924
924
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
925
|
-
}, [(v(),
|
|
926
|
-
key: `title_${
|
|
925
|
+
}, [(v(), d(be, {
|
|
926
|
+
key: `title_${It.value}`,
|
|
927
927
|
config: {
|
|
928
928
|
title: {
|
|
929
929
|
cy: "waffle-title",
|
|
@@ -934,12 +934,12 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
934
934
|
...M.value.style.chart.title.subtitle
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
|
-
}, null, 8, ["config"]))], 512)) :
|
|
938
|
-
|
|
939
|
-
M.value.userOptions.show && Ot.value && (C(Qt) || C(Xt)) ? (v(),
|
|
937
|
+
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
938
|
+
m("div", { id: `legend-top-${D.value}` }, null, 8, Ye),
|
|
939
|
+
M.value.userOptions.show && Ot.value && (C(Qt) || C(Xt)) ? (v(), d(C(bt), {
|
|
940
940
|
ref_key: "userOptionsRef",
|
|
941
|
-
ref:
|
|
942
|
-
key: `user_options_${
|
|
941
|
+
ref: Vt,
|
|
942
|
+
key: `user_options_${jt.value}`,
|
|
943
943
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
944
944
|
color: M.value.style.chart.color,
|
|
945
945
|
isPrinting: C(nn),
|
|
@@ -956,7 +956,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
956
956
|
isFullscreen: $.value,
|
|
957
957
|
isTooltip: L.value.showTooltip,
|
|
958
958
|
titles: { ...M.value.userOptions.buttonTitles },
|
|
959
|
-
chartElement:
|
|
959
|
+
chartElement: k.value,
|
|
960
960
|
position: M.value.userOptions.position,
|
|
961
961
|
hasAnnotator: M.value.userOptions.buttons.annotator,
|
|
962
962
|
isAnnotation: Yn.value,
|
|
@@ -973,11 +973,11 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
973
973
|
onToggleTooltip: Jn,
|
|
974
974
|
onToggleAnnotator: Xn,
|
|
975
975
|
onCopyAlt: sr,
|
|
976
|
-
style:
|
|
977
|
-
},
|
|
976
|
+
style: ze({ visibility: C(Qt) ? C(Xt) ? "visible" : "hidden" : "visible" })
|
|
977
|
+
}, Ne({ _: 2 }, [
|
|
978
978
|
e.$slots.menuIcon ? {
|
|
979
979
|
name: "menuIcon",
|
|
980
|
-
fn: T(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", g(
|
|
980
|
+
fn: T(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(g({
|
|
981
981
|
isOpen: t,
|
|
982
982
|
color: n
|
|
983
983
|
})), void 0, !0)]),
|
|
@@ -1015,7 +1015,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1015
1015
|
} : void 0,
|
|
1016
1016
|
e.$slots.optionFullscreen ? {
|
|
1017
1017
|
name: "optionFullscreen",
|
|
1018
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", g(
|
|
1018
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(g({
|
|
1019
1019
|
toggleFullscreen: t,
|
|
1020
1020
|
isFullscreen: n
|
|
1021
1021
|
})), void 0, !0)]),
|
|
@@ -1023,7 +1023,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1023
1023
|
} : void 0,
|
|
1024
1024
|
e.$slots.optionAnnotator ? {
|
|
1025
1025
|
name: "optionAnnotator",
|
|
1026
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", g(
|
|
1026
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(g({
|
|
1027
1027
|
toggleAnnotator: t,
|
|
1028
1028
|
isAnnotator: n
|
|
1029
1029
|
})), void 0, !0)]),
|
|
@@ -1031,7 +1031,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1031
1031
|
} : void 0,
|
|
1032
1032
|
e.$slots.optionAltCopy ? {
|
|
1033
1033
|
name: "optionAltCopy",
|
|
1034
|
-
fn: T(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", g(
|
|
1034
|
+
fn: T(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(g({ altCopy: t })), void 0, !0)]),
|
|
1035
1035
|
key: "9"
|
|
1036
1036
|
} : void 0,
|
|
1037
1037
|
e.$slots["custom-menu-before"] ? {
|
|
@@ -1044,58 +1044,58 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1044
1044
|
fn: T(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1045
1045
|
key: "11"
|
|
1046
1046
|
} : void 0
|
|
1047
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
1048
|
-
|
|
1047
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : f("", !0),
|
|
1048
|
+
m("div", Xe, [(v(), p("svg", {
|
|
1049
1049
|
ref_key: "svgRef",
|
|
1050
1050
|
ref: P,
|
|
1051
|
-
xmlns: C(
|
|
1051
|
+
xmlns: C(le),
|
|
1052
1052
|
"aria-describedby": `chart-instructions-${D.value}`,
|
|
1053
|
-
class:
|
|
1053
|
+
class: Re({
|
|
1054
1054
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1055
1055
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1056
1056
|
}),
|
|
1057
1057
|
tabindex: "0",
|
|
1058
1058
|
viewBox: `0 0 ${R.value.width <= 0 ? 10 : R.value.width} ${R.value.height <= 0 ? 10 : R.value.height}`,
|
|
1059
|
-
style:
|
|
1059
|
+
style: ze(`max-width:100%;overflow:visible;background:transparent;color:${M.value.style.chart.color}`),
|
|
1060
1060
|
onFocus: cr,
|
|
1061
1061
|
onBlur: lr,
|
|
1062
1062
|
onKeydown: ur
|
|
1063
1063
|
}, [
|
|
1064
|
-
|
|
1065
|
-
|
|
1064
|
+
Fe(C(St)),
|
|
1065
|
+
m("defs", null, [(v(!0), p(l, null, b(W.value, (e, t) => (v(), p("radialGradient", {
|
|
1066
1066
|
cx: "50%",
|
|
1067
1067
|
cy: "50%",
|
|
1068
1068
|
r: "50%",
|
|
1069
1069
|
fx: "50%",
|
|
1070
1070
|
fy: "50%",
|
|
1071
1071
|
id: `gradient_${D.value}_${t}`
|
|
1072
|
-
}, [
|
|
1072
|
+
}, [m("stop", {
|
|
1073
1073
|
offset: "0%",
|
|
1074
|
-
"stop-color": C(ee)(C(
|
|
1075
|
-
}, null, 8, $e),
|
|
1074
|
+
"stop-color": C(ee)(C(n)(e.color, .05), 100 - M.value.style.chart.layout.rect.gradientIntensity)
|
|
1075
|
+
}, null, 8, $e), m("stop", {
|
|
1076
1076
|
offset: "100%",
|
|
1077
1077
|
"stop-color": e.color
|
|
1078
1078
|
}, null, 8, et)], 8, Qe))), 256))]),
|
|
1079
|
-
|
|
1079
|
+
m("defs", null, [m("filter", {
|
|
1080
1080
|
id: `blur_${D.value}`,
|
|
1081
1081
|
x: "-50%",
|
|
1082
1082
|
y: "-50%",
|
|
1083
1083
|
width: "200%",
|
|
1084
1084
|
height: "200%"
|
|
1085
|
-
}, [...t[4] ||= [
|
|
1085
|
+
}, [...t[4] ||= [m("feGaussianBlur", {
|
|
1086
1086
|
in: "SourceGraphic",
|
|
1087
1087
|
stdDeviation: 2
|
|
1088
|
-
}, null, -1),
|
|
1088
|
+
}, null, -1), m("feColorMatrix", {
|
|
1089
1089
|
type: "saturate",
|
|
1090
1090
|
values: "0"
|
|
1091
1091
|
}, null, -1)]], 8, tt)]),
|
|
1092
|
-
M.value.useCustomCells && W.value.length && e.$slots.cell ? (v(!0),
|
|
1092
|
+
M.value.useCustomCells && W.value.length && e.$slots.cell ? (v(!0), p(l, { key: 0 }, b(G.value, (t, n) => (v(), p("foreignObject", {
|
|
1093
1093
|
x: t.x,
|
|
1094
1094
|
y: t.y,
|
|
1095
1095
|
height: V.value <= 0 ? 1e-4 : V.value,
|
|
1096
1096
|
width: B.value <= 0 ? 1e-4 : B.value,
|
|
1097
1097
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
1098
|
-
}, [x(e.$slots, "cell",
|
|
1098
|
+
}, [x(e.$slots, "cell", Ie({ ref_for: !0 }, {
|
|
1099
1099
|
cell: {
|
|
1100
1100
|
...t,
|
|
1101
1101
|
color: W.value[n].color,
|
|
@@ -1103,9 +1103,9 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1103
1103
|
width: Math.max(0, B.value),
|
|
1104
1104
|
...W.value[n]
|
|
1105
1105
|
},
|
|
1106
|
-
isSelected: [null, void 0].includes(
|
|
1107
|
-
}), void 0, !0)], 8, nt))), 256)) :
|
|
1108
|
-
!W.value.length && !M.value.useCustomCells ? (v(),
|
|
1106
|
+
isSelected: [null, void 0].includes(O.value) ? !0 : W.value[n].serieIndex === O.value
|
|
1107
|
+
}), void 0, !0)], 8, nt))), 256)) : f("", !0),
|
|
1108
|
+
!W.value.length && !M.value.useCustomCells ? (v(), p("rect", {
|
|
1109
1109
|
key: 1,
|
|
1110
1110
|
x: 12,
|
|
1111
1111
|
y: 12,
|
|
@@ -1114,12 +1114,12 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1114
1114
|
rx: 3,
|
|
1115
1115
|
fill: "none",
|
|
1116
1116
|
stroke: "black"
|
|
1117
|
-
}, null, 8, rt)) : W.value.length && !M.value.useCustomCells ? (v(),
|
|
1118
|
-
e.$slots.pattern ? (v(),
|
|
1117
|
+
}, null, 8, rt)) : W.value.length && !M.value.useCustomCells ? (v(), p(l, { key: 2 }, [
|
|
1118
|
+
e.$slots.pattern ? (v(), p("g", it, [(v(!0), p(l, null, b(mn.value, (t) => (v(), p("defs", null, [x(e.$slots, "pattern", Ie({ ref_for: !0 }, {
|
|
1119
1119
|
seriesIndex: t.absoluteIndex,
|
|
1120
1120
|
patternId: `pattern_${D.value}_${t.absoluteIndex}`
|
|
1121
|
-
}), void 0, !0)]))), 256))])) :
|
|
1122
|
-
(v(!0),
|
|
1121
|
+
}), void 0, !0)]))), 256))])) : f("", !0),
|
|
1122
|
+
(v(!0), p(l, null, b(G.value, (e, t) => (v(), p("rect", {
|
|
1123
1123
|
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1124
1124
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1125
1125
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -1130,7 +1130,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1130
1130
|
"stroke-width": M.value.style.chart.layout.rect.strokeWidth,
|
|
1131
1131
|
filter: Hn(W.value[t].serieIndex)
|
|
1132
1132
|
}, null, 8, at))), 256)),
|
|
1133
|
-
(v(!0),
|
|
1133
|
+
(v(!0), p(l, null, b(G.value, (e, t) => (v(), p("rect", {
|
|
1134
1134
|
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1135
1135
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1136
1136
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -1141,7 +1141,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1141
1141
|
"stroke-width": M.value.style.chart.layout.rect.strokeWidth,
|
|
1142
1142
|
filter: Hn(W.value[t].serieIndex)
|
|
1143
1143
|
}, null, 8, ot))), 256)),
|
|
1144
|
-
e.$slots.pattern ? (v(),
|
|
1144
|
+
e.$slots.pattern ? (v(), p("g", st, [(v(!0), p(l, null, b(G.value, (e, t) => (v(), p("rect", {
|
|
1145
1145
|
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1146
1146
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1147
1147
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -1150,9 +1150,9 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1150
1150
|
fill: `url(#pattern_${D.value}_${W.value[t].absoluteIndex})`,
|
|
1151
1151
|
stroke: "none",
|
|
1152
1152
|
filter: Hn(W.value[t].serieIndex)
|
|
1153
|
-
}, null, 8, ct))), 256))])) :
|
|
1154
|
-
], 64)) :
|
|
1155
|
-
e.$slots.cellSvg ? (v(!0),
|
|
1153
|
+
}, null, 8, ct))), 256))])) : f("", !0)
|
|
1154
|
+
], 64)) : f("", !0),
|
|
1155
|
+
e.$slots.cellSvg ? (v(!0), p(l, { key: 3 }, b(G.value, (t, n) => (v(), p("g", null, [x(e.$slots, "cellSvg", Ie({ ref_for: !0 }, {
|
|
1156
1156
|
cell: {
|
|
1157
1157
|
...t,
|
|
1158
1158
|
color: W.value[n].color,
|
|
@@ -1160,18 +1160,18 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1160
1160
|
width: Math.max(0, B.value),
|
|
1161
1161
|
...W.value[n]
|
|
1162
1162
|
},
|
|
1163
|
-
isSelected: [null, void 0].includes(
|
|
1164
|
-
}), void 0, !0)]))), 256)) :
|
|
1165
|
-
(v(!0),
|
|
1163
|
+
isSelected: [null, void 0].includes(O.value) ? !0 : W.value[n].serieIndex === O.value
|
|
1164
|
+
}), void 0, !0)]))), 256)) : f("", !0),
|
|
1165
|
+
(v(!0), p(l, null, b(G.value, (e, t) => (v(), p(l, null, [Un(t, e) ? (v(), p("text", {
|
|
1166
1166
|
key: `datalabel_${t}`,
|
|
1167
1167
|
textContent: S(Wn(t, e)),
|
|
1168
1168
|
x: e.x + M.value.style.chart.layout.labels.captions.offsetX + M.value.style.chart.layout.grid.spaceBetween / 2 + 6,
|
|
1169
1169
|
y: e.y + M.value.style.chart.layout.labels.captions.offsetY + M.value.style.chart.layout.grid.spaceBetween / 2 + un.value / 2 + M.value.style.chart.layout.labels.captions.fontSize / 3,
|
|
1170
1170
|
"font-size": M.value.style.chart.layout.labels.captions.fontSize,
|
|
1171
|
-
fill: C(
|
|
1171
|
+
fill: C(ce)(W.value[t].color),
|
|
1172
1172
|
filter: Hn(W.value[t].serieIndex)
|
|
1173
|
-
}, null, 8, lt)) :
|
|
1174
|
-
(v(!0),
|
|
1173
|
+
}, null, 8, lt)) : f("", !0)], 64))), 256)),
|
|
1174
|
+
(v(!0), p(l, null, b(G.value, (e, t) => (v(), p("rect", {
|
|
1175
1175
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1176
1176
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1177
1177
|
height: un.value,
|
|
@@ -1184,33 +1184,33 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1184
1184
|
}, null, 40, ut))), 256)),
|
|
1185
1185
|
x(e.$slots, "svg", { svg: {
|
|
1186
1186
|
...R.value,
|
|
1187
|
-
isPrintingImg: C(nn) || C(rn) ||
|
|
1188
|
-
isPrintingSvg:
|
|
1187
|
+
isPrintingImg: C(nn) || C(rn) || Ht.value,
|
|
1188
|
+
isPrintingSvg: Ut.value
|
|
1189
1189
|
} }, void 0, !0)
|
|
1190
|
-
], 46, Ze)), e.$slots.hint ? (v(),
|
|
1190
|
+
], 46, Ze)), e.$slots.hint ? (v(), p("div", dt, [x(e.$slots, "hint", _(g({
|
|
1191
1191
|
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1192
1192
|
isVisible: Gt.value
|
|
1193
|
-
})), void 0, !0)])) :
|
|
1194
|
-
e.$slots.watermark ? (v(),
|
|
1195
|
-
|
|
1196
|
-
|
|
1193
|
+
})), void 0, !0)])) : f("", !0)]),
|
|
1194
|
+
e.$slots.watermark ? (v(), p("div", ft, [x(e.$slots, "watermark", _(g({ isPrinting: C(nn) || C(rn) || Ht.value || Ut.value })), void 0, !0)])) : f("", !0),
|
|
1195
|
+
m("div", { id: `legend-bottom-${D.value}` }, null, 8, pt),
|
|
1196
|
+
zt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (v(), d(Me, {
|
|
1197
1197
|
key: 6,
|
|
1198
1198
|
to: M.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
|
|
1199
|
-
}, [
|
|
1199
|
+
}, [m("div", {
|
|
1200
1200
|
ref_key: "chartLegend",
|
|
1201
|
-
ref:
|
|
1202
|
-
}, [x(e.$slots, "legend", { legend: J.value }, () => [M.value.style.chart.legend.show ? (v(),
|
|
1203
|
-
key: `legend_${
|
|
1201
|
+
ref: Nt
|
|
1202
|
+
}, [x(e.$slots, "legend", { legend: J.value }, () => [M.value.style.chart.legend.show ? (v(), d(Ae, {
|
|
1203
|
+
key: `legend_${Rt.value}`,
|
|
1204
1204
|
legendSet: J.value,
|
|
1205
1205
|
config: Nn.value,
|
|
1206
1206
|
isCursorPointer: N.value,
|
|
1207
1207
|
onClickMarker: t[0] ||= ({ legend: e }) => q(e.uid)
|
|
1208
|
-
},
|
|
1209
|
-
item: T(({ legend: e }) => [
|
|
1208
|
+
}, Ne({
|
|
1209
|
+
item: T(({ legend: e }) => [m("div", {
|
|
1210
1210
|
onClick: (t) => e.segregate(),
|
|
1211
|
-
style:
|
|
1211
|
+
style: ze(`opacity:${K.value.includes(e.uid) ? .5 : 1}`)
|
|
1212
1212
|
}, S(e.display), 13, mt)]),
|
|
1213
|
-
legendToggle: T(() => [J.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !C(qt) ? (v(),
|
|
1213
|
+
legendToggle: T(() => [J.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !C(qt) ? (v(), d(Te, {
|
|
1214
1214
|
key: 0,
|
|
1215
1215
|
backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1216
1216
|
color: M.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1224,11 +1224,11 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1224
1224
|
"fontSize",
|
|
1225
1225
|
"checked",
|
|
1226
1226
|
"isCursorPointer"
|
|
1227
|
-
])) :
|
|
1227
|
+
])) : f("", !0)]),
|
|
1228
1228
|
_: 2
|
|
1229
1229
|
}, [e.$slots.pattern ? {
|
|
1230
1230
|
name: "legend-pattern",
|
|
1231
|
-
fn: T(({ legend: e, index: t }) => [
|
|
1231
|
+
fn: T(({ legend: e, index: t }) => [Fe(xe, {
|
|
1232
1232
|
shape: e.shape,
|
|
1233
1233
|
radius: 30,
|
|
1234
1234
|
stroke: "none",
|
|
@@ -1243,16 +1243,16 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1243
1243
|
"legendSet",
|
|
1244
1244
|
"config",
|
|
1245
1245
|
"isCursorPointer"
|
|
1246
|
-
])) :
|
|
1247
|
-
e.$slots.source ? (v(),
|
|
1246
|
+
])) : f("", !0)], !0)], 512)], 8, ["to"])) : f("", !0),
|
|
1247
|
+
e.$slots.source ? (v(), p("div", {
|
|
1248
1248
|
key: 7,
|
|
1249
1249
|
ref_key: "source",
|
|
1250
|
-
ref:
|
|
1250
|
+
ref: Pt,
|
|
1251
1251
|
dir: "auto"
|
|
1252
|
-
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) :
|
|
1253
|
-
|
|
1252
|
+
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1253
|
+
Fe(C(gt), {
|
|
1254
1254
|
teleportTo: M.value.style.chart.tooltip.teleportTo,
|
|
1255
|
-
show: L.value.showTooltip &&
|
|
1255
|
+
show: L.value.showTooltip && kt.value && K.value.length < E.dataset.length,
|
|
1256
1256
|
backgroundColor: M.value.style.chart.tooltip.backgroundColor,
|
|
1257
1257
|
color: M.value.style.chart.tooltip.color,
|
|
1258
1258
|
borderRadius: M.value.style.chart.tooltip.borderRadius,
|
|
@@ -1262,8 +1262,8 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1262
1262
|
position: M.value.style.chart.tooltip.position,
|
|
1263
1263
|
offsetX: M.value.style.chart.tooltip.offsetX,
|
|
1264
1264
|
offsetY: M.value.style.chart.tooltip.offsetY,
|
|
1265
|
-
parent:
|
|
1266
|
-
content:
|
|
1265
|
+
parent: k.value,
|
|
1266
|
+
content: At.value,
|
|
1267
1267
|
isCustom: M.value.style.chart.tooltip.customFormat && typeof M.value.style.chart.tooltip.customFormat == "function",
|
|
1268
1268
|
fontSize: M.value.style.chart.tooltip.fontSize,
|
|
1269
1269
|
isFullscreen: $.value,
|
|
@@ -1271,12 +1271,12 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1271
1271
|
backdropFilter: M.value.style.chart.tooltip.backdropFilter,
|
|
1272
1272
|
smoothForce: M.value.style.chart.tooltip.smoothForce,
|
|
1273
1273
|
smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1274
|
-
isA11yMode:
|
|
1275
|
-
a11yPosition:
|
|
1274
|
+
isA11yMode: j.value === "keyboard",
|
|
1275
|
+
a11yPosition: Wt.value
|
|
1276
1276
|
}, {
|
|
1277
|
-
"tooltip-before": T(() => [x(e.$slots, "tooltip-before", g(
|
|
1278
|
-
tooltip: T(() => [x(e.$slots, "tooltip", g(
|
|
1279
|
-
"tooltip-after": T(() => [x(e.$slots, "tooltip-after", g(
|
|
1277
|
+
"tooltip-before": T(() => [x(e.$slots, "tooltip-before", _(g({ ...Pn.value })), void 0, !0)]),
|
|
1278
|
+
tooltip: T(() => [x(e.$slots, "tooltip", _(g({ ...Pn.value })), void 0, !0)]),
|
|
1279
|
+
"tooltip-after": T(() => [x(e.$slots, "tooltip-after", _(g({ ...Pn.value })), void 0, !0)]),
|
|
1280
1280
|
_: 3
|
|
1281
1281
|
}, 8, [
|
|
1282
1282
|
"teleportTo",
|
|
@@ -1302,13 +1302,13 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1302
1302
|
"isA11yMode",
|
|
1303
1303
|
"a11yPosition"
|
|
1304
1304
|
]),
|
|
1305
|
-
Ot.value && M.value.userOptions.buttons.table ? (v(),
|
|
1305
|
+
Ot.value && M.value.userOptions.buttons.table ? (v(), d(He(Qn.value.component), Ie({ key: 8 }, Qn.value.props, {
|
|
1306
1306
|
ref_key: "tableUnit",
|
|
1307
|
-
ref:
|
|
1307
|
+
ref: Bt,
|
|
1308
1308
|
onClose: $n
|
|
1309
|
-
}),
|
|
1310
|
-
content: T(() => [(v(),
|
|
1311
|
-
key: `table_${
|
|
1309
|
+
}), Ne({
|
|
1310
|
+
content: T(() => [(v(), d(C(vt), {
|
|
1311
|
+
key: `table_${Lt.value}`,
|
|
1312
1312
|
colNames: Q.value.colNames,
|
|
1313
1313
|
head: Q.value.head,
|
|
1314
1314
|
body: Q.value.body,
|
|
@@ -1318,14 +1318,14 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1318
1318
|
isCursorPointer: N.value,
|
|
1319
1319
|
onClose: $n
|
|
1320
1320
|
}, {
|
|
1321
|
-
th: T(({ th: e }) => [
|
|
1321
|
+
th: T(({ th: e }) => [m("div", {
|
|
1322
1322
|
innerHTML: e,
|
|
1323
1323
|
style: {
|
|
1324
1324
|
display: "flex",
|
|
1325
1325
|
"align-items": "center"
|
|
1326
1326
|
}
|
|
1327
1327
|
}, null, 8, ht)]),
|
|
1328
|
-
td: T(({ td: e }) => [
|
|
1328
|
+
td: T(({ td: e }) => [Pe(S(e.name || e), 1)]),
|
|
1329
1329
|
_: 1
|
|
1330
1330
|
}, 8, [
|
|
1331
1331
|
"colNames",
|
|
@@ -1339,22 +1339,22 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1339
1339
|
_: 2
|
|
1340
1340
|
}, [M.value.table.useDialog ? {
|
|
1341
1341
|
name: "title",
|
|
1342
|
-
fn: T(() => [
|
|
1342
|
+
fn: T(() => [Pe(S(Qn.value.title), 1)]),
|
|
1343
1343
|
key: "0"
|
|
1344
1344
|
} : void 0, M.value.table.useDialog ? {
|
|
1345
1345
|
name: "actions",
|
|
1346
|
-
fn: T(() => [
|
|
1346
|
+
fn: T(() => [m("button", {
|
|
1347
1347
|
tabindex: "0",
|
|
1348
1348
|
class: "vue-ui-user-options-button",
|
|
1349
1349
|
onClick: t[1] ||= (e) => Gn(M.value.userOptions.callbacks.csv),
|
|
1350
|
-
style:
|
|
1351
|
-
}, [
|
|
1350
|
+
style: ze({ cursor: N.value ? "pointer" : "default" })
|
|
1351
|
+
}, [Fe(C(_t), {
|
|
1352
1352
|
name: "fileCsv",
|
|
1353
1353
|
stroke: Qn.value.props.color
|
|
1354
1354
|
}, null, 8, ["stroke"])], 4)]),
|
|
1355
1355
|
key: "1"
|
|
1356
|
-
} : void 0]), 1040)) :
|
|
1357
|
-
x(e.$slots, "skeleton", {}, () => [C(qt) ? (v(),
|
|
1356
|
+
} : void 0]), 1040)) : f("", !0),
|
|
1357
|
+
x(e.$slots, "skeleton", {}, () => [C(qt) ? (v(), d(he, { key: 0 })) : f("", !0)], !0)
|
|
1358
1358
|
], 46, qe));
|
|
1359
1359
|
}
|
|
1360
1360
|
}, [["__scopeId", "data-v-d885b96a"]]);
|