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
package/package.json
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
2
|
+
"name": "vue-data-ui",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "3.20.1",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"3d bar",
|
|
9
|
+
"Vue",
|
|
10
|
+
"accelerometer",
|
|
11
|
+
"age pyramid",
|
|
12
|
+
"annotator",
|
|
13
|
+
"candlestick",
|
|
14
|
+
"chart",
|
|
15
|
+
"cluster",
|
|
16
|
+
"dashboard",
|
|
17
|
+
"data storytelling",
|
|
18
|
+
"data visualization",
|
|
19
|
+
"donut evolution",
|
|
20
|
+
"donut",
|
|
21
|
+
"dumbbell",
|
|
22
|
+
"funnel",
|
|
23
|
+
"galaxy",
|
|
24
|
+
"gauge",
|
|
25
|
+
"graph",
|
|
26
|
+
"heatmap",
|
|
27
|
+
"kpi",
|
|
28
|
+
"line",
|
|
29
|
+
"molecule",
|
|
30
|
+
"mood radar",
|
|
31
|
+
"quadrant",
|
|
32
|
+
"quick chart",
|
|
33
|
+
"radar",
|
|
34
|
+
"rating",
|
|
35
|
+
"relationship circle",
|
|
36
|
+
"rings",
|
|
37
|
+
"scatter",
|
|
38
|
+
"screenshot",
|
|
39
|
+
"skeleton",
|
|
40
|
+
"smiley",
|
|
41
|
+
"sparkbar",
|
|
42
|
+
"sparkline",
|
|
43
|
+
"stackbar",
|
|
44
|
+
"table heatmap",
|
|
45
|
+
"table",
|
|
46
|
+
"thermometer",
|
|
47
|
+
"tiremarks",
|
|
48
|
+
"tree",
|
|
49
|
+
"treemap",
|
|
50
|
+
"waffle",
|
|
51
|
+
"wheel",
|
|
52
|
+
"wordcloud",
|
|
53
|
+
"circle packing",
|
|
54
|
+
"dag"
|
|
55
|
+
],
|
|
56
|
+
"author": "Alec Lloyd Probert",
|
|
57
|
+
"repository": {
|
|
58
|
+
"type": "git",
|
|
59
|
+
"url": "git+https://github.com/graphieros/vue-data-ui.git"
|
|
60
|
+
},
|
|
61
|
+
"homepage": "https://vue-data-ui.graphieros.com/",
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"files": [
|
|
64
|
+
"dist"
|
|
65
|
+
],
|
|
66
|
+
"exports": {
|
|
67
|
+
".": {
|
|
68
|
+
"types": "./dist/types/vue-data-ui.d.ts",
|
|
69
|
+
"import": "./dist/vue-data-ui.js",
|
|
70
|
+
"default": "./dist/vue-data-ui.js"
|
|
60
71
|
},
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"dist"
|
|
65
|
-
],
|
|
66
|
-
"exports": {
|
|
67
|
-
".": {
|
|
68
|
-
"types": "./dist/types/vue-data-ui.d.ts",
|
|
69
|
-
"import": "./dist/vue-data-ui.js",
|
|
70
|
-
"default": "./dist/vue-data-ui.js"
|
|
71
|
-
},
|
|
72
|
-
"./utils": {
|
|
73
|
-
"types": "./dist/types/utils.d.ts",
|
|
74
|
-
"import": "./dist/utils.js"
|
|
75
|
-
},
|
|
76
|
-
"./*": {
|
|
77
|
-
"types": "./dist/types/*.d.ts",
|
|
78
|
-
"import": "./dist/components/*.js",
|
|
79
|
-
"default": "./dist/components/*.js"
|
|
80
|
-
},
|
|
81
|
-
"./style.css": "./dist/style.css"
|
|
72
|
+
"./utils": {
|
|
73
|
+
"types": "./dist/types/utils.d.ts",
|
|
74
|
+
"import": "./dist/utils.js"
|
|
82
75
|
},
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"types": "dist/types/vue-data-ui.d.ts",
|
|
88
|
-
"scripts": {
|
|
89
|
-
"dev": "node add-dev-dep.cjs && npm i && vite",
|
|
90
|
-
"clean": "node cleanup.cjs",
|
|
91
|
-
"build": "npm run clean && vite build --mode production && node copy-types.cjs && npm i",
|
|
92
|
-
"prod": "npm run pretty && node del-dev-dep.cjs && node check-types.cjs && npm run test && npx cypress run --component && npm run clean && vite build --mode production && node copy-types.cjs && node post-build.cjs",
|
|
93
|
-
"prod:publish": "npm run prod && node publish-build.cjs",
|
|
94
|
-
"test": "vitest --run",
|
|
95
|
-
"test:w": "vitest --watch",
|
|
96
|
-
"test:e2e": "npx cypress open",
|
|
97
|
-
"preprod": "node check-types.cjs && npm run pretty:fix && node del-dev-dep.cjs && npm run clean && vite build --mode production && node copy-types.cjs && node post-build.cjs",
|
|
98
|
-
"cy-all": "npx cypress run --component",
|
|
99
|
-
"cy": "node run-cy.cjs",
|
|
100
|
-
"types": "node check-types.cjs",
|
|
101
|
-
"pretty": "prettier . --check",
|
|
102
|
-
"pretty:fix": "prettier . --write"
|
|
76
|
+
"./*": {
|
|
77
|
+
"types": "./dist/types/*.d.ts",
|
|
78
|
+
"import": "./dist/components/*.js",
|
|
79
|
+
"default": "./dist/components/*.js"
|
|
103
80
|
},
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
81
|
+
"./style.css": "./dist/style.css"
|
|
82
|
+
},
|
|
83
|
+
"sideEffects": [
|
|
84
|
+
"**/*.css"
|
|
85
|
+
],
|
|
86
|
+
"module": "dist/vue-data-ui.js",
|
|
87
|
+
"types": "dist/types/vue-data-ui.d.ts",
|
|
88
|
+
"scripts": {
|
|
89
|
+
"dev": "node add-dev-dep.cjs && npm i && vite",
|
|
90
|
+
"clean": "node cleanup.cjs",
|
|
91
|
+
"build": "npm run clean && vite build --mode production && node copy-types.cjs && npm i",
|
|
92
|
+
"prod": "npm run pretty && node del-dev-dep.cjs && node check-types.cjs && npm run test && npx cypress run --component && npm run clean && vite build --mode production && node copy-types.cjs && node post-build.cjs",
|
|
93
|
+
"prod:publish": "npm run prod && node publish-build.cjs",
|
|
94
|
+
"test": "vitest --run",
|
|
95
|
+
"test:w": "vitest --watch",
|
|
96
|
+
"test:e2e": "npx cypress open",
|
|
97
|
+
"preprod": "node check-types.cjs && npm run pretty:fix && node del-dev-dep.cjs && npm run clean && vite build --mode production && node copy-types.cjs && node post-build.cjs",
|
|
98
|
+
"cy-all": "npx cypress run --component",
|
|
99
|
+
"cy": "node run-cy.cjs",
|
|
100
|
+
"types": "node check-types.cjs",
|
|
101
|
+
"pretty": "prettier . --check",
|
|
102
|
+
"pretty:fix": "prettier . --write"
|
|
103
|
+
},
|
|
104
|
+
"peerDependencies": {
|
|
105
|
+
"jspdf": ">=3.0.1",
|
|
106
|
+
"vue": ">=3.3.0"
|
|
107
|
+
},
|
|
108
|
+
"peerDependenciesMeta": {
|
|
109
|
+
"jspdf": {
|
|
110
|
+
"optional": true
|
|
125
111
|
}
|
|
112
|
+
},
|
|
113
|
+
"devDependencies": {
|
|
114
|
+
"@vitejs/plugin-vue": "^6.0.7",
|
|
115
|
+
"cypress": "^15.15.0",
|
|
116
|
+
"jsdom": "^29.1.1",
|
|
117
|
+
"prettier": "3.8.1",
|
|
118
|
+
"remove-attr": "^0.0.13",
|
|
119
|
+
"sass": "^1.57.1",
|
|
120
|
+
"simple-git": "^3.36.0",
|
|
121
|
+
"typescript": "^6.0.2",
|
|
122
|
+
"vite": "^8.0.14",
|
|
123
|
+
"vitest": "^4.1.7",
|
|
124
|
+
"vue": "^3.5.34"
|
|
125
|
+
}
|
|
126
126
|
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { Fragment as t, createElementBlock as n, createElementVNode as r, createTextVNode as i, openBlock as a, renderList as o, renderSlot as s, toDisplayString as c } from "vue";
|
|
3
|
-
//#region src/atoms/A11yDataTable.vue
|
|
4
|
-
var l = ["id"], u = { scope: "row" }, d = /* @__PURE__ */ e({
|
|
5
|
-
__name: "A11yDataTable",
|
|
6
|
-
props: {
|
|
7
|
-
uid: {
|
|
8
|
-
String,
|
|
9
|
-
required: !0
|
|
10
|
-
},
|
|
11
|
-
head: {
|
|
12
|
-
Array,
|
|
13
|
-
default: () => []
|
|
14
|
-
},
|
|
15
|
-
body: {
|
|
16
|
-
Array,
|
|
17
|
-
default: () => []
|
|
18
|
-
},
|
|
19
|
-
caption: {
|
|
20
|
-
String,
|
|
21
|
-
default: "Data table"
|
|
22
|
-
},
|
|
23
|
-
notice: {
|
|
24
|
-
String,
|
|
25
|
-
default: "A data table is available below."
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
setup(e) {
|
|
29
|
-
return (d, f) => (a(), n("div", {
|
|
30
|
-
id: `chart-data-table-${e.uid}`,
|
|
31
|
-
class: "sr-only",
|
|
32
|
-
"data-dom-to-png-ignore": ""
|
|
33
|
-
}, [r("p", null, c(e.notice), 1), r("table", null, [
|
|
34
|
-
r("caption", null, c(e.caption), 1),
|
|
35
|
-
r("thead", null, [r("tr", null, [(a(!0), n(t, null, o(e.head, (t, r) => (a(), n("th", {
|
|
36
|
-
role: "cell",
|
|
37
|
-
key: `a11y-head-${r}-${e.uid}`,
|
|
38
|
-
scope: "col"
|
|
39
|
-
}, [s(d.$slots, "th", { th: t }, () => [i(c(t), 1)], !0)]))), 128))])]),
|
|
40
|
-
r("tbody", null, [(a(!0), n(t, null, o(e.body, (l, f) => (a(), n("tr", { key: `a11y-body-${f}-${e.uid}` }, [r("th", u, c(l[0]), 1), (a(!0), n(t, null, o(l.slice(1), (t, r) => (a(), n("td", { key: `a11y-cell-${f}-${r}-${e.uid}` }, [s(d.$slots, "td", { td: t }, () => [i(c(t), 1)], !0)]))), 128))]))), 128))])
|
|
41
|
-
])], 8, l));
|
|
42
|
-
}
|
|
43
|
-
}, [["__scopeId", "data-v-1090a7c5"]]);
|
|
44
|
-
//#endregion
|
|
45
|
-
export { d as t };
|
package/dist/Arrow-D6j6ocXm.js
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { H as e } from "./lib-DUeYQsS0.js";
|
|
2
|
-
import { computed as t, createElementBlock as n, createElementVNode as r, openBlock as i, unref as a } from "vue";
|
|
3
|
-
//#region src/atoms/Arrow.vue
|
|
4
|
-
var o = { class: "vue-ui-element-arrow" }, s = [
|
|
5
|
-
"id",
|
|
6
|
-
"viewBox",
|
|
7
|
-
"refX",
|
|
8
|
-
"refY",
|
|
9
|
-
"markerWidth",
|
|
10
|
-
"markerHeight"
|
|
11
|
-
], c = ["d", "fill"], l = [
|
|
12
|
-
"id",
|
|
13
|
-
"viewBox",
|
|
14
|
-
"refX",
|
|
15
|
-
"refY",
|
|
16
|
-
"markerWidth",
|
|
17
|
-
"markerHeight"
|
|
18
|
-
], u = ["d", "fill"], d = [
|
|
19
|
-
"x1",
|
|
20
|
-
"y1",
|
|
21
|
-
"x2",
|
|
22
|
-
"y2",
|
|
23
|
-
"stroke",
|
|
24
|
-
"stroke-width",
|
|
25
|
-
"stroke-linecap",
|
|
26
|
-
"stroke-dasharray",
|
|
27
|
-
"marker-end",
|
|
28
|
-
"marker-start"
|
|
29
|
-
], f = {
|
|
30
|
-
__name: "Arrow",
|
|
31
|
-
props: {
|
|
32
|
-
markerEnd: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: !0
|
|
35
|
-
},
|
|
36
|
-
markerSize: {
|
|
37
|
-
type: Number,
|
|
38
|
-
default: 10
|
|
39
|
-
},
|
|
40
|
-
markerStart: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
default: !1
|
|
43
|
-
},
|
|
44
|
-
stroke: {
|
|
45
|
-
type: String,
|
|
46
|
-
default: "#2D353C"
|
|
47
|
-
},
|
|
48
|
-
strokeDasharray: {
|
|
49
|
-
type: Number,
|
|
50
|
-
default: 0
|
|
51
|
-
},
|
|
52
|
-
strokeLinecap: {
|
|
53
|
-
type: String,
|
|
54
|
-
default: "round"
|
|
55
|
-
},
|
|
56
|
-
strokeWidth: {
|
|
57
|
-
type: Number,
|
|
58
|
-
default: 1
|
|
59
|
-
},
|
|
60
|
-
x1: {
|
|
61
|
-
type: Number,
|
|
62
|
-
default: 0
|
|
63
|
-
},
|
|
64
|
-
x2: {
|
|
65
|
-
type: Number,
|
|
66
|
-
default: 0
|
|
67
|
-
},
|
|
68
|
-
y1: {
|
|
69
|
-
type: Number,
|
|
70
|
-
default: 0
|
|
71
|
-
},
|
|
72
|
-
y2: {
|
|
73
|
-
type: Number,
|
|
74
|
-
default: 0
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
setup(f) {
|
|
78
|
-
let p = f, m = e(), h = t(() => `0 0 ${p.markerSize} ${p.markerSize}`), g = t(() => p.markerSize / 2), _ = t(() => g.value + p.markerSize / 10);
|
|
79
|
-
return (e, t) => (i(), n("g", o, [r("defs", null, [r("marker", {
|
|
80
|
-
id: `arrow_end_${a(m)}`,
|
|
81
|
-
orient: "auto",
|
|
82
|
-
viewBox: h.value,
|
|
83
|
-
refX: g.value,
|
|
84
|
-
refY: g.value,
|
|
85
|
-
markerWidth: _.value,
|
|
86
|
-
markerHeight: _.value
|
|
87
|
-
}, [r("path", {
|
|
88
|
-
d: `M 0 0 L ${f.markerSize} ${g.value} L 0 ${f.markerSize} z`,
|
|
89
|
-
fill: f.stroke
|
|
90
|
-
}, null, 8, c)], 8, s), r("marker", {
|
|
91
|
-
id: `arrow_start_${a(m)}`,
|
|
92
|
-
orient: "auto-start-reverse",
|
|
93
|
-
viewBox: h.value,
|
|
94
|
-
refX: g.value,
|
|
95
|
-
refY: g.value,
|
|
96
|
-
markerWidth: _.value,
|
|
97
|
-
markerHeight: _.value
|
|
98
|
-
}, [r("path", {
|
|
99
|
-
d: `M 0 0 L ${f.markerSize} ${g.value} L 0 ${f.markerSize} z`,
|
|
100
|
-
fill: f.stroke
|
|
101
|
-
}, null, 8, u)], 8, l)]), r("line", {
|
|
102
|
-
x1: f.x1,
|
|
103
|
-
y1: f.y1,
|
|
104
|
-
x2: f.x2,
|
|
105
|
-
y2: f.y2,
|
|
106
|
-
stroke: f.stroke,
|
|
107
|
-
"stroke-width": f.strokeWidth,
|
|
108
|
-
"stroke-linecap": f.strokeLinecap,
|
|
109
|
-
"stroke-dasharray": f.strokeDasharray,
|
|
110
|
-
"marker-end": f.markerEnd ? `url(#arrow_end_${a(m)})` : "",
|
|
111
|
-
"marker-start": f.markerStart ? `url(#arrow_start_${a(m)})` : ""
|
|
112
|
-
}, null, 8, d)]));
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
//#endregion
|
|
116
|
-
export { f as t };
|
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { H as t, t as n } from "./lib-DUeYQsS0.js";
|
|
3
|
-
import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
|
-
import { t as i } from "./BaseIcon-DfLoHNUj.js";
|
|
5
|
-
import { Teleport as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onMounted as h, onUnmounted as g, openBlock as _, reactive as v, ref as y, renderSlot as b, unref as x, withModifiers as S } from "vue";
|
|
6
|
-
//#region src/atoms/BaseDraggableDialog.vue
|
|
7
|
-
var C = /* @__PURE__ */ e({ default: () => E }), w = ["xmlns"], T = { class: "draggable-dialog-actions" }, E = /* @__PURE__ */ r({
|
|
8
|
-
__name: "BaseDraggableDialog",
|
|
9
|
-
props: {
|
|
10
|
-
backgroundColor: { type: String },
|
|
11
|
-
color: { type: String },
|
|
12
|
-
headerBg: { type: String },
|
|
13
|
-
headerColor: { type: String },
|
|
14
|
-
fullscreenParent: { type: HTMLElement },
|
|
15
|
-
isFullscreen: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
default: !1
|
|
18
|
-
},
|
|
19
|
-
withPadding: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
default: !1
|
|
22
|
-
},
|
|
23
|
-
forcedWidth: {
|
|
24
|
-
type: Number,
|
|
25
|
-
default: 400
|
|
26
|
-
},
|
|
27
|
-
forcedHeight: {
|
|
28
|
-
type: Number,
|
|
29
|
-
default: 400
|
|
30
|
-
},
|
|
31
|
-
isCursorPointer: {
|
|
32
|
-
type: Boolean,
|
|
33
|
-
default: !1
|
|
34
|
-
},
|
|
35
|
-
forceAspectRatio: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: !1
|
|
38
|
-
},
|
|
39
|
-
withFullWidth: {
|
|
40
|
-
type: Boolean,
|
|
41
|
-
default: !1
|
|
42
|
-
},
|
|
43
|
-
noLayerUpdate: {
|
|
44
|
-
type: Boolean,
|
|
45
|
-
default: !1
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
emits: ["close", "size"],
|
|
49
|
-
setup(e, { expose: r, emit: C }) {
|
|
50
|
-
let E = e, D = C, O = y(!1), k = y(!1), A = y(0), j = y(null), M = y(null), N = y(null), P = `vue-ui-draggable-dialog-${t()}`, F = `${P}-title`, I = `${P}-body`;
|
|
51
|
-
function L() {
|
|
52
|
-
E.noLayerUpdate || (A.value += 1);
|
|
53
|
-
}
|
|
54
|
-
let R = v({
|
|
55
|
-
left: window.innerWidth / 2 - 200,
|
|
56
|
-
top: window.innerHeight / 2 - 120,
|
|
57
|
-
width: E.forcedWidth,
|
|
58
|
-
height: E.forcedHeight,
|
|
59
|
-
dragging: !1,
|
|
60
|
-
resizing: !1,
|
|
61
|
-
dragOffsetX: 0,
|
|
62
|
-
dragOffsetY: 0,
|
|
63
|
-
pointerStartX: 0,
|
|
64
|
-
pointerStartY: 0,
|
|
65
|
-
resizeStartW: 0,
|
|
66
|
-
resizeStartH: 0
|
|
67
|
-
});
|
|
68
|
-
function z() {
|
|
69
|
-
N.value = document.activeElement instanceof HTMLElement ? document.activeElement : null, O.value = !0, f(() => {
|
|
70
|
-
k.value ||= (R.left = Math.max(0, window.innerWidth / 2 - R.width / 2), R.top = Math.max(0, window.innerHeight / 2 - R.height / 2), !0);
|
|
71
|
-
let e = M.value || j.value;
|
|
72
|
-
e && typeof e.focus == "function" && e.focus();
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
function B() {
|
|
76
|
-
O.value = !1, D("close"), N.value && typeof N.value.focus == "function" && N.value.focus();
|
|
77
|
-
}
|
|
78
|
-
r({
|
|
79
|
-
open: z,
|
|
80
|
-
close: B
|
|
81
|
-
});
|
|
82
|
-
let V = o(() => ({
|
|
83
|
-
position: "fixed",
|
|
84
|
-
left: `${R.left}px`,
|
|
85
|
-
top: `${R.top}px`,
|
|
86
|
-
width: `${R.width}px`,
|
|
87
|
-
height: `${R.height}px`,
|
|
88
|
-
padding: 0,
|
|
89
|
-
border: "none",
|
|
90
|
-
background: E.backgroundColor,
|
|
91
|
-
boxShadow: "0 4px 24px rgba(0,0,0,0.15)",
|
|
92
|
-
zIndex: 9999,
|
|
93
|
-
overflow: "visible",
|
|
94
|
-
borderRadius: "2px",
|
|
95
|
-
"--dlg-color": E.color
|
|
96
|
-
}));
|
|
97
|
-
function H(e) {
|
|
98
|
-
return e.touches && e.touches.length ? {
|
|
99
|
-
x: e.touches[0].clientX,
|
|
100
|
-
y: e.touches[0].clientY
|
|
101
|
-
} : {
|
|
102
|
-
x: e.clientX,
|
|
103
|
-
y: e.clientY
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
function U(e) {
|
|
107
|
-
e.preventDefault?.(), L(), R.dragging = !0;
|
|
108
|
-
let t = H(e);
|
|
109
|
-
R.dragOffsetX = t.x - R.left, R.dragOffsetY = t.y - R.top, document.addEventListener("mousemove", W), document.addEventListener("mouseup", G), document.addEventListener("touchmove", W, { passive: !1 }), document.addEventListener("touchend", G);
|
|
110
|
-
}
|
|
111
|
-
function W(e) {
|
|
112
|
-
if (!R.dragging) return;
|
|
113
|
-
e.preventDefault?.();
|
|
114
|
-
let t = H(e), n = t.x - R.dragOffsetX, r = t.y - R.dragOffsetY;
|
|
115
|
-
n = Math.max(0, Math.min(n, window.innerWidth - R.width)), r = Math.max(0, Math.min(r, window.innerHeight - R.height)), R.left = n, R.top = r;
|
|
116
|
-
}
|
|
117
|
-
function G() {
|
|
118
|
-
R.dragging = !1, document.removeEventListener("mousemove", W), document.removeEventListener("mouseup", G), document.removeEventListener("touchmove", W), document.removeEventListener("touchend", G);
|
|
119
|
-
}
|
|
120
|
-
function K(e) {
|
|
121
|
-
e.preventDefault?.(), L(), R.resizing = !0;
|
|
122
|
-
let t = H(e);
|
|
123
|
-
R.pointerStartX = t.x, R.pointerStartY = t.y, R.resizeStartW = R.width, R.resizeStartH = R.height, document.addEventListener("mousemove", q), document.addEventListener("mouseup", J), document.addEventListener("touchmove", q, { passive: !1 }), document.addEventListener("touchend", J);
|
|
124
|
-
}
|
|
125
|
-
function q(e) {
|
|
126
|
-
if (!R.resizing) return;
|
|
127
|
-
e.preventDefault?.();
|
|
128
|
-
let t = H(e), n = t.x - R.pointerStartX, r = t.y - R.pointerStartY;
|
|
129
|
-
R.width = Math.max(240, R.resizeStartW + n), R.height = Math.max(400, R.resizeStartH + r), D("size", {
|
|
130
|
-
width: R.width,
|
|
131
|
-
height: R.height
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
function J() {
|
|
135
|
-
R.resizing = !1, document.removeEventListener("mousemove", q), document.removeEventListener("mouseup", J), document.removeEventListener("touchmove", q), document.removeEventListener("touchend", J), D("size", {
|
|
136
|
-
width: R.width,
|
|
137
|
-
height: R.height
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
h(() => {
|
|
141
|
-
D("size", {
|
|
142
|
-
width: R.width,
|
|
143
|
-
height: R.height
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
function Y(e) {
|
|
147
|
-
e.preventDefault?.(), L(), R.resizing = !0;
|
|
148
|
-
let t = H(e);
|
|
149
|
-
R.pointerStartX = t.x, R.pointerStartY = t.y, R.resizeStartW = R.width, R.resizeStartH = R.height, R.resizeStartLeft = R.left, R.resizeStartTop = R.top, document.addEventListener("mousemove", X), document.addEventListener("mouseup", Z), document.addEventListener("touchmove", X, { passive: !1 }), document.addEventListener("touchend", Z);
|
|
150
|
-
}
|
|
151
|
-
function X(e) {
|
|
152
|
-
if (!R.resizing) return;
|
|
153
|
-
e.preventDefault?.();
|
|
154
|
-
let t = H(e), n = t.x - R.pointerStartX, r = Math.min(Math.max(0, R.resizeStartLeft + n), R.resizeStartLeft + R.resizeStartW - 240), i = R.resizeStartW - (r - R.resizeStartLeft), a = t.y - R.pointerStartY, o = Math.max(400, R.resizeStartH + a);
|
|
155
|
-
R.left = r, R.width = i, R.height = o;
|
|
156
|
-
}
|
|
157
|
-
function Z() {
|
|
158
|
-
R.resizing = !1, document.removeEventListener("mousemove", X), document.removeEventListener("mouseup", Z), document.removeEventListener("touchmove", X), document.removeEventListener("touchend", Z);
|
|
159
|
-
}
|
|
160
|
-
h(() => {
|
|
161
|
-
document.addEventListener("keydown", Q);
|
|
162
|
-
});
|
|
163
|
-
function Q(e) {
|
|
164
|
-
e.key && e.key === "Escape" && B();
|
|
165
|
-
}
|
|
166
|
-
g(() => {
|
|
167
|
-
G(), J(), Z(), document.removeEventListener("keydown", Q);
|
|
168
|
-
});
|
|
169
|
-
function $(e) {
|
|
170
|
-
e.key === "Tab" && ee(e);
|
|
171
|
-
}
|
|
172
|
-
function ee(e) {
|
|
173
|
-
if (!j.value) return;
|
|
174
|
-
let t = j.value.querySelectorAll("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"]");
|
|
175
|
-
if (!t.length) return;
|
|
176
|
-
let n = t[0], r = t[t.length - 1];
|
|
177
|
-
e.shiftKey ? document.activeElement === n && (e.preventDefault(), r.focus()) : document.activeElement === r && (e.preventDefault(), n.focus());
|
|
178
|
-
}
|
|
179
|
-
return (t, r) => (_(), s(a, {
|
|
180
|
-
to: e.isFullscreen ? e.fullscreenParent : "body",
|
|
181
|
-
key: A.value
|
|
182
|
-
}, [O.value ? (_(), l("div", {
|
|
183
|
-
key: 0,
|
|
184
|
-
ref_key: "draggableDialog",
|
|
185
|
-
ref: j,
|
|
186
|
-
class: "vue-ui-draggable-dialog",
|
|
187
|
-
style: m(V.value),
|
|
188
|
-
role: "dialog",
|
|
189
|
-
"aria-modal": !0,
|
|
190
|
-
"aria-labelledby": F,
|
|
191
|
-
"aria-describedby": I,
|
|
192
|
-
tabindex: "-1",
|
|
193
|
-
onClick: r[0] ||= S(() => {}, ["stop"]),
|
|
194
|
-
onKeydown: $
|
|
195
|
-
}, [
|
|
196
|
-
u("div", {
|
|
197
|
-
class: "vue-ui-draggable-dialog-header",
|
|
198
|
-
style: m({
|
|
199
|
-
backgroundColor: e.headerBg,
|
|
200
|
-
color: e.headerColor
|
|
201
|
-
})
|
|
202
|
-
}, [
|
|
203
|
-
u("span", {
|
|
204
|
-
class: "drag-handle",
|
|
205
|
-
"aria-hidden": "true",
|
|
206
|
-
onMousedown: S(U, ["stop", "prevent"]),
|
|
207
|
-
onTouchstart: S(U, ["stop", "prevent"])
|
|
208
|
-
}, [(_(), l("svg", {
|
|
209
|
-
xmlns: x(n),
|
|
210
|
-
width: "20",
|
|
211
|
-
height: "20",
|
|
212
|
-
viewBox: "0 0 24 24",
|
|
213
|
-
fill: "none",
|
|
214
|
-
stroke: "currentColor",
|
|
215
|
-
"stroke-width": "1",
|
|
216
|
-
"stroke-linecap": "round",
|
|
217
|
-
"stroke-linejoin": "round"
|
|
218
|
-
}, [...r[1] ||= [
|
|
219
|
-
u("path", { d: "M5 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
220
|
-
u("path", { d: "M5 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
221
|
-
u("path", { d: "M12 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
222
|
-
u("path", { d: "M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
223
|
-
u("path", { d: "M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
224
|
-
u("path", { d: "M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1)
|
|
225
|
-
]], 8, w))], 32),
|
|
226
|
-
u("span", {
|
|
227
|
-
class: "vue-ui-draggable-dialog-title",
|
|
228
|
-
id: F
|
|
229
|
-
}, [b(t.$slots, "title", {}, void 0, !0)]),
|
|
230
|
-
u("div", T, [b(t.$slots, "actions", {}, void 0, !0), u("button", {
|
|
231
|
-
ref_key: "closeButtonElement",
|
|
232
|
-
ref: M,
|
|
233
|
-
class: "close",
|
|
234
|
-
type: "button",
|
|
235
|
-
"aria-label": "Close dialog",
|
|
236
|
-
onClick: B,
|
|
237
|
-
style: m({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
238
|
-
}, [d(i, {
|
|
239
|
-
name: "close",
|
|
240
|
-
stroke: e.headerColor
|
|
241
|
-
}, null, 8, ["stroke"])], 4)])
|
|
242
|
-
], 4),
|
|
243
|
-
u("div", {
|
|
244
|
-
id: I,
|
|
245
|
-
role: "document",
|
|
246
|
-
class: p({
|
|
247
|
-
"vue-ui-draggable-dialog-body": !e.withPadding,
|
|
248
|
-
"vue-ui-draggable-dialog-body-pad": e.withPadding,
|
|
249
|
-
"vue-ui-draggable-dialog-body-full-width": e.withFullWidth
|
|
250
|
-
})
|
|
251
|
-
}, [
|
|
252
|
-
b(t.$slots, "before", {}, void 0, !0),
|
|
253
|
-
b(t.$slots, "content", {}, void 0, !0),
|
|
254
|
-
b(t.$slots, "after", {}, void 0, !0)
|
|
255
|
-
], 2),
|
|
256
|
-
u("div", {
|
|
257
|
-
class: "resize-handle",
|
|
258
|
-
"aria-hidden": "true",
|
|
259
|
-
onMousedown: S(K, ["stop", "prevent"]),
|
|
260
|
-
onTouchstart: S(K, ["stop", "prevent"])
|
|
261
|
-
}, null, 32),
|
|
262
|
-
u("div", {
|
|
263
|
-
class: "resize-handle resize-handle-left",
|
|
264
|
-
"aria-hidden": "true",
|
|
265
|
-
onMousedown: S(Y, ["stop", "prevent"]),
|
|
266
|
-
onTouchstart: S(Y, ["stop", "prevent"])
|
|
267
|
-
}, null, 32)
|
|
268
|
-
], 36)) : c("", !0)], 8, ["to"]));
|
|
269
|
-
}
|
|
270
|
-
}, [["__scopeId", "data-v-41359ac7"]]);
|
|
271
|
-
//#endregion
|
|
272
|
-
export { C as n, E as t };
|