vue-data-ui 3.17.13 → 3.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-Cj6W6Xbi.js +116 -0
- package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
- package/dist/BaseIcon-CEmt3Ifx.js +499 -0
- package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
- package/dist/ColorPicker-DS_QkH3W.js +255 -0
- package/dist/DataTable-BvDJEAma.js +150 -0
- package/dist/Legend-Gg5Q4Clb.js +114 -0
- package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
- package/dist/PackageVersion-DhDKg-ez.js +11 -0
- package/dist/PenAndPaper-DwpL8Z0l.js +461 -0
- package/dist/RecursiveCircles-DPpLel6f.js +117 -0
- package/dist/RecursiveLabels-DBMJf_to.js +56 -0
- package/dist/RecursiveLinks-D06dBL4a.js +78 -0
- package/dist/Shape-DEGOZ6GG.js +141 -0
- package/dist/Slicer-BlfyiHHD.js +1144 -0
- package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
- package/dist/SparkTooltip-c2DL7gqD.js +93 -0
- package/dist/Title-__gWq2g6.js +87 -0
- package/dist/Tooltip-B7lmdbac.js +307 -0
- package/dist/UserOptions-DMw8EZEo.js +1407 -0
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
- package/dist/canvas-lib-DTaADQOK.js +79 -0
- package/dist/components/arrow.js +2 -5
- package/dist/components/vue-ui-3d-bar.js +2 -5
- package/dist/components/vue-ui-accordion.js +2 -5
- package/dist/components/vue-ui-age-pyramid.js +2 -5
- package/dist/components/vue-ui-annotator.js +2 -5
- package/dist/components/vue-ui-bullet.js +2 -5
- package/dist/components/vue-ui-bump.js +2 -5
- package/dist/components/vue-ui-candlestick.js +2 -5
- package/dist/components/vue-ui-carousel-table.js +2 -5
- package/dist/components/vue-ui-chestnut.js +2 -5
- package/dist/components/vue-ui-chord.js +2 -5
- package/dist/components/vue-ui-circle-pack.js +2 -5
- package/dist/components/vue-ui-cursor.js +2 -5
- package/dist/components/vue-ui-dag.js +2 -5
- package/dist/components/vue-ui-dashboard.js +2 -5
- package/dist/components/vue-ui-digits.js +2 -5
- package/dist/components/vue-ui-donut-evolution.js +2 -5
- package/dist/components/vue-ui-donut.js +2 -5
- package/dist/components/vue-ui-dumbbell.js +2 -5
- package/dist/components/vue-ui-flow.js +2 -5
- package/dist/components/vue-ui-funnel.js +2 -5
- package/dist/components/vue-ui-galaxy.js +2 -5
- package/dist/components/vue-ui-gauge.js +2 -5
- package/dist/components/vue-ui-geo.js +2 -5
- package/dist/components/vue-ui-gizmo.js +2 -5
- package/dist/components/vue-ui-heatmap.js +2 -5
- package/dist/components/vue-ui-history-plot.js +2 -5
- package/dist/components/vue-ui-horizontal-bar.js +2 -5
- package/dist/components/vue-ui-icon.js +2 -5
- package/dist/components/vue-ui-kpi.js +2 -5
- package/dist/components/vue-ui-mini-loader.js +2 -5
- package/dist/components/vue-ui-molecule.js +2 -5
- package/dist/components/vue-ui-mood-radar.js +2 -5
- package/dist/components/vue-ui-nested-donuts.js +2 -5
- package/dist/components/vue-ui-onion.js +2 -5
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
- package/dist/components/vue-ui-pattern-seed.js +2 -5
- package/dist/components/vue-ui-pattern.js +2 -5
- package/dist/components/vue-ui-quadrant.js +2 -5
- package/dist/components/vue-ui-quick-chart.js +2 -5
- package/dist/components/vue-ui-radar.js +2 -5
- package/dist/components/vue-ui-rating.js +2 -5
- package/dist/components/vue-ui-relation-circle.js +2 -5
- package/dist/components/vue-ui-ridgeline.js +2 -5
- package/dist/components/vue-ui-rings.js +2 -5
- package/dist/components/vue-ui-scatter.js +2 -5
- package/dist/components/vue-ui-skeleton.js +2 -5
- package/dist/components/vue-ui-smiley.js +2 -5
- package/dist/components/vue-ui-spark-trend.js +2 -5
- package/dist/components/vue-ui-sparkbar.js +2 -5
- package/dist/components/vue-ui-sparkgauge.js +2 -5
- package/dist/components/vue-ui-sparkhistogram.js +2 -5
- package/dist/components/vue-ui-sparkline.js +2 -5
- package/dist/components/vue-ui-sparkstackbar.js +2 -5
- package/dist/components/vue-ui-stackbar.js +2 -5
- package/dist/components/vue-ui-stackline.js +2 -5
- package/dist/components/vue-ui-strip-plot.js +2 -5
- package/dist/components/vue-ui-table-heatmap.js +2 -5
- package/dist/components/vue-ui-table-sparkline.js +2 -5
- package/dist/components/vue-ui-table.js +2 -5
- package/dist/components/vue-ui-thermometer.js +2 -5
- package/dist/components/vue-ui-timer.js +2 -5
- package/dist/components/vue-ui-tiremarks.js +2 -5
- package/dist/components/vue-ui-treemap.js +2 -5
- package/dist/components/vue-ui-vertical-bar.js +2 -5
- package/dist/components/vue-ui-waffle.js +2 -5
- package/dist/components/vue-ui-wheel.js +2 -5
- package/dist/components/vue-ui-word-cloud.js +2 -5
- package/dist/components/vue-ui-world.js +2 -5
- package/dist/components/vue-ui-xy-canvas.js +2 -5
- package/dist/components/vue-ui-xy.js +2 -5
- package/dist/dom-to-png-9WSt6hXe.js +237 -0
- package/dist/exposedLib-CwWU4zv-.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-BjOr008R.js +74 -0
- package/dist/labelUtils-Cr97N8E1.js +19 -0
- package/dist/lib-BkiwukKO.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-DSXSFUnK.js +90 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/style.css +2 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +23 -0
- package/dist/types/vue-data-ui.d.ts +4775 -627
- package/dist/types/vue-ui-3d-bar.d.ts +64 -9
- package/dist/types/vue-ui-accordion.d.ts +4 -3
- package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
- package/dist/types/vue-ui-annotator.d.ts +3 -5
- package/dist/types/vue-ui-bullet.d.ts +60 -9
- package/dist/types/vue-ui-bump.d.ts +65 -9
- package/dist/types/vue-ui-candlestick.d.ts +83 -9
- package/dist/types/vue-ui-carousel-table.d.ts +36 -6
- package/dist/types/vue-ui-chestnut.d.ts +66 -9
- package/dist/types/vue-ui-chord.d.ts +78 -9
- package/dist/types/vue-ui-circle-pack.d.ts +86 -9
- package/dist/types/vue-ui-cursor.d.ts +4 -2
- package/dist/types/vue-ui-dag.d.ts +92 -9
- package/dist/types/vue-ui-dashboard.d.ts +43 -6
- package/dist/types/vue-ui-digits.d.ts +4 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
- package/dist/types/vue-ui-donut.d.ts +92 -9
- package/dist/types/vue-ui-dumbbell.d.ts +65 -9
- package/dist/types/vue-ui-flow.d.ts +79 -9
- package/dist/types/vue-ui-funnel.d.ts +55 -9
- package/dist/types/vue-ui-galaxy.d.ts +83 -9
- package/dist/types/vue-ui-gauge.d.ts +64 -9
- package/dist/types/vue-ui-geo.d.ts +71 -9
- package/dist/types/vue-ui-gizmo.d.ts +17 -6
- package/dist/types/vue-ui-heatmap.d.ts +73 -9
- package/dist/types/vue-ui-history-plot.d.ts +82 -9
- package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
- package/dist/types/vue-ui-icon.d.ts +2 -2
- package/dist/types/vue-ui-kpi.d.ts +21 -7
- package/dist/types/vue-ui-mini-loader.d.ts +5 -3
- package/dist/types/vue-ui-molecule.d.ts +86 -9
- package/dist/types/vue-ui-mood-radar.d.ts +66 -9
- package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
- package/dist/types/vue-ui-onion.d.ts +77 -9
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -2
- package/dist/types/vue-ui-quadrant.d.ts +86 -9
- package/dist/types/vue-ui-quick-chart.d.ts +79 -9
- package/dist/types/vue-ui-radar.d.ts +83 -9
- package/dist/types/vue-ui-rating.d.ts +22 -6
- package/dist/types/vue-ui-relation-circle.d.ts +66 -9
- package/dist/types/vue-ui-ridgeline.d.ts +69 -9
- package/dist/types/vue-ui-rings.d.ts +70 -9
- package/dist/types/vue-ui-scatter.d.ts +67 -9
- package/dist/types/vue-ui-skeleton.d.ts +3 -2
- package/dist/types/vue-ui-smiley.d.ts +3 -2
- package/dist/types/vue-ui-spark-trend.d.ts +14 -6
- package/dist/types/vue-ui-sparkbar.d.ts +27 -6
- package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
- package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
- package/dist/types/vue-ui-sparkline.d.ts +35 -6
- package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
- package/dist/types/vue-ui-stackbar.d.ts +85 -9
- package/dist/types/vue-ui-stackline.d.ts +81 -9
- package/dist/types/vue-ui-strip-plot.d.ts +66 -9
- package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
- package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
- package/dist/types/vue-ui-table.d.ts +10 -2
- package/dist/types/vue-ui-thermometer.d.ts +46 -9
- package/dist/types/vue-ui-timer.d.ts +31 -5
- package/dist/types/vue-ui-tiremarks.d.ts +46 -9
- package/dist/types/vue-ui-treemap.d.ts +73 -9
- package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
- package/dist/types/vue-ui-waffle.d.ts +72 -9
- package/dist/types/vue-ui-wheel.d.ts +46 -9
- package/dist/types/vue-ui-word-cloud.d.ts +73 -9
- package/dist/types/vue-ui-world.d.ts +68 -9
- package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
- package/dist/types/vue-ui-xy.d.ts +108 -10
- package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-BV0kTCnO.js +7431 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-Ck4hsrpu.js +10 -0
- package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-X0yWOynH.js +49 -0
- package/dist/useResponsive-CrAInupd.js +19 -0
- package/dist/useStableElementSize-0I1IpHPl.js +77 -0
- package/dist/useSvgExport-Dtu973wa.js +755 -0
- package/dist/useTableResponsive-DrM1xqII.js +24 -0
- package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
- package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
- package/dist/useTimeLabels-C0x7zUXP.js +272 -0
- package/dist/useUserOptionState-CjPJPTg2.js +15 -0
- package/dist/utils.js +27 -44
- package/dist/vClickOutside-CbX_bC9A.js +13 -0
- package/dist/vue-data-ui-DIh8ayZc.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
- package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
- package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
- package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
- package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
- package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
- package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
- package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
- package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
- package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
- package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
- package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
- package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
- package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
- package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
- package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
- package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
- package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
- package/dist/vue-ui-flow-OK563Z46.js +1223 -0
- package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
- package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
- package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
- package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
- package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
- package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
- package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
- package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
- package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
- package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
- package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
- package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
- package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.js +1413 -0
- package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
- package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
- package/dist/vue-ui-quadrant-DLD_ZR9M.js +1966 -0
- package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
- package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
- package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
- package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
- package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
- package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
- package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
- package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
- package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
- package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
- package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
- package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
- package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
- package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
- package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
- package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
- package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
- package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
- package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
- package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
- package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
- package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
- package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
- package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
- package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
- package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
- package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
- package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
- package/dist/vue-ui-world-CEevuFbk.js +14252 -0
- package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
- package/dist/vue-ui-xy-canvas-D2f0d45c.js +1774 -0
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
- package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
- package/dist/vue_ui_bump-frnXaXul.js +201 -0
- package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
- package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
- package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
- package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
- package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
- package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
- package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
- package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
- package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
- package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
- package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
- package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
- package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
- package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
- package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
- package/dist/vue_ui_onion-DTV9cup-.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
- package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
- package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
- package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
- package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
- package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
- package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
- package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
- package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
- package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
- package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
- package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
- package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
- package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
- package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
- package/package.json +7 -7
- package/dist/A11yDataTable-BpmuNomI.js +0 -54
- package/dist/Arrow-dSvLFssU.js +0 -101
- package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
- package/dist/BaseIcon-DX0hTWa-.js +0 -476
- package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
- package/dist/BaseScanner-C2j3TsSY.js +0 -36
- package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
- package/dist/ColorPicker-bAxGcXK0.js +0 -271
- package/dist/DataTable-cMnb68Ik.js +0 -145
- package/dist/Legend-DGN5lY60.js +0 -104
- package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
- package/dist/PackageVersion-BfrCAH6_.js +0 -10
- package/dist/PenAndPaper-CJDoB5H9.js +0 -527
- package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
- package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
- package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
- package/dist/Shape-CxJ5_Rre.js +0 -116
- package/dist/Slicer-D7UcO8sN.js +0 -1145
- package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
- package/dist/SparkTooltip-D4bM-kfz.js +0 -68
- package/dist/Title-BbKoiBk2.js +0 -88
- package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
- package/dist/UserOptions-DVduN6X7.js +0 -1474
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/dom-to-png-DGvx6i5V.js +0 -262
- package/dist/exposedLib-sJvY1pST.js +0 -22
- package/dist/geoProjections-BFq2sOBY.js +0 -162
- package/dist/img-CjTQXS0U.js +0 -57
- package/dist/labelUtils-DX9oyq3C.js +0 -26
- package/dist/lib-DMzrGQHK.js +0 -2477
- package/dist/patternUtils-BINhU4Ky.js +0 -615
- package/dist/pdf-C4H4o1Cj.js +0 -88
- package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
- package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
- package/dist/useConfig-CG4HT3wS.js +0 -7901
- package/dist/useFitSvgText-2crs6Fv5.js +0 -69
- package/dist/useNestedProp-DH0BEVVS.js +0 -13
- package/dist/useObjectBindings-Dixg-RIe.js +0 -228
- package/dist/usePanZoom-BbDhcKWf.js +0 -141
- package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
- package/dist/usePrinter-C4t8DdQ-.js +0 -51
- package/dist/useResponsive-DfdjqQps.js +0 -195
- package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
- package/dist/useSvgExport-BTG4hVPO.js +0 -870
- package/dist/useTableResponsive-BpfiEtzR.js +0 -26
- package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
- package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
- package/dist/useTimeLabels-Cv0tD9In.js +0 -307
- package/dist/useUserOptionState-B7Ej974k.js +0 -19
- package/dist/vClickOutside-C6WiFswA.js +0 -13
- package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
- package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
- package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
- package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
- package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
- package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
- package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
- package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
- package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
- package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
- package/dist/vue-ui-chord-DWyar45U.js +0 -1457
- package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
- package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
- package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
- package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
- package/dist/vue-ui-digits-CZmdir8V.js +0 -211
- package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
- package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
- package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
- package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
- package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
- package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
- package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
- package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
- package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
- package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
- package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
- package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
- package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
- package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
- package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
- package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
- package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
- package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
- package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
- package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
- package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
- package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
- package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
- package/dist/vue-ui-rating-CqPlP88P.js +0 -370
- package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
- package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
- package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
- package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
- package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
- package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
- package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
- package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
- package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
- package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
- package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
- package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
- package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
- package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
- package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
- package/dist/vue-ui-table-BX2iMku4.js +0 -1726
- package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
- package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
- package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
- package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
- package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
- package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
- package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
- package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
- package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
- package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
- package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
- package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
- package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
- package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
- package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
- package/dist/vue_ui_bump-CIht647H.js +0 -22
- package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
- package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
- package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
- package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
- package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
- package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
- package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
- package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
- package/dist/vue_ui_flow-BErINgox.js +0 -22
- package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
- package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
- package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
- package/dist/vue_ui_geo--kg4VoVX.js +0 -22
- package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
- package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
- package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
- package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
- package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
- package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
- package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
- package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
- package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
- package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
- package/dist/vue_ui_radar-DryGBOrz.js +0 -22
- package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
- package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
- package/dist/vue_ui_rings-CxOrekqA.js +0 -22
- package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
- package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
- package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
- package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
- package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
- package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
- package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
- package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
- package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
- package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
- package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
- package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
- package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
- package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
- package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
- package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
- package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
- package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
- package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
- package/dist/vue_ui_xy-esktmpg-.js +0 -22
- package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
2
|
+
import { t } from "./BaseIcon-CEmt3Ifx.js";
|
|
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
|
+
var l = /* @__PURE__ */ e({
|
|
5
|
+
__name: "BaseLegendToggle",
|
|
6
|
+
props: {
|
|
7
|
+
backgroundColor: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "#CCCCCC"
|
|
10
|
+
},
|
|
11
|
+
color: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "#2D353C"
|
|
14
|
+
},
|
|
15
|
+
fontSize: {
|
|
16
|
+
type: Number,
|
|
17
|
+
default: 14
|
|
18
|
+
},
|
|
19
|
+
checked: { type: Boolean },
|
|
20
|
+
isCursorPointer: { type: Boolean }
|
|
21
|
+
},
|
|
22
|
+
emits: ["toggle"],
|
|
23
|
+
setup(e, { emit: l }) {
|
|
24
|
+
let u = l;
|
|
25
|
+
return (l, d) => (s(), n("div", {
|
|
26
|
+
class: a({ "vue-ui-legend-toggle-wrapper": e.isCursorPointer }),
|
|
27
|
+
"data-dom-to-png-ignore": ""
|
|
28
|
+
}, [r("div", {
|
|
29
|
+
class: "vue-ui-legend-toggle",
|
|
30
|
+
role: "button",
|
|
31
|
+
tabindex: "0",
|
|
32
|
+
onClick: d[0] ||= (e) => u("toggle"),
|
|
33
|
+
onKeydown: d[1] ||= c((e) => u("toggle"), ["enter"]),
|
|
34
|
+
style: o({
|
|
35
|
+
position: "relative",
|
|
36
|
+
display: "flex",
|
|
37
|
+
alignItems: "center",
|
|
38
|
+
justifyContent: "center",
|
|
39
|
+
backgroundColor: e.backgroundColor,
|
|
40
|
+
padding: e.fontSize / 4 + "px"
|
|
41
|
+
})
|
|
42
|
+
}, [i(t, {
|
|
43
|
+
name: e.checked ? "minus" : "check",
|
|
44
|
+
stroke: e.color,
|
|
45
|
+
size: e.fontSize * .6,
|
|
46
|
+
"stroke-width": e.fontSize / 4
|
|
47
|
+
}, null, 8, [
|
|
48
|
+
"name",
|
|
49
|
+
"stroke",
|
|
50
|
+
"size",
|
|
51
|
+
"stroke-width"
|
|
52
|
+
])], 36)], 2));
|
|
53
|
+
}
|
|
54
|
+
}, [["__scopeId", "data-v-f05513e8"]]);
|
|
55
|
+
//#endregion
|
|
56
|
+
export { l as t };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
2
|
+
import { computed as t, createElementBlock as n, openBlock as r, ref as i, unref as a, watchEffect as o } from "vue";
|
|
3
|
+
//#region src/useLoading.js
|
|
4
|
+
function s({ config: e, dataset: n, skeletonDataset: r, skeletonConfig: s, FINAL_CONFIG: c, prepareConfig: l, callback: u = null, dsIsNumber: d = !1, allowEmptyDataset: f = !1 }) {
|
|
5
|
+
let p = i(!1), m = t(() => {
|
|
6
|
+
let t = a(e)?.loading ?? !1, r = a(n), i = f ? !1 : d ? [null, void 0].includes(r) : r == null || Array.isArray(r) && r.length === 0 || Object.keys(r).length === 0;
|
|
7
|
+
return p.value || t || i;
|
|
8
|
+
}), h = i(a(n));
|
|
9
|
+
return o(() => {
|
|
10
|
+
h.value = m.value ? r : a(n), c.value = m.value ? s : l(), u && u();
|
|
11
|
+
}), {
|
|
12
|
+
loading: m,
|
|
13
|
+
FINAL_DATASET: h,
|
|
14
|
+
manualLoading: p,
|
|
15
|
+
skeletonDataset: r,
|
|
16
|
+
skeletonConfig: s
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/atoms/BaseScanner.vue
|
|
21
|
+
var c = {}, l = { class: "vue-data-ui-scanner" };
|
|
22
|
+
function u(e, t) {
|
|
23
|
+
return r(), n("div", l);
|
|
24
|
+
}
|
|
25
|
+
var d = /* @__PURE__ */ e(c, [["render", u], ["__scopeId", "data-v-8c8b2e12"]]);
|
|
26
|
+
//#endregion
|
|
27
|
+
export { s as n, d as t };
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
2
|
+
import { t } from "./BaseIcon-CEmt3Ifx.js";
|
|
3
|
+
import { n } from "./exposedLib-CwWU4zv-.js";
|
|
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
|
+
//#region src/atoms/BaseZoomControls.vue
|
|
6
|
+
var f = ["disabled"], p = /* @__PURE__ */ e({
|
|
7
|
+
__name: "BaseZoomControls",
|
|
8
|
+
props: {
|
|
9
|
+
config: {
|
|
10
|
+
type: Object,
|
|
11
|
+
default() {
|
|
12
|
+
return {};
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
scale: {
|
|
16
|
+
type: Number,
|
|
17
|
+
default: 0
|
|
18
|
+
},
|
|
19
|
+
withDirection: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: !1
|
|
22
|
+
},
|
|
23
|
+
isFullscreen: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: !1
|
|
26
|
+
},
|
|
27
|
+
isCursorPointer: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !1
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
emits: [
|
|
33
|
+
"zoomIn",
|
|
34
|
+
"zoomOut",
|
|
35
|
+
"resetZoom",
|
|
36
|
+
"switchDirection"
|
|
37
|
+
],
|
|
38
|
+
setup(e, { emit: p }) {
|
|
39
|
+
let m = p;
|
|
40
|
+
return (p, h) => (l(), i("div", {
|
|
41
|
+
class: s({
|
|
42
|
+
"vue-data-ui-zoom-controls": !0,
|
|
43
|
+
"vue-data-ui-zoom-controls-fullscreen": e.isFullscreen
|
|
44
|
+
}),
|
|
45
|
+
"data-dom-to-png-ignore": "",
|
|
46
|
+
style: c({
|
|
47
|
+
border: e.config.style.chart.controls.border,
|
|
48
|
+
backgroundColor: e.config.style.chart.controls.backgroundColor,
|
|
49
|
+
padding: e.config.style.chart.controls.padding,
|
|
50
|
+
borderRadius: e.config.style.chart.controls.borderRadius,
|
|
51
|
+
"--vue-data-ui-zoom-control-button-color": e.config.style.chart.controls.buttonColor,
|
|
52
|
+
"--vue-data-ui-zoom-control-button-color-hover": d(n)(e.config.style.chart.controls.buttonColor, .2)
|
|
53
|
+
})
|
|
54
|
+
}, [
|
|
55
|
+
a("button", {
|
|
56
|
+
onClick: h[0] ||= (e) => m("zoomOut"),
|
|
57
|
+
class: "vue-data-ui-zoom-controls-button",
|
|
58
|
+
"data-cy-zoom-out": "",
|
|
59
|
+
style: c({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
60
|
+
}, [o(t, {
|
|
61
|
+
name: "zoomMinus",
|
|
62
|
+
stroke: e.config.style.chart.controls.color,
|
|
63
|
+
size: e.config.style.chart.controls.fontSize * 1.2
|
|
64
|
+
}, null, 8, ["stroke", "size"])], 4),
|
|
65
|
+
a("button", {
|
|
66
|
+
class: "vue-data-ui-zoom-controls-button-zoom",
|
|
67
|
+
onClick: h[1] ||= (e) => m("resetZoom"),
|
|
68
|
+
"data-cy-zoom-reset": "",
|
|
69
|
+
style: c({
|
|
70
|
+
color: e.config.style.chart.controls.color,
|
|
71
|
+
width: e.config.style.chart.controls.fontSize * 4 + "px",
|
|
72
|
+
borderRadius: e.config.style.chart.controls.borderRadius,
|
|
73
|
+
fontSize: e.config.style.chart.controls.fontSize + "px",
|
|
74
|
+
cursor: e.isCursorPointer ? "pointer" : "default"
|
|
75
|
+
})
|
|
76
|
+
}, u(Math.round(e.scale * 100)) + "% ", 5),
|
|
77
|
+
a("button", {
|
|
78
|
+
onClick: h[2] ||= (e) => m("zoomIn"),
|
|
79
|
+
class: "vue-data-ui-zoom-controls-button",
|
|
80
|
+
"data-cy-zoom-in": "",
|
|
81
|
+
style: c({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
82
|
+
}, [o(t, {
|
|
83
|
+
name: "zoomPlus",
|
|
84
|
+
stroke: e.config.style.chart.controls.color,
|
|
85
|
+
size: e.config.style.chart.controls.fontSize * 1.2
|
|
86
|
+
}, null, 8, ["stroke", "size"])], 4),
|
|
87
|
+
a("button", {
|
|
88
|
+
disabled: e.scale === 1,
|
|
89
|
+
onClick: h[3] ||= (e) => m("resetZoom"),
|
|
90
|
+
class: "vue-data-ui-zoom-controls-button",
|
|
91
|
+
style: c({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
92
|
+
}, [o(t, {
|
|
93
|
+
name: "revert",
|
|
94
|
+
stroke: e.config.style.chart.controls.color,
|
|
95
|
+
size: e.config.style.chart.controls.fontSize * 1.2
|
|
96
|
+
}, null, 8, ["stroke", "size"])], 12, f),
|
|
97
|
+
e.withDirection ? (l(), i("button", {
|
|
98
|
+
key: 0,
|
|
99
|
+
onClick: h[4] ||= (e) => m("switchDirection"),
|
|
100
|
+
class: "vue-data-ui-zoom-controls-button",
|
|
101
|
+
style: c({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
102
|
+
}, [o(t, {
|
|
103
|
+
name: "direction",
|
|
104
|
+
stroke: e.config.style.chart.controls.color,
|
|
105
|
+
size: e.config.style.chart.controls.fontSize * 1.2
|
|
106
|
+
}, null, 8, ["stroke", "size"])], 4)) : r("", !0)
|
|
107
|
+
], 6));
|
|
108
|
+
}
|
|
109
|
+
}, [["__scopeId", "data-v-b5d92405"]]);
|
|
110
|
+
//#endregion
|
|
111
|
+
export { p as t };
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { r as e } from "./lib-BkiwukKO.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
3
|
+
import { t as n } from "./BaseIcon-CEmt3Ifx.js";
|
|
4
|
+
import { t as r } from "./vClickOutside-CbX_bC9A.js";
|
|
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
|
+
//#region src/atoms/ColorPicker.vue
|
|
7
|
+
var k = ["aria-expanded", "aria-label"], A = [
|
|
8
|
+
"aria-label",
|
|
9
|
+
"aria-pressed",
|
|
10
|
+
"onClick"
|
|
11
|
+
], ee = { style: {
|
|
12
|
+
position: "absolute",
|
|
13
|
+
top: "50%",
|
|
14
|
+
left: "50%",
|
|
15
|
+
transform: "translate(-50%, -46%)"
|
|
16
|
+
} }, te = ["value"], ne = ["onClick"], re = { style: {
|
|
17
|
+
position: "absolute",
|
|
18
|
+
top: "50%",
|
|
19
|
+
left: "50%",
|
|
20
|
+
transform: "translate(-50%, -46%)"
|
|
21
|
+
} }, ie = ["value"], j = /* @__PURE__ */ t({
|
|
22
|
+
__name: "ColorPicker",
|
|
23
|
+
props: {
|
|
24
|
+
value: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "#ffffff"
|
|
27
|
+
},
|
|
28
|
+
size: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: "50px"
|
|
31
|
+
},
|
|
32
|
+
backgroundColor: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: "#FFFFFF"
|
|
35
|
+
},
|
|
36
|
+
buttonBorderColor: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "#FFFFFF"
|
|
39
|
+
},
|
|
40
|
+
teleported: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: !1
|
|
43
|
+
},
|
|
44
|
+
isCursorPointer: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: !1
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
emits: ["update:value"],
|
|
50
|
+
setup(t, { emit: j }) {
|
|
51
|
+
C((e) => ({ v6ca7d17c: t.buttonBorderColor }));
|
|
52
|
+
let M = t, N = j, P = y(null), F = y(null), I = y(null), L = y(!1), R = y(!1), z = y({
|
|
53
|
+
top: 0,
|
|
54
|
+
left: 0
|
|
55
|
+
}), B = o(() => ({
|
|
56
|
+
backgroundColor: M.value,
|
|
57
|
+
width: "100%",
|
|
58
|
+
height: "100%",
|
|
59
|
+
cursor: M.isCursorPointer ? "pointer" : "default"
|
|
60
|
+
})), V = o(() => e(M.value));
|
|
61
|
+
function H(e) {
|
|
62
|
+
N("update:value", e), L.value = !1;
|
|
63
|
+
}
|
|
64
|
+
function U(e) {
|
|
65
|
+
N("update:value", e.target.value);
|
|
66
|
+
}
|
|
67
|
+
function W(e) {
|
|
68
|
+
e?.stopPropagation?.(), R.value = !0, I.value?.click();
|
|
69
|
+
}
|
|
70
|
+
function G() {
|
|
71
|
+
L.value = !1;
|
|
72
|
+
}
|
|
73
|
+
function K() {
|
|
74
|
+
!R.value && L.value && G();
|
|
75
|
+
}
|
|
76
|
+
async function q() {
|
|
77
|
+
L.value = !L.value, L.value && M.teleported && (await p(), J());
|
|
78
|
+
}
|
|
79
|
+
function J() {
|
|
80
|
+
if (!F.value) return;
|
|
81
|
+
let e = F.value.getBoundingClientRect();
|
|
82
|
+
z.value = {
|
|
83
|
+
top: e.top + 36,
|
|
84
|
+
left: e.right - 48
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function Y() {
|
|
88
|
+
L.value && M.teleported && J();
|
|
89
|
+
}
|
|
90
|
+
function X() {
|
|
91
|
+
setTimeout(() => R.value = !1, 0);
|
|
92
|
+
}
|
|
93
|
+
T((e) => {
|
|
94
|
+
let t = I.value;
|
|
95
|
+
if (!t) return;
|
|
96
|
+
let n = () => X(), r = () => X(), i = () => {};
|
|
97
|
+
t.addEventListener("blur", n), t.addEventListener("change", r), t.addEventListener("input", i), e(() => {
|
|
98
|
+
t.removeEventListener("blur", n), t.removeEventListener("change", r), t.removeEventListener("input", i);
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
function Z() {
|
|
102
|
+
X();
|
|
103
|
+
}
|
|
104
|
+
function Q() {
|
|
105
|
+
document.visibilityState === "visible" && X();
|
|
106
|
+
}
|
|
107
|
+
_(() => {
|
|
108
|
+
window.addEventListener("scroll", Y, { passive: !0 }), window.addEventListener("resize", Y, { passive: !0 }), window.addEventListener("focus", Z), document.addEventListener("visibilitychange", Q);
|
|
109
|
+
}), g(() => {
|
|
110
|
+
window.removeEventListener("scroll", Y), window.removeEventListener("resize", Y), window.removeEventListener("focus", Z), document.removeEventListener("visibilitychange", Q);
|
|
111
|
+
}), w(() => M.value, (e) => {
|
|
112
|
+
I.value && (I.value.value = e);
|
|
113
|
+
});
|
|
114
|
+
let $ = y([
|
|
115
|
+
"#000000",
|
|
116
|
+
"#FFFFFF",
|
|
117
|
+
"#FF5733",
|
|
118
|
+
"#33FF57",
|
|
119
|
+
"#3357FF",
|
|
120
|
+
"#FFC300",
|
|
121
|
+
"#800080",
|
|
122
|
+
"#FF1493",
|
|
123
|
+
"#00CED1"
|
|
124
|
+
]);
|
|
125
|
+
return (e, o) => E((v(), l("div", {
|
|
126
|
+
ref_key: "wrapperRef",
|
|
127
|
+
ref: P,
|
|
128
|
+
onKeydown: D(K, ["esc"]),
|
|
129
|
+
style: {
|
|
130
|
+
height: "100%",
|
|
131
|
+
width: "100%",
|
|
132
|
+
position: "relative"
|
|
133
|
+
},
|
|
134
|
+
"aria-expanded": L.value ? "true" : "false",
|
|
135
|
+
"aria-haspopup": "dialog",
|
|
136
|
+
"aria-label": `Choose color. Current color ${t.value}`
|
|
137
|
+
}, [
|
|
138
|
+
u("button", {
|
|
139
|
+
ref_key: "buttonRef",
|
|
140
|
+
ref: F,
|
|
141
|
+
class: "icon",
|
|
142
|
+
onClick: q,
|
|
143
|
+
style: h(B.value),
|
|
144
|
+
type: "button"
|
|
145
|
+
}, [x(e.$slots, "annotator-action-color", m(f({ color: V.value })), () => [d(n, {
|
|
146
|
+
name: "palette",
|
|
147
|
+
stroke: V.value,
|
|
148
|
+
size: 22
|
|
149
|
+
}, null, 8, ["stroke"])], !0)], 4),
|
|
150
|
+
L.value && !t.teleported ? (v(), l("div", {
|
|
151
|
+
key: 0,
|
|
152
|
+
class: "vue-ui-color-picker",
|
|
153
|
+
role: "dialog",
|
|
154
|
+
"aria-label": "Color picker",
|
|
155
|
+
style: h({
|
|
156
|
+
backgroundColor: t.backgroundColor,
|
|
157
|
+
position: "absolute",
|
|
158
|
+
left: "calc(100% + 30px)",
|
|
159
|
+
top: "50%",
|
|
160
|
+
transform: "translateY(-18%)"
|
|
161
|
+
}),
|
|
162
|
+
onMousedown: o[2] ||= O(() => {}, ["stop"]),
|
|
163
|
+
onClick: o[3] ||= O(() => {}, ["stop"]),
|
|
164
|
+
onTouchstart: o[4] ||= O(() => {}, ["stop"]),
|
|
165
|
+
onKeydown: D(K, ["esc"])
|
|
166
|
+
}, [(v(!0), l(i, null, b($.value, (e) => (v(), l("button", {
|
|
167
|
+
key: e,
|
|
168
|
+
"aria-label": `Select color ${e}`,
|
|
169
|
+
"aria-pressed": t.value === e ? "true" : "false",
|
|
170
|
+
class: "vue-ui-color-picker-option",
|
|
171
|
+
type: "button",
|
|
172
|
+
style: h({
|
|
173
|
+
backgroundColor: e,
|
|
174
|
+
outline: `1px solid ${t.buttonBorderColor}`,
|
|
175
|
+
cursor: t.isCursorPointer ? "pointer" : "default"
|
|
176
|
+
}),
|
|
177
|
+
onClick: () => H(e)
|
|
178
|
+
}, null, 12, A))), 128)), u("button", {
|
|
179
|
+
class: "vue-ui-color-picker-option",
|
|
180
|
+
type: "button",
|
|
181
|
+
style: h({
|
|
182
|
+
backgroundColor: t.value,
|
|
183
|
+
outline: `1px solid ${t.buttonBorderColor}`,
|
|
184
|
+
cursor: t.isCursorPointer ? "pointer" : "default"
|
|
185
|
+
}),
|
|
186
|
+
"aria-label": "Open native color picker",
|
|
187
|
+
onClick: O(W, ["stop"]),
|
|
188
|
+
onMousedown: o[0] ||= O(() => {}, ["stop"]),
|
|
189
|
+
onTouchstart: o[1] ||= O(() => {}, ["stop"])
|
|
190
|
+
}, [u("div", ee, [d(n, {
|
|
191
|
+
name: "colorPicker",
|
|
192
|
+
stroke: V.value,
|
|
193
|
+
size: 22
|
|
194
|
+
}, null, 8, ["stroke"])]), u("input", {
|
|
195
|
+
ref_key: "colorInput",
|
|
196
|
+
ref: I,
|
|
197
|
+
type: "color",
|
|
198
|
+
value: t.value,
|
|
199
|
+
class: "hidden-input",
|
|
200
|
+
onInput: U
|
|
201
|
+
}, null, 40, te)], 36)], 36)) : c("", !0),
|
|
202
|
+
L.value && t.teleported ? (v(), s(a, {
|
|
203
|
+
key: 1,
|
|
204
|
+
to: "body"
|
|
205
|
+
}, [u("div", {
|
|
206
|
+
tabindex: "0",
|
|
207
|
+
class: "vue-ui-color-picker",
|
|
208
|
+
style: h({
|
|
209
|
+
backgroundColor: t.backgroundColor,
|
|
210
|
+
position: "fixed",
|
|
211
|
+
top: z.value.top + "px",
|
|
212
|
+
left: z.value.left + "px",
|
|
213
|
+
zIndex: 2147483647
|
|
214
|
+
}),
|
|
215
|
+
onMousedown: o[7] ||= O(() => {}, ["stop"]),
|
|
216
|
+
onClick: o[8] ||= O(() => {}, ["stop"]),
|
|
217
|
+
onTouchstart: o[9] ||= O(() => {}, ["stop"])
|
|
218
|
+
}, [(v(!0), l(i, null, b($.value, (e) => (v(), l("button", {
|
|
219
|
+
key: e,
|
|
220
|
+
class: "vue-ui-color-picker-option",
|
|
221
|
+
type: "button",
|
|
222
|
+
style: h({
|
|
223
|
+
backgroundColor: e,
|
|
224
|
+
outline: `1px solid ${t.buttonBorderColor}`,
|
|
225
|
+
cursor: t.isCursorPointer ? "pointer" : "default"
|
|
226
|
+
}),
|
|
227
|
+
onClick: () => H(e)
|
|
228
|
+
}, null, 12, ne))), 128)), u("button", {
|
|
229
|
+
class: "vue-ui-color-picker-option",
|
|
230
|
+
type: "button",
|
|
231
|
+
style: h({
|
|
232
|
+
backgroundColor: t.value,
|
|
233
|
+
outline: `1px solid ${t.buttonBorderColor}`,
|
|
234
|
+
cursor: t.isCursorPointer ? "cursor" : "default"
|
|
235
|
+
}),
|
|
236
|
+
onClick: O(W, ["stop"]),
|
|
237
|
+
onMousedown: o[5] ||= O(() => {}, ["stop"]),
|
|
238
|
+
onTouchstart: o[6] ||= O(() => {}, ["stop"])
|
|
239
|
+
}, [u("div", re, [d(n, {
|
|
240
|
+
name: "colorPicker",
|
|
241
|
+
stroke: V.value,
|
|
242
|
+
size: 22
|
|
243
|
+
}, null, 8, ["stroke"])]), u("input", {
|
|
244
|
+
ref_key: "colorInput",
|
|
245
|
+
ref: I,
|
|
246
|
+
type: "color",
|
|
247
|
+
value: t.value,
|
|
248
|
+
class: "hidden-input",
|
|
249
|
+
onInput: U
|
|
250
|
+
}, null, 40, ie)], 36)], 36)])) : c("", !0)
|
|
251
|
+
], 40, k)), [[S(r), K]]);
|
|
252
|
+
}
|
|
253
|
+
}, [["__scopeId", "data-v-2965a72c"]]);
|
|
254
|
+
//#endregion
|
|
255
|
+
export { j as t };
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { t as e } from "./Shape-DEGOZ6GG.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
3
|
+
import { t as n } from "./BaseIcon-CEmt3Ifx.js";
|
|
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
|
+
//#region src/atoms/DataTable.vue
|
|
6
|
+
var b = { class: "vue-ui-data-table" }, x = { style: {
|
|
7
|
+
display: "flex",
|
|
8
|
+
"align-items": "center",
|
|
9
|
+
"justify-content": "flex-end",
|
|
10
|
+
"padding-right": "3px",
|
|
11
|
+
gap: "3px"
|
|
12
|
+
} }, S = { style: {
|
|
13
|
+
width: "12px",
|
|
14
|
+
height: "12px"
|
|
15
|
+
} }, C = {
|
|
16
|
+
key: 0,
|
|
17
|
+
height: "12",
|
|
18
|
+
width: "12",
|
|
19
|
+
viewBox: "0 0 20 20",
|
|
20
|
+
style: { background: "none" }
|
|
21
|
+
}, w = ["fill"], T = ["data-cell"], E = {
|
|
22
|
+
dir: "auto",
|
|
23
|
+
style: {
|
|
24
|
+
display: "flex",
|
|
25
|
+
"align-items": "center",
|
|
26
|
+
gap: "5px",
|
|
27
|
+
"justify-content": "flex-end",
|
|
28
|
+
width: "100%",
|
|
29
|
+
"padding-right": "3px"
|
|
30
|
+
}
|
|
31
|
+
}, D = {
|
|
32
|
+
key: 0,
|
|
33
|
+
height: "12",
|
|
34
|
+
width: "12",
|
|
35
|
+
viewBox: "0 0 20 20",
|
|
36
|
+
style: {
|
|
37
|
+
background: "none",
|
|
38
|
+
overflow: "visible"
|
|
39
|
+
}
|
|
40
|
+
}, O = /* @__PURE__ */ t({
|
|
41
|
+
__name: "DataTable",
|
|
42
|
+
props: {
|
|
43
|
+
colNames: {
|
|
44
|
+
type: Array,
|
|
45
|
+
default() {
|
|
46
|
+
return [];
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
head: Array,
|
|
50
|
+
body: Array,
|
|
51
|
+
title: String,
|
|
52
|
+
config: Object,
|
|
53
|
+
withCloseButton: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: !0
|
|
56
|
+
},
|
|
57
|
+
isCursorPointer: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: !1
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
emits: ["close"],
|
|
63
|
+
setup(t, { emit: O }) {
|
|
64
|
+
v((e) => ({ v7ded12c6: _(F) }));
|
|
65
|
+
let k = t, { backgroundColor: A, color: j, outline: M } = k.config.th, { backgroundColor: N, color: P, outline: F } = k.config.td, I = i(() => k.config.breakpoint), L = p(null), R = p(!1);
|
|
66
|
+
d(() => {
|
|
67
|
+
let e = new ResizeObserver((e) => {
|
|
68
|
+
e.forEach((e) => {
|
|
69
|
+
R.value = e.contentRect.width < I.value;
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
L.value && e.observe(L.value);
|
|
73
|
+
});
|
|
74
|
+
let z = O;
|
|
75
|
+
return (i, d) => (f(), o("div", {
|
|
76
|
+
ref_key: "tableContainer",
|
|
77
|
+
ref: L,
|
|
78
|
+
style: u(`width: 100%; container-type: inline-size; position:relative;${t.withCloseButton ? "padding-top: 36px;" : ""}overflow:auto`),
|
|
79
|
+
class: l({
|
|
80
|
+
"atom-data-table": !0,
|
|
81
|
+
"vue-ui-responsive": R.value
|
|
82
|
+
})
|
|
83
|
+
}, [t.withCloseButton ? (f(), o("div", {
|
|
84
|
+
key: 0,
|
|
85
|
+
"data-dom-to-png-ignore": "",
|
|
86
|
+
role: "button",
|
|
87
|
+
tabindex: "0",
|
|
88
|
+
style: u(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${t.isCursorPointer ? "pointer" : "default"}; background:${_(A)};`),
|
|
89
|
+
onClick: d[0] ||= (e) => z("close"),
|
|
90
|
+
onKeypress: d[1] ||= y((e) => z("close"), ["enter"])
|
|
91
|
+
}, [c(n, {
|
|
92
|
+
name: "close",
|
|
93
|
+
stroke: _(j),
|
|
94
|
+
"stroke-width": 2
|
|
95
|
+
}, null, 8, ["stroke"])], 36)) : a("", !0), s("table", b, [
|
|
96
|
+
s("caption", {
|
|
97
|
+
style: u({
|
|
98
|
+
backgroundColor: _(A),
|
|
99
|
+
color: _(j),
|
|
100
|
+
outline: _(M)
|
|
101
|
+
}),
|
|
102
|
+
class: "vue-ui-data-table__caption"
|
|
103
|
+
}, g(t.title), 5),
|
|
104
|
+
s("thead", null, [s("tr", {
|
|
105
|
+
role: "row",
|
|
106
|
+
style: u([{ "font-variant-numeric": "tabular-nums" }, {
|
|
107
|
+
backgroundColor: _(A),
|
|
108
|
+
color: _(j)
|
|
109
|
+
}]),
|
|
110
|
+
class: "vue-ui-data-table__thead-row"
|
|
111
|
+
}, [(f(!0), o(r, null, m(t.head, (e, t) => (f(), o("th", {
|
|
112
|
+
role: "cell",
|
|
113
|
+
style: u({ outline: _(M) }),
|
|
114
|
+
key: `th_${t}`
|
|
115
|
+
}, [s("div", x, [s("div", S, [e?.color ? (f(), o("svg", C, [s("circle", {
|
|
116
|
+
cx: "10",
|
|
117
|
+
cy: "10",
|
|
118
|
+
r: "10",
|
|
119
|
+
fill: e.color
|
|
120
|
+
}, null, 8, w)])) : a("", !0)]), h(i.$slots, "th", { th: e }, void 0, !0)])], 4))), 128))], 4)]),
|
|
121
|
+
s("tbody", null, [(f(!0), o(r, null, m(t.body, (n, d) => (f(), o("tr", {
|
|
122
|
+
role: "row",
|
|
123
|
+
style: u([{ "font-variant-numeric": "tabular-nums" }, {
|
|
124
|
+
backgroundColor: _(N),
|
|
125
|
+
color: _(P)
|
|
126
|
+
}]),
|
|
127
|
+
class: l({
|
|
128
|
+
"vue-ui-data-table__tbody__row": !0,
|
|
129
|
+
"vue-ui-data-table__tbody__row-even": d % 2 == 0,
|
|
130
|
+
"vue-ui-data-table__tbody__row-odd": d % 2 != 0
|
|
131
|
+
})
|
|
132
|
+
}, [(f(!0), o(r, null, m(n, (n, r) => (f(), o("td", {
|
|
133
|
+
role: "cell",
|
|
134
|
+
"data-cell": (t.colNames[r] && t.colNames[r].name ? t.colNames[r].name : "") || t.colNames[r] || "",
|
|
135
|
+
style: u({ outline: _(F) }),
|
|
136
|
+
class: "vue-ui-data-table__tbody__td"
|
|
137
|
+
}, [s("div", E, [n?.color ? (f(), o("svg", D, [c(e, {
|
|
138
|
+
plot: {
|
|
139
|
+
x: 10,
|
|
140
|
+
y: 10
|
|
141
|
+
},
|
|
142
|
+
color: n.color,
|
|
143
|
+
radius: 9,
|
|
144
|
+
shape: t.config.shape || n.shape || "circle"
|
|
145
|
+
}, null, 8, ["color", "shape"])])) : a("", !0), h(i.$slots, "td", { td: n }, void 0, !0)])], 12, T))), 256))], 6))), 256))])
|
|
146
|
+
])], 6));
|
|
147
|
+
}
|
|
148
|
+
}, [["__scopeId", "data-v-c3927505"]]);
|
|
149
|
+
//#endregion
|
|
150
|
+
export { O as default };
|