vue-data-ui 2.4.38 → 2.4.40
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-CAyK8SiJ.cjs → Arrow-Bg4pmMHf.cjs} +1 -1
- package/dist/{Arrow-DAz7aOQX.js → Arrow-DkayNE_-.js} +1 -1
- package/dist/{BaseIcon-C5xMMLKe.js → BaseIcon-DpYqpYmv.js} +1 -1
- package/dist/{BaseIcon-LzZNzC-k.cjs → BaseIcon-zXh1vLYa.cjs} +1 -1
- package/dist/{DataTable-CYjIaj19.cjs → DataTable-BB87HJ5b.cjs} +1 -1
- package/dist/{DataTable-DJteUrAL.js → DataTable-BuiPd6c1.js} +2 -2
- package/dist/{Legend-D6Q_hS-N.js → Legend-BRVDmlwW.js} +1 -1
- package/dist/{Legend-C4RfI148.cjs → Legend-D2Yi-COI.cjs} +1 -1
- package/dist/{PackageVersion-QvLMBL8G.js → PackageVersion-BT4zkGPO.js} +1 -1
- package/dist/{PackageVersion-BVorXRgA.cjs → PackageVersion-rf9gXZ-Q.cjs} +1 -1
- package/dist/{PenAndPaper-CT4Le8nh.js → PenAndPaper-BFq1cFfJ.js} +3 -3
- package/dist/{PenAndPaper-2ioTztzj.cjs → PenAndPaper-DS7gA4X0.cjs} +1 -1
- package/dist/{Shape-DcAFJuUv.cjs → Shape-DVggzfpA.cjs} +1 -1
- package/dist/{Shape-KRuu0uZ5.js → Shape-Dwxh0EWa.js} +1 -1
- package/dist/{Slicer-L8wJ3VZd.cjs → Slicer-BXHFpzP5.cjs} +1 -1
- package/dist/{Slicer-DxJ1zmBg.js → Slicer-D7x1gyjP.js} +2 -2
- package/dist/{Title-x3NyvtQe.js → Title-BFvWnqI4.js} +1 -1
- package/dist/{Title-CZ0mh7PE.cjs → Title-RB80eFiD.cjs} +1 -1
- package/dist/{Tooltip-BOmCgAU7.cjs → Tooltip-BC1YZMi2.cjs} +1 -1
- package/dist/{Tooltip-Df7E90wo.js → Tooltip-RHI1EGzy.js} +1 -1
- package/dist/{index-B4dbEeod.cjs → index--lHmCKjC.cjs} +5 -5
- package/dist/{index-BfvWIfiY.js → index-DY8hDTi7.js} +205 -190
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +113 -1
- package/dist/types/vue-data-ui.d.ts +113 -1
- package/dist/{useNestedProp-uYy3UrlZ.cjs → useNestedProp-DLJc0s53.cjs} +1 -1
- package/dist/{useNestedProp-C5ctHjEY.js → useNestedProp-lhL30X68.js} +1 -1
- package/dist/{usePrinter-ucBlOzo2.cjs → usePrinter-BfuqGrO4.cjs} +1 -1
- package/dist/{usePrinter-C_JcwuWm.js → usePrinter-DjAQofRy.js} +1 -1
- package/dist/{vue-data-ui-Ccl3MBHr.js → vue-data-ui-BjixO_L4.js} +60 -60
- package/dist/{vue-data-ui-CTozzcVh.cjs → vue-data-ui-DYb5l8_5.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +34 -30
- package/dist/{vue-ui-3d-bar-DDlb-MuY.cjs → vue-ui-3d-bar-BEjtuA39.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-C1KiqCD8.js → vue-ui-3d-bar-CkYhOmXF.js} +9 -9
- package/dist/{vue-ui-accordion-8uz6O0zN.cjs → vue-ui-accordion-ClQObElI.cjs} +1 -1
- package/dist/{vue-ui-accordion-b3Vu6RVK.js → vue-ui-accordion-xK9e3wkz.js} +3 -3
- package/dist/{vue-ui-age-pyramid-hY8RqvWh.js → vue-ui-age-pyramid-DtQAo1-2.js} +10 -10
- package/dist/{vue-ui-age-pyramid-CHGSEaYL.cjs → vue-ui-age-pyramid-x5CjkABf.cjs} +1 -1
- package/dist/{vue-ui-annotator-DscKLpfR.cjs → vue-ui-annotator-DqDELeOR.cjs} +1 -1
- package/dist/{vue-ui-annotator-C809iBPN.js → vue-ui-annotator-Yt34insl.js} +1 -1
- package/dist/{vue-ui-bullet-B9ujuFUU.js → vue-ui-bullet-CCvwPwji.js} +8 -8
- package/dist/{vue-ui-bullet-DYMpXNE_.cjs → vue-ui-bullet-DSPQ5yWt.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DljnPmaC.js → vue-ui-candlestick-CVJB9WMH.js} +11 -11
- package/dist/{vue-ui-candlestick-B-MDd1LY.cjs → vue-ui-candlestick-Cb7CgmeV.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-paujUY-0.cjs → vue-ui-carousel-table-CkJngi1u.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-E3ufuxIw.js → vue-ui-carousel-table-IqZRrbo_.js} +4 -4
- package/dist/{vue-ui-chestnut-DipUHM0x.js → vue-ui-chestnut-Dt3GLx3U.js} +8 -8
- package/dist/{vue-ui-chestnut-po3Q45RU.cjs → vue-ui-chestnut-ojvaZyue.cjs} +1 -1
- package/dist/{vue-ui-cursor-CplxbFXK.cjs → vue-ui-cursor-Cbi7OUiE.cjs} +1 -1
- package/dist/{vue-ui-cursor-D06J66E7.js → vue-ui-cursor-D24bAdi0.js} +2 -2
- package/dist/vue-ui-dashboard-CB_W7yvi.js +248 -0
- package/dist/vue-ui-dashboard-DVf1sULB.cjs +1 -0
- package/dist/{vue-ui-digits--crzD75Q.cjs → vue-ui-digits-CVAyG4kM.cjs} +1 -1
- package/dist/{vue-ui-digits-CYmIyFKE.js → vue-ui-digits-Qn4l0R5o.js} +2 -2
- package/dist/{vue-ui-donut-Dwj6Z2uH.cjs → vue-ui-donut-Cgvksx9U.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-BTjRUruR.cjs → vue-ui-donut-evolution-DWdf8MKP.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-Z0IjHDjm.js → vue-ui-donut-evolution-KdVsB3m_.js} +11 -11
- package/dist/{vue-ui-donut-Ddo5zFZ0.js → vue-ui-donut-t688YqqL.js} +11 -11
- package/dist/{vue-ui-dumbbell-DOcLI8AX.js → vue-ui-dumbbell-CS5kvI8A.js} +10 -10
- package/dist/{vue-ui-dumbbell--pSKj1Dz.cjs → vue-ui-dumbbell-DxMZm_Xi.cjs} +1 -1
- package/dist/{vue-ui-flow-Cw6Olh3c.js → vue-ui-flow-4sSoYnJt.js} +9 -9
- package/dist/{vue-ui-flow-CwrDsVw9.cjs → vue-ui-flow-In-tHpYL.cjs} +1 -1
- package/dist/{vue-ui-funnel-D8SzaI11.js → vue-ui-funnel-MD4lrv0t.js} +8 -8
- package/dist/{vue-ui-funnel-M6CIcOHV.cjs → vue-ui-funnel-MXYMVu1G.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BuUXwn_I.cjs → vue-ui-galaxy-B9KiEfI4.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DRcH6lOJ.js → vue-ui-galaxy-K09M9SgI.js} +11 -11
- package/dist/{vue-ui-gauge-D6VDfsha.js → vue-ui-gauge-Bg2V5WNl.js} +7 -7
- package/dist/{vue-ui-gauge-BOc5CHnJ.cjs → vue-ui-gauge-DaR_viLn.cjs} +1 -1
- package/dist/{vue-ui-gizmo-as4zcurL.cjs → vue-ui-gizmo-7Hv-0fsh.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CyUr8pm2.js → vue-ui-gizmo-CdLxfJUw.js} +3 -3
- package/dist/{vue-ui-heatmap-DHA16YVI.js → vue-ui-heatmap-CNPjaHGJ.js} +10 -10
- package/dist/{vue-ui-heatmap-Dpkvl_Ed.cjs → vue-ui-heatmap-DhgJ3LO9.cjs} +1 -1
- package/dist/{vue-ui-history-plot-D0tHEYXR.js → vue-ui-history-plot-DRwX7quj.js} +11 -11
- package/dist/{vue-ui-history-plot-BDKbSvlu.cjs → vue-ui-history-plot-DZOYwPTh.cjs} +1 -1
- package/dist/{vue-ui-kpi-DTIXAiP8.js → vue-ui-kpi-C-5_TwY8.js} +3 -3
- package/dist/{vue-ui-kpi-Zd-IgqlU.cjs → vue-ui-kpi-Cnrfv2vn.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BhjFd2BP.js → vue-ui-mini-loader-fZawewEF.js} +2 -2
- package/dist/{vue-ui-mini-loader-VwxHEY37.cjs → vue-ui-mini-loader-uBFny7gt.cjs} +1 -1
- package/dist/{vue-ui-molecule-hCAfUH98.cjs → vue-ui-molecule-BOClRlY3.cjs} +1 -1
- package/dist/{vue-ui-molecule-Cr9EVj4Q.js → vue-ui-molecule-pO5l42Vf.js} +11 -11
- package/dist/{vue-ui-mood-radar-CydQr5GI.cjs → vue-ui-mood-radar-CiMiQJuS.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-umRtNtxs.js → vue-ui-mood-radar-jbYjFZID.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BIoQEWGY.js → vue-ui-nested-donuts-Bb5otIw_.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BKxE58Uf.cjs → vue-ui-nested-donuts-IArnFfHY.cjs} +1 -1
- package/dist/{vue-ui-onion-CeJCh11D.js → vue-ui-onion-BvQLUPjh.js} +11 -11
- package/dist/{vue-ui-onion-2oV8205I.cjs → vue-ui-onion-SKVqk7rN.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DYvaWzwb.cjs → vue-ui-parallel-coordinate-plot-CeqeyIHj.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-3I5v7gSF.js → vue-ui-parallel-coordinate-plot-_LH1iK_w.js} +12 -12
- package/dist/{vue-ui-quadrant-B0GKCJxi.cjs → vue-ui-quadrant-7jB46g4Z.cjs} +1 -1
- package/dist/{vue-ui-quadrant-B01cPXS5.js → vue-ui-quadrant-BiWyF1fA.js} +12 -12
- package/dist/{vue-ui-quick-chart-B42AMm4R.cjs → vue-ui-quick-chart-79l8Uv8o.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-GU62u7yC.js → vue-ui-quick-chart-C1398EYu.js} +9 -9
- package/dist/{vue-ui-radar-Dwf_8p6N.cjs → vue-ui-radar-BYk3bLkt.cjs} +1 -1
- package/dist/{vue-ui-radar-DsjxjLjY.js → vue-ui-radar-BvWCcL2b.js} +12 -12
- package/dist/{vue-ui-rating-weQfwApU.js → vue-ui-rating-CyGmfYEU.js} +2 -2
- package/dist/{vue-ui-rating-BDOEfGwV.cjs → vue-ui-rating-jKjMQHRN.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-C7vapzk4.js → vue-ui-relation-circle-B3Df8yCi.js} +7 -7
- package/dist/{vue-ui-relation-circle-DRLam0rk.cjs → vue-ui-relation-circle-CZomraV2.cjs} +1 -1
- package/dist/{vue-ui-rings-BsunIWna.js → vue-ui-rings-DEwuDHW2.js} +11 -11
- package/dist/{vue-ui-rings-BDxpRKWC.cjs → vue-ui-rings-L8pGRQbs.cjs} +1 -1
- package/dist/{vue-ui-scatter-B4eRVmk2.js → vue-ui-scatter-BYL4iitb.js} +12 -12
- package/dist/{vue-ui-scatter-CE4pfpCN.cjs → vue-ui-scatter-BfI6xftp.cjs} +1 -1
- package/dist/{vue-ui-screenshot-CqC7uqTW.cjs → vue-ui-screenshot-Cf8g-RjG.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DnF-twyf.js → vue-ui-screenshot-D4aNIcHd.js} +1 -1
- package/dist/{vue-ui-skeleton-4l6lQhDp.cjs → vue-ui-skeleton-BGfzzQdU.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CK-lcAFv.js → vue-ui-skeleton-FCpm0_eE.js} +3 -3
- package/dist/{vue-ui-smiley-DXFyinQx.js → vue-ui-smiley-BFXulKpd.js} +2 -2
- package/dist/{vue-ui-smiley-jR415Iqn.cjs → vue-ui-smiley-mjxS_13E.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D9vaq6qF.cjs → vue-ui-spark-trend-B2SOk378.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-s6WxtG4d.js → vue-ui-spark-trend-D-13-kV6.js} +5 -5
- package/dist/{vue-ui-sparkbar-BzisE3ts.cjs → vue-ui-sparkbar-BlA1rgRo.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Cm6S1Qb4.js → vue-ui-sparkbar-C8cjDKBy.js} +4 -4
- package/dist/{vue-ui-sparkgauge-COCtEmhT.cjs → vue-ui-sparkgauge-C4sFc7nb.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Bh_CjEyL.js → vue-ui-sparkgauge-DRBVe3tu.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-C7PY45w0.cjs → vue-ui-sparkhistogram-CkqzLBYq.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-J_unkqPG.js → vue-ui-sparkhistogram-iMRsSDvC.js} +5 -5
- package/dist/{vue-ui-sparkline-Be1dXlA9.cjs → vue-ui-sparkline-C0JZ7Xq1.cjs} +1 -1
- package/dist/{vue-ui-sparkline-E6y3983Y.js → vue-ui-sparkline-DIkUaObR.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CH0Pch6B.js → vue-ui-sparkstackbar-DJW1lBGU.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CCzIqHBf.cjs → vue-ui-sparkstackbar-DJbWCqs3.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BQmJiCNo.js → vue-ui-stackbar-BGUXEdZi.js} +12 -12
- package/dist/{vue-ui-stackbar-ByDUWOyZ.cjs → vue-ui-stackbar-BtOrW2Ml.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BfXCXnmQ.cjs → vue-ui-strip-plot-DJTQ8r5H.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-Dp_SpOZK.js → vue-ui-strip-plot-hn1U9cvT.js} +11 -11
- package/dist/{vue-ui-table-Bz29cntB.js → vue-ui-table-7A1eCPQd.js} +1 -1
- package/dist/{vue-ui-table-BEuRL3NS.cjs → vue-ui-table-DFvOQzJu.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CqLnEyoP.js → vue-ui-table-heatmap-DqZsXcsO.js} +4 -4
- package/dist/{vue-ui-table-heatmap-DYcIN8JK.cjs → vue-ui-table-heatmap-ZnkAoAkQ.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-vlSwSjCF.cjs → vue-ui-table-sparkline-5mX0B27t.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BfChx5eE.js → vue-ui-table-sparkline-CV8o-yV6.js} +5 -5
- package/dist/{vue-ui-thermometer-B-8wcBPG.cjs → vue-ui-thermometer-BwLTfi7y.cjs} +1 -1
- package/dist/{vue-ui-thermometer-Dxa2olTt.js → vue-ui-thermometer-M6QwKOld.js} +7 -7
- package/dist/{vue-ui-timer-DCw1gtRV.js → vue-ui-timer-CoYF7LEU.js} +5 -5
- package/dist/{vue-ui-timer-DsJk28Ny.cjs → vue-ui-timer-QypGImgW.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BHybVVRg.js → vue-ui-tiremarks-CzLOyhXF.js} +7 -7
- package/dist/{vue-ui-tiremarks-CEK5-Ion.cjs → vue-ui-tiremarks-DAFNYvB1.cjs} +1 -1
- package/dist/{vue-ui-treemap-5eXs9Afh.cjs → vue-ui-treemap-CutiBRIN.cjs} +1 -1
- package/dist/{vue-ui-treemap-kIBQTHu8.js → vue-ui-treemap-DF5BIKs-.js} +11 -11
- package/dist/{vue-ui-vertical-bar-CkJXkGAm.cjs → vue-ui-vertical-bar-D-ZZAU0r.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-D27LA1Dc.js → vue-ui-vertical-bar-bDcCcUy8.js} +11 -11
- package/dist/{vue-ui-waffle-CGsWS6jQ.js → vue-ui-waffle-BR_HwmLy.js} +11 -11
- package/dist/{vue-ui-waffle-C1O7clHR.cjs → vue-ui-waffle-CCO3ZHyo.cjs} +1 -1
- package/dist/{vue-ui-wheel-BwDaKdAT.cjs → vue-ui-wheel-Cvcfc6o1.cjs} +1 -1
- package/dist/{vue-ui-wheel-qwt5Ais3.js → vue-ui-wheel-DuO0nc0d.js} +7 -7
- package/dist/{vue-ui-word-cloud-DK01KwNg.cjs → vue-ui-word-cloud-BknJQRiM.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-B7MrSoRx.js → vue-ui-word-cloud-Cv5bXF2B.js} +10 -10
- package/dist/{vue-ui-xy-DlSYajOn.js → vue-ui-xy-Clf_sTRI.js} +16 -16
- package/dist/vue-ui-xy-Cqb73yZ3.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-CKTkd0NL.cjs → vue-ui-xy-canvas-7OwcP1-L.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-BIdABPv7.js → vue-ui-xy-canvas-BOJGw4H7.js} +11 -11
- package/package.json +1 -1
- package/dist/vue-ui-dashboard-8GtOSkNG.cjs +0 -1
- package/dist/vue-ui-dashboard-CGgaH4-n.js +0 -232
- package/dist/vue-ui-xy-BzclkAin.cjs +0 -3
|
@@ -5929,5 +5929,117 @@ declare module 'vue-data-ui' {
|
|
|
5929
5929
|
|
|
5930
5930
|
export type VueDataUiConfigKey = "vue_ui_3d_bar" | "vue_ui_age_pyramid" | "vue_ui_annotator" | "vue_ui_candlestick" | "vue_ui_chestnut" | "vue_ui_dashboard" | "vue_ui_digits" | "vue_ui_donut" | "vue_ui_donut_evolution" | "vue_ui_gauge" | "vue_ui_heatmap" | "vue_ui_mini_loader" | "vue_ui_molecule" | "vue_ui_mood_radar" | "vue_ui_onion" | "vue_ui_quadrant" | "vue_ui_radar" | "vue_ui_rating" | "vue_ui_relation_circle" | "vue_ui_rings" | "vue_ui_scatter" | "vue_ui_screenshot" | "vue_ui_skeleton" | "vue_ui_smiley" | "vue_ui_sparkhistogram" | "vue_ui_sparkstackbar" | "vue_ui_sparkbar" | "vue_ui_sparkline" | "vue_ui_table" | "vue_ui_table_sparkline" | "vue_ui_thermometer" | "vue_ui_tiremarks" | "vue_ui_vertical_bar" | "vue_ui_waffle" | "vue_ui_wheel" | "vue_ui_xy" | "vue_ui_nested_donuts" | "vue_ui_galaxy" | "vue_ui_kpi" | "vue_ui_treemap" | "vue_ui_table_heatmap" | "vue_ui_accordion" | "vue_ui_quick_chart" | "vue_ui_cursor" | "vue_ui_spark_trend" | "vue_ui_strip_plot" | "vue_ui_dumbbell" | "vue_ui_word_cloud" | "vue_ui_xy_canvas" | "vue_ui_flow" | "vue_ui_parallel_coordinate_plot" | "vue_ui_timer" | "vue_ui_carousel_table" | "vue_ui_gizmo" | "vue_ui_stackbar" | "vue_ui_bullet" | "vue_ui_funnel" | "vue_ui_history_plot";
|
|
5931
5931
|
|
|
5932
|
-
export
|
|
5932
|
+
export type VueDataUiWordCloudTransformCallback = ((word: string) => string) | null;
|
|
5933
|
+
|
|
5934
|
+
/**
|
|
5935
|
+
* Vue Data UI utility
|
|
5936
|
+
* ---
|
|
5937
|
+
* Create a dataset for VueUiWordCloud from a string
|
|
5938
|
+
* ___
|
|
5939
|
+
* @example
|
|
5940
|
+
* const dataset = createWordCloudDatasetFromPlainText('Lorem Ipsum Dolor', (w) => w.toUpperCase())
|
|
5941
|
+
*
|
|
5942
|
+
* @param text - The text from which the dataset will be generated
|
|
5943
|
+
* @param callback - Optional transform callback to format each word of the dataset
|
|
5944
|
+
*/
|
|
5945
|
+
export const createWordCloudDatasetFromPlainText: (text: string, callback?: VueDataUiWordCloudTransformCallback ) => VueUiWordCloudDatasetItem[];
|
|
5946
|
+
|
|
5947
|
+
export type VueDataUiAbbreviatePayload = {
|
|
5948
|
+
source: string;
|
|
5949
|
+
length?: number;
|
|
5950
|
+
}
|
|
5951
|
+
|
|
5952
|
+
/**
|
|
5953
|
+
* Vue Data UI utility
|
|
5954
|
+
* ---
|
|
5955
|
+
* Abbreviate a string to a given length
|
|
5956
|
+
* ___
|
|
5957
|
+
* @example
|
|
5958
|
+
* const label = abbreviate({
|
|
5959
|
+
* source: 'Lorem Ipsum Dolor',
|
|
5960
|
+
* length: 3
|
|
5961
|
+
* })
|
|
5962
|
+
*
|
|
5963
|
+
* @param source - The string to abbreviate
|
|
5964
|
+
* @param length - The number of letters to return (defaults to 3)
|
|
5965
|
+
*/
|
|
5966
|
+
export const abbreviate: (payload: VueDataUiAbbreviatePayload) => string;
|
|
5967
|
+
|
|
5968
|
+
/**
|
|
5969
|
+
* Vue Data UI utility
|
|
5970
|
+
* ---
|
|
5971
|
+
* Get the color palette for a given theme
|
|
5972
|
+
* ___
|
|
5973
|
+
* @example
|
|
5974
|
+
* const palette = getPalette("hack");
|
|
5975
|
+
*
|
|
5976
|
+
* @param theme - The theme for which the palette is requested (e.g., "hack" | "zen", | "concrete")
|
|
5977
|
+
*/
|
|
5978
|
+
export const getPalette: (theme: Theme) => string[];
|
|
5979
|
+
|
|
5980
|
+
/**
|
|
5981
|
+
* Vue Data UI utility
|
|
5982
|
+
* ---
|
|
5983
|
+
* Get the default config for a given component
|
|
5984
|
+
* ___
|
|
5985
|
+
* @example
|
|
5986
|
+
* const defaultConfig = getVueDataUiConfig("vue_ui_xy");
|
|
5987
|
+
*
|
|
5988
|
+
* @param key - The key of the component in snake case (e.g., "vue_ui_xy")
|
|
5989
|
+
*/
|
|
5990
|
+
export const getVueDataUiConfig: (key: VueDataUiConfigKey) => VueDataUiConfig;
|
|
5991
|
+
|
|
5992
|
+
/**
|
|
5993
|
+
* Vue Data UI utility
|
|
5994
|
+
* ---
|
|
5995
|
+
* Lightens a color by a specified strength.
|
|
5996
|
+
* ___
|
|
5997
|
+
* @example
|
|
5998
|
+
* const color = lightenColor("#FF0000", 0.25);
|
|
5999
|
+
* const color = lightenColor("#FF000080", 0.25);
|
|
6000
|
+
* const color = lightenColor("rgb(255,0,0)", 0.25);
|
|
6001
|
+
* const color = lightenColor("rgb(255,0,0,0.5)", 0.25);
|
|
6002
|
+
* const color = lightenColor("red", 0.25);
|
|
6003
|
+
*
|
|
6004
|
+
* @param color - The input color. Can be hexadecimal (e.g., "#FF0000", or "#FF000080" with alpha channel), RGB or RGBA, or a named color.
|
|
6005
|
+
* @param strength - The strength to lighten the color, typically a value between 0 and 1.
|
|
6006
|
+
* @returns The lightened color in hexadecimal format.
|
|
6007
|
+
*/
|
|
6008
|
+
export const lightenColor: (color: string, strength: number) => string;
|
|
6009
|
+
|
|
6010
|
+
/**
|
|
6011
|
+
* Vue Data UI utility
|
|
6012
|
+
* ---
|
|
6013
|
+
* Darkens a color by a specified strength.
|
|
6014
|
+
* ___
|
|
6015
|
+
* @example
|
|
6016
|
+
* const color = darkenColor("#FF0000", 0.25);
|
|
6017
|
+
* const color = darkenColor("#FF000080", 0.25);
|
|
6018
|
+
* const color = darkenColor("rgb(255,0,0)", 0.25);
|
|
6019
|
+
* const color = darkenColor("rgb(255,0,0,0.5)", 0.25);
|
|
6020
|
+
* const color = darkenColor("red", 0.25);
|
|
6021
|
+
*
|
|
6022
|
+
* @param color - The input color. Can be hexadecimal (e.g., "#FF0000", or "#FF000080" with alpha channel), or RGB or RGBA.
|
|
6023
|
+
* @param strength - The strength to darken the color, typically a value between 0 and 1.
|
|
6024
|
+
* @returns The darkened color in hexadecimal format.
|
|
6025
|
+
*/
|
|
6026
|
+
export const darkenColor: (color: string, strength: number) => string;
|
|
6027
|
+
|
|
6028
|
+
/**
|
|
6029
|
+
* Vue Data UI utility
|
|
6030
|
+
* ---
|
|
6031
|
+
* Shifts hue for a given color, by a given strength.
|
|
6032
|
+
* ___
|
|
6033
|
+
* @example
|
|
6034
|
+
* const color = shiftColorHue("#FF0000", 0.25);
|
|
6035
|
+
* const color = shiftColorHue("#FF000080", 0.25);
|
|
6036
|
+
* const color = shiftColorHue("rgb(255,0,0)", 0.25);
|
|
6037
|
+
* const color = shiftColorHue("rgb(255,0,0,0.5)", 0.25);
|
|
6038
|
+
* const color = shiftColorHue("red", 0.25);
|
|
6039
|
+
*
|
|
6040
|
+
* @param color - The input color. Can be hexadecimal (e.g., "#FF0000", or "#FF000080" with alpha channel), or RGB or RGBA.
|
|
6041
|
+
* @param strength - The strength to darken the color, typically a value between 0 and 1.
|
|
6042
|
+
* @returns The shifted color in hexadecimal format.
|
|
6043
|
+
*/
|
|
6044
|
+
export const shiftColorHue: (color: string, strength: number) => string;
|
|
5933
6045
|
}
|
|
@@ -5929,5 +5929,117 @@ declare module 'vue-data-ui' {
|
|
|
5929
5929
|
|
|
5930
5930
|
export type VueDataUiConfigKey = "vue_ui_3d_bar" | "vue_ui_age_pyramid" | "vue_ui_annotator" | "vue_ui_candlestick" | "vue_ui_chestnut" | "vue_ui_dashboard" | "vue_ui_digits" | "vue_ui_donut" | "vue_ui_donut_evolution" | "vue_ui_gauge" | "vue_ui_heatmap" | "vue_ui_mini_loader" | "vue_ui_molecule" | "vue_ui_mood_radar" | "vue_ui_onion" | "vue_ui_quadrant" | "vue_ui_radar" | "vue_ui_rating" | "vue_ui_relation_circle" | "vue_ui_rings" | "vue_ui_scatter" | "vue_ui_screenshot" | "vue_ui_skeleton" | "vue_ui_smiley" | "vue_ui_sparkhistogram" | "vue_ui_sparkstackbar" | "vue_ui_sparkbar" | "vue_ui_sparkline" | "vue_ui_table" | "vue_ui_table_sparkline" | "vue_ui_thermometer" | "vue_ui_tiremarks" | "vue_ui_vertical_bar" | "vue_ui_waffle" | "vue_ui_wheel" | "vue_ui_xy" | "vue_ui_nested_donuts" | "vue_ui_galaxy" | "vue_ui_kpi" | "vue_ui_treemap" | "vue_ui_table_heatmap" | "vue_ui_accordion" | "vue_ui_quick_chart" | "vue_ui_cursor" | "vue_ui_spark_trend" | "vue_ui_strip_plot" | "vue_ui_dumbbell" | "vue_ui_word_cloud" | "vue_ui_xy_canvas" | "vue_ui_flow" | "vue_ui_parallel_coordinate_plot" | "vue_ui_timer" | "vue_ui_carousel_table" | "vue_ui_gizmo" | "vue_ui_stackbar" | "vue_ui_bullet" | "vue_ui_funnel" | "vue_ui_history_plot";
|
|
5931
5931
|
|
|
5932
|
-
export
|
|
5932
|
+
export type VueDataUiWordCloudTransformCallback = ((word: string) => string) | null;
|
|
5933
|
+
|
|
5934
|
+
/**
|
|
5935
|
+
* Vue Data UI utility
|
|
5936
|
+
* ---
|
|
5937
|
+
* Create a dataset for VueUiWordCloud from a string
|
|
5938
|
+
* ___
|
|
5939
|
+
* @example
|
|
5940
|
+
* const dataset = createWordCloudDatasetFromPlainText('Lorem Ipsum Dolor', (w) => w.toUpperCase())
|
|
5941
|
+
*
|
|
5942
|
+
* @param text - The text from which the dataset will be generated
|
|
5943
|
+
* @param callback - Optional transform callback to format each word of the dataset
|
|
5944
|
+
*/
|
|
5945
|
+
export const createWordCloudDatasetFromPlainText: (text: string, callback?: VueDataUiWordCloudTransformCallback ) => VueUiWordCloudDatasetItem[];
|
|
5946
|
+
|
|
5947
|
+
export type VueDataUiAbbreviatePayload = {
|
|
5948
|
+
source: string;
|
|
5949
|
+
length?: number;
|
|
5950
|
+
}
|
|
5951
|
+
|
|
5952
|
+
/**
|
|
5953
|
+
* Vue Data UI utility
|
|
5954
|
+
* ---
|
|
5955
|
+
* Abbreviate a string to a given length
|
|
5956
|
+
* ___
|
|
5957
|
+
* @example
|
|
5958
|
+
* const label = abbreviate({
|
|
5959
|
+
* source: 'Lorem Ipsum Dolor',
|
|
5960
|
+
* length: 3
|
|
5961
|
+
* })
|
|
5962
|
+
*
|
|
5963
|
+
* @param source - The string to abbreviate
|
|
5964
|
+
* @param length - The number of letters to return (defaults to 3)
|
|
5965
|
+
*/
|
|
5966
|
+
export const abbreviate: (payload: VueDataUiAbbreviatePayload) => string;
|
|
5967
|
+
|
|
5968
|
+
/**
|
|
5969
|
+
* Vue Data UI utility
|
|
5970
|
+
* ---
|
|
5971
|
+
* Get the color palette for a given theme
|
|
5972
|
+
* ___
|
|
5973
|
+
* @example
|
|
5974
|
+
* const palette = getPalette("hack");
|
|
5975
|
+
*
|
|
5976
|
+
* @param theme - The theme for which the palette is requested (e.g., "hack" | "zen", | "concrete")
|
|
5977
|
+
*/
|
|
5978
|
+
export const getPalette: (theme: Theme) => string[];
|
|
5979
|
+
|
|
5980
|
+
/**
|
|
5981
|
+
* Vue Data UI utility
|
|
5982
|
+
* ---
|
|
5983
|
+
* Get the default config for a given component
|
|
5984
|
+
* ___
|
|
5985
|
+
* @example
|
|
5986
|
+
* const defaultConfig = getVueDataUiConfig("vue_ui_xy");
|
|
5987
|
+
*
|
|
5988
|
+
* @param key - The key of the component in snake case (e.g., "vue_ui_xy")
|
|
5989
|
+
*/
|
|
5990
|
+
export const getVueDataUiConfig: (key: VueDataUiConfigKey) => VueDataUiConfig;
|
|
5991
|
+
|
|
5992
|
+
/**
|
|
5993
|
+
* Vue Data UI utility
|
|
5994
|
+
* ---
|
|
5995
|
+
* Lightens a color by a specified strength.
|
|
5996
|
+
* ___
|
|
5997
|
+
* @example
|
|
5998
|
+
* const color = lightenColor("#FF0000", 0.25);
|
|
5999
|
+
* const color = lightenColor("#FF000080", 0.25);
|
|
6000
|
+
* const color = lightenColor("rgb(255,0,0)", 0.25);
|
|
6001
|
+
* const color = lightenColor("rgb(255,0,0,0.5)", 0.25);
|
|
6002
|
+
* const color = lightenColor("red", 0.25);
|
|
6003
|
+
*
|
|
6004
|
+
* @param color - The input color. Can be hexadecimal (e.g., "#FF0000", or "#FF000080" with alpha channel), RGB or RGBA, or a named color.
|
|
6005
|
+
* @param strength - The strength to lighten the color, typically a value between 0 and 1.
|
|
6006
|
+
* @returns The lightened color in hexadecimal format.
|
|
6007
|
+
*/
|
|
6008
|
+
export const lightenColor: (color: string, strength: number) => string;
|
|
6009
|
+
|
|
6010
|
+
/**
|
|
6011
|
+
* Vue Data UI utility
|
|
6012
|
+
* ---
|
|
6013
|
+
* Darkens a color by a specified strength.
|
|
6014
|
+
* ___
|
|
6015
|
+
* @example
|
|
6016
|
+
* const color = darkenColor("#FF0000", 0.25);
|
|
6017
|
+
* const color = darkenColor("#FF000080", 0.25);
|
|
6018
|
+
* const color = darkenColor("rgb(255,0,0)", 0.25);
|
|
6019
|
+
* const color = darkenColor("rgb(255,0,0,0.5)", 0.25);
|
|
6020
|
+
* const color = darkenColor("red", 0.25);
|
|
6021
|
+
*
|
|
6022
|
+
* @param color - The input color. Can be hexadecimal (e.g., "#FF0000", or "#FF000080" with alpha channel), or RGB or RGBA.
|
|
6023
|
+
* @param strength - The strength to darken the color, typically a value between 0 and 1.
|
|
6024
|
+
* @returns The darkened color in hexadecimal format.
|
|
6025
|
+
*/
|
|
6026
|
+
export const darkenColor: (color: string, strength: number) => string;
|
|
6027
|
+
|
|
6028
|
+
/**
|
|
6029
|
+
* Vue Data UI utility
|
|
6030
|
+
* ---
|
|
6031
|
+
* Shifts hue for a given color, by a given strength.
|
|
6032
|
+
* ___
|
|
6033
|
+
* @example
|
|
6034
|
+
* const color = shiftColorHue("#FF0000", 0.25);
|
|
6035
|
+
* const color = shiftColorHue("#FF000080", 0.25);
|
|
6036
|
+
* const color = shiftColorHue("rgb(255,0,0)", 0.25);
|
|
6037
|
+
* const color = shiftColorHue("rgb(255,0,0,0.5)", 0.25);
|
|
6038
|
+
* const color = shiftColorHue("red", 0.25);
|
|
6039
|
+
*
|
|
6040
|
+
* @param color - The input color. Can be hexadecimal (e.g., "#FF0000", or "#FF000080" with alpha channel), or RGB or RGBA.
|
|
6041
|
+
* @param strength - The strength to darken the color, typically a value between 0 and 1.
|
|
6042
|
+
* @returns The shifted color in hexadecimal format.
|
|
6043
|
+
*/
|
|
6044
|
+
export const shiftColorHue: (color: string, strength: number) => string;
|
|
5933
6045
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index
|
|
1
|
+
"use strict";const r=require("./index--lHmCKjC.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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./BaseIcon-LzZNzC-k.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={beforeMount(t,u){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||u.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},D=["title","onClick","onKeypress"],L=["data-open"],w={__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:u}){const s=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function y(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),A=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(A.value=!1)}function M(){s.isPrinting||s.isImaging||(r.value=!1)}function T(){r.value&&M()}const B=e.ref(s.isLabelActive);function F(){B.value=!B.value,u("toggleLabels")}const m=e.ref(s.isAnimation);function h(){m.value=!m.value,u("toggleAnimation")}const b=e.computed({get:()=>s.isAnnotation,set:l=>l});function E(){b.value=!b.value,u("toggleAnnotator")}function p(){u("toggleSort")}const C=e.ref(s.isStacked);function I(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function P(){$.value=!$.value,u("toggleTooltip")}const f=e.ref(!1);function z(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function N(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",N)});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:r.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(S,["stop"]),onKeypress:e.withKeys(S,["enter"])},[e.createVNode(a.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,D),e.createElementVNode("div",{"data-open":r.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:P,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},[$.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:k,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:d,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:y,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:F,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:B.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:I,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},[C.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=>z(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:z,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:h},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:h,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),m.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:E},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:E,isAnnotator:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",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:"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,L)],4)),[[e.unref(V),T]])}},X=O._export_sfc(w,[["__scopeId","data-v-5b704ad2"]]);function q({elementId:t,fileName:u,canPrint:s=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!s||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./pdf-9cRTLjY8.cjs"));await r({domElement:document.getElementById(t),fileName:u})}catch(r){console.error("Error generating PDF:",r)}finally{k.value=!1}},100))}async function y(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./img-BFCs759q.cjs"));await r({domElement:document.getElementById(t),fileName:u,format:"png"})}catch(r){console.error("Error generating image:",r)}finally{d.value=!1}},100))}return{generatePdf:g,generateImage:y,isPrinting:k,isImaging:d}}exports.UserOptions=X;exports.usePrinter=q;exports.vClickOutside=V;
|
|
1
|
+
"use strict";const e=require("vue"),a=require("./BaseIcon-zXh1vLYa.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={beforeMount(t,u){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||u.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},D=["title","onClick","onKeypress"],L=["data-open"],w={__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:u}){const s=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function y(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),A=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(A.value=!1)}function M(){s.isPrinting||s.isImaging||(r.value=!1)}function T(){r.value&&M()}const B=e.ref(s.isLabelActive);function F(){B.value=!B.value,u("toggleLabels")}const m=e.ref(s.isAnimation);function h(){m.value=!m.value,u("toggleAnimation")}const b=e.computed({get:()=>s.isAnnotation,set:l=>l});function E(){b.value=!b.value,u("toggleAnnotator")}function p(){u("toggleSort")}const C=e.ref(s.isStacked);function I(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function P(){$.value=!$.value,u("toggleTooltip")}const f=e.ref(!1);function z(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function N(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",N)});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:r.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(S,["stop"]),onKeypress:e.withKeys(S,["enter"])},[e.createVNode(a.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,D),e.createElementVNode("div",{"data-open":r.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:P,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},[$.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:k,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:d,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:y,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:F,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:B.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:I,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},[C.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=>z(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:z,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:h},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:h,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),m.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:E},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:E,isAnnotator:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",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:"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,L)],4)),[[e.unref(V),T]])}},X=O._export_sfc(w,[["__scopeId","data-v-5b704ad2"]]);function q({elementId:t,fileName:u,canPrint:s=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!s||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./pdf-9cRTLjY8.cjs"));await r({domElement:document.getElementById(t),fileName:u})}catch(r){console.error("Error generating PDF:",r)}finally{k.value=!1}},100))}async function y(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./img-BFCs759q.cjs"));await r({domElement:document.getElementById(t),fileName:u,format:"png"})}catch(r){console.error("Error generating image:",r)}finally{d.value=!1}},100))}return{generatePdf:g,generateImage:y,isPrinting:k,isImaging:d}}exports.UserOptions=X;exports.usePrinter=q;exports.vClickOutside=V;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as b, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as R, openBlock as t, createElementBlock as i, normalizeStyle as d, createElementVNode as U, withModifiers as Y, withKeys as Z, createVNode as p, normalizeClass as c, renderSlot as m, Fragment as h, createBlock as f, toDisplayString as $, createCommentVNode as u, normalizeProps as L, mergeProps as w, unref as _ } from "vue";
|
|
2
|
-
import a from "./BaseIcon-
|
|
2
|
+
import a from "./BaseIcon-DpYqpYmv.js";
|
|
3
3
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const te = {
|
|
5
5
|
beforeMount(e, v) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as J, defineAsyncComponent as e, computed as c, ref as o, onMounted as Y, watch as O, shallowReactive as Z, openBlock as F, createElementBlock as R, createElementVNode as w, createVNode as tt, createTextVNode as et, toDisplayString as ot, unref as it, createBlock as at, resolveDynamicComponent as nt, mergeProps as rt, toHandlers as lt, createSlots as ut, renderList as st, withCtx as ct, renderSlot as gt, normalizeProps as pt, guardReactiveProps as mt } from "vue";
|
|
2
|
-
import dt from "./BaseIcon-
|
|
2
|
+
import dt from "./BaseIcon-DpYqpYmv.js";
|
|
3
3
|
const Vt = {
|
|
4
4
|
key: 0,
|
|
5
5
|
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
@@ -37,65 +37,65 @@ const Vt = {
|
|
|
37
37
|
],
|
|
38
38
|
setup(N, { expose: G, emit: M }) {
|
|
39
39
|
const n = N, { component: W, dataset: X, config: Q } = J(n), u = {
|
|
40
|
-
VueUi3dBar: e(() => import("./vue-ui-3d-bar-
|
|
41
|
-
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-
|
|
42
|
-
VueUiAnnotator: e(() => import("./vue-ui-annotator-
|
|
43
|
-
VueUiCandlestick: e(() => import("./vue-ui-candlestick-
|
|
44
|
-
VueUiChestnut: e(() => import("./vue-ui-chestnut-
|
|
45
|
-
VueUiDashboard: e(() => import("./vue-ui-dashboard-
|
|
46
|
-
VueUiDigits: e(() => import("./vue-ui-digits-
|
|
47
|
-
VueUiDonut: e(() => import("./vue-ui-donut-
|
|
48
|
-
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-
|
|
49
|
-
VueUiGalaxy: e(() => import("./vue-ui-galaxy-
|
|
50
|
-
VueUiGauge: e(() => import("./vue-ui-gauge-
|
|
51
|
-
VueUiHeatmap: e(() => import("./vue-ui-heatmap-
|
|
52
|
-
VueUiKpi: e(() => import("./vue-ui-kpi-
|
|
53
|
-
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-
|
|
54
|
-
VueUiMolecule: e(() => import("./vue-ui-molecule-
|
|
55
|
-
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-
|
|
56
|
-
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-
|
|
57
|
-
VueUiOnion: e(() => import("./vue-ui-onion-
|
|
58
|
-
VueUiQuadrant: e(() => import("./vue-ui-quadrant-
|
|
59
|
-
VueUiRadar: e(() => import("./vue-ui-radar-
|
|
60
|
-
VueUiRating: e(() => import("./vue-ui-rating-
|
|
61
|
-
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-
|
|
62
|
-
VueUiRings: e(() => import("./vue-ui-rings-
|
|
63
|
-
VueUiScatter: e(() => import("./vue-ui-scatter-
|
|
64
|
-
VueUiScreenshot: e(() => import("./vue-ui-screenshot-
|
|
65
|
-
VueUiSkeleton: e(() => import("./vue-ui-skeleton-
|
|
66
|
-
VueUiSmiley: e(() => import("./vue-ui-smiley-
|
|
67
|
-
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-
|
|
68
|
-
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-
|
|
69
|
-
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-
|
|
70
|
-
VueUiSparkline: e(() => import("./vue-ui-sparkline-
|
|
71
|
-
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-
|
|
72
|
-
VueUiTable: e(() => import("./vue-ui-table-
|
|
73
|
-
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-
|
|
74
|
-
VueUiThermometer: e(() => import("./vue-ui-thermometer-
|
|
75
|
-
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-
|
|
76
|
-
VueUiTreemap: e(() => import("./vue-ui-treemap-
|
|
77
|
-
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-
|
|
78
|
-
VueUiWaffle: e(() => import("./vue-ui-waffle-
|
|
79
|
-
VueUiWheel: e(() => import("./vue-ui-wheel-
|
|
80
|
-
VueUiXy: e(() => import("./vue-ui-xy-
|
|
81
|
-
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-
|
|
82
|
-
VueUiAccordion: e(() => import("./vue-ui-accordion-
|
|
83
|
-
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-
|
|
84
|
-
VueUiCursor: e(() => import("./vue-ui-cursor-
|
|
85
|
-
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-
|
|
86
|
-
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-
|
|
87
|
-
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-
|
|
88
|
-
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-
|
|
89
|
-
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-
|
|
90
|
-
VueUiFlow: e(() => import("./vue-ui-flow-
|
|
91
|
-
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-
|
|
92
|
-
VueUiTimer: e(() => import("./vue-ui-timer-
|
|
93
|
-
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-
|
|
94
|
-
VueUiGizmo: e(() => import("./vue-ui-gizmo-
|
|
95
|
-
VueUiStackbar: e(() => import("./vue-ui-stackbar-
|
|
96
|
-
VueUiBullet: e(() => import("./vue-ui-bullet-
|
|
97
|
-
VueUiFunnel: e(() => import("./vue-ui-funnel-
|
|
98
|
-
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-
|
|
40
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-CkYhOmXF.js")),
|
|
41
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-DtQAo1-2.js")),
|
|
42
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-Yt34insl.js")),
|
|
43
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-CVJB9WMH.js")),
|
|
44
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-Dt3GLx3U.js")),
|
|
45
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-CB_W7yvi.js")),
|
|
46
|
+
VueUiDigits: e(() => import("./vue-ui-digits-Qn4l0R5o.js")),
|
|
47
|
+
VueUiDonut: e(() => import("./vue-ui-donut-t688YqqL.js")),
|
|
48
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-KdVsB3m_.js")),
|
|
49
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-K09M9SgI.js")),
|
|
50
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-Bg2V5WNl.js")),
|
|
51
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-CNPjaHGJ.js")),
|
|
52
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-C-5_TwY8.js")),
|
|
53
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-fZawewEF.js")),
|
|
54
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-pO5l42Vf.js")),
|
|
55
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-jbYjFZID.js")),
|
|
56
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-Bb5otIw_.js")),
|
|
57
|
+
VueUiOnion: e(() => import("./vue-ui-onion-BvQLUPjh.js")),
|
|
58
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-BiWyF1fA.js")),
|
|
59
|
+
VueUiRadar: e(() => import("./vue-ui-radar-BvWCcL2b.js")),
|
|
60
|
+
VueUiRating: e(() => import("./vue-ui-rating-CyGmfYEU.js")),
|
|
61
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-B3Df8yCi.js")),
|
|
62
|
+
VueUiRings: e(() => import("./vue-ui-rings-DEwuDHW2.js")),
|
|
63
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-BYL4iitb.js")),
|
|
64
|
+
VueUiScreenshot: e(() => import("./vue-ui-screenshot-D4aNIcHd.js")),
|
|
65
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-FCpm0_eE.js")),
|
|
66
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-BFXulKpd.js")),
|
|
67
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-C8cjDKBy.js")),
|
|
68
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-DRBVe3tu.js")),
|
|
69
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-iMRsSDvC.js")),
|
|
70
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-DIkUaObR.js")),
|
|
71
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-DJW1lBGU.js")),
|
|
72
|
+
VueUiTable: e(() => import("./vue-ui-table-7A1eCPQd.js")),
|
|
73
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-CV8o-yV6.js")),
|
|
74
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-M6QwKOld.js")),
|
|
75
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-CzLOyhXF.js")),
|
|
76
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-DF5BIKs-.js")),
|
|
77
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-bDcCcUy8.js")),
|
|
78
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-BR_HwmLy.js")),
|
|
79
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-DuO0nc0d.js")),
|
|
80
|
+
VueUiXy: e(() => import("./vue-ui-xy-Clf_sTRI.js")),
|
|
81
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-DqZsXcsO.js")),
|
|
82
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-xK9e3wkz.js")),
|
|
83
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-C1398EYu.js")),
|
|
84
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-D24bAdi0.js")),
|
|
85
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-D-13-kV6.js")),
|
|
86
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-hn1U9cvT.js")),
|
|
87
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-CS5kvI8A.js")),
|
|
88
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-Cv5bXF2B.js")),
|
|
89
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-BOJGw4H7.js")),
|
|
90
|
+
VueUiFlow: e(() => import("./vue-ui-flow-4sSoYnJt.js")),
|
|
91
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-_LH1iK_w.js")),
|
|
92
|
+
VueUiTimer: e(() => import("./vue-ui-timer-CoYF7LEU.js")),
|
|
93
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-IqZRrbo_.js")),
|
|
94
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-CdLxfJUw.js")),
|
|
95
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-BGUXEdZi.js")),
|
|
96
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-CCvwPwji.js")),
|
|
97
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-MD4lrv0t.js")),
|
|
98
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-DRwX7quj.js"))
|
|
99
99
|
}, $ = {
|
|
100
100
|
VueUi3dBar: ["config", "dataset"],
|
|
101
101
|
VueUiAgePyramid: ["config", "dataset"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Q=require("./BaseIcon-LzZNzC-k.cjs"),$={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},z={style:{width:"36px"}},K={__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(x,{expose:I,emit:E}){const i=x,{component:O,dataset:F,config:N}=e.toRefs(i),a={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-DDlb-MuY.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-CHGSEaYL.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-DscKLpfR.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-B-MDd1LY.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-po3Q45RU.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-8GtOSkNG.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits--crzD75Q.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-Dwj6Z2uH.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-BTjRUruR.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-BuUXwn_I.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-BOc5CHnJ.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-Dpkvl_Ed.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-Zd-IgqlU.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-VwxHEY37.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-hCAfUH98.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-CydQr5GI.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-BKxE58Uf.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-2oV8205I.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-B0GKCJxi.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-Dwf_8p6N.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-BDOEfGwV.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-DRLam0rk.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-BDxpRKWC.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-CE4pfpCN.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-CqC7uqTW.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-4l6lQhDp.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-jR415Iqn.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-BzisE3ts.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-COCtEmhT.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-C7PY45w0.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-Be1dXlA9.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CCzIqHBf.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-BEuRL3NS.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-vlSwSjCF.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-B-8wcBPG.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-CEK5-Ion.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-5eXs9Afh.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-CkJXkGAm.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-C1O7clHR.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-BwDaKdAT.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-BzclkAin.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-DYcIN8JK.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-8uz6O0zN.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-B42AMm4R.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-CplxbFXK.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-D9vaq6qF.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-BfXCXnmQ.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell--pSKj1Dz.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-DK01KwNg.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-CKTkd0NL.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-CwrDsVw9.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-DYvaWzwb.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-DsJk28Ny.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-paujUY-0.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-as4zcurL.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-ByDUWOyZ.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-DYMpXNE_.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-M6CIcOHV.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-BDKbSvlu.cjs")))},M={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"]},u=e.computed(()=>!a[i.component]),G=e.computed(()=>a[i.component]||null),t=e.ref(null),W=e.computed(()=>{const o=M[i.component]||[],n={};return o.includes("config")&&(n.config=N.value),o.includes("dataset")&&(n.dataset=F.value),n}),c=e.ref(()=>null),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),U=e.ref(()=>null),v=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),A=e.ref(()=>null),C=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),S=e.ref(()=>null),k=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),H=e.ref(()=>null),L=e.ref(()=>null),_=e.ref(()=>null);e.onMounted(()=>{if(u.value)throw new Error(`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Q=require("./BaseIcon-zXh1vLYa.cjs"),$={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},z={style:{width:"36px"}},K={__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(x,{expose:I,emit:E}){const i=x,{component:O,dataset:F,config:N}=e.toRefs(i),a={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-BEjtuA39.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-x5CjkABf.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-DqDELeOR.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-Cb7CgmeV.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-ojvaZyue.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-DVf1sULB.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-CVAyG4kM.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-Cgvksx9U.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-DWdf8MKP.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-B9KiEfI4.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-DaR_viLn.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-DhgJ3LO9.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-Cnrfv2vn.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-uBFny7gt.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-BOClRlY3.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-CiMiQJuS.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-IArnFfHY.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-SKVqk7rN.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-7jB46g4Z.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-BYk3bLkt.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-jKjMQHRN.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-CZomraV2.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-L8pGRQbs.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-BfI6xftp.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-Cf8g-RjG.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-BGfzzQdU.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-mjxS_13E.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-BlA1rgRo.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-C4sFc7nb.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-CkqzLBYq.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-C0JZ7Xq1.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-DJbWCqs3.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-DFvOQzJu.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-5mX0B27t.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-BwLTfi7y.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-DAFNYvB1.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-CutiBRIN.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-D-ZZAU0r.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-CCO3ZHyo.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-Cvcfc6o1.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-Cqb73yZ3.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-ZnkAoAkQ.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-ClQObElI.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-79l8Uv8o.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-Cbi7OUiE.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-B2SOk378.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-DJTQ8r5H.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-DxMZm_Xi.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-BknJQRiM.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-7OwcP1-L.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-In-tHpYL.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-CeqeyIHj.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-QypGImgW.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-CkJngi1u.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-7Hv-0fsh.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-BtOrW2Ml.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-DSPQ5yWt.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-MXYMVu1G.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-DZOYwPTh.cjs")))},M={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"]},u=e.computed(()=>!a[i.component]),G=e.computed(()=>a[i.component]||null),t=e.ref(null),W=e.computed(()=>{const o=M[i.component]||[],n={};return o.includes("config")&&(n.config=N.value),o.includes("dataset")&&(n.dataset=F.value),n}),c=e.ref(()=>null),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),U=e.ref(()=>null),v=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),A=e.ref(()=>null),C=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),S=e.ref(()=>null),k=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),H=e.ref(()=>null),L=e.ref(()=>null),_=e.ref(()=>null);e.onMounted(()=>{if(u.value)throw new 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--lHmCKjC.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.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.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.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;
|