vue-data-ui 2.6.25-beta.1 → 2.6.25-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-e8QJjBO6.js → Arrow-CedmVsKc.js} +1 -1
- package/dist/{Arrow-DGHwRVXv.cjs → Arrow-D8HzOyHe.cjs} +1 -1
- package/dist/{BaseIcon-DvoYtRts.js → BaseIcon-Cq9yGlN2.js} +1 -1
- package/dist/{BaseIcon-CbKNr0gK.cjs → BaseIcon-DHhiERUe.cjs} +1 -1
- package/dist/{DataTable-CpRndtK2.cjs → DataTable-BxofnbUw.cjs} +1 -1
- package/dist/{DataTable-JnkW2vNQ.js → DataTable-CxMzHPtJ.js} +2 -2
- package/dist/{Legend-B1C5ki60.cjs → Legend-BXSbjXOw.cjs} +1 -1
- package/dist/{Legend-CX8D1an8.js → Legend-BtUBQKcc.js} +2 -2
- package/dist/{PackageVersion-SHS15u6D.cjs → PackageVersion-DU4WWhh0.cjs} +1 -1
- package/dist/{PackageVersion-CSDNzmtD.js → PackageVersion-Dej3JBIN.js} +1 -1
- package/dist/{PenAndPaper-XKtkHjFi.cjs → PenAndPaper-6z9dx_Dh.cjs} +1 -1
- package/dist/{PenAndPaper-LsWIsYAT.js → PenAndPaper-C-zh1_tH.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-Ba5_bVxO.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-D72HAiGt.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-CrpxkbSf.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-DdBkgV3y.cjs} +1 -1
- package/dist/{Shape-C7g9SGMc.js → Shape-D6IRh5MW.js} +1 -1
- package/dist/{Shape-BKLGTXa6.cjs → Shape-DuS1_cer.cjs} +1 -1
- package/dist/{Slicer-CZF9axdM.js → Slicer-BRi9p4Vz.js} +2 -2
- package/dist/{Slicer-ervRxMK4.cjs → Slicer-n0Z6Ie6F.cjs} +1 -1
- package/dist/{Title-C8tnhWKY.cjs → Title-Cp6uM85g.cjs} +1 -1
- package/dist/{Title-Bk3eTyPx.js → Title-DQOart2o.js} +1 -1
- package/dist/{Tooltip-C81ZXpgi.cjs → Tooltip-DQE5El5i.cjs} +1 -1
- package/dist/{Tooltip-C9CqTY-d.js → Tooltip-DY5DV3Xp.js} +1 -1
- package/dist/{index-Ckp-Sr3x.cjs → index-DN881pWy.cjs} +1 -1
- package/dist/{index-sUrVQKbu.js → index-DsLBHzFs.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-WVkJYQik.cjs → useNestedProp-1Jl1Br-e.cjs} +1 -1
- package/dist/{useNestedProp-DR6XaY7z.js → useNestedProp-bY0v4eqr.js} +1 -1
- package/dist/{usePrinter-DyM8T4Nn.cjs → usePrinter-CzLUtfqg.cjs} +1 -1
- package/dist/{usePrinter-CPqFl26m.js → usePrinter-DUjsrNVS.js} +1 -1
- package/dist/{vue-data-ui-CA4SKLhU.cjs → vue-data-ui-Bb-ZuOYR.cjs} +1 -1
- package/dist/{vue-data-ui-DFc3ZnK_.js → vue-data-ui-BiPcHTSR.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BtT_LrpL.cjs → vue-ui-3d-bar-B3cS3_Rf.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CeeaQg2L.js → vue-ui-3d-bar-OgAeZHSJ.js} +9 -9
- package/dist/{vue-ui-accordion-C6JS8eWZ.cjs → vue-ui-accordion-BJxcaNmn.cjs} +1 -1
- package/dist/{vue-ui-accordion-ByWjz6kY.js → vue-ui-accordion-Bf26MV5f.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DGGVmeOm.cjs → vue-ui-age-pyramid-BxFytgn3.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-C8l6S4fi.js → vue-ui-age-pyramid-CAsv-td7.js} +10 -10
- package/dist/{vue-ui-annotator-C7c2SYsX.js → vue-ui-annotator-5GZi3KGn.js} +1 -1
- package/dist/{vue-ui-annotator-DGMJ1nN5.cjs → vue-ui-annotator-BHNCTql8.cjs} +1 -1
- package/dist/{vue-ui-bullet-Dp_i8f0c.cjs → vue-ui-bullet-CFLv6Rwm.cjs} +1 -1
- package/dist/{vue-ui-bullet-pxYRHhQW.js → vue-ui-bullet-JNnF3mYT.js} +8 -8
- package/dist/{vue-ui-candlestick-BuROSCDq.js → vue-ui-candlestick-Dx1UO6nM.js} +11 -11
- package/dist/{vue-ui-candlestick-BO1msoGJ.cjs → vue-ui-candlestick-vfp6efwM.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-B7GpI1Er.js → vue-ui-carousel-table-Csq6Y11p.js} +4 -4
- package/dist/{vue-ui-carousel-table-BeSjmND9.cjs → vue-ui-carousel-table-UG0HCRXj.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CPUcdGHm.js → vue-ui-chestnut-Bgyd6nA_.js} +8 -8
- package/dist/{vue-ui-chestnut-De3A8LuI.cjs → vue-ui-chestnut-Ct-MGUV2.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-B16m7_5c.cjs → vue-ui-circle-pack-DfqoANXe.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-Lrtz9UmA.js → vue-ui-circle-pack-Dy9ucYgg.js} +9 -9
- package/dist/{vue-ui-cursor-DiNp74hG.cjs → vue-ui-cursor-Qj4Qtxry.cjs} +1 -1
- package/dist/{vue-ui-cursor-hUSclTSD.js → vue-ui-cursor-cuH5ajJ2.js} +2 -2
- package/dist/{vue-ui-dashboard-qxxc0AZK.js → vue-ui-dashboard-BpdqBqyQ.js} +2 -2
- package/dist/{vue-ui-dashboard-BD4z8r25.cjs → vue-ui-dashboard-DBVoIRHy.cjs} +1 -1
- package/dist/{vue-ui-digits-DppKgGD2.cjs → vue-ui-digits-CRNCvI5e.cjs} +1 -1
- package/dist/{vue-ui-digits-Dqzgfdmm.js → vue-ui-digits-DbOgckPc.js} +2 -2
- package/dist/{vue-ui-donut-DH7R5FMc.cjs → vue-ui-donut-CMJZkSJB.cjs} +1 -1
- package/dist/{vue-ui-donut-Drh7OM-Z.js → vue-ui-donut-Dr8qCISw.js} +12 -12
- package/dist/{vue-ui-donut-evolution-Dq1qofHg.cjs → vue-ui-donut-evolution-BoJhA4NC.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-KusZ2dLl.js → vue-ui-donut-evolution-CcgOGKJe.js} +11 -11
- package/dist/{vue-ui-dumbbell-BqCnjCbD.cjs → vue-ui-dumbbell-D9r6p_RA.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DDBITCEN.js → vue-ui-dumbbell-DcZZmDVb.js} +10 -10
- package/dist/{vue-ui-flow-CsL79Q1d.js → vue-ui-flow-CJmnXmId.js} +9 -9
- package/dist/{vue-ui-flow-zC6-lv8r.cjs → vue-ui-flow-Cr_B8-Ip.cjs} +1 -1
- package/dist/{vue-ui-funnel-BHacZI-y.cjs → vue-ui-funnel-B4Oq1HF0.cjs} +1 -1
- package/dist/{vue-ui-funnel-Ch2Zk05Q.js → vue-ui-funnel-BYu8Sk3V.js} +9 -9
- package/dist/{vue-ui-galaxy-BCMnWIwV.js → vue-ui-galaxy-DYg6uKO2.js} +11 -11
- package/dist/{vue-ui-galaxy-jAU06BYs.cjs → vue-ui-galaxy-DtFO5FVz.cjs} +1 -1
- package/dist/{vue-ui-gauge-C4PC_Rgg.cjs → vue-ui-gauge-Cu_zo2RL.cjs} +1 -1
- package/dist/{vue-ui-gauge-i0oHDqLp.js → vue-ui-gauge-eCvYgyAG.js} +7 -7
- package/dist/{vue-ui-gizmo-Cp8fVvCr.cjs → vue-ui-gizmo-DoFfKkKj.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BLOTtWHT.js → vue-ui-gizmo-cT7YJPhQ.js} +3 -3
- package/dist/{vue-ui-heatmap-h9yC9DH7.js → vue-ui-heatmap-CrwIfuUI.js} +10 -10
- package/dist/{vue-ui-heatmap-Bv0eoDOk.cjs → vue-ui-heatmap-D0N_dTml.cjs} +1 -1
- package/dist/{vue-ui-history-plot-C3HvT6tH.js → vue-ui-history-plot-B8wRagXo.js} +11 -11
- package/dist/{vue-ui-history-plot-UFTXCPyP.cjs → vue-ui-history-plot-DzxUQoAQ.cjs} +1 -1
- package/dist/{vue-ui-kpi-BeKCmMyI.js → vue-ui-kpi-CIC9U3wF.js} +3 -3
- package/dist/{vue-ui-kpi-Ic5aTCOv.cjs → vue-ui-kpi-D4d0sY1Y.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-B8epbfej.js → vue-ui-mini-loader-BCludmkO.js} +2 -2
- package/dist/{vue-ui-mini-loader-CAdRQ00t.cjs → vue-ui-mini-loader-CCwsMiRC.cjs} +1 -1
- package/dist/{vue-ui-molecule-TaOKoX-6.js → vue-ui-molecule-HM9pWmS_.js} +10 -10
- package/dist/{vue-ui-molecule-D1XEVuhs.cjs → vue-ui-molecule-Yp8_e4o0.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CYJ_rEZc.cjs → vue-ui-mood-radar-Be4UJVYx.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-BpYycWTI.js → vue-ui-mood-radar-DJJTPHno.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BeeIv8Kv.cjs → vue-ui-nested-donuts-CwKiWuWc.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CDOVx61s.js → vue-ui-nested-donuts-DlDO8lDZ.js} +11 -11
- package/dist/{vue-ui-onion-U_kHsguq.cjs → vue-ui-onion-KrosOAfv.cjs} +1 -1
- package/dist/{vue-ui-onion-iL6Or3Y_.js → vue-ui-onion-kYJkBxvk.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-BmpTo5Q7.js → vue-ui-parallel-coordinate-plot-DSHri7Ic.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-DtqT3MyD.cjs → vue-ui-parallel-coordinate-plot-DWHdu--V.cjs} +1 -1
- package/dist/{vue-ui-quadrant-Cq37OeGT.cjs → vue-ui-quadrant-Bq8K87Gh.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BQ0V5snU.js → vue-ui-quadrant-CPEtMkt6.js} +12 -12
- package/dist/{vue-ui-quick-chart-B_9HLLR2.js → vue-ui-quick-chart-Bqh0sfuA.js} +9 -9
- package/dist/{vue-ui-quick-chart-xRPguDo9.cjs → vue-ui-quick-chart-ewfr9xYM.cjs} +1 -1
- package/dist/{vue-ui-radar-CSFxhmXk.cjs → vue-ui-radar-DI7GI2KA.cjs} +1 -1
- package/dist/{vue-ui-radar-B7RdVJTj.js → vue-ui-radar-DdhVjDRA.js} +12 -12
- package/dist/{vue-ui-rating-KsEBULle.js → vue-ui-rating-BL0AGD5n.js} +2 -2
- package/dist/{vue-ui-rating-B36jdYxn.cjs → vue-ui-rating-BkYZOdgC.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BoyLlZ5D.cjs → vue-ui-relation-circle-CtNaW8rY.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-COMfjUwO.js → vue-ui-relation-circle-tJgYbH0f.js} +7 -7
- package/dist/{vue-ui-rings-ZwX0jEjg.cjs → vue-ui-rings-B0ClCCjt.cjs} +1 -1
- package/dist/{vue-ui-rings-BfvoG-X7.js → vue-ui-rings-w4FUt1Pa.js} +12 -12
- package/dist/{vue-ui-scatter-Du32_l6t.cjs → vue-ui-scatter-BnExImoR.cjs} +1 -1
- package/dist/{vue-ui-scatter-B1i8HXF-.js → vue-ui-scatter-DjP5m6a2.js} +12 -12
- package/dist/{vue-ui-screenshot-UWKpSJFr.cjs → vue-ui-screenshot-CfcH6GMK.cjs} +1 -1
- package/dist/{vue-ui-screenshot-0-jv2wCR.js → vue-ui-screenshot-ljkkUVmw.js} +1 -1
- package/dist/{vue-ui-skeleton-DeutOJK7.js → vue-ui-skeleton-Nwl5QlzI.js} +3 -3
- package/dist/{vue-ui-skeleton-DNvMzjZY.cjs → vue-ui-skeleton-U2E7TpRS.cjs} +1 -1
- package/dist/{vue-ui-smiley-CrgEgjfY.js → vue-ui-smiley-4bmTBvGi.js} +2 -2
- package/dist/{vue-ui-smiley-BuTFODXW.cjs → vue-ui-smiley-CkFiJMqy.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BJSi4TTA.js → vue-ui-spark-trend-0tB7htXz.js} +5 -5
- package/dist/{vue-ui-spark-trend-DuQAQ095.cjs → vue-ui-spark-trend-CofqpxFu.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BzcrP1qG.js → vue-ui-sparkbar-BWmxms0u.js} +4 -4
- package/dist/{vue-ui-sparkbar-CQKodOn8.cjs → vue-ui-sparkbar-CvMak1qL.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CZhxgc9r.cjs → vue-ui-sparkgauge-30Akqp4t.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-B3AA_dpV.js → vue-ui-sparkgauge-DZrsByIl.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-BJsXAIdc.cjs → vue-ui-sparkhistogram-DKqrfQyP.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CyIHr0vZ.js → vue-ui-sparkhistogram-dkSDhVe8.js} +5 -5
- package/dist/{vue-ui-sparkline-D88GycT5.cjs → vue-ui-sparkline-62Atj-tN.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BkE70PXL.js → vue-ui-sparkline-uRl5MLKk.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-GtaYZy_T.js → vue-ui-sparkstackbar-9RmeDREI.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-D5dRIbSB.cjs → vue-ui-sparkstackbar-BWNrHcOx.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CJsVD8Xo.cjs → vue-ui-stackbar--e39sxtH.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DHxUN9G5.js → vue-ui-stackbar-CYULi7gD.js} +13 -13
- package/dist/{vue-ui-strip-plot-D39tRq-k.cjs → vue-ui-strip-plot-DfSOHXfY.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CGJwiQKO.js → vue-ui-strip-plot-KfpUNczA.js} +11 -11
- package/dist/{vue-ui-table-ClPyeIHT.js → vue-ui-table-B31VH5_n.js} +1 -1
- package/dist/{vue-ui-table-D5w4md5E.cjs → vue-ui-table-C4q2U_qr.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DqYUckW5.cjs → vue-ui-table-heatmap-BYtonUsL.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CPc63dHp.js → vue-ui-table-heatmap-F8GupQrh.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DQbMZ7g-.cjs → vue-ui-table-sparkline-BKBc3__S.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-yj2QsbjU.js → vue-ui-table-sparkline-D_3IJQFo.js} +5 -5
- package/dist/{vue-ui-thermometer-6gYdDmZx.cjs → vue-ui-thermometer-_SfZFuhu.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CRWzadDe.js → vue-ui-thermometer-zTNBFzAA.js} +7 -7
- package/dist/{vue-ui-timer-CswmNVUs.cjs → vue-ui-timer-CES7hvKx.cjs} +1 -1
- package/dist/{vue-ui-timer-B7oGISYj.js → vue-ui-timer-uSDTirsj.js} +5 -5
- package/dist/{vue-ui-tiremarks-CW6cihYg.cjs → vue-ui-tiremarks-CriRaE2Z.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-NrkdfifQ.js → vue-ui-tiremarks-cZeVNTsX.js} +7 -7
- package/dist/{vue-ui-treemap-4BCL-TuK.js → vue-ui-treemap-D0hC7GeD.js} +11 -11
- package/dist/{vue-ui-treemap-C5VzJKnf.cjs → vue-ui-treemap-Dv64AFLc.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-C5-Dx2cR.cjs → vue-ui-vertical-bar-CoibhE_X.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-CIpHl8yB.js → vue-ui-vertical-bar-whxs3fPH.js} +12 -12
- package/dist/{vue-ui-waffle-AODGwZNa.js → vue-ui-waffle-cl5ohfgn.js} +12 -12
- package/dist/{vue-ui-waffle-CLCercNd.cjs → vue-ui-waffle-vNl8lh5B.cjs} +1 -1
- package/dist/{vue-ui-wheel-C4lFLyvf.js → vue-ui-wheel-BuX_0BXx.js} +7 -7
- package/dist/{vue-ui-wheel-tJM1VHBF.cjs → vue-ui-wheel-Bz-ZkMhV.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-q3VERyH3.cjs → vue-ui-word-cloud-BN59RZwq.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BEKciB4a.js → vue-ui-word-cloud-kCCw8nWz.js} +10 -10
- package/dist/{vue-ui-xy-DSOWkbIl.cjs → vue-ui-xy-JFHfwlD5.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-BdwEtJfj.js → vue-ui-xy-canvas-Be2RYNQZ.js} +12 -12
- package/dist/{vue-ui-xy-canvas-SB7ToCN4.cjs → vue-ui-xy-canvas-C4S9QUXR.cjs} +1 -1
- package/dist/{vue-ui-xy-BLJrvzoK.js → vue-ui-xy-x5ueZsXm.js} +16 -16
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ref as i, computed as T, onMounted as _e, nextTick as Ie, onBeforeUnmount as bt, watch as te, createElementBlock as X, openBlock as C, Fragment as We, createCommentVNode as le, normalizeClass as fe, createElementVNode as U, withDirectives as Ut, normalizeStyle as W, createVNode as ke, vModelText as Wt, withModifiers as dt, unref as D, renderList as Vt, useSlots as Zt, createBlock as ue, createSlots as _t, withCtx as z, renderSlot as M, normalizeProps as ve, guardReactiveProps as de, toDisplayString as ht, createTextVNode as Gt } from "vue";
|
|
2
|
-
import { l as xt, X as jt, u as qt, c as Qt, t as Jt, p as he, a as Kt, C as Ne, b as el, D as Ve, i as be, f as xe, d as ft, _ as tl, J as ll, aa as al, o as ol, e as rl, x as yt, q as nl, r as sl, y as ul, s as Me } from "./index-
|
|
2
|
+
import { l as xt, X as jt, u as qt, c as Qt, t as Jt, p as he, a as Kt, C as Ne, b as el, D as Ve, i as be, f as xe, d as ft, _ as tl, J as ll, aa as al, o as ol, e as rl, x as yt, q as nl, r as sl, y as ul, s as Me } from "./index-DsLBHzFs.js";
|
|
3
3
|
import { d as il, t as cl, u as vl, c as dl, a as gt, l as I, r as Ze, b as ee, p as pt } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
-
import { _ as hl } from "./Tooltip-
|
|
5
|
-
import { L as fl } from "./Legend-
|
|
6
|
-
import { _ as yl } from "./Title-
|
|
7
|
-
import { S as gl } from "./Slicer-
|
|
8
|
-
import { u as pl, U as ml } from "./usePrinter-
|
|
9
|
-
import bl from "./vue-ui-accordion-
|
|
10
|
-
import { D as xl } from "./DataTable-
|
|
11
|
-
import kl from "./vue-ui-skeleton-
|
|
12
|
-
import { u as mt } from "./useNestedProp-
|
|
13
|
-
import Ye from "./BaseIcon-
|
|
4
|
+
import { _ as hl } from "./Tooltip-DY5DV3Xp.js";
|
|
5
|
+
import { L as fl } from "./Legend-BtUBQKcc.js";
|
|
6
|
+
import { _ as yl } from "./Title-DQOart2o.js";
|
|
7
|
+
import { S as gl } from "./Slicer-BRi9p4Vz.js";
|
|
8
|
+
import { u as pl, U as ml } from "./usePrinter-DUjsrNVS.js";
|
|
9
|
+
import bl from "./vue-ui-accordion-Bf26MV5f.js";
|
|
10
|
+
import { D as xl } from "./DataTable-CxMzHPtJ.js";
|
|
11
|
+
import kl from "./vue-ui-skeleton-Nwl5QlzI.js";
|
|
12
|
+
import { u as mt } from "./useNestedProp-bY0v4eqr.js";
|
|
13
|
+
import Ye from "./BaseIcon-Cq9yGlN2.js";
|
|
14
14
|
import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
import { C as Ll } from "./PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-
|
|
15
|
+
import { C as Ll } from "./PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-D72HAiGt.js";
|
|
16
16
|
import { u as Cl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
17
17
|
import { u as wl } from "./useChartAccessibility-BWojgys7.js";
|
|
18
18
|
const $l = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-Ckp-Sr3x.cjs"),p=require("./useResponsive-N8jl0-aC.cjs"),vt=require("./Tooltip-C81ZXpgi.cjs"),dt=require("./Legend-B1C5ki60.cjs"),ht=require("./Title-C8tnhWKY.cjs"),ft=require("./Slicer-ervRxMK4.cjs"),Ye=require("./usePrinter-DyM8T4Nn.cjs"),yt=require("./vue-ui-accordion-C6JS8eWZ.cjs"),pt=require("./DataTable-CpRndtK2.cjs"),gt=require("./vue-ui-skeleton-DNvMzjZY.cjs"),He=require("./useNestedProp-WVkJYQik.cjs"),me=require("./BaseIcon-CbKNr0gK.cjs"),Xe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),mt=require("./PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-CrpxkbSf.cjs"),bt=require("./useUserOptionState-BgepsfED.cjs"),xt=require("./useChartAccessibility-Cm7nkzTG.cjs"),kt={class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Lt=["disabled"],Ct=["xmlns","viewBox"],wt=["cx","cy","r","fill"],St=["d","stroke","stroke-width"],$t=["d","stroke","stroke-width"],zt={__name:"NonSvgPenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup($,{emit:be}){const X=$,xe=be,x=l.ref([]),D=l.ref([]),_=l.ref("0 0 0 0"),V=l.ref(X.color),c=l.ref(1),k=l.computed(()=>u.lightenHexColor(X.color,.6));function F({width:h,height:v}){_.value=`0 0 ${h} ${v}`}const U=l.ref(null);l.onMounted(()=>{l.nextTick(()=>{if(X.parent){U.value=new ResizeObserver(s=>{for(const d of s){const{width:g,height:C}=d.contentRect;F({width:g,height:C})}}),U.value.observe(X.parent);const{width:h,height:v}=X.parent.getBoundingClientRect();F({width:h,height:v})}})}),l.onBeforeUnmount(()=>{U.value&&U.value.disconnect()}),l.watch(()=>X.parent,h=>{if(!h)return;const{width:v,height:s}=X.parent.getBoundingClientRect();F({width:v,height:s})},{immediate:!0});const f=l.ref(!1),A=l.ref(""),Z=l.ref(null);function I(h){if(!Z.value)return;f.value=!0;const{x:v,y:s}=re(h);A.value=`M ${v} ${s}`}function q(h){if(!f.value||!Z.value)return;const{x:v,y:s}=re(h);A.value+=` ${v} ${s}`}function Y(h){const v=h.trim().split(/\s+/);if(v.length<4)return h;const s=v.slice(1).map(Number);if(s.length%2!==0)return h;const d=G(s),g=[`M ${d[0]} ${d[1]}`];for(let E=2;E<d.length-2;E+=2){const t=d[E-2],M=d[E-1],P=d[E],T=d[E+1],B=(t+P)/2,j=(M+T)/2;g.push(`Q ${t} ${M} ${B} ${j}`)}const C=d[d.length-2],S=d[d.length-1];return g.push(`L ${C} ${S}`),g.join(" ")}function G(h,v=1){const s=[...h];for(let d=2;d<h.length-2;d+=2){const g=h[d],C=h[d+1],S=h[d-2],E=h[d-1],t=h[d+2],M=h[d+3];s[d]=g+v*((S+t)/2-g),s[d+1]=C+v*((E+M)/2-C)}return s}function oe(h){const v=h.trim().split(/\s+/);let s="",d="",g=null,C=null;for(let S=0;S<v.length;S+=1){const E=v[S];if(isNaN(E)){if(d=E,d==="M"||d==="L")g=parseFloat(v[++S]),C=parseFloat(v[++S]),s+=`${d}${g} ${C}`;else if(d==="Q"){const t=parseFloat(v[++S]),M=parseFloat(v[++S]),P=parseFloat(v[++S]),T=parseFloat(v[++S]);t===g&&M===C?s+=`t${P-g} ${T-C}`:s+=`q${t-g} ${M-C} ${P-g} ${T-C}`,g=P,C=T}}else{const t=parseFloat(E),M=parseFloat(v[++S]);if(d==="L"){const P=t-g,T=M-C;P===0?s+=`v${T}`:T===0?s+=`h${P}`:s+=`l${P} ${T}`,g=t,C=M}else if(d==="Q"){const P=t,T=M,B=parseFloat(v[++S]),j=parseFloat(v[++S]);P===g&&T===C?s+=`t${B-g} ${j-C}`:s+=`q${P-g} ${T-C} ${B-g} ${j-C}`,g=B,C=j}}}return s}function ee(){f.value&&(x.value.push({strokeWidth:c.value,path:oe(Y(A.value)),color:V.value}),D.value=[],A.value=""),f.value=!1}function re(h){if(!Z.value)return{x:0,y:0};const v=Z.value.getBoundingClientRect();let s,d;return h.touches&&h.touches.length?(s=h.touches[0].clientX,d=h.touches[0].clientY):(s=h.clientX,d=h.clientY),{x:s-v.left,y:d-v.top}}l.ref(!1);function te(){if(x.value.length>0){const h=x.value.pop();D.value.push(h)}}function ce(){if(D.value.length>0){const h=D.value.pop();x.value.push(h)}}function ve(){x.value=[],D.value=[]}const de=l.ref(null);return(h,v)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[$.active?(l.openBlock(),l.createElementBlock("div",{key:0,"data-html2canvas-ignore":"",class:l.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:$.active})},[l.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:v[0]||(v[0]=s=>xe("close"))},[l.createVNode(me.default,{name:"close",stroke:$.color},null,8,["stroke"])],4),l.createElementVNode("button",kt,[l.createVNode(mt.ColorPicker,{value:V.value,"onUpdate:value":v[1]||(v[1]=s=>V.value=s),backgroundColor:$.backgroundColor,buttonBorderColor:k.value},null,8,["value","backgroundColor","buttonBorderColor"])]),l.createElementVNode("button",{class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!x.value.length}),disabled:!x.value.length,style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:te},[l.createVNode(me.default,{name:"restart",stroke:$.color},null,8,["stroke"])],14,Lt),l.createElementVNode("button",{class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!D.value.length}),style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:ce},[l.createVNode(me.default,{name:"restart",stroke:$.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),l.createElementVNode("button",{class:l.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!x.value.length},"vue-ui-pen-and-paper-action"]),style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:ve},[l.createVNode(me.default,{name:"trash",stroke:$.color},null,8,["stroke"])],6),l.withDirectives(l.createElementVNode("input",{ref_key:"range",ref:de,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":v[2]||(v[2]=s=>c.value=s),style:l.normalizeStyle({accentColor:$.color})},null,4),[[l.vModelText,c.value]])],2)):l.createCommentVNode("",!0),(l.openBlock(),l.createElementBlock("svg",{ref_key:"svgElement",ref:Z,xmlns:l.unref(u.XMLNS),viewBox:_.value,class:l.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!$.active}),onMousedown:I,onMousemove:q,onMouseup:ee,onMouseleave:ee,onTouchstart:l.withModifiers(I,["prevent"]),onTouchmove:l.withModifiers(q,["prevent"]),onTouchend:ee},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(x.value,s=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:s},[s.path.replace("M","").split(" ").length===2?(l.openBlock(),l.createElementBlock("circle",{key:0,cx:s.path.replace("M","").split(" ")[0],cy:s.path.replace("M","").split(" ")[1],r:s.strokeWidth/2,fill:s.color},null,8,wt)):(l.openBlock(),l.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:s.path,stroke:s.color,"stroke-width":s.strokeWidth,fill:"none"},null,8,St))],64))),128)),f.value?(l.openBlock(),l.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:Y(A.value),stroke:V.value,"stroke-width":c.value*1.1,fill:"none"},null,8,$t)):l.createCommentVNode("",!0)],42,Ct))],64))}},Mt=Xe._export_sfc(zt,[["__scopeId","data-v-1ffe1d80"]]),Pt=["id"],Tt=["onClick"],Bt={key:2,class:"vue-data-ui-watermark"},It=["innerHTML"],Et={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup($,{expose:be,emit:X}){const{vue_ui_xy_canvas:xe}=u.useConfig(),x=$,D=l.ref(u.createUid()),_=l.ref(null),V=l.ref(null),c=l.ref(null),k=l.ref(1),F=l.ref(1),U=l.ref(!1),f=l.ref(null),A=l.ref(""),Z=l.ref(null),I=l.ref([]),q=l.ref(1),Y=l.ref(!0),G=l.ref(!0),oe=l.ref(null),ee=l.ref(0),re=l.ref(0),te=l.ref(!1),ce=l.ref(null),ve=l.ref(null),de=l.ref(null),h=l.ref(null),v=l.ref(0),s=l.ref(0),d=l.ref(0),g=l.ref(null),C=l.computed(()=>!!x.dataset&&x.dataset.length),S=X,E=l.useSlots();l.onMounted(()=>{E["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const t=l.computed({get:()=>j(),set:e=>e}),{userOptionsVisible:M,setUserOptionsVisibility:P,keepUserOptionState:T}=bt.useUserOptionState({config:t.value}),{svgRef:B}=xt.useChartAccessibility({config:t.value.style.chart.title});function j(){const e=He.useNestedProp({userConfig:x.config,defaultConfig:xe});let o={};return e.theme?o={...He.useNestedProp({userConfig:u.themes.vue_ui_xy_canvas[e.theme]||x.config,defaultConfig:e}),customPalette:u.themePalettes[e.theme]||u.palette}:o=e,x.config&&u.hasDeepProperty(x.config,"style.chart.scale.min")?o.style.chart.scale.min=x.config.style.chart.scale.min:o.style.chart.scale.min=null,x.config&&u.hasDeepProperty(x.config,"style.chart.scale.max")?o.style.chart.scale.max=x.config.style.chart.scale.max:o.style.chart.scale.max=null,x.config&&u.hasDeepProperty(x.config,"style.chart.zoom.startIndex")?o.style.chart.zoom.startIndex=x.config.style.chart.zoom.startIndex:o.style.chart.zoom.startIndex=null,x.config&&u.hasDeepProperty(x.config,"style.chart.zoom.endIndex")?o.style.chart.zoom.endIndex=x.config.style.chart.zoom.endIndex:o.style.chart.zoom.endIndex=null,o}l.watch(()=>x.config,e=>{t.value=j(),M.value=!t.value.userOptions.showOnChartHover,ke(),v.value+=1,s.value+=1,d.value+=1,i.value.showTable=t.value.table.show,i.value.showDataLabels=t.value.style.chart.dataLabels.show,i.value.stacked=t.value.style.chart.stacked,i.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0}),l.watch(()=>x.dataset,()=>{ke(),v.value+=1,s.value+=1,d.value+=1},{deep:!0});const Ce=l.ref(t.value.style.chart.aspectRatio),{isPrinting:we,isImaging:Se,generatePdf:$e,generateImage:ze}=Ye.usePrinter({elementId:`xy_canvas_${D.value}`,fileName:t.value.style.chart.title.text||"vue-ui-xy-canvas"}),i=l.ref({showTable:t.value.table.show,showDataLabels:t.value.style.chart.dataLabels.show,stacked:t.value.style.chart.stacked,showTooltip:t.value.style.chart.tooltip.show});function Ue(e){te.value=e,re.value+=1}const Me=l.computed(()=>u.convertCustomPalette(t.value.customPalette)),H=l.computed(()=>le.value?Math.max(...le.value.filter((e,o)=>!I.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=l.computed(()=>{const e=k.value-k.value*(t.value.style.chart.paddingProportions.left+t.value.style.chart.paddingProportions.right);return{canvasWidth:k.value,canvasHeight:F.value,left:k.value*t.value.style.chart.paddingProportions.left,top:F.value*t.value.style.chart.paddingProportions.top,right:k.value-k.value*t.value.style.chart.paddingProportions.right,bottom:F.value-F.value*t.value.style.chart.paddingProportions.bottom,width:e,height:F.value-F.value*(t.value.style.chart.paddingProportions.top+t.value.style.chart.paddingProportions.bottom),slot:e/(n.value.end-n.value.start)}});function Pe(e,o){return e/o}function qe({hasAutoScale:e,series:o,min:r,max:y,scale:b,yOffset:R,individualHeight:m,stackIndex:w=null}){return o.map((J,O)=>{const Q=b.min<0?Math.abs(b.min):0,K=Pe(J+Q,Q+b.max);let se,ie;e&&(se=b.min,ie=Pe(J-se,b.max-se));let W=0;return w===null?W=a.value.bottom-a.value.height*(e?ie:K):W=a.value.bottom-R-m*(e?ie:K),{x:a.value.left+a.value.slot*O+a.value.slot/2,y:W,value:J}})}const z=l.computed(()=>{const e=t.value.style.chart.scale.min!==null?t.value.style.chart.scale.min:Math.min(...le.value.filter((m,w)=>!I.value.includes(m.absoluteIndex)).flatMap(m=>m.series.slice(n.value.start,n.value.end))),o=t.value.style.chart.scale.max!==null?t.value.style.chart.scale.max:Math.max(...le.value.filter((m,w)=>!I.value.includes(m.absoluteIndex)).flatMap(m=>m.series.slice(n.value.start,n.value.end))),r=u.calculateNiceScale(e<0?e:0,o===e?e+1<0?0:e+1:o<0?0:o,t.value.style.chart.scale.ticks),y=r.min<0?Math.abs(r.min):0,b=a.value.bottom-a.value.height*(y/(r.max+y)),R=r.ticks.map(m=>({y:a.value.bottom-a.value.height*((m+y)/(r.max+y)),x:a.value.left-8,value:m}));return{absoluteMin:y,max:o,min:e,scale:r,yLabels:R,zero:b}}),We=l.computed(()=>L.value.map(e=>`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DN881pWy.cjs"),p=require("./useResponsive-N8jl0-aC.cjs"),vt=require("./Tooltip-DQE5El5i.cjs"),dt=require("./Legend-BXSbjXOw.cjs"),ht=require("./Title-Cp6uM85g.cjs"),ft=require("./Slicer-n0Z6Ie6F.cjs"),Ye=require("./usePrinter-CzLUtfqg.cjs"),yt=require("./vue-ui-accordion-BJxcaNmn.cjs"),pt=require("./DataTable-BxofnbUw.cjs"),gt=require("./vue-ui-skeleton-U2E7TpRS.cjs"),He=require("./useNestedProp-1Jl1Br-e.cjs"),me=require("./BaseIcon-DHhiERUe.cjs"),Xe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),mt=require("./PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-DdBkgV3y.cjs"),bt=require("./useUserOptionState-BgepsfED.cjs"),xt=require("./useChartAccessibility-Cm7nkzTG.cjs"),kt={class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Lt=["disabled"],Ct=["xmlns","viewBox"],wt=["cx","cy","r","fill"],St=["d","stroke","stroke-width"],$t=["d","stroke","stroke-width"],zt={__name:"NonSvgPenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup($,{emit:be}){const X=$,xe=be,x=l.ref([]),D=l.ref([]),_=l.ref("0 0 0 0"),V=l.ref(X.color),c=l.ref(1),k=l.computed(()=>u.lightenHexColor(X.color,.6));function F({width:h,height:v}){_.value=`0 0 ${h} ${v}`}const U=l.ref(null);l.onMounted(()=>{l.nextTick(()=>{if(X.parent){U.value=new ResizeObserver(s=>{for(const d of s){const{width:g,height:C}=d.contentRect;F({width:g,height:C})}}),U.value.observe(X.parent);const{width:h,height:v}=X.parent.getBoundingClientRect();F({width:h,height:v})}})}),l.onBeforeUnmount(()=>{U.value&&U.value.disconnect()}),l.watch(()=>X.parent,h=>{if(!h)return;const{width:v,height:s}=X.parent.getBoundingClientRect();F({width:v,height:s})},{immediate:!0});const f=l.ref(!1),A=l.ref(""),Z=l.ref(null);function I(h){if(!Z.value)return;f.value=!0;const{x:v,y:s}=re(h);A.value=`M ${v} ${s}`}function q(h){if(!f.value||!Z.value)return;const{x:v,y:s}=re(h);A.value+=` ${v} ${s}`}function Y(h){const v=h.trim().split(/\s+/);if(v.length<4)return h;const s=v.slice(1).map(Number);if(s.length%2!==0)return h;const d=G(s),g=[`M ${d[0]} ${d[1]}`];for(let E=2;E<d.length-2;E+=2){const t=d[E-2],M=d[E-1],P=d[E],T=d[E+1],B=(t+P)/2,j=(M+T)/2;g.push(`Q ${t} ${M} ${B} ${j}`)}const C=d[d.length-2],S=d[d.length-1];return g.push(`L ${C} ${S}`),g.join(" ")}function G(h,v=1){const s=[...h];for(let d=2;d<h.length-2;d+=2){const g=h[d],C=h[d+1],S=h[d-2],E=h[d-1],t=h[d+2],M=h[d+3];s[d]=g+v*((S+t)/2-g),s[d+1]=C+v*((E+M)/2-C)}return s}function oe(h){const v=h.trim().split(/\s+/);let s="",d="",g=null,C=null;for(let S=0;S<v.length;S+=1){const E=v[S];if(isNaN(E)){if(d=E,d==="M"||d==="L")g=parseFloat(v[++S]),C=parseFloat(v[++S]),s+=`${d}${g} ${C}`;else if(d==="Q"){const t=parseFloat(v[++S]),M=parseFloat(v[++S]),P=parseFloat(v[++S]),T=parseFloat(v[++S]);t===g&&M===C?s+=`t${P-g} ${T-C}`:s+=`q${t-g} ${M-C} ${P-g} ${T-C}`,g=P,C=T}}else{const t=parseFloat(E),M=parseFloat(v[++S]);if(d==="L"){const P=t-g,T=M-C;P===0?s+=`v${T}`:T===0?s+=`h${P}`:s+=`l${P} ${T}`,g=t,C=M}else if(d==="Q"){const P=t,T=M,B=parseFloat(v[++S]),j=parseFloat(v[++S]);P===g&&T===C?s+=`t${B-g} ${j-C}`:s+=`q${P-g} ${T-C} ${B-g} ${j-C}`,g=B,C=j}}}return s}function ee(){f.value&&(x.value.push({strokeWidth:c.value,path:oe(Y(A.value)),color:V.value}),D.value=[],A.value=""),f.value=!1}function re(h){if(!Z.value)return{x:0,y:0};const v=Z.value.getBoundingClientRect();let s,d;return h.touches&&h.touches.length?(s=h.touches[0].clientX,d=h.touches[0].clientY):(s=h.clientX,d=h.clientY),{x:s-v.left,y:d-v.top}}l.ref(!1);function te(){if(x.value.length>0){const h=x.value.pop();D.value.push(h)}}function ce(){if(D.value.length>0){const h=D.value.pop();x.value.push(h)}}function ve(){x.value=[],D.value=[]}const de=l.ref(null);return(h,v)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[$.active?(l.openBlock(),l.createElementBlock("div",{key:0,"data-html2canvas-ignore":"",class:l.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:$.active})},[l.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:v[0]||(v[0]=s=>xe("close"))},[l.createVNode(me.default,{name:"close",stroke:$.color},null,8,["stroke"])],4),l.createElementVNode("button",kt,[l.createVNode(mt.ColorPicker,{value:V.value,"onUpdate:value":v[1]||(v[1]=s=>V.value=s),backgroundColor:$.backgroundColor,buttonBorderColor:k.value},null,8,["value","backgroundColor","buttonBorderColor"])]),l.createElementVNode("button",{class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!x.value.length}),disabled:!x.value.length,style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:te},[l.createVNode(me.default,{name:"restart",stroke:$.color},null,8,["stroke"])],14,Lt),l.createElementVNode("button",{class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!D.value.length}),style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:ce},[l.createVNode(me.default,{name:"restart",stroke:$.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),l.createElementVNode("button",{class:l.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!x.value.length},"vue-ui-pen-and-paper-action"]),style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:ve},[l.createVNode(me.default,{name:"trash",stroke:$.color},null,8,["stroke"])],6),l.withDirectives(l.createElementVNode("input",{ref_key:"range",ref:de,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":v[2]||(v[2]=s=>c.value=s),style:l.normalizeStyle({accentColor:$.color})},null,4),[[l.vModelText,c.value]])],2)):l.createCommentVNode("",!0),(l.openBlock(),l.createElementBlock("svg",{ref_key:"svgElement",ref:Z,xmlns:l.unref(u.XMLNS),viewBox:_.value,class:l.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!$.active}),onMousedown:I,onMousemove:q,onMouseup:ee,onMouseleave:ee,onTouchstart:l.withModifiers(I,["prevent"]),onTouchmove:l.withModifiers(q,["prevent"]),onTouchend:ee},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(x.value,s=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:s},[s.path.replace("M","").split(" ").length===2?(l.openBlock(),l.createElementBlock("circle",{key:0,cx:s.path.replace("M","").split(" ")[0],cy:s.path.replace("M","").split(" ")[1],r:s.strokeWidth/2,fill:s.color},null,8,wt)):(l.openBlock(),l.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:s.path,stroke:s.color,"stroke-width":s.strokeWidth,fill:"none"},null,8,St))],64))),128)),f.value?(l.openBlock(),l.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:Y(A.value),stroke:V.value,"stroke-width":c.value*1.1,fill:"none"},null,8,$t)):l.createCommentVNode("",!0)],42,Ct))],64))}},Mt=Xe._export_sfc(zt,[["__scopeId","data-v-1ffe1d80"]]),Pt=["id"],Tt=["onClick"],Bt={key:2,class:"vue-data-ui-watermark"},It=["innerHTML"],Et={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup($,{expose:be,emit:X}){const{vue_ui_xy_canvas:xe}=u.useConfig(),x=$,D=l.ref(u.createUid()),_=l.ref(null),V=l.ref(null),c=l.ref(null),k=l.ref(1),F=l.ref(1),U=l.ref(!1),f=l.ref(null),A=l.ref(""),Z=l.ref(null),I=l.ref([]),q=l.ref(1),Y=l.ref(!0),G=l.ref(!0),oe=l.ref(null),ee=l.ref(0),re=l.ref(0),te=l.ref(!1),ce=l.ref(null),ve=l.ref(null),de=l.ref(null),h=l.ref(null),v=l.ref(0),s=l.ref(0),d=l.ref(0),g=l.ref(null),C=l.computed(()=>!!x.dataset&&x.dataset.length),S=X,E=l.useSlots();l.onMounted(()=>{E["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const t=l.computed({get:()=>j(),set:e=>e}),{userOptionsVisible:M,setUserOptionsVisibility:P,keepUserOptionState:T}=bt.useUserOptionState({config:t.value}),{svgRef:B}=xt.useChartAccessibility({config:t.value.style.chart.title});function j(){const e=He.useNestedProp({userConfig:x.config,defaultConfig:xe});let o={};return e.theme?o={...He.useNestedProp({userConfig:u.themes.vue_ui_xy_canvas[e.theme]||x.config,defaultConfig:e}),customPalette:u.themePalettes[e.theme]||u.palette}:o=e,x.config&&u.hasDeepProperty(x.config,"style.chart.scale.min")?o.style.chart.scale.min=x.config.style.chart.scale.min:o.style.chart.scale.min=null,x.config&&u.hasDeepProperty(x.config,"style.chart.scale.max")?o.style.chart.scale.max=x.config.style.chart.scale.max:o.style.chart.scale.max=null,x.config&&u.hasDeepProperty(x.config,"style.chart.zoom.startIndex")?o.style.chart.zoom.startIndex=x.config.style.chart.zoom.startIndex:o.style.chart.zoom.startIndex=null,x.config&&u.hasDeepProperty(x.config,"style.chart.zoom.endIndex")?o.style.chart.zoom.endIndex=x.config.style.chart.zoom.endIndex:o.style.chart.zoom.endIndex=null,o}l.watch(()=>x.config,e=>{t.value=j(),M.value=!t.value.userOptions.showOnChartHover,ke(),v.value+=1,s.value+=1,d.value+=1,i.value.showTable=t.value.table.show,i.value.showDataLabels=t.value.style.chart.dataLabels.show,i.value.stacked=t.value.style.chart.stacked,i.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0}),l.watch(()=>x.dataset,()=>{ke(),v.value+=1,s.value+=1,d.value+=1},{deep:!0});const Ce=l.ref(t.value.style.chart.aspectRatio),{isPrinting:we,isImaging:Se,generatePdf:$e,generateImage:ze}=Ye.usePrinter({elementId:`xy_canvas_${D.value}`,fileName:t.value.style.chart.title.text||"vue-ui-xy-canvas"}),i=l.ref({showTable:t.value.table.show,showDataLabels:t.value.style.chart.dataLabels.show,stacked:t.value.style.chart.stacked,showTooltip:t.value.style.chart.tooltip.show});function Ue(e){te.value=e,re.value+=1}const Me=l.computed(()=>u.convertCustomPalette(t.value.customPalette)),H=l.computed(()=>le.value?Math.max(...le.value.filter((e,o)=>!I.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=l.computed(()=>{const e=k.value-k.value*(t.value.style.chart.paddingProportions.left+t.value.style.chart.paddingProportions.right);return{canvasWidth:k.value,canvasHeight:F.value,left:k.value*t.value.style.chart.paddingProportions.left,top:F.value*t.value.style.chart.paddingProportions.top,right:k.value-k.value*t.value.style.chart.paddingProportions.right,bottom:F.value-F.value*t.value.style.chart.paddingProportions.bottom,width:e,height:F.value-F.value*(t.value.style.chart.paddingProportions.top+t.value.style.chart.paddingProportions.bottom),slot:e/(n.value.end-n.value.start)}});function Pe(e,o){return e/o}function qe({hasAutoScale:e,series:o,min:r,max:y,scale:b,yOffset:R,individualHeight:m,stackIndex:w=null}){return o.map((J,O)=>{const Q=b.min<0?Math.abs(b.min):0,K=Pe(J+Q,Q+b.max);let se,ie;e&&(se=b.min,ie=Pe(J-se,b.max-se));let W=0;return w===null?W=a.value.bottom-a.value.height*(e?ie:K):W=a.value.bottom-R-m*(e?ie:K),{x:a.value.left+a.value.slot*O+a.value.slot/2,y:W,value:J}})}const z=l.computed(()=>{const e=t.value.style.chart.scale.min!==null?t.value.style.chart.scale.min:Math.min(...le.value.filter((m,w)=>!I.value.includes(m.absoluteIndex)).flatMap(m=>m.series.slice(n.value.start,n.value.end))),o=t.value.style.chart.scale.max!==null?t.value.style.chart.scale.max:Math.max(...le.value.filter((m,w)=>!I.value.includes(m.absoluteIndex)).flatMap(m=>m.series.slice(n.value.start,n.value.end))),r=u.calculateNiceScale(e<0?e:0,o===e?e+1<0?0:e+1:o<0?0:o,t.value.style.chart.scale.ticks),y=r.min<0?Math.abs(r.min):0,b=a.value.bottom-a.value.height*(y/(r.max+y)),R=r.ticks.map(m=>({y:a.value.bottom-a.value.height*((m+y)/(r.max+y)),x:a.value.left-8,value:m}));return{absoluteMin:y,max:o,min:e,scale:r,yLabels:R,zero:b}}),We=l.computed(()=>L.value.map(e=>`
|
|
2
2
|
<div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
|
|
3
3
|
<svg viewBox="0 0 10 10" height="12" width="12">
|
|
4
4
|
<circle cx="5" cy="5" r="5" fill="${e.color}"/>
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { P as D, W as q, c as X, A as j, F as $, w as ee, s as te, o as le, _ as re, a6 as ie, x as ae, C as se, y as ne, a4 as ce, e as oe, r as he, f as U, a7 as ue, R as de, S as ge, q as fe, b as Ie, z as me, d as be, a8 as Ne, v as xe, a9 as Fe, a2 as _e, aa as Ae, i as ye, G as Le, L as Ce, u as Se, p as ke, B as we, a as Oe, t as Ge } from "./index-
|
|
2
|
-
import { D as ve } from "./DataTable-
|
|
3
|
-
import { _ as pe } from "./Title-
|
|
4
|
-
import { u as ze, _ as Me } from "./Tooltip-
|
|
5
|
-
import { U as Te } from "./usePrinter-
|
|
6
|
-
import { _ as Pe } from "./Shape-
|
|
7
|
-
import Ve from "./BaseIcon-
|
|
8
|
-
import Re from "./vue-ui-table-sparkline-
|
|
9
|
-
import De from "./vue-ui-skeleton-
|
|
10
|
-
import { S as He } from "./Slicer-
|
|
11
|
-
import We from "./vue-ui-accordion-
|
|
12
|
-
import { u as Z } from "./useNestedProp-
|
|
13
|
-
import { _ as Be } from "./PackageVersion-
|
|
14
|
-
import { P as Ee } from "./PenAndPaper-
|
|
1
|
+
import { P as D, W as q, c as X, A as j, F as $, w as ee, s as te, o as le, _ as re, a6 as ie, x as ae, C as se, y as ne, a4 as ce, e as oe, r as he, f as U, a7 as ue, R as de, S as ge, q as fe, b as Ie, z as me, d as be, a8 as Ne, v as xe, a9 as Fe, a2 as _e, aa as Ae, i as ye, G as Le, L as Ce, u as Se, p as ke, B as we, a as Oe, t as Ge } from "./index-DsLBHzFs.js";
|
|
2
|
+
import { D as ve } from "./DataTable-CxMzHPtJ.js";
|
|
3
|
+
import { _ as pe } from "./Title-DQOart2o.js";
|
|
4
|
+
import { u as ze, _ as Me } from "./Tooltip-DY5DV3Xp.js";
|
|
5
|
+
import { U as Te } from "./usePrinter-DUjsrNVS.js";
|
|
6
|
+
import { _ as Pe } from "./Shape-D6IRh5MW.js";
|
|
7
|
+
import Ve from "./BaseIcon-Cq9yGlN2.js";
|
|
8
|
+
import Re from "./vue-ui-table-sparkline-D_3IJQFo.js";
|
|
9
|
+
import De from "./vue-ui-skeleton-Nwl5QlzI.js";
|
|
10
|
+
import { S as He } from "./Slicer-BRi9p4Vz.js";
|
|
11
|
+
import We from "./vue-ui-accordion-Bf26MV5f.js";
|
|
12
|
+
import { u as Z } from "./useNestedProp-bY0v4eqr.js";
|
|
13
|
+
import { _ as Be } from "./PackageVersion-Dej3JBIN.js";
|
|
14
|
+
import { P as Ee } from "./PenAndPaper-C-zh1_tH.js";
|
|
15
15
|
import { resolveComponent as R, createElementBlock as s, openBlock as i, normalizeStyle as F, normalizeClass as W, createBlock as H, createCommentVNode as h, createVNode as Y, createSlots as Ye, withCtx as P, renderSlot as S, normalizeProps as B, guardReactiveProps as E, createElementVNode as d, createTextVNode as J, Fragment as g, renderList as m, toDisplayString as w, mergeProps as K, withDirectives as qe, vModelCheckbox as Xe } from "vue";
|
|
16
16
|
import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Ze = X(), Je = {
|
|
@@ -1680,7 +1680,7 @@ function ir(t, a, o, u, l, e) {
|
|
|
1680
1680
|
"font-size": l.fontSizes.dataLabels,
|
|
1681
1681
|
"text-anchor": "middle",
|
|
1682
1682
|
transform: `translate(${r.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding}, ${l.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset - r.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
|
|
1683
|
-
}, w(r.name) + " " + w(r.scaleLabel && r.unique ? `- ${r.scaleLabel}` : ""), 9, Yt),
|
|
1683
|
+
}, w(r.name) + " " + w(r.scaleLabel && r.unique && r.scaleLabel !== r.id ? `- ${r.scaleLabel}` : ""), 9, Yt),
|
|
1684
1684
|
(i(!0), s(g, null, m(r.yLabels, (c, n) => (i(), s("line", {
|
|
1685
1685
|
x1: r.x - 3 + e.xPadding,
|
|
1686
1686
|
x2: r.x + e.xPadding,
|
|
@@ -2535,7 +2535,7 @@ function ir(t, a, o, u, l, e) {
|
|
|
2535
2535
|
}, 8, ["config"])) : h("", !0)
|
|
2536
2536
|
], 46, Ke);
|
|
2537
2537
|
}
|
|
2538
|
-
const _r = /* @__PURE__ */ Ue(Je, [["render", ir], ["__scopeId", "data-v-
|
|
2538
|
+
const _r = /* @__PURE__ */ Ue(Je, [["render", ir], ["__scopeId", "data-v-95c993d5"]]);
|
|
2539
2539
|
export {
|
|
2540
2540
|
_r as default
|
|
2541
2541
|
};
|
package/package.json
CHANGED