vue-data-ui 3.17.3 → 3.17.5
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 +228 -228
- package/dist/{A11yDataTable-KcVAX2cP.js → A11yDataTable-BpmuNomI.js} +1 -1
- package/dist/{Arrow-Bn-9n3bm.js → Arrow-dSvLFssU.js} +1 -1
- package/dist/{BaseDraggableDialog-CIb-iD9g.js → BaseDraggableDialog-Di8Hlru3.js} +26 -24
- package/dist/{BaseIcon-Cb3zzG6s.js → BaseIcon-DX0hTWa-.js} +11 -5
- package/dist/{BaseLegendToggle-BQVIawmA.js → BaseLegendToggle-cMP8M2u0.js} +4 -4
- package/dist/{BaseScanner-BhhkKVoj.js → BaseScanner-C2j3TsSY.js} +15 -9
- package/dist/{BaseZoomControls-DievbOeJ.js → BaseZoomControls-CVSC1-SU.js} +11 -5
- package/dist/{ColorPicker-B0mV4xzu.js → ColorPicker-bAxGcXK0.js} +38 -22
- package/dist/{DataTable-DT2kIdQ6.js → DataTable-cMnb68Ik.js} +15 -11
- package/dist/{Legend-CS7Xo5LK.js → Legend-DGN5lY60.js} +15 -12
- package/dist/{NonSvgPenAndPaper-VyJFyJ6X.js → NonSvgPenAndPaper-B6E0zEYe.js} +34 -12
- package/dist/{PackageVersion-DP_kfXUM.js → PackageVersion-BjeuEImy.js} +1 -1
- package/dist/{PenAndPaper-Ct3qJ4lA.js → PenAndPaper-CJDoB5H9.js} +87 -27
- package/dist/{Shape-BKRUOeKk.js → Shape-CxJ5_Rre.js} +1 -1
- package/dist/{Slicer-CIHwwuNR.js → Slicer-D7UcO8sN.js} +75 -33
- package/dist/{SlicerPreview-BMx3cqgX.js → SlicerPreview-D_CgrN_7.js} +198 -102
- package/dist/{SparkTooltip-BorBpltj.js → SparkTooltip-D4bM-kfz.js} +5 -5
- package/dist/{Title-BeMKE1cj.js → Title-BbKoiBk2.js} +1 -1
- package/dist/{Tooltip-C8KGyqQk.js → Tooltip-Cvt7Fi0Q.js} +9 -2
- package/dist/{UserOptions-rW2fRf3V.js → UserOptions-DVduN6X7.js} +48 -14
- 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-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-pattern-seed.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-CtxhhdWb.js → dom-to-png-DGvx6i5V.js} +21 -6
- package/dist/{exposedLib-DlqmhBx3.js → exposedLib-sJvY1pST.js} +1 -1
- package/dist/{geoProjections-D0Vxsz_O.js → geoProjections-BFq2sOBY.js} +19 -11
- package/dist/{img-LXxMLmCg.js → img-CjTQXS0U.js} +31 -7
- package/dist/{labelUtils-CqTHa20R.js → labelUtils-DX9oyq3C.js} +2 -6
- package/dist/{lib-DBptbyyI.js → lib-DMzrGQHK.js} +337 -124
- package/dist/{patternUtils-DtjWtDHU.js → patternUtils-BINhU4Ky.js} +149 -66
- package/dist/{pdf-B4tTdfvl.js → pdf-C4H4o1Cj.js} +11 -2
- package/dist/style.css +1 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +499 -498
- package/dist/types/vue-data-ui.d.ts +2115 -1787
- package/dist/types/vue-ui-3d-bar.d.ts +10 -7
- package/dist/types/vue-ui-accordion.d.ts +2 -4
- package/dist/types/vue-ui-age-pyramid.d.ts +10 -8
- package/dist/types/vue-ui-annotator.d.ts +3 -3
- package/dist/types/vue-ui-bullet.d.ts +10 -7
- package/dist/types/vue-ui-bump.d.ts +9 -6
- package/dist/types/vue-ui-candlestick.d.ts +10 -7
- package/dist/types/vue-ui-carousel-table.d.ts +2 -2
- package/dist/types/vue-ui-chestnut.d.ts +9 -6
- package/dist/types/vue-ui-chord.d.ts +10 -7
- package/dist/types/vue-ui-circle-pack.d.ts +10 -7
- package/dist/types/vue-ui-cursor.d.ts +2 -2
- package/dist/types/vue-ui-dag.d.ts +10 -7
- package/dist/types/vue-ui-dashboard.d.ts +3 -3
- package/dist/types/vue-ui-digits.d.ts +2 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +11 -8
- package/dist/types/vue-ui-donut.d.ts +11 -8
- package/dist/types/vue-ui-dumbbell.d.ts +11 -8
- package/dist/types/vue-ui-flow.d.ts +11 -8
- package/dist/types/vue-ui-funnel.d.ts +11 -8
- package/dist/types/vue-ui-galaxy.d.ts +11 -8
- package/dist/types/vue-ui-gauge.d.ts +11 -8
- package/dist/types/vue-ui-geo.d.ts +13 -6
- package/dist/types/vue-ui-gizmo.d.ts +2 -5
- package/dist/types/vue-ui-heatmap.d.ts +11 -8
- package/dist/types/vue-ui-history-plot.d.ts +11 -8
- package/dist/types/vue-ui-horizontal-bar.d.ts +11 -8
- package/dist/types/vue-ui-icon.d.ts +2 -4
- package/dist/types/vue-ui-kpi.d.ts +2 -4
- package/dist/types/vue-ui-mini-loader.d.ts +4 -4
- package/dist/types/vue-ui-molecule.d.ts +11 -8
- package/dist/types/vue-ui-mood-radar.d.ts +11 -8
- package/dist/types/vue-ui-nested-donuts.d.ts +11 -8
- package/dist/types/vue-ui-onion.d.ts +11 -8
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +11 -8
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -4
- package/dist/types/vue-ui-quadrant.d.ts +11 -8
- package/dist/types/vue-ui-quick-chart.d.ts +11 -8
- package/dist/types/vue-ui-radar.d.ts +11 -8
- package/dist/types/vue-ui-rating.d.ts +4 -4
- package/dist/types/vue-ui-relation-circle.d.ts +11 -8
- package/dist/types/vue-ui-ridgeline.d.ts +11 -8
- package/dist/types/vue-ui-rings.d.ts +11 -8
- package/dist/types/vue-ui-scatter.d.ts +11 -8
- package/dist/types/vue-ui-skeleton.d.ts +2 -4
- package/dist/types/vue-ui-smiley.d.ts +2 -5
- package/dist/types/vue-ui-spark-trend.d.ts +2 -4
- package/dist/types/vue-ui-sparkbar.d.ts +4 -4
- package/dist/types/vue-ui-sparkgauge.d.ts +4 -4
- package/dist/types/vue-ui-sparkhistogram.d.ts +4 -4
- package/dist/types/vue-ui-sparkline.d.ts +4 -4
- package/dist/types/vue-ui-sparkstackbar.d.ts +4 -4
- package/dist/types/vue-ui-stackbar.d.ts +11 -8
- package/dist/types/vue-ui-stackline.d.ts +11 -8
- package/dist/types/vue-ui-strip-plot.d.ts +11 -8
- package/dist/types/vue-ui-table-heatmap.d.ts +4 -4
- package/dist/types/vue-ui-table-sparkline.d.ts +4 -4
- package/dist/types/vue-ui-table.d.ts +4 -4
- package/dist/types/vue-ui-thermometer.d.ts +11 -8
- package/dist/types/vue-ui-timer.d.ts +2 -4
- package/dist/types/vue-ui-tiremarks.d.ts +11 -8
- package/dist/types/vue-ui-treemap.d.ts +11 -8
- package/dist/types/vue-ui-vertical-bar.d.ts +11 -8
- package/dist/types/vue-ui-waffle.d.ts +11 -8
- package/dist/types/vue-ui-wheel.d.ts +11 -8
- package/dist/types/vue-ui-word-cloud.d.ts +11 -8
- package/dist/types/vue-ui-world.d.ts +11 -8
- package/dist/types/vue-ui-xy-canvas.d.ts +11 -8
- package/dist/types/vue-ui-xy.d.ts +9 -6
- package/dist/{useAutoSizeLabelsInsideViewbox-DX7LdvFX.js → useAutoSizeLabelsInsideViewbox-izlGDfwu.js} +1 -1
- package/dist/{useChartAccessibility-9icAAmYg.js → useChartAccessibility-cp6XQtqi.js} +4 -1
- package/dist/{useConfig-C40HvGpD.js → useConfig-DTHxOX6V.js} +2 -8
- package/dist/{useNestedProp-Bf5XFbs8.js → useNestedProp-DH0BEVVS.js} +1 -1
- package/dist/{useObjectBindings-DOokNdQ_.js → useObjectBindings-BjkVidN3.js} +17 -6
- package/dist/{usePanZoom-CDF7rb3o.js → usePanZoom-BbDhcKWf.js} +11 -2
- package/dist/{usePrefersMotion-CUKm8_t8.js → usePrefersMotion-Co0nj1eS.js} +3 -1
- package/dist/{usePrinter-CEpYU3r5.js → usePrinter-C4t8DdQ-.js} +3 -8
- package/dist/{useStableElementSize-DCNs0Tx7.js → useStableElementSize-C48ZVcZQ.js} +4 -1
- package/dist/{useSvgExport-ByUukOZt.js → useSvgExport-BTG4hVPO.js} +154 -34
- package/dist/{useTableResponsive-Cbx-ACcP.js → useTableResponsive-BpfiEtzR.js} +7 -3
- package/dist/{useThemeCheck-D1ZYXUwG.js → useThemeCheck-C9Ccl7U9.js} +4 -2
- package/dist/{useTimeLabelCollider-CIsgDrl9.js → useTimeLabelCollider-D3JeJ6Ye.js} +13 -5
- package/dist/{useTimeLabels-C-A2uZKi.js → useTimeLabels-Cv0tD9In.js} +22 -6
- package/dist/{useUserOptionState-BIvW1Kz7.js → useUserOptionState-B7Ej974k.js} +6 -4
- package/dist/utils.js +4 -4
- package/dist/{vue-data-ui-kiw3y7gG.js → vue-data-ui-sUtQffE5.js} +138 -72
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-CWaSxiqw.js → vue-ui-3d-bar-D9T1Rz8K.js} +328 -101
- package/dist/{vue-ui-accordion-DDuJT1xA.js → vue-ui-accordion-BHmfmb_6.js} +26 -14
- package/dist/{vue-ui-age-pyramid-B6S8XYmi.js → vue-ui-age-pyramid-vHYpqVeE.js} +180 -73
- package/dist/{vue-ui-annotator-BdmTltyl.js → vue-ui-annotator-Db4eooqI.js} +162 -53
- package/dist/{vue-ui-bullet-_zHE8JoR.js → vue-ui-bullet-B-PfDV7g.js} +92 -35
- package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-CpQyyxzJ.js} +205 -102
- package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-B5wVhTFS.js} +285 -100
- package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BwrTmEUk.js} +66 -29
- package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-DpwRmult.js} +277 -88
- package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-Co8hJS-b.js} +226 -96
- package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-CF6Dgnfc.js} +196 -111
- package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-DH_wY_tf.js} +14 -7
- package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DNbCfrdq.js} +261 -99
- package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BCpIGFXu.js} +261 -94
- package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D6ndc1-Y.js} +6 -6
- package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-CHDVQ77G.js} +532 -157
- package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-BHGQCixS.js} +311 -92
- package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-Bmr188oI.js} +266 -93
- package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-Bk4XhCzv.js} +121 -48
- package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BrNSApwi.js} +91 -39
- package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-Q5iomgg7.js} +161 -69
- package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-BaWqd5eR.js} +95 -37
- package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-BvySgBl9.js} +113 -43
- package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-B9wHNMWI.js} +25 -12
- package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-CHmJrc5H.js} +316 -125
- package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-DlDV_-XR.js} +186 -73
- package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-DDj9N2Df.js} +151 -56
- package/dist/{vue-ui-kpi-B0sOyO7s.js → vue-ui-kpi-CT4lahy2.js} +35 -14
- package/dist/{vue-ui-mini-loader-DrROXJIX.js → vue-ui-mini-loader-CyDOoarO.js} +17 -11
- package/dist/{vue-ui-molecule-C2wW_JqJ.js → vue-ui-molecule-BiixieE_.js} +226 -120
- package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DPBpYEDx.js} +166 -56
- package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-DegYxm8S.js} +196 -89
- package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-D4hRf3z7.js} +155 -74
- package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-DZ015lrs.js} +262 -84
- package/dist/{vue-ui-pattern-seed-lL5yS7nX.js → vue-ui-pattern-seed-BcNlxb2i.js} +1 -1
- package/dist/{vue-ui-quadrant-CqcWTgh-.js → vue-ui-quadrant-BG8B3jz-.js} +240 -88
- package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BzNfX1Ry.js} +445 -150
- package/dist/{vue-ui-radar-BF2eWMEl.js → vue-ui-radar-Bjl5EavN.js} +186 -68
- package/dist/{vue-ui-rating-C1f6x_PD.js → vue-ui-rating-DKmEn0VK.js} +30 -11
- package/dist/{vue-ui-relation-circle-D3jsasRD.js → vue-ui-relation-circle-CK6hnanW.js} +119 -45
- package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ClC-DGEI.js} +349 -85
- package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-BtDpfeuS.js} +179 -81
- package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-CnUnzVb4.js} +282 -102
- package/dist/{vue-ui-skeleton-BD5hXmIt.js → vue-ui-skeleton-CWW9zQ2I.js} +161 -144
- package/dist/{vue-ui-smiley-M5Gn70_Z.js → vue-ui-smiley-BLMl69Ca.js} +28 -17
- package/dist/{vue-ui-spark-trend-exj63CUB.js → vue-ui-spark-trend-DMTsPJrB.js} +76 -31
- package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-CNRgbyb6.js} +113 -59
- package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-DXOELREA.js} +47 -18
- package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-B83Tb5ee.js} +145 -60
- package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-PLYMeA9O.js} +226 -68
- package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-C-UNOmDZ.js} +84 -36
- package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-CcVtuQTN.js} +482 -169
- package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-C6c2nPQM.js} +473 -164
- package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-iwjHwBgZ.js} +239 -132
- package/dist/{vue-ui-table-CKlHkISC.js → vue-ui-table-CfhBUYL5.js} +339 -122
- package/dist/{vue-ui-table-heatmap-C6rSAGDu.js → vue-ui-table-heatmap-CWp_5d1z.js} +89 -25
- package/dist/{vue-ui-table-sparkline-DHPemUVJ.js → vue-ui-table-sparkline-BZb8f2RN.js} +127 -47
- package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-CR4tSQWQ.js} +129 -48
- package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-DubcPvRK.js} +32 -15
- package/dist/{vue-ui-tiremarks-BvEM8AvM.js → vue-ui-tiremarks-CFnJT7Pn.js} +90 -35
- package/dist/vue-ui-treemap--bugssUn.js +1748 -0
- package/dist/{vue-ui-waffle-Uo1RM5Yy.js → vue-ui-waffle-K9ojC2iZ.js} +206 -87
- package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-TgOkrNNt.js} +231 -61
- package/dist/{vue-ui-word-cloud-BrQKo4eQ.js → vue-ui-word-cloud-B77SnVWg.js} +443 -350
- package/dist/vue-ui-world-Y0yBodxT.js +14451 -0
- package/dist/{vue-ui-xy-BAlrZ3W9.js → vue-ui-xy-Cs4_NqXo.js} +840 -252
- package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BeHqxTFy.js} +448 -159
- package/package.json +120 -119
- package/dist/vue-ui-treemap-5qrvks6n.js +0 -1726
- package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineAsyncComponent as ye, ref as d, computed as v, toRefs as Ro, watch as fe, nextTick as ae, onBeforeUnmount as Bt, onMounted as Eo, openBlock as k, createElementBlock as P, normalizeStyle as ge, normalizeClass as jt, createElementVNode as W, toDisplayString as _t, createBlock as U, createCommentVNode as S, unref as w, withCtx as N, renderSlot as y, normalizeProps as $, guardReactiveProps as T, createSlots as Bo, createVNode as Gt, Fragment as be, renderList as ke, mergeProps as jo } from "vue";
|
|
2
|
-
import { j as _o, t as zt, s as qe, X as Go, T as Lt, a3 as zo } from "./lib-
|
|
3
|
-
import { u as Lo } from "./usePanZoom-
|
|
2
|
+
import { j as _o, t as zt, s as qe, X as Go, T as Lt, a3 as zo } from "./lib-DMzrGQHK.js";
|
|
3
|
+
import { u as Lo } from "./usePanZoom-BbDhcKWf.js";
|
|
4
4
|
import { t as Zo, u as Wo } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as Do } from "./useConfig-
|
|
6
|
-
import { u as Yo, B as Xo } from "./BaseScanner-
|
|
7
|
-
import { u as qo } from "./usePrinter-
|
|
8
|
-
import { u as Ho } from "./useSvgExport-
|
|
9
|
-
import { u as He } from "./useNestedProp-
|
|
10
|
-
import { u as Uo } from "./useThemeCheck-
|
|
11
|
-
import { u as Vo } from "./useUserOptionState-
|
|
12
|
-
import { u as Ko } from "./useChartAccessibility-
|
|
13
|
-
import Jo from "./img-
|
|
14
|
-
import { g as Qo } from "./geoProjections-
|
|
15
|
-
import en from "./Title-
|
|
5
|
+
import { u as Do } from "./useConfig-DTHxOX6V.js";
|
|
6
|
+
import { u as Yo, B as Xo } from "./BaseScanner-C2j3TsSY.js";
|
|
7
|
+
import { u as qo } from "./usePrinter-C4t8DdQ-.js";
|
|
8
|
+
import { u as Ho } from "./useSvgExport-BTG4hVPO.js";
|
|
9
|
+
import { u as He } from "./useNestedProp-DH0BEVVS.js";
|
|
10
|
+
import { u as Uo } from "./useThemeCheck-C9Ccl7U9.js";
|
|
11
|
+
import { u as Vo } from "./useUserOptionState-B7Ej974k.js";
|
|
12
|
+
import { u as Ko } from "./useChartAccessibility-cp6XQtqi.js";
|
|
13
|
+
import Jo from "./img-CjTQXS0U.js";
|
|
14
|
+
import { g as Qo } from "./geoProjections-BFq2sOBY.js";
|
|
15
|
+
import en from "./Title-BbKoiBk2.js";
|
|
16
16
|
import tn from "./vue_ui_geo--kg4VoVX.js";
|
|
17
|
-
import { A as on } from "./A11yDataTable-
|
|
18
|
-
import { B as Zt } from "./BaseZoomControls-
|
|
17
|
+
import { A as on } from "./A11yDataTable-BpmuNomI.js";
|
|
18
|
+
import { B as Zt } from "./BaseZoomControls-CVSC1-SU.js";
|
|
19
19
|
import { _ as nn } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
20
|
const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = ["xmlns", "viewBox", "aria-describedby", "id"], un = ["transform"], cn = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], fn = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], dn = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseenter"], vn = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], mn = ["x", "y", "fill", "font-size"], hn = {
|
|
21
21
|
key: 0,
|
|
@@ -43,7 +43,13 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
43
43
|
},
|
|
44
44
|
emits: ["copyAlt"],
|
|
45
45
|
setup(Dt, { expose: Yt, emit: Xt }) {
|
|
46
|
-
const qt = ye(() => import("./Tooltip-
|
|
46
|
+
const qt = ye(() => import("./Tooltip-Cvt7Fi0Q.js")), Ht = ye(
|
|
47
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
48
|
+
), Ut = ye(
|
|
49
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
50
|
+
), Vt = ye(
|
|
51
|
+
() => import("./PackageVersion-BjeuEImy.js")
|
|
52
|
+
), V = Dt, Kt = Xt, { vue_ui_geo: Jt } = Do(), { isThemeValid: Qt, warnInvalidTheme: eo } = Uo(), M = d(_o()), we = d(0), Ue = d(0), de = d(!1), ve = d(!1), R = d(null), _ = d(!1), le = d(null), Ve = d(null), Ke = d(null), Je = d(null), K = d(null), J = d(null), Qe = d(null), et = d(null), x = d(null), tt = d({ x: 0, y: 0 }), Q = d("pointer"), Ce = d(!1), G = d(!1);
|
|
47
53
|
function ot(e) {
|
|
48
54
|
G.value = e, we.value += 1;
|
|
49
55
|
}
|
|
@@ -64,7 +70,9 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
64
70
|
defaultConfig: t
|
|
65
71
|
});
|
|
66
72
|
}
|
|
67
|
-
const i = d(Ae()), se = v(
|
|
73
|
+
const i = d(Ae()), se = v(
|
|
74
|
+
() => i.value.userOptions.useCursorPointer
|
|
75
|
+
), { userOptionsVisible: nt, keepUserOptionState: it } = Vo({
|
|
68
76
|
config: i.value
|
|
69
77
|
}), { svgRef: D } = Ko({
|
|
70
78
|
config: i.value.style.chart.title
|
|
@@ -212,7 +220,9 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
212
220
|
},
|
|
213
221
|
{ deep: !0 }
|
|
214
222
|
);
|
|
215
|
-
const { projections: st } = Qo, ut = v(
|
|
223
|
+
const { projections: st } = Qo, ut = v(
|
|
224
|
+
() => i.value?.projection || "equirectangular"
|
|
225
|
+
), no = v(() => {
|
|
216
226
|
const e = st?.[ut.value];
|
|
217
227
|
return typeof e == "function" ? e : st.equirectangular;
|
|
218
228
|
}), ct = v(() => i.value.map.geoJson ?? null), ft = {
|
|
@@ -386,7 +396,13 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
386
396
|
})
|
|
387
397
|
), m += 1), m);
|
|
388
398
|
}
|
|
389
|
-
return c.type === "GeometryCollection" ? h(
|
|
399
|
+
return c.type === "GeometryCollection" ? h(
|
|
400
|
+
c,
|
|
401
|
+
{},
|
|
402
|
+
"",
|
|
403
|
+
m,
|
|
404
|
+
g
|
|
405
|
+
) : (f(c) && (g.push(
|
|
390
406
|
s({
|
|
391
407
|
geometry: c,
|
|
392
408
|
properties: {},
|
|
@@ -421,12 +437,15 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
421
437
|
n.local_name
|
|
422
438
|
];
|
|
423
439
|
for (const a of r)
|
|
424
|
-
if (typeof a == "string" && a.trim())
|
|
440
|
+
if (typeof a == "string" && a.trim())
|
|
441
|
+
return a.trim();
|
|
425
442
|
for (const a of Object.values(n))
|
|
426
443
|
if (typeof a == "string" && a.trim()) return a.trim();
|
|
427
444
|
return "";
|
|
428
445
|
}
|
|
429
|
-
return o.filter(
|
|
446
|
+
return o.filter(
|
|
447
|
+
(n) => n && n.type === "Feature" && n.geometry
|
|
448
|
+
).map((n, r) => {
|
|
430
449
|
const a = n.properties || {}, l = t(a);
|
|
431
450
|
return {
|
|
432
451
|
feature: n,
|
|
@@ -444,7 +463,9 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
444
463
|
includeNullGeometries: !1
|
|
445
464
|
})
|
|
446
465
|
), me = v(
|
|
447
|
-
() => ao(
|
|
466
|
+
() => ao(
|
|
467
|
+
lo.value
|
|
468
|
+
)
|
|
448
469
|
);
|
|
449
470
|
function Se(e) {
|
|
450
471
|
if (!e || typeof e.type != "string") return "";
|
|
@@ -453,7 +474,8 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
453
474
|
const o = (r) => {
|
|
454
475
|
if (!Array.isArray(r) || r.length < 2) return null;
|
|
455
476
|
const a = Number(r[0]), l = Number(r[1]);
|
|
456
|
-
if (!Number.isFinite(a) || !Number.isFinite(l))
|
|
477
|
+
if (!Number.isFinite(a) || !Number.isFinite(l))
|
|
478
|
+
return null;
|
|
457
479
|
const f = oe([a, l]);
|
|
458
480
|
if (!Array.isArray(f) || f.length < 2) return null;
|
|
459
481
|
const u = Number(f[0]), s = Number(f[1]);
|
|
@@ -468,7 +490,9 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
468
490
|
return e.type === "Polygon" ? n(e.coordinates) : e.type === "MultiPolygon" ? (e.coordinates || []).map(n).filter(Boolean).join(" ") : e.type === "LineString" ? t(e.coordinates) : e.type === "MultiLineString" ? (e.coordinates || []).map(t).filter(Boolean).join(" ") : "";
|
|
469
491
|
}
|
|
470
492
|
function dt(e) {
|
|
471
|
-
return e ? e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).flatMap(
|
|
493
|
+
return e ? e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).flatMap(
|
|
494
|
+
(t) => dt(t)
|
|
495
|
+
) : e.type === "Point" ? Array.isArray(e.coordinates) ? [e.coordinates] : [] : e.type === "MultiPoint" ? Array.isArray(e.coordinates) ? e.coordinates : [] : [] : [];
|
|
472
496
|
}
|
|
473
497
|
function vt(e) {
|
|
474
498
|
return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((t) => vt(t)) : e.type === "Point" || e.type === "MultiPoint";
|
|
@@ -510,7 +534,8 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
510
534
|
const a = n[r];
|
|
511
535
|
if (!Array.isArray(a) || a.length < 2) continue;
|
|
512
536
|
const l = Number(a[0]), f = Number(a[1]);
|
|
513
|
-
if (!Number.isFinite(l) || !Number.isFinite(f))
|
|
537
|
+
if (!Number.isFinite(l) || !Number.isFinite(f))
|
|
538
|
+
continue;
|
|
514
539
|
const u = oe([l, f]), s = u?.[0], h = u?.[1];
|
|
515
540
|
if (!Number.isFinite(s) || !Number.isFinite(h)) continue;
|
|
516
541
|
const p = t?.feature?.properties && typeof t.feature.properties == "object" ? t.feature.properties : {}, C = o(p);
|
|
@@ -578,7 +603,8 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
578
603
|
}
|
|
579
604
|
const gt = v(() => {
|
|
580
605
|
const e = vo.value;
|
|
581
|
-
if (!e)
|
|
606
|
+
if (!e)
|
|
607
|
+
return { scale: 1, translateX: 0, translateY: 0, transform: "" };
|
|
582
608
|
const o = i.value?.map?.fitPadding, t = Number.isFinite(Number(o)) ? Number(o) : 0;
|
|
583
609
|
return mo({
|
|
584
610
|
bounds: e,
|
|
@@ -597,7 +623,12 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
597
623
|
zoomByFactor: wt
|
|
598
624
|
} = Lo(
|
|
599
625
|
D,
|
|
600
|
-
{
|
|
626
|
+
{
|
|
627
|
+
x: 0,
|
|
628
|
+
y: 0,
|
|
629
|
+
width: I.value.width,
|
|
630
|
+
height: I.value.height
|
|
631
|
+
},
|
|
601
632
|
1,
|
|
602
633
|
E
|
|
603
634
|
);
|
|
@@ -662,7 +693,12 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
662
693
|
() => [te.value, z.value, ee.value],
|
|
663
694
|
async () => {
|
|
664
695
|
ee.value && (await ae(), Me(
|
|
665
|
-
{
|
|
696
|
+
{
|
|
697
|
+
x: 0,
|
|
698
|
+
y: 0,
|
|
699
|
+
width: I.value.width,
|
|
700
|
+
height: I.value.height
|
|
701
|
+
},
|
|
666
702
|
{ overwriteCurrentIfNotZoomed: !0 }
|
|
667
703
|
), _.value = !1, requestAnimationFrame(() => {
|
|
668
704
|
_.value || he();
|
|
@@ -671,7 +707,9 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
671
707
|
{ flush: "post" }
|
|
672
708
|
);
|
|
673
709
|
function yo(e) {
|
|
674
|
-
return e ? e.type === "FeatureCollection" && Array.isArray(e.features) ? e.features.filter(
|
|
710
|
+
return e ? e.type === "FeatureCollection" && Array.isArray(e.features) ? e.features.filter(
|
|
711
|
+
(o) => o?.type === "Feature" && o.geometry?.type === "Point"
|
|
712
|
+
).map((o, t) => {
|
|
675
713
|
const n = o.properties || {}, r = n.name || n.label || n.title || `Point ${t + 1}`, a = o.geometry.coordinates;
|
|
676
714
|
return {
|
|
677
715
|
uid: `map-point-${M.value}-${t}`,
|
|
@@ -686,7 +724,10 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
686
724
|
};
|
|
687
725
|
}) : Array.isArray(e) ? e.map((o, t) => {
|
|
688
726
|
let n = null, r = `Point ${t + 1}`, a = null, l = null, f = null;
|
|
689
|
-
Array.isArray(o) && o.length >= 2 ? n = [Number(o[0]), Number(o[1])] : o && typeof o == "object" && (Array.isArray(o.coordinates) && o.coordinates.length >= 2 ? n = [
|
|
727
|
+
Array.isArray(o) && o.length >= 2 ? n = [Number(o[0]), Number(o[1])] : o && typeof o == "object" && (Array.isArray(o.coordinates) && o.coordinates.length >= 2 ? n = [
|
|
728
|
+
Number(o.coordinates[0]),
|
|
729
|
+
Number(o.coordinates[1])
|
|
730
|
+
] : Number.isFinite(Number(o.lon)) && Number.isFinite(Number(o.lat)) && (n = [Number(o.lon), Number(o.lat)]), typeof o.name == "string" && o.name.trim() && (r = o.name), o.description != null && (a = o.description), o.color != null && (l = o.color), o.radius != null && (f = o.radius));
|
|
690
731
|
const u = n ? n[0] : NaN, s = n ? n[1] : NaN;
|
|
691
732
|
return !Number.isFinite(u) || !Number.isFinite(s) ? null : {
|
|
692
733
|
uid: `map-point-${M.value}-${t}`,
|
|
@@ -731,7 +772,11 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
731
772
|
keyboardIndex: o
|
|
732
773
|
})));
|
|
733
774
|
function go(e) {
|
|
734
|
-
const o = Oe(e), t = zo(
|
|
775
|
+
const o = Oe(e), t = zo(
|
|
776
|
+
o.x,
|
|
777
|
+
o.y,
|
|
778
|
+
D.value
|
|
779
|
+
);
|
|
735
780
|
t && (tt.value = {
|
|
736
781
|
x: t.x,
|
|
737
782
|
y: t.y
|
|
@@ -867,7 +912,14 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
867
912
|
try {
|
|
868
913
|
if (e) {
|
|
869
914
|
const { blob: o, url: t, text: n, dataUrl: r } = await Fo();
|
|
870
|
-
await Promise.resolve(
|
|
915
|
+
await Promise.resolve(
|
|
916
|
+
i.value.userOptions.callbacks.svg({
|
|
917
|
+
blob: o,
|
|
918
|
+
url: t,
|
|
919
|
+
text: n,
|
|
920
|
+
dataUrl: r
|
|
921
|
+
})
|
|
922
|
+
);
|
|
871
923
|
} else
|
|
872
924
|
await Promise.resolve(No());
|
|
873
925
|
} finally {
|
|
@@ -923,7 +975,12 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
923
975
|
if (!Number.isFinite(n) || !Number.isFinite(r)) return;
|
|
924
976
|
const a = oe([n, r]), l = a?.[0], f = a?.[1];
|
|
925
977
|
if (!Number.isFinite(l) || !Number.isFinite(f)) return;
|
|
926
|
-
const u = Oe({ x: l, y: f }), s = ce.value ? { ...ce.value } : {
|
|
978
|
+
const u = Oe({ x: l, y: f }), s = ce.value ? { ...ce.value } : {
|
|
979
|
+
x: 0,
|
|
980
|
+
y: 0,
|
|
981
|
+
width: I.value.width,
|
|
982
|
+
height: I.value.height
|
|
983
|
+
}, h = {
|
|
927
984
|
x: u.x - s.width / 2,
|
|
928
985
|
y: u.y - s.height / 2,
|
|
929
986
|
width: s.width,
|
|
@@ -959,13 +1016,17 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
959
1016
|
config: i.value,
|
|
960
1017
|
dataset: Fe.value
|
|
961
1018
|
}), !i.value.userOptions.callbacks.altCopy) {
|
|
962
|
-
console.warn(
|
|
1019
|
+
console.warn(
|
|
1020
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
1021
|
+
);
|
|
963
1022
|
return;
|
|
964
1023
|
}
|
|
965
|
-
await Promise.resolve(
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
1024
|
+
await Promise.resolve(
|
|
1025
|
+
i.value.userOptions.callbacks.altCopy({
|
|
1026
|
+
config: i.value,
|
|
1027
|
+
dataset: Fe.value
|
|
1028
|
+
})
|
|
1029
|
+
);
|
|
969
1030
|
}
|
|
970
1031
|
function Io(e, o) {
|
|
971
1032
|
const t = Y.value;
|
|
@@ -997,7 +1058,8 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
997
1058
|
function Oo(e) {
|
|
998
1059
|
if (!D.value || ne.value || document.activeElement !== D.value || !Y.value.length) return;
|
|
999
1060
|
const o = e.key === "ArrowRight", t = e.key === "ArrowLeft", n = e.key === "ArrowDown", r = e.key === "ArrowUp", a = e.key === "Enter" || e.key === " ", l = e.key === "Escape";
|
|
1000
|
-
if (!o && !t && !n && !r && !a && !l)
|
|
1061
|
+
if (!o && !t && !n && !r && !a && !l)
|
|
1062
|
+
return;
|
|
1001
1063
|
if (e.preventDefault(), e.stopPropagation(), l) {
|
|
1002
1064
|
const h = x.value != null ? Y.value[x.value] : null;
|
|
1003
1065
|
h ? pe(h, "keyboard") : (x.value = null, Q.value = "pointer", q(), X.value = null);
|
|
@@ -1011,7 +1073,10 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1011
1073
|
}
|
|
1012
1074
|
const f = o ? "right" : t ? "left" : n ? "down" : "up";
|
|
1013
1075
|
let u = null;
|
|
1014
|
-
if (x.value == null ? u = Et(f) : (u = Io(
|
|
1076
|
+
if (x.value == null ? u = Et(f) : (u = Io(
|
|
1077
|
+
x.value,
|
|
1078
|
+
f
|
|
1079
|
+
), u == null && (u = Et(f))), u == null) return;
|
|
1015
1080
|
const s = Y.value[u];
|
|
1016
1081
|
s && Ze(s, u, "keyboard");
|
|
1017
1082
|
}
|
|
@@ -1369,11 +1434,16 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1369
1434
|
], 12, un)
|
|
1370
1435
|
], 44, sn)),
|
|
1371
1436
|
e.$slots.hint ? (k(), P("div", hn, [
|
|
1372
|
-
y(e.$slots, "hint", $(T({
|
|
1437
|
+
y(e.$slots, "hint", $(T({
|
|
1438
|
+
hint: i.value.a11y.translations.keyboardNavigation,
|
|
1439
|
+
isVisible: Ce.value
|
|
1440
|
+
})), void 0, !0)
|
|
1373
1441
|
])) : S("", !0)
|
|
1374
1442
|
]),
|
|
1375
1443
|
e.$slots.watermark ? (k(), P("div", pn, [
|
|
1376
|
-
y(e.$slots, "watermark", $(T({
|
|
1444
|
+
y(e.$slots, "watermark", $(T({
|
|
1445
|
+
isPrinting: w(Pe) || w($e) || de.value || ve.value
|
|
1446
|
+
})), void 0, !0)
|
|
1377
1447
|
])) : S("", !0),
|
|
1378
1448
|
i.value.style.chart.controls.position === "bottom" && i.value.style.chart.controls.show && !w(Ne) ? (k(), U(Zt, {
|
|
1379
1449
|
key: 7,
|
|
@@ -1434,7 +1504,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1434
1504
|
], !0)
|
|
1435
1505
|
], 14, rn));
|
|
1436
1506
|
}
|
|
1437
|
-
}, jn = /* @__PURE__ */ nn(yn, [["__scopeId", "data-v-
|
|
1507
|
+
}, jn = /* @__PURE__ */ nn(yn, [["__scopeId", "data-v-eab5ef22"]]);
|
|
1438
1508
|
export {
|
|
1439
1509
|
jn as default
|
|
1440
1510
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineAsyncComponent as V, ref as y, useSlots as F, onMounted as C, computed as i, toRefs as S, watch as I, openBlock as a, createElementBlock as s, unref as r, normalizeStyle as M, createVNode as U, createElementVNode as t, createCommentVNode as l, Fragment as x, toDisplayString as w, renderSlot as P, createBlock as E } from "vue";
|
|
2
|
-
import { u as O } from "./useConfig-
|
|
3
|
-
import { j as T, q as j, t as b, k as z, l as A } from "./lib-
|
|
4
|
-
import { u as q } from "./useNestedProp-
|
|
5
|
-
import { u as R, B as H } from "./BaseScanner-
|
|
2
|
+
import { u as O } from "./useConfig-DTHxOX6V.js";
|
|
3
|
+
import { j as T, q as j, t as b, k as z, l as A } from "./lib-DMzrGQHK.js";
|
|
4
|
+
import { u as q } from "./useNestedProp-DH0BEVVS.js";
|
|
5
|
+
import { u as R, B as H } from "./BaseScanner-C2j3TsSY.js";
|
|
6
6
|
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const K = ["aria-label", "aria-valuenow", "aria-valuetext", "aria-busy"], Q = ["viewBox", "width"], W = { key: 0 }, X = ["id"], Y = ["stop-color"], Z = ["stop-color"], ee = ["stroke"], te = ["stroke"], ae = ["width", "fill"], oe = ["fill"], se = { key: 0 }, re = ["id"], le = ["stroke"], ne = ["stroke", "stroke-dasharray", "stroke-dashoffset"], ie = ["filter"], ue = ["stroke", "stroke-dasharray", "stroke-dashoffset"], de = ["fill"], ce = {
|
|
8
8
|
__name: "vue-ui-gizmo",
|
|
@@ -18,7 +18,9 @@ const K = ["aria-label", "aria-valuenow", "aria-valuetext", "aria-busy"], Q = ["
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
setup(G) {
|
|
21
|
-
const L = V(
|
|
21
|
+
const L = V(
|
|
22
|
+
() => import("./PackageVersion-BjeuEImy.js")
|
|
23
|
+
), { vue_ui_gizmo: N } = O(), o = G, u = y(T()), $ = F();
|
|
22
24
|
C(() => {
|
|
23
25
|
m();
|
|
24
26
|
}), C(() => {
|
|
@@ -30,7 +32,9 @@ const K = ["aria-label", "aria-valuenow", "aria-valuetext", "aria-busy"], Q = ["
|
|
|
30
32
|
componentName: "VueUiGizmo",
|
|
31
33
|
type: "dataset",
|
|
32
34
|
debug: d.value
|
|
33
|
-
}), o.dataset < 0 && d.value && console.warn("VueUiGizmo: dataset cannot be negative."), o.dataset > 100 && d.value && console.warn(
|
|
35
|
+
}), o.dataset < 0 && d.value && console.warn("VueUiGizmo: dataset cannot be negative."), o.dataset > 100 && d.value && console.warn(
|
|
36
|
+
`VueUiGizmo: gauge is maxed out, as dataset exceeds 100% (props.dataset = ${o.dataset})`
|
|
37
|
+
);
|
|
34
38
|
}
|
|
35
39
|
const e = y(p()), B = i(() => b({
|
|
36
40
|
defaultConfig: {
|
|
@@ -57,13 +61,22 @@ const K = ["aria-label", "aria-valuenow", "aria-valuetext", "aria-busy"], Q = ["
|
|
|
57
61
|
defaultConfig: N
|
|
58
62
|
});
|
|
59
63
|
}
|
|
60
|
-
I(
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
I(
|
|
65
|
+
() => o.config,
|
|
66
|
+
(h) => {
|
|
67
|
+
e.value = p(), m();
|
|
68
|
+
},
|
|
69
|
+
{ deep: !0 }
|
|
70
|
+
);
|
|
63
71
|
const k = i(() => ({
|
|
64
|
-
battery: {
|
|
72
|
+
battery: {
|
|
73
|
+
width: e.value.showPercentage ? 150 : 80,
|
|
74
|
+
height: 50
|
|
75
|
+
},
|
|
65
76
|
gauge: { width: 80, height: 80 }
|
|
66
|
-
})[e.value.type]), c = i(
|
|
77
|
+
})[e.value.type]), c = i(
|
|
78
|
+
() => Math.min(Math.max(0, _.value), 100)
|
|
79
|
+
), f = i(() => Math.max(0, _.value)), v = i(() => {
|
|
67
80
|
const n = 2 * Math.PI * 35, D = n - c.value / 100 * n;
|
|
68
81
|
return {
|
|
69
82
|
dasharray: `${n} ${n}`,
|
|
@@ -219,7 +232,7 @@ const K = ["aria-label", "aria-valuenow", "aria-valuetext", "aria-busy"], Q = ["
|
|
|
219
232
|
], !0)
|
|
220
233
|
], 8, K));
|
|
221
234
|
}
|
|
222
|
-
}, _e = /* @__PURE__ */ J(ce, [["__scopeId", "data-v-
|
|
235
|
+
}, _e = /* @__PURE__ */ J(ce, [["__scopeId", "data-v-435edafd"]]);
|
|
223
236
|
export {
|
|
224
237
|
_e as default
|
|
225
238
|
};
|