vue-data-ui 2.6.19 → 2.6.21
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 +8 -0
- package/dist/{Arrow-QMACp9z-.cjs → Arrow-C1pcd-am.cjs} +1 -1
- package/dist/{Arrow-DTtLZwne.js → Arrow-DQaZQgi6.js} +1 -1
- package/dist/{BaseIcon-BpRuwiFD.cjs → BaseIcon-BQwivF_K.cjs} +1 -1
- package/dist/{BaseIcon-nz-vbP7I.js → BaseIcon-DH34CAFx.js} +1 -1
- package/dist/{DataTable-Dr-djTUz.cjs → DataTable-D5572vAU.cjs} +1 -1
- package/dist/{DataTable-pNLWbeCL.js → DataTable-DfMqgTjL.js} +2 -2
- package/dist/{Legend-BHbX2C8f.cjs → Legend-CoREnR30.cjs} +1 -1
- package/dist/{Legend-s9DRKvJo.js → Legend-PL8rU0J1.js} +2 -2
- package/dist/{PackageVersion-hltZM-fb.js → PackageVersion-1Y7SXTrk.js} +1 -1
- package/dist/{PackageVersion-DsoqDgVf.cjs → PackageVersion-JsuXjgR_.cjs} +1 -1
- package/dist/PenAndPaper-7lGhxIH8.cjs +1 -0
- package/dist/{PenAndPaper-qmkn1GhB.js → PenAndPaper-BYhUvcy4.js} +20 -16
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-z17A_S1M.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-AmNwJZI7.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-lH7bkq1z.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-NplvneD1.cjs} +1 -1
- package/dist/{Shape-YhMDtuHk.cjs → Shape-HtDeeGqp.cjs} +1 -1
- package/dist/{Shape-C3y6rj0O.js → Shape-Ov27sl2L.js} +1 -1
- package/dist/{Slicer-BIW17-XH.js → Slicer-6F4tHrZR.js} +3 -3
- package/dist/{Slicer-BA8XF-Ak.cjs → Slicer-COXIFuZ-.cjs} +1 -1
- package/dist/{Title-dsg3PqUg.js → Title-1PWD04Gh.js} +1 -1
- package/dist/{Title-DWqgN4Kv.cjs → Title-Pgt1Ixvo.cjs} +1 -1
- package/dist/{Tooltip-DRFQIslg.js → Tooltip-BTO5NGkn.js} +1 -1
- package/dist/{Tooltip-B6T_qzJD.cjs → Tooltip-te_h24w6.cjs} +1 -1
- package/dist/{index-3OrObUP-.cjs → index-DM-Bs-Ua.cjs} +1 -1
- package/dist/{index-DvAaY6OP.js → index-DUnEDLbc.js} +1 -1
- package/dist/index.es-DvaaoatM.cjs +18 -0
- package/dist/index.es-RWt7DWPC.js +6645 -0
- package/dist/{jspdf.es.min-C5v1xtPn.cjs → jspdf.es.min-Rw70uifz.cjs} +23 -23
- package/dist/{jspdf.es.min-DKXYalZb.js → jspdf.es.min-eTA26cmm.js} +476 -470
- package/dist/{pdf-CHXlEvWj.cjs → pdf-DSkQT5iH.cjs} +1 -1
- package/dist/{pdf-70oZh5Jp.js → pdf-DVWl3Adn.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CGzX7c5Q.js → useNestedProp-CEMeoM-f.js} +1 -1
- package/dist/{useNestedProp-B53Yi1Rk.cjs → useNestedProp-CYy5g-mh.cjs} +1 -1
- package/dist/usePrinter-DbpIk44f.cjs +1 -0
- package/dist/{usePrinter-D_2jA4x8.js → usePrinter-Undaynpo.js} +73 -71
- package/dist/useResponsive-N8jl0-aC.cjs +1 -0
- package/dist/{useResponsive-BWapHhVH.js → useResponsive-vZgZwV-S.js} +65 -64
- package/dist/{vue-data-ui-CTjgYwlW.cjs → vue-data-ui-BapofDyJ.cjs} +1 -1
- package/dist/{vue-data-ui-DMl9rAwQ.js → vue-data-ui-DnaIYz0z.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-DBVRoMwv.js → vue-ui-3d-bar-DLYaW0-y.js} +105 -98
- package/dist/{vue-ui-3d-bar-OwVsZokU.cjs → vue-ui-3d-bar-DansBM76.cjs} +2 -2
- package/dist/{vue-ui-accordion-LbUarYuf.js → vue-ui-accordion-C8Couc_G.js} +3 -3
- package/dist/{vue-ui-accordion-BmScSwW2.cjs → vue-ui-accordion-ZIsT4At8.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DQ5dL4yb.cjs → vue-ui-age-pyramid-BSXnW9GF.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rmfEfmj7.js → vue-ui-age-pyramid-BdruKMmo.js} +76 -69
- package/dist/{vue-ui-annotator-nS_RSspz.cjs → vue-ui-annotator-B7Go0M7W.cjs} +1 -1
- package/dist/{vue-ui-annotator-FlMkU7Kj.js → vue-ui-annotator-DVfdPMa7.js} +2 -2
- package/dist/{vue-ui-bullet-esfPgi-9.js → vue-ui-bullet-CkCJgmoJ.js} +145 -138
- package/dist/{vue-ui-bullet-BGTTcXBJ.cjs → vue-ui-bullet-N9ud2cQ7.cjs} +4 -4
- package/dist/{vue-ui-candlestick-RHrlnUqs.js → vue-ui-candlestick-C9B13qeU.js} +116 -109
- package/dist/{vue-ui-candlestick-BUEGFHg_.cjs → vue-ui-candlestick-DPIs9tEW.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-6uP-Kk9U.js → vue-ui-carousel-table-BLo52Rqu.js} +130 -123
- package/dist/{vue-ui-carousel-table-DCcPnWRU.cjs → vue-ui-carousel-table-DgcY4j9y.cjs} +1 -1
- package/dist/{vue-ui-chestnut-B7Ep4Lho.cjs → vue-ui-chestnut-C9Zw_bey.cjs} +2 -2
- package/dist/{vue-ui-chestnut-Dh4y5s_v.js → vue-ui-chestnut-D8oXG8Tf.js} +131 -124
- package/dist/vue-ui-circle-pack-CrEdkNM7.js +648 -0
- package/dist/vue-ui-circle-pack-DYW-e2E5.cjs +1 -0
- package/dist/{vue-ui-cursor-D-IzE_jd.cjs → vue-ui-cursor-CtSijliN.cjs} +1 -1
- package/dist/{vue-ui-cursor-C21WgpGu.js → vue-ui-cursor-DkW4pJcP.js} +2 -2
- package/dist/{vue-ui-dashboard-T0LqYCqM.js → vue-ui-dashboard-5_Du0Yr2.js} +3 -3
- package/dist/{vue-ui-dashboard-DQ_wht4B.cjs → vue-ui-dashboard-Dh5vRbdI.cjs} +1 -1
- package/dist/{vue-ui-digits-CwV6mhHZ.cjs → vue-ui-digits-DEmYk7sS.cjs} +1 -1
- package/dist/{vue-ui-digits-CLFrlUIW.js → vue-ui-digits-DhA1bHdz.js} +2 -2
- package/dist/{vue-ui-donut-dVplEheX.js → vue-ui-donut-B-G7gRdV.js} +118 -111
- package/dist/{vue-ui-donut-b_UXDeKJ.cjs → vue-ui-donut-BrZxaijU.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-Bl50EWBG.js → vue-ui-donut-evolution-B4almlBq.js} +164 -157
- package/dist/{vue-ui-donut-evolution-VxNtQWGH.cjs → vue-ui-donut-evolution-CTbXi7wk.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B-7s7x7a.cjs → vue-ui-dumbbell-CAIlnhsM.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-Bp685TTG.js → vue-ui-dumbbell-kZGa__IU.js} +75 -68
- package/dist/{vue-ui-flow-CHbfoU97.js → vue-ui-flow-Bc31ZN1W.js} +177 -170
- package/dist/{vue-ui-flow-DJqOVlD7.cjs → vue-ui-flow-D2UNbwlp.cjs} +1 -1
- package/dist/{vue-ui-funnel-B77giO54.cjs → vue-ui-funnel-DfCz1GNN.cjs} +1 -1
- package/dist/{vue-ui-funnel-Bhv0XRzJ.js → vue-ui-funnel-V7hu2Iib.js} +129 -122
- package/dist/{vue-ui-galaxy-Dt4dx9bS.cjs → vue-ui-galaxy-CNBC7IbU.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DMA8AX8h.js → vue-ui-galaxy-DLCcy7Kq.js} +77 -70
- package/dist/{vue-ui-gauge-CBlurlZk.js → vue-ui-gauge-CZMHtEcr.js} +153 -146
- package/dist/{vue-ui-gauge-Bh3iSbSd.cjs → vue-ui-gauge-D8IglqIF.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CHhJKge-.js → vue-ui-gizmo-BuAVBMBp.js} +3 -3
- package/dist/{vue-ui-gizmo-BMrnNfYR.cjs → vue-ui-gizmo-fyC414Iv.cjs} +1 -1
- package/dist/vue-ui-heatmap-CDOry_F1.cjs +1 -0
- package/dist/{vue-ui-heatmap-CB4852rp.js → vue-ui-heatmap-hUfFzGck.js} +139 -132
- package/dist/{vue-ui-history-plot-AwmdEhYL.js → vue-ui-history-plot-C79l8rPm.js} +122 -115
- package/dist/{vue-ui-history-plot-BG7r0ZF7.cjs → vue-ui-history-plot-CIXgvWpk.cjs} +1 -1
- package/dist/{vue-ui-kpi-DcxE4Vv7.js → vue-ui-kpi-C3tHthXH.js} +3 -3
- package/dist/{vue-ui-kpi-BYCMEzBt.cjs → vue-ui-kpi-yiWxNLJ-.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CdDRH8Rb.js → vue-ui-mini-loader-1p1jAKx_.js} +2 -2
- package/dist/{vue-ui-mini-loader-DOqUfxRJ.cjs → vue-ui-mini-loader-26yCYjxn.cjs} +1 -1
- package/dist/{vue-ui-molecule-C-Z0Ywq1.cjs → vue-ui-molecule-Bw0dYLfu.cjs} +1 -1
- package/dist/{vue-ui-molecule-BskBKGbQ.js → vue-ui-molecule-COQ-yrBr.js} +249 -242
- package/dist/{vue-ui-mood-radar-BAPZ1LyF.js → vue-ui-mood-radar-CwfGiQ43.js} +111 -104
- package/dist/{vue-ui-mood-radar-BIrQKfVf.cjs → vue-ui-mood-radar-Cyde9hnR.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BB2Kgb5F.js → vue-ui-nested-donuts-BVaW7w1U.js} +117 -110
- package/dist/{vue-ui-nested-donuts-7YjtP-jC.cjs → vue-ui-nested-donuts-Y07lLGRa.cjs} +2 -2
- package/dist/{vue-ui-onion-BWb18zcN.cjs → vue-ui-onion-DkXss-B_.cjs} +2 -2
- package/dist/{vue-ui-onion-BjMfXAZK.js → vue-ui-onion-h6DP9kOi.js} +143 -136
- package/dist/{vue-ui-parallel-coordinate-plot-D6Vs-5Vh.cjs → vue-ui-parallel-coordinate-plot-CkI21cq2.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-ryqdfkHL.js → vue-ui-parallel-coordinate-plot-O5cwKbzH.js} +113 -106
- package/dist/{vue-ui-quadrant-Cr4ypLzT.js → vue-ui-quadrant-CfywvXnV.js} +112 -105
- package/dist/{vue-ui-quadrant-BmsHBpKo.cjs → vue-ui-quadrant-F6w-QJE_.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-45IEXHb0.cjs → vue-ui-quick-chart-BeMHD_Kz.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-C9dIHRYi.js → vue-ui-quick-chart-C1AwFGSr.js} +195 -188
- package/dist/{vue-ui-radar-Nr5JmVlk.cjs → vue-ui-radar-BejYh3DW.cjs} +1 -1
- package/dist/{vue-ui-radar-T6xdl9ic.js → vue-ui-radar-DDKXLi5o.js} +101 -94
- package/dist/{vue-ui-rating-C5AaiBqZ.js → vue-ui-rating-BrGbM0Op.js} +2 -2
- package/dist/{vue-ui-rating-CFIhZlG-.cjs → vue-ui-rating-C40ktvn7.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Cw-DcsRY.cjs → vue-ui-relation-circle-C4qT13SI.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BktS594K.js → vue-ui-relation-circle-DrtdiTMX.js} +103 -96
- package/dist/{vue-ui-rings-_evAK3j7.js → vue-ui-rings-C4IdhEUE.js} +169 -162
- package/dist/{vue-ui-rings-2j5fsO_o.cjs → vue-ui-rings-Cd8WyeDZ.cjs} +2 -2
- package/dist/{vue-ui-scatter-C5ePnByD.js → vue-ui-scatter-BS8sgyMi.js} +85 -78
- package/dist/{vue-ui-scatter-W1_ChsfO.cjs → vue-ui-scatter-MmvIeu4D.cjs} +1 -1
- package/dist/{vue-ui-screenshot-B6ASKPJf.cjs → vue-ui-screenshot-BB51-eRL.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DM-PQM2g.js → vue-ui-screenshot-tnFPT1vi.js} +1 -1
- package/dist/{vue-ui-skeleton-WoggMoff.js → vue-ui-skeleton-DieABKlo.js} +3 -3
- package/dist/{vue-ui-skeleton-DaowWOKJ.cjs → vue-ui-skeleton-DlC-U64G.cjs} +1 -1
- package/dist/{vue-ui-smiley-gulDZ8i7.js → vue-ui-smiley-C32wVXgu.js} +2 -2
- package/dist/{vue-ui-smiley-hlaNlq2y.cjs → vue-ui-smiley-DSxKw3ud.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-LbApLsdt.js → vue-ui-spark-trend-B_x1dX38.js} +5 -5
- package/dist/{vue-ui-spark-trend-BcrMflk6.cjs → vue-ui-spark-trend-vexkCCy9.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BdfaDBkw.cjs → vue-ui-sparkbar-CsOEiHDQ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CnL6FbaE.js → vue-ui-sparkbar-ZSbB6Llo.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CHv1q1cO.cjs → vue-ui-sparkgauge-Bdh7X--h.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Du7PRJyB.js → vue-ui-sparkgauge-Cf3bDk98.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CyEyZvbD.js → vue-ui-sparkhistogram-CrZy1xf0.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CBqKXnvX.cjs → vue-ui-sparkhistogram-fALwb3uK.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DRHE0kK8.cjs → vue-ui-sparkline-D4WDvcZR.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BMNXPHhB.js → vue-ui-sparkline-DTW_lXgp.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-D6wuDd8h.cjs → vue-ui-sparkstackbar-DBPLhUoi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D33lwh8d.js → vue-ui-sparkstackbar-Db2Ndf0k.js} +5 -5
- package/dist/{vue-ui-stackbar-CnxGAca-.cjs → vue-ui-stackbar-B3eaSIoO.cjs} +3 -3
- package/dist/{vue-ui-stackbar-C5yoqQAY.js → vue-ui-stackbar-DbF3ZJTD.js} +211 -204
- package/dist/{vue-ui-strip-plot-Cg1B7i3X.js → vue-ui-strip-plot-CpkH2Gfd.js} +83 -76
- package/dist/{vue-ui-strip-plot-DDTTc2jA.cjs → vue-ui-strip-plot-DiCVf5u-.cjs} +1 -1
- package/dist/{vue-ui-table-BGfZl0wF.js → vue-ui-table-D6zWwikN.js} +1 -1
- package/dist/{vue-ui-table-TV5Coa0A.cjs → vue-ui-table-K13fqkDI.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Jjx8L8St.cjs → vue-ui-table-heatmap-BgenCoVa.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D0j2OFv0.js → vue-ui-table-heatmap-EAevgnzN.js} +63 -56
- package/dist/{vue-ui-table-sparkline-D0_FhhN5.cjs → vue-ui-table-sparkline-3JMqr89P.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-C2sUG_7S.js → vue-ui-table-sparkline-s_oWe6MG.js} +90 -83
- package/dist/{vue-ui-thermometer-Bw35Fw8v.cjs → vue-ui-thermometer--mYRly4x.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CdLZ8te2.js → vue-ui-thermometer-Bo3l_0Kf.js} +113 -106
- package/dist/{vue-ui-timer-1-kXQ5_q.js → vue-ui-timer-C9EuUurN.js} +6 -6
- package/dist/{vue-ui-timer-Deg5YPx0.cjs → vue-ui-timer-Djh-ZDNe.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-uSgVLSbo.cjs → vue-ui-tiremarks-CKv_KApZ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BHTSw0fa.js → vue-ui-tiremarks-DgdpEDJ1.js} +76 -69
- package/dist/{vue-ui-treemap-7W_lvbV0.cjs → vue-ui-treemap-AkNJjd2c.cjs} +1 -1
- package/dist/{vue-ui-treemap-C2u5sEzh.js → vue-ui-treemap-D13sISL0.js} +144 -137
- package/dist/{vue-ui-vertical-bar-BlzOi8LC.cjs → vue-ui-vertical-bar-CQlvpdJl.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-U3LQF-NS.js → vue-ui-vertical-bar-DfegzHj4.js} +120 -113
- package/dist/{vue-ui-waffle-DUXvINoC.cjs → vue-ui-waffle-Dve1LWVt.cjs} +1 -1
- package/dist/{vue-ui-waffle-qAheWwiI.js → vue-ui-waffle-f72Lq8_D.js} +78 -71
- package/dist/{vue-ui-wheel-DIoKCgCS.cjs → vue-ui-wheel-BG1GcVvN.cjs} +1 -1
- package/dist/{vue-ui-wheel-CuLQchDK.js → vue-ui-wheel-BxefMdit.js} +105 -98
- package/dist/{vue-ui-word-cloud-B-nFH7hZ.js → vue-ui-word-cloud-BYY4K2G4.js} +123 -116
- package/dist/{vue-ui-word-cloud-BSvmRQ5n.cjs → vue-ui-word-cloud-CRRR7H7h.cjs} +1 -1
- package/dist/{vue-ui-xy-DXMoSF2C.js → vue-ui-xy-BS0_aTIH.js} +73 -66
- package/dist/{vue-ui-xy-BGsFH9wE.cjs → vue-ui-xy-DGYZFgdd.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-CTymfSH6.js → vue-ui-xy-canvas-Bl2v7Z3U.js} +200 -193
- package/dist/{vue-ui-xy-canvas-i13v43UX.cjs → vue-ui-xy-canvas-R_pPaj0X.cjs} +2 -2
- package/package.json +2 -7
- package/dist/PenAndPaper-Dbw8Fph9.cjs +0 -1
- package/dist/index-Dwoe0gcF.cjs +0 -15
- package/dist/index-Fl-W8YeZ.js +0 -3971
- package/dist/usePrinter-bPnqqKha.cjs +0 -1
- package/dist/useResponsive-YQYQrAZ_.cjs +0 -1
- package/dist/vue-ui-circle-pack-Ce1oEvgz.cjs +0 -1
- package/dist/vue-ui-circle-pack-CrgnQ_jY.js +0 -663
- package/dist/vue-ui-heatmap-DvItO4xs.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as b, ref as v, watch as Ae, onMounted as Le, createElementBlock as r, openBlock as i, unref as u, normalizeStyle as W, normalizeClass as he, createBlock as L, createCommentVNode as y, renderSlot as h, createVNode as fe, createSlots as Se, withCtx as
|
|
2
|
-
import { u as Oe, c as Ie, a as Fe, o as Pe, e as Me, v as f, X as Ne, s as X, w as ge, i as k, f as _, q as Re, r as De, x as Ge, y as Ue } from "./index-
|
|
3
|
-
import { t as Be, u as Ee } from "./useResponsive-
|
|
4
|
-
import { _ as Ve } from "./Title-
|
|
5
|
-
import { u as We, U as Xe } from "./usePrinter-
|
|
6
|
-
import { _ as je } from "./Tooltip-
|
|
7
|
-
import { D as He } from "./DataTable-
|
|
8
|
-
import Ye from "./vue-ui-skeleton-
|
|
9
|
-
import qe from "./vue-ui-accordion-
|
|
10
|
-
import { u as pe } from "./useNestedProp-
|
|
11
|
-
import { _ as Je } from "./PackageVersion-
|
|
12
|
-
import { P as Ke } from "./PenAndPaper-
|
|
1
|
+
import { computed as b, ref as v, watch as Ae, onMounted as Le, createElementBlock as r, openBlock as i, unref as u, normalizeStyle as W, normalizeClass as he, createBlock as L, createCommentVNode as y, renderSlot as h, createVNode as fe, createSlots as Se, withCtx as c, normalizeProps as S, guardReactiveProps as z, createElementVNode as d, Fragment as O, renderList as P, toDisplayString as w, createTextVNode as ce, nextTick as ze } from "vue";
|
|
2
|
+
import { u as Oe, c as Ie, a as Fe, o as Pe, e as Me, v as f, X as Ne, s as X, w as ge, i as k, f as _, q as Re, r as De, x as Ge, y as Ue } from "./index-DUnEDLbc.js";
|
|
3
|
+
import { t as Be, u as Ee } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
+
import { _ as Ve } from "./Title-1PWD04Gh.js";
|
|
5
|
+
import { u as We, U as Xe } from "./usePrinter-Undaynpo.js";
|
|
6
|
+
import { _ as je } from "./Tooltip-BTO5NGkn.js";
|
|
7
|
+
import { D as He } from "./DataTable-DfMqgTjL.js";
|
|
8
|
+
import Ye from "./vue-ui-skeleton-DieABKlo.js";
|
|
9
|
+
import qe from "./vue-ui-accordion-C8Couc_G.js";
|
|
10
|
+
import { u as pe } from "./useNestedProp-CEMeoM-f.js";
|
|
11
|
+
import { _ as Je } from "./PackageVersion-1Y7SXTrk.js";
|
|
12
|
+
import { P as Ke } from "./PenAndPaper-BYhUvcy4.js";
|
|
13
13
|
import { u as Qe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as Ze } from "./useChartAccessibility-BWojgys7.js";
|
|
15
15
|
import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -33,23 +33,23 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
setup(j, { expose: be }) {
|
|
36
|
-
const { vue_ui_age_pyramid: xe } = Oe(),
|
|
36
|
+
const { vue_ui_age_pyramid: xe } = Oe(), g = j, M = b(() => !!g.dataset && g.dataset.length), m = v(Ie()), me = v(null), G = v(!1), U = v(""), N = v(null), H = v(0), I = v(null), Y = v(null), q = v(null), J = v(null), K = v(0), Q = v(0), e = b({
|
|
37
37
|
get: () => le(),
|
|
38
38
|
set: (t) => t
|
|
39
39
|
}), { userOptionsVisible: B, setUserOptionsVisibility: Z, keepUserOptionState: ee } = Qe({ config: e.value }), { svgRef: te } = Ze({ config: e.value.style.title });
|
|
40
40
|
function le() {
|
|
41
41
|
const t = pe({
|
|
42
|
-
userConfig:
|
|
42
|
+
userConfig: g.config,
|
|
43
43
|
defaultConfig: xe
|
|
44
44
|
});
|
|
45
45
|
return t.theme ? {
|
|
46
46
|
...pe({
|
|
47
|
-
userConfig: Fe.vue_ui_age_pyramid[t.theme] ||
|
|
47
|
+
userConfig: Fe.vue_ui_age_pyramid[t.theme] || g.config,
|
|
48
48
|
defaultConfig: t
|
|
49
49
|
})
|
|
50
50
|
} : t;
|
|
51
51
|
}
|
|
52
|
-
Ae(() =>
|
|
52
|
+
Ae(() => g.config, (t) => {
|
|
53
53
|
e.value = le(), B.value = !e.value.userOptions.showOnChartHover, oe(), K.value += 1, Q.value += 1, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.tooltip.show;
|
|
54
54
|
}, { deep: !0 });
|
|
55
55
|
const ae = v(null);
|
|
@@ -57,22 +57,22 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
57
57
|
oe();
|
|
58
58
|
});
|
|
59
59
|
function oe() {
|
|
60
|
-
if (Pe(
|
|
60
|
+
if (Pe(g.dataset) && Me({
|
|
61
61
|
componentName: "VueUiAgePyramid",
|
|
62
62
|
type: "dataset"
|
|
63
63
|
}), e.value.responsive) {
|
|
64
64
|
const t = Be(() => {
|
|
65
65
|
const { width: s, height: l } = Ee({
|
|
66
|
-
chart:
|
|
66
|
+
chart: I.value,
|
|
67
67
|
title: e.value.style.title.text ? Y.value : null,
|
|
68
68
|
source: q.value,
|
|
69
69
|
noTitle: J.value
|
|
70
70
|
});
|
|
71
71
|
requestAnimationFrame(() => {
|
|
72
|
-
|
|
72
|
+
p.value.width = s, p.value.height = l;
|
|
73
73
|
});
|
|
74
74
|
});
|
|
75
|
-
ae.value = new ResizeObserver(t), ae.value.observe(
|
|
75
|
+
ae.value = new ResizeObserver(t), ae.value.observe(I.value.parentNode);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
const { isPrinting: se, isImaging: ie, generatePdf: ue, generateImage: re } = We({
|
|
@@ -81,18 +81,18 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
81
81
|
}), we = b(() => e.value.userOptions.show && !e.value.style.title.text), x = v({
|
|
82
82
|
showTable: e.value.table.show,
|
|
83
83
|
showTooltip: e.value.style.tooltip.show
|
|
84
|
-
}),
|
|
84
|
+
}), p = v({
|
|
85
85
|
height: e.value.style.height,
|
|
86
86
|
width: e.value.style.width
|
|
87
87
|
}), o = b(() => {
|
|
88
|
-
const t =
|
|
88
|
+
const t = p.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left, s = e.value.style.layout.padding.left, l = p.value.width - e.value.style.layout.padding.right;
|
|
89
89
|
return {
|
|
90
90
|
top: e.value.style.layout.padding.top,
|
|
91
91
|
left: s,
|
|
92
92
|
right: l,
|
|
93
|
-
bottom:
|
|
93
|
+
bottom: p.value.height - e.value.style.layout.padding.bottom,
|
|
94
94
|
width: t,
|
|
95
|
-
height:
|
|
95
|
+
height: p.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
96
96
|
centerX: e.value.style.layout.padding.left + t / 2,
|
|
97
97
|
leftChart: {
|
|
98
98
|
width: t / 2 - e.value.style.layout.centerSlit.width,
|
|
@@ -103,16 +103,16 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
103
103
|
left: s + t / 2 + e.value.style.layout.centerSlit.width
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
|
-
}), ke = b(() =>
|
|
107
|
-
const t = _e(
|
|
106
|
+
}), ke = b(() => g.dataset.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), C = b(() => {
|
|
107
|
+
const t = _e(F.value / 5), s = [], l = [];
|
|
108
108
|
for (let a = 0; a <= 5; a += 1) {
|
|
109
109
|
const n = t * a, ye = t * (a - 5);
|
|
110
110
|
s.push({
|
|
111
111
|
value: n,
|
|
112
|
-
x: o.value.left + o.value.width / 2 + e.value.style.layout.centerSlit.width + n /
|
|
112
|
+
x: o.value.left + o.value.width / 2 + e.value.style.layout.centerSlit.width + n / F.value * o.value.leftChart.width
|
|
113
113
|
}), l.push({
|
|
114
114
|
value: Math.abs(ye),
|
|
115
|
-
x: o.value.left + o.value.width / 2 + ye /
|
|
115
|
+
x: o.value.left + o.value.width / 2 + ye / F.value * o.value.leftChart.width - e.value.style.layout.centerSlit.width
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
return {
|
|
@@ -126,16 +126,16 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
126
126
|
let a;
|
|
127
127
|
return t < 0, a = Math.round(t / l) * l, a;
|
|
128
128
|
}
|
|
129
|
-
const
|
|
129
|
+
const F = b(() => Math.max(...g.dataset.flatMap((t) => t.slice(-2).map((s) => f(s))))), $ = b(() => g.dataset.length), Ce = b(() => g.dataset.map((t) => ({
|
|
130
130
|
segment: t[0],
|
|
131
131
|
age: t[1],
|
|
132
132
|
left: {
|
|
133
133
|
value: t[2],
|
|
134
|
-
proportionToMax: t[2] /
|
|
134
|
+
proportionToMax: t[2] / F.value
|
|
135
135
|
},
|
|
136
136
|
right: {
|
|
137
137
|
value: t[3],
|
|
138
|
-
proportionToMax: t[3] /
|
|
138
|
+
proportionToMax: t[3] / F.value
|
|
139
139
|
}
|
|
140
140
|
}))), T = b(() => Ce.value.map((t, s) => {
|
|
141
141
|
const l = o.value.top + o.value.height / $.value * s, a = o.value.height / $.value - e.value.style.layout.bars.gap;
|
|
@@ -219,7 +219,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
219
219
|
}
|
|
220
220
|
function ne() {
|
|
221
221
|
ze(() => {
|
|
222
|
-
const t = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], s =
|
|
222
|
+
const t = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], s = g.dataset.map((n) => [
|
|
223
223
|
n[0],
|
|
224
224
|
n[1],
|
|
225
225
|
n[2],
|
|
@@ -236,7 +236,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
236
236
|
e.value.translations.female,
|
|
237
237
|
e.value.translations.male,
|
|
238
238
|
e.value.translations.total
|
|
239
|
-
], s =
|
|
239
|
+
], s = g.dataset.map((a) => [
|
|
240
240
|
a[0],
|
|
241
241
|
a[1],
|
|
242
242
|
a[2].toLocaleString(),
|
|
@@ -280,7 +280,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
280
280
|
}), (t, s) => (i(), r("div", {
|
|
281
281
|
class: he(`vue-ui-age-pyramid ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
282
282
|
ref_key: "agePyramid",
|
|
283
|
-
ref:
|
|
283
|
+
ref: I,
|
|
284
284
|
id: `vue-ui-age-pyramid_${m.value}`,
|
|
285
285
|
style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
286
286
|
onMouseenter: s[2] || (s[2] = () => u(Z)(!0)),
|
|
@@ -339,7 +339,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
339
339
|
isFullscreen: A.value,
|
|
340
340
|
isTooltip: x.value.showTooltip,
|
|
341
341
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
342
|
-
chartElement:
|
|
342
|
+
chartElement: I.value,
|
|
343
343
|
position: e.value.userOptions.position,
|
|
344
344
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
345
345
|
isAnnotation: D.value,
|
|
@@ -354,54 +354,61 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
354
354
|
visibility: u(ee) ? u(B) ? "visible" : "hidden" : "visible"
|
|
355
355
|
})
|
|
356
356
|
}, Se({ _: 2 }, [
|
|
357
|
+
t.$slots.menuIcon ? {
|
|
358
|
+
name: "menuIcon",
|
|
359
|
+
fn: c(({ isOpen: l, color: a }) => [
|
|
360
|
+
h(t.$slots, "menuIcon", S(z({ isOpen: l, color: a })), void 0, !0)
|
|
361
|
+
]),
|
|
362
|
+
key: "0"
|
|
363
|
+
} : void 0,
|
|
357
364
|
t.$slots.optionTooltip ? {
|
|
358
365
|
name: "optionTooltip",
|
|
359
|
-
fn:
|
|
366
|
+
fn: c(() => [
|
|
360
367
|
h(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
361
368
|
]),
|
|
362
|
-
key: "
|
|
369
|
+
key: "1"
|
|
363
370
|
} : void 0,
|
|
364
371
|
t.$slots.optionPdf ? {
|
|
365
372
|
name: "optionPdf",
|
|
366
|
-
fn:
|
|
373
|
+
fn: c(() => [
|
|
367
374
|
h(t.$slots, "optionPdf", {}, void 0, !0)
|
|
368
375
|
]),
|
|
369
|
-
key: "
|
|
376
|
+
key: "2"
|
|
370
377
|
} : void 0,
|
|
371
378
|
t.$slots.optionCsv ? {
|
|
372
379
|
name: "optionCsv",
|
|
373
|
-
fn:
|
|
380
|
+
fn: c(() => [
|
|
374
381
|
h(t.$slots, "optionCsv", {}, void 0, !0)
|
|
375
382
|
]),
|
|
376
|
-
key: "
|
|
383
|
+
key: "3"
|
|
377
384
|
} : void 0,
|
|
378
385
|
t.$slots.optionImg ? {
|
|
379
386
|
name: "optionImg",
|
|
380
|
-
fn:
|
|
387
|
+
fn: c(() => [
|
|
381
388
|
h(t.$slots, "optionImg", {}, void 0, !0)
|
|
382
389
|
]),
|
|
383
|
-
key: "
|
|
390
|
+
key: "4"
|
|
384
391
|
} : void 0,
|
|
385
392
|
t.$slots.optionTable ? {
|
|
386
393
|
name: "optionTable",
|
|
387
|
-
fn:
|
|
394
|
+
fn: c(() => [
|
|
388
395
|
h(t.$slots, "optionTable", {}, void 0, !0)
|
|
389
396
|
]),
|
|
390
|
-
key: "
|
|
397
|
+
key: "5"
|
|
391
398
|
} : void 0,
|
|
392
399
|
t.$slots.optionFullscreen ? {
|
|
393
400
|
name: "optionFullscreen",
|
|
394
|
-
fn:
|
|
395
|
-
h(t.$slots, "optionFullscreen",
|
|
401
|
+
fn: c(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
402
|
+
h(t.$slots, "optionFullscreen", S(z({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
396
403
|
]),
|
|
397
|
-
key: "
|
|
404
|
+
key: "6"
|
|
398
405
|
} : void 0,
|
|
399
406
|
t.$slots.optionAnnotator ? {
|
|
400
407
|
name: "optionAnnotator",
|
|
401
|
-
fn:
|
|
402
|
-
h(t.$slots, "optionAnnotator",
|
|
408
|
+
fn: c(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
409
|
+
h(t.$slots, "optionAnnotator", S(z({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
403
410
|
]),
|
|
404
|
-
key: "
|
|
411
|
+
key: "7"
|
|
405
412
|
} : void 0
|
|
406
413
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
407
414
|
M.value ? (i(), r("svg", {
|
|
@@ -410,7 +417,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
410
417
|
ref: te,
|
|
411
418
|
xmlns: u(Ne),
|
|
412
419
|
class: he({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
413
|
-
viewBox: `0 0 ${
|
|
420
|
+
viewBox: `0 0 ${p.value.width <= 0 ? 10 : p.value.width} ${p.value.height <= 0 ? 10 : p.value.height}`,
|
|
414
421
|
style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
415
422
|
}, [
|
|
416
423
|
fe(Je),
|
|
@@ -460,7 +467,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
460
467
|
}, null, 8, nt)
|
|
461
468
|
], 8, ut)
|
|
462
469
|
]),
|
|
463
|
-
(i(!0), r(
|
|
470
|
+
(i(!0), r(O, null, P(T.value, (l, a) => (i(), r("g", null, [
|
|
464
471
|
d("rect", {
|
|
465
472
|
x: l.left.x,
|
|
466
473
|
y: l.left.y,
|
|
@@ -514,7 +521,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
514
521
|
}, w(e.value.translations.male), 9, gt)
|
|
515
522
|
])) : y("", !0),
|
|
516
523
|
e.value.style.layout.dataLabels.yAxis.show ? (i(), r("g", pt, [
|
|
517
|
-
(i(!0), r(
|
|
524
|
+
(i(!0), r(O, null, P(ke.value, (l, a) => (i(), r(O, null, [
|
|
518
525
|
a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), r("text", {
|
|
519
526
|
key: 0,
|
|
520
527
|
x: o.value.centerX,
|
|
@@ -552,7 +559,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
552
559
|
"stroke-linecap": "round"
|
|
553
560
|
}, null, 8, kt)
|
|
554
561
|
])) : y("", !0),
|
|
555
|
-
(i(!0), r(
|
|
562
|
+
(i(!0), r(O, null, P(C.value.right, (l, a) => (i(), r("g", null, [
|
|
556
563
|
e.value.style.layout.grid.show ? (i(), r("line", {
|
|
557
564
|
key: 0,
|
|
558
565
|
x1: l.x,
|
|
@@ -579,7 +586,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
579
586
|
{ datapoint: l, seriesIndex: a }
|
|
580
587
|
)), 9, Ct)
|
|
581
588
|
]))), 256)),
|
|
582
|
-
(i(!0), r(
|
|
589
|
+
(i(!0), r(O, null, P(C.value.left, (l, a) => (i(), r("g", null, [
|
|
583
590
|
e.value.style.layout.grid.show ? (i(), r("line", {
|
|
584
591
|
key: 0,
|
|
585
592
|
x1: l.x,
|
|
@@ -608,7 +615,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
608
615
|
]))), 256)),
|
|
609
616
|
d("text", {
|
|
610
617
|
x: o.value.right,
|
|
611
|
-
y:
|
|
618
|
+
y: p.value.height,
|
|
612
619
|
"text-anchor": "end",
|
|
613
620
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
614
621
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
@@ -616,7 +623,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
616
623
|
}, w(e.value.style.layout.dataLabels.xAxis.translation), 9, At)
|
|
617
624
|
])) : y("", !0)
|
|
618
625
|
]),
|
|
619
|
-
(i(!0), r(
|
|
626
|
+
(i(!0), r(O, null, P(j.dataset, (l, a) => (i(), r("g", null, [
|
|
620
627
|
d("rect", {
|
|
621
628
|
x: o.value.left,
|
|
622
629
|
y: o.value.top + o.value.height / $.value * a - e.value.style.layout.bars.gap / 2,
|
|
@@ -629,10 +636,10 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
629
636
|
})
|
|
630
637
|
}, null, 40, Lt)
|
|
631
638
|
]))), 256)),
|
|
632
|
-
h(t.$slots, "svg", { svg:
|
|
639
|
+
h(t.$slots, "svg", { svg: p.value }, void 0, !0)
|
|
633
640
|
], 14, lt)) : y("", !0),
|
|
634
641
|
t.$slots.watermark ? (i(), r("div", St, [
|
|
635
|
-
h(t.$slots, "watermark",
|
|
642
|
+
h(t.$slots, "watermark", S(z({ isPrinting: u(se) || u(ie) })), void 0, !0)
|
|
636
643
|
])) : y("", !0),
|
|
637
644
|
M.value ? y("", !0) : (i(), L(Ye, {
|
|
638
645
|
key: 6,
|
|
@@ -666,16 +673,16 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
666
673
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
667
674
|
position: e.value.style.tooltip.position,
|
|
668
675
|
offsetY: e.value.style.tooltip.offsetY,
|
|
669
|
-
parent:
|
|
676
|
+
parent: I.value,
|
|
670
677
|
content: U.value,
|
|
671
678
|
isFullscreen: A.value,
|
|
672
679
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
673
680
|
}, {
|
|
674
|
-
"tooltip-before":
|
|
675
|
-
h(t.$slots, "tooltip-before",
|
|
681
|
+
"tooltip-before": c(() => [
|
|
682
|
+
h(t.$slots, "tooltip-before", S(z({ ...E.value })), void 0, !0)
|
|
676
683
|
]),
|
|
677
|
-
"tooltip-after":
|
|
678
|
-
h(t.$slots, "tooltip-after",
|
|
684
|
+
"tooltip-after": c(() => [
|
|
685
|
+
h(t.$slots, "tooltip-after", S(z({ ...E.value })), void 0, !0)
|
|
679
686
|
]),
|
|
680
687
|
_: 3
|
|
681
688
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -695,7 +702,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
695
702
|
}
|
|
696
703
|
}
|
|
697
704
|
}, {
|
|
698
|
-
content:
|
|
705
|
+
content: c(() => [
|
|
699
706
|
(i(), L(He, {
|
|
700
707
|
key: `table_${Q.value}`,
|
|
701
708
|
colNames: R.value.colNames,
|
|
@@ -705,10 +712,10 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
705
712
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
706
713
|
onClose: s[1] || (s[1] = (l) => x.value.showTable = !1)
|
|
707
714
|
}, {
|
|
708
|
-
th:
|
|
715
|
+
th: c(({ th: l }) => [
|
|
709
716
|
ce(w(l), 1)
|
|
710
717
|
]),
|
|
711
|
-
td:
|
|
718
|
+
td: c(({ td: l }) => [
|
|
712
719
|
ce(w(l), 1)
|
|
713
720
|
]),
|
|
714
721
|
_: 1
|
|
@@ -718,7 +725,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
|
|
|
718
725
|
}, 8, ["config"])) : y("", !0)
|
|
719
726
|
], 46, tt));
|
|
720
727
|
}
|
|
721
|
-
}, jt = /* @__PURE__ */ et(zt, [["__scopeId", "data-v-
|
|
728
|
+
}, jt = /* @__PURE__ */ et(zt, [["__scopeId", "data-v-fe3a06a3"]]);
|
|
722
729
|
export {
|
|
723
730
|
jt as default
|
|
724
731
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("./html2canvas.esm-D53btDlk.cjs"),b=require("./jspdf.es.min-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("./html2canvas.esm-D53btDlk.cjs"),b=require("./jspdf.es.min-Rw70uifz.cjs"),h=require("./index-DM-Bs-Ua.cjs"),o=require("vue"),I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),F={props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{shapes:[],lastSelectedShape:void 0}}}},data(){return{activeShape:void 0,strokeSize:1,currentPointer:{start:{x:0,y:0},end:{x:0,end:0}},currentTarget:void 0,hoveredShapeId:void 0,isBold:!1,isBulletTextMode:!1,isDash:!1,isDeleteMode:!1,isDrawing:!1,isDrawingNewShape:!0,isDrawMode:!1,isItalic:!1,isMouseDown:!1,isMoveMode:!1,isPrinting:!1,isResizeMode:!1,isSelectMode:!1,isSummaryOpen:!1,isTextMode:!1,isUnderline:!1,isWriting:!1,lastSelectedShape:this.dataset.lastSelectedShape,pointerDownId:-1,pointerPosition:{x:0,y:0},preventEdit:!0,selectedGroup:[],shapes:this.dataset.shapes?this.dataset.shapes:[],shapesOrder:[],step:Math.round(Math.random())*1e5,svgHeight:1e3,svgWidth:1e3,options:{arrow:{color:"grey",filled:!0},circle:{color:"grey",filled:!1,radius:3,strokeWidth:2},rect:{color:"grey",filled:!1,strokeWidth:2,height:12,width:12}},selectedColor:"#000000",showCaret:!1,sizeRatio:1,slottedSvg:void 0,sourceWidth:1,sourceHeight:1,textAlign:"start",textFont:20,transparency:100,transparencyCodes:h.opacity}},watch:{shapes:{handler(e){e.length===0&&(this.lastSelectedShape=void 0)}}},computed:{FINAL_CONFIG(){const e=h.useConfig().vue_ui_annotator;if(!Object.keys(this.config||{}).length)return e;const i=this.treeShake({defaultConfig:e,userConfig:this.config});return this.convertConfigColors(i)},canSelect(){return this.shapes.filter(e=>!["line","group"].includes(e.type)).length>1},colorTransparency(){return this.transparencyCodes[this.transparency>98?98:this.transparency]},cursorClass(){switch(!0){case this.isDeleteMode:return"default";case this.isMoveMode:return"move";case this.isTextMode:return"text";case this.isResizeMode:return"se-resize";default:return""}},records(){return this.shapes},userShapes(){return this.records.map(e=>{switch(!0){case(e&&e.type==="arrow"):const i=e.strokeWidth>3?5:10,s=e.strokeWidth>3?2.5:5;return`
|
|
2
2
|
<defs>
|
|
3
3
|
<marker
|
|
4
4
|
id="${e.id}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import k from "./html2canvas.esm-Dr4iCOK6.js";
|
|
2
|
-
import { E as p } from "./jspdf.es.min-
|
|
3
|
-
import { z as v, A, u as w, B as M } from "./index-
|
|
2
|
+
import { E as p } from "./jspdf.es.min-eTA26cmm.js";
|
|
3
|
+
import { z as v, A, u as w, B as M } from "./index-DUnEDLbc.js";
|
|
4
4
|
import { createElementBlock as d, openBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, createCommentVNode as a, normalizeClass as y, createStaticVNode as F, withDirectives as N, vModelCheckbox as C, vModelText as x, renderSlot as O, Fragment as L, renderList as G } from "vue";
|
|
5
5
|
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const m = {
|