vue-data-ui 3.11.2 → 3.11.3
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/{BaseDraggableDialog-SswGoxlj.js → BaseDraggableDialog-DkOFC3i0.js} +1 -1
- package/dist/{BaseIcon-CYSJuCRd.js → BaseIcon-ChkHrcVR.js} +80 -64
- package/dist/{BaseZoomControls-C6oe8vvf.js → BaseZoomControls-UBTq1w-W.js} +1 -1
- package/dist/{ColorPicker-Cb8oPDuF.js → ColorPicker-CkdwLp8a.js} +1 -1
- package/dist/{DataTable-DiaJI04f.js → DataTable-CGiFPaGZ.js} +1 -1
- package/dist/{NonSvgPenAndPaper-CEPPMuvv.js → NonSvgPenAndPaper-Bdd9PjYA.js} +2 -2
- package/dist/{PackageVersion-DLxnBD7g.js → PackageVersion-CCyjgVqO.js} +1 -1
- package/dist/{PenAndPaper-B26d81vz.js → PenAndPaper-0patBfc_.js} +4 -4
- package/dist/{Slicer-DbgiQkoS.js → Slicer-BTk0tfPB.js} +1 -1
- package/dist/{SlicerPreview-lQoYQ0EQ.js → SlicerPreview-CPmS8f3p.js} +1 -1
- package/dist/{UserOptions-CZTaqf79.js → UserOptions-Dqf1BW00.js} +182 -182
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-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-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-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +16 -0
- package/dist/{vue-data-ui-DmXXjgzH.js → vue-data-ui-B5xo1S_b.js} +63 -63
- package/dist/vue-data-ui.js +65 -65
- package/dist/{vue-ui-3d-bar-BlSnB7WZ.js → vue-ui-3d-bar-D4WLh88B.js} +3 -3
- package/dist/{vue-ui-accordion-D9NWWdmm.js → vue-ui-accordion-mo-U4GLn.js} +1 -1
- package/dist/{vue-ui-age-pyramid-HMWJtx9j.js → vue-ui-age-pyramid-zxf-lvs7.js} +3 -3
- package/dist/{vue-ui-annotator-C32PJed6.js → vue-ui-annotator-D9JP19cu.js} +3 -3
- package/dist/{vue-ui-bullet-DctD4loO.js → vue-ui-bullet-CAcvHBR4.js} +1 -1
- package/dist/{vue-ui-bump-BsfpeqfE.js → vue-ui-bump-BfafDG5K.js} +4 -4
- package/dist/{vue-ui-candlestick-DP73OFZm.js → vue-ui-candlestick-mvt6jBE6.js} +4 -4
- package/dist/{vue-ui-carousel-table-CgCQaK5U.js → vue-ui-carousel-table-dovaqz98.js} +1 -1
- package/dist/{vue-ui-chestnut-Bm6wE4LM.js → vue-ui-chestnut-DPFcsEG7.js} +4 -4
- package/dist/{vue-ui-chord-BFt2sCpi.js → vue-ui-chord-BW1vyc1i.js} +4 -4
- package/dist/{vue-ui-circle-pack-tfi4NlOn.js → vue-ui-circle-pack-BK1jFp1d.js} +3 -3
- package/dist/{vue-ui-cursor-zV1qbWXc.js → vue-ui-cursor-B4sPYBzb.js} +1 -1
- package/dist/{vue-ui-dag-CsDTgOl7.js → vue-ui-dag-Bj3U_5eC.js} +2 -2
- package/dist/{vue-ui-dashboard-DyBKvorl.js → vue-ui-dashboard-DTD-r0Rk.js} +60 -60
- package/dist/{vue-ui-donut-DoAtemvr.js → vue-ui-donut-CsXux-fq.js} +3 -3
- package/dist/{vue-ui-donut-evolution-D6_zWcpG.js → vue-ui-donut-evolution-CNOgY_0K.js} +4 -4
- package/dist/{vue-ui-dumbbell-NiyEPHg8.js → vue-ui-dumbbell-Bz022M4S.js} +3 -3
- package/dist/{vue-ui-flow-CqcSUcbU.js → vue-ui-flow-CN07kLs9.js} +3 -3
- package/dist/{vue-ui-funnel-D0maBsJP.js → vue-ui-funnel-soL29uCp.js} +4 -4
- package/dist/{vue-ui-galaxy-6tbnIjjx.js → vue-ui-galaxy-Dx1aiUZV.js} +3 -3
- package/dist/{vue-ui-gauge-c0JcmUri.js → vue-ui-gauge-DTg0yhi5.js} +1 -1
- package/dist/{vue-ui-geo-BXLLXqWf.js → vue-ui-geo-9HLHaARF.js} +2 -2
- package/dist/{vue-ui-gizmo-B32eurdz.js → vue-ui-gizmo-D8B7fhb4.js} +1 -1
- package/dist/{vue-ui-heatmap-CHWt3Hkh.js → vue-ui-heatmap-CYbN1IAb.js} +5 -5
- package/dist/{vue-ui-history-plot-C060n7-2.js → vue-ui-history-plot-Db2P3Ere.js} +3 -3
- package/dist/{vue-ui-horizontal-bar-Dc8-sPyq.js → vue-ui-horizontal-bar-CrMimZV_.js} +9 -9
- package/dist/{vue-ui-molecule-CpLNW_Kd.js → vue-ui-molecule-BNVhDvUO.js} +38 -38
- package/dist/{vue-ui-mood-radar-Cn8_SAxS.js → vue-ui-mood-radar-CHhX8TKk.js} +3 -3
- package/dist/{vue-ui-nested-donuts-bbuXuYbx.js → vue-ui-nested-donuts-4n8ssXYD.js} +3 -3
- package/dist/{vue-ui-onion-CJ4ZHa0G.js → vue-ui-onion-B6ss-Efw.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-D1uTKG_a.js → vue-ui-parallel-coordinate-plot-WHBVZHtc.js} +49 -49
- package/dist/{vue-ui-quadrant-DoWhAe1X.js → vue-ui-quadrant-Dxe2RuWm.js} +3 -3
- package/dist/{vue-ui-quick-chart-WTQa0nss.js → vue-ui-quick-chart-g5R2BrZJ.js} +2 -2
- package/dist/{vue-ui-radar-CjWeEjX0.js → vue-ui-radar-GZMz2mtN.js} +29 -29
- package/dist/{vue-ui-relation-circle-DF1BVyZF.js → vue-ui-relation-circle-faBIqTkc.js} +1 -1
- package/dist/{vue-ui-ridgeline-DpoDX2q8.js → vue-ui-ridgeline-BOulgHuE.js} +3 -3
- package/dist/{vue-ui-rings-CgNlzDLR.js → vue-ui-rings-CQHGmqNx.js} +3 -3
- package/dist/{vue-ui-scatter-B6Ionwp7.js → vue-ui-scatter-XhAf7YDd.js} +3 -3
- package/dist/{vue-ui-skeleton-Bs52mnO6.js → vue-ui-skeleton-DyZa4VxH.js} +1 -1
- package/dist/{vue-ui-spark-trend-cPrrXnGa.js → vue-ui-spark-trend-DK-Ankgf.js} +1 -1
- package/dist/{vue-ui-sparkbar-B0ml1xny.js → vue-ui-sparkbar-CyVZKdG8.js} +1 -1
- package/dist/{vue-ui-sparkgauge-CCI8ih4a.js → vue-ui-sparkgauge-CK_FKsfp.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-DAyFha1F.js → vue-ui-sparkhistogram-BDySpJUE.js} +1 -1
- package/dist/{vue-ui-sparkline-D-WamO7n.js → vue-ui-sparkline-b6yuyZIO.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-B1RGKSeg.js → vue-ui-sparkstackbar-uYFMGC9n.js} +1 -1
- package/dist/{vue-ui-stackbar-CYcDJfOF.js → vue-ui-stackbar-DRJFSrbI.js} +4 -4
- package/dist/{vue-ui-stackline-D6cEQ1JM.js → vue-ui-stackline-f8vJpoew.js} +4 -4
- package/dist/{vue-ui-strip-plot-CjDvkGTC.js → vue-ui-strip-plot-DZ3JNaOd.js} +3 -3
- package/dist/{vue-ui-table-y4cdpBq-.js → vue-ui-table-BLzYeFTQ.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CYn_-4-k.js → vue-ui-table-heatmap-D8IpCCve.js} +1 -1
- package/dist/{vue-ui-table-sparkline-P9_eeIHb.js → vue-ui-table-sparkline-DG6b8Yhr.js} +1 -1
- package/dist/{vue-ui-thermometer-BiDFcqPp.js → vue-ui-thermometer-OgKNcfEP.js} +1 -1
- package/dist/{vue-ui-timer-BzptMLtZ.js → vue-ui-timer-BDRFN6C8.js} +2 -2
- package/dist/{vue-ui-tiremarks-BDB8GyYb.js → vue-ui-tiremarks--2DFvsVh.js} +1 -1
- package/dist/{vue-ui-treemap-BjvbnrKs.js → vue-ui-treemap-DbrtxxbE.js} +4 -4
- package/dist/{vue-ui-waffle-BPQZh-J1.js → vue-ui-waffle-CxwyKxvj.js} +3 -3
- package/dist/{vue-ui-wheel-eUoARbR9.js → vue-ui-wheel-Bva1YmnK.js} +1 -1
- package/dist/{vue-ui-word-cloud-gmnqy9BO.js → vue-ui-word-cloud-CvGUKmpI.js} +5 -5
- package/dist/{vue-ui-world-LURvLgLU.js → vue-ui-world-Bbtn1z3S.js} +3 -3
- package/dist/{vue-ui-xy-B9MWqIQh.js → vue-ui-xy-DUywXXI1.js} +5 -5
- package/dist/{vue-ui-xy-canvas-BQse8x4G.js → vue-ui-xy-canvas-2ZiJ3LbK.js} +6 -6
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, reactive as U, computed as q, onMounted as A, onUnmounted as G, createBlock as J, openBlock as S, Teleport as Q, createElementBlock as Y, createCommentVNode as Z, withModifiers as d, normalizeStyle as $, createElementVNode as o, unref as _, renderSlot as x, createVNode as ee, normalizeClass as te, nextTick as ne } from "vue";
|
|
2
|
-
import oe from "./BaseIcon-
|
|
2
|
+
import oe from "./BaseIcon-ChkHrcVR.js";
|
|
3
3
|
import { c as ie, X as re } from "./lib-CVHM9FhP.js";
|
|
4
4
|
import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const de = ["xmlns"], se = { class: "draggable-dialog-actions" }, le = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { X as
|
|
3
|
-
import { _ as
|
|
4
|
-
const
|
|
1
|
+
import { useCssVars as H, computed as l, useSlots as E, createElementBlock as b, openBlock as v, normalizeClass as z, unref as S } from "vue";
|
|
2
|
+
import { X as B } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const X = ["xmlns", "viewBox", "height", "width", "innerHTML"], _ = ["xmlns", "viewBox", "height", "width", "innerHTML"], I = {
|
|
5
5
|
__name: "BaseIcon",
|
|
6
6
|
props: {
|
|
7
7
|
name: String,
|
|
@@ -27,10 +27,10 @@ const _ = ["xmlns", "viewBox", "height", "width", "innerHTML"], I = ["xmlns", "v
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
setup(s) {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
H((o) => ({
|
|
31
|
+
v8d2b66ac: R.value
|
|
32
32
|
}));
|
|
33
|
-
const
|
|
33
|
+
const i = s, D = l(() => i.name === "numbers" ? "0 0 20 21" : "0 0 20 20"), R = l(() => i.spinDuration);
|
|
34
34
|
function $(o, { stroke: n, strokeWidth: e }) {
|
|
35
35
|
return {
|
|
36
36
|
annotator: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" d="M 1 19 L 3 12 C 3 14 3 15 5 15 C 5 17 7 17 8 17 L 1 19 M 3 12 L 14 1 C 15 0 16 1 16 1 L 19 4 C 20 5 19 6 19 6 L 8 17 M 5 15 L 15 5 M 1.667 16.667 L 3.333 18.333 M 12.501 2.501 L 17.5 7.5" /><path d="M 15 5 L 5 15 C 5 17 7 17 8 17 L 17.5 7.5 L 15 5" stroke="none" fill="${n}" style="opacity: 0.3"/>`,
|
|
@@ -156,7 +156,8 @@ const _ = ["xmlns", "viewBox", "height", "width", "innerHTML"], I = ["xmlns", "v
|
|
|
156
156
|
chartStripPlot: `<path stroke="${n}" stroke-width="${e}" fill="none" d="M 4 16 A 1 1 0 0 0 4 18 A 1 1 0 0 0 4 16 M 4 13 A 1 1 0 0 0 4 15 A 1 1 0 0 0 4 13 M 4 9 A 1 1 0 0 0 4 11 A 1 1 0 0 0 4 9 M 8 11 A 1 1 0 0 0 8 13 A 1 1 0 0 0 8 11 M 8 8 A 1 1 0 0 0 8 10 A 1 1 0 0 0 8 8 M 4 2 A 1 1 0 0 0 4 4 A 1 1 0 0 0 4 2 M 12 15 A 1 1 0 0 0 12 17 A 1 1 0 0 0 12 15 M 12 10 A 1 1 0 0 0 12 12 A 1 1 0 0 0 12 10 M 12 7 A 1 1 0 0 0 12 9 A 1 1 0 0 0 12 7 M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 16 12 A 1 1 0 0 0 16 14 A 1 1 0 0 0 16 12 M 16 10 A 1 1 0 0 0 16 12 A 1 1 0 0 0 16 10 M 16 16 A 1 1 0 0 0 16 18 A 1 1 0 0 0 16 16" />`,
|
|
157
157
|
chartDumbbell: `<path stroke="${n}" stroke-width="${e}" stroke-linecap="round" d="M 3 2 A 1 1 0 0 0 3 4 A 1 1 0 0 0 3 2 M 10 2 A 1 1 0 0 0 10 4 A 1 1 0 0 0 10 2 M 4 3 L 9 3 M 5 9 A 1 1 0 0 0 5 11 A 1 1 0 0 0 5 9 M 17 9 A 1 1 0 0 0 17 11 A 1 1 0 0 0 17 9 M 6 10 L 16 10 M 8 16 A 1 1 0 0 0 8 18 A 1 1 0 0 0 8 16 M 15 16 A 1 1 0 0 0 15 18 A 1 1 0 0 0 15 16 M 9 17 L 14 17" />`,
|
|
158
158
|
copyLeft: `<path stroke="${n}" stroke-width="${e}" d="M 10 2 A 1 1 0 0 0 10 18 A 1 1 0 0 0 10 2 M 10 14 A 1 1 0 0 0 10 6 C 10 6 8 6 7 8 M 10 14 C 10 14 8 14 7 12" stroke-linecap="round" stroke-linejoin="round" fill="none"/>`,
|
|
159
|
-
chartWordCloud: `<
|
|
159
|
+
chartWordCloud: `<text x="10" y="10" fill="${n}" text-anchor="middle" font-size="4.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="5.5" y="6" fill="${n}" text-anchor="middle" font-size="2.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="15" y="6" fill="${n}" text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="5" y="13.5" fill="${n}" text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="14.5" y="14.4" fill="${n}" text-anchor="middle" font-size="2.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="10" y="3" fill="${n}" text-anchor="middle" font-size="1.8" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="10" y="17.5" fill="${n}" text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text>`,
|
|
160
|
+
chartWordCloudZh: `<text x="10" y="10" fill="${n}" text-anchor="middle" font-size="6" font-family="Arial" dominant-baseline="middle">词语</text><text x="5" y="5" fill="${n}" text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="15" y="5" fill="${n}" text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="5" fill="${n}" text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="2" fill="${n}" text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="2" y="8" fill="${n}" text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="2" y="11.5" fill="${n}" text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="18" y="8" fill="${n}" text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="18" y="11.5" fill="${n}" text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="5" y="14.5" fill="${n}" text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="15" y="14.5" fill="${n}" text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="14.5" fill="${n}" text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="18" fill="${n}" text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text>`,
|
|
160
161
|
stack: `<path stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 3 L 2 6 L 10 9 L 18 6 L 10 3 M 7 8 L 2 10 L 10 13 L 18 10 L 13 8 M 7 12 L 2 14 L 10 17 L 18 14 L 13 12"/>`,
|
|
161
162
|
unstack: `<path stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 3 L 2 6 L 10 9 L 18 6 L 10 3 M 7 8 L 2 10 L 10 13 L 18 10 L 13 8 M 7 12 L 2 14 L 10 17 L 18 14 L 13 12 M 2 2 L 18 18 M 18 2 L 2 18"/>`,
|
|
162
163
|
window: `<path stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 2 4 L 2 16 C 2 17 3 18 4 18 L 16 18 C 17 18 18 17 18 16 L 18 4 C 18 3 17 2 16 2 L 4 2 C 3 2 2 3 2 4 M 4 5 L 4 8 C 4 9 5 9 5 9 L 8 9 C 9 9 9 8 9 8 L 9 5 C 9 4 8 4 8 4 L 5 4 C 4 4 4 5 4 5 M 16 5 L 16 8 C 16 9 15 9 15 9 L 12 9 C 12 9 11 9 11 8 L 11 5 C 11 4 12 4 12 4 L 15 4 C 15 4 16 4 16 5 M 5 11 C 5 11 4 11 4 12 L 4 15 C 4 16 5 16 5 16 L 8 16 C 8 16 9 16 9 15 L 9 12 C 9 11 8 11 8 11 L 5 11 M 12 11 C 11 11 11 12 11 12 L 11 15 C 11 15 11 16 12 16 L 15 16 C 15 16 16 16 16 15 L 16 12 C 16 11 15 11 15 11 L 12 11 M 6 6" />`,
|
|
@@ -174,7 +175,7 @@ const _ = ["xmlns", "viewBox", "height", "width", "innerHTML"], I = ["xmlns", "v
|
|
|
174
175
|
chartBullet: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" d="M 1 7 L 1 13 L 19 13 L 19 7 L 1 7"/><path fill="${n}" d="M 1 9 L 12 9 L 12 11 L 1 11 Z" stroke="none" stroke-linecap="round"/><path fill="${n}" d="M 15 5 L 15 15 L 16 15 L 16 5 Z" stroke="none" stroke-linecap="round"/>`,
|
|
175
176
|
trash: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" d="M 7 18 L 13 18 C 15 18 15 18 16 6 L 16 6 L 5 6 L 4 6 C 5 18 5 18 7 18 M 3 4 L 17 4 M 8 2 L 12 2 M 10 8 L 10 15 M 7 8 L 7.518 15.01 M 13 8 L 12.454 14.984" />`,
|
|
176
177
|
palette: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" d="M 10 2 A 1 1 0 0 0 10 18 C 10 18 14 18 14 16 C 14 13 12 14 11 13 C 10 10 14 11 15 11 C 20 11 19 2 10 2"/><path stroke="none" fill="${n}" d="M 6 6 A 1 1 0 0 0 8 8 A 1 1 0 0 0 6 6" style="opacity:0.7"/><path fill="${n}" stroke="none" style="opacity:0.5" d="M 6 11 A 1 1 0 0 0 8 13 A 1 1 0 0 0 6 11"/><path fill="${n}" stroke="none" style="opacity:1" d="M 11 5 A 1 1 0 0 0 13 7 A 1 1 0 0 0 11 5"/>`,
|
|
177
|
-
colorPicker: `<path
|
|
178
|
+
colorPicker: `<path d="M 2 16 C 2 17 3 18 4 18 C 5 18 6 16 9 16 L 16 8 L 12 4 L 4 11 M 4 11 C 4 14 2 15 2 16 M 16 8 C 17 9 19 7 18 6 L 14 2 C 13 1 11 3 12 4 M 18 6 C 21 3 17 -1 14 2" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/><path d="M 2 16 C 2 17 3 18 4 18 C 5 18 6 16 9 16 L 13.347 10.989 L 4.022 10.989 L 4 11 M 4 11 C 4 14 2 15 2 16" stroke-linecap="round" stroke-linejoin="round" fill="${n}" style="opacity: 0.4"/>`,
|
|
178
179
|
boxes: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" d="M10 11 6 9 2 11 2 16 6 18 10 16 10 11M10 11 14 9 18 11 18 16 14 18 10 16M6 9 6 4 10 2 14 4 14 9M6 4 10 6 14 4M2 11 6 13 10 11M10 11 14 13 18 11M10 6 10 11M6 13 6 18M14 13 14 18"/><path fill="${n}" stroke="none" style="opacity:0.5" d="M 6 4 L 10 6 L 10 11 L 6 9 L 6 4"/><path fill="${n}" stroke="none" style="opacity:0.5" d="M 2 11 L 6 13 L 6 18 L 2 16 L 2 11"/><path fill="${n}" stroke="none" style="opacity:0.5" d="M 10 11 L 14 13 L 14 18 L 10 16 L 10 11"/>`,
|
|
179
180
|
chartFunnel: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" d="M 9 18 C 10 19 11 18 11 18 L 12 10 L 18 6 L 18 3 C 18 1 2 1 2 3 L 2 6 L 8 10 L 9 18 M 2 3 C 1 6 18 6 18 3"/>`,
|
|
180
181
|
chartHistoryPlot: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" d="M 4 4 A 1 1 0 0 0 6 4 A 1 1 0 0 0 4 4 M 12 2 A 1 1 0 0 0 12 4 A 1 1 0 0 0 12 2 M 17 7 A 1 1 0 0 0 17 9 A 1 1 0 0 0 17 7 M 12 14 A 1 1 0 0 0 12 16 A 1 1 0 0 0 12 14 M 5 12 A 1 1 0 0 0 5 14 A 1 1 0 0 0 5 12 M 6 4 L 11 3 M 12.84 3.582 L 16.267 7.265 M 16.625 8.953 L 12.763 14.297 M 10.999 14.732 L 5.987 13.326 M 1 1 L 1 19 L 19 19"/>`,
|
|
@@ -189,7 +190,7 @@ const _ = ["xmlns", "viewBox", "height", "width", "innerHTML"], I = ["xmlns", "v
|
|
|
189
190
|
htmlTag: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" d="M 6 5 L 1 10 L 6 15 M 14 5 L 19 10 L 14 15 M 7 18 L 13 2"/>`,
|
|
190
191
|
curlyBrackets: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" d="M 5 2 C 3 2 2 3 2 5 L 2.35 7.988 C 2 9 1 9 1 10 C 1 11 2 11 2.396 11.949 L 2 15 C 2 17 3 18 5 18 M 15 2 C 17 2 18 3 18 5 L 17.611 8.035 C 18 9 19 9 19 10 C 19 11 18 11 17.611 12.008 L 18 15 C 18 17 17 18 15 18"/>`,
|
|
191
192
|
curlySpread: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" d="M 5 2 C 3 2 2 3 2 5 L 2.35 7.988 C 2 9 1 9 1 10 C 1 11 2 11 2.396 11.949 L 2 15 C 2 17 3 18 5 18 M 15 2 C 17 2 18 3 18 5 L 17.611 8.035 C 18 9 19 9 19 10 C 19 11 18 11 17.611 12.008 L 18 15 C 18 17 17 18 15 18 M 10 9 A 1 1 0 0 0 10 11 A 1 1 0 0 0 10 9 M 6 9 A 1 1 0 0 0 6 11 A 1 1 0 0 0 6 9 M 14 9 A 1 1 0 0 0 14 11 A 1 1 0 0 0 14 9"/>`,
|
|
192
|
-
text: `<path
|
|
193
|
+
text: `<path d="M 1 3 L 1 1 L 13 1 L 13 4 C 13 5 11 5 11 4 L 11 3 L 8 3 L 8 17 L 9 17 C 10 17 10 19 9 19 L 5 19 C 4 19 4 17 5 17 L 6 17 L 6 3 L 3 3 L 3 4 C 3 5 1 5 1 4 L 1 3 M 11 8 L 19 8" stroke-linecap="round" stroke-linejoin="round" fill="${n}" style="opacity: 1"/><path d="M 14 8 L 19 8 M 11 11 L 19 11 M 11 14 L 19 14" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/>`,
|
|
193
194
|
world: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 A 1 1 0 0 0 10 19 A 1 1 0 0 0 10 1 C 3 4 3 16 10 19 M 10 1 C 17 4 17 16 10 19 M 10 1 L 10 19 M 1 10 L 19 10 M 1 10"/>`,
|
|
194
195
|
eye: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 Q 10 1 19 10 Q 10 19 1 10 M 10 7 A 1 1 0 0 0 10 13 A 1 1 0 0 0 10 7 M 10 9 A 1 1 0 0 0 10 11 A 1 1 0 0 0 10 9"/>`,
|
|
195
196
|
chartRidgeline: `<path fill="none" stroke="${n}" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round" d="M 1 15 L 4 16 L 7 14 L 10 18 L 14 10 L 17 16 L 19 15 M 1 12 L 6 11 L 10 12 L 14 6 M 14 6 L 17 11 L 19 12 M 1 9 L 6 8 L 9 8 L 14 1 L 17 6 L 19 6"/>`,
|
|
@@ -311,15 +312,30 @@ const _ = ["xmlns", "viewBox", "height", "width", "innerHTML"], I = ["xmlns", "v
|
|
|
311
312
|
listType: `<path d="M 7 4 L 18 4 M 7 10 L 18 10 M 7 16 L 18 16" stroke="${n}" stroke-width="${e}" fill="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M 2 3 L 4 3 L 4 5 L 2 5 L 2 3Z" fill="${n}" stroke="${n}" stroke-width="${e / 2}" stroke-linejoin="miter"/><path fill="${n}" d="M 3 9 L 1.8 11 L 4.2 11 L 3 9Z" stroke="${n}" stroke-width="${e / 2}" stroke-linejoin="miter"/><path d="M 3 14.8 A 1 1 0 0 0 3.002 17.2 A 1 1 0 0 0 2.999 14.8" fill="${n}" stroke="${n}" stroke-width="${e / 2}"/>`,
|
|
312
313
|
calendar: `<path d="M 7 1 L 7 4 M 13 1 L 13 4 M 5 3 L 4 3 C 3 3 2 4 2 5 L 2 16 C 2 17 3 18 4 18 L 16 18 C 17 18 18 17 18 16 L 18 5 C 18 4 17 3 16 3 L 15 3 M 9 3 L 11 3 M 2 7 L 18 7" stroke="${n}" stroke-width="${e}" fill="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M 4 10 L 6 10 L 6 11 L 4 11 L 4 10 M 9 10 L 11 10 L 11 11 L 9 11 L 9 10 M 14 10 L 14 11 L 16 11 L 16 10 L 14 10 M 4 14 L 6 14 L 6 15 L 4 15 L 4 14 M 9 14 L 11 14 L 11 15 L 9 15 L 9 14" stroke="${n}" stroke-width="${e / 3}" fill="${n}" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
313
314
|
envelope: `<path d="M 3 5 L 17 5 C 18 5 18 6 18 6 L 18 14 C 18 14 18 15 17 15 L 3 15 C 2 15 2 14 2 14 L 2 6 C 2 6 2 5 3 5 M 3 6 L 10 11 L 17 6 M 3 14 L 8 10 M 12 10 L 17 14" stroke="${n}" stroke-width="${e}" fill="none" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
314
|
-
test: `<path d="M 4 19 L 16 19 C 18 19 18 17 18 17 L 12 9 L 12 3 C 13 3 13 1 12 1 L 8 1 C 7 1 7 3 8 3 L 8 9 L 2 17 C 2 17 2 19 4 19" stroke="${n}" stroke-width="${e}" fill="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M 5 14 C 8 16 11 12 15 14 L 17.141 16.847 C 17.156 17.64 17.07 18.004 16 18 L 4 18 C 3.25 18.014 2.829 17.748 2.866 16.869 L 5 14" stroke="none" fill="${n}" stroke-linecap="round" stroke-linejoin="round" style="opacity: 0.4"/><path d="M 5 14 C 8 16 11 12 15 14" stroke="${n}" stroke-linecap="round" stroke-width="${e / 3}"
|
|
315
|
+
test: `<path d="M 4 19 L 16 19 C 18 19 18 17 18 17 L 12 9 L 12 3 C 13 3 13 1 12 1 L 8 1 C 7 1 7 3 8 3 L 8 9 L 2 17 C 2 17 2 19 4 19" stroke="${n}" stroke-width="${e}" fill="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M 5 14 C 8 16 11 12 15 14 L 17.141 16.847 C 17.156 17.64 17.07 18.004 16 18 L 4 18 C 3.25 18.014 2.829 17.748 2.866 16.869 L 5 14" stroke="none" fill="${n}" stroke-linecap="round" stroke-linejoin="round" style="opacity: 0.4"/><path d="M 5 14 C 8 16 11 12 15 14" stroke="${n}" stroke-linecap="round" stroke-width="${e / 3}"/>`,
|
|
316
|
+
sliders: `<path d="M 2 4 L 4 4 M 2 10 L 12 10 M 2 16 L 4 16 M 6 2 A 1 1 0 0 0 6 6 A 1 1 0 0 0 6 2 M 8 4 L 18 4 M 14 8 A 1 1 0 0 0 14 12 A 1 1 0 0 0 14 8 M 16 10 L 18 10 M 6 14 A 1 1 0 0 0 6 18 A 1 1 0 0 0 6 14 M 8 16 L 18 16" stroke="${n}" stroke-width="${e}" fill="none" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
317
|
+
checkList: `<path d="M 9 4 L 18 4 M 9 10 L 18 10 M 9 16 L 18 16 M 6 1 L 4 5 L 2 3 M 2 9 L 4 11 L 6 7 M 2 15 L 4 17 L 6 13" stroke="${n}" stroke-width="${e}" fill="none" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
318
|
+
bug: `<path d="M 8 2 A 1 1 0 0 0 12 2 M 13 7 A 1 1 0 0 0 7 7 M 7 7 C 7 8 8 8 8 8 L 12 8 C 13 8 13 7 13 7 M 7 6 C 6 6 5 7 5 8 L 5 13 C 5 15 6 17 9 17 L 11 17 C 14 17 15 15 15 13 L 15 8 C 15 7 14 6 13 6 M 10 8 L 10 17 M 5 11 L 2 11 M 15 11 L 18 11 M 5 14 C 4 14 2 15 2 18 M 15 14 C 16 14 18 15 18 18 M 5 8 C 4 8 2 7 2 5 M 15 8 C 16 8 18 7 18 5" stroke="${n}" stroke-width="${e}" fill="none" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
319
|
+
microscope: `<path d="M 9 3 C 9 3 9 2 8 2 L 7 2 C 7 2 6 2 6 3 C 5 3 5 4 5 4 L 5 7 C 5 8 6 8 6 8 L 9 8 C 9 8 10 8 10 7 L 10 4 C 10 4 10 3 9 3 M 6 10 L 9 10 M 5 16 L 10 16 M 2 18 L 18 18 M 10 18 C 19 18 19 5 10 5 M 7 11 L 8 11" stroke="${n}" stroke-width="${e}" fill="none" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
320
|
+
pi: `<path d="M 1 8 C 2 3 4 2 5 2 L 18 2 C 19 2 19 4 18 4 L 15 4 C 15 4 14 8 14 14 C 14 18 17 17 19 14 C 18 21 12 20 12 14 C 12 9 13 4 13 4 L 9 4 C 8 9 7 17 7 17 C 6 20 3 19 3 17 C 7 13 7 4 7 4 C 4 4 3 5 1 8" stroke-linecap="round" stroke-linejoin="round" fill="${n}"/>`,
|
|
321
|
+
export: `<path d="M 10 2 L 10 12 M 7 5 L 10 2 L 13 5 M 5 8 L 4 8 C 3 8 3 9 3 9 L 3 17 C 3 17 3 18 4 18 L 16 18 C 16 18 17 18 17 17 L 17 9 C 17 9 17 8 16 8 L 15 8" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/>`,
|
|
322
|
+
file: `<path d="M 4 2 L 4 18 L 16 18 L 16 7 L 11 2 L 4 2 M 11 2 L 11 7 L 16 7" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/>`,
|
|
323
|
+
filePlus: `<path d="M 4 2 L 4 18 L 16 18 L 16 7 L 11 2 L 4 2 M 11 2 L 11 7 L 16 7 M 10 10 L 10 14 M 8 12 L 12 12" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/>`,
|
|
324
|
+
fileSearch: `<path d="M 4 2 L 4 18 L 7 18 M 15 13 A 1 1 0 0 0 10 16 A 1 1 0 0 0 15 13 M 15 16 L 18 18 M 16 9 L 16 7 L 11 2 L 4 2 M 11 2 L 11 7 L 16 7" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/>`,
|
|
325
|
+
recycle: `<path d="M 7.5 5.5 C 9.5 2.5 11.5 2.5 14.5 7.5 M 16.5 10.5 C 17.5 12.5 17.5 15.5 11.5 15.5 M 7.5 15.5 C 3.5 15.5 2.5 13.5 5.5 8.5 M 11.5 7.5 L 14.5 7.5 L 14.5 4.5 M 13.137 12.893 L 11.5 15.5 L 13.5 17.5 M 2.5 9.5 L 5.5 8.5 L 6.5 11.5" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/>`,
|
|
326
|
+
fileSvg: `<path d="M 18 10 L 18 7 L 13 2 M 13 2 L 13 7 L 18 7 M 13 2 L 2 2 L 2 10" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/><text x="10" y="18.5" fill="${n}" text-anchor="middle" font-size="9" font-family="Arial">SVG</text>`,
|
|
327
|
+
filePdf: `<path d="M 18 10 L 18 7 L 13 2 M 13 2 L 13 7 L 18 7 M 13 2 L 2 2 L 2 10" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/><text x="10" y="18.5" fill="${n}" text-anchor="middle" font-size="9" font-family="Arial">PDF</text>`,
|
|
328
|
+
fileCsv: `<path d="M 18 10 L 18 7 L 13 2 M 13 2 L 13 7 L 18 7 M 13 2 L 2 2 L 2 10" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/><text x="10" y="18.5" fill="${n}" text-anchor="middle" font-size="9" font-family="Arial">CSV</text>`,
|
|
329
|
+
filePng: `<path d="M 18 10 L 18 7 L 13 2 M 13 2 L 13 7 L 18 7 M 13 2 L 2 2 L 2 10" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/><text x="10" y="18.5" fill="${n}" text-anchor="middle" font-size="9" font-family="Arial">PNG</text>`,
|
|
330
|
+
link: `<path d="M 7 13 L 13 7 M 6 9 C 1 14 6 19 11 14 M 9 6 C 14 1 19 6 14 11" stroke-linecap="round" stroke-linejoin="round" stroke="${n}" stroke-width="${e}" fill="none" style="opacity: 1"/>`
|
|
315
331
|
}[o] || "";
|
|
316
332
|
}
|
|
317
|
-
const
|
|
333
|
+
const h = E(), A = l(() => (h.exp?.() || [])[0] || null), w = l(() => (h.sub?.() || [])[0] || null), c = l(() => !!A.value), C = l(() => !!w.value), y = l(() => c.value || C.value), r = l(() => {
|
|
318
334
|
const o = A.value?.props || {};
|
|
319
335
|
return {
|
|
320
336
|
name: o.name,
|
|
321
|
-
stroke: o.stroke ??
|
|
322
|
-
strokeWidth: o["stroke-width"] ?? o.strokeWidth ??
|
|
337
|
+
stroke: o.stroke ?? i.stroke,
|
|
338
|
+
strokeWidth: o["stroke-width"] ?? o.strokeWidth ?? i.strokeWidth,
|
|
323
339
|
size: typeof o.size == "number" ? o.size : null,
|
|
324
340
|
isSpin: !!o.isSpin || !!o["is-spin"],
|
|
325
341
|
spinDuration: o.spinDuration || o["spin-duration"] || "1s"
|
|
@@ -328,14 +344,14 @@ const _ = ["xmlns", "viewBox", "height", "width", "innerHTML"], I = ["xmlns", "v
|
|
|
328
344
|
const o = w.value?.props || {};
|
|
329
345
|
return {
|
|
330
346
|
name: o.name,
|
|
331
|
-
stroke: o.stroke ??
|
|
332
|
-
strokeWidth: o["stroke-width"] ?? o.strokeWidth ??
|
|
347
|
+
stroke: o.stroke ?? i.stroke,
|
|
348
|
+
strokeWidth: o["stroke-width"] ?? o.strokeWidth ?? i.strokeWidth,
|
|
333
349
|
size: typeof o.size == "number" ? o.size : null,
|
|
334
350
|
isSpin: !!o.isSpin || !!o["is-spin"],
|
|
335
351
|
spinDuration: o.spinDuration || o["spin-duration"] || "1s"
|
|
336
352
|
};
|
|
337
353
|
});
|
|
338
|
-
function
|
|
354
|
+
function x(o, n, e = "0.5s") {
|
|
339
355
|
return `
|
|
340
356
|
<animateTransform
|
|
341
357
|
attributeName="transform"
|
|
@@ -347,65 +363,65 @@ const _ = ["xmlns", "viewBox", "height", "width", "innerHTML"], I = ["xmlns", "v
|
|
|
347
363
|
/>
|
|
348
364
|
`;
|
|
349
365
|
}
|
|
350
|
-
const
|
|
366
|
+
const j = l(() => {
|
|
351
367
|
const o = u.value;
|
|
352
368
|
return {
|
|
353
369
|
cx: o.minX + o.width / 2,
|
|
354
370
|
cy: o.minY + o.height / 2
|
|
355
371
|
};
|
|
356
372
|
}), u = l(() => {
|
|
357
|
-
const o = String(
|
|
358
|
-
return { minX: n, minY: e, width:
|
|
373
|
+
const o = String(i.viewBox).trim().split(/\s+/).map(Number), [n, e, t, L] = o.length === 4 ? o : [0, 0, 20, 20];
|
|
374
|
+
return { minX: n, minY: e, width: t, height: L };
|
|
375
|
+
}), f = l(() => {
|
|
376
|
+
const o = i.size || 24;
|
|
377
|
+
return (r.value.size || o * 0.6) / o;
|
|
359
378
|
}), k = l(() => {
|
|
360
|
-
const o =
|
|
361
|
-
return (t.value.size || o * 0.6) / o;
|
|
362
|
-
}), h = l(() => {
|
|
363
|
-
const o = L.size || 24;
|
|
379
|
+
const o = i.size || 24;
|
|
364
380
|
return (M.value.size || o * 0.6) / o;
|
|
365
|
-
}),
|
|
366
|
-
const o = u.value, n =
|
|
367
|
-
return `${
|
|
368
|
-
}),
|
|
369
|
-
const o = u.value, n = o.minX + o.width, e = o.minY,
|
|
370
|
-
return `translate(${a} ${
|
|
371
|
-
}),
|
|
372
|
-
const o = u.value, n = o.minX + o.width, e = o.minY + o.height,
|
|
373
|
-
return `translate(${a} ${
|
|
374
|
-
}),
|
|
381
|
+
}), T = l(() => {
|
|
382
|
+
const o = u.value, n = c.value ? o.height * f.value : 0, e = c.value ? o.height * f.value : 0, t = C.value ? o.height * k.value : 0, L = Math.max(e, t), a = C.value ? o.height * k.value : 0, d = o.minX, p = o.minY - n, Q = o.width + L, N = o.height + n + a;
|
|
383
|
+
return `${d} ${p} ${Q} ${N}`;
|
|
384
|
+
}), Z = l(() => {
|
|
385
|
+
const o = u.value, n = o.minX + o.width, e = o.minY, t = o.height, L = t * f.value, a = n, d = e, p = L / t;
|
|
386
|
+
return `translate(${a} ${d}) translate(${-L / 6} ${-L * 0.8}) scale(${p})`;
|
|
387
|
+
}), P = l(() => {
|
|
388
|
+
const o = u.value, n = o.minX + o.width, e = o.minY + o.height, t = o.height, L = t * k.value, a = n, d = e, p = L / t;
|
|
389
|
+
return `translate(${a} ${d}) translate(${-L / 6} ${L * -0.2}) scale(${p})`;
|
|
390
|
+
}), F = l(() => $(i.name, { stroke: i.stroke, strokeWidth: i.strokeWidth }));
|
|
375
391
|
function m(o) {
|
|
376
392
|
return String(o).replace(/\sstroke="[^"]*"/g, "").replace(/\sstroke-width="[^"]*"/g, "").replace(/\sstroke-linecap="[^"]*"/g, "").replace(/\sstroke-linejoin="[^"]*"/g, "");
|
|
377
393
|
}
|
|
378
|
-
const
|
|
379
|
-
const o = $(
|
|
394
|
+
const O = l(() => {
|
|
395
|
+
const o = $(i.name, { stroke: i.stroke, strokeWidth: i.strokeWidth });
|
|
380
396
|
let n = "";
|
|
381
|
-
if (
|
|
382
|
-
const
|
|
383
|
-
stroke:
|
|
384
|
-
strokeWidth:
|
|
385
|
-
}),
|
|
397
|
+
if (c.value && r.value.name) {
|
|
398
|
+
const t = $(r.value.name, {
|
|
399
|
+
stroke: r.value.stroke,
|
|
400
|
+
strokeWidth: r.value.strokeWidth
|
|
401
|
+
}), L = m(t), { cx: a, cy: d } = j.value;
|
|
386
402
|
n = `
|
|
387
|
-
<g transform="${
|
|
403
|
+
<g transform="${Z.value}">
|
|
388
404
|
<g
|
|
389
|
-
stroke="${
|
|
390
|
-
stroke-width="${
|
|
405
|
+
stroke="${r.value.stroke}"
|
|
406
|
+
stroke-width="${r.value.strokeWidth}"
|
|
391
407
|
stroke-linecap="round"
|
|
392
408
|
stroke-linejoin="round"
|
|
393
409
|
fill="none"
|
|
394
410
|
>
|
|
395
|
-
${
|
|
396
|
-
${
|
|
411
|
+
${r.value.isSpin ? x(a, d, r.value.spinDuration) : ""}
|
|
412
|
+
${L}
|
|
397
413
|
</g>
|
|
398
414
|
</g>
|
|
399
415
|
`;
|
|
400
416
|
}
|
|
401
417
|
let e = "";
|
|
402
418
|
if (C.value && M.value.name) {
|
|
403
|
-
const
|
|
419
|
+
const t = $(M.value.name, {
|
|
404
420
|
stroke: M.value.stroke,
|
|
405
421
|
strokeWidth: M.value.strokeWidth
|
|
406
|
-
}),
|
|
422
|
+
}), L = m(t), { cx: a, cy: d } = j.value;
|
|
407
423
|
e = `
|
|
408
|
-
<g transform="${
|
|
424
|
+
<g transform="${P.value}">
|
|
409
425
|
<g
|
|
410
426
|
stroke="${M.value.stroke}"
|
|
411
427
|
stroke-width="${M.value.strokeWidth}"
|
|
@@ -413,35 +429,35 @@ const _ = ["xmlns", "viewBox", "height", "width", "innerHTML"], I = ["xmlns", "v
|
|
|
413
429
|
stroke-linejoin="round"
|
|
414
430
|
fill="none"
|
|
415
431
|
>
|
|
416
|
-
${M.value.isSpin ?
|
|
417
|
-
${
|
|
432
|
+
${M.value.isSpin ? x(a, d, M.value.spinDuration) : ""}
|
|
433
|
+
${L}
|
|
418
434
|
</g>
|
|
419
435
|
</g>
|
|
420
436
|
`;
|
|
421
437
|
}
|
|
422
438
|
return `${o}${n}${e}`;
|
|
423
|
-
}), g = l(() => y.value ?
|
|
439
|
+
}), g = l(() => y.value ? c.value && !C.value || C.value && !c.value ? i.size * 1.6 : i.size * 2.2 : i.size);
|
|
424
440
|
return (o, n) => y.value ? (v(), b("svg", {
|
|
425
441
|
key: 0,
|
|
426
|
-
xmlns: B
|
|
427
|
-
class:
|
|
428
|
-
viewBox:
|
|
442
|
+
xmlns: S(B),
|
|
443
|
+
class: z({ "spin ": s.isSpin }),
|
|
444
|
+
viewBox: T.value,
|
|
429
445
|
height: g.value,
|
|
430
446
|
width: g.value,
|
|
431
447
|
style: { background: "transparent", display: "block" },
|
|
432
|
-
innerHTML:
|
|
433
|
-
}, null, 10,
|
|
448
|
+
innerHTML: O.value
|
|
449
|
+
}, null, 10, X)) : (v(), b("svg", {
|
|
434
450
|
key: 1,
|
|
435
|
-
xmlns: B
|
|
436
|
-
class:
|
|
437
|
-
viewBox:
|
|
451
|
+
xmlns: S(B),
|
|
452
|
+
class: z({ "spin ": s.isSpin }),
|
|
453
|
+
viewBox: D.value,
|
|
438
454
|
height: s.size,
|
|
439
455
|
width: s.size,
|
|
440
|
-
innerHTML:
|
|
456
|
+
innerHTML: F.value,
|
|
441
457
|
style: { background: "transparent" }
|
|
442
|
-
}, null, 10,
|
|
458
|
+
}, null, 10, _));
|
|
443
459
|
}
|
|
444
|
-
},
|
|
460
|
+
}, q = /* @__PURE__ */ V(I, [["__scopeId", "data-v-3a1dec58"]]);
|
|
445
461
|
export {
|
|
446
|
-
|
|
462
|
+
q as default
|
|
447
463
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as a, openBlock as u, normalizeStyle as m, normalizeClass as d, unref as f, createElementVNode as l, createCommentVNode as z, createVNode as s, toDisplayString as g } from "vue";
|
|
2
2
|
import { m as i, q as y, u as b, h, t as C } from "./lib-CVHM9FhP.js";
|
|
3
|
-
import c from "./BaseIcon-
|
|
3
|
+
import c from "./BaseIcon-ChkHrcVR.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
function v(o, n) {
|
|
6
6
|
const t = i(o);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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 R, createBlock as G, normalizeStyle as a, renderSlot as H, normalizeProps as J, guardReactiveProps as Q, createVNode as C, withModifiers as n, Fragment as M, renderList as N, Teleport as X, unref as Z, nextTick as _ } from "vue";
|
|
2
|
-
import g from "./BaseIcon-
|
|
2
|
+
import g from "./BaseIcon-ChkHrcVR.js";
|
|
3
3
|
import { x as ee } from "./lib-CVHM9FhP.js";
|
|
4
4
|
import { v as oe } from "./vClickOutside-C6WiFswA.js";
|
|
5
5
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -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 p, renderSlot as N } from "vue";
|
|
2
2
|
import { _ as K } from "./Shape-PzdCMGsP.js";
|
|
3
|
-
import O from "./BaseIcon-
|
|
3
|
+
import O from "./BaseIcon-ChkHrcVR.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,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 U, 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
2
|
import { q as $e, d as Se, X as Ae } from "./lib-CVHM9FhP.js";
|
|
3
|
-
import R from "./BaseIcon-
|
|
4
|
-
import { C as Ee } from "./ColorPicker-
|
|
3
|
+
import R from "./BaseIcon-ChkHrcVR.js";
|
|
4
|
+
import { C as Ee } from "./ColorPicker-CkdwLp8a.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.11.
|
|
2
|
+
const n = "3.11.3", 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,6 +1,6 @@
|
|
|
1
1
|
import { ref as v, computed as xe, watch as J, nextTick as ie, onMounted as ye, onBeforeUnmount as Ce, createElementBlock as Z, createCommentVNode as _, openBlock as ee, normalizeStyle as x, createElementVNode as S, withDirectives as ve, renderSlot as L, createVNode as R, withCtx as ke, normalizeProps as M, guardReactiveProps as F, normalizeClass as W, toDisplayString as Se, unref as Ee, vModelText as ce } from "vue";
|
|
2
|
-
import Q from "./BaseIcon-
|
|
3
|
-
import { C as Be } from "./ColorPicker-
|
|
2
|
+
import Q from "./BaseIcon-ChkHrcVR.js";
|
|
3
|
+
import { C as Be } from "./ColorPicker-CkdwLp8a.js";
|
|
4
4
|
import { q as $e, d as Le } from "./lib-CVHM9FhP.js";
|
|
5
5
|
const Re = {
|
|
6
6
|
class: "vue-ui-pen-and-paper-action",
|
|
@@ -332,7 +332,7 @@ const Re = {
|
|
|
332
332
|
}, [
|
|
333
333
|
L(n.$slots, "annotator-action-undo", M(F({ disabled: !b.value.length })), () => [
|
|
334
334
|
R(Q, {
|
|
335
|
-
name: "
|
|
335
|
+
name: "refresh",
|
|
336
336
|
stroke: d.color
|
|
337
337
|
}, null, 8, ["stroke"])
|
|
338
338
|
])
|
|
@@ -347,7 +347,7 @@ const Re = {
|
|
|
347
347
|
}, [
|
|
348
348
|
L(n.$slots, "annotator-action-redo", M(F({ disabled: !y.value.length })), () => [
|
|
349
349
|
R(Q, {
|
|
350
|
-
name: "
|
|
350
|
+
name: "refresh",
|
|
351
351
|
stroke: d.color,
|
|
352
352
|
style: { transform: "scaleX(-1)" }
|
|
353
353
|
}, null, 8, ["stroke"])
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as Ot, computed as s, ref as d, onMounted as lt, onBeforeUnmount as Le, watch as Z, nextTick as ve, onUpdated as Ut, createElementBlock as i, openBlock as u, createElementVNode as P, createCommentVNode as m, renderSlot as Zt, normalizeStyle as L, createVNode as Yt, withDirectives as at, unref as me, Fragment as M, renderList as R, normalizeProps as Jt, mergeProps as qt, normalizeClass as Y, vModelText as nt, toDisplayString as $e } from "vue";
|
|
2
2
|
import { c as Kt, X as Qt, x as Ee, z as it, A as ut, B as ot, C as rt, D as st } from "./lib-CVHM9FhP.js";
|
|
3
3
|
import { t as ct, d as jt, u as _t } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import el from "./BaseIcon-
|
|
4
|
+
import el from "./BaseIcon-ChkHrcVR.js";
|
|
5
5
|
import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const ll = {
|
|
7
7
|
class: "vue-data-ui-slicer-labels",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as ol, computed as s, ref as d, watch as Q, onMounted as rl, onBeforeUnmount as De, onUpdated as dt, nextTick as xe, createElementBlock as i, openBlock as u, createElementVNode as L, createCommentVNode as v, renderSlot as ft, normalizeStyle as R, createVNode as sl, withDirectives as gt, unref as pe, Fragment as y, renderList as S, normalizeProps as yt, mergeProps as xt, normalizeClass as _, withKeys as pt, vModelText as bt, toDisplayString as ze } from "vue";
|
|
2
2
|
import { c as cl, y as vl, X as ml, x as We, z as Mt, A as kt, B as wt, C as St, D as Ct } from "./lib-CVHM9FhP.js";
|
|
3
3
|
import { t as Xe, d as hl, u as dl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import fl from "./BaseIcon-
|
|
4
|
+
import fl from "./BaseIcon-ChkHrcVR.js";
|
|
5
5
|
import { _ as gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const yl = {
|
|
7
7
|
class: "vue-data-ui-slicer-labels",
|