vue-data-ui 2.6.45 → 2.6.47
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-Bfwl8OAb.cjs → Arrow-CRrMt_zT.cjs} +1 -1
- package/dist/{Arrow-km8WlE5f.js → Arrow-Dvz6Z2gU.js} +1 -1
- package/dist/{BaseIcon-DywZoZmD.js → BaseIcon-CEgQPz8O.js} +6 -3
- package/dist/{BaseIcon-BjlTm9wZ.cjs → BaseIcon-DoqpR480.cjs} +1 -1
- package/dist/{ColorPicker-COPqu9IV.cjs → ColorPicker-Bp_7FV2c.cjs} +1 -1
- package/dist/{ColorPicker-gkZLlxzP.js → ColorPicker-DwezDvSV.js} +3 -3
- package/dist/{DataTable-CrhPpuOy.js → DataTable-751-cN2c.js} +2 -2
- package/dist/{DataTable-ImmHVJ0i.cjs → DataTable-D_Guh5Hf.cjs} +1 -1
- package/dist/{Legend-BVtJaKHS.js → Legend-BG9fLat9.js} +2 -2
- package/dist/{Legend-CfimXfYH.cjs → Legend-CepYsC9r.cjs} +1 -1
- package/dist/{PackageVersion-DjHCw2D_.cjs → PackageVersion-D8T0gm3t.cjs} +1 -1
- package/dist/{PackageVersion-DJu8NH8u.js → PackageVersion-SrpgZayt.js} +1 -1
- package/dist/{PenAndPaper-AZpGBe7x.cjs → PenAndPaper-BJ6gGBM2.cjs} +1 -1
- package/dist/{PenAndPaper-DC3X33rh.js → PenAndPaper-jnD991LP.js} +3 -3
- package/dist/{Shape-Bs4vWaC-.js → Shape-BaijOBYT.js} +1 -1
- package/dist/{Shape-Dl6kIG9D.cjs → Shape-og7-ULyN.cjs} +1 -1
- package/dist/{Slicer-OBTv9I2-.cjs → Slicer-B4ZDkwnQ.cjs} +1 -1
- package/dist/{Slicer-CgnhZJgM.js → Slicer-COHzItjq.js} +3 -3
- package/dist/{Title-DBgUbEU1.cjs → Title-BUnn57ZR.cjs} +1 -1
- package/dist/{Title-6BRNasyb.js → Title-DMhhB9yN.js} +1 -1
- package/dist/{Tooltip-BUPxcljs.js → Tooltip-BaPecnnV.js} +1 -1
- package/dist/{Tooltip-TGHDsCSU.cjs → Tooltip-DJtOxx2P.cjs} +1 -1
- package/dist/index-DEbhC0cM.cjs +9 -0
- package/dist/{index-jVWdGfFl.js → index-KdQpiTkm.js} +3 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +6 -1
- package/dist/types/vue-data-ui.d.ts +6 -1
- package/dist/{useNestedProp-BN5jbfiQ.js → useNestedProp-CO8Pe266.js} +1 -1
- package/dist/{useNestedProp-DhyCNtMY.cjs → useNestedProp-COYn8tA0.cjs} +1 -1
- package/dist/{usePrinter-BI95cSFJ.js → usePrinter-BuiF8wZK.js} +1 -1
- package/dist/{usePrinter-DRWBcwQ7.cjs → usePrinter-DRmOwFc2.cjs} +1 -1
- package/dist/useResponsive-Cw4oZ8sQ.js +192 -0
- package/dist/useResponsive-DQmBAoBf.cjs +1 -0
- package/dist/{vue-data-ui-DFmsvz9E.js → vue-data-ui-3jkYjNO_.js} +61 -61
- package/dist/{vue-data-ui-B0eO9goE.cjs → vue-data-ui-BbpJaKj_.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BcdL4c9H.js → vue-ui-3d-bar-Bda7eCM_.js} +9 -9
- package/dist/{vue-ui-3d-bar-CwXgNWXb.cjs → vue-ui-3d-bar-D7_7INdZ.cjs} +1 -1
- package/dist/{vue-ui-accordion-DOBMerZl.js → vue-ui-accordion-CDTJiQu0.js} +3 -3
- package/dist/{vue-ui-accordion-DdHwnq9o.cjs → vue-ui-accordion-ChxVn9CH.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-i52Ub253.cjs → vue-ui-age-pyramid-C-5yJnWs.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Dtaikxqn.js → vue-ui-age-pyramid-C4FUVgL1.js} +11 -11
- package/dist/{vue-ui-annotator-BrjeA9CQ.js → vue-ui-annotator-pYtolxGn.js} +1 -1
- package/dist/{vue-ui-annotator-CKUZCHHC.cjs → vue-ui-annotator-yLvZcOQb.cjs} +1 -1
- package/dist/{vue-ui-bullet-DxUauLaF.cjs → vue-ui-bullet-BVmbUAYh.cjs} +1 -1
- package/dist/{vue-ui-bullet-C1xxCzws.js → vue-ui-bullet-oEZK6DxU.js} +8 -8
- package/dist/{vue-ui-candlestick-t1BaVylo.cjs → vue-ui-candlestick-CVM-Yvvm.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CPF7rQqu.js → vue-ui-candlestick-Cm0ipv0t.js} +12 -12
- package/dist/{vue-ui-carousel-table-BqPfItK8.cjs → vue-ui-carousel-table-BGPWwg3x.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-x8RLpKZv.js → vue-ui-carousel-table-PcE7YCyE.js} +4 -4
- package/dist/{vue-ui-chestnut-BiX9TQ2v.cjs → vue-ui-chestnut-CeYVXtyW.cjs} +1 -1
- package/dist/{vue-ui-chestnut-SdFREl6l.js → vue-ui-chestnut-Ob9Rt-3r.js} +8 -8
- package/dist/{vue-ui-circle-pack-DVkRm1KL.js → vue-ui-circle-pack-BF0PBuDU.js} +10 -10
- package/dist/{vue-ui-circle-pack-B28TVLHQ.cjs → vue-ui-circle-pack-pbnF0Jb7.cjs} +1 -1
- package/dist/{vue-ui-cursor-BkQNdavl.cjs → vue-ui-cursor-DE4hlTca.cjs} +1 -1
- package/dist/{vue-ui-cursor-CY5VZS8t.js → vue-ui-cursor-Drnazkqg.js} +2 -2
- package/dist/{vue-ui-dashboard-BCcNNuM_.cjs → vue-ui-dashboard-D3-z2poA.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DQ8lax7M.js → vue-ui-dashboard-j5IuBHiv.js} +2 -2
- package/dist/{vue-ui-digits-BkXEbzlS.js → vue-ui-digits-BRMuUzSA.js} +2 -2
- package/dist/{vue-ui-digits-D-F0Chxn.cjs → vue-ui-digits-CD5-WopZ.cjs} +1 -1
- package/dist/{vue-ui-donut-qRDAQa4n.js → vue-ui-donut-CdVSree_.js} +229 -219
- package/dist/vue-ui-donut-Dq1F2vBg.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C8ZQum6h.cjs → vue-ui-donut-evolution-BQ7-rOnh.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-YKmsjVkR.js → vue-ui-donut-evolution-DzrJwccW.js} +11 -11
- package/dist/{vue-ui-dumbbell-bOMg4szX.cjs → vue-ui-dumbbell-DSdwbWLI.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-C6OpTSyF.js → vue-ui-dumbbell-DuCdZc41.js} +11 -11
- package/dist/{vue-ui-flow-aIpHJK9l.js → vue-ui-flow-CYpiRQ_u.js} +9 -9
- package/dist/{vue-ui-flow-Bnj7K0Td.cjs → vue-ui-flow-D_UgsB9t.cjs} +1 -1
- package/dist/{vue-ui-funnel-Ckn6d97S.js → vue-ui-funnel-6q79enxr.js} +10 -10
- package/dist/{vue-ui-funnel-CapST2C3.cjs → vue-ui-funnel-Dr4ssgIM.cjs} +1 -1
- package/dist/{vue-ui-galaxy-FIQp4ePf.cjs → vue-ui-galaxy-BGxIGzn8.cjs} +1 -1
- package/dist/{vue-ui-galaxy-0p-jvo0s.js → vue-ui-galaxy-Bg-3xnWe.js} +11 -11
- package/dist/{vue-ui-gauge-CtzP0_kK.js → vue-ui-gauge-Cwhlraja.js} +8 -8
- package/dist/{vue-ui-gauge-C1QU2678.cjs → vue-ui-gauge-DGt25KK7.cjs} +1 -1
- package/dist/{vue-ui-gizmo-D6E03WtQ.cjs → vue-ui-gizmo-C0024J7B.cjs} +1 -1
- package/dist/{vue-ui-gizmo--TFv_z_f.js → vue-ui-gizmo-VRONxCxp.js} +3 -3
- package/dist/{vue-ui-heatmap-DQ_4z6a6.cjs → vue-ui-heatmap-CTwazjkR.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Bx9RCECY.js → vue-ui-heatmap-ay3NAawN.js} +10 -10
- package/dist/{vue-ui-history-plot-OlxcB4fR.js → vue-ui-history-plot-BQ_2NZVm.js} +12 -12
- package/dist/{vue-ui-history-plot-BNybvrYe.cjs → vue-ui-history-plot-B_IHuJff.cjs} +1 -1
- package/dist/{vue-ui-kpi-D-EjjlYh.js → vue-ui-kpi-BGSgE7Ck.js} +3 -3
- package/dist/{vue-ui-kpi-DhsQdhIg.cjs → vue-ui-kpi-BtHmGmj6.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-gsh0jMbc.cjs → vue-ui-mini-loader-Bwe3_hqy.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CYRJtuw3.js → vue-ui-mini-loader-DyRqUv0j.js} +2 -2
- package/dist/{vue-ui-molecule-K4PM7UqE.cjs → vue-ui-molecule-Cy_P0hK2.cjs} +1 -1
- package/dist/{vue-ui-molecule-Dke-JabR.js → vue-ui-molecule-gJVbPM60.js} +10 -10
- package/dist/{vue-ui-mood-radar-CnR7mp7Z.cjs → vue-ui-mood-radar-BxFd74g3.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-sXLyAWIK.js → vue-ui-mood-radar-DAYJLwXw.js} +11 -11
- package/dist/vue-ui-nested-donuts-DP_cQ0OI.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CJ9r-x9P.js → vue-ui-nested-donuts-r67jsUHC.js} +221 -211
- package/dist/{vue-ui-onion-CVRrdFde.js → vue-ui-onion-C-d1e3w2.js} +12 -12
- package/dist/{vue-ui-onion-DM-jq72Y.cjs → vue-ui-onion-CR4UoiPQ.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DMouPTwE.cjs → vue-ui-parallel-coordinate-plot-DVltec37.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DLVjGpqC.js → vue-ui-parallel-coordinate-plot-FRhJ4mby.js} +13 -13
- package/dist/{vue-ui-quadrant-BGuywSpy.js → vue-ui-quadrant-BKWD8HER.js} +13 -13
- package/dist/{vue-ui-quadrant-CXFcrSRD.cjs → vue-ui-quadrant-D-vSAn7m.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-9R835dAy.cjs → vue-ui-quick-chart-Bbcex3jc.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-D_ZSUMnh.js → vue-ui-quick-chart-Cy3FCnd-.js} +10 -10
- package/dist/{vue-ui-radar-CGSB8Q_3.cjs → vue-ui-radar-BHCghGVU.cjs} +1 -1
- package/dist/{vue-ui-radar-CrF3XMq8.js → vue-ui-radar-BX_7Ngn_.js} +13 -13
- package/dist/{vue-ui-rating-DCH03Nd-.js → vue-ui-rating-CM6YiPW3.js} +2 -2
- package/dist/{vue-ui-rating-BiwEz-WI.cjs → vue-ui-rating-JhzvmHjC.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-D7sKIx2H.cjs → vue-ui-relation-circle-BPhcc_fN.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CFB3nQrw.js → vue-ui-relation-circle-JTWFex69.js} +8 -8
- package/dist/{vue-ui-rings-CMzJJbL7.cjs → vue-ui-rings-CzXIKikH.cjs} +1 -1
- package/dist/{vue-ui-rings-CDFQgsVL.js → vue-ui-rings-NBAca-G8.js} +13 -13
- package/dist/{vue-ui-scatter-CYweE3aN.js → vue-ui-scatter-5SJ4F605.js} +13 -13
- package/dist/{vue-ui-scatter-Cpc9LK6H.cjs → vue-ui-scatter-DCunyG-E.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BRY1fQOv.js → vue-ui-screenshot-DPm6Bpiq.js} +1 -1
- package/dist/{vue-ui-screenshot-BA27Irge.cjs → vue-ui-screenshot-q3DSJ00h.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Dsd0bx0Y.js → vue-ui-skeleton-BhHXiz99.js} +3 -3
- package/dist/{vue-ui-skeleton-CLMRPxZm.cjs → vue-ui-skeleton-D7S6OsSN.cjs} +1 -1
- package/dist/{vue-ui-smiley-CNnxNaGC.cjs → vue-ui-smiley-CQE1dvvV.cjs} +1 -1
- package/dist/{vue-ui-smiley-CeC-WFLx.js → vue-ui-smiley-Cb8d713r.js} +2 -2
- package/dist/{vue-ui-spark-trend-liGslvUe.cjs → vue-ui-spark-trend-7Bo9O1fQ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-C8FlaTDz.js → vue-ui-spark-trend-BVNEGhp9.js} +5 -5
- package/dist/{vue-ui-sparkbar-BjCkuYB0.js → vue-ui-sparkbar-BbOu_w63.js} +4 -4
- package/dist/{vue-ui-sparkbar-DTUuvjOA.cjs → vue-ui-sparkbar-qAaHy4or.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BBJvgM0r.js → vue-ui-sparkgauge-BwNM15jl.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BEL_6k7M.cjs → vue-ui-sparkgauge-ddRVuzSQ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B12f_DfZ.cjs → vue-ui-sparkhistogram-C8E73uuw.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DgRpgf4S.js → vue-ui-sparkhistogram-DhJ72P8O.js} +5 -5
- package/dist/{vue-ui-sparkline-CgNq3TDg.cjs → vue-ui-sparkline-C6wkmXa0.cjs} +1 -1
- package/dist/{vue-ui-sparkline-COtgfnKN.js → vue-ui-sparkline-m3nNPKwo.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-3qtBnVN-.js → vue-ui-sparkstackbar-B71Vue4E.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-JgTWCear.cjs → vue-ui-sparkstackbar-CJyCwn7x.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BIQOmKWQ.cjs → vue-ui-stackbar-6W0SjyLd.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BzWMNHEl.js → vue-ui-stackbar-CL7KXBrn.js} +14 -14
- package/dist/{vue-ui-strip-plot-Pr-p3HVe.cjs → vue-ui-strip-plot-D10qNzJu.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-B5yz7F4O.js → vue-ui-strip-plot-T99zioSX.js} +12 -12
- package/dist/{vue-ui-table-DfzIKXYz.js → vue-ui-table-CCrE_Qnd.js} +1 -1
- package/dist/{vue-ui-table-Da8yPHbm.cjs → vue-ui-table-Cva4CGRJ.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-B42LEDQq.js → vue-ui-table-heatmap-CQbPKFW_.js} +4 -4
- package/dist/{vue-ui-table-heatmap-m9WunlMI.cjs → vue-ui-table-heatmap-GOsIhgPo.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-D87wVYbh.cjs → vue-ui-table-sparkline-AIunqOTn.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-D0NpqAlx.js → vue-ui-table-sparkline-CHtZhhn6.js} +5 -5
- package/dist/{vue-ui-thermometer-CLrrfpCH.js → vue-ui-thermometer-CCVPdXye.js} +7 -7
- package/dist/{vue-ui-thermometer-CpaWOGHr.cjs → vue-ui-thermometer-CGAA0bAU.cjs} +1 -1
- package/dist/{vue-ui-timer-DJ3N2OIu.cjs → vue-ui-timer-C3detaHT.cjs} +1 -1
- package/dist/{vue-ui-timer-ruhqlCDV.js → vue-ui-timer-Djxb8XuU.js} +6 -6
- package/dist/{vue-ui-tiremarks-By-ZwLdD.cjs → vue-ui-tiremarks-D-xQKhur.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-B1PaJvW_.js → vue-ui-tiremarks-DExuaGwV.js} +7 -7
- package/dist/vue-ui-treemap-BXWbdL3o.cjs +1 -0
- package/dist/vue-ui-treemap-Dnn29Qdu.js +956 -0
- package/dist/{vue-ui-vertical-bar-D51OT6tD.cjs → vue-ui-vertical-bar-3V-J4-Qp.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Bi_p2HMG.js → vue-ui-vertical-bar-B9-cwCz2.js} +13 -13
- package/dist/{vue-ui-waffle-D_OFNFu_.js → vue-ui-waffle-BH4NkBmK.js} +13 -13
- package/dist/{vue-ui-waffle-BRFWNTTy.cjs → vue-ui-waffle-by6o3KnD.cjs} +1 -1
- package/dist/{vue-ui-wheel-Dm-sn-fc.js → vue-ui-wheel-D2BqDvNB.js} +8 -8
- package/dist/{vue-ui-wheel-C_0xODX0.cjs → vue-ui-wheel-DWNHihoO.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-WO_xGFwd.js → vue-ui-word-cloud-Bpyn_t-K.js} +11 -11
- package/dist/{vue-ui-word-cloud-CpbPC0k6.cjs → vue-ui-word-cloud-DvXgJCIv.cjs} +1 -1
- package/dist/{vue-ui-xy-DYGsBFzv.js → vue-ui-xy-CuLfvdAU.js} +14 -14
- package/dist/{vue-ui-xy-canvas-SpUUvBPW.js → vue-ui-xy-canvas-BK3C3PqR.js} +13 -13
- package/dist/{vue-ui-xy-canvas-DCFJnGtu.cjs → vue-ui-xy-canvas-bysKB96p.cjs} +1 -1
- package/dist/{vue-ui-xy-ArWU04zz.cjs → vue-ui-xy-luOYkYWO.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-BXhJaCcU.cjs +0 -9
- package/dist/useResponsive-N8jl0-aC.cjs +0 -1
- package/dist/useResponsive-vZgZwV-S.js +0 -191
- package/dist/vue-ui-donut-Dxie1WUb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DW1Zx5R0.cjs +0 -17
- package/dist/vue-ui-treemap-B3_lUi3B.js +0 -939
- package/dist/vue-ui-treemap-DX_oIHsl.cjs +0 -1
|
@@ -1152,7 +1152,10 @@ declare module "vue-data-ui" {
|
|
|
1152
1152
|
| "vueDataUi"
|
|
1153
1153
|
| "zoomMinus"
|
|
1154
1154
|
| "zoomPlus"
|
|
1155
|
-
| "home"
|
|
1155
|
+
| "home"
|
|
1156
|
+
| "homeFilled"
|
|
1157
|
+
| "icons"
|
|
1158
|
+
| "robot";
|
|
1156
1159
|
|
|
1157
1160
|
export const VueUiIcon: DefineComponent<{
|
|
1158
1161
|
name: VueUiIconName;
|
|
@@ -2916,6 +2919,7 @@ declare module "vue-data-ui" {
|
|
|
2916
2919
|
gradientIntensity?: number;
|
|
2917
2920
|
backgroundColor?: string;
|
|
2918
2921
|
color?: string;
|
|
2922
|
+
padding?: ChartPadding;
|
|
2919
2923
|
layout?: {
|
|
2920
2924
|
curvedMarkers?: boolean;
|
|
2921
2925
|
labels?: {
|
|
@@ -3094,6 +3098,7 @@ declare module "vue-data-ui" {
|
|
|
3094
3098
|
gradientIntensity?: number;
|
|
3095
3099
|
backgroundColor?: string;
|
|
3096
3100
|
color?: string;
|
|
3101
|
+
padding?: ChartPadding;
|
|
3097
3102
|
layout?: {
|
|
3098
3103
|
labels?: {
|
|
3099
3104
|
dataLabels?: {
|
|
@@ -1152,7 +1152,10 @@ declare module "vue-data-ui" {
|
|
|
1152
1152
|
| "vueDataUi"
|
|
1153
1153
|
| "zoomMinus"
|
|
1154
1154
|
| "zoomPlus"
|
|
1155
|
-
| "home"
|
|
1155
|
+
| "home"
|
|
1156
|
+
| "homeFilled"
|
|
1157
|
+
| "icons"
|
|
1158
|
+
| "robot";
|
|
1156
1159
|
|
|
1157
1160
|
export const VueUiIcon: DefineComponent<{
|
|
1158
1161
|
name: VueUiIconName;
|
|
@@ -2916,6 +2919,7 @@ declare module "vue-data-ui" {
|
|
|
2916
2919
|
gradientIntensity?: number;
|
|
2917
2920
|
backgroundColor?: string;
|
|
2918
2921
|
color?: string;
|
|
2922
|
+
padding?: ChartPadding;
|
|
2919
2923
|
layout?: {
|
|
2920
2924
|
curvedMarkers?: boolean;
|
|
2921
2925
|
labels?: {
|
|
@@ -3094,6 +3098,7 @@ declare module "vue-data-ui" {
|
|
|
3094
3098
|
gradientIntensity?: number;
|
|
3095
3099
|
backgroundColor?: string;
|
|
3096
3100
|
color?: string;
|
|
3101
|
+
padding?: ChartPadding;
|
|
3097
3102
|
layout?: {
|
|
3098
3103
|
labels?: {
|
|
3099
3104
|
dataLabels?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-DEbhC0cM.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,5 +1,5 @@
|
|
|
1
1
|
import { ref as b, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as Y, createElementBlock as i, openBlock as t, normalizeStyle as d, createElementVNode as V, withKeys as Z, withModifiers as p, renderSlot as c, normalizeProps as E, guardReactiveProps as _, createVNode as ee, normalizeClass as y, createCommentVNode as u, Fragment as h, createBlock as f, toDisplayString as $, mergeProps as P, unref as te } from "vue";
|
|
2
|
-
import a from "./BaseIcon-
|
|
2
|
+
import a from "./BaseIcon-CEgQPz8O.js";
|
|
3
3
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const ne = {
|
|
5
5
|
beforeMount(e, C) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./BaseIcon-BjlTm9wZ.cjs"),D=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A={beforeMount(t,k){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||k.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},L=["title"],w=["data-open"],X={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:"right"},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:k}){const s=t,r=k;function d(){r("generatePdf")}function m(){r("generateCsv")}function v(){r("generateImage")}const g=e.ref(!1);function B(){g.value=!g.value,r("toggleTable")}const u=e.ref(!1),M=e.ref(!0);function h(){c.value=window.innerWidth>600,u.value=!u.value,u.value&&(M.value=!1)}function T(){s.isPrinting||s.isImaging||(u.value=!1)}function F(){u.value&&T()}const C=e.ref(s.isLabelActive);function I(){C.value=!C.value,r("toggleLabels")}const b=e.ref(s.isAnimation);function E(){b.value=!b.value,r("toggleAnimation")}const y=e.computed({get:()=>s.isAnnotation,set:l=>l});function z(){y.value=!y.value,r("toggleAnnotator")}function P(){r("toggleSort")}const $=e.ref(s.isStacked);function p(){$.value=!$.value,r("toggleStack")}const S=e.ref(s.isTooltip);function O(){S.value=!S.value,r("toggleTooltip")}const f=e.ref(!1);function N(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),r("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),r("toggleFullscreen",!1)))}function V(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",V)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",V)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:u.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(h,["stop"]),onKeypress:e.withKeys(h,["enter"])},[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:u.value,color:t.color})),()=>[e.createVNode(a.default,{name:u.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],!0)],44,L),e.createElementVNode("div",{"data-open":u.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:O,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[S.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:m,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:B,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:C.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>N(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:N,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:E},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:E,isAnimated:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:z},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:z,isAnnotator:y.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[y.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),y.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,w)],4)),[[e.unref(A),F]])}},q=D._export_sfc(X,[["__scopeId","data-v-0926bd71"]]);function U({elementId:t,fileName:k,canPrint:s=!0,options:r}){const d=e.ref(!1),m=e.ref(!1),v=e.ref(null);async function g(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:u}=await Promise.resolve().then(()=>require("./pdf-BpXLKlRx.cjs"));await u({domElement:document.getElementById(t),fileName:k,options:r})}catch(u){console.error("Error generating PDF:",u)}finally{d.value=!1}},100))}async function B(){!s||m.value||(m.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:u}=await Promise.resolve().then(()=>require("./img-D6uvziU0.cjs"));await u({domElement:document.getElementById(t),fileName:k,format:"png",options:r})}catch(u){console.error("Error generating image:",u)}finally{m.value=!1}},100))}return{generatePdf:g,generateImage:B,isPrinting:d,isImaging:m}}exports.UserOptions=q;exports.usePrinter=U;exports.vClickOutside=A;
|
|
1
|
+
"use strict";const e=require("vue"),a=require("./BaseIcon-DoqpR480.cjs"),D=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A={beforeMount(t,k){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||k.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},L=["title"],w=["data-open"],X={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:"right"},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:k}){const s=t,r=k;function d(){r("generatePdf")}function m(){r("generateCsv")}function v(){r("generateImage")}const g=e.ref(!1);function B(){g.value=!g.value,r("toggleTable")}const u=e.ref(!1),M=e.ref(!0);function h(){c.value=window.innerWidth>600,u.value=!u.value,u.value&&(M.value=!1)}function T(){s.isPrinting||s.isImaging||(u.value=!1)}function F(){u.value&&T()}const C=e.ref(s.isLabelActive);function I(){C.value=!C.value,r("toggleLabels")}const b=e.ref(s.isAnimation);function E(){b.value=!b.value,r("toggleAnimation")}const y=e.computed({get:()=>s.isAnnotation,set:l=>l});function z(){y.value=!y.value,r("toggleAnnotator")}function P(){r("toggleSort")}const $=e.ref(s.isStacked);function p(){$.value=!$.value,r("toggleStack")}const S=e.ref(s.isTooltip);function O(){S.value=!S.value,r("toggleTooltip")}const f=e.ref(!1);function N(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),r("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),r("toggleFullscreen",!1)))}function V(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",V)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",V)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:u.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(h,["stop"]),onKeypress:e.withKeys(h,["enter"])},[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:u.value,color:t.color})),()=>[e.createVNode(a.default,{name:u.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],!0)],44,L),e.createElementVNode("div",{"data-open":u.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:O,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[S.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:m,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:B,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:C.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>N(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:N,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:E},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:E,isAnimated:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:z},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:z,isAnnotator:y.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[y.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),y.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,w)],4)),[[e.unref(A),F]])}},q=D._export_sfc(X,[["__scopeId","data-v-0926bd71"]]);function U({elementId:t,fileName:k,canPrint:s=!0,options:r}){const d=e.ref(!1),m=e.ref(!1),v=e.ref(null);async function g(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:u}=await Promise.resolve().then(()=>require("./pdf-BpXLKlRx.cjs"));await u({domElement:document.getElementById(t),fileName:k,options:r})}catch(u){console.error("Error generating PDF:",u)}finally{d.value=!1}},100))}async function B(){!s||m.value||(m.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:u}=await Promise.resolve().then(()=>require("./img-D6uvziU0.cjs"));await u({domElement:document.getElementById(t),fileName:k,format:"png",options:r})}catch(u){console.error("Error generating image:",u)}finally{m.value=!1}},100))}return{generatePdf:g,generateImage:B,isPrinting:d,isImaging:m}}exports.UserOptions=q;exports.usePrinter=U;exports.vClickOutside=A;
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
function m(e, i, t, o = {}) {
|
|
2
|
+
if (t <= 0) return;
|
|
3
|
+
e.save();
|
|
4
|
+
const {
|
|
5
|
+
color: s = "black",
|
|
6
|
+
lineWidth: w = 1,
|
|
7
|
+
lineCap: f = "round",
|
|
8
|
+
lineJoin: r = "round",
|
|
9
|
+
lineDash: g = null,
|
|
10
|
+
lineDashoffset: a = 0,
|
|
11
|
+
shadowColor: l = null,
|
|
12
|
+
shadowBlur: h = 0,
|
|
13
|
+
shadowOffsetX: y = 0,
|
|
14
|
+
shadowOffsetY: u = 0,
|
|
15
|
+
fillStyle: N = "#FFFFFF"
|
|
16
|
+
} = o;
|
|
17
|
+
e.beginPath(), e.arc(i.x, i.y, t, 0, 2 * Math.PI), e.strokeStyle = s, e.lineWidth = w, e.lineCap = f, e.lineJoin = r, g && (e.setLineDash(g), e.lineDashoffset = a), l && (e.shadowColor = l, e.shadowOffsetX = y, e.shadowOffsetY = u), h && (e.shadowBlur = h), N && (e.fillStyle = N), e.fillStyle && e.fill(), e.stroke(), e.restore();
|
|
18
|
+
}
|
|
19
|
+
function L(e, i, t = {}) {
|
|
20
|
+
if (!i.length) return;
|
|
21
|
+
e.save();
|
|
22
|
+
const {
|
|
23
|
+
color: o = "black",
|
|
24
|
+
lineWidth: s = 1,
|
|
25
|
+
lineCap: w = "round",
|
|
26
|
+
lineJoin: f = "round",
|
|
27
|
+
lineDash: r = null,
|
|
28
|
+
lineDashoffset: g = 0,
|
|
29
|
+
shadowColor: a = null,
|
|
30
|
+
shadowBlur: l = 0,
|
|
31
|
+
shadowOffsetX: h = 0,
|
|
32
|
+
shadowOffsetY: y = 0
|
|
33
|
+
} = t;
|
|
34
|
+
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
35
|
+
for (let u = 1; u < i.length; u += 1)
|
|
36
|
+
e.lineTo(i[u].x, i[u].y);
|
|
37
|
+
e.strokeStyle = o, e.lineWidth = s, e.lineCap = w, e.lineJoin = f, r && (e.setLineDash(r), e.lineDashoffset = g), a && (e.shadowColor = a, e.shadowOffsetX = h, e.shadowOffsetY = y), l && (e.shadowBlur = l), e.stroke(), e.restore();
|
|
38
|
+
}
|
|
39
|
+
function I(e, i, t = {}) {
|
|
40
|
+
if (!i.length) return;
|
|
41
|
+
e.save();
|
|
42
|
+
const {
|
|
43
|
+
strokeColor: o = "black",
|
|
44
|
+
lineWidth: s = 1,
|
|
45
|
+
lineCap: w = "round",
|
|
46
|
+
lineJoin: f = "round",
|
|
47
|
+
lineDash: r = null,
|
|
48
|
+
lineDashoffset: g = 0,
|
|
49
|
+
fillColor: a = null,
|
|
50
|
+
gradient: l = null,
|
|
51
|
+
shadowColor: h = null,
|
|
52
|
+
shadowBlur: y = 0,
|
|
53
|
+
shadowOffsetX: u = 0,
|
|
54
|
+
shadowOffsetY: N = 0
|
|
55
|
+
} = t;
|
|
56
|
+
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
57
|
+
for (let n = 1; n < i.length; n += 1)
|
|
58
|
+
e.lineTo(i[n].x, i[n].y);
|
|
59
|
+
if (e.closePath(), e.strokeStyle = o, e.lineWidth = s, e.lineCap = w, e.lineJoin = f, r && (e.setLineDash(r), e.lineDashoffset = g), h && (e.shadowColor = h, e.shadowBlur = y, e.shadowOffsetX = u, e.shadowOffsetY = N), l) {
|
|
60
|
+
let n;
|
|
61
|
+
l.type === "linear" ? n = e.createLinearGradient(
|
|
62
|
+
d(l.start.x, Number.MIN_VALUE),
|
|
63
|
+
d(l.start.y, Number.MIN_VALUE),
|
|
64
|
+
d(l.end.x, Number.MIN_VALUE * 2),
|
|
65
|
+
d(l.end.y, Number.MIN_VALUE * 2)
|
|
66
|
+
) : l.type === "radial" && (n = e.createRadialGradient(
|
|
67
|
+
d(l.start.x, Number.MIN_VALUE),
|
|
68
|
+
d(l.start.y, Number.MIN_VALUE),
|
|
69
|
+
l.start.r || 0,
|
|
70
|
+
d(l.end.x, Number.MIN_VALUE * 2),
|
|
71
|
+
d(l.end.y, Number.MIN_VALUE * 2),
|
|
72
|
+
l.end.r || 0
|
|
73
|
+
)), n && l.stops && (l.stops.forEach((b) => {
|
|
74
|
+
n.addColorStop(b.offset, b.color);
|
|
75
|
+
}), e.fillStyle = n);
|
|
76
|
+
} else a && (e.fillStyle = a);
|
|
77
|
+
e.fillStyle && e.fill(), o && e.stroke(), e.restore();
|
|
78
|
+
}
|
|
79
|
+
function O(e, i, t = {}) {
|
|
80
|
+
if (!i.length) return;
|
|
81
|
+
e.save();
|
|
82
|
+
const {
|
|
83
|
+
strokeColor: o = "black",
|
|
84
|
+
lineWidth: s = 1,
|
|
85
|
+
lineCap: w = "round",
|
|
86
|
+
lineJoin: f = "round",
|
|
87
|
+
lineDash: r = null,
|
|
88
|
+
lineDashoffset: g = 0,
|
|
89
|
+
fillColor: a = null,
|
|
90
|
+
gradient: l = null,
|
|
91
|
+
shadowColor: h = null,
|
|
92
|
+
shadowBlur: y = 0,
|
|
93
|
+
shadowOffsetX: u = 0,
|
|
94
|
+
shadowOffsetY: N = 0
|
|
95
|
+
} = t;
|
|
96
|
+
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
97
|
+
for (let n = 1; n < i.length; n += 1)
|
|
98
|
+
e.lineTo(i[n].x, i[n].y);
|
|
99
|
+
if (e.closePath(), e.strokeStyle = o, e.lineWidth = s, e.lineCap = w, e.lineJoin = f, r && (e.setLineDash(r), e.lineDashoffset = g), h && (e.shadowColor = h, e.shadowBlur = y, e.shadowOffsetX = u, e.shadowOffsetY = N), l) {
|
|
100
|
+
let n;
|
|
101
|
+
l.type === "linear" ? n = e.createLinearGradient(
|
|
102
|
+
d(l.start.x, Number.MIN_VALUE),
|
|
103
|
+
d(l.start.y, Number.MIN_VALUE),
|
|
104
|
+
d(l.end.x, Number.MIN_VALUE * 2),
|
|
105
|
+
d(l.end.y, Number.MIN_VALUE * 2)
|
|
106
|
+
) : l.type === "radial" && (n = e.createRadialGradient(
|
|
107
|
+
d(l.start.x, Number.MIN_VALUE),
|
|
108
|
+
d(l.start.y, Number.MIN_VALUE),
|
|
109
|
+
l.start.r || 0,
|
|
110
|
+
d(l.end.x, Number.MIN_VALUE * 2),
|
|
111
|
+
d(l.end.y, Number.MIN_VALUE * 2),
|
|
112
|
+
l.end.r || 0
|
|
113
|
+
)), n && l.stops && (l.stops.forEach((b) => {
|
|
114
|
+
n.addColorStop(b.offset, b.color);
|
|
115
|
+
}), e.fillStyle = n);
|
|
116
|
+
} else a && (e.fillStyle = a);
|
|
117
|
+
e.fillStyle && e.fill(), o && e.stroke(), e.restore();
|
|
118
|
+
}
|
|
119
|
+
function A(e, i, t, o, s = {}) {
|
|
120
|
+
e.save();
|
|
121
|
+
const {
|
|
122
|
+
font: w = "16px sans-serif",
|
|
123
|
+
color: f = "black",
|
|
124
|
+
align: r = "start",
|
|
125
|
+
baseline: g = "alphabetic",
|
|
126
|
+
maxWidth: a = void 0,
|
|
127
|
+
rotation: l = 0,
|
|
128
|
+
shadowColor: h = null,
|
|
129
|
+
shadowBlur: y = 0,
|
|
130
|
+
shadowOffsetX: u = 0,
|
|
131
|
+
shadowOffsetY: N = 0,
|
|
132
|
+
strokeColor: n = null,
|
|
133
|
+
lineWidth: b = 1,
|
|
134
|
+
globalAlpha: p = 1
|
|
135
|
+
} = s;
|
|
136
|
+
e.font = w, e.fillStyle = f, e.textAlign = r, e.textBaseline = g, e.globalAlpha = p, h && (e.shadowColor = h, e.shadowBlur = y, e.shadowOffsetX = u, e.shadowOffsetY = N), n && (e.strokeStyle = n, e.lineWidth = b), l !== 0 && (e.translate(t, o), e.rotate(Math.PI / 180 * l), e.translate(-t, -o)), e.fillText(i, t, o, a), n && e.strokeText(i, t, o, a), e.restore();
|
|
137
|
+
}
|
|
138
|
+
function E(e, i = 20) {
|
|
139
|
+
let t;
|
|
140
|
+
return function(...o) {
|
|
141
|
+
const s = this;
|
|
142
|
+
t || (e.apply(s, o), t = !0, setTimeout(() => t = !1, i));
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
function S(e, i, t = !1) {
|
|
146
|
+
let o;
|
|
147
|
+
return function(...s) {
|
|
148
|
+
const w = this, f = function() {
|
|
149
|
+
o = null, t || e.apply(w, s);
|
|
150
|
+
}, r = t && !o;
|
|
151
|
+
clearTimeout(o), o = setTimeout(f, i), r && e.apply(w, s);
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
function k(e) {
|
|
155
|
+
const i = document.createElement("canvas");
|
|
156
|
+
return i.width = e.width || 1, i.height = e.height || 1, e.width || (e.width = 1), e.height || (e.height = 1), i.getContext("2d").drawImage(e, 0, 0), i;
|
|
157
|
+
}
|
|
158
|
+
function d(e, i) {
|
|
159
|
+
return [null, void 0, NaN, 1 / 0, -1 / 0].includes(e) ? i : e;
|
|
160
|
+
}
|
|
161
|
+
function M({
|
|
162
|
+
chart: e,
|
|
163
|
+
title: i = null,
|
|
164
|
+
slicer: t = null,
|
|
165
|
+
legend: o = null,
|
|
166
|
+
source: s = null,
|
|
167
|
+
noTitle: w = null,
|
|
168
|
+
padding: f = null
|
|
169
|
+
}) {
|
|
170
|
+
let r = 0, g = 0, a = 0, l = 0, h = 0, y = 0, u = 0, N = 0, n = 0;
|
|
171
|
+
if (e) {
|
|
172
|
+
const b = e.parentNode, { height: p, width: C } = b.getBoundingClientRect();
|
|
173
|
+
i && (a = i.getBoundingClientRect().height), t && (l = t.getBoundingClientRect().height), o && (h = o.getBoundingClientRect().height), s && (y = s.getBoundingClientRect().height), w && (u = w.getBoundingClientRect().height), f && (N = f.top + f.bottom, n = f.right + f.left), r = p - a - l - h - y - u - N, g = C - n;
|
|
174
|
+
}
|
|
175
|
+
return {
|
|
176
|
+
width: g,
|
|
177
|
+
height: r,
|
|
178
|
+
heightTitle: a,
|
|
179
|
+
heightNoTitle: u
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
export {
|
|
183
|
+
m as a,
|
|
184
|
+
A as b,
|
|
185
|
+
k as c,
|
|
186
|
+
S as d,
|
|
187
|
+
L as l,
|
|
188
|
+
I as p,
|
|
189
|
+
O as r,
|
|
190
|
+
E as t,
|
|
191
|
+
M as u
|
|
192
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function m(e,i,t,o={}){if(t<=0)return;e.save();const{color:s="black",lineWidth:g=1,lineCap:f="round",lineJoin:r="round",lineDash:w=null,lineDashoffset:h=0,shadowColor:l=null,shadowBlur:a=0,shadowOffsetX:y=0,shadowOffsetY:u=0,fillStyle:N="#FFFFFF"}=o;e.beginPath(),e.arc(i.x,i.y,t,0,2*Math.PI),e.strokeStyle=s,e.lineWidth=g,e.lineCap=f,e.lineJoin=r,w&&(e.setLineDash(w),e.lineDashoffset=h),l&&(e.shadowColor=l,e.shadowOffsetX=y,e.shadowOffsetY=u),a&&(e.shadowBlur=a),N&&(e.fillStyle=N),e.fillStyle&&e.fill(),e.stroke(),e.restore()}function L(e,i,t={}){if(!i.length)return;e.save();const{color:o="black",lineWidth:s=1,lineCap:g="round",lineJoin:f="round",lineDash:r=null,lineDashoffset:w=0,shadowColor:h=null,shadowBlur:l=0,shadowOffsetX:a=0,shadowOffsetY:y=0}=t;e.beginPath(),e.moveTo(i[0].x,i[0].y);for(let u=1;u<i.length;u+=1)e.lineTo(i[u].x,i[u].y);e.strokeStyle=o,e.lineWidth=s,e.lineCap=g,e.lineJoin=f,r&&(e.setLineDash(r),e.lineDashoffset=w),h&&(e.shadowColor=h,e.shadowOffsetX=a,e.shadowOffsetY=y),l&&(e.shadowBlur=l),e.stroke(),e.restore()}function I(e,i,t={}){if(!i.length)return;e.save();const{strokeColor:o="black",lineWidth:s=1,lineCap:g="round",lineJoin:f="round",lineDash:r=null,lineDashoffset:w=0,fillColor:h=null,gradient:l=null,shadowColor:a=null,shadowBlur:y=0,shadowOffsetX:u=0,shadowOffsetY:N=0}=t;e.beginPath(),e.moveTo(i[0].x,i[0].y);for(let n=1;n<i.length;n+=1)e.lineTo(i[n].x,i[n].y);if(e.closePath(),e.strokeStyle=o,e.lineWidth=s,e.lineCap=g,e.lineJoin=f,r&&(e.setLineDash(r),e.lineDashoffset=w),a&&(e.shadowColor=a,e.shadowBlur=y,e.shadowOffsetX=u,e.shadowOffsetY=N),l){let n;l.type==="linear"?n=e.createLinearGradient(d(l.start.x,Number.MIN_VALUE),d(l.start.y,Number.MIN_VALUE),d(l.end.x,Number.MIN_VALUE*2),d(l.end.y,Number.MIN_VALUE*2)):l.type==="radial"&&(n=e.createRadialGradient(d(l.start.x,Number.MIN_VALUE),d(l.start.y,Number.MIN_VALUE),l.start.r||0,d(l.end.x,Number.MIN_VALUE*2),d(l.end.y,Number.MIN_VALUE*2),l.end.r||0)),n&&l.stops&&(l.stops.forEach(b=>{n.addColorStop(b.offset,b.color)}),e.fillStyle=n)}else h&&(e.fillStyle=h);e.fillStyle&&e.fill(),o&&e.stroke(),e.restore()}function O(e,i,t={}){if(!i.length)return;e.save();const{strokeColor:o="black",lineWidth:s=1,lineCap:g="round",lineJoin:f="round",lineDash:r=null,lineDashoffset:w=0,fillColor:h=null,gradient:l=null,shadowColor:a=null,shadowBlur:y=0,shadowOffsetX:u=0,shadowOffsetY:N=0}=t;e.beginPath(),e.moveTo(i[0].x,i[0].y);for(let n=1;n<i.length;n+=1)e.lineTo(i[n].x,i[n].y);if(e.closePath(),e.strokeStyle=o,e.lineWidth=s,e.lineCap=g,e.lineJoin=f,r&&(e.setLineDash(r),e.lineDashoffset=w),a&&(e.shadowColor=a,e.shadowBlur=y,e.shadowOffsetX=u,e.shadowOffsetY=N),l){let n;l.type==="linear"?n=e.createLinearGradient(d(l.start.x,Number.MIN_VALUE),d(l.start.y,Number.MIN_VALUE),d(l.end.x,Number.MIN_VALUE*2),d(l.end.y,Number.MIN_VALUE*2)):l.type==="radial"&&(n=e.createRadialGradient(d(l.start.x,Number.MIN_VALUE),d(l.start.y,Number.MIN_VALUE),l.start.r||0,d(l.end.x,Number.MIN_VALUE*2),d(l.end.y,Number.MIN_VALUE*2),l.end.r||0)),n&&l.stops&&(l.stops.forEach(b=>{n.addColorStop(b.offset,b.color)}),e.fillStyle=n)}else h&&(e.fillStyle=h);e.fillStyle&&e.fill(),o&&e.stroke(),e.restore()}function A(e,i,t,o,s={}){e.save();const{font:g="16px sans-serif",color:f="black",align:r="start",baseline:w="alphabetic",maxWidth:h=void 0,rotation:l=0,shadowColor:a=null,shadowBlur:y=0,shadowOffsetX:u=0,shadowOffsetY:N=0,strokeColor:n=null,lineWidth:b=1,globalAlpha:p=1}=s;e.font=g,e.fillStyle=f,e.textAlign=r,e.textBaseline=w,e.globalAlpha=p,a&&(e.shadowColor=a,e.shadowBlur=y,e.shadowOffsetX=u,e.shadowOffsetY=N),n&&(e.strokeStyle=n,e.lineWidth=b),l!==0&&(e.translate(t,o),e.rotate(Math.PI/180*l),e.translate(-t,-o)),e.fillText(i,t,o,h),n&&e.strokeText(i,t,o,h),e.restore()}function E(e,i=20){let t;return function(...o){const s=this;t||(e.apply(s,o),t=!0,setTimeout(()=>t=!1,i))}}function S(e,i,t=!1){let o;return function(...s){const g=this,f=function(){o=null,t||e.apply(g,s)},r=t&&!o;clearTimeout(o),o=setTimeout(f,i),r&&e.apply(g,s)}}function k(e){const i=document.createElement("canvas");return i.width=e.width||1,i.height=e.height||1,e.width||(e.width=1),e.height||(e.height=1),i.getContext("2d").drawImage(e,0,0),i}function d(e,i){return[null,void 0,NaN,1/0,-1/0].includes(e)?i:e}function M({chart:e,title:i=null,slicer:t=null,legend:o=null,source:s=null,noTitle:g=null,padding:f=null}){let r=0,w=0,h=0,l=0,a=0,y=0,u=0,N=0,n=0;if(e){const b=e.parentNode,{height:p,width:C}=b.getBoundingClientRect();i&&(h=i.getBoundingClientRect().height),t&&(l=t.getBoundingClientRect().height),o&&(a=o.getBoundingClientRect().height),s&&(y=s.getBoundingClientRect().height),g&&(u=g.getBoundingClientRect().height),f&&(N=f.top+f.bottom,n=f.right+f.left),r=p-h-l-a-y-u-N,w=C-n}return{width:w,height:r,heightTitle:h,heightNoTitle:u}}exports.circle=m;exports.cloneCanvas=k;exports.debounce=S;exports.line=L;exports.polygon=I;exports.rect=O;exports.text=A;exports.throttle=E;exports.useResponsive=M;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as tt, defineAsyncComponent as e, computed as s, ref as o, onMounted as et, watch as M, shallowReactive as ot, createElementBlock as it, createBlock as m, openBlock as c, normalizeStyle as at, createElementVNode as nt, createTextVNode as rt, createCommentVNode as $, toDisplayString as lt, resolveDynamicComponent as ut, mergeProps as st, toHandlers as ct, createSlots as gt, renderList as pt, withCtx as mt, renderSlot as dt, normalizeProps as Vt, guardReactiveProps as Ut } from "vue";
|
|
2
|
-
import W from "./BaseIcon-
|
|
2
|
+
import W from "./BaseIcon-CEgQPz8O.js";
|
|
3
3
|
const ft = { style: { width: "36px" } }, ht = {
|
|
4
4
|
__name: "vue-data-ui",
|
|
5
5
|
props: {
|
|
@@ -34,66 +34,66 @@ const ft = { style: { width: "36px" } }, ht = {
|
|
|
34
34
|
],
|
|
35
35
|
setup(X, { expose: Q, emit: j }) {
|
|
36
36
|
const n = X, { component: vt, dataset: z, config: K } = tt(n), g = {
|
|
37
|
-
VueUi3dBar: e(() => import("./vue-ui-3d-bar-
|
|
38
|
-
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-
|
|
39
|
-
VueUiAnnotator: e(() => import("./vue-ui-annotator-
|
|
40
|
-
VueUiCandlestick: e(() => import("./vue-ui-candlestick-
|
|
41
|
-
VueUiChestnut: e(() => import("./vue-ui-chestnut-
|
|
42
|
-
VueUiDashboard: e(() => import("./vue-ui-dashboard-
|
|
43
|
-
VueUiDigits: e(() => import("./vue-ui-digits-
|
|
44
|
-
VueUiDonut: e(() => import("./vue-ui-donut-
|
|
45
|
-
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-
|
|
46
|
-
VueUiGalaxy: e(() => import("./vue-ui-galaxy-
|
|
47
|
-
VueUiGauge: e(() => import("./vue-ui-gauge-
|
|
48
|
-
VueUiHeatmap: e(() => import("./vue-ui-heatmap-
|
|
49
|
-
VueUiKpi: e(() => import("./vue-ui-kpi-
|
|
50
|
-
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-
|
|
51
|
-
VueUiMolecule: e(() => import("./vue-ui-molecule-
|
|
52
|
-
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-
|
|
53
|
-
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-
|
|
54
|
-
VueUiOnion: e(() => import("./vue-ui-onion-
|
|
55
|
-
VueUiQuadrant: e(() => import("./vue-ui-quadrant-
|
|
56
|
-
VueUiRadar: e(() => import("./vue-ui-radar-
|
|
57
|
-
VueUiRating: e(() => import("./vue-ui-rating-
|
|
58
|
-
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-
|
|
59
|
-
VueUiRings: e(() => import("./vue-ui-rings-
|
|
60
|
-
VueUiScatter: e(() => import("./vue-ui-scatter-
|
|
61
|
-
VueUiScreenshot: e(() => import("./vue-ui-screenshot-
|
|
62
|
-
VueUiSkeleton: e(() => import("./vue-ui-skeleton-
|
|
63
|
-
VueUiSmiley: e(() => import("./vue-ui-smiley-
|
|
64
|
-
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-
|
|
65
|
-
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-
|
|
66
|
-
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-
|
|
67
|
-
VueUiSparkline: e(() => import("./vue-ui-sparkline-
|
|
68
|
-
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-
|
|
69
|
-
VueUiTable: e(() => import("./vue-ui-table-
|
|
70
|
-
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-
|
|
71
|
-
VueUiThermometer: e(() => import("./vue-ui-thermometer-
|
|
72
|
-
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-
|
|
73
|
-
VueUiTreemap: e(() => import("./vue-ui-treemap-
|
|
74
|
-
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-
|
|
75
|
-
VueUiWaffle: e(() => import("./vue-ui-waffle-
|
|
76
|
-
VueUiWheel: e(() => import("./vue-ui-wheel-
|
|
77
|
-
VueUiXy: e(() => import("./vue-ui-xy-
|
|
78
|
-
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-
|
|
79
|
-
VueUiAccordion: e(() => import("./vue-ui-accordion-
|
|
80
|
-
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-
|
|
81
|
-
VueUiCursor: e(() => import("./vue-ui-cursor-
|
|
82
|
-
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-
|
|
83
|
-
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-
|
|
84
|
-
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-
|
|
85
|
-
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-
|
|
86
|
-
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-
|
|
87
|
-
VueUiFlow: e(() => import("./vue-ui-flow-
|
|
88
|
-
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-
|
|
89
|
-
VueUiTimer: e(() => import("./vue-ui-timer-
|
|
90
|
-
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-
|
|
91
|
-
VueUiGizmo: e(() => import("./vue-ui-gizmo
|
|
92
|
-
VueUiStackbar: e(() => import("./vue-ui-stackbar-
|
|
93
|
-
VueUiBullet: e(() => import("./vue-ui-bullet-
|
|
94
|
-
VueUiFunnel: e(() => import("./vue-ui-funnel-
|
|
95
|
-
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-
|
|
96
|
-
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-
|
|
37
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-Bda7eCM_.js")),
|
|
38
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-C4FUVgL1.js")),
|
|
39
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-pYtolxGn.js")),
|
|
40
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-Cm0ipv0t.js")),
|
|
41
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-Ob9Rt-3r.js")),
|
|
42
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-j5IuBHiv.js")),
|
|
43
|
+
VueUiDigits: e(() => import("./vue-ui-digits-BRMuUzSA.js")),
|
|
44
|
+
VueUiDonut: e(() => import("./vue-ui-donut-CdVSree_.js")),
|
|
45
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-DzrJwccW.js")),
|
|
46
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-Bg-3xnWe.js")),
|
|
47
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-Cwhlraja.js")),
|
|
48
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-ay3NAawN.js")),
|
|
49
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-BGSgE7Ck.js")),
|
|
50
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-DyRqUv0j.js")),
|
|
51
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-gJVbPM60.js")),
|
|
52
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-DAYJLwXw.js")),
|
|
53
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-r67jsUHC.js")),
|
|
54
|
+
VueUiOnion: e(() => import("./vue-ui-onion-C-d1e3w2.js")),
|
|
55
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-BKWD8HER.js")),
|
|
56
|
+
VueUiRadar: e(() => import("./vue-ui-radar-BX_7Ngn_.js")),
|
|
57
|
+
VueUiRating: e(() => import("./vue-ui-rating-CM6YiPW3.js")),
|
|
58
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-JTWFex69.js")),
|
|
59
|
+
VueUiRings: e(() => import("./vue-ui-rings-NBAca-G8.js")),
|
|
60
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-5SJ4F605.js")),
|
|
61
|
+
VueUiScreenshot: e(() => import("./vue-ui-screenshot-DPm6Bpiq.js")),
|
|
62
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-BhHXiz99.js")),
|
|
63
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-Cb8d713r.js")),
|
|
64
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-BbOu_w63.js")),
|
|
65
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-BwNM15jl.js")),
|
|
66
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-DhJ72P8O.js")),
|
|
67
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-m3nNPKwo.js")),
|
|
68
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-B71Vue4E.js")),
|
|
69
|
+
VueUiTable: e(() => import("./vue-ui-table-CCrE_Qnd.js")),
|
|
70
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-CHtZhhn6.js")),
|
|
71
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-CCVPdXye.js")),
|
|
72
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-DExuaGwV.js")),
|
|
73
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-Dnn29Qdu.js")),
|
|
74
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-B9-cwCz2.js")),
|
|
75
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-BH4NkBmK.js")),
|
|
76
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-D2BqDvNB.js")),
|
|
77
|
+
VueUiXy: e(() => import("./vue-ui-xy-CuLfvdAU.js")),
|
|
78
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-CQbPKFW_.js")),
|
|
79
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-CDTJiQu0.js")),
|
|
80
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-Cy3FCnd-.js")),
|
|
81
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-Drnazkqg.js")),
|
|
82
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-BVNEGhp9.js")),
|
|
83
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-T99zioSX.js")),
|
|
84
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-DuCdZc41.js")),
|
|
85
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-Bpyn_t-K.js")),
|
|
86
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-BK3C3PqR.js")),
|
|
87
|
+
VueUiFlow: e(() => import("./vue-ui-flow-CYpiRQ_u.js")),
|
|
88
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-FRhJ4mby.js")),
|
|
89
|
+
VueUiTimer: e(() => import("./vue-ui-timer-Djxb8XuU.js")),
|
|
90
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-PcE7YCyE.js")),
|
|
91
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-VRONxCxp.js")),
|
|
92
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-CL7KXBrn.js")),
|
|
93
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-oEZK6DxU.js")),
|
|
94
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-6q79enxr.js")),
|
|
95
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-BQ_2NZVm.js")),
|
|
96
|
+
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-BF0PBuDU.js"))
|
|
97
97
|
}, q = {
|
|
98
98
|
VueUi3dBar: ["config", "dataset"],
|
|
99
99
|
VueUiAgePyramid: ["config", "dataset"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./BaseIcon-BjlTm9wZ.cjs"),K={style:{width:"36px"}},Y={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(E,{expose:O,emit:_}){const i=E,{component:J,dataset:M,config:G}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-CwXgNWXb.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-i52Ub253.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-CKUZCHHC.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-t1BaVylo.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-BiX9TQ2v.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-BCcNNuM_.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-D-F0Chxn.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-Dxie1WUb.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-C8ZQum6h.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-FIQp4ePf.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-C1QU2678.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-DQ_4z6a6.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-DhsQdhIg.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-gsh0jMbc.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-K4PM7UqE.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-CnR7mp7Z.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-DW1Zx5R0.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-DM-jq72Y.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-CXFcrSRD.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-CGSB8Q_3.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-BiwEz-WI.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-D7sKIx2H.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-CMzJJbL7.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-Cpc9LK6H.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-BA27Irge.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-CLMRPxZm.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-CNnxNaGC.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-DTUuvjOA.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-BEL_6k7M.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-B12f_DfZ.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-CgNq3TDg.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-JgTWCear.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-Da8yPHbm.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-D87wVYbh.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-CpaWOGHr.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-By-ZwLdD.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-DX_oIHsl.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-D51OT6tD.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-BRFWNTTy.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-C_0xODX0.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-ArWU04zz.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-m9WunlMI.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-DdHwnq9o.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-9R835dAy.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-BkQNdavl.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-liGslvUe.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-Pr-p3HVe.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-bOMg4szX.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-CpbPC0k6.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-DCFJnGtu.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-Bnj7K0Td.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-DMouPTwE.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-DJ3N2OIu.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-BqPfItK8.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-D6E03WtQ.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-BIQOmKWQ.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-DxUauLaF.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-CapST2C3.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-BNybvrYe.cjs"))),VueUiCirclePack:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-circle-pack-B28TVLHQ.cjs")))},$={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"],VueUiCirclePack:["config","dataset"]},W=_,c=e.computed(()=>!l[i.component]),X=e.computed(()=>l[i.component]||null),o=e.ref(null),j=e.computed(()=>{const t=$[i.component]||[],n={};return t.includes("config")&&(n.config=G.value),t.includes("dataset")&&(n.dataset=M.value),n}),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),C=e.ref(()=>null),A=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),k=e.ref(()=>null),S=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),I=e.ref(()=>null),N=e.ref(()=>null),x=e.ref(()=>null),F=e.ref(()=>null),H=e.ref(()=>null);e.onMounted(()=>{c.value&&console.error(`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./BaseIcon-DoqpR480.cjs"),K={style:{width:"36px"}},Y={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(E,{expose:O,emit:_}){const i=E,{component:J,dataset:M,config:G}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-D7_7INdZ.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-C-5yJnWs.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-yLvZcOQb.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-CVM-Yvvm.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-CeYVXtyW.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-D3-z2poA.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-CD5-WopZ.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-Dq1F2vBg.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-BQ7-rOnh.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-BGxIGzn8.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-DGt25KK7.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-CTwazjkR.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-BtHmGmj6.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-Bwe3_hqy.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-Cy_P0hK2.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-BxFd74g3.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-DP_cQ0OI.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-CR4UoiPQ.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-D-vSAn7m.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-BHCghGVU.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-JhzvmHjC.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-BPhcc_fN.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-CzXIKikH.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-DCunyG-E.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-q3DSJ00h.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-D7S6OsSN.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-CQE1dvvV.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-qAaHy4or.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-ddRVuzSQ.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-C8E73uuw.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-C6wkmXa0.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CJyCwn7x.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-Cva4CGRJ.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-AIunqOTn.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-CGAA0bAU.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-D-xQKhur.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BXWbdL3o.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-3V-J4-Qp.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-by6o3KnD.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-DWNHihoO.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-luOYkYWO.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-GOsIhgPo.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-ChxVn9CH.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-Bbcex3jc.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-DE4hlTca.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-7Bo9O1fQ.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-D10qNzJu.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-DSdwbWLI.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-DvXgJCIv.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-bysKB96p.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-D_UgsB9t.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-DVltec37.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-C3detaHT.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-BGPWwg3x.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-C0024J7B.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-6W0SjyLd.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-BVmbUAYh.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-Dr4ssgIM.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-B_IHuJff.cjs"))),VueUiCirclePack:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-circle-pack-pbnF0Jb7.cjs")))},$={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"],VueUiCirclePack:["config","dataset"]},W=_,c=e.computed(()=>!l[i.component]),X=e.computed(()=>l[i.component]||null),o=e.ref(null),j=e.computed(()=>{const t=$[i.component]||[],n={};return t.includes("config")&&(n.config=G.value),t.includes("dataset")&&(n.dataset=M.value),n}),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),C=e.ref(()=>null),A=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),k=e.ref(()=>null),S=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),I=e.ref(()=>null),N=e.ref(()=>null),x=e.ref(()=>null),F=e.ref(()=>null),H=e.ref(()=>null);e.onMounted(()=>{c.value&&console.error(`
|
|
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-DEbhC0cM.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiBullet=e.VueUiBullet;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCirclePack=e.VueUiCirclePack;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiFunnel=e.VueUiFunnel;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiHistoryPlot=e.VueUiHistoryPlot;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiPattern=e.VueUiPattern;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.abbreviate=e.abbreviate;exports.createTSpans=e.createTSpans;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.darkenColor=e.darkenColor;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;exports.lightenColor=e.lightenColor;exports.shiftColorHue=e.shiftColorHue;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { ae as s, af as u, ag as V, ah as U, ai as r, aj as t, b9 as o, ak as l, b6 as n, al as b, bd as d, am as c, an as m, ao as C, ap as g, aq as k, ar as p, as as S, ba as T, at as h, au as D, b7 as P, av as f, bb as y, aw as H, ax as R, ay as A, az as W, aA as v, aB as x, aC as B, aD as F, bc as G, aE as M, aF as w, aG as L, aH as Q, aI as X, aJ as j, aK as z, aL as E, aM as I, aN as K, aO as N, aP as O, aQ as q, aR as J, aS as Y, aT as Z, b8 as _, aU as $, aV as aa, aW as ea, aX as ia, aY as sa, aZ as ua, a_ as Va, a$ as Ua, b0 as ra, b1 as ta, b2 as oa, b3 as la, b4 as na, b5 as ba, L as da, a9 as ca, a6 as ma, be as Ca, bf as ga, bg as ka, bh as pa, bi as Sa, bj as Ta } from "./index-
|
|
2
|
+
import { ae as s, af as u, ag as V, ah as U, ai as r, aj as t, b9 as o, ak as l, b6 as n, al as b, bd as d, am as c, an as m, ao as C, ap as g, aq as k, ar as p, as as S, ba as T, at as h, au as D, b7 as P, av as f, bb as y, aw as H, ax as R, ay as A, az as W, aA as v, aB as x, aC as B, aD as F, bc as G, aE as M, aF as w, aG as L, aH as Q, aI as X, aJ as j, aK as z, aL as E, aM as I, aN as K, aO as N, aP as O, aQ as q, aR as J, aS as Y, aT as Z, b8 as _, aU as $, aV as aa, aW as ea, aX as ia, aY as sa, aZ as ua, a_ as Va, a$ as Ua, b0 as ra, b1 as ta, b2 as oa, b3 as la, b4 as na, b5 as ba, L as da, a9 as ca, a6 as ma, be as Ca, bf as ga, bg as ka, bh as pa, bi as Sa, bj as Ta } from "./index-KdQpiTkm.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|