vue-data-ui 2.10.4 → 2.10.5
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/README.md +1 -1
- package/dist/{Arrow-D5FZABKM.cjs → Arrow-Badwqciu.cjs} +1 -1
- package/dist/{Arrow-rShoZLPF.js → Arrow-Bb5xelJS.js} +1 -1
- package/dist/{BaseIcon-YEUagT3T.cjs → BaseIcon-CvuQ41yl.cjs} +1 -1
- package/dist/{BaseIcon-DOAYHMqC.js → BaseIcon-HDOMbyJq.js} +1 -1
- package/dist/{ColorPicker-C2sp7L2o.js → ColorPicker-BODnRb0v.js} +3 -3
- package/dist/{ColorPicker-BvmBswSD.cjs → ColorPicker-NOWXYDyd.cjs} +1 -1
- package/dist/{DataTable-xRbw3M1w.cjs → DataTable-Bu_0tRZE.cjs} +1 -1
- package/dist/{DataTable-BcZpw2Di.js → DataTable-CGMCHKzY.js} +2 -2
- package/dist/{Legend-BgW2m6h5.cjs → Legend-BDIC5aus.cjs} +1 -1
- package/dist/{Legend-BkMSze3l.js → Legend-CLZW3_-V.js} +2 -2
- package/dist/{PackageVersion-DMBva7ES.cjs → PackageVersion-CKutD59c.cjs} +1 -1
- package/dist/{PackageVersion-DfvwvFMQ.js → PackageVersion-DrU5ubC-.js} +1 -1
- package/dist/{PenAndPaper-Hpxqpf-9.js → PenAndPaper-BF6RVx_0.js} +3 -3
- package/dist/{PenAndPaper-C4nRoDeG.cjs → PenAndPaper-Bnvy0XRn.cjs} +1 -1
- package/dist/{Shape-DSzj99gT.js → Shape-D5Dtzm3x.js} +1 -1
- package/dist/{Shape-Bo-gVwFn.cjs → Shape-NYJ-EMUq.cjs} +1 -1
- package/dist/{Slicer-DTzGSpQM.js → Slicer-BrajQoJL.js} +2 -2
- package/dist/{Slicer-TTZu2wl_.cjs → Slicer-Cdgf9oDx.cjs} +1 -1
- package/dist/{Title-DmYM5yAv.js → Title-BNsKKvQy.js} +1 -1
- package/dist/{Title-D5Q-MAw-.cjs → Title-Cj4tUZSu.cjs} +1 -1
- package/dist/{Tooltip-BHaUk1Am.cjs → Tooltip-CLjMKc28.cjs} +1 -1
- package/dist/{Tooltip-jO3E09l_.js → Tooltip-Dm2APAls.js} +1 -1
- package/dist/documentation/installation.md +1 -1
- package/dist/{dom-to-png-BvQvLpA3.cjs → dom-to-png-BlAkXMo8.cjs} +1 -1
- package/dist/{dom-to-png-BXOrDSxu.js → dom-to-png-Z6Fps788.js} +1 -1
- package/dist/{img-BtrW_ClW.cjs → img-0HoPau8z.cjs} +1 -1
- package/dist/{img-Buxs9IJl.js → img-DhPFunow.js} +1 -1
- package/dist/{index-gaj0gmhW.js → index-D2h9qRb4.js} +1 -1
- package/dist/{index-C992Ntxe.cjs → index-D6F-xMcR.cjs} +1 -1
- package/dist/{pdf-U6PPEV5v.js → pdf-BpYF_lP6.js} +1 -1
- package/dist/{pdf-Bk3zFpjP.cjs → pdf-Dm8bjLUW.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BItlw8tg.cjs → useNestedProp-CAbtwUJj.cjs} +1 -1
- package/dist/{useNestedProp-R77oENB4.js → useNestedProp-DlWfv-mw.js} +1 -1
- package/dist/{usePrinter-C-PBqYFC.cjs → usePrinter-B9NkBzf5.cjs} +1 -1
- package/dist/{usePrinter-BAF6jSop.js → usePrinter-BGkHpXM9.js} +3 -3
- package/dist/{vue-data-ui-cxE28JIm.cjs → vue-data-ui-DPoOpdO-.cjs} +1 -1
- package/dist/{vue-data-ui-7sxceCOs.js → vue-data-ui-kWX-2oPX.js} +62 -62
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DYgZ1gpv.js → vue-ui-3d-bar-CAJh6lT_.js} +9 -9
- package/dist/{vue-ui-3d-bar-WgsqJXq8.cjs → vue-ui-3d-bar-CwsCsbwY.cjs} +1 -1
- package/dist/{vue-ui-accordion-DiPdvaEC.js → vue-ui-accordion-C-v1kmEc.js} +3 -3
- package/dist/{vue-ui-accordion-DPRiCTQ4.cjs → vue-ui-accordion-ChE9WO8Q.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Bwb1ij77.cjs → vue-ui-age-pyramid-CAtI3F1S.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-VH8hdgnJ.js → vue-ui-age-pyramid-DdwMF6_I.js} +10 -10
- package/dist/{vue-ui-annotator-CDnvUWKy.cjs → vue-ui-annotator-DQ0W7Q5C.cjs} +1 -1
- package/dist/{vue-ui-annotator-CH5MDZDG.js → vue-ui-annotator-bkpTEqep.js} +2 -2
- package/dist/{vue-ui-bullet-DVd_q5Un.js → vue-ui-bullet-BEAyOY56.js} +8 -8
- package/dist/{vue-ui-bullet-Dd3zjxP1.cjs → vue-ui-bullet-CQtNg-wR.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DlXoO49B.cjs → vue-ui-candlestick-DJtpSDju.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CxP2KPB8.js → vue-ui-candlestick-DKYirN9r.js} +11 -11
- package/dist/{vue-ui-carousel-table-CNbutc12.cjs → vue-ui-carousel-table-VFiMfJos.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DOnU2A0U.js → vue-ui-carousel-table-q1hGM_Iw.js} +4 -4
- package/dist/{vue-ui-chestnut-p9hkQsyK.js → vue-ui-chestnut-B1VUR7mU.js} +8 -8
- package/dist/{vue-ui-chestnut-DhqbQ1sS.cjs → vue-ui-chestnut-DRGps83_.cjs} +1 -1
- package/dist/{vue-ui-circle-pack---RzxPp6.js → vue-ui-circle-pack-Bw_j7w4u.js} +9 -9
- package/dist/{vue-ui-circle-pack-B3W2Y1t8.cjs → vue-ui-circle-pack-CkpLDinw.cjs} +1 -1
- package/dist/{vue-ui-cursor-5dWqpQFo.cjs → vue-ui-cursor-D_ZN42gT.cjs} +1 -1
- package/dist/{vue-ui-cursor-CglmYKER.js → vue-ui-cursor-ZkCZRUcy.js} +2 -2
- package/dist/{vue-ui-dashboard-BWOv55Rq.cjs → vue-ui-dashboard-Bcj-LfoN.cjs} +1 -1
- package/dist/vue-ui-dashboard-DnEpTStU.js +325 -0
- package/dist/{vue-ui-digits-JrJAbiv1.js → vue-ui-digits-Bsseebr6.js} +2 -2
- package/dist/{vue-ui-digits-BOvznf5b.cjs → vue-ui-digits-p0PWcPJX.cjs} +1 -1
- package/dist/{vue-ui-donut-sN_2gTJP.cjs → vue-ui-donut-C3mhQ-03.cjs} +1 -1
- package/dist/{vue-ui-donut-l56OERlb.js → vue-ui-donut-CwvMWv_q.js} +12 -12
- package/dist/{vue-ui-donut-evolution-BeFnRUkD.js → vue-ui-donut-evolution-BzNh2QwP.js} +11 -11
- package/dist/{vue-ui-donut-evolution-C01vP_bJ.cjs → vue-ui-donut-evolution-C9eui30b.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CUe41gOr.cjs → vue-ui-dumbbell-BheHAxmy.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-6i03Kc-b.js → vue-ui-dumbbell-BvNEHy9Z.js} +10 -10
- package/dist/{vue-ui-flow-CbufmJJA.js → vue-ui-flow-DBuLJlEV.js} +9 -9
- package/dist/{vue-ui-flow-Ck5SOd1u.cjs → vue-ui-flow-vz29fymj.cjs} +1 -1
- package/dist/{vue-ui-funnel-GFfZuzKx.cjs → vue-ui-funnel-D8brKLer.cjs} +1 -1
- package/dist/{vue-ui-funnel-hwI_EP3E.js → vue-ui-funnel-DhoOe49e.js} +9 -9
- package/dist/{vue-ui-galaxy-D53mRATC.js → vue-ui-galaxy-DUQ5z3km.js} +11 -11
- package/dist/{vue-ui-galaxy-CZLFsZ-H.cjs → vue-ui-galaxy-YP3Gl3vG.cjs} +1 -1
- package/dist/{vue-ui-gauge-CGYibwq2.js → vue-ui-gauge-C_8QgadB.js} +7 -7
- package/dist/{vue-ui-gauge-DQkS_KRm.cjs → vue-ui-gauge-WH6OGXAD.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BjqQd4dy.cjs → vue-ui-gizmo-D2AJKoeB.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DSackCMx.js → vue-ui-gizmo-DFy9X5IT.js} +3 -3
- package/dist/{vue-ui-heatmap-dP-JR5__.js → vue-ui-heatmap-DH93m9RC.js} +10 -10
- package/dist/{vue-ui-heatmap-C0A7hdO3.cjs → vue-ui-heatmap-Dx8XPeob.cjs} +1 -1
- package/dist/{vue-ui-history-plot-tmASFo_J.js → vue-ui-history-plot-C-9fJrMv.js} +11 -11
- package/dist/{vue-ui-history-plot-CiGA7yW6.cjs → vue-ui-history-plot-Cmc7KMnB.cjs} +1 -1
- package/dist/{vue-ui-kpi-DRvyo41m.js → vue-ui-kpi-C6cv6sCW.js} +3 -3
- package/dist/{vue-ui-kpi-CIs7-KON.cjs → vue-ui-kpi-DqpTRLkQ.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DG07RzCx.js → vue-ui-mini-loader-BH-Hztc3.js} +2 -2
- package/dist/{vue-ui-mini-loader-DWqpp3i2.cjs → vue-ui-mini-loader-CpxzfBja.cjs} +1 -1
- package/dist/{vue-ui-molecule-Tfp48uxj.js → vue-ui-molecule-1475qvln.js} +11 -11
- package/dist/{vue-ui-molecule-Du_Xk6K3.cjs → vue-ui-molecule-avfEzaAy.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-HHIsYVgB.cjs → vue-ui-mood-radar-CnAmD4WX.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Bk9g5Nb7.js → vue-ui-mood-radar-SJjT1sCF.js} +11 -11
- package/dist/{vue-ui-nested-donuts-C4bZMsu7.js → vue-ui-nested-donuts-6MGMcByL.js} +11 -11
- package/dist/{vue-ui-nested-donuts-CmPyTnt9.cjs → vue-ui-nested-donuts-BkQJr_zV.cjs} +1 -1
- package/dist/{vue-ui-onion-CAJFRvBG.cjs → vue-ui-onion-CA2N8k0p.cjs} +1 -1
- package/dist/{vue-ui-onion-B4sfUuJR.js → vue-ui-onion-DzreNeV2.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-PoPTvKXt.js → vue-ui-parallel-coordinate-plot-CyoOsjFp.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-DWjcM8x6.cjs → vue-ui-parallel-coordinate-plot-V6vt-U3H.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DNVWkP6Q.cjs → vue-ui-quadrant-C7Fb-DVA.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DyWGltEe.js → vue-ui-quadrant-DkMAnQHE.js} +12 -12
- package/dist/{vue-ui-quick-chart-DpFle9Th.js → vue-ui-quick-chart-BNf57IFn.js} +9 -9
- package/dist/{vue-ui-quick-chart-jrs7sM-L.cjs → vue-ui-quick-chart-CQp5GSbr.cjs} +1 -1
- package/dist/{vue-ui-radar-uGd1724l.js → vue-ui-radar-DHxUS4r0.js} +12 -12
- package/dist/{vue-ui-radar-DlJcEKBT.cjs → vue-ui-radar-DVv2P3B3.cjs} +1 -1
- package/dist/{vue-ui-rating-zlL_fohp.js → vue-ui-rating-2dp8n1gK.js} +2 -2
- package/dist/{vue-ui-rating-DyT2cuTa.cjs → vue-ui-rating-CA5buZm1.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-C_mwuWBA.cjs → vue-ui-relation-circle-BGY0EsvO.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BSJWSSj3.js → vue-ui-relation-circle-hU35G-pb.js} +7 -7
- package/dist/{vue-ui-ridgeline-huB4GUmG.js → vue-ui-ridgeline-CTE25ofY.js} +12 -12
- package/dist/{vue-ui-ridgeline-Itzed46M.cjs → vue-ui-ridgeline-dhS0sX29.cjs} +1 -1
- package/dist/{vue-ui-rings-OmEU3StJ.cjs → vue-ui-rings-2XntvE5b.cjs} +1 -1
- package/dist/{vue-ui-rings-DdxMJYrC.js → vue-ui-rings-BgJT1xPm.js} +12 -12
- package/dist/{vue-ui-scatter-vvzbobaJ.cjs → vue-ui-scatter-Brh98c-o.cjs} +1 -1
- package/dist/{vue-ui-scatter-BMr3eo6N.js → vue-ui-scatter-YKeV-y-p.js} +12 -12
- package/dist/{vue-ui-skeleton-DO7G5Y5g.cjs → vue-ui-skeleton-CK5DdXVo.cjs} +1 -1
- package/dist/{vue-ui-skeleton-JA0W8tXn.js → vue-ui-skeleton-CNP_4H8z.js} +3 -3
- package/dist/{vue-ui-smiley-BO0MFGFu.cjs → vue-ui-smiley-3uIAUF4w.cjs} +1 -1
- package/dist/{vue-ui-smiley-CIw8667G.js → vue-ui-smiley-BUlzuzq6.js} +2 -2
- package/dist/{vue-ui-spark-trend-CuQH76Jo.cjs → vue-ui-spark-trend-CfhhjekZ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-C1DXyadL.js → vue-ui-spark-trend-DmwQZLUP.js} +5 -5
- package/dist/{vue-ui-sparkbar-kvbWgfWC.cjs → vue-ui-sparkbar-BxKGdAq3.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BmhE-99J.js → vue-ui-sparkbar-TLxa0K9v.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CYJpGB9W.js → vue-ui-sparkgauge-CIwnnQYW.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BbxVytfF.cjs → vue-ui-sparkgauge-CWXLMSHa.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DPwQshte.cjs → vue-ui-sparkhistogram-Df0Edni4.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-jt13-xyA.js → vue-ui-sparkhistogram-w1rEgV9S.js} +5 -5
- package/dist/{vue-ui-sparkline-DzFmdpXy.cjs → vue-ui-sparkline-BQCbVZw5.cjs} +1 -1
- package/dist/{vue-ui-sparkline-EaNvjpb9.js → vue-ui-sparkline-C2Sf6sF4.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D20-H_RH.js → vue-ui-sparkstackbar-BaVuTNxy.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BIfIWVD6.cjs → vue-ui-sparkstackbar-BlyzQCK8.cjs} +1 -1
- package/dist/{vue-ui-stackbar-IfVjvxly.js → vue-ui-stackbar-D4H8uFQ5.js} +13 -13
- package/dist/{vue-ui-stackbar-BlQFS50f.cjs → vue-ui-stackbar-ypv8uR9d.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-Cj7pyIjv.cjs → vue-ui-strip-plot-CmrAJ6uF.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-C0JJwLZs.js → vue-ui-strip-plot-Dxh7xzZf.js} +11 -11
- package/dist/{vue-ui-table-Dv15sJ0a.js → vue-ui-table-BD8QgS2P.js} +3 -3
- package/dist/{vue-ui-table-DtRcQV5j.cjs → vue-ui-table-BmyVGToW.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BPbQGrNC.cjs → vue-ui-table-heatmap-CXTW4REL.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-2yiRD9Ye.js → vue-ui-table-heatmap-DZIrV6Bq.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DYRqyIVx.cjs → vue-ui-table-sparkline--R1CzNtx.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DLmFiLHF.js → vue-ui-table-sparkline-B0aYy2JL.js} +5 -5
- package/dist/{vue-ui-thermometer-DLCjJe6v.js → vue-ui-thermometer-Dh0nVf-h.js} +7 -7
- package/dist/{vue-ui-thermometer-gL74aWA3.cjs → vue-ui-thermometer-DtOy35Jd.cjs} +1 -1
- package/dist/{vue-ui-timer-BIk_79G3.cjs → vue-ui-timer-Bo3p5wjo.cjs} +1 -1
- package/dist/{vue-ui-timer-C7-qvY5L.js → vue-ui-timer-C4JkVftX.js} +5 -5
- package/dist/{vue-ui-tiremarks-1_fqbLdG.cjs → vue-ui-tiremarks-B-3AEiND.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BxAQR-XE.js → vue-ui-tiremarks-GLU60Yzo.js} +7 -7
- package/dist/{vue-ui-treemap-DQD2Xuuh.js → vue-ui-treemap-QyQqnbJc.js} +12 -12
- package/dist/{vue-ui-treemap-DRyEb-BU.cjs → vue-ui-treemap-ZiuUtYjs.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-BaIRmMNm.js → vue-ui-vertical-bar-CbwZCrcW.js} +12 -12
- package/dist/{vue-ui-vertical-bar-BJel3_6V.cjs → vue-ui-vertical-bar-DHZvOGpR.cjs} +1 -1
- package/dist/{vue-ui-waffle-DkvyTGgQ.js → vue-ui-waffle-D_zRZStV.js} +12 -12
- package/dist/{vue-ui-waffle-DeOPUPQx.cjs → vue-ui-waffle-Yi5W6qYr.cjs} +1 -1
- package/dist/{vue-ui-wheel-CG5T2hIG.cjs → vue-ui-wheel-D85CwfOC.cjs} +1 -1
- package/dist/{vue-ui-wheel-YF9GWFaZ.js → vue-ui-wheel-D_wbd08e.js} +7 -7
- package/dist/{vue-ui-word-cloud-BuZu35M3.cjs → vue-ui-word-cloud-CkActnvX.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-_D3SXGDc.js → vue-ui-word-cloud-jMOFgeRb.js} +10 -10
- package/dist/{vue-ui-world-DZED00QY.js → vue-ui-world-XMoqQwg7.js} +11 -11
- package/dist/{vue-ui-world-Dfe3q7_e.cjs → vue-ui-world-aTdY2yXo.cjs} +1 -1
- package/dist/{vue-ui-xy-g8d2AKdu.js → vue-ui-xy-DL6V_DZs.js} +16 -16
- package/dist/{vue-ui-xy-BWkU6RgD.cjs → vue-ui-xy-DYEFXjnb.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-CQaxl6Cr.js → vue-ui-xy-canvas-DpX9D7Ny.js} +12 -12
- package/dist/{vue-ui-xy-canvas-OMHgq4d8.cjs → vue-ui-xy-canvas-K0Qm3FPR.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-dashboard-Dl0OuKWA.js +0 -317
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ref as c, computed as R, onMounted as ot, nextTick as Oe, onBeforeUnmount as $t, watch as _, createElementBlock as M, openBlock as w, Fragment as je, createCommentVNode as Z, normalizeStyle as N, normalizeClass as ve, createElementVNode as W, withDirectives as gt, createVNode as me, toDisplayString as Qe, unref as D, vModelText as pt, withModifiers as mt, renderList as bt, useSlots as Gt, createBlock as ie, createSlots as Zt, withCtx as A, renderSlot as P, normalizeProps as ye, guardReactiveProps as ge, createTextVNode as qt } from "vue";
|
|
2
|
-
import { l as St, f as be, X as jt, u as Kt, c as Qt, t as _t, p as pe, a as Jt, C as Ke, b as el, D as lt, i as Le, d as xt, a0 as tl, H as ll, ai as al, o as ol, e as nl, x as kt, q as rl, r as ul, y as sl, s as Re } from "./index-
|
|
2
|
+
import { l as St, f as be, X as jt, u as Kt, c as Qt, t as _t, p as pe, a as Jt, C as Ke, b as el, D as lt, i as Le, d as xt, a0 as tl, H as ll, ai as al, o as ol, e as nl, x as kt, q as rl, r as ul, y as sl, s as Re } from "./index-D2h9qRb4.js";
|
|
3
3
|
import { d as il, t as vl, u as cl, c as dl, a as Lt, l as F, r as at, b as ne, p as wt } from "./useResponsive-Cw4oZ8sQ.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 Ct } from "./useNestedProp-
|
|
4
|
+
import { _ as hl } from "./Tooltip-Dm2APAls.js";
|
|
5
|
+
import { L as fl } from "./Legend-CLZW3_-V.js";
|
|
6
|
+
import { _ as yl } from "./Title-BNsKKvQy.js";
|
|
7
|
+
import { S as gl } from "./Slicer-BrajQoJL.js";
|
|
8
|
+
import { u as pl, U as ml } from "./usePrinter-BGkHpXM9.js";
|
|
9
|
+
import bl from "./vue-ui-accordion-C-v1kmEc.js";
|
|
10
|
+
import { D as xl } from "./DataTable-CGMCHKzY.js";
|
|
11
|
+
import kl from "./vue-ui-skeleton-CNP_4H8z.js";
|
|
12
|
+
import { u as Ct } from "./useNestedProp-DlWfv-mw.js";
|
|
13
13
|
import { u as Ll } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as wl } from "./useChartAccessibility-BWojgys7.js";
|
|
15
|
-
import De from "./BaseIcon-
|
|
16
|
-
import { C as Cl } from "./ColorPicker-
|
|
15
|
+
import De from "./BaseIcon-HDOMbyJq.js";
|
|
16
|
+
import { C as Cl } from "./ColorPicker-BODnRb0v.js";
|
|
17
17
|
import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const $l = {
|
|
19
19
|
class: /* @__PURE__ */ ve({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),d=require("./index-C992Ntxe.cjs"),x=require("./useResponsive-DQmBAoBf.cjs"),vt=require("./Tooltip-BHaUk1Am.cjs"),dt=require("./Legend-BgW2m6h5.cjs"),ht=require("./Title-D5Q-MAw-.cjs"),ft=require("./Slicer-TTZu2wl_.cjs"),Ue=require("./usePrinter-C-PBqYFC.cjs"),yt=require("./vue-ui-accordion-DPRiCTQ4.cjs"),pt=require("./DataTable-xRbw3M1w.cjs"),gt=require("./vue-ui-skeleton-DO7G5Y5g.cjs"),qe=require("./useNestedProp-BItlw8tg.cjs"),mt=require("./useUserOptionState-BgepsfED.cjs"),bt=require("./useChartAccessibility-Cm7nkzTG.cjs"),ge=require("./BaseIcon-YEUagT3T.cjs"),xt=require("./ColorPicker-BvmBswSD.cjs"),We=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),kt={class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Ct=["disabled"],Lt=["data-mode","xmlns","viewBox"],wt=["cx","cy","r","fill"],St=["d","stroke","stroke-width"],zt=["x","y","fill","font-size"],$t=["x","dy"],Tt=["d","stroke","stroke-width"],Et={__name:"NonSvgPenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup(z,{emit:Ee}){const U=z,Be=Ee,L=t.ref([]),V=t.ref([]),K=t.ref("0 0 0 0"),D=t.ref(U.color),y=t.ref(1),m=t.ref("draw"),w=t.ref(null),q=t.ref(!1),h=t.ref(null),Y=t.ref({x:0,y:0}),X=t.ref([""]),E=t.ref({row:0,col:0}),P=t.ref(16);let W=1;function G(){return W++}function ne(i){var a;const r=R.value;if(!r)return{x:0,y:0};const o=r.createSVGPoint();let u=i.clientX,v=i.clientY;i.touches&&i.touches.length&&(u=i.touches[0].clientX,v=i.touches[0].clientY),o.x=u,o.y=v;const f=(a=r.getScreenCTM())==null?void 0:a.inverse();return f?o.matrixTransform(f):{x:0,y:0}}function re(i){if(!w.value||m.value!=="text"||q.value)return;const{x:r,y:o}=ne(i);Y.value={x:r,y:o},X.value=[""],E.value={row:0,col:0};const u=document.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("x",r),u.setAttribute("y",o),u.setAttribute("fill",D.value),u.setAttribute("font-size",P.value),u.setAttribute("font-family","sans-serif"),u.setAttribute("class","vue-data-ui-doodle"),u.setAttribute("dominant-baseline","hanging"),u.setAttribute("pointer-events","all");const v=document.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttribute("x",r),v.setAttribute("dy","0"),v.textContent="",u.appendChild(v),u.style.pointerEvents="none",u.style.userSelect="none",w.value.appendChild(u),h.value=u,q.value=!0,window.addEventListener("keydown",ue),window.addEventListener("mousedown",ie,!0),J(),se()}function ue(i){if(!q.value)return;let{row:r,col:o}=E.value,u=X.value.slice(),v=!1;if(i.key==="Enter"){const f=u[r],a=f.slice(0,o),T=f.slice(o);u.splice(r,1,a,T),r+=1,o=0,v=!0,i.preventDefault()}else if(i.key==="Backspace"){if(o>0)u[r]=u[r].slice(0,o-1)+u[r].slice(o),o-=1,v=!0;else if(r>0){const f=u[r-1].length;u[r-1]+=u[r],u.splice(r,1),r-=1,o=f,v=!0}i.preventDefault()}else if(i.key==="Delete")o<u[r].length?(u[r]=u[r].slice(0,o)+u[r].slice(o+1),v=!0):r<u.length-1&&(u[r]+=u[r+1],u.splice(r+1,1),v=!0),i.preventDefault();else if(i.key==="ArrowLeft")o>0?o-=1:r>0&&(r-=1,o=u[r].length),v=!0,i.preventDefault();else if(i.key==="ArrowRight")o<u[r].length?o+=1:r<u.length-1&&(r+=1,o=0),v=!0,i.preventDefault();else if(i.key==="ArrowUp")r>0&&(r-=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key==="ArrowDown")r<u.length-1&&(r+=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey)u[r]=u[r].slice(0,o)+i.key+u[r].slice(o),o+=1,v=!0,i.preventDefault();else if(i.key==="Escape"){ce(!0);return}else i.key==="Tab"&&i.preventDefault();v&&(X.value=u,E.value={row:r,col:o},J(),se())}function J(){const i=h.value,{x:r,y:o}=Y.value;for(;i.firstChild;)i.removeChild(i.firstChild);X.value.forEach((u,v)=>{const f=document.createElementNS("http://www.w3.org/2000/svg","tspan");f.setAttribute("x",r),f.setAttribute("dy",v===0?"0":`${P.value*1.2}`),f.textContent=u.length?u:"",i.appendChild(f)})}function se(){const i=w.value.querySelector(".vue-data-ui-svg-caret");i&&w.value.removeChild(i);const r=h.value;if(!r)return;const{x:o,y:u}=Y.value,{row:v,col:f}=E.value,a=P.value,T=r.childNodes[v];if(!T)return;let B=T.textContent.slice(0,f);B.endsWith(" ")&&(B+=" ");const p=document.createElementNS("http://www.w3.org/2000/svg","text");p.setAttribute("x",o),p.setAttribute("y",u),p.setAttribute("font-size",a),p.setAttribute("font-family","sans-serif"),p.textContent=B||"",w.value.appendChild(p);const M=p.getBBox();w.value.removeChild(p);let $=u+v*a*1.2,g=o+M.width;const c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("x",g),c.setAttribute("y",$),c.setAttribute("width",1),c.setAttribute("height",a),c.setAttribute("fill",D.value),c.setAttribute("class","vue-data-ui-svg-caret"),w.value.appendChild(c)}function ie(i){if(h.value&&!h.value.contains(i.target)){const r=h.value.children;r.length===1&&(r[0].textContent===""||r[0].textContent==="")&&h.value.remove(),ce(!1)}}function ce(i=!1){var u;window.removeEventListener("keydown",ue),window.removeEventListener("mousedown",ie,!0);const r=(u=w.value)==null?void 0:u.querySelector(".vue-data-ui-svg-caret");r&&w.value.removeChild(r);const o=X.value.every(v=>!v||v==="");i||o||L.value.push({id:G(),type:"text",x:Y.value.x,y:Y.value.y,color:D.value,fontSize:P.value,lines:X.value.map(v=>v)}),h.value&&w.value&&w.value.contains(h.value)&&w.value.removeChild(h.value),q.value=!1,h.value=null,X.value=[""],E.value={row:0,col:0}}const H=t.computed(()=>d.lightenHexColor(U.color,.6));function ee({width:i,height:r}){K.value=`0 0 ${i} ${r}`}const _=t.ref(null);t.onMounted(()=>{t.nextTick(()=>{if(U.parent){_.value=new ResizeObserver(o=>{for(const u of o){const{width:v,height:f}=u.contentRect;ee({width:v,height:f})}}),_.value.observe(U.parent);const{width:i,height:r}=U.parent.getBoundingClientRect();ee({width:i,height:r})}}),w.value=R.value.querySelector("g")}),t.onBeforeUnmount(()=>{_.value&&_.value.disconnect()}),t.watch(()=>U.parent,i=>{if(!i)return;const{width:r,height:o}=U.parent.getBoundingClientRect();ee({width:r,height:o})},{immediate:!0}),t.watch(m,i=>{var r,o;i==="text"?(r=R.value)==null||r.addEventListener("mousedown",re):(o=R.value)==null||o.removeEventListener("mousedown",re)});const Z=t.ref(!1),N=t.ref(""),R=t.ref(null);function me(i){if(m.value!=="draw"||!R.value)return;Z.value=!0;const{x:r,y:o}=F(i);N.value=`M ${r} ${o}`}function be(i){if(!Z.value||!R.value)return;const{x:r,y:o}=F(i);N.value+=` ${r} ${o}`}function l(i){const r=i.trim().split(/\s+/);if(r.length<4)return i;const o=r.slice(1).map(Number);if(o.length%2!==0)return i;const u=ve(o),v=[`M ${u[0]} ${u[1]}`];for(let T=2;T<u.length-2;T+=2){const B=u[T-2],p=u[T-1],M=u[T],$=u[T+1],g=(B+M)/2,c=(p+$)/2;v.push(`Q ${B} ${p} ${g} ${c}`)}const f=u[u.length-2],a=u[u.length-1];return v.push(`L ${f} ${a}`),v.join(" ")}function ve(i,r=1){const o=[...i];for(let u=2;u<i.length-2;u+=2){const v=i[u],f=i[u+1],a=i[u-2],T=i[u-1],B=i[u+2],p=i[u+3];o[u]=v+r*((a+B)/2-v),o[u+1]=f+r*((T+p)/2-f)}return o}function xe(i){const r=i.trim().split(/\s+/);let o="",u="",v=null,f=null;for(let a=0;a<r.length;a+=1){const T=r[a];if(isNaN(T)){if(u=T,u==="M"||u==="L")v=parseFloat(r[++a]),f=parseFloat(r[++a]),o+=`${u}${v} ${f}`;else if(u==="Q"){const B=parseFloat(r[++a]),p=parseFloat(r[++a]),M=parseFloat(r[++a]),$=parseFloat(r[++a]);B===v&&p===f?o+=`t${M-v} ${$-f}`:o+=`q${B-v} ${p-f} ${M-v} ${$-f}`,v=M,f=$}}else{const B=parseFloat(T),p=parseFloat(r[++a]);if(u==="L"){const M=B-v,$=p-f;M===0?o+=`v${$}`:$===0?o+=`h${M}`:o+=`l${M} ${$}`,v=B,f=p}else if(u==="Q"){const M=B,$=p,g=parseFloat(r[++a]),c=parseFloat(r[++a]);M===v&&$===f?o+=`t${g-v} ${c-f}`:o+=`q${M-v} ${$-f} ${g-v} ${c-f}`,v=g,f=c}}}return o}function ae(){Z.value&&(L.value.push({id:G(),strokeWidth:y.value,path:xe(l(N.value)),color:D.value}),V.value=[],N.value=""),Z.value=!1}function F(i){if(!R.value)return{x:0,y:0};const r=R.value.getBoundingClientRect();let o,u;return i.touches&&i.touches.length?(o=i.touches[0].clientX,u=i.touches[0].clientY):(o=i.clientX,u=i.clientY),{x:o-r.left,y:u-r.top}}function ke(){if(L.value.length>0){const i=L.value.pop();V.value.push(i)}}function Ce(){if(V.value.length>0){const i=V.value.pop();L.value.push(i)}}function Le(){L.value=[],V.value=[]}const de=t.ref(null);return(i,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[z.active?(t.openBlock(),t.createElementBlock("div",{key:0,"data-dom-to-png-ignore":"",class:t.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:z.active}),style:t.normalizeStyle({backgroundColor:z.backgroundColor})},[t.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:r[0]||(r[0]=o=>Be("close"))},[t.createVNode(ge.default,{name:"close",stroke:z.color},null,8,["stroke"])],4),t.createElementVNode("button",kt,[t.createVNode(xt.ColorPicker,{value:D.value,"onUpdate:value":r[1]||(r[1]=o=>D.value=o),backgroundColor:z.backgroundColor,buttonBorderColor:H.value},null,8,["value","backgroundColor","buttonBorderColor"])]),t.createElementVNode("button",{class:t.normalizeClass(["vue-ui-pen-and-paper-action",{"vue-ui-pen-and-paper-action-active":m.value==="text"}]),onClick:r[2]||(r[2]=o=>m.value=m.value==="text"?"draw":"text"),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`})},[t.createVNode(ge.default,{name:m.value==="draw"?"annotator":"text",stroke:z.color},null,8,["name","stroke"]),t.createElementVNode("div",{style:t.normalizeStyle({position:"absolute",bottom:"-20px",color:H.value,width:"100%",textAlign:"center",fontSize:"12px"})},t.toDisplayString(t.unref(d.dataLabel)({v:m.value==="draw"?y.value:P.value,s:"px",r:1})),5)],6),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length}),disabled:!L.value.length,style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`,marginTop:"20px"}),onClick:ke},[t.createVNode(ge.default,{name:"restart",stroke:z.color},null,8,["stroke"])],14,Ct),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!V.value.length}),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Ce},[t.createVNode(ge.default,{name:"restart",stroke:z.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),t.createElementVNode("button",{class:t.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length},"vue-ui-pen-and-paper-action"]),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Le},[t.createVNode(ge.default,{name:"trash",stroke:z.color},null,8,["stroke"])],6),m.value==="draw"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:0,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":r[3]||(r[3]=o=>y.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,y.value]]):t.createCommentVNode("",!0),m.value==="text"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:1,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:3,max:48,step:.1,"onUpdate:modelValue":r[4]||(r[4]=o=>P.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,P.value]]):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),(t.openBlock(),t.createElementBlock("svg",{"data-mode":m.value,ref_key:"svgElement",ref:R,xmlns:t.unref(d.XMLNS),viewBox:K.value,class:t.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!z.active}),onMousedown:me,onMousemove:be,onMouseup:ae,onMouseleave:ae,onTouchstart:t.withModifiers(me,["prevent"]),onTouchmove:t.withModifiers(be,["prevent"]),onTouchend:ae},[t.createElementVNode("g",{ref_key:"G",ref:w},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.value,o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o.id},[o.path&&o.path.replace("M","").split(" ").length===2?(t.openBlock(),t.createElementBlock("circle",{key:0,cx:o.path.replace("M","").split(" ")[0],cy:o.path.replace("M","").split(" ")[1],r:o.strokeWidth/2,fill:o.color},null,8,wt)):o.path?(t.openBlock(),t.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:o.path,stroke:o.color,"stroke-width":o.strokeWidth,fill:"none"},null,8,St)):o.type==="text"?(t.openBlock(),t.createElementBlock("text",{key:2,x:o.x,y:o.y,fill:o.color,"font-size":o.fontSize,"font-family":"sans-serif","dominant-baseline":"hanging",class:"vue-ui-pen-and-paper-text"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.lines,(u,v)=>(t.openBlock(),t.createElementBlock("tspan",{key:v,x:o.x,dy:v===0?"0":o.fontSize*1.2},t.toDisplayString(u.length?u:""),9,$t))),128))],8,zt)):t.createCommentVNode("",!0)],64))),128))],512),Z.value?(t.openBlock(),t.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:l(N.value),stroke:D.value,"stroke-width":y.value*1.1,fill:"none"},null,8,Tt)):t.createCommentVNode("",!0)],42,Lt))],64))}},Bt=We._export_sfc(Et,[["__scopeId","data-v-14478ba4"]]),Mt=["id"],Nt=["onClick"],Pt={key:2,class:"vue-data-ui-watermark"},It=["innerHTML"],At={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(z,{expose:Ee,emit:U}){const{vue_ui_xy_canvas:Be}=d.useConfig(),L=z,V=t.ref(d.createUid()),K=t.ref(null),D=t.ref(null),y=t.ref(null),m=t.ref(1),w=t.ref(1),q=t.ref(!1),h=t.ref(null),Y=t.ref(""),X=t.ref(null),E=t.ref([]),P=t.ref(1),W=t.ref(!0),G=t.ref(!0),ne=t.ref(null),re=t.ref(0),ue=t.ref(0),J=t.ref(!1),se=t.ref(null),ie=t.ref(null),ce=t.ref(null),H=t.ref(null),ee=t.ref(0),_=t.ref(0),Z=t.ref(0),N=t.ref(null),R=t.computed(()=>!!L.dataset&&L.dataset.length),me=U,be=t.useSlots();t.onMounted(()=>{be["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const l=t.computed({get:()=>ke(),set:e=>e}),{userOptionsVisible:ve,setUserOptionsVisibility:xe,keepUserOptionState:ae}=mt.useUserOptionState({config:l.value}),{svgRef:F}=bt.useChartAccessibility({config:l.value.style.chart.title});function ke(){const e=qe.useNestedProp({userConfig:L.config,defaultConfig:Be});let n={};return e.theme?n={...qe.useNestedProp({userConfig:d.themes.vue_ui_xy_canvas[e.theme]||L.config,defaultConfig:e}),customPalette:d.themePalettes[e.theme]||d.palette}:n=e,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.min")?n.style.chart.scale.min=L.config.style.chart.scale.min:n.style.chart.scale.min=null,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.max")?n.style.chart.scale.max=L.config.style.chart.scale.max:n.style.chart.scale.max=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.startIndex")?n.style.chart.zoom.startIndex=L.config.style.chart.zoom.startIndex:n.style.chart.zoom.startIndex=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.endIndex")?n.style.chart.zoom.endIndex=L.config.style.chart.zoom.endIndex:n.style.chart.zoom.endIndex=null,n}t.watch(()=>L.config,e=>{l.value=ke(),ve.value=!l.value.userOptions.showOnChartHover,Me(),ee.value+=1,_.value+=1,Z.value+=1,o.value.showTable=l.value.table.show,o.value.showDataLabels=l.value.style.chart.dataLabels.show,o.value.stacked=l.value.style.chart.stacked,o.value.showTooltip=l.value.style.chart.tooltip.show},{deep:!0}),t.watch(()=>L.dataset,()=>{Me(),ee.value+=1,_.value+=1,Z.value+=1},{deep:!0});const Ce=t.ref(l.value.style.chart.aspectRatio),{isPrinting:Le,isImaging:de,generatePdf:i,generateImage:r}=Ue.usePrinter({elementId:`xy_canvas_${V.value}`,fileName:l.value.style.chart.title.text||"vue-ui-xy-canvas",options:l.value.userOptions.print}),o=t.ref({showTable:l.value.table.show,showDataLabels:l.value.style.chart.dataLabels.show,stacked:l.value.style.chart.stacked,showTooltip:l.value.style.chart.tooltip.show});function u(e){J.value=e,ue.value+=1}const v=t.computed(()=>d.convertCustomPalette(l.value.customPalette)),f=t.computed(()=>$.value?Math.max(...$.value.filter((e,n)=>!E.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=t.computed(()=>{const e=m.value-m.value*(l.value.style.chart.paddingProportions.left+l.value.style.chart.paddingProportions.right);return{canvasWidth:m.value,canvasHeight:w.value,left:m.value*l.value.style.chart.paddingProportions.left,top:w.value*l.value.style.chart.paddingProportions.top,right:m.value-m.value*l.value.style.chart.paddingProportions.right,bottom:w.value-w.value*l.value.style.chart.paddingProportions.bottom,width:e,height:w.value-w.value*(l.value.style.chart.paddingProportions.top+l.value.style.chart.paddingProportions.bottom),slot:e/(c.value.end-c.value.start)}});function T(e,n){return e/n}function B({hasAutoScale:e,series:n,min:s,max:b,scale:C,yOffset:A,individualHeight:k,stackIndex:S=null}){return n.map((te,O)=>{const Q=C.min<0?Math.abs(C.min):0,le=T(te+Q,Q+C.max);let ye,pe;e&&(ye=C.min,pe=T(te-ye,C.max-ye));let j=0;return S===null?j=a.value.bottom-a.value.height*(e?pe:le):j=a.value.bottom-A-k*(e?pe:le),{x:a.value.left+a.value.slot*O+a.value.slot/2,y:j,value:te}})}const p=t.computed(()=>{const e=l.value.style.chart.scale.min!==null?l.value.style.chart.scale.min:Math.min(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),n=l.value.style.chart.scale.max!==null?l.value.style.chart.scale.max:Math.max(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),s=d.calculateNiceScale(e<0?e:0,n===e?e+1<0?0:e+1:n<0?0:n,l.value.style.chart.scale.ticks),b=s.min<0?Math.abs(s.min):0,C=a.value.bottom-a.value.height*(b/(s.max+b)),A=s.ticks.map(k=>({y:a.value.bottom-a.value.height*((k+b)/(s.max+b)),x:a.value.left-8,value:k}));return{absoluteMin:b,max:n,min:e,scale:s,yLabels:A,zero:C}}),M=t.computed(()=>g.value.map(e=>`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),d=require("./index-D6F-xMcR.cjs"),x=require("./useResponsive-DQmBAoBf.cjs"),vt=require("./Tooltip-CLjMKc28.cjs"),dt=require("./Legend-BDIC5aus.cjs"),ht=require("./Title-Cj4tUZSu.cjs"),ft=require("./Slicer-Cdgf9oDx.cjs"),Ue=require("./usePrinter-B9NkBzf5.cjs"),yt=require("./vue-ui-accordion-ChE9WO8Q.cjs"),pt=require("./DataTable-Bu_0tRZE.cjs"),gt=require("./vue-ui-skeleton-CK5DdXVo.cjs"),qe=require("./useNestedProp-CAbtwUJj.cjs"),mt=require("./useUserOptionState-BgepsfED.cjs"),bt=require("./useChartAccessibility-Cm7nkzTG.cjs"),ge=require("./BaseIcon-CvuQ41yl.cjs"),xt=require("./ColorPicker-NOWXYDyd.cjs"),We=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),kt={class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Ct=["disabled"],Lt=["data-mode","xmlns","viewBox"],wt=["cx","cy","r","fill"],St=["d","stroke","stroke-width"],zt=["x","y","fill","font-size"],$t=["x","dy"],Tt=["d","stroke","stroke-width"],Et={__name:"NonSvgPenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup(z,{emit:Ee}){const U=z,Be=Ee,L=t.ref([]),V=t.ref([]),K=t.ref("0 0 0 0"),D=t.ref(U.color),y=t.ref(1),m=t.ref("draw"),w=t.ref(null),q=t.ref(!1),h=t.ref(null),Y=t.ref({x:0,y:0}),X=t.ref([""]),E=t.ref({row:0,col:0}),P=t.ref(16);let W=1;function G(){return W++}function ne(i){var a;const r=R.value;if(!r)return{x:0,y:0};const o=r.createSVGPoint();let u=i.clientX,v=i.clientY;i.touches&&i.touches.length&&(u=i.touches[0].clientX,v=i.touches[0].clientY),o.x=u,o.y=v;const f=(a=r.getScreenCTM())==null?void 0:a.inverse();return f?o.matrixTransform(f):{x:0,y:0}}function re(i){if(!w.value||m.value!=="text"||q.value)return;const{x:r,y:o}=ne(i);Y.value={x:r,y:o},X.value=[""],E.value={row:0,col:0};const u=document.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("x",r),u.setAttribute("y",o),u.setAttribute("fill",D.value),u.setAttribute("font-size",P.value),u.setAttribute("font-family","sans-serif"),u.setAttribute("class","vue-data-ui-doodle"),u.setAttribute("dominant-baseline","hanging"),u.setAttribute("pointer-events","all");const v=document.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttribute("x",r),v.setAttribute("dy","0"),v.textContent="",u.appendChild(v),u.style.pointerEvents="none",u.style.userSelect="none",w.value.appendChild(u),h.value=u,q.value=!0,window.addEventListener("keydown",ue),window.addEventListener("mousedown",ie,!0),J(),se()}function ue(i){if(!q.value)return;let{row:r,col:o}=E.value,u=X.value.slice(),v=!1;if(i.key==="Enter"){const f=u[r],a=f.slice(0,o),T=f.slice(o);u.splice(r,1,a,T),r+=1,o=0,v=!0,i.preventDefault()}else if(i.key==="Backspace"){if(o>0)u[r]=u[r].slice(0,o-1)+u[r].slice(o),o-=1,v=!0;else if(r>0){const f=u[r-1].length;u[r-1]+=u[r],u.splice(r,1),r-=1,o=f,v=!0}i.preventDefault()}else if(i.key==="Delete")o<u[r].length?(u[r]=u[r].slice(0,o)+u[r].slice(o+1),v=!0):r<u.length-1&&(u[r]+=u[r+1],u.splice(r+1,1),v=!0),i.preventDefault();else if(i.key==="ArrowLeft")o>0?o-=1:r>0&&(r-=1,o=u[r].length),v=!0,i.preventDefault();else if(i.key==="ArrowRight")o<u[r].length?o+=1:r<u.length-1&&(r+=1,o=0),v=!0,i.preventDefault();else if(i.key==="ArrowUp")r>0&&(r-=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key==="ArrowDown")r<u.length-1&&(r+=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey)u[r]=u[r].slice(0,o)+i.key+u[r].slice(o),o+=1,v=!0,i.preventDefault();else if(i.key==="Escape"){ce(!0);return}else i.key==="Tab"&&i.preventDefault();v&&(X.value=u,E.value={row:r,col:o},J(),se())}function J(){const i=h.value,{x:r,y:o}=Y.value;for(;i.firstChild;)i.removeChild(i.firstChild);X.value.forEach((u,v)=>{const f=document.createElementNS("http://www.w3.org/2000/svg","tspan");f.setAttribute("x",r),f.setAttribute("dy",v===0?"0":`${P.value*1.2}`),f.textContent=u.length?u:"",i.appendChild(f)})}function se(){const i=w.value.querySelector(".vue-data-ui-svg-caret");i&&w.value.removeChild(i);const r=h.value;if(!r)return;const{x:o,y:u}=Y.value,{row:v,col:f}=E.value,a=P.value,T=r.childNodes[v];if(!T)return;let B=T.textContent.slice(0,f);B.endsWith(" ")&&(B+=" ");const p=document.createElementNS("http://www.w3.org/2000/svg","text");p.setAttribute("x",o),p.setAttribute("y",u),p.setAttribute("font-size",a),p.setAttribute("font-family","sans-serif"),p.textContent=B||"",w.value.appendChild(p);const M=p.getBBox();w.value.removeChild(p);let $=u+v*a*1.2,g=o+M.width;const c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("x",g),c.setAttribute("y",$),c.setAttribute("width",1),c.setAttribute("height",a),c.setAttribute("fill",D.value),c.setAttribute("class","vue-data-ui-svg-caret"),w.value.appendChild(c)}function ie(i){if(h.value&&!h.value.contains(i.target)){const r=h.value.children;r.length===1&&(r[0].textContent===""||r[0].textContent==="")&&h.value.remove(),ce(!1)}}function ce(i=!1){var u;window.removeEventListener("keydown",ue),window.removeEventListener("mousedown",ie,!0);const r=(u=w.value)==null?void 0:u.querySelector(".vue-data-ui-svg-caret");r&&w.value.removeChild(r);const o=X.value.every(v=>!v||v==="");i||o||L.value.push({id:G(),type:"text",x:Y.value.x,y:Y.value.y,color:D.value,fontSize:P.value,lines:X.value.map(v=>v)}),h.value&&w.value&&w.value.contains(h.value)&&w.value.removeChild(h.value),q.value=!1,h.value=null,X.value=[""],E.value={row:0,col:0}}const H=t.computed(()=>d.lightenHexColor(U.color,.6));function ee({width:i,height:r}){K.value=`0 0 ${i} ${r}`}const _=t.ref(null);t.onMounted(()=>{t.nextTick(()=>{if(U.parent){_.value=new ResizeObserver(o=>{for(const u of o){const{width:v,height:f}=u.contentRect;ee({width:v,height:f})}}),_.value.observe(U.parent);const{width:i,height:r}=U.parent.getBoundingClientRect();ee({width:i,height:r})}}),w.value=R.value.querySelector("g")}),t.onBeforeUnmount(()=>{_.value&&_.value.disconnect()}),t.watch(()=>U.parent,i=>{if(!i)return;const{width:r,height:o}=U.parent.getBoundingClientRect();ee({width:r,height:o})},{immediate:!0}),t.watch(m,i=>{var r,o;i==="text"?(r=R.value)==null||r.addEventListener("mousedown",re):(o=R.value)==null||o.removeEventListener("mousedown",re)});const Z=t.ref(!1),N=t.ref(""),R=t.ref(null);function me(i){if(m.value!=="draw"||!R.value)return;Z.value=!0;const{x:r,y:o}=F(i);N.value=`M ${r} ${o}`}function be(i){if(!Z.value||!R.value)return;const{x:r,y:o}=F(i);N.value+=` ${r} ${o}`}function l(i){const r=i.trim().split(/\s+/);if(r.length<4)return i;const o=r.slice(1).map(Number);if(o.length%2!==0)return i;const u=ve(o),v=[`M ${u[0]} ${u[1]}`];for(let T=2;T<u.length-2;T+=2){const B=u[T-2],p=u[T-1],M=u[T],$=u[T+1],g=(B+M)/2,c=(p+$)/2;v.push(`Q ${B} ${p} ${g} ${c}`)}const f=u[u.length-2],a=u[u.length-1];return v.push(`L ${f} ${a}`),v.join(" ")}function ve(i,r=1){const o=[...i];for(let u=2;u<i.length-2;u+=2){const v=i[u],f=i[u+1],a=i[u-2],T=i[u-1],B=i[u+2],p=i[u+3];o[u]=v+r*((a+B)/2-v),o[u+1]=f+r*((T+p)/2-f)}return o}function xe(i){const r=i.trim().split(/\s+/);let o="",u="",v=null,f=null;for(let a=0;a<r.length;a+=1){const T=r[a];if(isNaN(T)){if(u=T,u==="M"||u==="L")v=parseFloat(r[++a]),f=parseFloat(r[++a]),o+=`${u}${v} ${f}`;else if(u==="Q"){const B=parseFloat(r[++a]),p=parseFloat(r[++a]),M=parseFloat(r[++a]),$=parseFloat(r[++a]);B===v&&p===f?o+=`t${M-v} ${$-f}`:o+=`q${B-v} ${p-f} ${M-v} ${$-f}`,v=M,f=$}}else{const B=parseFloat(T),p=parseFloat(r[++a]);if(u==="L"){const M=B-v,$=p-f;M===0?o+=`v${$}`:$===0?o+=`h${M}`:o+=`l${M} ${$}`,v=B,f=p}else if(u==="Q"){const M=B,$=p,g=parseFloat(r[++a]),c=parseFloat(r[++a]);M===v&&$===f?o+=`t${g-v} ${c-f}`:o+=`q${M-v} ${$-f} ${g-v} ${c-f}`,v=g,f=c}}}return o}function ae(){Z.value&&(L.value.push({id:G(),strokeWidth:y.value,path:xe(l(N.value)),color:D.value}),V.value=[],N.value=""),Z.value=!1}function F(i){if(!R.value)return{x:0,y:0};const r=R.value.getBoundingClientRect();let o,u;return i.touches&&i.touches.length?(o=i.touches[0].clientX,u=i.touches[0].clientY):(o=i.clientX,u=i.clientY),{x:o-r.left,y:u-r.top}}function ke(){if(L.value.length>0){const i=L.value.pop();V.value.push(i)}}function Ce(){if(V.value.length>0){const i=V.value.pop();L.value.push(i)}}function Le(){L.value=[],V.value=[]}const de=t.ref(null);return(i,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[z.active?(t.openBlock(),t.createElementBlock("div",{key:0,"data-dom-to-png-ignore":"",class:t.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:z.active}),style:t.normalizeStyle({backgroundColor:z.backgroundColor})},[t.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:r[0]||(r[0]=o=>Be("close"))},[t.createVNode(ge.default,{name:"close",stroke:z.color},null,8,["stroke"])],4),t.createElementVNode("button",kt,[t.createVNode(xt.ColorPicker,{value:D.value,"onUpdate:value":r[1]||(r[1]=o=>D.value=o),backgroundColor:z.backgroundColor,buttonBorderColor:H.value},null,8,["value","backgroundColor","buttonBorderColor"])]),t.createElementVNode("button",{class:t.normalizeClass(["vue-ui-pen-and-paper-action",{"vue-ui-pen-and-paper-action-active":m.value==="text"}]),onClick:r[2]||(r[2]=o=>m.value=m.value==="text"?"draw":"text"),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`})},[t.createVNode(ge.default,{name:m.value==="draw"?"annotator":"text",stroke:z.color},null,8,["name","stroke"]),t.createElementVNode("div",{style:t.normalizeStyle({position:"absolute",bottom:"-20px",color:H.value,width:"100%",textAlign:"center",fontSize:"12px"})},t.toDisplayString(t.unref(d.dataLabel)({v:m.value==="draw"?y.value:P.value,s:"px",r:1})),5)],6),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length}),disabled:!L.value.length,style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`,marginTop:"20px"}),onClick:ke},[t.createVNode(ge.default,{name:"restart",stroke:z.color},null,8,["stroke"])],14,Ct),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!V.value.length}),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Ce},[t.createVNode(ge.default,{name:"restart",stroke:z.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),t.createElementVNode("button",{class:t.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length},"vue-ui-pen-and-paper-action"]),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Le},[t.createVNode(ge.default,{name:"trash",stroke:z.color},null,8,["stroke"])],6),m.value==="draw"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:0,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":r[3]||(r[3]=o=>y.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,y.value]]):t.createCommentVNode("",!0),m.value==="text"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:1,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:3,max:48,step:.1,"onUpdate:modelValue":r[4]||(r[4]=o=>P.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,P.value]]):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),(t.openBlock(),t.createElementBlock("svg",{"data-mode":m.value,ref_key:"svgElement",ref:R,xmlns:t.unref(d.XMLNS),viewBox:K.value,class:t.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!z.active}),onMousedown:me,onMousemove:be,onMouseup:ae,onMouseleave:ae,onTouchstart:t.withModifiers(me,["prevent"]),onTouchmove:t.withModifiers(be,["prevent"]),onTouchend:ae},[t.createElementVNode("g",{ref_key:"G",ref:w},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.value,o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o.id},[o.path&&o.path.replace("M","").split(" ").length===2?(t.openBlock(),t.createElementBlock("circle",{key:0,cx:o.path.replace("M","").split(" ")[0],cy:o.path.replace("M","").split(" ")[1],r:o.strokeWidth/2,fill:o.color},null,8,wt)):o.path?(t.openBlock(),t.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:o.path,stroke:o.color,"stroke-width":o.strokeWidth,fill:"none"},null,8,St)):o.type==="text"?(t.openBlock(),t.createElementBlock("text",{key:2,x:o.x,y:o.y,fill:o.color,"font-size":o.fontSize,"font-family":"sans-serif","dominant-baseline":"hanging",class:"vue-ui-pen-and-paper-text"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.lines,(u,v)=>(t.openBlock(),t.createElementBlock("tspan",{key:v,x:o.x,dy:v===0?"0":o.fontSize*1.2},t.toDisplayString(u.length?u:""),9,$t))),128))],8,zt)):t.createCommentVNode("",!0)],64))),128))],512),Z.value?(t.openBlock(),t.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:l(N.value),stroke:D.value,"stroke-width":y.value*1.1,fill:"none"},null,8,Tt)):t.createCommentVNode("",!0)],42,Lt))],64))}},Bt=We._export_sfc(Et,[["__scopeId","data-v-14478ba4"]]),Mt=["id"],Nt=["onClick"],Pt={key:2,class:"vue-data-ui-watermark"},It=["innerHTML"],At={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(z,{expose:Ee,emit:U}){const{vue_ui_xy_canvas:Be}=d.useConfig(),L=z,V=t.ref(d.createUid()),K=t.ref(null),D=t.ref(null),y=t.ref(null),m=t.ref(1),w=t.ref(1),q=t.ref(!1),h=t.ref(null),Y=t.ref(""),X=t.ref(null),E=t.ref([]),P=t.ref(1),W=t.ref(!0),G=t.ref(!0),ne=t.ref(null),re=t.ref(0),ue=t.ref(0),J=t.ref(!1),se=t.ref(null),ie=t.ref(null),ce=t.ref(null),H=t.ref(null),ee=t.ref(0),_=t.ref(0),Z=t.ref(0),N=t.ref(null),R=t.computed(()=>!!L.dataset&&L.dataset.length),me=U,be=t.useSlots();t.onMounted(()=>{be["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const l=t.computed({get:()=>ke(),set:e=>e}),{userOptionsVisible:ve,setUserOptionsVisibility:xe,keepUserOptionState:ae}=mt.useUserOptionState({config:l.value}),{svgRef:F}=bt.useChartAccessibility({config:l.value.style.chart.title});function ke(){const e=qe.useNestedProp({userConfig:L.config,defaultConfig:Be});let n={};return e.theme?n={...qe.useNestedProp({userConfig:d.themes.vue_ui_xy_canvas[e.theme]||L.config,defaultConfig:e}),customPalette:d.themePalettes[e.theme]||d.palette}:n=e,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.min")?n.style.chart.scale.min=L.config.style.chart.scale.min:n.style.chart.scale.min=null,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.max")?n.style.chart.scale.max=L.config.style.chart.scale.max:n.style.chart.scale.max=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.startIndex")?n.style.chart.zoom.startIndex=L.config.style.chart.zoom.startIndex:n.style.chart.zoom.startIndex=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.endIndex")?n.style.chart.zoom.endIndex=L.config.style.chart.zoom.endIndex:n.style.chart.zoom.endIndex=null,n}t.watch(()=>L.config,e=>{l.value=ke(),ve.value=!l.value.userOptions.showOnChartHover,Me(),ee.value+=1,_.value+=1,Z.value+=1,o.value.showTable=l.value.table.show,o.value.showDataLabels=l.value.style.chart.dataLabels.show,o.value.stacked=l.value.style.chart.stacked,o.value.showTooltip=l.value.style.chart.tooltip.show},{deep:!0}),t.watch(()=>L.dataset,()=>{Me(),ee.value+=1,_.value+=1,Z.value+=1},{deep:!0});const Ce=t.ref(l.value.style.chart.aspectRatio),{isPrinting:Le,isImaging:de,generatePdf:i,generateImage:r}=Ue.usePrinter({elementId:`xy_canvas_${V.value}`,fileName:l.value.style.chart.title.text||"vue-ui-xy-canvas",options:l.value.userOptions.print}),o=t.ref({showTable:l.value.table.show,showDataLabels:l.value.style.chart.dataLabels.show,stacked:l.value.style.chart.stacked,showTooltip:l.value.style.chart.tooltip.show});function u(e){J.value=e,ue.value+=1}const v=t.computed(()=>d.convertCustomPalette(l.value.customPalette)),f=t.computed(()=>$.value?Math.max(...$.value.filter((e,n)=>!E.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=t.computed(()=>{const e=m.value-m.value*(l.value.style.chart.paddingProportions.left+l.value.style.chart.paddingProportions.right);return{canvasWidth:m.value,canvasHeight:w.value,left:m.value*l.value.style.chart.paddingProportions.left,top:w.value*l.value.style.chart.paddingProportions.top,right:m.value-m.value*l.value.style.chart.paddingProportions.right,bottom:w.value-w.value*l.value.style.chart.paddingProportions.bottom,width:e,height:w.value-w.value*(l.value.style.chart.paddingProportions.top+l.value.style.chart.paddingProportions.bottom),slot:e/(c.value.end-c.value.start)}});function T(e,n){return e/n}function B({hasAutoScale:e,series:n,min:s,max:b,scale:C,yOffset:A,individualHeight:k,stackIndex:S=null}){return n.map((te,O)=>{const Q=C.min<0?Math.abs(C.min):0,le=T(te+Q,Q+C.max);let ye,pe;e&&(ye=C.min,pe=T(te-ye,C.max-ye));let j=0;return S===null?j=a.value.bottom-a.value.height*(e?pe:le):j=a.value.bottom-A-k*(e?pe:le),{x:a.value.left+a.value.slot*O+a.value.slot/2,y:j,value:te}})}const p=t.computed(()=>{const e=l.value.style.chart.scale.min!==null?l.value.style.chart.scale.min:Math.min(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),n=l.value.style.chart.scale.max!==null?l.value.style.chart.scale.max:Math.max(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),s=d.calculateNiceScale(e<0?e:0,n===e?e+1<0?0:e+1:n<0?0:n,l.value.style.chart.scale.ticks),b=s.min<0?Math.abs(s.min):0,C=a.value.bottom-a.value.height*(b/(s.max+b)),A=s.ticks.map(k=>({y:a.value.bottom-a.value.height*((k+b)/(s.max+b)),x:a.value.left-8,value:k}));return{absoluteMin:b,max:n,min:e,scale:s,yLabels:A,zero:C}}),M=t.computed(()=>g.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}"/>
|
package/package.json
CHANGED
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
import { useCssVars as ae, computed as V, defineAsyncComponent as o, ref as r, watch as ue, createElementBlock as y, openBlock as g, createCommentVNode as Y, createElementVNode as b, normalizeStyle as S, createStaticVNode as ie, Fragment as N, renderList as ne, normalizeClass as le, createBlock as re, renderSlot as se, resolveDynamicComponent as de, mergeProps as ce } from "vue";
|
|
2
|
-
import he from "./pdf-U6PPEV5v.js";
|
|
3
|
-
import { u as ve } from "./useNestedProp-R77oENB4.js";
|
|
4
|
-
import { u as pe, c as fe } from "./index-gaj0gmhW.js";
|
|
5
|
-
import { _ as me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const ge = {
|
|
7
|
-
key: 0,
|
|
8
|
-
"data-dom-to-png-ignore": "",
|
|
9
|
-
style: { width: "100%", display: "flex", "justify-content": "end" }
|
|
10
|
-
}, be = ["disabled"], Ue = ["stroke"], Ve = { key: 1 }, ye = ["id"], we = ["onMousedown", "onTouchstart"], ke = ["onMousedown", "onTouchstart"], Te = ["onMousedown", "onTouchstart"], Me = ["onMousedown", "onTouchstart"], Ce = ["onMousedown", "onTouchstart"], z = 1, _e = {
|
|
11
|
-
__name: "vue-ui-dashboard",
|
|
12
|
-
props: {
|
|
13
|
-
dataset: Array,
|
|
14
|
-
config: Object
|
|
15
|
-
},
|
|
16
|
-
emits: ["change"],
|
|
17
|
-
setup(W, { expose: R, emit: B }) {
|
|
18
|
-
ae((e) => ({
|
|
19
|
-
"3d03b7eb": q.value,
|
|
20
|
-
"5286e662": J.value
|
|
21
|
-
}));
|
|
22
|
-
const E = {
|
|
23
|
-
VueDataUi: o(() => import("./vue-data-ui-7sxceCOs.js")),
|
|
24
|
-
VueUi3dBar: o(() => import("./vue-ui-3d-bar-DYgZ1gpv.js")),
|
|
25
|
-
VueUiAccordion: o(() => import("./vue-ui-accordion-DiPdvaEC.js")),
|
|
26
|
-
VueUiAgePyramid: o(() => import("./vue-ui-age-pyramid-VH8hdgnJ.js")),
|
|
27
|
-
VueUiAnnotator: o(() => import("./vue-ui-annotator-CH5MDZDG.js")),
|
|
28
|
-
VueUiCandlestick: o(() => import("./vue-ui-candlestick-CxP2KPB8.js")),
|
|
29
|
-
VueUiChestnut: o(() => import("./vue-ui-chestnut-p9hkQsyK.js")),
|
|
30
|
-
VueUiDigits: o(() => import("./vue-ui-digits-JrJAbiv1.js")),
|
|
31
|
-
VueUiDonut: o(() => import("./vue-ui-donut-l56OERlb.js")),
|
|
32
|
-
VueUiDonutEvolution: o(() => import("./vue-ui-donut-evolution-BeFnRUkD.js")),
|
|
33
|
-
VueUiDumbbell: o(() => import("./vue-ui-dumbbell-6i03Kc-b.js")),
|
|
34
|
-
VueUiFlow: o(() => import("./vue-ui-flow-CbufmJJA.js")),
|
|
35
|
-
VueUiGalaxy: o(() => import("./vue-ui-galaxy-D53mRATC.js")),
|
|
36
|
-
VueUiGauge: o(() => import("./vue-ui-gauge-CGYibwq2.js")),
|
|
37
|
-
VueUiHeatmap: o(() => import("./vue-ui-heatmap-dP-JR5__.js")),
|
|
38
|
-
VueUiKpi: o(() => import("./vue-ui-kpi-DRvyo41m.js")),
|
|
39
|
-
VueUiMiniLoader: o(() => import("./vue-ui-mini-loader-DG07RzCx.js")),
|
|
40
|
-
VueUiMolecule: o(() => import("./vue-ui-molecule-Tfp48uxj.js")),
|
|
41
|
-
VueUiMoodRadar: o(() => import("./vue-ui-mood-radar-Bk9g5Nb7.js")),
|
|
42
|
-
VueUiNestedDonuts: o(() => import("./vue-ui-nested-donuts-C4bZMsu7.js")),
|
|
43
|
-
VueUiOnion: o(() => import("./vue-ui-onion-B4sfUuJR.js")),
|
|
44
|
-
VueUiParallelCoordinatePlot: o(() => import("./vue-ui-parallel-coordinate-plot-PoPTvKXt.js")),
|
|
45
|
-
VueUiQuadrant: o(() => import("./vue-ui-quadrant-DyWGltEe.js")),
|
|
46
|
-
VueUiQuickChart: o(() => import("./vue-ui-quick-chart-DpFle9Th.js")),
|
|
47
|
-
VueUiRadar: o(() => import("./vue-ui-radar-uGd1724l.js")),
|
|
48
|
-
VueUiRating: o(() => import("./vue-ui-rating-zlL_fohp.js")),
|
|
49
|
-
VueUiRelationCircle: o(() => import("./vue-ui-relation-circle-BSJWSSj3.js")),
|
|
50
|
-
VueUiRings: o(() => import("./vue-ui-rings-DdxMJYrC.js")),
|
|
51
|
-
VueUiScatter: o(() => import("./vue-ui-scatter-BMr3eo6N.js")),
|
|
52
|
-
VueUiSkeleton: o(() => import("./vue-ui-skeleton-JA0W8tXn.js")),
|
|
53
|
-
VueUiSmiley: o(() => import("./vue-ui-smiley-CIw8667G.js")),
|
|
54
|
-
VueUiSparkHistogram: o(() => import("./vue-ui-sparkhistogram-jt13-xyA.js")),
|
|
55
|
-
VueUiSparkStackbar: o(() => import("./vue-ui-sparkstackbar-D20-H_RH.js")),
|
|
56
|
-
VueUiSparkTrend: o(() => import("./vue-ui-spark-trend-C1DXyadL.js")),
|
|
57
|
-
VueUiSparkbar: o(() => import("./vue-ui-sparkbar-BmhE-99J.js")),
|
|
58
|
-
VueUiSparkgauge: o(() => import("./vue-ui-sparkgauge-CYJpGB9W.js")),
|
|
59
|
-
VueUiSparkline: o(() => import("./vue-ui-sparkline-EaNvjpb9.js")),
|
|
60
|
-
VueUiStripPlot: o(() => import("./vue-ui-strip-plot-C0JJwLZs.js")),
|
|
61
|
-
VueUiTable: o(() => import("./vue-ui-table-Dv15sJ0a.js")),
|
|
62
|
-
VueUiTableHeatmap: o(() => import("./vue-ui-table-heatmap-2yiRD9Ye.js")),
|
|
63
|
-
VueUiTableSparkline: o(() => import("./vue-ui-table-sparkline-DLmFiLHF.js")),
|
|
64
|
-
VueUiThermometer: o(() => import("./vue-ui-thermometer-DLCjJe6v.js")),
|
|
65
|
-
VueUiTimer: o(() => import("./vue-ui-timer-C7-qvY5L.js")),
|
|
66
|
-
VueUiTiremarks: o(() => import("./vue-ui-tiremarks-BxAQR-XE.js")),
|
|
67
|
-
VueUiTreemap: o(() => import("./vue-ui-treemap-DQD2Xuuh.js")),
|
|
68
|
-
VueUiVerticalBar: o(() => import("./vue-ui-vertical-bar-BaIRmMNm.js")),
|
|
69
|
-
VueUiWaffle: o(() => import("./vue-ui-waffle-DkvyTGgQ.js")),
|
|
70
|
-
VueUiWheel: o(() => import("./vue-ui-wheel-YF9GWFaZ.js")),
|
|
71
|
-
VueUiWordCloud: o(() => import("./vue-ui-word-cloud-_D3SXGDc.js")),
|
|
72
|
-
VueUiXy: o(() => import("./vue-ui-xy-g8d2AKdu.js")),
|
|
73
|
-
VueUiXyCanvas: o(() => import("./vue-ui-xy-canvas-CQaxl6Cr.js")),
|
|
74
|
-
VueUiCarouselTable: o(() => import("./vue-ui-carousel-table-DOnU2A0U.js")),
|
|
75
|
-
VueUiGizmo: o(() => import("./vue-ui-gizmo-DSackCMx.js")),
|
|
76
|
-
VueUiStackbar: o(() => import("./vue-ui-stackbar-IfVjvxly.js")),
|
|
77
|
-
VueUiBullet: o(() => import("./vue-ui-bullet-DVd_q5Un.js")),
|
|
78
|
-
VueUiFunnel: o(() => import("./vue-ui-funnel-hwI_EP3E.js")),
|
|
79
|
-
VueUiHistoryPlot: o(() => import("./vue-ui-history-plot-tmASFo_J.js")),
|
|
80
|
-
VueUiCirclePack: o(() => import("./vue-ui-circle-pack---RzxPp6.js")),
|
|
81
|
-
VueUiWorld: o(() => import("./vue-ui-world-DZED00QY.js"))
|
|
82
|
-
}, { vue_ui_dashboard: L } = pe(), $ = W, s = V(() => ve({
|
|
83
|
-
userConfig: $.config,
|
|
84
|
-
defaultConfig: L
|
|
85
|
-
})), x = r(fe()), h = r(s.value.locked);
|
|
86
|
-
function F() {
|
|
87
|
-
h.value = !h.value;
|
|
88
|
-
}
|
|
89
|
-
const l = r($.dataset.map((e, t) => ({
|
|
90
|
-
...e,
|
|
91
|
-
index: t
|
|
92
|
-
}))), D = V(
|
|
93
|
-
() => l.value.map((e) => ({
|
|
94
|
-
...e,
|
|
95
|
-
resolvedComponent: typeof e.component == "string" ? E[e.component] : e.component
|
|
96
|
-
}))
|
|
97
|
-
), v = r(null), n = r(null), p = r({ x: 0, y: 0 }), f = r({ x: 0, y: 0 }), d = r(null), c = r(!1), m = r(null), T = r(!1), w = r(!1);
|
|
98
|
-
function P(e) {
|
|
99
|
-
const t = e.target;
|
|
100
|
-
(t.tagName === "INPUT" && t.type === "range" || t.classList.contains("range-handle")) && (w.value = !0);
|
|
101
|
-
}
|
|
102
|
-
function X(e) {
|
|
103
|
-
const t = e.target;
|
|
104
|
-
t.tagName === "INPUT" && t.type === "range" && (w.value = !1);
|
|
105
|
-
}
|
|
106
|
-
function H() {
|
|
107
|
-
T.value = !0, he({
|
|
108
|
-
domElement: document.getElementById(`vue-ui-dashboard_${x.value}`),
|
|
109
|
-
fileName: "vue-ui-dashboard"
|
|
110
|
-
}).finally(() => {
|
|
111
|
-
T.value = !1;
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
function A(e) {
|
|
115
|
-
if (!h.value && (c.value = !0, m.value = e, n.value === null)) {
|
|
116
|
-
v.value = e, p.value = { x: event.clientX, y: event.clientY };
|
|
117
|
-
const t = l.value[e], u = 100 - t.width, a = 100 - t.height;
|
|
118
|
-
t.left < 0 && (t.left = 0), t.top < 0 && (t.top = 0), t.left > u && (t.left = u), t.top > a && (t.top = a), t.left < 0 && (t.left = 0), t.top < 0 && (t.top = 0), t.left + t.width > 100 && (t.left = 100 - t.width), t.top + t.height > 100 && (t.top = 100 - t.height);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
function M(e, t) {
|
|
122
|
-
c.value = !0, m.value = e, n.value = { index: e, direction: t };
|
|
123
|
-
const u = l.value[e];
|
|
124
|
-
f.value = { x: event.clientX, y: event.clientY, initialWidth: u.width, initialHeight: u.height };
|
|
125
|
-
}
|
|
126
|
-
function I(e, t, u) {
|
|
127
|
-
if (n.value.direction.includes("top")) {
|
|
128
|
-
const a = e.height - u / d.value.offsetHeight * 100;
|
|
129
|
-
a >= z && (e.top += u / d.value.offsetHeight * 100, e.height = a);
|
|
130
|
-
}
|
|
131
|
-
if (n.value.direction.includes("bottom")) {
|
|
132
|
-
const a = e.height + u / d.value.offsetHeight * 100;
|
|
133
|
-
a >= z && (e.height = a);
|
|
134
|
-
}
|
|
135
|
-
if (n.value.direction.includes("left")) {
|
|
136
|
-
const a = e.width - t / d.value.offsetWidth * 100;
|
|
137
|
-
a >= z && (e.left += t / d.value.offsetWidth * 100, e.width = a);
|
|
138
|
-
}
|
|
139
|
-
if (n.value.direction.includes("right")) {
|
|
140
|
-
const a = e.width + t / d.value.offsetWidth * 100;
|
|
141
|
-
a >= z && (e.width = a);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
function G(e) {
|
|
145
|
-
if (!(h.value || w.value)) {
|
|
146
|
-
if (c.value = !0, v.value !== null) {
|
|
147
|
-
const t = l.value[v.value], u = e.clientX - p.value.x, a = e.clientY - p.value.y, i = t.left + u / d.value.offsetWidth * 100, U = t.top + a / d.value.offsetHeight * 100;
|
|
148
|
-
i >= 0 && U >= 0 && i + t.width <= 100 && U + t.height <= 100 && (t.left = i, t.top = U), p.value = { x: e.clientX, y: e.clientY };
|
|
149
|
-
}
|
|
150
|
-
if (n.value !== null) {
|
|
151
|
-
const t = l.value[n.value.index], u = e.clientX - f.value.x, a = e.clientY - f.value.y;
|
|
152
|
-
I(t, u, a), f.value = { x: e.clientX, y: e.clientY };
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
const O = B;
|
|
157
|
-
ue(
|
|
158
|
-
l,
|
|
159
|
-
(e) => {
|
|
160
|
-
e && !c.value && O("change", l.value);
|
|
161
|
-
},
|
|
162
|
-
{ deep: !0 }
|
|
163
|
-
);
|
|
164
|
-
function j() {
|
|
165
|
-
v.value = null, n.value = null, c.value = !1, m.value = null, l.value.forEach((e) => {
|
|
166
|
-
e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
function Q(e) {
|
|
170
|
-
h.value || w.value || (c.value = !0, m.value = e, n.value === null && (v.value = e, p.value = { x: event.touches[0].clientX, y: event.touches[0].clientY }));
|
|
171
|
-
}
|
|
172
|
-
function C(e, t, u) {
|
|
173
|
-
if (c.value = !0, m.value = e, n.value === null) {
|
|
174
|
-
n.value = { index: e, direction: t };
|
|
175
|
-
const a = l.value[e];
|
|
176
|
-
f.value = { x: u.touches[0].clientX, y: u.touches[0].clientY, initialWidth: a.width, initialHeight: a.height };
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
function _(e) {
|
|
180
|
-
if (c.value = !0, e.preventDefault(), n.value !== null) {
|
|
181
|
-
const t = l.value[n.value.index], u = e.touches[0].clientX - f.value.x, a = e.touches[0].clientY - f.value.y;
|
|
182
|
-
I(t, u, a), f.value = { x: e.touches[0].clientX, y: e.touches[0].clientY };
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
function K(e) {
|
|
186
|
-
if (!(h.value || w.value) && (c.value = !0, e.preventDefault(), v.value !== null)) {
|
|
187
|
-
const t = l.value[v.value], u = e.touches[0].clientX - p.value.x, a = e.touches[0].clientY - p.value.y, i = t.left + u / d.value.offsetWidth * 100, U = t.top + a / d.value.offsetHeight * 100;
|
|
188
|
-
i >= 0 && U >= 0 && i + t.width <= 100 && U + t.height <= 100 && (t.left = i, t.top = U), p.value = { x: e.touches[0].clientX, y: e.touches[0].clientY };
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
function k() {
|
|
192
|
-
c.value = !1, m.value = null, v.value = null, n.value = null, l.value.forEach((e) => {
|
|
193
|
-
e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
const q = V(() => s.value.style.item.borderColor), J = V(() => s.value.style.resizeHandles.backgroundColor), Z = V(() => s.value.style.board.aspectRatio), ee = V(() => s.value.style.board.backgroundColor), te = V(() => s.value.style.board.border);
|
|
197
|
-
function oe() {
|
|
198
|
-
return l.value;
|
|
199
|
-
}
|
|
200
|
-
return R({
|
|
201
|
-
generatePdf: H,
|
|
202
|
-
getItemsPositions: oe,
|
|
203
|
-
toggleLock: F
|
|
204
|
-
}), (e, t) => (g(), y("div", {
|
|
205
|
-
onMousedown: P,
|
|
206
|
-
onMouseup: X,
|
|
207
|
-
onTouchstart: P,
|
|
208
|
-
onTouchend: X
|
|
209
|
-
}, [
|
|
210
|
-
s.value.allowPrint ? (g(), y("div", ge, [
|
|
211
|
-
b("button", {
|
|
212
|
-
class: "vue-ui-dashboard-button",
|
|
213
|
-
onClick: H,
|
|
214
|
-
disabled: T.value,
|
|
215
|
-
style: S([{ "margin-top": "12px" }, `color:${s.value.style.board.color}`])
|
|
216
|
-
}, [
|
|
217
|
-
T.value ? (g(), y("svg", {
|
|
218
|
-
key: 0,
|
|
219
|
-
class: "vue-ui-dashboard-print-icon",
|
|
220
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
221
|
-
width: "20",
|
|
222
|
-
height: "20",
|
|
223
|
-
viewBox: "0 0 24 24",
|
|
224
|
-
"stroke-width": "1.5",
|
|
225
|
-
stroke: s.value.style.board.color,
|
|
226
|
-
fill: "none",
|
|
227
|
-
"stroke-linecap": "round",
|
|
228
|
-
"stroke-linejoin": "round"
|
|
229
|
-
}, t[4] || (t[4] = [
|
|
230
|
-
ie('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-dc9ae697></path><path d="M18 16v.01" data-v-dc9ae697></path><path d="M6 16v.01" data-v-dc9ae697></path><path d="M12 5v.01" data-v-dc9ae697></path><path d="M12 12v.01" data-v-dc9ae697></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-dc9ae697></path>', 6)
|
|
231
|
-
]), 8, Ue)) : (g(), y("span", Ve, "PDF"))
|
|
232
|
-
], 12, be)
|
|
233
|
-
])) : Y("", !0),
|
|
234
|
-
b("div", {
|
|
235
|
-
class: "vue-ui-dashboard-container",
|
|
236
|
-
ref_key: "dashboardContainer",
|
|
237
|
-
ref: d,
|
|
238
|
-
id: `vue-ui-dashboard_${x.value}`,
|
|
239
|
-
style: S(`border:${te.value}; background:${ee.value}; aspect-ratio:${Z.value}`)
|
|
240
|
-
}, [
|
|
241
|
-
b("div", {
|
|
242
|
-
class: "vue-ui-dashboard-grid-container",
|
|
243
|
-
ref: "container",
|
|
244
|
-
onMousemove: G,
|
|
245
|
-
onMouseup: j,
|
|
246
|
-
onTouchmove: K,
|
|
247
|
-
onTouchend: k,
|
|
248
|
-
style: S(`background:${s.value.style.board.backgroundColor}`)
|
|
249
|
-
}, [
|
|
250
|
-
t[5] || (t[5] = b("div", { class: "vue-ui-dashboard-grid" }, null, -1)),
|
|
251
|
-
(g(!0), y(N, null, ne(D.value, (u, a) => (g(), y("div", {
|
|
252
|
-
key: u.id,
|
|
253
|
-
class: le({ "vue-ui-dashboard-grid-item": !0, "vue-ui-dashboard-grid-item--locked": h.value }),
|
|
254
|
-
style: S({
|
|
255
|
-
width: `${u.width}%`,
|
|
256
|
-
height: `${u.height}%`,
|
|
257
|
-
left: `${u.left}%`,
|
|
258
|
-
top: `${u.top}%`,
|
|
259
|
-
cursor: "move",
|
|
260
|
-
boxShadow: m.value === a ? "0 6px 12px -3px rgba(0,0,0,0.3)" : "",
|
|
261
|
-
zIndex: m.value === a ? D.value.length + 1 : u.index,
|
|
262
|
-
backgroundColor: s.value.style.item.backgroundColor
|
|
263
|
-
}),
|
|
264
|
-
onMousedown: (i) => A(a),
|
|
265
|
-
onTouchstart: (i) => Q(a)
|
|
266
|
-
}, [
|
|
267
|
-
h.value ? Y("", !0) : (g(), y(N, { key: 0 }, [
|
|
268
|
-
b("div", {
|
|
269
|
-
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-left",
|
|
270
|
-
onMousedown: (i) => M(a, "top-left"),
|
|
271
|
-
onTouchstart: (i) => C(a, "top-left", i),
|
|
272
|
-
onTouchmove: t[0] || (t[0] = (i) => _(i)),
|
|
273
|
-
onTouchend: k
|
|
274
|
-
}, null, 40, ke),
|
|
275
|
-
b("div", {
|
|
276
|
-
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",
|
|
277
|
-
onMousedown: (i) => M(a, "top-right"),
|
|
278
|
-
onTouchstart: (i) => C(a, "top-right", i),
|
|
279
|
-
onTouchmove: t[1] || (t[1] = (i) => _(i)),
|
|
280
|
-
onTouchend: k
|
|
281
|
-
}, null, 40, Te),
|
|
282
|
-
b("div", {
|
|
283
|
-
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",
|
|
284
|
-
onMousedown: (i) => M(a, "bottom-left"),
|
|
285
|
-
onTouchstart: (i) => C(a, "bottom-left", i),
|
|
286
|
-
onTouchmove: t[2] || (t[2] = (i) => _(i)),
|
|
287
|
-
onTouchend: k
|
|
288
|
-
}, null, 40, Me),
|
|
289
|
-
b("div", {
|
|
290
|
-
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",
|
|
291
|
-
onMousedown: (i) => M(a, "bottom-right"),
|
|
292
|
-
onTouchstart: (i) => C(a, "bottom-right", i),
|
|
293
|
-
onTouchmove: t[3] || (t[3] = (i) => _(i)),
|
|
294
|
-
onTouchend: k
|
|
295
|
-
}, null, 40, Ce)
|
|
296
|
-
], 64)),
|
|
297
|
-
u.resolvedComponent ? (g(), re(de(u.resolvedComponent), ce({
|
|
298
|
-
key: 1,
|
|
299
|
-
ref_for: !0
|
|
300
|
-
}, u.props), null, 16)) : se(e.$slots, "content", {
|
|
301
|
-
key: 2,
|
|
302
|
-
item: u,
|
|
303
|
-
index: a,
|
|
304
|
-
left: u.left,
|
|
305
|
-
top: u.top,
|
|
306
|
-
height: u.height,
|
|
307
|
-
width: u.width
|
|
308
|
-
}, void 0, !0)
|
|
309
|
-
], 46, we))), 128))
|
|
310
|
-
], 36)
|
|
311
|
-
], 12, ye)
|
|
312
|
-
], 32));
|
|
313
|
-
}
|
|
314
|
-
}, Pe = /* @__PURE__ */ me(_e, [["__scopeId", "data-v-dc9ae697"]]);
|
|
315
|
-
export {
|
|
316
|
-
Pe as default
|
|
317
|
-
};
|