vue-data-ui 3.22.13 → 3.23.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/LICENSE +1 -1
- package/README.md +13 -1
- package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
- package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
- package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
- package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
- package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
- package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
- package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
- package/dist/HillActions-BWhxHlrj.js +187 -0
- package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
- package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
- package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
- package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
- package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
- package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
- package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
- package/dist/Title-BODtwViI.js +87 -0
- package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
- package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +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-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-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-hill.js +2 -0
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-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/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
- package/dist/exposedLib-DWLRqRhv.js +25 -0
- package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
- package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
- package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
- package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
- package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
- package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +493 -0
- package/dist/types/vue-ui-hill.d.ts +90 -0
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
- package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
- package/dist/useHints-Dq_w2E8B.js +66 -0
- package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
- package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
- package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
- package/dist/useTransitions-g_zBREk2.js +39 -0
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
- package/dist/vue-data-ui.js +77 -76
- package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
- package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
- package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
- package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
- package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
- package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
- package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
- package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
- package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
- package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
- package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
- package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
- package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
- package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
- package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
- package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
- package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
- package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
- package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
- package/dist/vue-ui-funnel-CjYosIik.js +797 -0
- package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
- package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
- package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
- package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
- package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
- package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
- package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
- package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
- package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
- package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
- package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
- package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
- package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
- package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
- package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
- package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
- package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
- package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
- package/dist/vue-ui-rating--K7rX2an.js +360 -0
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
- package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
- package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
- package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
- package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
- package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
- package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
- package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
- package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
- package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
- package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
- package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
- package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
- package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
- package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
- package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
- package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
- package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
- package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
- package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
- package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
- package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
- package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
- package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
- package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
- package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
- package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
- package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
- package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
- package/dist/vue_ui_hill-dnltu0L-.js +368 -0
- package/package.json +2 -2
- package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
- package/dist/Title-BuPs74IB.js +0 -87
- package/dist/exposedLib-Ciw6TGtP.js +0 -25
- package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
- package/dist/useMountedDelay-BAjrhRJb.js +0 -14
- package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
- package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
- package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
- package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
- package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
- package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
- package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
- package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
- package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
- package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
- package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
- package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
- package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
- package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
- package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
- package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
- package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
- package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
- package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
- package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
- package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
- package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
- package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
- package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
- package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
- package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
- package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
- package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
- package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
- package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
- package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
- package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
- package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
[](https://npmx.dev/package/vue-data-ui)
|
|
12
12
|
[](https://npmx.dev/package/vue-data-ui)
|
|
13
13
|
[](https://npmx.dev/package/vue-data-ui?modal=chart)
|
|
14
|
-
[](https://vue-data-ui.graphieros.com)
|
|
15
15
|
[](https://github.com/graphieros/vue-data-ui/issues)
|
|
16
16
|
[](https://madewithvuejs.com/p/vue-data-ui/shield-link)
|
|
17
17
|
[](https://github.com/graphieros/vue-data-ui)
|
|
@@ -100,6 +100,10 @@ Available components
|
|
|
100
100
|
- [VueUiGeo](https://vue-data-ui.graphieros.com/docs#vue-ui-geo)
|
|
101
101
|
- [VueUiWorld](https://vue-data-ui.graphieros.com/docs#vue-ui-world)
|
|
102
102
|
|
|
103
|
+
## Productivity
|
|
104
|
+
|
|
105
|
+
- [VueUiHill](https://vue-data-ui.graphieros.com/docs#vue-ui-hill)
|
|
106
|
+
|
|
103
107
|
## Utilities
|
|
104
108
|
|
|
105
109
|
- [VueUiAccordion](https://vue-data-ui.graphieros.com/docs#vue-ui-accordion)
|
|
@@ -253,6 +257,7 @@ All charts expose a #legend slot except for:
|
|
|
253
257
|
- VueUiFlow
|
|
254
258
|
- VueUiFunnel
|
|
255
259
|
- VueUiHeatmap
|
|
260
|
+
- VueUiHill
|
|
256
261
|
- VueUiRelationCircle
|
|
257
262
|
- VueUiSparkHistogram
|
|
258
263
|
- VueUiSparkStackbar
|
|
@@ -621,6 +626,12 @@ From the dataset you pass into the props, this component will produce the most a
|
|
|
621
626
|
| `VueUiRating` | `VueUiRatingDataset` | `VueUiRatingConfig` | `@rate`, `getData`,`toggleReadonly` | `#layer-under`, `#layer-above` |
|
|
622
627
|
| `VueUiSmiley` | `VueUiRatingDataset` | `VueUiSmileyConfig` | `@rate`, `getData`,`toggleReadonly` | |
|
|
623
628
|
|
|
629
|
+
### Productivity
|
|
630
|
+
|
|
631
|
+
| Name | dataset type | config type | emits / exposed methods | slots | custom tooltip | themes |
|
|
632
|
+
| ----------- | ---------------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------- | ------ |
|
|
633
|
+
| `VueUiHill` | `VueUiHillDatasetItem` | `VueUiHillConfig` | `edit`, `save`, `cancel`, `copyAlt`, `dragStart`, `dragEnd`, `datapointEnter`, `datapointLeave`, `selectDatapoint`, `generatePdf`, `generateImage`, `getImage` | `#svg`, `#analysis`, `#loading`, `#watermark`, `#chart-background`, `#hill-edit`, `#hill-cancel`, `#hill-save` | ❌ | ✅ |
|
|
634
|
+
|
|
624
635
|
### Utilities
|
|
625
636
|
|
|
626
637
|
| Name | dataset type | config type | emits / exposed methods | slots |
|
|
@@ -811,6 +822,7 @@ User options actions available per chart:
|
|
|
811
822
|
| VueUiWorld | optionAltCopy, optionTooltip, optionPdf, optionImg, optionCsv, optionTable, optionFullscreen, optionAnnotator, optionSvg |
|
|
812
823
|
| VueUiXy | optionAltCopy, optionTooltip, optionPdf, optionImg, optionCsv, optionTable, optionLabels, optionFullscreen, optionStack, optionAnnotator, optionSvg |
|
|
813
824
|
| VueUiXyCanvas | optionAltCopy, optionTooltip, optionPdf, optionImg, optionCsv, optionTable, optionLabels, optionFullscreen, optionStack, optionAnnotator |
|
|
825
|
+
| VueUiHill | optionAltCopy, optionPdf, optionImg, optionCsv optionLabels, optionFullscreen, optionAnnotator, hill-edit, hill-cancel, hill-save |
|
|
814
826
|
|
|
815
827
|
User options menu icon can be customized using the #menuIcon slot:
|
|
816
828
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as e } from "./lib-BuMGJ_a0.js";
|
|
2
2
|
import { computed as t, createElementBlock as n, createElementVNode as r, openBlock as i, unref as a } from "vue";
|
|
3
3
|
//#region src/atoms/Arrow.vue
|
|
4
4
|
var o = { class: "vue-ui-element-arrow" }, s = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { q as t, t as n } from "./lib-BuMGJ_a0.js";
|
|
3
3
|
import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
|
-
import { t as i } from "./BaseIcon-
|
|
4
|
+
import { t as i } from "./BaseIcon-91MZoczJ.js";
|
|
5
5
|
import { Teleport as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onMounted as h, onUnmounted as g, openBlock as _, reactive as v, ref as y, renderSlot as b, unref as x, withModifiers as S } from "vue";
|
|
6
6
|
//#region src/atoms/BaseDraggableDialog.vue
|
|
7
7
|
var C = /* @__PURE__ */ e({ default: () => E }), w = ["xmlns"], T = { class: "draggable-dialog-actions" }, E = /*#__PURE__*/ r({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { t } from "./lib-
|
|
2
|
+
import { t } from "./lib-BuMGJ_a0.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { computed as r, createElementBlock as i, normalizeClass as a, openBlock as o, unref as s, useCssVars as c, useSlots as l } from "vue";
|
|
5
5
|
//#region src/atoms/BaseIcon.vue
|
|
@@ -41,7 +41,7 @@ var u = /* @__PURE__ */ e({ default: () => v }), d = [
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
setup(e) {
|
|
44
|
-
c((e) => ({
|
|
44
|
+
c((e) => ({ fa1bc5f2: v.value }));
|
|
45
45
|
let n = e, u = r(() => n.name === "numbers" ? "0 0 20 21" : "0 0 20 20"), v = r(() => n.spinDuration), y = (e) => `fill="${e}"`, b = (e) => `style="opacity:${e}"`, x = (e) => {
|
|
46
46
|
let t = [
|
|
47
47
|
1,
|
|
@@ -55,6 +55,7 @@ var u = /* @__PURE__ */ e({ default: () => v }), d = [
|
|
|
55
55
|
return `<circle ${y(e)} ${_} cx="${r}" cy="${i}" r="${t[a]}" />`;
|
|
56
56
|
})).join("");
|
|
57
57
|
}, S = {
|
|
58
|
+
chartHill: "M1 16c9 0 6-8 9-8 3 0 0 8 9 8m-9-13a1 1 0 000 2 1 1 0 000-2m-8 8a1 1 0 000 2 1 1 0 000-2m16 0a1 1 0 000 2 1 1 0 000-2",
|
|
58
59
|
annotation: "M10 17a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-9 1h6m6 0h6M4 1h12v9h-4l-2 4M7 4h3M7 7h6M4 1v9h4l2 4",
|
|
59
60
|
chartAgePyramid: "M2 15v2h7v-2zm9 0v2h7v-2zm-2-2H3v-2h6zm2-2v2h6v-2zM9 9H4V7h5zm2-2v2h5V7zM9 5H6V3h3zm2-2v2h3V3z",
|
|
60
61
|
chartLine: "M1 1v18h18M4 13c1 3 2 3 2 3 3 0 1-9 4-9 1 0 3 5 3 5 1 2 3 2 4-9",
|
|
@@ -478,6 +479,6 @@ var u = /* @__PURE__ */ e({ default: () => v }), d = [
|
|
|
478
479
|
style: { background: "transparent" }
|
|
479
480
|
}, null, 10, f));
|
|
480
481
|
}
|
|
481
|
-
}, [["__scopeId", "data-v-
|
|
482
|
+
}, [["__scopeId", "data-v-92c1d3b1"]]);
|
|
482
483
|
//#endregion
|
|
483
484
|
export { u as n, v as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { t } from "./BaseIcon-
|
|
2
|
+
import { t } from "./BaseIcon-91MZoczJ.js";
|
|
3
3
|
import { createElementBlock as n, createElementVNode as r, createVNode as i, normalizeClass as a, normalizeStyle as o, openBlock as s, withKeys as c } from "vue";
|
|
4
4
|
var l = /*#__PURE__*/ e({
|
|
5
5
|
__name: "BaseLegendToggle",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { t } from "./BaseIcon-
|
|
3
|
-
import { r as n } from "./exposedLib-
|
|
2
|
+
import { t } from "./BaseIcon-91MZoczJ.js";
|
|
3
|
+
import { r as n } from "./exposedLib-DWLRqRhv.js";
|
|
4
4
|
import { createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, normalizeClass as s, normalizeStyle as c, openBlock as l, toDisplayString as u, unref as d } from "vue";
|
|
5
5
|
//#region src/atoms/BaseZoomControls.vue
|
|
6
6
|
var f = ["disabled"], p = /*#__PURE__*/ e({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as e } from "./lib-
|
|
1
|
+
import { r as e } from "./lib-BuMGJ_a0.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { t as n } from "./BaseIcon-
|
|
3
|
+
import { t as n } from "./BaseIcon-91MZoczJ.js";
|
|
4
4
|
import { t as r } from "./vClickOutside-DUrZWttG.js";
|
|
5
5
|
import { Fragment as i, Teleport as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, guardReactiveProps as f, nextTick as p, normalizeProps as m, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, unref as S, useCssVars as C, watch as w, watchEffect as T, withDirectives as E, withKeys as D, withModifiers as O } from "vue";
|
|
6
6
|
//#region src/atoms/ColorPicker.vue
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./Shape-
|
|
1
|
+
import { t as e } from "./Shape-BPMV94Ij.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { t as n } from "./BaseIcon-
|
|
3
|
+
import { t as n } from "./BaseIcon-91MZoczJ.js";
|
|
4
4
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, normalizeClass as l, normalizeStyle as u, onMounted as d, openBlock as f, ref as p, renderList as m, renderSlot as h, toDisplayString as g, unref as _, useCssVars as v, withKeys as y } from "vue";
|
|
5
5
|
//#region src/atoms/DataTable.vue
|
|
6
6
|
var b = { class: "vue-ui-data-table" }, x = { style: {
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { t } from "./BaseIcon-91MZoczJ.js";
|
|
3
|
+
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, normalizeClass as c, normalizeStyle as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, renderSlot as m, toDisplayString as h } from "vue";
|
|
4
|
+
//#region src/atoms/HillActions.vue
|
|
5
|
+
var g = ["aria-label"], _ = ["aria-label"], v = ["aria-label"], y = /*#__PURE__*/ e(/* @__PURE__ */ Object.assign({ name: "HillActions" }, {
|
|
6
|
+
__name: "HillActions",
|
|
7
|
+
props: {
|
|
8
|
+
isEditing: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: !1
|
|
11
|
+
},
|
|
12
|
+
isEditable: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !0
|
|
15
|
+
},
|
|
16
|
+
isFullscreen: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !1
|
|
19
|
+
},
|
|
20
|
+
position: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: "left",
|
|
23
|
+
validator: (e) => ["left", "right"].includes(e)
|
|
24
|
+
},
|
|
25
|
+
color: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: "#2D353C"
|
|
28
|
+
},
|
|
29
|
+
backgroundColor: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: "#FFFFFF"
|
|
32
|
+
},
|
|
33
|
+
translations: {
|
|
34
|
+
type: Object,
|
|
35
|
+
default() {
|
|
36
|
+
return {
|
|
37
|
+
edit: "Edit",
|
|
38
|
+
cancel: "Cancel",
|
|
39
|
+
save: "Save"
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
showTooltips: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: !0
|
|
46
|
+
},
|
|
47
|
+
isCursorPointer: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: !1
|
|
50
|
+
},
|
|
51
|
+
zIndex: {
|
|
52
|
+
type: Number,
|
|
53
|
+
default: 1
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
emits: [
|
|
57
|
+
"update",
|
|
58
|
+
"cancel",
|
|
59
|
+
"save"
|
|
60
|
+
],
|
|
61
|
+
setup(e, { emit: y }) {
|
|
62
|
+
let b = e, x = y, S = p(!0), C = p(null), w = r(() => ({
|
|
63
|
+
zIndex: b.zIndex,
|
|
64
|
+
position: b.isFullscreen ? "fixed" : "absolute",
|
|
65
|
+
top: "0",
|
|
66
|
+
left: b.position === "left" ? b.isFullscreen ? "12px" : "0" : "auto",
|
|
67
|
+
right: b.position === "right" ? b.isFullscreen ? "12px" : "0" : "auto",
|
|
68
|
+
height: "36px",
|
|
69
|
+
padding: "4px",
|
|
70
|
+
background: "transparent",
|
|
71
|
+
display: "flex",
|
|
72
|
+
alignItems: "center",
|
|
73
|
+
gap: "4px",
|
|
74
|
+
overflow: "visible"
|
|
75
|
+
})), T = r(() => ({
|
|
76
|
+
cursor: b.isCursorPointer ? "pointer" : "default",
|
|
77
|
+
background: b.backgroundColor,
|
|
78
|
+
color: b.color
|
|
79
|
+
}));
|
|
80
|
+
function E() {
|
|
81
|
+
if (typeof window > "u") {
|
|
82
|
+
S.value = !0;
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
S.value = window.innerWidth > 600;
|
|
86
|
+
}
|
|
87
|
+
function D(e) {
|
|
88
|
+
E(), C.value = e;
|
|
89
|
+
}
|
|
90
|
+
function O(e) {
|
|
91
|
+
C.value === e && (C.value = null);
|
|
92
|
+
}
|
|
93
|
+
function k(e) {
|
|
94
|
+
return {
|
|
95
|
+
"button-info-left": b.position === "left",
|
|
96
|
+
"button-info-right": b.position === "right",
|
|
97
|
+
"button-info-left-visible": b.position === "left" && C.value === e,
|
|
98
|
+
"button-info-right-visible": b.position === "right" && C.value === e
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
function A(e) {
|
|
102
|
+
b.showTooltips && D(e);
|
|
103
|
+
}
|
|
104
|
+
function j(e) {
|
|
105
|
+
O(e), x(e);
|
|
106
|
+
}
|
|
107
|
+
return d(() => {
|
|
108
|
+
E(), window.addEventListener("resize", E, { passive: !0 });
|
|
109
|
+
}), u(() => {
|
|
110
|
+
window.removeEventListener("resize", E);
|
|
111
|
+
}), (r, u) => e.isEditable ? (f(), a("div", {
|
|
112
|
+
key: 0,
|
|
113
|
+
class: "vue-ui-hill-actions",
|
|
114
|
+
style: l(w.value),
|
|
115
|
+
"data-dom-to-png-ignore": ""
|
|
116
|
+
}, [e.isEditing ? (f(), a(n, { key: 1 }, [o("button", {
|
|
117
|
+
type: "button",
|
|
118
|
+
class: "vue-ui-hill-actions__button",
|
|
119
|
+
style: l(T.value),
|
|
120
|
+
"aria-label": e.translations.cancel,
|
|
121
|
+
onMouseenter: u[5] ||= (e) => A("cancel"),
|
|
122
|
+
onMouseout: u[6] ||= (e) => O("cancel"),
|
|
123
|
+
onFocus: u[7] ||= (e) => A("cancel"),
|
|
124
|
+
onBlur: u[8] ||= (e) => O("cancel"),
|
|
125
|
+
onClick: u[9] ||= (e) => j("cancel")
|
|
126
|
+
}, [m(r.$slots, "hill-cancel", {}, () => [s(t, {
|
|
127
|
+
name: "circleCancel",
|
|
128
|
+
stroke: e.color,
|
|
129
|
+
style: { "pointer-events": "none" }
|
|
130
|
+
}, null, 8, ["stroke"])], !0), e.showTooltips && S.value && e.translations.cancel ? (f(), a("div", {
|
|
131
|
+
key: 0,
|
|
132
|
+
dir: "auto",
|
|
133
|
+
class: c(k("cancel")),
|
|
134
|
+
style: l({
|
|
135
|
+
background: e.backgroundColor,
|
|
136
|
+
color: e.color
|
|
137
|
+
})
|
|
138
|
+
}, h(e.translations.cancel), 7)) : i("", !0)], 44, _), o("button", {
|
|
139
|
+
type: "button",
|
|
140
|
+
class: "vue-ui-hill-actions__button",
|
|
141
|
+
style: l(T.value),
|
|
142
|
+
"aria-label": e.translations.save,
|
|
143
|
+
onMouseenter: u[10] ||= (e) => A("save"),
|
|
144
|
+
onMouseout: u[11] ||= (e) => O("save"),
|
|
145
|
+
onFocus: u[12] ||= (e) => A("save"),
|
|
146
|
+
onBlur: u[13] ||= (e) => O("save"),
|
|
147
|
+
onClick: u[14] ||= (e) => j("save")
|
|
148
|
+
}, [m(r.$slots, "hill-save", {}, () => [s(t, {
|
|
149
|
+
name: "save",
|
|
150
|
+
stroke: e.color,
|
|
151
|
+
style: { "pointer-events": "none" }
|
|
152
|
+
}, null, 8, ["stroke"])], !0), e.showTooltips && S.value && e.translations.save ? (f(), a("div", {
|
|
153
|
+
key: 0,
|
|
154
|
+
dir: "auto",
|
|
155
|
+
class: c(k("save")),
|
|
156
|
+
style: l({
|
|
157
|
+
background: e.backgroundColor,
|
|
158
|
+
color: e.color
|
|
159
|
+
})
|
|
160
|
+
}, h(e.translations.save), 7)) : i("", !0)], 44, v)], 64)) : (f(), a("button", {
|
|
161
|
+
key: 0,
|
|
162
|
+
type: "button",
|
|
163
|
+
class: "vue-ui-hill-actions__button",
|
|
164
|
+
style: l(T.value),
|
|
165
|
+
"aria-label": e.translations.edit,
|
|
166
|
+
onMouseenter: u[0] ||= (e) => A("update"),
|
|
167
|
+
onMouseout: u[1] ||= (e) => O("update"),
|
|
168
|
+
onFocus: u[2] ||= (e) => A("update"),
|
|
169
|
+
onBlur: u[3] ||= (e) => O("update"),
|
|
170
|
+
onClick: u[4] ||= (e) => j("update")
|
|
171
|
+
}, [m(r.$slots, "hill-edit", {}, () => [s(t, {
|
|
172
|
+
name: "move",
|
|
173
|
+
stroke: e.color,
|
|
174
|
+
style: { "pointer-events": "none" }
|
|
175
|
+
}, null, 8, ["stroke"])], !0), e.showTooltips && S.value && e.translations.edit ? (f(), a("div", {
|
|
176
|
+
key: 0,
|
|
177
|
+
dir: "auto",
|
|
178
|
+
class: c(k("update")),
|
|
179
|
+
style: l({
|
|
180
|
+
background: e.backgroundColor,
|
|
181
|
+
color: e.color
|
|
182
|
+
})
|
|
183
|
+
}, h(e.translations.edit), 7)) : i("", !0)], 44, g))], 4)) : i("", !0);
|
|
184
|
+
}
|
|
185
|
+
}), [["__scopeId", "data-v-f3e67d0c"]]);
|
|
186
|
+
//#endregion
|
|
187
|
+
export { y as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "./Shape-
|
|
2
|
+
import { wt as t } from "./lib-BuMGJ_a0.js";
|
|
3
|
+
import { t as n } from "./Shape-BPMV94Ij.js";
|
|
4
4
|
import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
5
5
|
import { Fragment as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, mergeProps as l, normalizeClass as u, normalizeStyle as d, openBlock as f, renderList as p, renderSlot as m, unref as h } from "vue";
|
|
6
6
|
//#region src/atoms/Legend.vue
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ot as e, X as t, q as n, t as r } from "./lib-BuMGJ_a0.js";
|
|
2
2
|
import { t as i } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { t as a } from "./BaseIcon-
|
|
4
|
-
import { t as o } from "./ColorPicker-
|
|
3
|
+
import { t as a } from "./BaseIcon-91MZoczJ.js";
|
|
4
|
+
import { t as o } from "./ColorPicker-CIAkdPrj.js";
|
|
5
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
6
|
//#region src/atoms/NonSvgPenAndPaper.vue
|
|
7
7
|
var ce = ["disabled"], le = [
|
|
@@ -77,7 +77,7 @@ var ce = ["disabled"], le = [
|
|
|
77
77
|
"draw"
|
|
78
78
|
], I = v(0), L = c(() => F[I.value]), R = v(null);
|
|
79
79
|
v(null), v(null);
|
|
80
|
-
let z = v(`arrow-${
|
|
80
|
+
let z = v(`arrow-${n()}`), B = v(`arrow-def-${n()}`), xe = {
|
|
81
81
|
arrow: "plotArrow",
|
|
82
82
|
text: "text",
|
|
83
83
|
line: "plotLine",
|
|
@@ -362,7 +362,7 @@ var ce = ["disabled"], le = [
|
|
|
362
362
|
w.value = [], T.value = [];
|
|
363
363
|
}
|
|
364
364
|
let $ = v(null);
|
|
365
|
-
return (e,
|
|
365
|
+
return (e, n) => (_(), u(s, null, [i.active ? (_(), u("div", {
|
|
366
366
|
key: 0,
|
|
367
367
|
"data-dom-to-png-ignore": "",
|
|
368
368
|
class: m({
|
|
@@ -378,7 +378,7 @@ var ce = ["disabled"], le = [
|
|
|
378
378
|
border: `1px solid ${U.value}`,
|
|
379
379
|
cursor: i.isCursorPointer ? "pointer" : "default"
|
|
380
380
|
}),
|
|
381
|
-
onClick:
|
|
381
|
+
onClick: n[0] ||= (e) => ve("close")
|
|
382
382
|
}, [b(e.$slots, "annotator-action-close", {}, () => [f(a, {
|
|
383
383
|
name: "close",
|
|
384
384
|
stroke: i.color
|
|
@@ -391,7 +391,7 @@ var ce = ["disabled"], le = [
|
|
|
391
391
|
})
|
|
392
392
|
}, [f(o, {
|
|
393
393
|
value: E.value,
|
|
394
|
-
"onUpdate:value":
|
|
394
|
+
"onUpdate:value": n[1] ||= (e) => E.value = e,
|
|
395
395
|
backgroundColor: i.backgroundColor,
|
|
396
396
|
buttonBorderColor: U.value
|
|
397
397
|
}, {
|
|
@@ -404,7 +404,7 @@ var ce = ["disabled"], le = [
|
|
|
404
404
|
])], 4),
|
|
405
405
|
d("button", {
|
|
406
406
|
class: m(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-active": L.value === "text" }]),
|
|
407
|
-
onClick:
|
|
407
|
+
onClick: n[2] ||= (e) => Se(),
|
|
408
408
|
style: g({
|
|
409
409
|
backgroundColor: i.backgroundColor,
|
|
410
410
|
border: `1px solid ${U.value}`,
|
|
@@ -420,7 +420,7 @@ var ce = ["disabled"], le = [
|
|
|
420
420
|
width: "100%",
|
|
421
421
|
textAlign: "center",
|
|
422
422
|
fontSize: "12px"
|
|
423
|
-
}) }, x(re(
|
|
423
|
+
}) }, x(re(t)({
|
|
424
424
|
v: L.value === "text" ? P.value : D.value,
|
|
425
425
|
s: "px",
|
|
426
426
|
r: 1
|
|
@@ -482,7 +482,7 @@ var ce = ["disabled"], le = [
|
|
|
482
482
|
min: .5,
|
|
483
483
|
max: 12,
|
|
484
484
|
step: .1,
|
|
485
|
-
"onUpdate:modelValue":
|
|
485
|
+
"onUpdate:modelValue": n[3] ||= (e) => D.value = e,
|
|
486
486
|
style: g({ accentColor: i.color })
|
|
487
487
|
}, null, 4)), [[ie, D.value]]) : l("", !0),
|
|
488
488
|
L.value === "text" ? oe((_(), u("input", {
|
|
@@ -494,7 +494,7 @@ var ce = ["disabled"], le = [
|
|
|
494
494
|
min: 3,
|
|
495
495
|
max: 48,
|
|
496
496
|
step: .1,
|
|
497
|
-
"onUpdate:modelValue":
|
|
497
|
+
"onUpdate:modelValue": n[4] ||= (e) => P.value = e,
|
|
498
498
|
style: g({ accentColor: i.color })
|
|
499
499
|
}, null, 4)), [[ie, P.value]]) : l("", !0)
|
|
500
500
|
], 6)) : l("", !0), (_(), u("svg", {
|
|
@@ -507,14 +507,14 @@ var ce = ["disabled"], le = [
|
|
|
507
507
|
"vue-ui-pen-and-paper": !0,
|
|
508
508
|
inactive: !i.active
|
|
509
509
|
}),
|
|
510
|
-
onMousedown:
|
|
511
|
-
onMousemove:
|
|
512
|
-
onMouseup:
|
|
513
|
-
onMouseleave:
|
|
514
|
-
onTouchstart:
|
|
515
|
-
onTouchmove:
|
|
516
|
-
onTouchend:
|
|
517
|
-
onTouchcancel:
|
|
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
518
|
}, [d("g", {
|
|
519
519
|
ref_key: "G",
|
|
520
520
|
ref: O
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { t } from "./package-
|
|
2
|
+
import { t } from "./package-BMc_ZieJ.js";
|
|
3
3
|
import { createElementBlock as n, openBlock as r, toDisplayString as i, unref as a } from "vue";
|
|
4
4
|
//#region src/atoms/PackageVersion.vue
|
|
5
5
|
var o = /* @__PURE__ */ e({ default: () => c }), s = { "aria-hidden": "true" }, c = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as a } from "./BaseIcon-
|
|
4
|
-
import { t as o } from "./ColorPicker-
|
|
2
|
+
import { Ot as t, X as n, q as r, t as i } from "./lib-BuMGJ_a0.js";
|
|
3
|
+
import { t as a } from "./BaseIcon-91MZoczJ.js";
|
|
4
|
+
import { t as o } from "./ColorPicker-CIAkdPrj.js";
|
|
5
5
|
import { computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, guardReactiveProps as f, nextTick as p, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as ee, onMounted as te, openBlock as _, ref as v, renderSlot as y, toDisplayString as ne, unref as re, vModelText as ie, watch as b, withCtx as ae, withDirectives as oe } from "vue";
|
|
6
6
|
//#region src/atoms/PenAndPaper.vue
|
|
7
7
|
var se = /* @__PURE__ */ e({ default: () => x }), ce = ["disabled"], x = {
|
|
@@ -38,7 +38,7 @@ var se = /* @__PURE__ */ e({ default: () => x }), ce = ["disabled"], x = {
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["close"],
|
|
40
40
|
setup(e, { emit: se }) {
|
|
41
|
-
let x = e, le = se, S = v([]), C = v([]), w = v(x.color), T = v(2), E = v(!1), D = v(""), O = v(null), k = v(null), A = v(null), j = v(null), M = v(`arrow-${
|
|
41
|
+
let x = e, le = se, S = v([]), C = v([]), w = v(x.color), T = v(2), E = v(!1), D = v(""), O = v(null), k = v(null), A = v(null), j = v(null), M = v(`arrow-${r()}`), ue = v(`arrow-def-${r()}`), N = v(!1), P = v(null), F = v({
|
|
42
42
|
x: 0,
|
|
43
43
|
y: 0
|
|
44
44
|
}), I = v([""]), L = v({
|
|
@@ -331,7 +331,7 @@ var se = /* @__PURE__ */ e({ default: () => x }), ce = ["disabled"], x = {
|
|
|
331
331
|
e && (await p(), je.value?.focus());
|
|
332
332
|
}, { flush: "post" }), ee(() => {
|
|
333
333
|
W(), O.value && x.svgRef && (O.value.remove(), $());
|
|
334
|
-
}), (t,
|
|
334
|
+
}), (t, r) => e.active ? (_(), l("div", {
|
|
335
335
|
key: 0,
|
|
336
336
|
"data-dom-to-png-ignore": "",
|
|
337
337
|
class: "vue-ui-pen-and-paper-actions",
|
|
@@ -341,7 +341,7 @@ var se = /* @__PURE__ */ e({ default: () => x }), ce = ["disabled"], x = {
|
|
|
341
341
|
ref_key: "buttonToggle",
|
|
342
342
|
ref: je,
|
|
343
343
|
class: "vue-ui-pen-and-paper-action",
|
|
344
|
-
onClick:
|
|
344
|
+
onClick: r[0] ||= (e) => le("close"),
|
|
345
345
|
style: g({
|
|
346
346
|
backgroundColor: e.backgroundColor,
|
|
347
347
|
border: `1px solid ${G.value}`,
|
|
@@ -357,7 +357,7 @@ var se = /* @__PURE__ */ e({ default: () => x }), ce = ["disabled"], x = {
|
|
|
357
357
|
style: g(`padding: 0 !important; cursor: ${e.isCursorPointer ? "pointer" : "default"}`)
|
|
358
358
|
}, [d(o, {
|
|
359
359
|
value: w.value,
|
|
360
|
-
"onUpdate:value":
|
|
360
|
+
"onUpdate:value": r[1] ||= (e) => w.value = e,
|
|
361
361
|
backgroundColor: e.backgroundColor,
|
|
362
362
|
buttonBorderColor: G.value,
|
|
363
363
|
isCursorPointer: e.isCursorPointer
|
|
@@ -372,7 +372,7 @@ var se = /* @__PURE__ */ e({ default: () => x }), ce = ["disabled"], x = {
|
|
|
372
372
|
])], 4),
|
|
373
373
|
u("button", {
|
|
374
374
|
class: m(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-active": V.value === "text" }]),
|
|
375
|
-
onClick:
|
|
375
|
+
onClick: r[2] ||= (e) => me(),
|
|
376
376
|
style: g({
|
|
377
377
|
backgroundColor: e.backgroundColor,
|
|
378
378
|
border: `1px solid ${G.value}`,
|
|
@@ -389,7 +389,7 @@ var se = /* @__PURE__ */ e({ default: () => x }), ce = ["disabled"], x = {
|
|
|
389
389
|
textAlign: "center",
|
|
390
390
|
fontSize: "12px",
|
|
391
391
|
fontVariantNumeric: "tabular-nums"
|
|
392
|
-
}) }, ne(re(
|
|
392
|
+
}) }, ne(re(n)({
|
|
393
393
|
v: V.value === "text" ? Math.round(R.value) : Math.round(T.value),
|
|
394
394
|
s: "px",
|
|
395
395
|
r: 1
|
|
@@ -441,7 +441,7 @@ var se = /* @__PURE__ */ e({ default: () => x }), ce = ["disabled"], x = {
|
|
|
441
441
|
min: 3,
|
|
442
442
|
max: 48,
|
|
443
443
|
step: 1,
|
|
444
|
-
"onUpdate:modelValue":
|
|
444
|
+
"onUpdate:modelValue": r[3] ||= (e) => R.value = e,
|
|
445
445
|
style: g({ accentColor: e.color })
|
|
446
446
|
}, null, 4)), [[ie, R.value]]) : oe((_(), l("input", {
|
|
447
447
|
key: 1,
|
|
@@ -451,7 +451,7 @@ var se = /* @__PURE__ */ e({ default: () => x }), ce = ["disabled"], x = {
|
|
|
451
451
|
min: .5,
|
|
452
452
|
max: 12,
|
|
453
453
|
step: .1,
|
|
454
|
-
"onUpdate:modelValue":
|
|
454
|
+
"onUpdate:modelValue": r[4] ||= (e) => T.value = e,
|
|
455
455
|
style: g({ accentColor: e.color })
|
|
456
456
|
}, null, 4)), [[ie, T.value]])
|
|
457
457
|
], 4)) : c("", !0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as e, z as t } from "./lib-BuMGJ_a0.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { computed as r, createCommentVNode as i, createElementBlock as a, normalizeClass as o, normalizeStyle as s, openBlock as c } from "vue";
|
|
4
4
|
//#region src/atoms/Shape.vue
|
|
@@ -82,13 +82,13 @@ var l = [
|
|
|
82
82
|
}
|
|
83
83
|
}[e];
|
|
84
84
|
}
|
|
85
|
-
let g = r(() => h(p.shape)), _ = r(() => p.shape === "star" ?
|
|
85
|
+
let g = r(() => h(p.shape)), _ = r(() => p.shape === "star" ? t({
|
|
86
86
|
plot: {
|
|
87
87
|
x: p.plot.x,
|
|
88
88
|
y: p.plot.y
|
|
89
89
|
},
|
|
90
90
|
radius: p.radius * (p.isSelected ? p.zoom : 1)
|
|
91
|
-
}) : null), v = r(() =>
|
|
91
|
+
}) : null), v = r(() => e({
|
|
92
92
|
plot: {
|
|
93
93
|
x: p.plot.x,
|
|
94
94
|
y: p.plot.y
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e, I as t, P as n, V as r, Yt as i, q as a, r as o, t as ee } from "./lib-BuMGJ_a0.js";
|
|
2
2
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { i as te, l as ne, t as c } from "./useResponsive-ZtArZtUf.js";
|
|
4
|
-
import { t as re } from "./BaseIcon-
|
|
4
|
+
import { t as re } from "./BaseIcon-91MZoczJ.js";
|
|
5
5
|
import { t as ie } from "./DefGrad-DVBqDjhO.js";
|
|
6
6
|
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ae, mergeProps as oe, nextTick as se, normalizeClass as m, normalizeProps as ce, normalizeStyle as h, onBeforeUnmount as le, onMounted as ue, onUpdated as de, openBlock as g, ref as _, renderList as v, renderSlot as fe, toDisplayString as pe, unref as me, useCssVars as he, vModelText as ge, watch as y, withDirectives as _e } from "vue";
|
|
7
7
|
//#region src/atoms/Slicer.vue
|
|
@@ -323,7 +323,7 @@ var ve = ["data-minimap"], ye = {
|
|
|
323
323
|
v3c1f3a6b: s.selectColor,
|
|
324
324
|
v430a7779: wt.value
|
|
325
325
|
}));
|
|
326
|
-
let b = s, x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), lt = _(
|
|
326
|
+
let b = s, x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), lt = _(a()), T = u(() => w.value && b.minimapCompact), ut = _(0);
|
|
327
327
|
ue(() => {
|
|
328
328
|
let e = () => {
|
|
329
329
|
x.value && (ut.value = x.value.getBoundingClientRect().width);
|
|
@@ -473,8 +473,8 @@ var ve = ["data-minimap"], ye = {
|
|
|
473
473
|
let a = Math.max(i, Math.max(Math.abs(e), Math.abs(t)));
|
|
474
474
|
return (e) => (1 - (r(e / a, -1, 1) + 1) / 2) * n;
|
|
475
475
|
}
|
|
476
|
-
function Bt(
|
|
477
|
-
if (!
|
|
476
|
+
function Bt(i, a = !1) {
|
|
477
|
+
if (!i || !i.length) return {
|
|
478
478
|
fullSet: "",
|
|
479
479
|
points: [],
|
|
480
480
|
selectionSet: "",
|
|
@@ -486,7 +486,7 @@ var ve = ["data-minimap"], ye = {
|
|
|
486
486
|
fullMarkers: [],
|
|
487
487
|
selectionMarkers: []
|
|
488
488
|
};
|
|
489
|
-
let o = Math.max(1, j.value.height), ee = zt(F.value, I.value, o), s =
|
|
489
|
+
let o = Math.max(1, j.value.height), ee = zt(F.value, I.value, o), s = i.length, te = Math.min(Math.max(0, Q.value), Math.max(0, s - 1)), ne = Math.min(s, Math.max(te + 1, $.value)), c = i.map((e, t) => {
|
|
490
490
|
let n = e, r = Number.isFinite(n), i = P.value * t + (b.minimapCompact ? 0 : P.value / 2), a = ee(0);
|
|
491
491
|
return {
|
|
492
492
|
x: i,
|
|
@@ -498,9 +498,9 @@ var ve = ["data-minimap"], ye = {
|
|
|
498
498
|
};
|
|
499
499
|
}), re = (e) => e >= 0 && e < c.length && Number.isFinite(c[e]?.value), ie = c.filter((e) => Number.isFinite(e.value) && !re(e.i - 1) && !re(e.i + 1)), l = ie.filter((e) => e.i >= te && e.i < ne), u = c.slice(te, ne);
|
|
500
500
|
return {
|
|
501
|
-
fullSet: c.length >= 2 ? b.smoothMinimap ||
|
|
501
|
+
fullSet: c.length >= 2 ? b.smoothMinimap || a ? b.cutNullValues ? t(c) : n(c.filter((e) => e.value != null)) : b.cutNullValues ? e(c) : r(c.filter((e) => e.value != null)) : "",
|
|
502
502
|
points: c,
|
|
503
|
-
selectionSet: u.length >= 2 ? b.smoothMinimap ||
|
|
503
|
+
selectionSet: u.length >= 2 ? b.smoothMinimap || a ? b.cutNullValues ? t(u) : n(u.filter((e) => e.value != null)) : b.cutNullValues ? e(u) : r(u.filter((e) => e.value != null)) : "",
|
|
504
504
|
sliced: u,
|
|
505
505
|
firstPlot: c[te] || null,
|
|
506
506
|
lastPlot: c[Math.max(0, ne - 1)] || null,
|
|
@@ -567,16 +567,16 @@ var ve = ["data-minimap"], ye = {
|
|
|
567
567
|
if (Z.value = !0, !b.enableSelectionDrag) return;
|
|
568
568
|
let t = e.type === "touchstart";
|
|
569
569
|
t || e.stopPropagation();
|
|
570
|
-
let
|
|
571
|
-
if (!
|
|
570
|
+
let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
|
|
571
|
+
if (!r || !(r instanceof Element) || r.classList && r.classList.contains("range-handle")) return;
|
|
572
572
|
U.value = !0;
|
|
573
|
-
let a = t ?
|
|
573
|
+
let a = t ? n ? n.clientX : 0 : e.clientX;
|
|
574
574
|
if (Jt.value = a, $t.value = a, b.focusOnDrag && !qt.value && x.value) {
|
|
575
575
|
rn.value = an(a);
|
|
576
|
-
let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = b.max - b.min,
|
|
577
|
-
o = Math.max(b.min, Math.min(o, b.max -
|
|
578
|
-
let ee = Math.min(b.max, o +
|
|
579
|
-
V(o), H(ee),
|
|
576
|
+
let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = b.max - b.min, n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), o = rn.value - r;
|
|
577
|
+
o = Math.max(b.min, Math.min(o, b.max - n));
|
|
578
|
+
let ee = Math.min(b.max, o + n);
|
|
579
|
+
V(o), H(ee), i(x.value, "mouseup"), await se(), i(x.value, "mousedown", { clientX: a });
|
|
580
580
|
}
|
|
581
581
|
en.value = Number(S.value), tn.value = Number(C.value), nn.value = Qt.value, W = t ? "touchmove" : "mousemove", G = t ? "touchend" : "mouseup", K = t ? cn : sn, q = t ? dn : un, window.addEventListener(W, K, { passive: !1 }), window.addEventListener(G, q);
|
|
582
582
|
};
|