vue-data-ui 3.2.2 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BWqgcDpl.js → Arrow-Bb0bGghy.js} +1 -1
- package/dist/{BaseDraggableDialog-Cg4ZF9cb.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
- package/dist/{BaseIcon-e63bhLIi.js → BaseIcon-Bz-1GQhu.js} +10 -3
- package/dist/ColorPicker-B-WUqMoV.js +238 -0
- package/dist/{DataTable-dv6G7Krn.js → DataTable-BvjacRbw.js} +2 -2
- package/dist/{Legend-CVcdvTLM.js → Legend-BpoFJ8fc.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DSmotL8i.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
- package/dist/{PackageVersion-C3Vg-vTM.js → PackageVersion-x4hg0tYe.js} +1 -1
- package/dist/{PenAndPaper-CplrzuG7.js → PenAndPaper-CR8q353D.js} +3 -3
- package/dist/{Shape-D_vfF7sk.js → Shape-C_C_OmqR.js} +1 -1
- package/dist/{Slicer-BO2wNLcR.js → Slicer-BA2GhOmY.js} +63 -63
- package/dist/{SparkTooltip-B82G5-BO.js → SparkTooltip-Dz1PDE_h.js} +1 -1
- package/dist/{Title-DlqxaiIs.js → Title-C__lOIPC.js} +1 -1
- package/dist/{Tooltip-BKqK7z38.js → Tooltip-BOXz8skU.js} +1 -1
- package/dist/{UserOptions-C9IFsUt0.js → UserOptions-DsTgvAok.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +5 -0
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-1edcjS0-.js → dom-to-png-BgvOdfyW.js} +1 -1
- package/dist/{img-A48JwXxj.js → img-DjWwQXVS.js} +1 -1
- package/dist/{lib-CDp2KgIU.js → lib-BEpWEyMm.js} +56 -56
- package/dist/{pdf-BZV8MuXM.js → pdf-YD0ShN36.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +15 -4
- package/dist/types/vue-ui-annotator.d.ts +14 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-C2IsrQqi.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
- package/dist/{useNestedProp-Cwtenuui.js → useNestedProp-CLD3Gk9S.js} +17 -13
- package/dist/{usePrinter-DU_Pi3Rq.js → usePrinter-w23K-ezx.js} +2 -2
- package/dist/{vue-data-ui-BHJOTOQY.js → vue-data-ui-boJG_PFN.js} +64 -64
- package/dist/vue-data-ui.js +96 -96
- package/dist/{vue-ui-3d-bar-rxghnZJO.js → vue-ui-3d-bar-HrbA4DmH.js} +6 -6
- package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
- package/dist/{vue-ui-age-pyramid-gT_SnI-F.js → vue-ui-age-pyramid-CS5384rT.js} +6 -6
- package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
- package/dist/{vue-ui-bullet-DREbhLhy.js → vue-ui-bullet-DaauvX3a.js} +15 -15
- package/dist/{vue-ui-candlestick-D4P15Ci1.js → vue-ui-candlestick-DQXu21Mp.js} +33 -33
- package/dist/{vue-ui-carousel-table-C24KX4gd.js → vue-ui-carousel-table-Bh8Vb6ce.js} +4 -4
- package/dist/{vue-ui-chestnut-BbQknrj0.js → vue-ui-chestnut-BgmAUlUz.js} +32 -32
- package/dist/{vue-ui-chord-BM4_D9kI.js → vue-ui-chord-3NX_jwG_.js} +53 -53
- package/dist/{vue-ui-circle-pack-S4Asc9CS.js → vue-ui-circle-pack-Berb37Aa.js} +29 -29
- package/dist/{vue-ui-cursor-F9MXsQ1K.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
- package/dist/{vue-ui-dashboard-D6LHLdFS.js → vue-ui-dashboard-BzU-96mz.js} +67 -67
- package/dist/{vue-ui-digits-B_8VzLOS.js → vue-ui-digits-ChAz3jSS.js} +2 -2
- package/dist/{vue-ui-donut-B7T8_tP1.js → vue-ui-donut-BBQNmH5y.js} +8 -8
- package/dist/{vue-ui-donut-evolution-DOn-7PnK.js → vue-ui-donut-evolution-BD3_nxd1.js} +55 -55
- package/dist/{vue-ui-dumbbell-Ch66pFUG.js → vue-ui-dumbbell-Ct-YAkFg.js} +7 -7
- package/dist/{vue-ui-flow-DPcsRLJJ.js → vue-ui-flow-CVHjWM9l.js} +63 -63
- package/dist/{vue-ui-funnel-BdcKoacQ.js → vue-ui-funnel-Co79mdnX.js} +36 -36
- package/dist/{vue-ui-galaxy-D3c-O1Op.js → vue-ui-galaxy-D-XFEUfD.js} +46 -46
- package/dist/{vue-ui-gauge-D1zbKzZQ.js → vue-ui-gauge-Cx6eQ1nL.js} +59 -59
- package/dist/{vue-ui-gizmo-CcrANrSX.js → vue-ui-gizmo-D2PHxbS3.js} +3 -3
- package/dist/{vue-ui-heatmap-CcvV9Y14.js → vue-ui-heatmap-D4KCpMN3.js} +7 -7
- package/dist/{vue-ui-history-plot-a0mLhd0L.js → vue-ui-history-plot-Q_Q9g2Es.js} +44 -44
- package/dist/{vue-ui-kpi-BwUpplcm.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
- package/dist/{vue-ui-mini-loader-DBPZOqZA.js → vue-ui-mini-loader-CKMzFSG5.js} +2 -2
- package/dist/{vue-ui-molecule-xsgartoC.js → vue-ui-molecule-Bxs72uED.js} +5 -5
- package/dist/{vue-ui-mood-radar-kl2d5QsL.js → vue-ui-mood-radar-B5wYN9tI.js} +7 -7
- package/dist/{vue-ui-nested-donuts-D9I8_VnP.js → vue-ui-nested-donuts-pt6KriAc.js} +70 -70
- package/dist/{vue-ui-onion-BlxsHavW.js → vue-ui-onion-C8jid2_q.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-DHH6lrbW.js → vue-ui-parallel-coordinate-plot-06wFGFFV.js} +35 -35
- package/dist/{vue-ui-quadrant-DyIQZUPC.js → vue-ui-quadrant-B2dS6aSz.js} +8 -8
- package/dist/{vue-ui-quick-chart-Jfr_Ezh9.js → vue-ui-quick-chart-CrkR07qv.js} +55 -55
- package/dist/{vue-ui-radar-BL_dJV12.js → vue-ui-radar-CkAX2pUE.js} +54 -54
- package/dist/{vue-ui-rating-LiragGSU.js → vue-ui-rating-C0Ubexdn.js} +2 -2
- package/dist/{vue-ui-relation-circle-BrR2W_6V.js → vue-ui-relation-circle-eROPsns9.js} +25 -25
- package/dist/{vue-ui-ridgeline-CpaOYplC.js → vue-ui-ridgeline-AkXpQ6zB.js} +27 -27
- package/dist/{vue-ui-rings-B9TGOwFE.js → vue-ui-rings-DEwCnnwC.js} +38 -38
- package/dist/{vue-ui-scatter-Bq4pSRu_.js → vue-ui-scatter-DzojJVhb.js} +49 -49
- package/dist/{vue-ui-skeleton-BlVnOk2o.js → vue-ui-skeleton-Bp8Ao16B.js} +3 -3
- package/dist/{vue-ui-smiley-DyP9gKYe.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
- package/dist/{vue-ui-spark-trend-Pvdqnqia.js → vue-ui-spark-trend-DqKebrx9.js} +22 -22
- package/dist/{vue-ui-sparkbar-DF6eDrxt.js → vue-ui-sparkbar-BShmZ5Vp.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BR7oFSSF.js → vue-ui-sparkgauge-NX3Z_bFF.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CkOGqy2h.js → vue-ui-sparkhistogram-TBxquo5S.js} +4 -4
- package/dist/{vue-ui-sparkline-DF8bLc-F.js → vue-ui-sparkline-Bw4jxjxk.js} +29 -29
- package/dist/{vue-ui-sparkstackbar-DMkn-0FV.js → vue-ui-sparkstackbar-D8YGkrZ9.js} +3 -3
- package/dist/{vue-ui-stackbar-CUXktGA-.js → vue-ui-stackbar-0Kag52U5.js} +38 -38
- package/dist/{vue-ui-strip-plot-ibdxtil6.js → vue-ui-strip-plot-CU0tiCsd.js} +7 -7
- package/dist/{vue-ui-table-BocHahKB.js → vue-ui-table-B4BTGeKs.js} +17 -17
- package/dist/{vue-ui-table-heatmap-B03YDYck.js → vue-ui-table-heatmap-D-iueyM0.js} +13 -13
- package/dist/{vue-ui-table-sparkline-8mOvfeTL.js → vue-ui-table-sparkline-BnqMY5lk.js} +4 -4
- package/dist/{vue-ui-thermometer-Dq_nJLiU.js → vue-ui-thermometer-Ct3Sr0M1.js} +7 -7
- package/dist/{vue-ui-timer-BLveMseW.js → vue-ui-timer-DsAVvm1H.js} +27 -27
- package/dist/{vue-ui-tiremarks-DMG1_YzV.js → vue-ui-tiremarks-DKNpl_8J.js} +6 -6
- package/dist/{vue-ui-treemap-io-J9w5R.js → vue-ui-treemap-Jdea_p8r.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DqnTF6h2.js → vue-ui-vertical-bar-DE42y9ZI.js} +30 -30
- package/dist/{vue-ui-waffle-X9DHHqlw.js → vue-ui-waffle-CrYeU7zd.js} +75 -75
- package/dist/{vue-ui-wheel-BLBwVpV8.js → vue-ui-wheel-B4Be4Ol6.js} +6 -6
- package/dist/{vue-ui-word-cloud-0GXQqY8G.js → vue-ui-word-cloud-9QkLvAgs.js} +28 -28
- package/dist/{vue-ui-world-5OHPVwxv.js → vue-ui-world-DTwfuIIZ.js} +6 -6
- package/dist/{vue-ui-xy-HW0T1CD8.js → vue-ui-xy-BKzt6d8T.js} +9 -9
- package/dist/{vue-ui-xy-canvas-C4FbbXNQ.js → vue-ui-xy-canvas-BGzMXziC.js} +10 -10
- package/package.json +1 -1
- package/dist/ColorPicker-BO4ntExI.js +0 -135
- package/dist/vue-ui-accordion-BWnxgda4.js +0 -76
- package/dist/vue-ui-annotator-BkHDHfHG.js +0 -2182
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as u, createElementBlock as d, openBlock as m, createElementVNode as t, unref as o } from "vue";
|
|
2
|
-
import { c as n } from "./lib-
|
|
2
|
+
import { c as n } from "./lib-BEpWEyMm.js";
|
|
3
3
|
const s = { class: "vue-ui-element-arrow" }, f = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], c = ["d", "fill"], h = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], y = ["d", "fill"], v = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"], z = {
|
|
4
4
|
__name: "Arrow",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as L, reactive as P, computed as N, onMounted as R, onUnmounted as F, createBlock as I, openBlock as z, Teleport as V, createElementBlock as B, createCommentVNode as j, withModifiers as s, normalizeStyle as D, createElementVNode as o, unref as K, renderSlot as S, createVNode as U, normalizeClass as q, nextTick as A } from "vue";
|
|
2
|
-
import G from "./BaseIcon-
|
|
3
|
-
import { X as J } from "./lib-
|
|
2
|
+
import G from "./BaseIcon-Bz-1GQhu.js";
|
|
3
|
+
import { X as J } from "./lib-BEpWEyMm.js";
|
|
4
4
|
import { _ as Q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = ["xmlns"], _ = { class: "modal-title" }, ee = { class: "draggable-dialog-actions" }, te = {
|
|
6
6
|
__name: "BaseDraggableDialog",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as e, createElementBlock as s, openBlock as i, normalizeClass as k, unref as L } from "vue";
|
|
2
|
-
import { X as l } from "./lib-
|
|
2
|
+
import { X as l } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const M = ["xmlns", "viewBox", "height", "width", "innerHTML"], h = {
|
|
5
5
|
__name: "BaseIcon",
|
|
@@ -187,7 +187,14 @@ const M = ["xmlns", "viewBox", "height", "width", "innerHTML"], h = {
|
|
|
187
187
|
chartChord: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 9 1 Q 2 2 1 9 M 1 11 Q 2 18 9 19 M 11 19 Q 18 18 19 11 M 19 9 Q 18 2 11 1 M 5.683 2.021 C 9 6 13 4 14.893 2.322 M 2.421 4.987 C 14.469 7.137 15.545 12.216 17.361 15.33 M 4.83 17.48 C 9.02 13.773 11.207 14.218 15.433 17.369 M 1.976 14.033 C 11.207 12.735 15.952 9.065 17.213 4.393"/>`,
|
|
188
188
|
tableDialogOpen: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 4 L 1 1 M 10 5 L 10 15 M 5 11.636 L 15 11.655 M 5 8.396 L 15 8.412 M 4 4 L 1 1 L 4 1 M 4 16 L 1 19 M 1 16 L 1 19 L 4 19 M 16 16 L 19 19 M 16 19 L 19 19 L 19 16 M 16 4 L 19 1 M 16 1 L 19 1 L 19 4 M 5 10 L 5 6 C 5 6 5 5 6 5 L 14 5 C 15 5 15 6 15 6 L 15 14 C 15 15 14 15 14 15 L 6 15 C 6 15 5 15 5 14 L 5 10"/>`,
|
|
189
189
|
tableDialogClose: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 4 4 L 1 1 M 4 1 L 4 4 L 1 4 M 16 4 L 19 1 M 16 1 L 16 4 L 19 4 M 16 16 L 19 19 M 19 16 L 16 16 L 16 19 M 4 16 L 1 19 M 1 16 L 4 16 L 4 19 M 10 5 L 10 15 M 5 11.636 L 15 11.655 M 5 8.396 L 15 8.412 M 5 10 L 5 6 C 5 6 5 5 6 5 L 14 5 C 15 5 15 6 15 6 L 15 14 C 15 15 14 15 14 15 L 6 15 C 6 15 5 15 5 14 L 5 10"/>`,
|
|
190
|
-
minimap: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linecap="round" d="M 1 3 C 1 1 4 1 4 3 L 4 17 C 4 19 1 19 1 17 L 1 3 M 4 3 L 16 3 M 4 17 L 16 17 L 16 3 C 16 1 19 1 19 3 L 19 17 C 19 19 16 19 16 17 M 6 11 L 8 14 L 9 8 L 12 11 L 14 5"
|
|
190
|
+
minimap: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linecap="round" d="M 1 3 C 1 1 4 1 4 3 L 4 17 C 4 19 1 19 1 17 L 1 3 M 4 3 L 16 3 M 4 17 L 16 17 L 16 3 C 16 1 19 1 19 3 L 19 17 C 19 19 16 19 16 17 M 6 11 L 8 14 L 9 8 L 12 11 L 14 5"/>`,
|
|
191
|
+
move: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 2 L 10 8 M 10 12 L 10 18 M 8 10 L 2 10 M 12 10 L 18 10 M 7 4 L 10 2 L 13 4 M 4 7 L 2 10 L 4 13 M 7 16 L 10 18 L 13 16 M 16 13 L 18 10 L 16 7"/>`,
|
|
192
|
+
resize: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 12 L 2 17 C 2 17 2 18 3 18 L 8 18 C 8 18 9 18 9 16 L 9 12 C 9 11 8 11 8 11 L 3 11 C 3 11 2 11 2 12 M 6 2 L 9 2 M 11 2 L 14 2 M 16 2 L 17 2 C 18 2 18 3 18 3 L 18 4 M 4 2 L 3 2 C 3 2 2 2 2 3 L 2 4 M 2 6 L 2 9 M 18 6 L 18 9 M 18 16 L 18 17 C 18 18 17 18 17 18 L 16 18 M 14 18 L 11 18 M 18 11 L 18 14"/>`,
|
|
193
|
+
selectAndGroup: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 1 L 3 1 C 4 1 4 2 4 2 L 4 3 C 4 3 4 4 3 4 L 2 4 C 2 4 1 4 1 3 L 1 2 C 1 1 2 1 2 1 M 17 1 L 18 1 C 19 1 19 2 19 2 L 19 3 C 19 4 18 4 18 4 L 17 4 C 17 4 16 4 16 3 L 16 2 C 16 1 17 1 17 1 M 2 19 L 3 19 C 4 19 4 18 4 18 L 4 17 C 4 17 4 16 3 16 L 2 16 C 2 16 1 16 1 17 L 1 18 C 1 19 2 19 2 19 M 17 19 L 18 19 C 18 19 19 19 19 18 L 19 17 C 19 17 19 16 18 16 L 17 16 C 17 16 16 16 16 17 L 16 18 C 16 19 17 19 17 19 M 4 2.497 L 16 2.495 M 2.498 4 L 2.486 16 M 17.508 4 L 17.527 16 M 4 17.49 L 16 17.499 M 6 6 L 6 12 L 12 12 L 12 6 L 6 6 M 8 12 L 8 14 L 14 14 L 14 8 L 12 8"/>`,
|
|
194
|
+
bringToFront: `<path fill="${t.stroke}" d="M 7 6 L 13 6 C 13 6 14 6 14 7 L 14 13 C 14 13 14 14 13 14 L 7 14 C 7 14 6 14 6 13 L 6 7 C 6 7 6 6 7 6"/><path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 8 4 L 8 3 C 8 3 8 2 7 2 L 3 2 C 2 2 2 3 2 3 L 2 7 C 2 8 3 8 3 8 L 4 8 M 12 16 L 12 17 C 12 18 13 18 13 18 L 17 18 C 17 18 18 18 18 17 L 18 13 C 18 13 18 12 17 12 L 16 12"/>`,
|
|
195
|
+
bringToBack: `<path fill="${t.stroke}" d="M 7 13 L 7 10 L 8 10 C 10 10 10 9 10 8 L 10 7 L 13 7 L 13 10 L 12 10 C 11 10 10 10 10 12 L 10 13 L 7 13"/><path fill="none" stroke="${t.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M 11 9 M 9 8 L 9 3 C 9 3 9 2 8 2 L 3 2 C 2 2 2 3 2 3 L 2 8 C 2 9 3 9 3 9 L 8 9 C 9 9 9 8 9 8 M 11 12 L 11 17 C 11 18 12 18 12 18 L 17 18 C 17 18 18 18 18 17 L 18 12 C 18 12 18 11 17 11 L 12 11 C 11 11 11 12 11 12"/>`,
|
|
196
|
+
printer: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 6 13 L 6 17 C 6 18 7 18 7 18 L 13 18 C 13 18 14 18 14 17 L 14 13 C 14 13 14 12 13 12 L 7 12 C 6 12 6 13 6 13 M 5 15 L 3 15 C 3 15 2 15 2 14 L 2 9 C 2 8 3 8 3 8 L 17 8 C 18 8 18 9 18 9 L 18 14 C 18 15 17 15 17 15 L 15 15 M 6 7 L 6 4 C 6 3 7 3 7 3 L 13 3 C 14 3 14 4 14 4 L 14 7"/>`,
|
|
197
|
+
save: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 3 2 L 3 2 L 14 2 L 18 6 L 18 17 C 18 18 17 18 17 18 L 3 18 C 3 18 2 18 2 17 L 2 3 C 2 3 2 2 3 2 M 5 2 L 5 4 C 5 5 6 5 6 5 L 12 5 C 12 5 13 5 13 4 L 13 2 M 10 9 A 1 1 0 0 0 10 13 A 1 1 0 0 0 10 9"/>`
|
|
191
198
|
}));
|
|
192
199
|
return (a, C) => (i(), s("svg", {
|
|
193
200
|
xmlns: L(l),
|
|
@@ -199,7 +206,7 @@ const M = ["xmlns", "viewBox", "height", "width", "innerHTML"], h = {
|
|
|
199
206
|
style: { background: "transparent" }
|
|
200
207
|
}, null, 10, M));
|
|
201
208
|
}
|
|
202
|
-
}, u = /* @__PURE__ */ d(h, [["__scopeId", "data-v-
|
|
209
|
+
}, u = /* @__PURE__ */ d(h, [["__scopeId", "data-v-b8eee6df"]]);
|
|
203
210
|
export {
|
|
204
211
|
u as default
|
|
205
212
|
};
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { ref as u, computed as T, watchEffect as U, onMounted as W, onBeforeUnmount as Y, watch as j, withDirectives as q, createElementBlock as d, openBlock as s, withKeys as A, createElementVNode as i, createCommentVNode as M, createBlock as G, normalizeStyle as a, createVNode as C, withModifiers as n, Fragment as R, renderList as N, Teleport as H, unref as J, nextTick as Q } from "vue";
|
|
2
|
+
import g from "./BaseIcon-Bz-1GQhu.js";
|
|
3
|
+
import { E as X } from "./lib-BEpWEyMm.js";
|
|
4
|
+
import { v as Z } from "./vClickOutside-C6WiFswA.js";
|
|
5
|
+
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const ee = ["onClick"], te = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, oe = ["value"], ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, re = ["value"], ie = {
|
|
7
|
+
__name: "ColorPicker",
|
|
8
|
+
props: {
|
|
9
|
+
value: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "#ffffff"
|
|
12
|
+
},
|
|
13
|
+
size: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "50px"
|
|
16
|
+
},
|
|
17
|
+
backgroundColor: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: "#FFFFFF"
|
|
20
|
+
},
|
|
21
|
+
buttonBorderColor: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "#FFFFFF"
|
|
24
|
+
},
|
|
25
|
+
teleported: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: !1
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
emits: ["update:value"],
|
|
31
|
+
setup(t, { emit: O }) {
|
|
32
|
+
const v = t, F = O, V = u(null), k = u(null), c = u(null), r = u(!1), b = u(!1), m = u({ top: 0, left: 0 }), $ = T(() => ({
|
|
33
|
+
backgroundColor: v.value,
|
|
34
|
+
width: "100%",
|
|
35
|
+
height: "100%",
|
|
36
|
+
cursor: "pointer"
|
|
37
|
+
})), y = T(() => X(v.value));
|
|
38
|
+
function w(o) {
|
|
39
|
+
F("update:value", o), r.value = !1;
|
|
40
|
+
}
|
|
41
|
+
function E(o) {
|
|
42
|
+
F("update:value", o.target.value);
|
|
43
|
+
}
|
|
44
|
+
function x(o) {
|
|
45
|
+
o?.stopPropagation?.(), b.value = !0, c.value?.click();
|
|
46
|
+
}
|
|
47
|
+
function D() {
|
|
48
|
+
r.value = !1;
|
|
49
|
+
}
|
|
50
|
+
function L() {
|
|
51
|
+
!b.value && r.value && D();
|
|
52
|
+
}
|
|
53
|
+
async function K() {
|
|
54
|
+
r.value = !r.value, r.value && v.teleported && (await Q(), B());
|
|
55
|
+
}
|
|
56
|
+
function B() {
|
|
57
|
+
if (!k.value) return;
|
|
58
|
+
const o = k.value.getBoundingClientRect();
|
|
59
|
+
m.value = { top: o.top + 36, left: o.right - 48 };
|
|
60
|
+
}
|
|
61
|
+
function p() {
|
|
62
|
+
r.value && v.teleported && B();
|
|
63
|
+
}
|
|
64
|
+
function f() {
|
|
65
|
+
setTimeout(() => b.value = !1, 0);
|
|
66
|
+
}
|
|
67
|
+
U((o) => {
|
|
68
|
+
const e = c.value;
|
|
69
|
+
if (!e) return;
|
|
70
|
+
const l = () => f(), P = () => f(), S = () => {
|
|
71
|
+
};
|
|
72
|
+
e.addEventListener("blur", l), e.addEventListener("change", P), e.addEventListener("input", S), o(() => {
|
|
73
|
+
e.removeEventListener("blur", l), e.removeEventListener("change", P), e.removeEventListener("input", S);
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
function h() {
|
|
77
|
+
f();
|
|
78
|
+
}
|
|
79
|
+
function I() {
|
|
80
|
+
document.visibilityState === "visible" && f();
|
|
81
|
+
}
|
|
82
|
+
W(() => {
|
|
83
|
+
window.addEventListener("scroll", p, { passive: !0 }), window.addEventListener("resize", p, { passive: !0 }), window.addEventListener("focus", h), document.addEventListener("visibilitychange", I);
|
|
84
|
+
}), Y(() => {
|
|
85
|
+
window.removeEventListener("scroll", p), window.removeEventListener("resize", p), window.removeEventListener("focus", h), document.removeEventListener("visibilitychange", I);
|
|
86
|
+
}), j(
|
|
87
|
+
() => v.value,
|
|
88
|
+
(o) => {
|
|
89
|
+
c.value && (c.value.value = o);
|
|
90
|
+
}
|
|
91
|
+
);
|
|
92
|
+
const z = u([
|
|
93
|
+
"#000000",
|
|
94
|
+
"#FFFFFF",
|
|
95
|
+
"#FF5733",
|
|
96
|
+
"#33FF57",
|
|
97
|
+
"#3357FF",
|
|
98
|
+
"#FFC300",
|
|
99
|
+
"#800080",
|
|
100
|
+
"#FF1493",
|
|
101
|
+
"#00CED1"
|
|
102
|
+
]);
|
|
103
|
+
return (o, e) => q((s(), d("div", {
|
|
104
|
+
ref_key: "wrapperRef",
|
|
105
|
+
ref: V,
|
|
106
|
+
onKeydown: A(L, ["esc"]),
|
|
107
|
+
style: { height: "100%", width: "100%", position: "relative" }
|
|
108
|
+
}, [
|
|
109
|
+
i("button", {
|
|
110
|
+
ref_key: "buttonRef",
|
|
111
|
+
ref: k,
|
|
112
|
+
class: "icon",
|
|
113
|
+
onClick: K,
|
|
114
|
+
style: a($.value),
|
|
115
|
+
type: "button"
|
|
116
|
+
}, [
|
|
117
|
+
C(g, {
|
|
118
|
+
name: "palette",
|
|
119
|
+
stroke: y.value,
|
|
120
|
+
size: 22
|
|
121
|
+
}, null, 8, ["stroke"])
|
|
122
|
+
], 4),
|
|
123
|
+
r.value && !t.teleported ? (s(), d("div", {
|
|
124
|
+
key: 0,
|
|
125
|
+
tabindex: "0",
|
|
126
|
+
class: "vue-ui-color-picker",
|
|
127
|
+
style: a({
|
|
128
|
+
backgroundColor: t.backgroundColor,
|
|
129
|
+
position: "absolute",
|
|
130
|
+
left: "calc(100% + 30px)",
|
|
131
|
+
top: "50%",
|
|
132
|
+
transform: "translateY(-18%)"
|
|
133
|
+
}),
|
|
134
|
+
onMousedown: e[2] || (e[2] = n(() => {
|
|
135
|
+
}, ["stop"])),
|
|
136
|
+
onClick: e[3] || (e[3] = n(() => {
|
|
137
|
+
}, ["stop"])),
|
|
138
|
+
onTouchstart: e[4] || (e[4] = n(() => {
|
|
139
|
+
}, ["stop"]))
|
|
140
|
+
}, [
|
|
141
|
+
(s(!0), d(R, null, N(z.value, (l) => (s(), d("button", {
|
|
142
|
+
key: l,
|
|
143
|
+
class: "vue-ui-color-picker-option",
|
|
144
|
+
type: "button",
|
|
145
|
+
style: a({ backgroundColor: l, outline: `1px solid ${t.buttonBorderColor}` }),
|
|
146
|
+
onClick: () => w(l)
|
|
147
|
+
}, null, 12, ee))), 128)),
|
|
148
|
+
i("button", {
|
|
149
|
+
class: "vue-ui-color-picker-option",
|
|
150
|
+
type: "button",
|
|
151
|
+
style: a({ backgroundColor: t.value, outline: `1px solid ${t.buttonBorderColor}` }),
|
|
152
|
+
onClick: n(x, ["stop"]),
|
|
153
|
+
onMousedown: e[0] || (e[0] = n(() => {
|
|
154
|
+
}, ["stop"])),
|
|
155
|
+
onTouchstart: e[1] || (e[1] = n(() => {
|
|
156
|
+
}, ["stop"]))
|
|
157
|
+
}, [
|
|
158
|
+
i("div", te, [
|
|
159
|
+
C(g, {
|
|
160
|
+
name: "colorPicker",
|
|
161
|
+
stroke: y.value,
|
|
162
|
+
size: 22
|
|
163
|
+
}, null, 8, ["stroke"])
|
|
164
|
+
]),
|
|
165
|
+
i("input", {
|
|
166
|
+
ref_key: "colorInput",
|
|
167
|
+
ref: c,
|
|
168
|
+
type: "color",
|
|
169
|
+
value: t.value,
|
|
170
|
+
class: "hidden-input",
|
|
171
|
+
onInput: E
|
|
172
|
+
}, null, 40, oe)
|
|
173
|
+
], 36)
|
|
174
|
+
], 36)) : M("", !0),
|
|
175
|
+
r.value && t.teleported ? (s(), G(H, {
|
|
176
|
+
key: 1,
|
|
177
|
+
to: "body"
|
|
178
|
+
}, [
|
|
179
|
+
i("div", {
|
|
180
|
+
tabindex: "0",
|
|
181
|
+
class: "vue-ui-color-picker",
|
|
182
|
+
style: a({
|
|
183
|
+
backgroundColor: t.backgroundColor,
|
|
184
|
+
position: "fixed",
|
|
185
|
+
top: m.value.top + "px",
|
|
186
|
+
left: m.value.left + "px",
|
|
187
|
+
zIndex: 2147483647
|
|
188
|
+
}),
|
|
189
|
+
onMousedown: e[7] || (e[7] = n(() => {
|
|
190
|
+
}, ["stop"])),
|
|
191
|
+
onClick: e[8] || (e[8] = n(() => {
|
|
192
|
+
}, ["stop"])),
|
|
193
|
+
onTouchstart: e[9] || (e[9] = n(() => {
|
|
194
|
+
}, ["stop"]))
|
|
195
|
+
}, [
|
|
196
|
+
(s(!0), d(R, null, N(z.value, (l) => (s(), d("button", {
|
|
197
|
+
key: l,
|
|
198
|
+
class: "vue-ui-color-picker-option",
|
|
199
|
+
type: "button",
|
|
200
|
+
style: a({ backgroundColor: l, outline: `1px solid ${t.buttonBorderColor}` }),
|
|
201
|
+
onClick: () => w(l)
|
|
202
|
+
}, null, 12, ne))), 128)),
|
|
203
|
+
i("button", {
|
|
204
|
+
class: "vue-ui-color-picker-option",
|
|
205
|
+
type: "button",
|
|
206
|
+
style: a({ backgroundColor: t.value, outline: `1px solid ${t.buttonBorderColor}` }),
|
|
207
|
+
onClick: n(x, ["stop"]),
|
|
208
|
+
onMousedown: e[5] || (e[5] = n(() => {
|
|
209
|
+
}, ["stop"])),
|
|
210
|
+
onTouchstart: e[6] || (e[6] = n(() => {
|
|
211
|
+
}, ["stop"]))
|
|
212
|
+
}, [
|
|
213
|
+
i("div", le, [
|
|
214
|
+
C(g, {
|
|
215
|
+
name: "colorPicker",
|
|
216
|
+
stroke: y.value,
|
|
217
|
+
size: 22
|
|
218
|
+
}, null, 8, ["stroke"])
|
|
219
|
+
]),
|
|
220
|
+
i("input", {
|
|
221
|
+
ref_key: "colorInput",
|
|
222
|
+
ref: c,
|
|
223
|
+
type: "color",
|
|
224
|
+
value: t.value,
|
|
225
|
+
class: "hidden-input",
|
|
226
|
+
onInput: E
|
|
227
|
+
}, null, 40, re)
|
|
228
|
+
], 36)
|
|
229
|
+
], 36)
|
|
230
|
+
])) : M("", !0)
|
|
231
|
+
], 32)), [
|
|
232
|
+
[J(Z), L]
|
|
233
|
+
]);
|
|
234
|
+
}
|
|
235
|
+
}, ve = /* @__PURE__ */ _(ie, [["__scopeId", "data-v-22a32b57"]]);
|
|
236
|
+
export {
|
|
237
|
+
ve as C
|
|
238
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as A, unref as e, computed as D, ref as k, onMounted as E, createElementBlock as o, openBlock as l, normalizeClass as C, normalizeStyle as r, createCommentVNode as m, createElementVNode as a, withKeys as R, createVNode as B, toDisplayString as I, Fragment as g, renderList as v, renderSlot as N } from "vue";
|
|
2
|
-
import { _ as K } from "./Shape-
|
|
3
|
-
import O from "./BaseIcon-
|
|
2
|
+
import { _ as K } from "./Shape-C_C_OmqR.js";
|
|
3
|
+
import O from "./BaseIcon-Bz-1GQhu.js";
|
|
4
4
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const j = { class: "vue-ui-data-table" }, F = { style: { display: "flex", "align-items": "center", "justify-content": "flex-end", "padding-right": "3px", gap: "3px" } }, L = { style: { width: "12px", height: "12px" } }, M = {
|
|
6
6
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as n, openBlock as a, normalizeStyle as d, renderSlot as r, Fragment as f, renderList as m, normalizeClass as g, createCommentVNode as p, createVNode as h, mergeProps as k, unref as v } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as x } from "./Shape-
|
|
2
|
+
import { ag as y } from "./lib-BEpWEyMm.js";
|
|
3
|
+
import { _ as x } from "./Shape-C_C_OmqR.js";
|
|
4
4
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const b = ["id"], $ = ["onClick", "viewBox"], B = {
|
|
6
6
|
__name: "Legend",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as i, computed as we, onMounted as ke, nextTick as be, onBeforeUnmount as Ce, watch as oe, createElementBlock as x, openBlock as y, Fragment as q, createCommentVNode as Y, normalizeStyle as b, normalizeClass as D, createElementVNode as C, withDirectives as ae, createVNode as M, toDisplayString as re, unref as se, vModelText as ue, withModifiers as ie, renderList as ce } from "vue";
|
|
2
|
-
import { m as $e, d as Se, X as Ae } from "./lib-
|
|
3
|
-
import R from "./BaseIcon-
|
|
4
|
-
import { C as Ee } from "./ColorPicker-
|
|
2
|
+
import { m as $e, d as Se, X as Ae } from "./lib-BEpWEyMm.js";
|
|
3
|
+
import R from "./BaseIcon-Bz-1GQhu.js";
|
|
4
|
+
import { C as Ee } from "./ColorPicker-B-WUqMoV.js";
|
|
5
5
|
import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const Te = {
|
|
7
7
|
class: /* @__PURE__ */ D({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as e, openBlock as t, toDisplayString as o, unref as r } from "vue";
|
|
2
|
-
const n = "3.2.
|
|
2
|
+
const n = "3.2.4", a = { "aria-hidden": "true" }, p = {
|
|
3
3
|
__name: "PackageVersion",
|
|
4
4
|
setup(s) {
|
|
5
5
|
return (c, i) => (t(), e("desc", a, "Composed with Vue Data UI " + o(r(n)), 1));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as c, computed as ge, watch as X, nextTick as le, onMounted as pe, onBeforeUnmount as me, createElementBlock as Y, createCommentVNode as q, openBlock as z, normalizeStyle as x, createElementVNode as C, withDirectives as ae, createVNode as $, normalizeClass as G, toDisplayString as Ae, unref as he, vModelText as oe } from "vue";
|
|
2
|
-
import T from "./BaseIcon-
|
|
3
|
-
import { C as we } from "./ColorPicker-
|
|
4
|
-
import { m as be, d as xe } from "./lib-
|
|
2
|
+
import T from "./BaseIcon-Bz-1GQhu.js";
|
|
3
|
+
import { C as we } from "./ColorPicker-B-WUqMoV.js";
|
|
4
|
+
import { m as be, d as xe } from "./lib-BEpWEyMm.js";
|
|
5
5
|
const ye = {
|
|
6
6
|
class: "vue-ui-pen-and-paper-action",
|
|
7
7
|
style: { padding: "0 !important" }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as u, createElementBlock as r, openBlock as l, createCommentVNode as a, normalizeStyle as d } from "vue";
|
|
2
|
-
import { j as f, k as p } from "./lib-
|
|
2
|
+
import { j as f, k as p } from "./lib-BEpWEyMm.js";
|
|
3
3
|
const g = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], S = ["d", "fill", "stroke", "stroke-width"], x = ["points", "fill", "stroke", "stroke-width"], w = {
|
|
4
4
|
__name: "Shape",
|
|
5
5
|
props: {
|