vue-data-ui 2.6.47 → 2.6.49-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-Dvz6Z2gU.js → Arrow-Dv70pgNR.js} +1 -1
- package/dist/{Arrow-CRrMt_zT.cjs → Arrow-shhEXYsq.cjs} +1 -1
- package/dist/{BaseIcon-DoqpR480.cjs → BaseIcon-D6QkKJpU.cjs} +1 -1
- package/dist/{BaseIcon-CEgQPz8O.js → BaseIcon-ZZc7VY8d.js} +8 -3
- package/dist/{ColorPicker-Bp_7FV2c.cjs → ColorPicker-CGbS8gKN.cjs} +1 -1
- package/dist/{ColorPicker-DwezDvSV.js → ColorPicker-CUJpXuSS.js} +3 -3
- package/dist/{DataTable-D_Guh5Hf.cjs → DataTable-CRuMrwb8.cjs} +1 -1
- package/dist/{DataTable-751-cN2c.js → DataTable-CmnlvDKM.js} +2 -2
- package/dist/{Legend-BG9fLat9.js → Legend-B3rCxiju.js} +2 -2
- package/dist/{Legend-CepYsC9r.cjs → Legend-KLm00z8t.cjs} +1 -1
- package/dist/{PackageVersion-SrpgZayt.js → PackageVersion-DavVl5j6.js} +1 -1
- package/dist/{PackageVersion-D8T0gm3t.cjs → PackageVersion-DwKk69DU.cjs} +1 -1
- package/dist/{PenAndPaper-jnD991LP.js → PenAndPaper-CGAd_cD9.js} +3 -3
- package/dist/{PenAndPaper-BJ6gGBM2.cjs → PenAndPaper-hlX2Djxv.cjs} +1 -1
- package/dist/{Shape-og7-ULyN.cjs → Shape-BGYZa31d.cjs} +1 -1
- package/dist/{Shape-BaijOBYT.js → Shape-CWFBkvfP.js} +1 -1
- package/dist/{Slicer-COHzItjq.js → Slicer-BEOWbyKm.js} +2 -2
- package/dist/{Slicer-B4ZDkwnQ.cjs → Slicer-CAyYbVK-.cjs} +1 -1
- package/dist/{Title-DMhhB9yN.js → Title-Ch602IT9.js} +1 -1
- package/dist/{Title-BUnn57ZR.cjs → Title-Iy2d-Bd1.cjs} +1 -1
- package/dist/{Tooltip-BaPecnnV.js → Tooltip-0IaPNa9t.js} +1 -1
- package/dist/{Tooltip-DJtOxx2P.cjs → Tooltip-DhV-T1A4.cjs} +1 -1
- package/dist/{index-DEbhC0cM.cjs → index-C4TeRZvT.cjs} +2 -2
- package/dist/{index-KdQpiTkm.js → index-C7spnOfS.js} +5 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +38 -1
- package/dist/types/vue-data-ui.d.ts +38 -1
- package/dist/{useNestedProp-COYn8tA0.cjs → useNestedProp-BS-4R8zR.cjs} +1 -1
- package/dist/{useNestedProp-CO8Pe266.js → useNestedProp-BXHzK3EV.js} +1 -1
- package/dist/usePanZoom-CWL8SzZN.js +79 -0
- package/dist/usePanZoom-CppTL3G-.cjs +1 -0
- package/dist/{usePrinter-BuiF8wZK.js → usePrinter-BDUIRBP4.js} +1 -1
- package/dist/{usePrinter-DRmOwFc2.cjs → usePrinter-bFMowLOh.cjs} +1 -1
- package/dist/{vue-data-ui-3jkYjNO_.js → vue-data-ui-Be5Tgffi.js} +61 -61
- package/dist/{vue-data-ui-BbpJaKj_.cjs → vue-data-ui-CAyq9OfR.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +22 -20
- package/dist/{vue-ui-3d-bar-Bda7eCM_.js → vue-ui-3d-bar-CtOPLOD3.js} +9 -9
- package/dist/{vue-ui-3d-bar-D7_7INdZ.cjs → vue-ui-3d-bar-M3DFCjSK.cjs} +1 -1
- package/dist/{vue-ui-accordion-ChxVn9CH.cjs → vue-ui-accordion-BIbie2vw.cjs} +1 -1
- package/dist/{vue-ui-accordion-CDTJiQu0.js → vue-ui-accordion-Bk2aYAD-.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C-5yJnWs.cjs → vue-ui-age-pyramid-CR9x-PgJ.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-C4FUVgL1.js → vue-ui-age-pyramid-hyVqCFgO.js} +10 -10
- package/dist/{vue-ui-annotator-yLvZcOQb.cjs → vue-ui-annotator-BXHTI64K.cjs} +1 -1
- package/dist/{vue-ui-annotator-pYtolxGn.js → vue-ui-annotator-Qn0uc5GZ.js} +1 -1
- package/dist/{vue-ui-bullet-oEZK6DxU.js → vue-ui-bullet-CrWBMd4n.js} +8 -8
- package/dist/{vue-ui-bullet-BVmbUAYh.cjs → vue-ui-bullet-DM6lx30F.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Cm0ipv0t.js → vue-ui-candlestick-B2jTfGz7.js} +11 -11
- package/dist/{vue-ui-candlestick-CVM-Yvvm.cjs → vue-ui-candlestick-DUZlc7tm.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BGPWwg3x.cjs → vue-ui-carousel-table-3QViQ5Bi.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-PcE7YCyE.js → vue-ui-carousel-table-Cy39XJq8.js} +4 -4
- package/dist/{vue-ui-chestnut-CeYVXtyW.cjs → vue-ui-chestnut-CAEZuh12.cjs} +1 -1
- package/dist/{vue-ui-chestnut-Ob9Rt-3r.js → vue-ui-chestnut-Dr3sUQIO.js} +8 -8
- package/dist/{vue-ui-circle-pack-BF0PBuDU.js → vue-ui-circle-pack-C8lFd9HI.js} +9 -9
- package/dist/{vue-ui-circle-pack-pbnF0Jb7.cjs → vue-ui-circle-pack-DNSLbFV_.cjs} +1 -1
- package/dist/{vue-ui-cursor-DE4hlTca.cjs → vue-ui-cursor-B4KSNGDd.cjs} +1 -1
- package/dist/{vue-ui-cursor-Drnazkqg.js → vue-ui-cursor-Bim9FO5p.js} +2 -2
- package/dist/{vue-ui-dashboard-D3-z2poA.cjs → vue-ui-dashboard-BlMkdmJG.cjs} +1 -1
- package/dist/{vue-ui-dashboard-j5IuBHiv.js → vue-ui-dashboard-q2N-lR5R.js} +2 -2
- package/dist/{vue-ui-digits-CD5-WopZ.cjs → vue-ui-digits-BxsLTjn3.cjs} +1 -1
- package/dist/{vue-ui-digits-BRMuUzSA.js → vue-ui-digits-Cs5S9-t4.js} +2 -2
- package/dist/{vue-ui-donut-Dq1F2vBg.cjs → vue-ui-donut-CHAu83aL.cjs} +1 -1
- package/dist/{vue-ui-donut-CdVSree_.js → vue-ui-donut-CsK4bhU9.js} +12 -12
- package/dist/{vue-ui-donut-evolution-BQ7-rOnh.cjs → vue-ui-donut-evolution-DIgg0r1H.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DzrJwccW.js → vue-ui-donut-evolution-DRIjATMj.js} +11 -11
- package/dist/{vue-ui-dumbbell-DSdwbWLI.cjs → vue-ui-dumbbell-Dnd5xBoE.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DuCdZc41.js → vue-ui-dumbbell-RqWpXNMb.js} +10 -10
- package/dist/{vue-ui-flow-D_UgsB9t.cjs → vue-ui-flow-DLkZ_RPK.cjs} +1 -1
- package/dist/{vue-ui-flow-CYpiRQ_u.js → vue-ui-flow-Wl9BdRET.js} +9 -9
- package/dist/{vue-ui-funnel-6q79enxr.js → vue-ui-funnel-BtEiPtWV.js} +9 -9
- package/dist/{vue-ui-funnel-Dr4ssgIM.cjs → vue-ui-funnel-C9kqSvdp.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BGxIGzn8.cjs → vue-ui-galaxy-DuHBx10N.cjs} +1 -1
- package/dist/{vue-ui-galaxy-Bg-3xnWe.js → vue-ui-galaxy-Dy0szrMW.js} +11 -11
- package/dist/{vue-ui-gauge-DGt25KK7.cjs → vue-ui-gauge-BHTXAsP3.cjs} +1 -1
- package/dist/{vue-ui-gauge-Cwhlraja.js → vue-ui-gauge-Bl5tGVHq.js} +7 -7
- package/dist/{vue-ui-gizmo-C0024J7B.cjs → vue-ui-gizmo-C4BrHDh4.cjs} +1 -1
- package/dist/{vue-ui-gizmo-VRONxCxp.js → vue-ui-gizmo-DMyPBBMU.js} +3 -3
- package/dist/{vue-ui-heatmap-ay3NAawN.js → vue-ui-heatmap-TlpTNG5t.js} +10 -10
- package/dist/{vue-ui-heatmap-CTwazjkR.cjs → vue-ui-heatmap-sFIr2K5p.cjs} +1 -1
- package/dist/{vue-ui-history-plot-B_IHuJff.cjs → vue-ui-history-plot-DAjdzGlR.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BQ_2NZVm.js → vue-ui-history-plot-Dy1j0BxQ.js} +11 -11
- package/dist/{vue-ui-kpi-BGSgE7Ck.js → vue-ui-kpi-BcmSRMqx.js} +3 -3
- package/dist/{vue-ui-kpi-BtHmGmj6.cjs → vue-ui-kpi-ujEXx77P.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DyRqUv0j.js → vue-ui-mini-loader-CjnStv_v.js} +2 -2
- package/dist/{vue-ui-mini-loader-Bwe3_hqy.cjs → vue-ui-mini-loader-DAPA-14x.cjs} +1 -1
- package/dist/vue-ui-molecule-DR0XoKl0.cjs +1 -0
- package/dist/vue-ui-molecule-JFJY9rsO.js +755 -0
- package/dist/{vue-ui-mood-radar-BxFd74g3.cjs → vue-ui-mood-radar-BaysMegc.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DAYJLwXw.js → vue-ui-mood-radar-COoBSKNH.js} +11 -11
- package/dist/{vue-ui-nested-donuts-r67jsUHC.js → vue-ui-nested-donuts-CtFedcCD.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DP_cQ0OI.cjs → vue-ui-nested-donuts-DYBuISa1.cjs} +1 -1
- package/dist/{vue-ui-onion-C-d1e3w2.js → vue-ui-onion-CEUV1mny.js} +11 -11
- package/dist/{vue-ui-onion-CR4UoiPQ.cjs → vue-ui-onion-D6ZwBWQg.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DVltec37.cjs → vue-ui-parallel-coordinate-plot-BxNT4su_.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-FRhJ4mby.js → vue-ui-parallel-coordinate-plot-DYTDHl62.js} +12 -12
- package/dist/{vue-ui-quadrant-BKWD8HER.js → vue-ui-quadrant-Bgw63sh8.js} +12 -12
- package/dist/{vue-ui-quadrant-D-vSAn7m.cjs → vue-ui-quadrant-j31KXFQl.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-Cy3FCnd-.js → vue-ui-quick-chart-DQQj-yff.js} +9 -9
- package/dist/{vue-ui-quick-chart-Bbcex3jc.cjs → vue-ui-quick-chart-oEQhbqjr.cjs} +1 -1
- package/dist/{vue-ui-radar-BHCghGVU.cjs → vue-ui-radar-C5pUYB_x.cjs} +1 -1
- package/dist/{vue-ui-radar-BX_7Ngn_.js → vue-ui-radar-D8z1eA3O.js} +12 -12
- package/dist/{vue-ui-rating-CM6YiPW3.js → vue-ui-rating-CEIibBYU.js} +2 -2
- package/dist/{vue-ui-rating-JhzvmHjC.cjs → vue-ui-rating-CGh8TQ5M.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BPhcc_fN.cjs → vue-ui-relation-circle-Bf6kjYWL.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-JTWFex69.js → vue-ui-relation-circle-BrIe8bZU.js} +7 -7
- package/dist/{vue-ui-rings-NBAca-G8.js → vue-ui-rings-6l5DQ0_9.js} +12 -12
- package/dist/{vue-ui-rings-CzXIKikH.cjs → vue-ui-rings-BmSQzToz.cjs} +1 -1
- package/dist/{vue-ui-scatter-5SJ4F605.js → vue-ui-scatter-0geSLTUp.js} +12 -12
- package/dist/{vue-ui-scatter-DCunyG-E.cjs → vue-ui-scatter-g67ClUSv.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DPm6Bpiq.js → vue-ui-screenshot-CshpwrmO.js} +1 -1
- package/dist/{vue-ui-screenshot-q3DSJ00h.cjs → vue-ui-screenshot-r5tJCW0O.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BhHXiz99.js → vue-ui-skeleton-Bn49rVXa.js} +3 -3
- package/dist/{vue-ui-skeleton-D7S6OsSN.cjs → vue-ui-skeleton-D7ijXB6x.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cb8d713r.js → vue-ui-smiley-CzAtJD1G.js} +2 -2
- package/dist/{vue-ui-smiley-CQE1dvvV.cjs → vue-ui-smiley-HofydNoz.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BVNEGhp9.js → vue-ui-spark-trend-B70DhKVg.js} +5 -5
- package/dist/{vue-ui-spark-trend-7Bo9O1fQ.cjs → vue-ui-spark-trend-CdTdbj6x.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BbOu_w63.js → vue-ui-sparkbar-CZ8Nw4fl.js} +4 -4
- package/dist/{vue-ui-sparkbar-qAaHy4or.cjs → vue-ui-sparkbar-cJ7Wu051.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-ddRVuzSQ.cjs → vue-ui-sparkgauge-BWNkoMqk.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BwNM15jl.js → vue-ui-sparkgauge-D-VwonfZ.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DhJ72P8O.js → vue-ui-sparkhistogram-BK58LMOs.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-C8E73uuw.cjs → vue-ui-sparkhistogram-hBwVKdOS.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C6wkmXa0.cjs → vue-ui-sparkline-BD4gkpj_.cjs} +1 -1
- package/dist/{vue-ui-sparkline-m3nNPKwo.js → vue-ui-sparkline-DORXFea9.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-B71Vue4E.js → vue-ui-sparkstackbar-CNu5TNGE.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CJyCwn7x.cjs → vue-ui-sparkstackbar-ClcY4WWe.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CL7KXBrn.js → vue-ui-stackbar--aCaS5x2.js} +13 -13
- package/dist/{vue-ui-stackbar-6W0SjyLd.cjs → vue-ui-stackbar-CkMwpXvU.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-D10qNzJu.cjs → vue-ui-strip-plot-BiFHgg1S.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-T99zioSX.js → vue-ui-strip-plot-CFVbMS6X.js} +11 -11
- package/dist/{vue-ui-table-CCrE_Qnd.js → vue-ui-table-B_3Ilpbe.js} +1 -1
- package/dist/{vue-ui-table-Cva4CGRJ.cjs → vue-ui-table-DR255TsX.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CQbPKFW_.js → vue-ui-table-heatmap-BNxAz0s0.js} +4 -4
- package/dist/{vue-ui-table-heatmap-GOsIhgPo.cjs → vue-ui-table-heatmap-GUBFCD5M.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-AIunqOTn.cjs → vue-ui-table-sparkline-B4tLXnLP.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CHtZhhn6.js → vue-ui-table-sparkline-DSOduMZf.js} +5 -5
- package/dist/{vue-ui-thermometer-CGAA0bAU.cjs → vue-ui-thermometer-D4xuEt1d.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CCVPdXye.js → vue-ui-thermometer-DmM-HnTb.js} +7 -7
- package/dist/{vue-ui-timer-C3detaHT.cjs → vue-ui-timer-CRvBgkAk.cjs} +1 -1
- package/dist/{vue-ui-timer-Djxb8XuU.js → vue-ui-timer-Cv3Nx66b.js} +5 -5
- package/dist/{vue-ui-tiremarks-DExuaGwV.js → vue-ui-tiremarks-ASWxcVYt.js} +7 -7
- package/dist/{vue-ui-tiremarks-D-xQKhur.cjs → vue-ui-tiremarks-BCm4J3AS.cjs} +1 -1
- package/dist/{vue-ui-treemap-Dnn29Qdu.js → vue-ui-treemap-DkTT9Fpa.js} +12 -12
- package/dist/{vue-ui-treemap-BXWbdL3o.cjs → vue-ui-treemap-K-I2E3e-.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-B9-cwCz2.js → vue-ui-vertical-bar-CKAyFHu9.js} +12 -12
- package/dist/{vue-ui-vertical-bar-3V-J4-Qp.cjs → vue-ui-vertical-bar-CYsYkq04.cjs} +1 -1
- package/dist/{vue-ui-waffle-BH4NkBmK.js → vue-ui-waffle-DA1_yNZ7.js} +12 -12
- package/dist/{vue-ui-waffle-by6o3KnD.cjs → vue-ui-waffle-WHpYY_yA.cjs} +1 -1
- package/dist/{vue-ui-wheel-DWNHihoO.cjs → vue-ui-wheel-CWY3hkRC.cjs} +1 -1
- package/dist/{vue-ui-wheel-D2BqDvNB.js → vue-ui-wheel-vebQiYtM.js} +7 -7
- package/dist/vue-ui-word-cloud-CABqCfl5.js +571 -0
- package/dist/vue-ui-word-cloud-H7016Zdi.cjs +1 -0
- package/dist/{vue-ui-xy-CuLfvdAU.js → vue-ui-xy-C2OQ78CJ.js} +14 -14
- package/dist/{vue-ui-xy-luOYkYWO.cjs → vue-ui-xy-CrCJrk6u.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-bysKB96p.cjs → vue-ui-xy-canvas-D5iPJqoe.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-BK3C3PqR.js → vue-ui-xy-canvas-DvZgi7HV.js} +12 -12
- package/package.json +2 -2
- package/dist/vue-ui-molecule-Cy_P0hK2.cjs +0 -1
- package/dist/vue-ui-molecule-gJVbPM60.js +0 -830
- package/dist/vue-ui-word-cloud-Bpyn_t-K.js +0 -646
- package/dist/vue-ui-word-cloud-DvXgJCIv.cjs +0 -1
|
@@ -1155,7 +1155,12 @@ declare module "vue-data-ui" {
|
|
|
1155
1155
|
| "home"
|
|
1156
1156
|
| "homeFilled"
|
|
1157
1157
|
| "icons"
|
|
1158
|
-
| "robot"
|
|
1158
|
+
| "robot"
|
|
1159
|
+
| "hourglass"
|
|
1160
|
+
| "computer"
|
|
1161
|
+
| "htmlTag"
|
|
1162
|
+
| "curlyBrackets"
|
|
1163
|
+
| "curlySpread";
|
|
1159
1164
|
|
|
1160
1165
|
export const VueUiIcon: DefineComponent<{
|
|
1161
1166
|
name: VueUiIconName;
|
|
@@ -6878,6 +6883,38 @@ declare module "vue-data-ui" {
|
|
|
6878
6883
|
| ((word: string) => string)
|
|
6879
6884
|
| null;
|
|
6880
6885
|
|
|
6886
|
+
|
|
6887
|
+
export type Point = {
|
|
6888
|
+
[key: string]: any
|
|
6889
|
+
x: number
|
|
6890
|
+
y: number
|
|
6891
|
+
}
|
|
6892
|
+
|
|
6893
|
+
/**
|
|
6894
|
+
* Vue Data UI utility
|
|
6895
|
+
* ---
|
|
6896
|
+
* Generate a straight line path to include in the d attribute of a svg path element
|
|
6897
|
+
* ___
|
|
6898
|
+
* @example
|
|
6899
|
+
* const path = createStraightPath([{x: 1, y: 1}, { x: 2, y: 1.2}])
|
|
6900
|
+
*
|
|
6901
|
+
* @param points - An array of point objects
|
|
6902
|
+
*/
|
|
6903
|
+
export const createStraightPath: (points: Point[]) => string
|
|
6904
|
+
|
|
6905
|
+
/**
|
|
6906
|
+
* Vue Data UI utility
|
|
6907
|
+
* ---
|
|
6908
|
+
* Generate a spline path to include in the d attribute of a svg path element
|
|
6909
|
+
* ___
|
|
6910
|
+
* @example
|
|
6911
|
+
* const path = createSmoothPath([{x: 1, y: 1}, { x: 2, y: 1.2}, { x: 3, y: 0.2 }])
|
|
6912
|
+
*
|
|
6913
|
+
* @param points - An array of point objects
|
|
6914
|
+
*/
|
|
6915
|
+
export const createSmoothPath: (points: Point[]) => string
|
|
6916
|
+
|
|
6917
|
+
|
|
6881
6918
|
/**
|
|
6882
6919
|
* Vue Data UI utility
|
|
6883
6920
|
* ---
|
|
@@ -1155,7 +1155,12 @@ declare module "vue-data-ui" {
|
|
|
1155
1155
|
| "home"
|
|
1156
1156
|
| "homeFilled"
|
|
1157
1157
|
| "icons"
|
|
1158
|
-
| "robot"
|
|
1158
|
+
| "robot"
|
|
1159
|
+
| "hourglass"
|
|
1160
|
+
| "computer"
|
|
1161
|
+
| "htmlTag"
|
|
1162
|
+
| "curlyBrackets"
|
|
1163
|
+
| "curlySpread";
|
|
1159
1164
|
|
|
1160
1165
|
export const VueUiIcon: DefineComponent<{
|
|
1161
1166
|
name: VueUiIconName;
|
|
@@ -6878,6 +6883,38 @@ declare module "vue-data-ui" {
|
|
|
6878
6883
|
| ((word: string) => string)
|
|
6879
6884
|
| null;
|
|
6880
6885
|
|
|
6886
|
+
|
|
6887
|
+
export type Point = {
|
|
6888
|
+
[key: string]: any
|
|
6889
|
+
x: number
|
|
6890
|
+
y: number
|
|
6891
|
+
}
|
|
6892
|
+
|
|
6893
|
+
/**
|
|
6894
|
+
* Vue Data UI utility
|
|
6895
|
+
* ---
|
|
6896
|
+
* Generate a straight line path to include in the d attribute of a svg path element
|
|
6897
|
+
* ___
|
|
6898
|
+
* @example
|
|
6899
|
+
* const path = createStraightPath([{x: 1, y: 1}, { x: 2, y: 1.2}])
|
|
6900
|
+
*
|
|
6901
|
+
* @param points - An array of point objects
|
|
6902
|
+
*/
|
|
6903
|
+
export const createStraightPath: (points: Point[]) => string
|
|
6904
|
+
|
|
6905
|
+
/**
|
|
6906
|
+
* Vue Data UI utility
|
|
6907
|
+
* ---
|
|
6908
|
+
* Generate a spline path to include in the d attribute of a svg path element
|
|
6909
|
+
* ___
|
|
6910
|
+
* @example
|
|
6911
|
+
* const path = createSmoothPath([{x: 1, y: 1}, { x: 2, y: 1.2}, { x: 3, y: 0.2 }])
|
|
6912
|
+
*
|
|
6913
|
+
* @param points - An array of point objects
|
|
6914
|
+
*/
|
|
6915
|
+
export const createSmoothPath: (points: Point[]) => string
|
|
6916
|
+
|
|
6917
|
+
|
|
6881
6918
|
/**
|
|
6882
6919
|
* Vue Data UI utility
|
|
6883
6920
|
* ---
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-C4TeRZvT.cjs");function o({defaultConfig:e,userConfig:t}){if(!Object.keys(t||{}).length)return e;const n=r.treeShake({defaultConfig:e,userConfig:t});return r.convertConfigColors(n)}exports.useNestedProp=o;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ref as h, onMounted as k, onUnmounted as q, watchEffect as C } from "vue";
|
|
2
|
+
function Y(x, S = { x: 0, y: 0, width: 100, height: 100 }, b = 1, z) {
|
|
3
|
+
const a = h({ ...S }), i = h(1), y = h(!1), l = h({ x: 0, y: 0 });
|
|
4
|
+
let u = { x: 0, y: 0 }, E = null, c = null;
|
|
5
|
+
function v(e) {
|
|
6
|
+
var s;
|
|
7
|
+
const t = x.value;
|
|
8
|
+
if (!t) return { x: 0, y: 0 };
|
|
9
|
+
const n = t.createSVGPoint();
|
|
10
|
+
n.x = e.clientX, n.y = e.clientY;
|
|
11
|
+
const o = (s = t.getScreenCTM()) == null ? void 0 : s.inverse();
|
|
12
|
+
return o ? n.matrixTransform(o) : { x: 0, y: 0 };
|
|
13
|
+
}
|
|
14
|
+
function m(e) {
|
|
15
|
+
y.value = !0;
|
|
16
|
+
const t = v(e.touches ? e.touches[0] : e);
|
|
17
|
+
l.value = { x: t.x, y: t.y }, u = { x: 0, y: 0 };
|
|
18
|
+
}
|
|
19
|
+
function d(e) {
|
|
20
|
+
if (!y.value) return;
|
|
21
|
+
const t = v(e.touches ? e.touches[0] : e);
|
|
22
|
+
let n = t.x - l.value.x, o = t.y - l.value.y;
|
|
23
|
+
Math.abs(n) < 0.3 && Math.abs(o) < 0.3 || (u.x = n * 0.8 + u.x * 0.2, u.y = o * 0.8 + u.y * 0.2, l.value = t, E || (E = requestAnimationFrame(A)));
|
|
24
|
+
}
|
|
25
|
+
function A() {
|
|
26
|
+
a.value.x -= u.x, a.value.y -= u.y, E = null;
|
|
27
|
+
}
|
|
28
|
+
function r() {
|
|
29
|
+
y.value = !1;
|
|
30
|
+
}
|
|
31
|
+
function w(e) {
|
|
32
|
+
e.preventDefault();
|
|
33
|
+
const t = e.deltaY > 0 ? 0.9 : 1.1;
|
|
34
|
+
P(t, v(e));
|
|
35
|
+
}
|
|
36
|
+
function g(e) {
|
|
37
|
+
e.preventDefault();
|
|
38
|
+
const t = v(e), n = 1.02 * (1 + b / 100);
|
|
39
|
+
D(n, t);
|
|
40
|
+
}
|
|
41
|
+
function D(e, t) {
|
|
42
|
+
c && cancelAnimationFrame(c);
|
|
43
|
+
let n = i.value, o = n * e, s = 0;
|
|
44
|
+
const f = () => {
|
|
45
|
+
s += 0.02;
|
|
46
|
+
let p = n + (o - n) * M(s);
|
|
47
|
+
if (s >= 1) {
|
|
48
|
+
i.value = o, c = null;
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
P(p / n, t), c = requestAnimationFrame(f);
|
|
52
|
+
};
|
|
53
|
+
f();
|
|
54
|
+
}
|
|
55
|
+
const M = (e) => e < 0.5 ? 2 * e * e : -1 + (4 - 2 * e) * e;
|
|
56
|
+
function P(e, t) {
|
|
57
|
+
const n = i.value * e, o = n / i.value, s = a.value.width / o, f = a.value.height / o, p = (t.x - a.value.x) * (1 - 1 / o), Z = (t.y - a.value.y) * (1 - 1 / o);
|
|
58
|
+
a.value.x += p, a.value.y += Z, a.value.width = s, a.value.height = f, i.value = n;
|
|
59
|
+
}
|
|
60
|
+
k(F), q(L);
|
|
61
|
+
function F() {
|
|
62
|
+
const e = x.value;
|
|
63
|
+
e && (e.addEventListener("mousedown", m), e.addEventListener("mousemove", d), e.addEventListener("mouseup", r), e.addEventListener("mouseleave", r), e.addEventListener("wheel", w, { passive: !1 }), e.addEventListener("dblclick", g), e.addEventListener("touchstart", (t) => {
|
|
64
|
+
t.preventDefault(), m(t);
|
|
65
|
+
}, { passive: !1 }), e.addEventListener("touchmove", (t) => {
|
|
66
|
+
t.preventDefault(), d(t);
|
|
67
|
+
}, { passive: !1 }), e.addEventListener("touchend", r));
|
|
68
|
+
}
|
|
69
|
+
function L() {
|
|
70
|
+
const e = x.value;
|
|
71
|
+
e && (e.removeEventListener("mousedown", m), e.removeEventListener("mousemove", d), e.removeEventListener("mouseup", r), e.removeEventListener("mouseleave", r), e.removeEventListener("wheel", w), e.removeEventListener("dblclick", g), e.removeEventListener("touchstart", m), e.removeEventListener("touchmove", d), e.removeEventListener("touchend", r));
|
|
72
|
+
}
|
|
73
|
+
return C(() => (z.value ? F() : L(), () => {
|
|
74
|
+
L();
|
|
75
|
+
})), { viewBox: a };
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
Y as u
|
|
79
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("vue");function k(x,S={x:0,y:0,width:100,height:100},b=1,Z){const a=r.ref({...S}),l=r.ref(1),y=r.ref(!1),c=r.ref({x:0,y:0});let u={x:0,y:0},E=null,v=null;function m(e){var s;const t=x.value;if(!t)return{x:0,y:0};const n=t.createSVGPoint();n.x=e.clientX,n.y=e.clientY;const o=(s=t.getScreenCTM())==null?void 0:s.inverse();return o?n.matrixTransform(o):{x:0,y:0}}function d(e){y.value=!0;const t=m(e.touches?e.touches[0]:e);c.value={x:t.x,y:t.y},u={x:0,y:0}}function f(e){if(!y.value)return;const t=m(e.touches?e.touches[0]:e);let n=t.x-c.value.x,o=t.y-c.value.y;Math.abs(n)<.3&&Math.abs(o)<.3||(u.x=n*.8+u.x*.2,u.y=o*.8+u.y*.2,c.value=t,E||(E=requestAnimationFrame(z)))}function z(){a.value.x-=u.x,a.value.y-=u.y,E=null}function i(){y.value=!1}function w(e){e.preventDefault();const t=e.deltaY>0?.9:1.1;P(t,m(e))}function g(e){e.preventDefault();const t=m(e),n=1.02*(1+b/100);A(n,t)}function A(e,t){v&&cancelAnimationFrame(v);let n=l.value,o=n*e,s=0;const h=()=>{s+=.02;let p=n+(o-n)*D(s);if(s>=1){l.value=o,v=null;return}P(p/n,t),v=requestAnimationFrame(h)};h()}const D=e=>e<.5?2*e*e:-1+(4-2*e)*e;function P(e,t){const n=l.value*e,o=n/l.value,s=a.value.width/o,h=a.value.height/o,p=(t.x-a.value.x)*(1-1/o),M=(t.y-a.value.y)*(1-1/o);a.value.x+=p,a.value.y+=M,a.value.width=s,a.value.height=h,l.value=n}r.onMounted(F),r.onUnmounted(L);function F(){const e=x.value;e&&(e.addEventListener("mousedown",d),e.addEventListener("mousemove",f),e.addEventListener("mouseup",i),e.addEventListener("mouseleave",i),e.addEventListener("wheel",w,{passive:!1}),e.addEventListener("dblclick",g),e.addEventListener("touchstart",t=>{t.preventDefault(),d(t)},{passive:!1}),e.addEventListener("touchmove",t=>{t.preventDefault(),f(t)},{passive:!1}),e.addEventListener("touchend",i))}function L(){const e=x.value;e&&(e.removeEventListener("mousedown",d),e.removeEventListener("mousemove",f),e.removeEventListener("mouseup",i),e.removeEventListener("mouseleave",i),e.removeEventListener("wheel",w),e.removeEventListener("dblclick",g),e.removeEventListener("touchstart",d),e.removeEventListener("touchmove",f),e.removeEventListener("touchend",i))}return r.watchEffect(()=>(Z.value?F():L(),()=>{L()})),{viewBox:a}}exports.usePanZoom=k;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as b, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as Y, createElementBlock as i, openBlock as t, normalizeStyle as d, createElementVNode as V, withKeys as Z, withModifiers as p, renderSlot as c, normalizeProps as E, guardReactiveProps as _, createVNode as ee, normalizeClass as y, createCommentVNode as u, Fragment as h, createBlock as f, toDisplayString as $, mergeProps as P, unref as te } from "vue";
|
|
2
|
-
import a from "./BaseIcon-
|
|
2
|
+
import a from "./BaseIcon-ZZc7VY8d.js";
|
|
3
3
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const ne = {
|
|
5
5
|
beforeMount(e, C) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./BaseIcon-DoqpR480.cjs"),D=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A={beforeMount(t,k){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||k.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},L=["title"],w=["data-open"],X={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:"right"},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:k}){const s=t,r=k;function d(){r("generatePdf")}function m(){r("generateCsv")}function v(){r("generateImage")}const g=e.ref(!1);function B(){g.value=!g.value,r("toggleTable")}const u=e.ref(!1),M=e.ref(!0);function h(){c.value=window.innerWidth>600,u.value=!u.value,u.value&&(M.value=!1)}function T(){s.isPrinting||s.isImaging||(u.value=!1)}function F(){u.value&&T()}const C=e.ref(s.isLabelActive);function I(){C.value=!C.value,r("toggleLabels")}const b=e.ref(s.isAnimation);function E(){b.value=!b.value,r("toggleAnimation")}const y=e.computed({get:()=>s.isAnnotation,set:l=>l});function z(){y.value=!y.value,r("toggleAnnotator")}function P(){r("toggleSort")}const $=e.ref(s.isStacked);function p(){$.value=!$.value,r("toggleStack")}const S=e.ref(s.isTooltip);function O(){S.value=!S.value,r("toggleTooltip")}const f=e.ref(!1);function N(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),r("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),r("toggleFullscreen",!1)))}function V(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",V)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",V)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:u.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(h,["stop"]),onKeypress:e.withKeys(h,["enter"])},[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:u.value,color:t.color})),()=>[e.createVNode(a.default,{name:u.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],!0)],44,L),e.createElementVNode("div",{"data-open":u.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:O,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[S.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:m,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:B,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:C.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>N(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:N,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:E},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:E,isAnimated:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:z},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:z,isAnnotator:y.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[y.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),y.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,w)],4)),[[e.unref(A),F]])}},q=D._export_sfc(X,[["__scopeId","data-v-0926bd71"]]);function U({elementId:t,fileName:k,canPrint:s=!0,options:r}){const d=e.ref(!1),m=e.ref(!1),v=e.ref(null);async function g(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:u}=await Promise.resolve().then(()=>require("./pdf-BpXLKlRx.cjs"));await u({domElement:document.getElementById(t),fileName:k,options:r})}catch(u){console.error("Error generating PDF:",u)}finally{d.value=!1}},100))}async function B(){!s||m.value||(m.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:u}=await Promise.resolve().then(()=>require("./img-D6uvziU0.cjs"));await u({domElement:document.getElementById(t),fileName:k,format:"png",options:r})}catch(u){console.error("Error generating image:",u)}finally{m.value=!1}},100))}return{generatePdf:g,generateImage:B,isPrinting:d,isImaging:m}}exports.UserOptions=q;exports.usePrinter=U;exports.vClickOutside=A;
|
|
1
|
+
"use strict";const e=require("vue"),a=require("./BaseIcon-D6QkKJpU.cjs"),D=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A={beforeMount(t,k){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||k.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},L=["title"],w=["data-open"],X={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:"right"},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:k}){const s=t,r=k;function d(){r("generatePdf")}function m(){r("generateCsv")}function v(){r("generateImage")}const g=e.ref(!1);function B(){g.value=!g.value,r("toggleTable")}const u=e.ref(!1),M=e.ref(!0);function h(){c.value=window.innerWidth>600,u.value=!u.value,u.value&&(M.value=!1)}function T(){s.isPrinting||s.isImaging||(u.value=!1)}function F(){u.value&&T()}const C=e.ref(s.isLabelActive);function I(){C.value=!C.value,r("toggleLabels")}const b=e.ref(s.isAnimation);function E(){b.value=!b.value,r("toggleAnimation")}const y=e.computed({get:()=>s.isAnnotation,set:l=>l});function z(){y.value=!y.value,r("toggleAnnotator")}function P(){r("toggleSort")}const $=e.ref(s.isStacked);function p(){$.value=!$.value,r("toggleStack")}const S=e.ref(s.isTooltip);function O(){S.value=!S.value,r("toggleTooltip")}const f=e.ref(!1);function N(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),r("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),r("toggleFullscreen",!1)))}function V(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",V)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",V)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:u.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(h,["stop"]),onKeypress:e.withKeys(h,["enter"])},[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:u.value,color:t.color})),()=>[e.createVNode(a.default,{name:u.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],!0)],44,L),e.createElementVNode("div",{"data-open":u.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:O,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[S.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:m,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:B,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:C.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>N(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:N,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:E},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:E,isAnimated:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:z},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:z,isAnnotator:y.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[y.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),y.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,w)],4)),[[e.unref(A),F]])}},q=D._export_sfc(X,[["__scopeId","data-v-0926bd71"]]);function U({elementId:t,fileName:k,canPrint:s=!0,options:r}){const d=e.ref(!1),m=e.ref(!1),v=e.ref(null);async function g(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:u}=await Promise.resolve().then(()=>require("./pdf-BpXLKlRx.cjs"));await u({domElement:document.getElementById(t),fileName:k,options:r})}catch(u){console.error("Error generating PDF:",u)}finally{d.value=!1}},100))}async function B(){!s||m.value||(m.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:u}=await Promise.resolve().then(()=>require("./img-D6uvziU0.cjs"));await u({domElement:document.getElementById(t),fileName:k,format:"png",options:r})}catch(u){console.error("Error generating image:",u)}finally{m.value=!1}},100))}return{generatePdf:g,generateImage:B,isPrinting:d,isImaging:m}}exports.UserOptions=q;exports.usePrinter=U;exports.vClickOutside=A;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as tt, defineAsyncComponent as e, computed as s, ref as o, onMounted as et, watch as M, shallowReactive as ot, createElementBlock as it, createBlock as m, openBlock as c, normalizeStyle as at, createElementVNode as nt, createTextVNode as rt, createCommentVNode as $, toDisplayString as lt, resolveDynamicComponent as ut, mergeProps as st, toHandlers as ct, createSlots as gt, renderList as pt, withCtx as mt, renderSlot as dt, normalizeProps as Vt, guardReactiveProps as Ut } from "vue";
|
|
2
|
-
import W from "./BaseIcon-
|
|
2
|
+
import W from "./BaseIcon-ZZc7VY8d.js";
|
|
3
3
|
const ft = { style: { width: "36px" } }, ht = {
|
|
4
4
|
__name: "vue-data-ui",
|
|
5
5
|
props: {
|
|
@@ -34,66 +34,66 @@ const ft = { style: { width: "36px" } }, ht = {
|
|
|
34
34
|
],
|
|
35
35
|
setup(X, { expose: Q, emit: j }) {
|
|
36
36
|
const n = X, { component: vt, dataset: z, config: K } = tt(n), g = {
|
|
37
|
-
VueUi3dBar: e(() => import("./vue-ui-3d-bar-
|
|
38
|
-
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-
|
|
39
|
-
VueUiAnnotator: e(() => import("./vue-ui-annotator-
|
|
40
|
-
VueUiCandlestick: e(() => import("./vue-ui-candlestick-
|
|
41
|
-
VueUiChestnut: e(() => import("./vue-ui-chestnut-
|
|
42
|
-
VueUiDashboard: e(() => import("./vue-ui-dashboard-
|
|
43
|
-
VueUiDigits: e(() => import("./vue-ui-digits-
|
|
44
|
-
VueUiDonut: e(() => import("./vue-ui-donut-
|
|
45
|
-
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-
|
|
46
|
-
VueUiGalaxy: e(() => import("./vue-ui-galaxy-
|
|
47
|
-
VueUiGauge: e(() => import("./vue-ui-gauge-
|
|
48
|
-
VueUiHeatmap: e(() => import("./vue-ui-heatmap-
|
|
49
|
-
VueUiKpi: e(() => import("./vue-ui-kpi-
|
|
50
|
-
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-
|
|
51
|
-
VueUiMolecule: e(() => import("./vue-ui-molecule-
|
|
52
|
-
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-
|
|
53
|
-
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-
|
|
54
|
-
VueUiOnion: e(() => import("./vue-ui-onion-
|
|
55
|
-
VueUiQuadrant: e(() => import("./vue-ui-quadrant-
|
|
56
|
-
VueUiRadar: e(() => import("./vue-ui-radar-
|
|
57
|
-
VueUiRating: e(() => import("./vue-ui-rating-
|
|
58
|
-
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-
|
|
59
|
-
VueUiRings: e(() => import("./vue-ui-rings-
|
|
60
|
-
VueUiScatter: e(() => import("./vue-ui-scatter-
|
|
61
|
-
VueUiScreenshot: e(() => import("./vue-ui-screenshot-
|
|
62
|
-
VueUiSkeleton: e(() => import("./vue-ui-skeleton-
|
|
63
|
-
VueUiSmiley: e(() => import("./vue-ui-smiley-
|
|
64
|
-
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-
|
|
65
|
-
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-
|
|
66
|
-
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-
|
|
67
|
-
VueUiSparkline: e(() => import("./vue-ui-sparkline-
|
|
68
|
-
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-
|
|
69
|
-
VueUiTable: e(() => import("./vue-ui-table-
|
|
70
|
-
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-
|
|
71
|
-
VueUiThermometer: e(() => import("./vue-ui-thermometer-
|
|
72
|
-
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-
|
|
73
|
-
VueUiTreemap: e(() => import("./vue-ui-treemap-
|
|
74
|
-
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-
|
|
75
|
-
VueUiWaffle: e(() => import("./vue-ui-waffle-
|
|
76
|
-
VueUiWheel: e(() => import("./vue-ui-wheel-
|
|
77
|
-
VueUiXy: e(() => import("./vue-ui-xy-
|
|
78
|
-
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-
|
|
79
|
-
VueUiAccordion: e(() => import("./vue-ui-accordion-
|
|
80
|
-
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-
|
|
81
|
-
VueUiCursor: e(() => import("./vue-ui-cursor-
|
|
82
|
-
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-
|
|
83
|
-
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-
|
|
84
|
-
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-
|
|
85
|
-
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-
|
|
86
|
-
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-
|
|
87
|
-
VueUiFlow: e(() => import("./vue-ui-flow-
|
|
88
|
-
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-
|
|
89
|
-
VueUiTimer: e(() => import("./vue-ui-timer-
|
|
90
|
-
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-
|
|
91
|
-
VueUiGizmo: e(() => import("./vue-ui-gizmo-
|
|
92
|
-
VueUiStackbar: e(() => import("./vue-ui-stackbar
|
|
93
|
-
VueUiBullet: e(() => import("./vue-ui-bullet-
|
|
94
|
-
VueUiFunnel: e(() => import("./vue-ui-funnel-
|
|
95
|
-
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-
|
|
96
|
-
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-
|
|
37
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-CtOPLOD3.js")),
|
|
38
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-hyVqCFgO.js")),
|
|
39
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-Qn0uc5GZ.js")),
|
|
40
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-B2jTfGz7.js")),
|
|
41
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-Dr3sUQIO.js")),
|
|
42
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-q2N-lR5R.js")),
|
|
43
|
+
VueUiDigits: e(() => import("./vue-ui-digits-Cs5S9-t4.js")),
|
|
44
|
+
VueUiDonut: e(() => import("./vue-ui-donut-CsK4bhU9.js")),
|
|
45
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-DRIjATMj.js")),
|
|
46
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-Dy0szrMW.js")),
|
|
47
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-Bl5tGVHq.js")),
|
|
48
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-TlpTNG5t.js")),
|
|
49
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-BcmSRMqx.js")),
|
|
50
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-CjnStv_v.js")),
|
|
51
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-JFJY9rsO.js")),
|
|
52
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-COoBSKNH.js")),
|
|
53
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-CtFedcCD.js")),
|
|
54
|
+
VueUiOnion: e(() => import("./vue-ui-onion-CEUV1mny.js")),
|
|
55
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-Bgw63sh8.js")),
|
|
56
|
+
VueUiRadar: e(() => import("./vue-ui-radar-D8z1eA3O.js")),
|
|
57
|
+
VueUiRating: e(() => import("./vue-ui-rating-CEIibBYU.js")),
|
|
58
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-BrIe8bZU.js")),
|
|
59
|
+
VueUiRings: e(() => import("./vue-ui-rings-6l5DQ0_9.js")),
|
|
60
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-0geSLTUp.js")),
|
|
61
|
+
VueUiScreenshot: e(() => import("./vue-ui-screenshot-CshpwrmO.js")),
|
|
62
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-Bn49rVXa.js")),
|
|
63
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-CzAtJD1G.js")),
|
|
64
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-CZ8Nw4fl.js")),
|
|
65
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-D-VwonfZ.js")),
|
|
66
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-BK58LMOs.js")),
|
|
67
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-DORXFea9.js")),
|
|
68
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-CNu5TNGE.js")),
|
|
69
|
+
VueUiTable: e(() => import("./vue-ui-table-B_3Ilpbe.js")),
|
|
70
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-DSOduMZf.js")),
|
|
71
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-DmM-HnTb.js")),
|
|
72
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-ASWxcVYt.js")),
|
|
73
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-DkTT9Fpa.js")),
|
|
74
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-CKAyFHu9.js")),
|
|
75
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-DA1_yNZ7.js")),
|
|
76
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-vebQiYtM.js")),
|
|
77
|
+
VueUiXy: e(() => import("./vue-ui-xy-C2OQ78CJ.js")),
|
|
78
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-BNxAz0s0.js")),
|
|
79
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-Bk2aYAD-.js")),
|
|
80
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-DQQj-yff.js")),
|
|
81
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-Bim9FO5p.js")),
|
|
82
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-B70DhKVg.js")),
|
|
83
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-CFVbMS6X.js")),
|
|
84
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-RqWpXNMb.js")),
|
|
85
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-CABqCfl5.js")),
|
|
86
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-DvZgi7HV.js")),
|
|
87
|
+
VueUiFlow: e(() => import("./vue-ui-flow-Wl9BdRET.js")),
|
|
88
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-DYTDHl62.js")),
|
|
89
|
+
VueUiTimer: e(() => import("./vue-ui-timer-Cv3Nx66b.js")),
|
|
90
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-Cy39XJq8.js")),
|
|
91
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-DMyPBBMU.js")),
|
|
92
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar--aCaS5x2.js")),
|
|
93
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-CrWBMd4n.js")),
|
|
94
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-BtEiPtWV.js")),
|
|
95
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-Dy1j0BxQ.js")),
|
|
96
|
+
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-C8lFd9HI.js"))
|
|
97
97
|
}, q = {
|
|
98
98
|
VueUi3dBar: ["config", "dataset"],
|
|
99
99
|
VueUiAgePyramid: ["config", "dataset"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./BaseIcon-DoqpR480.cjs"),K={style:{width:"36px"}},Y={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(E,{expose:O,emit:_}){const i=E,{component:J,dataset:M,config:G}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-D7_7INdZ.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-C-5yJnWs.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-yLvZcOQb.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-CVM-Yvvm.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-CeYVXtyW.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-D3-z2poA.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-CD5-WopZ.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-Dq1F2vBg.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-BQ7-rOnh.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-BGxIGzn8.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-DGt25KK7.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-CTwazjkR.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-BtHmGmj6.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-Bwe3_hqy.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-Cy_P0hK2.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-BxFd74g3.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-DP_cQ0OI.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-CR4UoiPQ.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-D-vSAn7m.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-BHCghGVU.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-JhzvmHjC.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-BPhcc_fN.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-CzXIKikH.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-DCunyG-E.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-q3DSJ00h.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-D7S6OsSN.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-CQE1dvvV.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-qAaHy4or.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-ddRVuzSQ.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-C8E73uuw.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-C6wkmXa0.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CJyCwn7x.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-Cva4CGRJ.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-AIunqOTn.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-CGAA0bAU.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-D-xQKhur.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BXWbdL3o.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-3V-J4-Qp.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-by6o3KnD.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-DWNHihoO.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-luOYkYWO.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-GOsIhgPo.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-ChxVn9CH.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-Bbcex3jc.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-DE4hlTca.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-7Bo9O1fQ.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-D10qNzJu.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-DSdwbWLI.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-DvXgJCIv.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-bysKB96p.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-D_UgsB9t.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-DVltec37.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-C3detaHT.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-BGPWwg3x.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-C0024J7B.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-6W0SjyLd.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-BVmbUAYh.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-Dr4ssgIM.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-B_IHuJff.cjs"))),VueUiCirclePack:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-circle-pack-pbnF0Jb7.cjs")))},$={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"],VueUiCirclePack:["config","dataset"]},W=_,c=e.computed(()=>!l[i.component]),X=e.computed(()=>l[i.component]||null),o=e.ref(null),j=e.computed(()=>{const t=$[i.component]||[],n={};return t.includes("config")&&(n.config=G.value),t.includes("dataset")&&(n.dataset=M.value),n}),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),C=e.ref(()=>null),A=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),k=e.ref(()=>null),S=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),I=e.ref(()=>null),N=e.ref(()=>null),x=e.ref(()=>null),F=e.ref(()=>null),H=e.ref(()=>null);e.onMounted(()=>{c.value&&console.error(`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./BaseIcon-D6QkKJpU.cjs"),K={style:{width:"36px"}},Y={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(E,{expose:O,emit:_}){const i=E,{component:J,dataset:M,config:G}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-M3DFCjSK.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-CR9x-PgJ.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-BXHTI64K.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-DUZlc7tm.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-CAEZuh12.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-BlMkdmJG.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-BxsLTjn3.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-CHAu83aL.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-DIgg0r1H.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-DuHBx10N.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-BHTXAsP3.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-sFIr2K5p.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-ujEXx77P.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-DAPA-14x.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-DR0XoKl0.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-BaysMegc.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-DYBuISa1.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-D6ZwBWQg.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-j31KXFQl.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-C5pUYB_x.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-CGh8TQ5M.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-Bf6kjYWL.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-BmSQzToz.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-g67ClUSv.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-r5tJCW0O.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-D7ijXB6x.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-HofydNoz.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-cJ7Wu051.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-BWNkoMqk.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-hBwVKdOS.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-BD4gkpj_.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-ClcY4WWe.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-DR255TsX.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-B4tLXnLP.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-D4xuEt1d.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-BCm4J3AS.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-K-I2E3e-.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-CYsYkq04.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-WHpYY_yA.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-CWY3hkRC.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-CrCJrk6u.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-GUBFCD5M.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-BIbie2vw.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-oEQhbqjr.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-B4KSNGDd.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-CdTdbj6x.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-BiFHgg1S.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-Dnd5xBoE.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-H7016Zdi.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-D5iPJqoe.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-DLkZ_RPK.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-BxNT4su_.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-CRvBgkAk.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-3QViQ5Bi.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-C4BrHDh4.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-CkMwpXvU.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-DM6lx30F.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-C9kqSvdp.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-DAjdzGlR.cjs"))),VueUiCirclePack:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-circle-pack-DNSLbFV_.cjs")))},$={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"],VueUiCirclePack:["config","dataset"]},W=_,c=e.computed(()=>!l[i.component]),X=e.computed(()=>l[i.component]||null),o=e.ref(null),j=e.computed(()=>{const t=$[i.component]||[],n={};return t.includes("config")&&(n.config=G.value),t.includes("dataset")&&(n.dataset=M.value),n}),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),C=e.ref(()=>null),A=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),k=e.ref(()=>null),S=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),I=e.ref(()=>null),N=e.ref(()=>null),x=e.ref(()=>null),F=e.ref(()=>null),H=e.ref(()=>null);e.onMounted(()=>{c.value&&console.error(`
|
|
2
2
|
|
|
3
3
|
Vue Data UI exception:
|
|
4
4
|
The provided component "${i.component}" does not exist. Check the spelling.
|
package/dist/vue-data-ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-C4TeRZvT.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiBullet=e.VueUiBullet;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCirclePack=e.VueUiCirclePack;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiFunnel=e.VueUiFunnel;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiHistoryPlot=e.VueUiHistoryPlot;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiPattern=e.VueUiPattern;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.abbreviate=e.abbreviate;exports.createSmoothPath=e.createSmoothPath;exports.createStraightPath=e.createStraightPath;exports.createTSpans=e.createTSpans;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.darkenColor=e.darkenColor;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;exports.lightenColor=e.lightenColor;exports.shiftColorHue=e.shiftColorHue;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { ae as s, af as u, ag as V, ah as U, ai as r, aj as t, b9 as o, ak as l, b6 as n, al as b, bd as
|
|
2
|
+
import { ae as s, af as u, ag as V, ah as U, ai as r, aj as t, b9 as o, ak as l, b6 as n, al as b, bd as c, am as d, an as S, ao as m, ap as g, aq as C, ar as k, as as p, ba as h, at as T, au as P, b7 as D, av as f, bb as y, aw as H, ax as R, ay as A, az as W, aA as v, aB as x, aC as B, aD as F, bc as G, aE as M, aF as w, aG as L, aH as Q, aI as X, aJ as j, aK as z, aL as E, aM as I, aN as K, aO as N, aP as O, aQ as q, aR as J, aS as Y, aT as Z, b8 as _, aU as $, aV as aa, aW as ea, aX as ia, aY as sa, aZ as ua, a_ as Va, a$ as Ua, b0 as ra, b1 as ta, b2 as oa, b3 as la, b4 as na, b5 as ba, L as ca, T as da, S as Sa, a9 as ma, a6 as ga, be as Ca, bf as ka, bg as pa, bh as ha, bi as Ta, bj as Pa } from "./index-C7spnOfS.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -11,18 +11,18 @@ export {
|
|
|
11
11
|
l as VueUiCandlestick,
|
|
12
12
|
n as VueUiCarouselTable,
|
|
13
13
|
b as VueUiChestnut,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
c as VueUiCirclePack,
|
|
15
|
+
d as VueUiCursor,
|
|
16
|
+
S as VueUiDashboard,
|
|
17
|
+
m as VueUiDigits,
|
|
18
18
|
g as VueUiDonut,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
C as VueUiDonutEvolution,
|
|
20
|
+
k as VueUiDumbbell,
|
|
21
|
+
p as VueUiFlow,
|
|
22
|
+
h as VueUiFunnel,
|
|
23
|
+
T as VueUiGalaxy,
|
|
24
|
+
P as VueUiGauge,
|
|
25
|
+
D as VueUiGizmo,
|
|
26
26
|
f as VueUiHeatmap,
|
|
27
27
|
y as VueUiHistoryPlot,
|
|
28
28
|
H as VueUiIcon,
|
|
@@ -65,13 +65,15 @@ export {
|
|
|
65
65
|
la as VueUiWordCloud,
|
|
66
66
|
na as VueUiXy,
|
|
67
67
|
ba as VueUiXyCanvas,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
ca as abbreviate,
|
|
69
|
+
da as createSmoothPath,
|
|
70
|
+
Sa as createStraightPath,
|
|
71
|
+
ma as createTSpans,
|
|
72
|
+
ga as createWordCloudDatasetFromPlainText,
|
|
71
73
|
Ca as darkenColor,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
ka as getPalette,
|
|
75
|
+
pa as getThemeConfig,
|
|
76
|
+
ha as getVueDataUiConfig,
|
|
77
|
+
Ta as lightenColor,
|
|
78
|
+
Pa as shiftColorHue
|
|
77
79
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { computed as S, ref as T, watch as He, onMounted as Re, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as D, normalizeClass as Me, createBlock as G, createCommentVNode as y, createSlots as Ze, withCtx as O, renderSlot as j, normalizeProps as Y, guardReactiveProps as J, createVNode as qe, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, mergeProps as Pe, createTextVNode as Xe, nextTick as Ye } from "vue";
|
|
2
|
-
import { u as Je, c as je, t as Ke, p as K, a as Qe, b as et, d as tt, o as lt, e as Q, g as re, l as U, m as Te, f as z, X as ot, s as g, h as ee, i as te, j as Se, k as le, n as A, q as st, r as at } from "./index-
|
|
3
|
-
import { _ as nt } from "./Title-
|
|
4
|
-
import { u as rt, U as ut } from "./usePrinter-
|
|
5
|
-
import it from "./vue-ui-skeleton-
|
|
6
|
-
import { D as dt } from "./DataTable-
|
|
7
|
-
import ct from "./vue-ui-accordion-
|
|
8
|
-
import { u as Oe } from "./useNestedProp-
|
|
9
|
-
import { _ as ht } from "./PackageVersion-
|
|
10
|
-
import { P as vt } from "./PenAndPaper-
|
|
2
|
+
import { u as Je, c as je, t as Ke, p as K, a as Qe, b as et, d as tt, o as lt, e as Q, g as re, l as U, m as Te, f as z, X as ot, s as g, h as ee, i as te, j as Se, k as le, n as A, q as st, r as at } from "./index-C7spnOfS.js";
|
|
3
|
+
import { _ as nt } from "./Title-Ch602IT9.js";
|
|
4
|
+
import { u as rt, U as ut } from "./usePrinter-BDUIRBP4.js";
|
|
5
|
+
import it from "./vue-ui-skeleton-Bn49rVXa.js";
|
|
6
|
+
import { D as dt } from "./DataTable-CmnlvDKM.js";
|
|
7
|
+
import ct from "./vue-ui-accordion-Bk2aYAD-.js";
|
|
8
|
+
import { u as Oe } from "./useNestedProp-BXHzK3EV.js";
|
|
9
|
+
import { _ as ht } from "./PackageVersion-DavVl5j6.js";
|
|
10
|
+
import { P as vt } from "./PenAndPaper-CGAd_cD9.js";
|
|
11
11
|
import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
12
|
import { u as pt } from "./useChartAccessibility-BWojgys7.js";
|
|
13
13
|
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|