vue-data-ui 3.27.0 → 3.27.1-beta.0
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/A11yDataTable-DWNlWXzs.js +1 -0
- package/dist/Arrow-CJeSufxg.js +1 -0
- package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
- package/dist/BaseIcon-Cz30ODFA.js +1 -0
- package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
- package/dist/BaseScanner-8NdoBs7B.js +1 -0
- package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
- package/dist/ColorPicker-CUjEw53A.js +1 -0
- package/dist/DataTable-DSUA5M9p.js +1 -0
- package/dist/DefGrad-DKMq1REY.js +1 -0
- package/dist/HillActions-DdvXld3a.js +1 -0
- package/dist/Legend-DokTll4u.js +1 -0
- package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
- package/dist/PackageVersion-D6pKL176.js +1 -0
- package/dist/PenAndPaper-DvJJaeU2.js +1 -0
- package/dist/RecursiveCircles-BftI1kwF.js +1 -0
- package/dist/RecursiveLabels-B0d04xSj.js +1 -0
- package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
- package/dist/Shape-tkp65OcG.js +1 -0
- package/dist/SlicerPreview-GFRs2EWB.js +1 -0
- package/dist/SparkTooltip-BlJLvizH.js +1 -0
- package/dist/Title-BRAjxtjG.js +1 -0
- package/dist/Tooltip-BUXB0i6z.js +1 -0
- package/dist/UserOptions-D65t74CM.js +1 -0
- package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/annotationSlots-BRR85CqJ.js +1 -0
- package/dist/chartImage-NwZO-elv.js +1 -0
- package/dist/components/arrow.js +1 -2
- package/dist/components/vue-ui-3d-bar.js +1 -2
- package/dist/components/vue-ui-accordion.js +1 -2
- package/dist/components/vue-ui-age-pyramid.js +1 -2
- package/dist/components/vue-ui-annotator.js +1 -2
- package/dist/components/vue-ui-bullet.js +1 -2
- package/dist/components/vue-ui-bump.js +1 -2
- package/dist/components/vue-ui-candlestick.js +1 -2
- package/dist/components/vue-ui-carousel-table.js +1 -2
- package/dist/components/vue-ui-chestnut.js +1 -2
- package/dist/components/vue-ui-chord.js +1 -2
- package/dist/components/vue-ui-circle-pack.js +1 -2
- package/dist/components/vue-ui-cursor.js +1 -2
- package/dist/components/vue-ui-dag.js +1 -2
- package/dist/components/vue-ui-dashboard.js +1 -2
- package/dist/components/vue-ui-digits.js +1 -2
- package/dist/components/vue-ui-donut-evolution.js +1 -2
- package/dist/components/vue-ui-donut.js +1 -2
- package/dist/components/vue-ui-dumbbell.js +1 -2
- package/dist/components/vue-ui-flow.js +1 -2
- package/dist/components/vue-ui-funnel.js +1 -2
- package/dist/components/vue-ui-galaxy.js +1 -2
- package/dist/components/vue-ui-gauge.js +1 -2
- package/dist/components/vue-ui-geo.js +1 -2
- package/dist/components/vue-ui-gizmo.js +1 -2
- package/dist/components/vue-ui-heatmap.js +1 -2
- package/dist/components/vue-ui-hill.js +1 -2
- package/dist/components/vue-ui-history-plot.js +1 -2
- package/dist/components/vue-ui-horizontal-bar.js +1 -2
- package/dist/components/vue-ui-icon.js +1 -2
- package/dist/components/vue-ui-kpi.js +1 -2
- package/dist/components/vue-ui-label.js +1 -2
- package/dist/components/vue-ui-mini-loader.js +1 -2
- package/dist/components/vue-ui-molecule.js +1 -2
- package/dist/components/vue-ui-mood-radar.js +1 -2
- package/dist/components/vue-ui-nested-donuts.js +1 -2
- package/dist/components/vue-ui-onion.js +1 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
- package/dist/components/vue-ui-pattern-seed.js +1 -2
- package/dist/components/vue-ui-pattern.js +1 -2
- package/dist/components/vue-ui-quadrant.js +1 -2
- package/dist/components/vue-ui-quick-chart.js +1 -2
- package/dist/components/vue-ui-radar.js +1 -2
- package/dist/components/vue-ui-rating.js +1 -2
- package/dist/components/vue-ui-relation-circle.js +1 -2
- package/dist/components/vue-ui-ridgeline.js +1 -2
- package/dist/components/vue-ui-rings.js +1 -2
- package/dist/components/vue-ui-scatter.js +1 -2
- package/dist/components/vue-ui-skeleton.js +1 -2
- package/dist/components/vue-ui-smiley.js +1 -2
- package/dist/components/vue-ui-spark-trend.js +1 -2
- package/dist/components/vue-ui-sparkbar.js +1 -2
- package/dist/components/vue-ui-sparkgauge.js +1 -2
- package/dist/components/vue-ui-sparkhistogram.js +1 -2
- package/dist/components/vue-ui-sparkline.js +1 -2
- package/dist/components/vue-ui-sparkstackbar.js +1 -2
- package/dist/components/vue-ui-stackbar.js +1 -2
- package/dist/components/vue-ui-stackline.js +1 -2
- package/dist/components/vue-ui-strip-plot.js +1 -2
- package/dist/components/vue-ui-table-heatmap.js +1 -2
- package/dist/components/vue-ui-table-sparkline.js +1 -2
- package/dist/components/vue-ui-table.js +1 -2
- package/dist/components/vue-ui-thermometer.js +1 -2
- package/dist/components/vue-ui-timer.js +1 -2
- package/dist/components/vue-ui-tiremarks.js +1 -2
- package/dist/components/vue-ui-treemap.js +1 -2
- package/dist/components/vue-ui-vertical-bar.js +1 -2
- package/dist/components/vue-ui-waffle.js +1 -2
- package/dist/components/vue-ui-wheel.js +1 -2
- package/dist/components/vue-ui-word-cloud.js +1 -2
- package/dist/components/vue-ui-world.js +1 -2
- package/dist/components/vue-ui-xy-canvas.js +1 -2
- package/dist/components/vue-ui-xy.js +1 -2
- package/dist/composables.js +1 -5
- package/dist/dom-to-png-Cp3WLHmJ.js +3 -0
- package/dist/exposedLib-CMTeSmyW.js +1 -0
- package/dist/geoProjections-Bvj-eMvq.js +1 -0
- package/dist/img-8sM3sVWU.js +1 -0
- package/dist/labelUtils-Djp5nJtN.js +1 -0
- package/dist/lib-zDxoqrgo.js +12 -0
- package/dist/package-DIR2F6AE.js +1 -0
- package/dist/patternUtils-_q3ArM3g.js +1 -0
- package/dist/pdf-Dlv_ks7R.js +1 -0
- package/dist/render-common-DOYi0f4Z.js +1 -0
- package/dist/resolveChartConfig-BSo1Oe9n.js +1 -0
- package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
- package/dist/ssr/vue-ui-donut.js +1 -2
- package/dist/ssr/vue-ui-xy.js +1 -2
- package/dist/ssr.js +1 -3
- package/dist/style.css +1 -1
- package/dist/tableIntegration-CNoJ1CIY.js +1 -0
- package/dist/types/composables.d.ts +12 -12
- package/dist/types/ssr.d.ts +84 -84
- package/dist/types/utils.d.ts +82 -73
- package/dist/types/vue-data-ui.d.ts +17961 -17958
- package/dist/types/vue-ui-3d-bar.d.ts +24 -91
- package/dist/types/vue-ui-accordion.d.ts +2 -10
- package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
- package/dist/types/vue-ui-annotator.d.ts +12 -88
- package/dist/types/vue-ui-bullet.d.ts +21 -83
- package/dist/types/vue-ui-bump.d.ts +23 -90
- package/dist/types/vue-ui-candlestick.d.ts +27 -108
- package/dist/types/vue-ui-carousel-table.d.ts +11 -57
- package/dist/types/vue-ui-chestnut.d.ts +27 -96
- package/dist/types/vue-ui-chord.d.ts +31 -108
- package/dist/types/vue-ui-circle-pack.d.ts +30 -124
- package/dist/types/vue-ui-cursor.d.ts +2 -8
- package/dist/types/vue-ui-dag.d.ts +35 -125
- package/dist/types/vue-ui-dashboard.d.ts +18 -66
- package/dist/types/vue-ui-digits.d.ts +2 -11
- package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
- package/dist/types/vue-ui-donut.d.ts +31 -121
- package/dist/types/vue-ui-dumbbell.d.ts +24 -92
- package/dist/types/vue-ui-flow.d.ts +28 -104
- package/dist/types/vue-ui-funnel.d.ts +18 -77
- package/dist/types/vue-ui-galaxy.d.ts +30 -112
- package/dist/types/vue-ui-gauge.d.ts +22 -87
- package/dist/types/vue-ui-geo.d.ts +22 -92
- package/dist/types/vue-ui-gizmo.d.ts +5 -20
- package/dist/types/vue-ui-heatmap.d.ts +25 -101
- package/dist/types/vue-ui-hill.d.ts +22 -88
- package/dist/types/vue-ui-history-plot.d.ts +30 -112
- package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
- package/dist/types/vue-ui-icon.d.ts +1 -13
- package/dist/types/vue-ui-kpi.d.ts +5 -23
- package/dist/types/vue-ui-label.d.ts +11 -48
- package/dist/types/vue-ui-mini-loader.d.ts +4 -13
- package/dist/types/vue-ui-molecule.d.ts +27 -110
- package/dist/types/vue-ui-mood-radar.d.ts +23 -90
- package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
- package/dist/types/vue-ui-onion.d.ts +26 -104
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
- package/dist/types/vue-ui-pattern.d.ts +1 -13
- package/dist/types/vue-ui-quadrant.d.ts +33 -123
- package/dist/types/vue-ui-quick-chart.d.ts +30 -110
- package/dist/types/vue-ui-radar.d.ts +31 -114
- package/dist/types/vue-ui-rating.d.ts +8 -40
- package/dist/types/vue-ui-relation-circle.d.ts +26 -90
- package/dist/types/vue-ui-ridgeline.d.ts +27 -104
- package/dist/types/vue-ui-rings.d.ts +21 -96
- package/dist/types/vue-ui-scatter.d.ts +22 -95
- package/dist/types/vue-ui-skeleton.d.ts +2 -10
- package/dist/types/vue-ui-smiley.d.ts +6 -26
- package/dist/types/vue-ui-spark-trend.d.ts +2 -18
- package/dist/types/vue-ui-sparkbar.d.ts +10 -47
- package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
- package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
- package/dist/types/vue-ui-sparkline.d.ts +16 -61
- package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
- package/dist/types/vue-ui-stackbar.d.ts +36 -130
- package/dist/types/vue-ui-stackline.d.ts +29 -116
- package/dist/types/vue-ui-strip-plot.d.ts +22 -96
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
- package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
- package/dist/types/vue-ui-table.d.ts +9 -36
- package/dist/types/vue-ui-thermometer.d.ts +14 -68
- package/dist/types/vue-ui-timer.d.ts +10 -47
- package/dist/types/vue-ui-tiremarks.d.ts +14 -68
- package/dist/types/vue-ui-treemap.d.ts +26 -105
- package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
- package/dist/types/vue-ui-waffle.d.ts +23 -99
- package/dist/types/vue-ui-wheel.d.ts +14 -68
- package/dist/types/vue-ui-word-cloud.d.ts +20 -95
- package/dist/types/vue-ui-world.d.ts +22 -96
- package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
- package/dist/types/vue-ui-xy.d.ts +42 -146
- package/dist/unpackTheme-CNsFKCeq.js +1 -0
- package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
- package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
- package/dist/useChartExport-DtPNpc9M.js +1 -0
- package/dist/useConfig-CKdzPrcf.js +1 -0
- package/dist/useFitSvgText-C1QC4P5G.js +1 -0
- package/dist/useHints-BH9r_0Vd.js +6 -0
- package/dist/useNestedProp-CT9phgWx.js +1 -0
- package/dist/useObjectBindings-DM3xDKV3.js +1 -0
- package/dist/usePanZoom-BdjP5Suc.js +1 -0
- package/dist/usePrefersMotion-XLHwega2.js +1 -0
- package/dist/usePrinter-CnyKPIFM.js +1 -0
- package/dist/useResponsive-D2CPcpda.js +1 -0
- package/dist/useStableElementSize-CegFbRlF.js +1 -0
- package/dist/useTableResponsive-uSz_qZOB.js +1 -0
- package/dist/useThemeCheck-BKNRbGeC.js +1 -0
- package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
- package/dist/useTimeLabels-Das5O74F.js +1 -0
- package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
- package/dist/useTransitions-DfSHzsdz.js +1 -0
- package/dist/useUserOptionState-CXlFnwPv.js +1 -0
- package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
- package/dist/utils.js +1 -30
- package/dist/vClickOutside-BxNzkY17.js +1 -0
- package/dist/vue-data-ui-BG41UScx.js +1 -0
- package/dist/vue-data-ui.js +1 -79
- package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
- package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
- package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
- package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
- package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
- package/dist/vue-ui-bump-DYajIrva.js +10 -0
- package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
- package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
- package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
- package/dist/vue-ui-chord-fAckHfOW.js +21 -0
- package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
- package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
- package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
- package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
- package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
- package/dist/vue-ui-donut-BaEodt-3.js +22 -0
- package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
- package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
- package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
- package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
- package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
- package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
- package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
- package/dist/vue-ui-geo-CX3yH18H.js +1 -0
- package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
- package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
- package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
- package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
- package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
- package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
- package/dist/vue-ui-label-D1Aog-zO.js +7 -0
- package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
- package/dist/vue-ui-molecule-B13qVX71.js +1 -0
- package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
- package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
- package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.js +9 -0
- package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
- package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
- package/dist/vue-ui-quadrant-CPG6yAiu.js +2 -0
- package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
- package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
- package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
- package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
- package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
- package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
- package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
- package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
- package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
- package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
- package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
- package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
- package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
- package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
- package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
- package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
- package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
- package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
- package/dist/vue-ui-table-Br2JgD_L.js +14 -0
- package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
- package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
- package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
- package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
- package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
- package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
- package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
- package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
- package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
- package/dist/vue-ui-world-Cp0DeauH.js +19 -0
- package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
- package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
- package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -0
- package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
- package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
- package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
- package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
- package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
- package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
- package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
- package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
- package/dist/vue_ui_dag-1b_dLSym.js +1 -0
- package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
- package/dist/vue_ui_donut_evolution-nzVwNQYv.js +1 -0
- package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
- package/dist/vue_ui_flow-kvV56Es9.js +1 -0
- package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
- package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
- package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
- package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
- package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
- package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
- package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
- package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
- package/dist/vue_ui_label-dtPqyFsj.js +1 -0
- package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
- package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
- package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
- package/dist/vue_ui_onion-C9BedU_-.js +1 -0
- package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
- package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
- package/dist/vue_ui_quick_chart-Da1GwklM.js +1 -0
- package/dist/vue_ui_radar-68iK9Fam.js +1 -0
- package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
- package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
- package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
- package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
- package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
- package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
- package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
- package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
- package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
- package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
- package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
- package/dist/vue_ui_stackline-D7b63K84.js +1 -0
- package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
- package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
- package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
- package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
- package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
- package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
- package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
- package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
- package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
- package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
- package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
- package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
- package/package.json +2 -2
- package/dist/A11yDataTable-DdRsVULz.js +0 -45
- package/dist/Arrow-DKO1l8oR.js +0 -116
- package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
- package/dist/BaseIcon-Cx9FD751.js +0 -484
- package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
- package/dist/BaseScanner-Dzc8VT3j.js +0 -30
- package/dist/BaseZoomControls-vNi8YykO.js +0 -111
- package/dist/ColorPicker-hmC2bvwS.js +0 -257
- package/dist/DataTable-CjF_An2h.js +0 -150
- package/dist/DefGrad-DVBqDjhO.js +0 -48
- package/dist/HillActions-DqqGB33u.js +0 -187
- package/dist/Legend-CulFgjUY.js +0 -156
- package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
- package/dist/PackageVersion-D7H9nfK0.js +0 -12
- package/dist/PenAndPaper-CNiuGw6k.js +0 -906
- package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
- package/dist/RecursiveLabels-D9rfID6q.js +0 -56
- package/dist/RecursiveLinks-BygcpDiT.js +0 -78
- package/dist/Shape-DSwamtmO.js +0 -143
- package/dist/SlicerPreview-k5YerMA9.js +0 -1730
- package/dist/SparkTooltip-D35KVv6N.js +0 -93
- package/dist/Title-BMCuINbv.js +0 -87
- package/dist/Tooltip-C4ZTwkLF.js +0 -312
- package/dist/UserOptions-CORYQiif.js +0 -1412
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/dom-to-png-CBusMkua.js +0 -237
- package/dist/exposedLib-UNxZlnAS.js +0 -28
- package/dist/geoProjections-BYthUA8l.js +0 -302
- package/dist/img-Bb5rHcpO.js +0 -129
- package/dist/labelUtils-Ccn9kK7T.js +0 -19
- package/dist/lib-D4wK6ljP.js +0 -2146
- package/dist/package-DmQufM0G.js +0 -4
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-BzIQHx-F.js +0 -90
- package/dist/render-common-BtfjXdkJ.js +0 -152
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
- package/dist/useChartAccessibility-DYqac8yF.js +0 -12
- package/dist/useChartExport-iwOqiIWX.js +0 -803
- package/dist/useConfig-D_6ZrPMD.js +0 -8090
- package/dist/useFitSvgText-CXTzBplU.js +0 -65
- package/dist/useHints-Dq_w2E8B.js +0 -66
- package/dist/useNestedProp-DR_8JPol.js +0 -12
- package/dist/useObjectBindings-DvasYMGu.js +0 -191
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-DdW2GSm0.js +0 -49
- package/dist/useResponsive-ZtArZtUf.js +0 -97
- package/dist/useStableElementSize-C7KADDKj.js +0 -77
- package/dist/useTableResponsive-BAqJPR68.js +0 -25
- package/dist/useThemeCheck-C43Tcqmk.js +0 -24
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
- package/dist/useTimeLabels-d2f-W1L4.js +0 -270
- package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
- package/dist/useTransitions-g_zBREk2.js +0 -39
- package/dist/useUserOptionState-DK-_1ddE.js +0 -15
- package/dist/vClickOutside-DUrZWttG.js +0 -13
- package/dist/vue-data-ui-Df7WV80w.js +0 -191
- package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
- package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
- package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
- package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
- package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
- package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
- package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
- package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
- package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
- package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
- package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
- package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
- package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
- package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
- package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
- package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
- package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
- package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
- package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
- package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
- package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
- package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
- package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
- package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
- package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
- package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
- package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
- package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
- package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
- package/dist/vue-ui-label-r3-QloJL.js +0 -1451
- package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
- package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
- package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
- package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
- package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
- package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
- package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
- package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
- package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
- package/dist/vue-ui-rating-C_iTttXB.js +0 -359
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
- package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
- package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
- package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
- package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
- package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
- package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
- package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
- package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
- package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
- package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
- package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
- package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
- package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
- package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
- package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
- package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
- package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
- package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
- package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
- package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
- package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
- package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
- package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
- package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
- package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
- package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
- package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
- package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
- package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
- package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
- package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
- package/dist/vue_ui_donut-BDGqG07h.js +0 -358
- package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
- package/dist/vue_ui_flow-BewZjjKG.js +0 -238
- package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
- package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
- package/dist/vue_ui_geo-B8TODs-G.js +0 -248
- package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
- package/dist/vue_ui_hill-dnltu0L-.js +0 -368
- package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
- package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
- package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
- package/dist/vue_ui_onion-1FTFFS46.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
- package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
- package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
- package/dist/vue_ui_radar-jafTED5j.js +0 -306
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
- package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
- package/dist/vue_ui_scatter-I0POnicu.js +0 -479
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
- package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
- package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
- package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
- package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
- package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
- package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
- package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
- package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
- package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
- package/dist/vue_ui_xy-CcJADijP.js +0 -614
- package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
|
@@ -1,577 +0,0 @@
|
|
|
1
|
-
import { $ as e, Ft as t, X as n, t as r } from "./lib-D4wK6ljP.js";
|
|
2
|
-
import { t as i } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { t as a } from "./BaseIcon-Cx9FD751.js";
|
|
4
|
-
import { t as o } from "./ColorPicker-hmC2bvwS.js";
|
|
5
|
-
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, guardReactiveProps as p, nextTick as ee, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as te, onMounted as ne, openBlock as _, ref as v, renderList as y, renderSlot as b, toDisplayString as x, unref as re, vModelText as ie, watch as S, withCtx as ae, withDirectives as oe, withModifiers as se } from "vue";
|
|
6
|
-
//#region src/atoms/NonSvgPenAndPaper.vue
|
|
7
|
-
var ce = ["disabled"], le = [
|
|
8
|
-
"data-mode",
|
|
9
|
-
"xmlns",
|
|
10
|
-
"viewBox"
|
|
11
|
-
], ue = [
|
|
12
|
-
"cx",
|
|
13
|
-
"cy",
|
|
14
|
-
"r",
|
|
15
|
-
"fill"
|
|
16
|
-
], de = [
|
|
17
|
-
"x1",
|
|
18
|
-
"y1",
|
|
19
|
-
"x2",
|
|
20
|
-
"y2",
|
|
21
|
-
"stroke",
|
|
22
|
-
"stroke-width"
|
|
23
|
-
], fe = [
|
|
24
|
-
"x1",
|
|
25
|
-
"y1",
|
|
26
|
-
"x2",
|
|
27
|
-
"y2",
|
|
28
|
-
"stroke",
|
|
29
|
-
"stroke-width",
|
|
30
|
-
"marker-end"
|
|
31
|
-
], pe = [
|
|
32
|
-
"d",
|
|
33
|
-
"stroke",
|
|
34
|
-
"stroke-width"
|
|
35
|
-
], me = [
|
|
36
|
-
"x",
|
|
37
|
-
"y",
|
|
38
|
-
"fill",
|
|
39
|
-
"font-size"
|
|
40
|
-
], he = ["x", "dy"], ge = [
|
|
41
|
-
"d",
|
|
42
|
-
"stroke",
|
|
43
|
-
"stroke-width"
|
|
44
|
-
], _e = /*#__PURE__*/ i({
|
|
45
|
-
__name: "NonSvgPenAndPaper",
|
|
46
|
-
props: {
|
|
47
|
-
parent: { type: HTMLElement },
|
|
48
|
-
backgroundColor: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: "#FFFFFF"
|
|
51
|
-
},
|
|
52
|
-
color: {
|
|
53
|
-
type: String,
|
|
54
|
-
default: "#2D353C"
|
|
55
|
-
},
|
|
56
|
-
active: {
|
|
57
|
-
type: Boolean,
|
|
58
|
-
default: !1
|
|
59
|
-
},
|
|
60
|
-
isCursorPointer: {
|
|
61
|
-
type: Boolean,
|
|
62
|
-
default: !1
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
emits: ["close"],
|
|
66
|
-
setup(i, { emit: _e }) {
|
|
67
|
-
let C = i, ve = _e, w = v([]), T = v([]), ye = v("0 0 0 0"), E = v(C.color), D = v(1), O = v(null), k = v(!1), A = v(null), j = v({
|
|
68
|
-
x: 0,
|
|
69
|
-
y: 0
|
|
70
|
-
}), M = v([""]), N = v({
|
|
71
|
-
row: 0,
|
|
72
|
-
col: 0
|
|
73
|
-
}), P = v(16), be = 1, F = [
|
|
74
|
-
"arrow",
|
|
75
|
-
"text",
|
|
76
|
-
"line",
|
|
77
|
-
"draw"
|
|
78
|
-
], I = v(0), L = c(() => F[I.value]), R = v(null);
|
|
79
|
-
v(null), v(null);
|
|
80
|
-
let z = v(`arrow-${n()}`), B = v(`arrow-def-${n()}`), xe = {
|
|
81
|
-
arrow: "plotArrow",
|
|
82
|
-
text: "text",
|
|
83
|
-
line: "plotLine",
|
|
84
|
-
draw: "annotator"
|
|
85
|
-
};
|
|
86
|
-
function Se() {
|
|
87
|
-
I.value + 1 >= F.length ? I.value = 0 : I.value += 1;
|
|
88
|
-
}
|
|
89
|
-
function V() {
|
|
90
|
-
return be++;
|
|
91
|
-
}
|
|
92
|
-
function Ce(e) {
|
|
93
|
-
let t = J.value;
|
|
94
|
-
if (!t) return {
|
|
95
|
-
x: 0,
|
|
96
|
-
y: 0
|
|
97
|
-
};
|
|
98
|
-
let n = t.createSVGPoint(), r = e.touches?.length || e.changedTouches?.length ? e.touches?.[0] || e.changedTouches?.[0] : null, i = r ? r.clientX : e.clientX, a = r ? r.clientY : e.clientY;
|
|
99
|
-
n.x = i, n.y = a;
|
|
100
|
-
let o = t.getScreenCTM()?.inverse();
|
|
101
|
-
return o ? n.matrixTransform(o) : {
|
|
102
|
-
x: 0,
|
|
103
|
-
y: 0
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
function H(e) {
|
|
107
|
-
if (!O.value || L.value !== "text" || k.value) return;
|
|
108
|
-
let { x: t, y: n } = Ce(e);
|
|
109
|
-
j.value = {
|
|
110
|
-
x: t,
|
|
111
|
-
y: n
|
|
112
|
-
}, M.value = [""], N.value = {
|
|
113
|
-
row: 0,
|
|
114
|
-
col: 0
|
|
115
|
-
};
|
|
116
|
-
let r = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
117
|
-
r.setAttribute("x", t), r.setAttribute("y", n), r.setAttribute("fill", E.value), r.setAttribute("font-size", P.value), r.setAttribute("font-family", "sans-serif"), r.setAttribute("class", "vue-data-ui-doodle"), r.setAttribute("dominant-baseline", "hanging"), r.setAttribute("pointer-events", "all");
|
|
118
|
-
let i = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
119
|
-
i.setAttribute("x", t), i.setAttribute("dy", "0"), i.textContent = "", r.appendChild(i), r.style.pointerEvents = "none", r.style.userSelect = "none", O.value.appendChild(r), A.value = r, k.value = !0, window.addEventListener("keydown", we), window.addEventListener("mousedown", De, !0), Te(), Ee();
|
|
120
|
-
}
|
|
121
|
-
function we(e) {
|
|
122
|
-
if (!k.value) return;
|
|
123
|
-
let { row: t, col: n } = N.value, r = M.value.slice(), i = !1;
|
|
124
|
-
if (e.key === "Enter") {
|
|
125
|
-
let a = r[t], o = a.slice(0, n), s = a.slice(n);
|
|
126
|
-
r.splice(t, 1, o, s), t += 1, n = 0, i = !0, e.preventDefault();
|
|
127
|
-
} else if (e.key === "Backspace") {
|
|
128
|
-
if (n > 0) r[t] = r[t].slice(0, n - 1) + r[t].slice(n), --n, i = !0;
|
|
129
|
-
else if (t > 0) {
|
|
130
|
-
let e = r[t - 1].length;
|
|
131
|
-
r[t - 1] += r[t], r.splice(t, 1), --t, n = e, i = !0;
|
|
132
|
-
}
|
|
133
|
-
e.preventDefault();
|
|
134
|
-
} else if (e.key === "Delete") n < r[t].length ? (r[t] = r[t].slice(0, n) + r[t].slice(n + 1), i = !0) : t < r.length - 1 && (r[t] += r[t + 1], r.splice(t + 1, 1), i = !0), e.preventDefault();
|
|
135
|
-
else if (e.key === "ArrowLeft") n > 0 ? --n : t > 0 && (--t, n = r[t].length), i = !0, e.preventDefault();
|
|
136
|
-
else if (e.key === "ArrowRight") n < r[t].length ? n += 1 : t < r.length - 1 && (t += 1, n = 0), i = !0, e.preventDefault();
|
|
137
|
-
else if (e.key === "ArrowUp") t > 0 && (--t, n = Math.min(n, r[t].length), i = !0), e.preventDefault();
|
|
138
|
-
else if (e.key === "ArrowDown") t < r.length - 1 && (t += 1, n = Math.min(n, r[t].length), i = !0), e.preventDefault();
|
|
139
|
-
else if (e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey) r[t] = r[t].slice(0, n) + e.key + r[t].slice(n), n += 1, i = !0, e.preventDefault();
|
|
140
|
-
else if (e.key === "Escape") {
|
|
141
|
-
Oe(!0);
|
|
142
|
-
return;
|
|
143
|
-
} else e.key === "Tab" && e.preventDefault();
|
|
144
|
-
i && (M.value = r, N.value = {
|
|
145
|
-
row: t,
|
|
146
|
-
col: n
|
|
147
|
-
}, Te(), Ee());
|
|
148
|
-
}
|
|
149
|
-
function Te() {
|
|
150
|
-
let e = A.value, { x: t, y: n } = j.value;
|
|
151
|
-
for (; e.firstChild;) e.removeChild(e.firstChild);
|
|
152
|
-
M.value.forEach((n, r) => {
|
|
153
|
-
let i = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
154
|
-
i.setAttribute("x", t), i.setAttribute("dy", r === 0 ? "0" : `${P.value * 1.2}`), i.textContent = n.length ? n : "", e.appendChild(i);
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
function Ee() {
|
|
158
|
-
let e = O.value.querySelector(".vue-data-ui-svg-caret");
|
|
159
|
-
e && O.value.removeChild(e);
|
|
160
|
-
let t = A.value;
|
|
161
|
-
if (!t) return;
|
|
162
|
-
let { x: n, y: r } = j.value, { row: i, col: a } = N.value, o = P.value, s = t.childNodes[i];
|
|
163
|
-
if (!s) return;
|
|
164
|
-
let c = s.textContent.slice(0, a);
|
|
165
|
-
c.endsWith(" ") && (c += "\xA0");
|
|
166
|
-
let l = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
167
|
-
l.setAttribute("x", n), l.setAttribute("y", r), l.setAttribute("font-size", o), l.setAttribute("font-family", "sans-serif"), l.textContent = c || "", O.value.appendChild(l);
|
|
168
|
-
let u = l.getBBox();
|
|
169
|
-
O.value.removeChild(l);
|
|
170
|
-
let d = r + i * o * 1.2, f = n + u.width, p = document.createElementNS("http://www.w3.org/2000/svg", "rect");
|
|
171
|
-
p.setAttribute("x", f), p.setAttribute("y", d), p.setAttribute("width", 1), p.setAttribute("height", o), p.setAttribute("fill", E.value), p.setAttribute("class", "vue-data-ui-svg-caret"), O.value.appendChild(p);
|
|
172
|
-
}
|
|
173
|
-
function De(e) {
|
|
174
|
-
if (A.value && !A.value.contains(e.target)) {
|
|
175
|
-
let e = A.value.children;
|
|
176
|
-
e.length === 1 && (e[0].textContent === "" || e[0].textContent === "") && A.value.remove(), Oe(!1);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
function Oe(e = !1) {
|
|
180
|
-
window.removeEventListener("keydown", we), window.removeEventListener("mousedown", De, !0);
|
|
181
|
-
let t = O.value?.querySelector(".vue-data-ui-svg-caret");
|
|
182
|
-
t && O.value.removeChild(t);
|
|
183
|
-
let n = M.value.every((e) => !e || e === "");
|
|
184
|
-
e || n || w.value.push({
|
|
185
|
-
id: V(),
|
|
186
|
-
type: "text",
|
|
187
|
-
x: j.value.x,
|
|
188
|
-
y: j.value.y,
|
|
189
|
-
color: E.value,
|
|
190
|
-
fontSize: P.value,
|
|
191
|
-
lines: M.value.map((e) => e)
|
|
192
|
-
}), A.value && O.value && O.value.contains(A.value) && O.value.removeChild(A.value), k.value = !1, A.value = null, M.value = [""], N.value = {
|
|
193
|
-
row: 0,
|
|
194
|
-
col: 0
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
let U = c(() => t(C.color, .6));
|
|
198
|
-
function W({ width: e, height: t }) {
|
|
199
|
-
ye.value = `0 0 ${e} ${t}`;
|
|
200
|
-
}
|
|
201
|
-
let G = v(null);
|
|
202
|
-
ne(() => {
|
|
203
|
-
ee(() => {
|
|
204
|
-
if (C.parent) {
|
|
205
|
-
G.value = new ResizeObserver((e) => {
|
|
206
|
-
for (let t of e) {
|
|
207
|
-
let { width: e, height: n } = t.contentRect;
|
|
208
|
-
W({
|
|
209
|
-
width: e,
|
|
210
|
-
height: n
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
}), G.value.observe(C.parent);
|
|
214
|
-
let { width: e, height: t } = C.parent.getBoundingClientRect();
|
|
215
|
-
W({
|
|
216
|
-
width: e,
|
|
217
|
-
height: t
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
}), O.value = J.value.querySelector("g");
|
|
221
|
-
}), te(() => {
|
|
222
|
-
G.value && G.value.disconnect();
|
|
223
|
-
}), S(() => C.parent, (e) => {
|
|
224
|
-
if (!e) return;
|
|
225
|
-
let { width: t, height: n } = C.parent.getBoundingClientRect();
|
|
226
|
-
W({
|
|
227
|
-
width: t,
|
|
228
|
-
height: n
|
|
229
|
-
});
|
|
230
|
-
}, { immediate: !0 }), S(L, (e) => {
|
|
231
|
-
J.value && (J.value.removeEventListener("mousedown", H), J.value.removeEventListener("touchstart", H), e === "text" && (J.value.addEventListener("mousedown", H), J.value.addEventListener("touchstart", H, { passive: !1 })));
|
|
232
|
-
});
|
|
233
|
-
let K = v(!1), q = v(""), J = v(null), Y = v(!1), ke = v(null);
|
|
234
|
-
S(() => C.active, (e) => {
|
|
235
|
-
J.value && (J.value.style.touchAction = e ? "none" : "");
|
|
236
|
-
}, { immediate: !0 });
|
|
237
|
-
function Ae(e) {
|
|
238
|
-
if (e.cancelable && e.preventDefault(), L.value !== "draw" || !J.value) return;
|
|
239
|
-
K.value = !0;
|
|
240
|
-
let { x: t, y: n } = Q(e);
|
|
241
|
-
q.value = `M ${t} ${n}`;
|
|
242
|
-
}
|
|
243
|
-
function je(e) {
|
|
244
|
-
if (e.cancelable && e.preventDefault(), L.value !== "draw" || !K.value || !J.value) return;
|
|
245
|
-
let { x: t, y: n } = Q(e);
|
|
246
|
-
q.value += ` ${t} ${n}`;
|
|
247
|
-
}
|
|
248
|
-
function Me() {
|
|
249
|
-
let e = J.value;
|
|
250
|
-
if (!e) return;
|
|
251
|
-
let t = e.querySelector(`defs#${B.value}`);
|
|
252
|
-
if (t || (t = document.createElementNS(r, "defs"), t.setAttribute("id", B.value), e.appendChild(t)), t.querySelector(`#${z.value}`)) return;
|
|
253
|
-
let n = document.createElementNS(r, "marker");
|
|
254
|
-
n.setAttribute("id", z.value), n.setAttribute("markerUnits", "strokeWidth"), n.setAttribute("markerWidth", "6"), n.setAttribute("markerHeight", "6"), n.setAttribute("refX", "4"), n.setAttribute("refY", "3"), n.setAttribute("orient", "auto"), n.setAttribute("viewBox", "0 0 6 6");
|
|
255
|
-
let i = document.createElementNS(r, "path");
|
|
256
|
-
i.setAttribute("d", "M 0 0 L 6 3 L 0 6 z"), i.setAttribute("fill", "context-stroke"), i.setAttribute("stroke", "none"), n.appendChild(i), t.appendChild(n);
|
|
257
|
-
}
|
|
258
|
-
function Ne(e) {
|
|
259
|
-
if (e.cancelable && e.preventDefault(), !["line", "arrow"].includes(L.value) || !J.value || !O.value) return;
|
|
260
|
-
L.value === "arrow" && Me(), Y.value = !0;
|
|
261
|
-
let { x: t, y: n } = Q(e);
|
|
262
|
-
ke.value = {
|
|
263
|
-
x: t,
|
|
264
|
-
y: n
|
|
265
|
-
}, R.value = document.createElementNS(r, "line"), R.value.setAttribute("x1", t), R.value.setAttribute("y1", n), R.value.setAttribute("x2", t), R.value.setAttribute("y2", n), R.value.setAttribute("stroke", E.value), R.value.setAttribute("stroke-width", D.value), R.value.setAttribute("stroke-linecap", "round"), R.value.setAttribute("class", "vue-data-ui-doodle"), L.value === "arrow" && R.value.setAttribute("marker-end", `url(#${z.value})`), O.value.appendChild(R.value);
|
|
266
|
-
}
|
|
267
|
-
function Pe(e) {
|
|
268
|
-
if (e.cancelable && e.preventDefault(), !["line", "arrow"].includes(L.value) || !Y.value || !R.value) return;
|
|
269
|
-
let { x: t, y: n } = Q(e);
|
|
270
|
-
R.value.setAttribute("x2", t), R.value.setAttribute("y2", n);
|
|
271
|
-
}
|
|
272
|
-
function X(e) {
|
|
273
|
-
if (e?.cancelable && e.preventDefault(), !Y.value || !R.value) return;
|
|
274
|
-
let { x: t, y: n } = Q(e);
|
|
275
|
-
R.value.setAttribute("x2", t), R.value.setAttribute("y2", n), w.value.push({
|
|
276
|
-
id: V(),
|
|
277
|
-
type: L.value,
|
|
278
|
-
x1: parseFloat(R.value.getAttribute("x1")),
|
|
279
|
-
y1: parseFloat(R.value.getAttribute("y1")),
|
|
280
|
-
x2: t,
|
|
281
|
-
y2: n,
|
|
282
|
-
strokeWidth: D.value,
|
|
283
|
-
color: E.value
|
|
284
|
-
}), T.value = [], O.value.contains(R.value) && O.value.removeChild(R.value), R.value = null, ke.value = null, Y.value = !1;
|
|
285
|
-
}
|
|
286
|
-
function Fe(e) {
|
|
287
|
-
let t = e.trim().split(/\s+/);
|
|
288
|
-
if (t.length < 4) return e;
|
|
289
|
-
let n = t.slice(1).map(Number);
|
|
290
|
-
if (n.length % 2 != 0) return e;
|
|
291
|
-
let r = Ie(n), i = [`M ${r[0]} ${r[1]}`];
|
|
292
|
-
for (let e = 2; e < r.length - 2; e += 2) {
|
|
293
|
-
let t = r[e - 2], n = r[e - 1], a = r[e], o = r[e + 1], s = (t + a) / 2, c = (n + o) / 2;
|
|
294
|
-
i.push(`Q ${t} ${n} ${s} ${c}`);
|
|
295
|
-
}
|
|
296
|
-
let a = r[r.length - 2], o = r[r.length - 1];
|
|
297
|
-
return i.push(`L ${a} ${o}`), i.join(" ");
|
|
298
|
-
}
|
|
299
|
-
function Ie(e, t = 1) {
|
|
300
|
-
let n = [...e];
|
|
301
|
-
for (let r = 2; r < e.length - 2; r += 2) {
|
|
302
|
-
let i = e[r], a = e[r + 1], o = e[r - 2], s = e[r - 1], c = e[r + 2], l = e[r + 3];
|
|
303
|
-
n[r] = i + t * ((o + c) / 2 - i), n[r + 1] = a + t * ((s + l) / 2 - a);
|
|
304
|
-
}
|
|
305
|
-
return n;
|
|
306
|
-
}
|
|
307
|
-
function Le(e) {
|
|
308
|
-
let t = e.trim().split(/\s+/), n = "", r = "", i = null, a = null;
|
|
309
|
-
for (let e = 0; e < t.length; e += 1) {
|
|
310
|
-
let o = t[e];
|
|
311
|
-
if (isNaN(o)) {
|
|
312
|
-
if (r = o, r === "M" || r === "L") i = parseFloat(t[++e]), a = parseFloat(t[++e]), n += `${r}${i} ${a}`;
|
|
313
|
-
else if (r === "Q") {
|
|
314
|
-
let r = parseFloat(t[++e]), o = parseFloat(t[++e]), s = parseFloat(t[++e]), c = parseFloat(t[++e]);
|
|
315
|
-
n += r === i && o === a ? `t${s - i} ${c - a}` : `q${r - i} ${o - a} ${s - i} ${c - a}`, i = s, a = c;
|
|
316
|
-
}
|
|
317
|
-
} else {
|
|
318
|
-
let s = parseFloat(o), c = parseFloat(t[++e]);
|
|
319
|
-
if (r === "L") {
|
|
320
|
-
let e = s - i, t = c - a;
|
|
321
|
-
n += e === 0 ? `v${t}` : t === 0 ? `h${e}` : `l${e} ${t}`, i = s, a = c;
|
|
322
|
-
} else if (r === "Q") {
|
|
323
|
-
let r = s, o = c, l = parseFloat(t[++e]), u = parseFloat(t[++e]);
|
|
324
|
-
n += r === i && o === a ? `t${l - i} ${u - a}` : `q${r - i} ${o - a} ${l - i} ${u - a}`, i = l, a = u;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
return n;
|
|
329
|
-
}
|
|
330
|
-
function Z(e) {
|
|
331
|
-
e?.cancelable && e.preventDefault(), L.value === "draw" && (K.value && (w.value.push({
|
|
332
|
-
id: V(),
|
|
333
|
-
strokeWidth: D.value,
|
|
334
|
-
path: Le(Fe(q.value)),
|
|
335
|
-
color: E.value
|
|
336
|
-
}), T.value = [], q.value = ""), K.value = !1);
|
|
337
|
-
}
|
|
338
|
-
function Q(e) {
|
|
339
|
-
if (!J.value) return {
|
|
340
|
-
x: 0,
|
|
341
|
-
y: 0
|
|
342
|
-
};
|
|
343
|
-
let t = J.value.getBoundingClientRect(), n = e.touches?.length || e.changedTouches?.length ? e.touches?.[0] || e.changedTouches?.[0] : null, r = n ? n.clientX : e.clientX, i = n ? n.clientY : e.clientY;
|
|
344
|
-
return {
|
|
345
|
-
x: r - t.left,
|
|
346
|
-
y: i - t.top
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
function Re() {
|
|
350
|
-
if (w.value.length > 0) {
|
|
351
|
-
let e = w.value.pop();
|
|
352
|
-
T.value.push(e);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
function ze() {
|
|
356
|
-
if (T.value.length > 0) {
|
|
357
|
-
let e = T.value.pop();
|
|
358
|
-
w.value.push(e);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
function Be() {
|
|
362
|
-
w.value = [], T.value = [];
|
|
363
|
-
}
|
|
364
|
-
let $ = v(null);
|
|
365
|
-
return (t, n) => (_(), u(s, null, [i.active ? (_(), u("div", {
|
|
366
|
-
key: 0,
|
|
367
|
-
"data-dom-to-png-ignore": "",
|
|
368
|
-
class: m({
|
|
369
|
-
"vue-ui-pen-and-paper-actions": !0,
|
|
370
|
-
visible: i.active
|
|
371
|
-
}),
|
|
372
|
-
style: g({ backgroundColor: i.backgroundColor })
|
|
373
|
-
}, [
|
|
374
|
-
d("button", {
|
|
375
|
-
class: "vue-ui-pen-and-paper-action",
|
|
376
|
-
style: g({
|
|
377
|
-
backgroundColor: i.backgroundColor,
|
|
378
|
-
border: `1px solid ${U.value}`,
|
|
379
|
-
cursor: i.isCursorPointer ? "pointer" : "default"
|
|
380
|
-
}),
|
|
381
|
-
onClick: n[0] ||= (e) => ve("close")
|
|
382
|
-
}, [b(t.$slots, "annotator-action-close", {}, () => [f(a, {
|
|
383
|
-
name: "close",
|
|
384
|
-
stroke: i.color
|
|
385
|
-
}, null, 8, ["stroke"])], !0)], 4),
|
|
386
|
-
d("button", {
|
|
387
|
-
class: m({ "vue-ui-pen-and-paper-action": !0 }),
|
|
388
|
-
style: g({
|
|
389
|
-
padding: "0 !important",
|
|
390
|
-
cursor: i.isCursorPointer ? "pointer" : "default"
|
|
391
|
-
})
|
|
392
|
-
}, [f(o, {
|
|
393
|
-
value: E.value,
|
|
394
|
-
"onUpdate:value": n[1] ||= (e) => E.value = e,
|
|
395
|
-
backgroundColor: i.backgroundColor,
|
|
396
|
-
buttonBorderColor: U.value
|
|
397
|
-
}, {
|
|
398
|
-
"annotator-action-color": ae(({ color: e }) => [b(t.$slots, "annotator-action-color", h(p({ color: e })), void 0, !0)]),
|
|
399
|
-
_: 3
|
|
400
|
-
}, 8, [
|
|
401
|
-
"value",
|
|
402
|
-
"backgroundColor",
|
|
403
|
-
"buttonBorderColor"
|
|
404
|
-
])], 4),
|
|
405
|
-
d("button", {
|
|
406
|
-
class: m(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-active": L.value === "text" }]),
|
|
407
|
-
onClick: n[2] ||= (e) => Se(),
|
|
408
|
-
style: g({
|
|
409
|
-
backgroundColor: i.backgroundColor,
|
|
410
|
-
border: `1px solid ${U.value}`,
|
|
411
|
-
cursor: i.isCursorPointer ? "pointer" : "default"
|
|
412
|
-
})
|
|
413
|
-
}, [b(t.$slots, "annotator-action-draw", h(p({ mode: L.value })), () => [f(a, {
|
|
414
|
-
name: xe[L.value],
|
|
415
|
-
stroke: i.color
|
|
416
|
-
}, null, 8, ["name", "stroke"])], !0), d("div", { style: g({
|
|
417
|
-
position: "absolute",
|
|
418
|
-
bottom: "-20px",
|
|
419
|
-
color: U.value,
|
|
420
|
-
width: "100%",
|
|
421
|
-
textAlign: "center",
|
|
422
|
-
fontSize: "12px"
|
|
423
|
-
}) }, x(re(e)({
|
|
424
|
-
v: L.value === "text" ? P.value : D.value,
|
|
425
|
-
s: "px",
|
|
426
|
-
r: 1
|
|
427
|
-
})), 5)], 6),
|
|
428
|
-
d("button", {
|
|
429
|
-
class: m({
|
|
430
|
-
"vue-ui-pen-and-paper-action": !0,
|
|
431
|
-
"vue-ui-pen-and-paper-action-disabled": !w.value.length
|
|
432
|
-
}),
|
|
433
|
-
disabled: !w.value.length,
|
|
434
|
-
style: g({
|
|
435
|
-
backgroundColor: i.backgroundColor,
|
|
436
|
-
border: `1px solid ${U.value}`,
|
|
437
|
-
marginTop: "20px",
|
|
438
|
-
cursor: i.isCursorPointer ? "pointer" : "default"
|
|
439
|
-
}),
|
|
440
|
-
onClick: Re
|
|
441
|
-
}, [b(t.$slots, "annotator-action-undo", h(p({ disabled: !w.value.length })), () => [f(a, {
|
|
442
|
-
name: "refresh",
|
|
443
|
-
stroke: i.color
|
|
444
|
-
}, null, 8, ["stroke"])], !0)], 14, ce),
|
|
445
|
-
d("button", {
|
|
446
|
-
class: m({
|
|
447
|
-
"vue-ui-pen-and-paper-action": !0,
|
|
448
|
-
"vue-ui-pen-and-paper-action-disabled": !T.value.length
|
|
449
|
-
}),
|
|
450
|
-
style: g({
|
|
451
|
-
backgroundColor: i.backgroundColor,
|
|
452
|
-
border: `1px solid ${U.value}`,
|
|
453
|
-
cursor: i.isCursorPointer ? "pointer" : "default"
|
|
454
|
-
}),
|
|
455
|
-
onClick: ze
|
|
456
|
-
}, [b(t.$slots, "annotator-action-redo", h(p({ disabled: !T.value.length })), () => [f(a, {
|
|
457
|
-
name: "refresh",
|
|
458
|
-
stroke: i.color,
|
|
459
|
-
style: { transform: "scaleX(-1)" }
|
|
460
|
-
}, null, 8, ["stroke"])], !0)], 6),
|
|
461
|
-
d("button", {
|
|
462
|
-
class: m([{
|
|
463
|
-
"vue-ui-pen-and-paper-action": !0,
|
|
464
|
-
"vue-ui-pen-and-paper-action-disabled": !w.value.length
|
|
465
|
-
}, "vue-ui-pen-and-paper-action"]),
|
|
466
|
-
style: g({
|
|
467
|
-
backgroundColor: i.backgroundColor,
|
|
468
|
-
border: `1px solid ${U.value}`,
|
|
469
|
-
cursor: i.isCursorPointer ? "pointer" : "default"
|
|
470
|
-
}),
|
|
471
|
-
onClick: Be
|
|
472
|
-
}, [b(t.$slots, "annotator-action-delete", h(p({ disabled: !w.value.length })), () => [f(a, {
|
|
473
|
-
name: "trash",
|
|
474
|
-
stroke: i.color
|
|
475
|
-
}, null, 8, ["stroke"])], !0)], 6),
|
|
476
|
-
L.value === "draw" ? oe((_(), u("input", {
|
|
477
|
-
key: 0,
|
|
478
|
-
ref_key: "range",
|
|
479
|
-
ref: $,
|
|
480
|
-
type: "range",
|
|
481
|
-
class: "vertical-range",
|
|
482
|
-
min: .5,
|
|
483
|
-
max: 12,
|
|
484
|
-
step: .1,
|
|
485
|
-
"onUpdate:modelValue": n[3] ||= (e) => D.value = e,
|
|
486
|
-
style: g({ accentColor: i.color })
|
|
487
|
-
}, null, 4)), [[ie, D.value]]) : l("", !0),
|
|
488
|
-
L.value === "text" ? oe((_(), u("input", {
|
|
489
|
-
key: 1,
|
|
490
|
-
ref_key: "range",
|
|
491
|
-
ref: $,
|
|
492
|
-
type: "range",
|
|
493
|
-
class: "vertical-range",
|
|
494
|
-
min: 3,
|
|
495
|
-
max: 48,
|
|
496
|
-
step: .1,
|
|
497
|
-
"onUpdate:modelValue": n[4] ||= (e) => P.value = e,
|
|
498
|
-
style: g({ accentColor: i.color })
|
|
499
|
-
}, null, 4)), [[ie, P.value]]) : l("", !0)
|
|
500
|
-
], 6)) : l("", !0), (_(), u("svg", {
|
|
501
|
-
"data-mode": L.value,
|
|
502
|
-
ref_key: "svgElement",
|
|
503
|
-
ref: J,
|
|
504
|
-
xmlns: re(r),
|
|
505
|
-
viewBox: ye.value,
|
|
506
|
-
class: m({
|
|
507
|
-
"vue-ui-pen-and-paper": !0,
|
|
508
|
-
inactive: !i.active
|
|
509
|
-
}),
|
|
510
|
-
onMousedown: n[5] ||= (e) => L.value === "draw" ? Ae(e) : L.value === "line" || L.value === "arrow" ? Ne(e) : null,
|
|
511
|
-
onMousemove: n[6] ||= (e) => L.value === "draw" ? je(e) : L.value === "line" || L.value === "arrow" ? Pe(e) : null,
|
|
512
|
-
onMouseup: n[7] ||= (e) => L.value === "draw" ? Z(e) : L.value === "line" || L.value === "arrow" ? X(e) : null,
|
|
513
|
-
onMouseleave: n[8] ||= (e) => L.value === "draw" ? Z(e) : L.value === "line" || L.value === "arrow" ? X(e) : null,
|
|
514
|
-
onTouchstart: n[9] ||= se((e) => L.value === "draw" ? Ae(e) : L.value === "line" || L.value === "arrow" ? Ne(e) : null, ["prevent"]),
|
|
515
|
-
onTouchmove: n[10] ||= se((e) => L.value === "draw" ? je(e) : L.value === "line" || L.value === "arrow" ? Pe(e) : null, ["prevent"]),
|
|
516
|
-
onTouchend: n[11] ||= (e) => L.value === "draw" ? Z(e) : L.value === "line" || L.value === "arrow" ? X(e) : null,
|
|
517
|
-
onTouchcancel: n[12] ||= (e) => L.value === "draw" ? Z(e) : L.value === "line" || L.value === "arrow" ? X(e) : null
|
|
518
|
-
}, [d("g", {
|
|
519
|
-
ref_key: "G",
|
|
520
|
-
ref: O
|
|
521
|
-
}, [(_(!0), u(s, null, y(w.value, (e) => (_(), u(s, { key: e.id }, [e.path && e.path.replace("M", "").split(" ").length === 2 ? (_(), u("circle", {
|
|
522
|
-
key: 0,
|
|
523
|
-
cx: e.path.replace("M", "").split(" ")[0],
|
|
524
|
-
cy: e.path.replace("M", "").split(" ")[1],
|
|
525
|
-
r: e.strokeWidth / 2,
|
|
526
|
-
fill: e.color
|
|
527
|
-
}, null, 8, ue)) : e.type === "line" ? (_(), u("line", {
|
|
528
|
-
key: 1,
|
|
529
|
-
class: "vue-ui-pen-and-paper-path",
|
|
530
|
-
x1: e.x1,
|
|
531
|
-
y1: e.y1,
|
|
532
|
-
x2: e.x2,
|
|
533
|
-
y2: e.y2,
|
|
534
|
-
stroke: e.color,
|
|
535
|
-
"stroke-width": e.strokeWidth
|
|
536
|
-
}, null, 8, de)) : e.type === "arrow" ? (_(), u("line", {
|
|
537
|
-
key: 2,
|
|
538
|
-
class: "vue-ui-pen-and-paper-path",
|
|
539
|
-
x1: e.x1,
|
|
540
|
-
y1: e.y1,
|
|
541
|
-
x2: e.x2,
|
|
542
|
-
y2: e.y2,
|
|
543
|
-
stroke: e.color,
|
|
544
|
-
"stroke-width": e.strokeWidth,
|
|
545
|
-
"marker-end": `url(#${z.value})`
|
|
546
|
-
}, null, 8, fe)) : e.path ? (_(), u("path", {
|
|
547
|
-
key: 3,
|
|
548
|
-
class: "vue-ui-pen-and-paper-path",
|
|
549
|
-
d: e.path,
|
|
550
|
-
stroke: e.color,
|
|
551
|
-
"stroke-width": e.strokeWidth,
|
|
552
|
-
fill: "none"
|
|
553
|
-
}, null, 8, pe)) : e.type === "text" ? (_(), u("text", {
|
|
554
|
-
key: 4,
|
|
555
|
-
x: e.x,
|
|
556
|
-
y: e.y,
|
|
557
|
-
fill: e.color,
|
|
558
|
-
"font-size": e.fontSize,
|
|
559
|
-
"font-family": "sans-serif",
|
|
560
|
-
"dominant-baseline": "hanging",
|
|
561
|
-
class: "vue-ui-pen-and-paper-text"
|
|
562
|
-
}, [(_(!0), u(s, null, y(e.lines, (t, n) => (_(), u("tspan", {
|
|
563
|
-
key: n,
|
|
564
|
-
x: e.x,
|
|
565
|
-
dy: n === 0 ? "0" : e.fontSize * 1.2
|
|
566
|
-
}, x(t.length ? t : ""), 9, he))), 128))], 8, me)) : l("", !0)], 64))), 128))], 512), K.value ? (_(), u("path", {
|
|
567
|
-
key: 0,
|
|
568
|
-
class: "vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",
|
|
569
|
-
d: Fe(q.value),
|
|
570
|
-
stroke: E.value,
|
|
571
|
-
"stroke-width": D.value * 1.1,
|
|
572
|
-
fill: "none"
|
|
573
|
-
}, null, 8, ge)) : l("", !0)], 42, le))], 64));
|
|
574
|
-
}
|
|
575
|
-
}, [["__scopeId", "data-v-42e6ba29"]]);
|
|
576
|
-
//#endregion
|
|
577
|
-
export { _e as default };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { t } from "./package-DmQufM0G.js";
|
|
3
|
-
import { createElementBlock as n, openBlock as r, toDisplayString as i, unref as a } from "vue";
|
|
4
|
-
//#region src/atoms/PackageVersion.vue
|
|
5
|
-
var o = /* @__PURE__ */ e({ default: () => c }), s = { "aria-hidden": "true" }, c = {
|
|
6
|
-
__name: "PackageVersion",
|
|
7
|
-
setup(e) {
|
|
8
|
-
return (e, o) => (r(), n("desc", s, "Composed with Vue Data UI " + i(a(t)), 1));
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { c as n, o as t };
|