vue-data-ui 3.20.0 → 3.20.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/package.json +120 -120
- package/dist/A11yDataTable-BCbtxMU6.js +0 -45
- package/dist/Arrow-D6j6ocXm.js +0 -116
- package/dist/BaseDraggableDialog-4hDW-Rj2.js +0 -272
- package/dist/BaseIcon-DfLoHNUj.js +0 -502
- package/dist/BaseLegendToggle-C_Db-y7s.js +0 -56
- package/dist/BaseScanner-Dr2a1Msy.js +0 -27
- package/dist/BaseZoomControls-CG7hI_1P.js +0 -111
- package/dist/ColorPicker-Bjwxnvfh.js +0 -255
- package/dist/DataTable-B--IN22e.js +0 -150
- package/dist/Legend-Cz2uQ5gs.js +0 -114
- package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +0 -577
- package/dist/PackageVersion-xcyrdRmY.js +0 -11
- package/dist/PenAndPaper-DqrClVfb.js +0 -461
- package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
- package/dist/RecursiveLabels-D9rfID6q.js +0 -56
- package/dist/RecursiveLinks-BygcpDiT.js +0 -78
- package/dist/Shape-BPCJfphn.js +0 -141
- package/dist/Slicer-SHBj0VaV.js +0 -1144
- package/dist/SlicerPreview-DdihbUSJ.js +0 -1668
- package/dist/SparkTooltip-CfE6yCad.js +0 -93
- package/dist/Title-NWp4qB4K.js +0 -87
- package/dist/Tooltip-BENq327o.js +0 -312
- package/dist/UserOptions-C1NgoGu6.js +0 -1411
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/canvas-lib-BOP_HS11.js +0 -79
- package/dist/components/arrow.js +0 -2
- package/dist/components/vue-ui-3d-bar.js +0 -2
- package/dist/components/vue-ui-accordion.js +0 -2
- package/dist/components/vue-ui-age-pyramid.js +0 -2
- package/dist/components/vue-ui-annotator.js +0 -2
- package/dist/components/vue-ui-bullet.js +0 -2
- package/dist/components/vue-ui-bump.js +0 -2
- package/dist/components/vue-ui-candlestick.js +0 -2
- package/dist/components/vue-ui-carousel-table.js +0 -2
- package/dist/components/vue-ui-chestnut.js +0 -2
- package/dist/components/vue-ui-chord.js +0 -2
- package/dist/components/vue-ui-circle-pack.js +0 -2
- package/dist/components/vue-ui-cursor.js +0 -2
- package/dist/components/vue-ui-dag.js +0 -2
- package/dist/components/vue-ui-dashboard.js +0 -2
- package/dist/components/vue-ui-digits.js +0 -2
- package/dist/components/vue-ui-donut-evolution.js +0 -2
- package/dist/components/vue-ui-donut.js +0 -2
- package/dist/components/vue-ui-dumbbell.js +0 -2
- package/dist/components/vue-ui-flow.js +0 -2
- package/dist/components/vue-ui-funnel.js +0 -2
- package/dist/components/vue-ui-galaxy.js +0 -2
- package/dist/components/vue-ui-gauge.js +0 -2
- package/dist/components/vue-ui-geo.js +0 -2
- package/dist/components/vue-ui-gizmo.js +0 -2
- package/dist/components/vue-ui-heatmap.js +0 -2
- package/dist/components/vue-ui-history-plot.js +0 -2
- package/dist/components/vue-ui-horizontal-bar.js +0 -2
- package/dist/components/vue-ui-icon.js +0 -2
- package/dist/components/vue-ui-kpi.js +0 -2
- package/dist/components/vue-ui-mini-loader.js +0 -2
- package/dist/components/vue-ui-molecule.js +0 -2
- package/dist/components/vue-ui-mood-radar.js +0 -2
- package/dist/components/vue-ui-nested-donuts.js +0 -2
- package/dist/components/vue-ui-onion.js +0 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +0 -2
- package/dist/components/vue-ui-pattern-seed.js +0 -2
- package/dist/components/vue-ui-pattern.js +0 -2
- package/dist/components/vue-ui-quadrant.js +0 -2
- package/dist/components/vue-ui-quick-chart.js +0 -2
- package/dist/components/vue-ui-radar.js +0 -2
- package/dist/components/vue-ui-rating.js +0 -2
- package/dist/components/vue-ui-relation-circle.js +0 -2
- package/dist/components/vue-ui-ridgeline.js +0 -2
- package/dist/components/vue-ui-rings.js +0 -2
- package/dist/components/vue-ui-scatter.js +0 -2
- package/dist/components/vue-ui-skeleton.js +0 -2
- package/dist/components/vue-ui-smiley.js +0 -2
- package/dist/components/vue-ui-spark-trend.js +0 -2
- package/dist/components/vue-ui-sparkbar.js +0 -2
- package/dist/components/vue-ui-sparkgauge.js +0 -2
- package/dist/components/vue-ui-sparkhistogram.js +0 -2
- package/dist/components/vue-ui-sparkline.js +0 -2
- package/dist/components/vue-ui-sparkstackbar.js +0 -2
- package/dist/components/vue-ui-stackbar.js +0 -2
- package/dist/components/vue-ui-stackline.js +0 -2
- package/dist/components/vue-ui-strip-plot.js +0 -2
- package/dist/components/vue-ui-table-heatmap.js +0 -2
- package/dist/components/vue-ui-table-sparkline.js +0 -2
- package/dist/components/vue-ui-table.js +0 -2
- package/dist/components/vue-ui-thermometer.js +0 -2
- package/dist/components/vue-ui-timer.js +0 -2
- package/dist/components/vue-ui-tiremarks.js +0 -2
- package/dist/components/vue-ui-treemap.js +0 -2
- package/dist/components/vue-ui-vertical-bar.js +0 -2
- package/dist/components/vue-ui-waffle.js +0 -2
- package/dist/components/vue-ui-wheel.js +0 -2
- package/dist/components/vue-ui-word-cloud.js +0 -2
- package/dist/components/vue-ui-world.js +0 -2
- package/dist/components/vue-ui-xy-canvas.js +0 -2
- package/dist/components/vue-ui-xy.js +0 -2
- package/dist/dom-to-png-BYtB4BF3.js +0 -237
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/geoProjections-Czak6Jn1.js +0 -145
- package/dist/img-1cKsci8e.js +0 -74
- package/dist/labelUtils-CUctkYoA.js +0 -19
- package/dist/lib-DUeYQsS0.js +0 -1882
- package/dist/llms.txt +0 -232
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-D0eZ99cP.js +0 -90
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- package/dist/style.css +0 -2
- package/dist/types/arrow.d.ts +0 -4
- package/dist/types/utils.d.ts +0 -551
- package/dist/types/vue-data-ui.d.ts +0 -17190
- package/dist/types/vue-ui-3d-bar.d.ts +0 -93
- package/dist/types/vue-ui-accordion.d.ts +0 -11
- package/dist/types/vue-ui-age-pyramid.d.ts +0 -108
- package/dist/types/vue-ui-annotator.d.ts +0 -34
- package/dist/types/vue-ui-bullet.d.ts +0 -85
- package/dist/types/vue-ui-bump.d.ts +0 -92
- package/dist/types/vue-ui-candlestick.d.ts +0 -106
- package/dist/types/vue-ui-carousel-table.d.ts +0 -59
- package/dist/types/vue-ui-chestnut.d.ts +0 -98
- package/dist/types/vue-ui-chord.d.ts +0 -110
- package/dist/types/vue-ui-circle-pack.d.ts +0 -126
- package/dist/types/vue-ui-cursor.d.ts +0 -9
- package/dist/types/vue-ui-dag.d.ts +0 -125
- package/dist/types/vue-ui-dashboard.d.ts +0 -68
- package/dist/types/vue-ui-digits.d.ts +0 -12
- package/dist/types/vue-ui-donut-evolution.d.ts +0 -96
- package/dist/types/vue-ui-donut.d.ts +0 -123
- package/dist/types/vue-ui-dumbbell.d.ts +0 -94
- package/dist/types/vue-ui-flow.d.ts +0 -106
- package/dist/types/vue-ui-funnel.d.ts +0 -79
- package/dist/types/vue-ui-galaxy.d.ts +0 -114
- package/dist/types/vue-ui-gauge.d.ts +0 -89
- package/dist/types/vue-ui-geo.d.ts +0 -94
- package/dist/types/vue-ui-gizmo.d.ts +0 -22
- package/dist/types/vue-ui-heatmap.d.ts +0 -101
- package/dist/types/vue-ui-history-plot.d.ts +0 -114
- package/dist/types/vue-ui-horizontal-bar.d.ts +0 -116
- package/dist/types/vue-ui-icon.d.ts +0 -15
- package/dist/types/vue-ui-kpi.d.ts +0 -25
- package/dist/types/vue-ui-mini-loader.d.ts +0 -15
- package/dist/types/vue-ui-molecule.d.ts +0 -112
- package/dist/types/vue-ui-mood-radar.d.ts +0 -92
- package/dist/types/vue-ui-nested-donuts.d.ts +0 -111
- package/dist/types/vue-ui-onion.d.ts +0 -106
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -125
- package/dist/types/vue-ui-pattern-seed.d.ts +0 -14
- package/dist/types/vue-ui-pattern.d.ts +0 -15
- package/dist/types/vue-ui-quadrant.d.ts +0 -125
- package/dist/types/vue-ui-quick-chart.d.ts +0 -108
- package/dist/types/vue-ui-radar.d.ts +0 -116
- package/dist/types/vue-ui-rating.d.ts +0 -42
- package/dist/types/vue-ui-relation-circle.d.ts +0 -92
- package/dist/types/vue-ui-ridgeline.d.ts +0 -106
- package/dist/types/vue-ui-rings.d.ts +0 -98
- package/dist/types/vue-ui-scatter.d.ts +0 -97
- package/dist/types/vue-ui-skeleton.d.ts +0 -11
- package/dist/types/vue-ui-smiley.d.ts +0 -28
- package/dist/types/vue-ui-spark-trend.d.ts +0 -19
- package/dist/types/vue-ui-sparkbar.d.ts +0 -49
- package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
- package/dist/types/vue-ui-sparkhistogram.d.ts +0 -46
- package/dist/types/vue-ui-sparkline.d.ts +0 -59
- package/dist/types/vue-ui-sparkstackbar.d.ts +0 -60
- package/dist/types/vue-ui-stackbar.d.ts +0 -118
- package/dist/types/vue-ui-stackline.d.ts +0 -114
- package/dist/types/vue-ui-strip-plot.d.ts +0 -96
- package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
- package/dist/types/vue-ui-table-sparkline.d.ts +0 -53
- package/dist/types/vue-ui-table.d.ts +0 -38
- package/dist/types/vue-ui-thermometer.d.ts +0 -70
- package/dist/types/vue-ui-timer.d.ts +0 -49
- package/dist/types/vue-ui-tiremarks.d.ts +0 -70
- package/dist/types/vue-ui-treemap.d.ts +0 -104
- package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
- package/dist/types/vue-ui-waffle.d.ts +0 -101
- package/dist/types/vue-ui-wheel.d.ts +0 -70
- package/dist/types/vue-ui-word-cloud.d.ts +0 -97
- package/dist/types/vue-ui-world.d.ts +0 -98
- package/dist/types/vue-ui-xy-canvas.d.ts +0 -101
- package/dist/types/vue-ui-xy.d.ts +0 -146
- package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +0 -50
- package/dist/useChartAccessibility-DYqac8yF.js +0 -12
- package/dist/useConfig-DAyQk86L.js +0 -7479
- package/dist/useFitSvgText-CT3nmlaS.js +0 -63
- package/dist/useNestedProp-CNcoy38D.js +0 -10
- package/dist/useObjectBindings-BI7hP-BC.js +0 -189
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-C1Gqt_Sp.js +0 -49
- package/dist/useResponsive-BfnK0KxU.js +0 -19
- package/dist/useStableElementSize-C7KADDKj.js +0 -77
- package/dist/useSvgExport-SVIsDot8.js +0 -755
- package/dist/useTableResponsive-B24Uwt2E.js +0 -24
- package/dist/useThemeCheck-C43Tcqmk.js +0 -24
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
- package/dist/useTimeLabels-BmBRv27Y.js +0 -272
- package/dist/useUserOptionState-DK-_1ddE.js +0 -15
- package/dist/utils.js +0 -28
- package/dist/vClickOutside-DUrZWttG.js +0 -13
- package/dist/vue-data-ui-qpQv-4uP.js +0 -274
- package/dist/vue-data-ui.js +0 -76
- package/dist/vue-ui-3d-bar-C8cputoI.js +0 -1757
- package/dist/vue-ui-accordion-Dw4MHKVB.js +0 -81
- package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +0 -1238
- package/dist/vue-ui-annotator-DLPUAKlm.js +0 -2899
- package/dist/vue-ui-bullet-DLxmtMJ9.js +0 -710
- package/dist/vue-ui-bump-DVaqtZbd.js +0 -1249
- package/dist/vue-ui-candlestick-CkApimw1.js +0 -1826
- package/dist/vue-ui-carousel-table-CbfIBWl3.js +0 -455
- package/dist/vue-ui-chestnut-CQT4nCFL.js +0 -2010
- package/dist/vue-ui-chord-8IjSrg6f.js +0 -1391
- package/dist/vue-ui-circle-pack-B1CpTtpw.js +0 -1608
- package/dist/vue-ui-cursor-NaTj5i2-.js +0 -283
- package/dist/vue-ui-dag-DH4ocx0S.js +0 -2909
- package/dist/vue-ui-dashboard-Ckff1yim.js +0 -513
- package/dist/vue-ui-digits-DwLlJqbW.js +0 -209
- package/dist/vue-ui-donut-DQdIdwRU.js +0 -2410
- package/dist/vue-ui-donut-evolution-MfM5kK6w.js +0 -1510
- package/dist/vue-ui-dumbbell-B2T4vlK-.js +0 -1530
- package/dist/vue-ui-flow-CJh6f72m.js +0 -1235
- package/dist/vue-ui-funnel-C9gfXNCr.js +0 -777
- package/dist/vue-ui-galaxy-pBR_FESJ.js +0 -1077
- package/dist/vue-ui-gauge-CAemxCGl.js +0 -920
- package/dist/vue-ui-geo-BDQqaukJ.js +0 -1516
- package/dist/vue-ui-gizmo-B1ppjqPj.js +0 -225
- package/dist/vue-ui-heatmap-BiC9xp8L.js +0 -1568
- package/dist/vue-ui-history-plot-iAPjlOja.js +0 -1554
- package/dist/vue-ui-horizontal-bar-CcgClgLg.js +0 -1681
- package/dist/vue-ui-kpi-CJ5oyYLS.js +0 -96
- package/dist/vue-ui-mini-loader-CyqBt2g4.js +0 -125
- package/dist/vue-ui-molecule-Cg9ZHa6b.js +0 -925
- package/dist/vue-ui-mood-radar-N8osOTFR.js +0 -1148
- package/dist/vue-ui-nested-donuts-CwH3wKgX.js +0 -1487
- package/dist/vue-ui-onion-C56gFjO6.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-C-jj819p.js +0 -1416
- package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
- package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
- package/dist/vue-ui-quadrant-DYc9xZY3.js +0 -1978
- package/dist/vue-ui-quick-chart-BG7kK_-q.js +0 -2469
- package/dist/vue-ui-radar-CgKog9Xw.js +0 -1229
- package/dist/vue-ui-rating-BG4lf1z8.js +0 -343
- package/dist/vue-ui-relation-circle-D-rUk-0P.js +0 -924
- package/dist/vue-ui-ridgeline-DPrlVJTW.js +0 -1622
- package/dist/vue-ui-rings-CIvvHHsF.js +0 -1246
- package/dist/vue-ui-scatter-CeBQJbGx.js +0 -2413
- package/dist/vue-ui-skeleton-BKoa_G6d.js +0 -2556
- package/dist/vue-ui-smiley-G89TxRU-.js +0 -356
- package/dist/vue-ui-spark-trend-DGOrPr9I.js +0 -438
- package/dist/vue-ui-sparkbar-BVumo-YD.js +0 -393
- package/dist/vue-ui-sparkgauge-BoCwdQcu.js +0 -255
- package/dist/vue-ui-sparkhistogram-4qXY1LXW.js +0 -560
- package/dist/vue-ui-sparkline-C0kzXrwI.js +0 -1507
- package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +0 -662
- package/dist/vue-ui-stackbar-Dnq4l5xs.js +0 -2270
- package/dist/vue-ui-stackline-CaNOHQYl.js +0 -2398
- package/dist/vue-ui-strip-plot-D2CcJw_5.js +0 -1340
- package/dist/vue-ui-table-NBQrkVnO.js +0 -1338
- package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +0 -344
- package/dist/vue-ui-table-sparkline-BZDkOEEl.js +0 -707
- package/dist/vue-ui-thermometer-BXyHOQ7T.js +0 -763
- package/dist/vue-ui-timer-CcLK1wbi.js +0 -439
- package/dist/vue-ui-tiremarks-B6txvBg-.js +0 -552
- package/dist/vue-ui-treemap-O3SBpD3K.js +0 -1587
- package/dist/vue-ui-waffle-DN5zG3b0.js +0 -1362
- package/dist/vue-ui-wheel-CxnJGXkX.js +0 -885
- package/dist/vue-ui-word-cloud-CM5yPCXb.js +0 -1656
- package/dist/vue-ui-world-DCPgXKxh.js +0 -14264
- package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +0 -1787
- package/dist/vue-ui-xy-lfMIx0wK.js +0 -4578
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
- package/dist/vue_ui_age_pyramid-BY6c-oX_.js +0 -301
- package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
- package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
- package/dist/vue_ui_candlestick-J8jmJvxP.js +0 -374
- package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
- package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
- package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
- package/dist/vue_ui_donut-BDGqG07h.js +0 -358
- package/dist/vue_ui_donut_evolution-D1yAAIHr.js +0 -717
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
- package/dist/vue_ui_flow-BewZjjKG.js +0 -238
- package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
- package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
- package/dist/vue_ui_geo-B8TODs-G.js +0 -248
- package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
- package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
- package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
- package/dist/vue_ui_onion-1FTFFS46.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
- package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
- package/dist/vue_ui_quick_chart-mZBdml3Z.js +0 -139
- package/dist/vue_ui_radar-jafTED5j.js +0 -306
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
- package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
- package/dist/vue_ui_scatter-I0POnicu.js +0 -479
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
- package/dist/vue_ui_sparkline-auZhap6Y.js +0 -151
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
- package/dist/vue_ui_stackbar-COOrQQdK.js +0 -412
- package/dist/vue_ui_stackline-DQqKPA9z.js +0 -460
- package/dist/vue_ui_strip_plot-CtJe8_gq.js +0 -301
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
- package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
- package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
- package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
- package/dist/vue_ui_waffle-DIARFc7g.js +0 -292
- package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
- package/dist/vue_ui_xy-BLUkWEAm.js +0 -482
- package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +0 -408
|
@@ -1,552 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Bt as t, Ct as n, G as r, H as i, Nt as a, X as o, i as s, t as c, v as l } from "./lib-DUeYQsS0.js";
|
|
3
|
-
import { t as ee } from "./useConfig-DAyQk86L.js";
|
|
4
|
-
import { t as te } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
-
import { n as ne, t as re } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
-
import { t as ie } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as u } from "./useNestedProp-CNcoy38D.js";
|
|
8
|
-
import { t as ae } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as oe } from "./img-1cKsci8e.js";
|
|
10
|
-
import { n as se } from "./Title-NWp4qB4K.js";
|
|
11
|
-
import { t as ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import { c as le } from "./canvas-lib-BOP_HS11.js";
|
|
13
|
-
import { t as ue } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as de } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
-
import { t as fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
-
import { t as pe } from "./usePrefersMotion-BC-CsqR1.js";
|
|
17
|
-
import { t as me } from "./vue_ui_tiremarks-CdEPieWV.js";
|
|
18
|
-
import { Fragment as he, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as ge, createSlots as _e, createVNode as ve, defineAsyncComponent as h, guardReactiveProps as g, nextTick as ye, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as be, openBlock as b, ref as x, renderList as xe, renderSlot as S, toDisplayString as C, toRefs as Se, unref as w, watch as Ce, withCtx as T } from "vue";
|
|
19
|
-
//#region src/components/vue-ui-tiremarks.vue
|
|
20
|
-
var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
21
|
-
"xmlns",
|
|
22
|
-
"viewBox",
|
|
23
|
-
"aria-labelledby",
|
|
24
|
-
"aria-describedby"
|
|
25
|
-
], De = ["id"], Oe = ["id"], ke = ["width", "height"], Ae = { key: 1 }, je = [
|
|
26
|
-
"d",
|
|
27
|
-
"stroke-width",
|
|
28
|
-
"stroke"
|
|
29
|
-
], Me = { key: 2 }, Ne = [
|
|
30
|
-
"x1",
|
|
31
|
-
"y1",
|
|
32
|
-
"x2",
|
|
33
|
-
"y2",
|
|
34
|
-
"stroke-width",
|
|
35
|
-
"stroke"
|
|
36
|
-
], Pe = ["aria-label"], Fe = [
|
|
37
|
-
"x",
|
|
38
|
-
"y",
|
|
39
|
-
"height"
|
|
40
|
-
], Ie = [
|
|
41
|
-
"x",
|
|
42
|
-
"y",
|
|
43
|
-
"font-size",
|
|
44
|
-
"fill",
|
|
45
|
-
"font-weight",
|
|
46
|
-
"text-anchor"
|
|
47
|
-
], Le = {
|
|
48
|
-
key: 4,
|
|
49
|
-
class: "vue-data-ui-watermark"
|
|
50
|
-
}, E = /* @__PURE__ */ ce({
|
|
51
|
-
__name: "vue-ui-tiremarks",
|
|
52
|
-
props: {
|
|
53
|
-
config: {
|
|
54
|
-
type: Object,
|
|
55
|
-
default() {
|
|
56
|
-
return {};
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
dataset: {
|
|
60
|
-
type: Object,
|
|
61
|
-
default() {
|
|
62
|
-
return {};
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
emits: ["copyAlt"],
|
|
67
|
-
setup(e, { expose: ce, emit: we }) {
|
|
68
|
-
let E = h(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Re = h(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), ze = h(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), { vue_ui_tiremarks: Be } = ee(), { isThemeValid: Ve, warnInvalidTheme: He } = ae(), D = pe(), O = e, Ue = we, We = d(() => !!O.dataset && Object.keys(O.dataset).length), k = x(i()), A = x(null), Ge = x(null), Ke = x(null), qe = x(null), Je = x(0), Ye = x(0), j = x(null), M = x(null), N = x(!1), P = x(!1), F = x(B()), Xe = d(() => F.value.userOptions.useCursorPointer), Ze = d(() => t({
|
|
69
|
-
defaultConfig: {
|
|
70
|
-
userOptions: { show: !1 },
|
|
71
|
-
style: { chart: {
|
|
72
|
-
backgroundColor: "#99999930",
|
|
73
|
-
animation: { use: !1 },
|
|
74
|
-
layout: {
|
|
75
|
-
activeColor: "#6A6A6A80",
|
|
76
|
-
inactiveColor: "#CACACA80",
|
|
77
|
-
ticks: { gradient: { show: !1 } }
|
|
78
|
-
}
|
|
79
|
-
} }
|
|
80
|
-
},
|
|
81
|
-
userConfig: F.value.skeletonConfig ?? {}
|
|
82
|
-
})), { loading: I, FINAL_DATASET: L } = ne({
|
|
83
|
-
...Se(O),
|
|
84
|
-
FINAL_CONFIG: F,
|
|
85
|
-
prepareConfig: B,
|
|
86
|
-
skeletonDataset: O.config?.skeletonDataset ?? { percentage: 50 },
|
|
87
|
-
skeletonConfig: t({
|
|
88
|
-
defaultConfig: F.value,
|
|
89
|
-
userConfig: Ze.value
|
|
90
|
-
})
|
|
91
|
-
}), { userOptionsVisible: R, setUserOptionsVisibility: Qe, keepUserOptionState: $e } = de({ config: F.value }), { svgRef: z } = fe({ config: F.value.style.chart.title });
|
|
92
|
-
function B() {
|
|
93
|
-
let e = u({
|
|
94
|
-
userConfig: O.config,
|
|
95
|
-
defaultConfig: Be
|
|
96
|
-
}), t = e.theme;
|
|
97
|
-
if (!t) return e;
|
|
98
|
-
if (!Ve.value(e)) return He(e), e;
|
|
99
|
-
let n = u({
|
|
100
|
-
userConfig: me[t] || O.config,
|
|
101
|
-
defaultConfig: e
|
|
102
|
-
});
|
|
103
|
-
return u({
|
|
104
|
-
userConfig: O.config,
|
|
105
|
-
defaultConfig: n
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
Ce(() => O.config, (e) => {
|
|
109
|
-
F.value = B(), R.value = !F.value.userOptions.showOnChartHover, q.value = F.value.style.chart.width, J.value = F.value.style.chart.height, at(), Ye.value += 1;
|
|
110
|
-
}, { deep: !0 });
|
|
111
|
-
let { isPrinting: V, isImaging: H, generatePdf: et, generateImage: tt } = te({
|
|
112
|
-
elementId: k.value,
|
|
113
|
-
fileName: F.value.style.chart.title.text || "vue-ui-tiremarks",
|
|
114
|
-
options: F.value.userOptions.print
|
|
115
|
-
}), nt = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), U = x(F.value.style.chart.animation.use && !D.value ? 0 : l(L.value.percentage));
|
|
116
|
-
Ce(() => L.value, (e) => {
|
|
117
|
-
F.value.style.chart.animation.use && !D.value ? rt(e.percentage) : U.value = e.percentage || 0;
|
|
118
|
-
}, { deep: !0 }), be(() => {
|
|
119
|
-
at();
|
|
120
|
-
});
|
|
121
|
-
function rt(e) {
|
|
122
|
-
let t = F.value.style.chart.animation.speed, n = Math.abs(e - U.value) / (t * 120);
|
|
123
|
-
function r() {
|
|
124
|
-
U.value < e ? U.value = Math.min(U.value + n, e) : U.value > e && (U.value = Math.max(U.value - n, e)), U.value !== e && requestAnimationFrame(r);
|
|
125
|
-
}
|
|
126
|
-
r();
|
|
127
|
-
}
|
|
128
|
-
let it = d(() => !!F.value.debug);
|
|
129
|
-
function at() {
|
|
130
|
-
if (n(O.dataset) && o({
|
|
131
|
-
componentName: "VueUiTiremarks",
|
|
132
|
-
type: "dataset",
|
|
133
|
-
debug: it.value
|
|
134
|
-
}), F.value.responsive) {
|
|
135
|
-
let e = le(() => {
|
|
136
|
-
let { width: e, height: t } = ue({
|
|
137
|
-
chart: A.value,
|
|
138
|
-
title: F.value.style.chart.title.text ? Ke.value : null,
|
|
139
|
-
source: qe.value
|
|
140
|
-
});
|
|
141
|
-
requestAnimationFrame(() => {
|
|
142
|
-
q.value = Math.max(.1, e), J.value = Math.max(.1, t - 12);
|
|
143
|
-
});
|
|
144
|
-
});
|
|
145
|
-
j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect()), j.value = new ResizeObserver(e), M.value = A.value.parentNode, j.value.observe(M.value);
|
|
146
|
-
}
|
|
147
|
-
rt(L.value.percentage || 0);
|
|
148
|
-
}
|
|
149
|
-
let W = d(() => F.value.style.chart.layout.display === "vertical"), G = d(() => {
|
|
150
|
-
let e = F.value.style.chart.percentage.show, t = {
|
|
151
|
-
top: e ? 48 : 12,
|
|
152
|
-
left: e ? 64 : 16,
|
|
153
|
-
right: e ? 64 : 16,
|
|
154
|
-
bottom: e ? 48 : 12
|
|
155
|
-
};
|
|
156
|
-
return W.value ? {
|
|
157
|
-
top: F.value.style.chart.percentage.verticalPosition === "top" ? t.top : 3,
|
|
158
|
-
left: 3,
|
|
159
|
-
right: 3,
|
|
160
|
-
bottom: F.value.style.chart.percentage.verticalPosition === "bottom" ? t.bottom : 3
|
|
161
|
-
} : {
|
|
162
|
-
top: 0,
|
|
163
|
-
bottom: 0,
|
|
164
|
-
left: F.value.style.chart.percentage.horizontalPosition === "left" ? t.left : 16,
|
|
165
|
-
right: F.value.style.chart.percentage.horizontalPosition === "right" ? t.right : 10
|
|
166
|
-
};
|
|
167
|
-
}), K = d(() => Object.values(G.value).reduce((e, t) => e + t, 0)), q = x(F.value.style.chart.width), J = x(F.value.style.chart.height), Y = d(() => ({
|
|
168
|
-
height: J.value,
|
|
169
|
-
width: q.value
|
|
170
|
-
})), ot = d(() => ({
|
|
171
|
-
horizontal: {
|
|
172
|
-
x: Z.value.x + (F.value.style.chart.percentage.horizontalPosition === "left" ? 6 : 3),
|
|
173
|
-
y: Y.value.height / 2 - Z.value.fontSize / 2
|
|
174
|
-
},
|
|
175
|
-
vertical: {
|
|
176
|
-
x: Y.value.width / 2 - 20,
|
|
177
|
-
y: Z.value.y - Z.value.fontSize / 2
|
|
178
|
-
}
|
|
179
|
-
})[F.value.style.chart.layout.display]), X = d(() => W.value ? {
|
|
180
|
-
mark: (Y.value.height - K.value) / 100 * .5,
|
|
181
|
-
space: (Y.value.height - K.value) / 100 * .5
|
|
182
|
-
} : {
|
|
183
|
-
mark: (Y.value.width - K.value) / 100 * .5,
|
|
184
|
-
space: (Y.value.width - K.value) / 100 * .5
|
|
185
|
-
}), st = d(() => {
|
|
186
|
-
let e = [];
|
|
187
|
-
for (let t = 0; t < 100; t += 1) {
|
|
188
|
-
let n = F.value.style.chart.layout.ticks.gradient.show ? a(F.value.style.chart.layout.activeColor, t / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.layout.activeColor;
|
|
189
|
-
if (W.value) {
|
|
190
|
-
let r = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.width - G.value.left - G.value.right) / 100 / 3 : 0, i = G.value.left + 4 + r, a = Y.value.width - G.value.right - 4 - r, o = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, s = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, c = (a - i) / F.value.style.chart.layout.curveAngleX, l = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100);
|
|
191
|
-
e.push({
|
|
192
|
-
x1: i,
|
|
193
|
-
x2: a,
|
|
194
|
-
y1: o,
|
|
195
|
-
y2: s,
|
|
196
|
-
curve: `M ${i} ${o} C ${i + c} ${o - l}, ${a - c} ${s - l}, ${a} ${s}`,
|
|
197
|
-
color: n
|
|
198
|
-
});
|
|
199
|
-
} else {
|
|
200
|
-
let r = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.height - G.value.top - G.value.bottom) / 100 / 3 : 0, i = G.value.left + t * X.value.mark + t * X.value.space - X.value.mark, a = i, o = G.value.top + 4 + r, s = Y.value.height - G.value.bottom - 4 - r, c = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100), l = (s - o) / F.value.style.chart.layout.curveAngleX;
|
|
201
|
-
e.push({
|
|
202
|
-
x1: i,
|
|
203
|
-
x2: a,
|
|
204
|
-
y1: o,
|
|
205
|
-
y2: s,
|
|
206
|
-
curve: `M ${i} ${o} C ${i + c} ${o + l}, ${a + c} ${s - l}, ${a} ${s}`,
|
|
207
|
-
color: n
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
return e;
|
|
212
|
-
}), Z = d(() => {
|
|
213
|
-
let e, t, n, r = F.value.style.chart.percentage.fontSize / 3;
|
|
214
|
-
return W.value ? F.value.style.chart.percentage.verticalPosition === "top" ? (e = Y.value.width / 2, t = G.value.top / 2, n = "middle") : F.value.style.chart.percentage.verticalPosition === "bottom" && (e = Y.value.width / 2, t = Y.value.height - G.value.bottom / 2 + r, n = "middle") : F.value.style.chart.percentage.horizontalPosition === "left" ? (e = 4, t = Y.value.height / 2 + r, n = "start") : F.value.style.chart.percentage.horizontalPosition === "right" && (e = Y.value.width - G.value.right + 8, t = Y.value.height / 2 + r, n = "start"), {
|
|
215
|
-
x: e,
|
|
216
|
-
y: t,
|
|
217
|
-
textAnchor: n,
|
|
218
|
-
bold: F.value.style.chart.percentage.bold,
|
|
219
|
-
fontSize: F.value.style.chart.percentage.fontSize,
|
|
220
|
-
fill: F.value.style.chart.percentage.color
|
|
221
|
-
};
|
|
222
|
-
}), Q = x(!1);
|
|
223
|
-
function ct(e) {
|
|
224
|
-
Q.value = e, Je.value += 1;
|
|
225
|
-
}
|
|
226
|
-
let $ = x(!1);
|
|
227
|
-
function lt() {
|
|
228
|
-
$.value = !$.value;
|
|
229
|
-
}
|
|
230
|
-
async function ut({ scale: e = 2 } = {}) {
|
|
231
|
-
if (!A.value) return;
|
|
232
|
-
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await oe({
|
|
233
|
-
domElement: A.value,
|
|
234
|
-
base64: !0,
|
|
235
|
-
img: !0,
|
|
236
|
-
scale: e
|
|
237
|
-
});
|
|
238
|
-
return {
|
|
239
|
-
imageUri: i,
|
|
240
|
-
base64: a,
|
|
241
|
-
title: F.value.style.chart.title.text,
|
|
242
|
-
width: t,
|
|
243
|
-
height: n,
|
|
244
|
-
aspectRatio: r
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
let dt = d(() => F.value.style.chart.backgroundColor), { exportSvg: ft, getSvg: pt } = ie({
|
|
248
|
-
svg: z,
|
|
249
|
-
title: d(() => F.value.style.chart.title),
|
|
250
|
-
backgroundColor: dt
|
|
251
|
-
});
|
|
252
|
-
async function mt({ isCb: e }) {
|
|
253
|
-
P.value = !0, await ye();
|
|
254
|
-
try {
|
|
255
|
-
if (e) {
|
|
256
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await pt();
|
|
257
|
-
await Promise.resolve(F.value.userOptions.callbacks.svg({
|
|
258
|
-
blob: e,
|
|
259
|
-
url: t,
|
|
260
|
-
text: n,
|
|
261
|
-
dataUrl: r
|
|
262
|
-
}));
|
|
263
|
-
} else await Promise.resolve(ft());
|
|
264
|
-
} finally {
|
|
265
|
-
P.value = !1;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
function ht(e) {
|
|
269
|
-
if (e?.stage === "start") {
|
|
270
|
-
N.value = !0;
|
|
271
|
-
return;
|
|
272
|
-
}
|
|
273
|
-
if (e?.stage === "end") {
|
|
274
|
-
N.value = !1;
|
|
275
|
-
return;
|
|
276
|
-
}
|
|
277
|
-
tt();
|
|
278
|
-
}
|
|
279
|
-
async function gt() {
|
|
280
|
-
if (Ue("copyAlt", {
|
|
281
|
-
config: F.value,
|
|
282
|
-
dataset: L.value
|
|
283
|
-
}), !F.value.userOptions.callbacks.altCopy) {
|
|
284
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
285
|
-
return;
|
|
286
|
-
}
|
|
287
|
-
await Promise.resolve(F.value.userOptions.callbacks.altCopy({
|
|
288
|
-
config: F.value,
|
|
289
|
-
dataset: L.value
|
|
290
|
-
}));
|
|
291
|
-
}
|
|
292
|
-
let _t = d(() => `${k.value}-title`), vt = d(() => `${k.value}-desc`), yt = d(() => s(F.value.style.chart.percentage.formatter, U.value, r({
|
|
293
|
-
v: U.value,
|
|
294
|
-
s: "%",
|
|
295
|
-
r: F.value.style.chart.percentage.rounding
|
|
296
|
-
}))), bt = d(() => F.value.style.chart.title.text || ""), xt = d(() => I.value ? "Loading data" : `Value: ${yt.value}`);
|
|
297
|
-
return ce({
|
|
298
|
-
getImage: ut,
|
|
299
|
-
generatePdf: et,
|
|
300
|
-
generateImage: tt,
|
|
301
|
-
generateSvg: mt,
|
|
302
|
-
toggleAnnotator: lt,
|
|
303
|
-
toggleFullscreen: ct,
|
|
304
|
-
copyAlt: gt
|
|
305
|
-
}), (e, t) => (b(), m("div", {
|
|
306
|
-
ref_key: "tiremarksChart",
|
|
307
|
-
ref: A,
|
|
308
|
-
class: _(`vue-data-ui-component vue-ui-tiremarks ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
309
|
-
style: y(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor}`),
|
|
310
|
-
id: k.value,
|
|
311
|
-
onMouseenter: t[0] ||= () => w(Qe)(!0),
|
|
312
|
-
onMouseleave: t[1] ||= () => w(Qe)(!1)
|
|
313
|
-
}, [
|
|
314
|
-
F.value.userOptions.buttons.annotator ? (b(), f(w(E), {
|
|
315
|
-
key: 0,
|
|
316
|
-
svgRef: w(z),
|
|
317
|
-
backgroundColor: F.value.style.chart.backgroundColor,
|
|
318
|
-
color: F.value.style.chart.color,
|
|
319
|
-
active: $.value,
|
|
320
|
-
isCursorPointer: Xe.value,
|
|
321
|
-
onClose: lt
|
|
322
|
-
}, {
|
|
323
|
-
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
324
|
-
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
325
|
-
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
|
|
326
|
-
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
|
|
327
|
-
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
|
|
328
|
-
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
|
|
329
|
-
_: 3
|
|
330
|
-
}, 8, [
|
|
331
|
-
"svgRef",
|
|
332
|
-
"backgroundColor",
|
|
333
|
-
"color",
|
|
334
|
-
"active",
|
|
335
|
-
"isCursorPointer"
|
|
336
|
-
])) : p("", !0),
|
|
337
|
-
nt.value ? (b(), m("div", {
|
|
338
|
-
key: 1,
|
|
339
|
-
ref_key: "noTitle",
|
|
340
|
-
ref: Ge,
|
|
341
|
-
class: "vue-data-ui-no-title-space",
|
|
342
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
343
|
-
}, null, 512)) : p("", !0),
|
|
344
|
-
F.value.style.chart.title.text ? (b(), m("div", {
|
|
345
|
-
key: 2,
|
|
346
|
-
ref_key: "chartTitle",
|
|
347
|
-
ref: Ke,
|
|
348
|
-
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
349
|
-
}, [(b(), f(se, {
|
|
350
|
-
key: `title_${Ye.value}`,
|
|
351
|
-
config: {
|
|
352
|
-
title: {
|
|
353
|
-
cy: "wheel-title",
|
|
354
|
-
...F.value.style.chart.title
|
|
355
|
-
},
|
|
356
|
-
subtitle: {
|
|
357
|
-
cy: "wheel-subtitle",
|
|
358
|
-
...F.value.style.chart.title.subtitle
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
362
|
-
F.value.userOptions.show && We.value && (w($e) || w(R)) ? (b(), f(w(Re), {
|
|
363
|
-
ref: "details",
|
|
364
|
-
key: `user_options_${Je.value}`,
|
|
365
|
-
backgroundColor: F.value.style.chart.backgroundColor,
|
|
366
|
-
color: F.value.style.chart.color,
|
|
367
|
-
isPrinting: w(V),
|
|
368
|
-
isImaging: w(H),
|
|
369
|
-
uid: k.value,
|
|
370
|
-
hasPdf: F.value.userOptions.buttons.pdf,
|
|
371
|
-
hasImg: F.value.userOptions.buttons.img,
|
|
372
|
-
hasSvg: F.value.userOptions.buttons.svg,
|
|
373
|
-
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
374
|
-
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
375
|
-
hasXls: !1,
|
|
376
|
-
isFullscreen: Q.value,
|
|
377
|
-
titles: { ...F.value.userOptions.buttonTitles },
|
|
378
|
-
chartElement: A.value,
|
|
379
|
-
position: F.value.userOptions.position,
|
|
380
|
-
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
381
|
-
isAnnotation: $.value,
|
|
382
|
-
callbacks: F.value.userOptions.callbacks,
|
|
383
|
-
printScale: F.value.userOptions.print.scale,
|
|
384
|
-
isCursorPointer: Xe.value,
|
|
385
|
-
onToggleFullscreen: ct,
|
|
386
|
-
onGeneratePdf: w(et),
|
|
387
|
-
onGenerateImage: ht,
|
|
388
|
-
onGenerateSvg: mt,
|
|
389
|
-
onToggleAnnotator: lt,
|
|
390
|
-
onCopyAlt: gt,
|
|
391
|
-
style: y({ visibility: w($e) ? w(R) ? "visible" : "hidden" : "visible" })
|
|
392
|
-
}, _e({ _: 2 }, [
|
|
393
|
-
e.$slots.menuIcon ? {
|
|
394
|
-
name: "menuIcon",
|
|
395
|
-
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", v(g({
|
|
396
|
-
isOpen: t,
|
|
397
|
-
color: n
|
|
398
|
-
})), void 0, !0)]),
|
|
399
|
-
key: "0"
|
|
400
|
-
} : void 0,
|
|
401
|
-
e.$slots.optionPdf ? {
|
|
402
|
-
name: "optionPdf",
|
|
403
|
-
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
404
|
-
key: "1"
|
|
405
|
-
} : void 0,
|
|
406
|
-
e.$slots.optionImg ? {
|
|
407
|
-
name: "optionImg",
|
|
408
|
-
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
409
|
-
key: "2"
|
|
410
|
-
} : void 0,
|
|
411
|
-
e.$slots.optionSvg ? {
|
|
412
|
-
name: "optionSvg",
|
|
413
|
-
fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
414
|
-
key: "3"
|
|
415
|
-
} : void 0,
|
|
416
|
-
e.$slots.optionFullscreen ? {
|
|
417
|
-
name: "optionFullscreen",
|
|
418
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", v(g({
|
|
419
|
-
toggleFullscreen: t,
|
|
420
|
-
isFullscreen: n
|
|
421
|
-
})), void 0, !0)]),
|
|
422
|
-
key: "4"
|
|
423
|
-
} : void 0,
|
|
424
|
-
e.$slots.optionAnnotator ? {
|
|
425
|
-
name: "optionAnnotator",
|
|
426
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", v(g({
|
|
427
|
-
toggleAnnotator: t,
|
|
428
|
-
isAnnotator: n
|
|
429
|
-
})), void 0, !0)]),
|
|
430
|
-
key: "5"
|
|
431
|
-
} : void 0,
|
|
432
|
-
e.$slots.optionAltCopy ? {
|
|
433
|
-
name: "optionAltCopy",
|
|
434
|
-
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
|
|
435
|
-
key: "6"
|
|
436
|
-
} : void 0,
|
|
437
|
-
e.$slots["custom-menu-before"] ? {
|
|
438
|
-
name: "custom-menu-before",
|
|
439
|
-
fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
440
|
-
key: "7"
|
|
441
|
-
} : void 0,
|
|
442
|
-
e.$slots["custom-menu-after"] ? {
|
|
443
|
-
name: "custom-menu-after",
|
|
444
|
-
fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
445
|
-
key: "8"
|
|
446
|
-
} : void 0
|
|
447
|
-
]), 1032, [
|
|
448
|
-
"backgroundColor",
|
|
449
|
-
"color",
|
|
450
|
-
"isPrinting",
|
|
451
|
-
"isImaging",
|
|
452
|
-
"uid",
|
|
453
|
-
"hasPdf",
|
|
454
|
-
"hasImg",
|
|
455
|
-
"hasSvg",
|
|
456
|
-
"hasFullscreen",
|
|
457
|
-
"hasAltCopy",
|
|
458
|
-
"isFullscreen",
|
|
459
|
-
"titles",
|
|
460
|
-
"chartElement",
|
|
461
|
-
"position",
|
|
462
|
-
"hasAnnotator",
|
|
463
|
-
"isAnnotation",
|
|
464
|
-
"callbacks",
|
|
465
|
-
"printScale",
|
|
466
|
-
"isCursorPointer",
|
|
467
|
-
"onGeneratePdf",
|
|
468
|
-
"style"
|
|
469
|
-
])) : p("", !0),
|
|
470
|
-
(b(), m("svg", {
|
|
471
|
-
ref_key: "svgRef",
|
|
472
|
-
ref: z,
|
|
473
|
-
xmlns: w(c),
|
|
474
|
-
class: _({
|
|
475
|
-
"vue-data-ui-fullscreen--on": Q.value,
|
|
476
|
-
"vue-data-ui-fulscreen--off": !Q.value
|
|
477
|
-
}),
|
|
478
|
-
viewBox: `0 0 ${q.value} ${J.value}`,
|
|
479
|
-
style: y(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
|
|
480
|
-
role: "img",
|
|
481
|
-
"aria-labelledby": _t.value,
|
|
482
|
-
"aria-describedby": vt.value
|
|
483
|
-
}, [
|
|
484
|
-
ge("title", { id: _t.value }, C(bt.value), 9, De),
|
|
485
|
-
ge("desc", { id: vt.value }, C(xt.value), 9, Oe),
|
|
486
|
-
ve(w(ze)),
|
|
487
|
-
e.$slots["chart-background"] ? (b(), m("foreignObject", {
|
|
488
|
-
key: 0,
|
|
489
|
-
x: 0,
|
|
490
|
-
y: 0,
|
|
491
|
-
width: Y.value.width,
|
|
492
|
-
height: Y.value.height,
|
|
493
|
-
style: { pointerEvents: "none" }
|
|
494
|
-
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, ke)) : p("", !0),
|
|
495
|
-
F.value.style.chart.layout.curved ? (b(), m("g", Ae, [(b(!0), m(he, null, xe(st.value, (e, t) => (b(), m("path", {
|
|
496
|
-
d: e.curve,
|
|
497
|
-
"stroke-width": X.value.mark,
|
|
498
|
-
stroke: U.value >= t ? e.color : F.value.style.chart.layout.inactiveColor,
|
|
499
|
-
"stroke-linecap": "round",
|
|
500
|
-
fill: "none",
|
|
501
|
-
class: _({ "vue-ui-tick-animated": F.value.style.chart.animation.use && !w(D) && t <= U.value })
|
|
502
|
-
}, null, 10, je))), 256))])) : (b(), m("g", Me, [(b(!0), m(he, null, xe(st.value, (e, t) => (b(), m("line", {
|
|
503
|
-
x1: e.x1,
|
|
504
|
-
y1: e.y1,
|
|
505
|
-
x2: e.x2,
|
|
506
|
-
y2: e.y2,
|
|
507
|
-
"stroke-width": X.value.mark,
|
|
508
|
-
stroke: U.value >= t ? e.color : F.value.style.chart.layout.inactiveColor,
|
|
509
|
-
"stroke-linecap": "round"
|
|
510
|
-
}, null, 8, Ne))), 256))])),
|
|
511
|
-
F.value.style.chart.percentage.show ? (b(), m("g", {
|
|
512
|
-
key: 3,
|
|
513
|
-
role: "status",
|
|
514
|
-
"aria-live": "polite",
|
|
515
|
-
"aria-label": w(I) ? "..." : `${yt.value}`
|
|
516
|
-
}, [w(I) ? (b(), m("rect", {
|
|
517
|
-
key: 0,
|
|
518
|
-
x: ot.value.x,
|
|
519
|
-
y: ot.value.y,
|
|
520
|
-
width: 40,
|
|
521
|
-
height: Z.value.fontSize,
|
|
522
|
-
fill: "#6A6A6A80",
|
|
523
|
-
rx: 3
|
|
524
|
-
}, null, 8, Fe)) : (b(), m("text", {
|
|
525
|
-
key: 1,
|
|
526
|
-
"aria-hidden": "true",
|
|
527
|
-
x: Z.value.x,
|
|
528
|
-
y: Z.value.y,
|
|
529
|
-
"font-size": Z.value.fontSize,
|
|
530
|
-
fill: F.value.style.chart.layout.ticks.gradient.show && F.value.style.chart.percentage.useGradientColor ? w(a)(F.value.style.chart.layout.activeColor, U.value / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.percentage.color,
|
|
531
|
-
"font-weight": Z.value.bold ? "bold" : "normal",
|
|
532
|
-
"text-anchor": Z.value.textAnchor
|
|
533
|
-
}, C(yt.value), 9, Ie))], 8, Pe)) : p("", !0),
|
|
534
|
-
S(e.$slots, "svg", { svg: {
|
|
535
|
-
...Y.value,
|
|
536
|
-
isPrintingImg: w(V) || w(H) || N.value,
|
|
537
|
-
isPrintingSvg: P.value
|
|
538
|
-
} }, void 0, !0)
|
|
539
|
-
], 14, Ee)),
|
|
540
|
-
e.$slots.watermark ? (b(), m("div", Le, [S(e.$slots, "watermark", v(g({ isPrinting: w(V) || w(H) || N.value || P.value })), void 0, !0)])) : p("", !0),
|
|
541
|
-
e.$slots.source ? (b(), m("div", {
|
|
542
|
-
key: 5,
|
|
543
|
-
ref_key: "source",
|
|
544
|
-
ref: qe,
|
|
545
|
-
dir: "auto"
|
|
546
|
-
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
547
|
-
S(e.$slots, "skeleton", {}, () => [w(I) ? (b(), f(re, { key: 0 })) : p("", !0)], !0)
|
|
548
|
-
], 46, Te));
|
|
549
|
-
}
|
|
550
|
-
}, [["__scopeId", "data-v-4b485eb1"]]);
|
|
551
|
-
//#endregion
|
|
552
|
-
export { we as n, E as t };
|