vue-data-ui 2.7.6-beta.0 → 2.7.7-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/dist/{Arrow-BPxXpODN.js → Arrow-Ctj8xS7h.js} +1 -1
- package/dist/{Arrow-DMoDyTYq.cjs → Arrow-D4awcL5T.cjs} +1 -1
- package/dist/{BaseIcon-Csib-bFs.cjs → BaseIcon-D4bvnDD1.cjs} +1 -1
- package/dist/{BaseIcon-BRjEohPB.js → BaseIcon-D6JclX-r.js} +4 -3
- package/dist/{ColorPicker-DKHOITuH.js → ColorPicker-BlS6Axza.js} +3 -3
- package/dist/{ColorPicker--FQTMlj_.cjs → ColorPicker-DfU-m7Ql.cjs} +1 -1
- package/dist/{DataTable-DXHBxZCy.js → DataTable-B4wT68nd.js} +2 -2
- package/dist/{DataTable-Bg1jcIr-.cjs → DataTable-DwLexcJ8.cjs} +1 -1
- package/dist/{Legend-DMevrWiD.js → Legend-D9jTaSf1.js} +2 -2
- package/dist/{Legend-UfmoJ4KO.cjs → Legend-DAc_tyUt.cjs} +1 -1
- package/dist/{PackageVersion-C7x2IWLM.js → PackageVersion-B6m7COFD.js} +1 -1
- package/dist/{PackageVersion-DgyGLNuh.cjs → PackageVersion-Cnge5ri6.cjs} +1 -1
- package/dist/{PenAndPaper-8UX21OWr.js → PenAndPaper-BQzJd3R-.js} +3 -3
- package/dist/{PenAndPaper-Cvmkcq22.cjs → PenAndPaper-Co1D2Y2B.cjs} +1 -1
- package/dist/{Shape-CTmzdRqd.js → Shape-Bjzuy7N8.js} +1 -1
- package/dist/{Shape-fqF-okzT.cjs → Shape-DzBJFQA1.cjs} +1 -1
- package/dist/{Slicer-BXhvESja.js → Slicer-C3ACJCl0.js} +2 -2
- package/dist/{Slicer-DmdYZrGS.cjs → Slicer-DPitMvp0.cjs} +1 -1
- package/dist/{Title-L3SvCQfU.js → Title-KQSkCyXD.js} +1 -1
- package/dist/{Title-DUa01RoU.cjs → Title-MfFSxVPO.cjs} +1 -1
- package/dist/{Tooltip-DzsG-nM2.js → Tooltip-ByYvb_h7.js} +1 -1
- package/dist/{Tooltip-DxTkpBZU.cjs → Tooltip-wiyCGglp.cjs} +1 -1
- package/dist/documentation/installation.md +6 -0
- package/dist/{dom-to-png-_Yw7_Zl2.cjs → dom-to-png-BKsCIB7O.cjs} +1 -1
- package/dist/{dom-to-png-pcDdsfUp.js → dom-to-png-CNRGuI4B.js} +1 -1
- package/dist/{img-C_46LUlu.js → img-7vHTByr4.js} +1 -1
- package/dist/{img-D4mtuxkz.cjs → img-DoSFkT2s.cjs} +1 -1
- package/dist/{index-CFNGWoG-.js → index-Be5igjqE.js} +446 -369
- package/dist/index-Dq-Z3H6U.cjs +9 -0
- package/dist/{pdf-BTE2gw1u.js → pdf-BbjLvsfj.js} +1 -1
- package/dist/{pdf-C4WYgi8l.cjs → pdf-Nu-tkOyL.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +89 -5
- package/dist/types/vue-data-ui.d.ts +89 -5
- package/dist/{useNestedProp-DHVUTEIl.js → useNestedProp-BlGgXimH.js} +1 -1
- package/dist/{useNestedProp-BVcjidN0.cjs → useNestedProp-DLtcqrHr.cjs} +1 -1
- package/dist/{usePrinter-uMLnqx4N.cjs → usePrinter-BkNDtpAf.cjs} +1 -1
- package/dist/{usePrinter-DlDdG5QU.js → usePrinter-HUhH1p09.js} +3 -3
- package/dist/{vue-data-ui-DWxtv62P.js → vue-data-ui-BhAZnQY7.js} +73 -71
- package/dist/vue-data-ui-C3gulBRZ.cjs +9 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +18 -17
- package/dist/{vue-ui-3d-bar-DjK5p4-V.js → vue-ui-3d-bar-WYKfbosC.js} +9 -9
- package/dist/{vue-ui-3d-bar-D82lrIe4.cjs → vue-ui-3d-bar-jCqBwlYF.cjs} +1 -1
- package/dist/{vue-ui-accordion-BVInR1D8.js → vue-ui-accordion-BQHr5xZr.js} +3 -3
- package/dist/{vue-ui-accordion-BL55ml0w.cjs → vue-ui-accordion-CfdDVEBk.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CN9pUGnI.js → vue-ui-age-pyramid-6V9PIJ9j.js} +10 -10
- package/dist/{vue-ui-age-pyramid-D5EOO0iJ.cjs → vue-ui-age-pyramid-CRLzMSkq.cjs} +1 -1
- package/dist/{vue-ui-annotator-CAkIFmY8.js → vue-ui-annotator-BuUBWuPO.js} +2 -2
- package/dist/{vue-ui-annotator-CCXZE86s.cjs → vue-ui-annotator-DfMb41Ud.cjs} +1 -1
- package/dist/{vue-ui-bullet-DAtNfo12.js → vue-ui-bullet-02I7GPLx.js} +8 -8
- package/dist/{vue-ui-bullet-DbVipNyo.cjs → vue-ui-bullet-gw1t9Ibi.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DZ8Zu1G0.cjs → vue-ui-candlestick-Da0Umawo.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C4o7KNEQ.js → vue-ui-candlestick-DcWSJrio.js} +11 -11
- package/dist/{vue-ui-carousel-table-GVqoqsHj.js → vue-ui-carousel-table-Bf9Ll_CD.js} +4 -4
- package/dist/{vue-ui-carousel-table-C2fTCZSu.cjs → vue-ui-carousel-table-dd5LBO1w.cjs} +1 -1
- package/dist/{vue-ui-chestnut-E6-YshUN.cjs → vue-ui-chestnut-DBtJcAbB.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DkcYjcFC.js → vue-ui-chestnut-DUJGtKS8.js} +8 -8
- package/dist/{vue-ui-circle-pack-bYWkKSmF.js → vue-ui-circle-pack-D4Okcy6J.js} +9 -9
- package/dist/{vue-ui-circle-pack-Cydk-l4Z.cjs → vue-ui-circle-pack-qT2SaP4h.cjs} +1 -1
- package/dist/{vue-ui-cursor-BV90fevc.cjs → vue-ui-cursor-Bi9Xtyrc.cjs} +1 -1
- package/dist/{vue-ui-cursor-DJqRywjF.js → vue-ui-cursor-kIAHk3pv.js} +2 -2
- package/dist/{vue-ui-dashboard-Awb0TFLb.cjs → vue-ui-dashboard-ChBjAPOR.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CBNKG2IX.js → vue-ui-dashboard-DWdDrGCi.js} +3 -3
- package/dist/{vue-ui-digits--BlLcrsp.js → vue-ui-digits-CSn2-k9M.js} +2 -2
- package/dist/{vue-ui-digits-Bdyd5itD.cjs → vue-ui-digits-OBaldTbA.cjs} +1 -1
- package/dist/{vue-ui-donut-DhyuQfTc.cjs → vue-ui-donut-C9X3llOa.cjs} +1 -1
- package/dist/{vue-ui-donut-BFaZnu4E.js → vue-ui-donut-DC1EWaEl.js} +12 -12
- package/dist/{vue-ui-donut-evolution-u_DgynBq.js → vue-ui-donut-evolution-By920tt3.js} +11 -11
- package/dist/{vue-ui-donut-evolution-BlTz3cM6.cjs → vue-ui-donut-evolution-qYh4tMyv.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-FTQMksov.js → vue-ui-dumbbell-DhYF4Xzq.js} +10 -10
- package/dist/{vue-ui-dumbbell-BPY5ecEW.cjs → vue-ui-dumbbell-gjuLYUtN.cjs} +1 -1
- package/dist/{vue-ui-flow-CiOLP4Bc.cjs → vue-ui-flow-CfOkhfTZ.cjs} +1 -1
- package/dist/{vue-ui-flow-CZZbTaKg.js → vue-ui-flow-CvmxLLDU.js} +9 -9
- package/dist/{vue-ui-funnel-CeKd8ZiW.cjs → vue-ui-funnel-BqvE6kKW.cjs} +1 -1
- package/dist/{vue-ui-funnel-C7emWYtP.js → vue-ui-funnel-aW6gN5M7.js} +9 -9
- package/dist/{vue-ui-galaxy-C0LvpwYA.cjs → vue-ui-galaxy-CjO-feOf.cjs} +1 -1
- package/dist/{vue-ui-galaxy-CbQn6Tai.js → vue-ui-galaxy-DkM5qmQv.js} +11 -11
- package/dist/{vue-ui-gauge-BlIKJvVf.cjs → vue-ui-gauge-as9C8SH5.cjs} +1 -1
- package/dist/{vue-ui-gauge-B5t9OOfc.js → vue-ui-gauge-cl4ABOp8.js} +7 -7
- package/dist/{vue-ui-gizmo-REPSaOFz.js → vue-ui-gizmo-B6H3gQ7i.js} +3 -3
- package/dist/{vue-ui-gizmo--2ZtBKsI.cjs → vue-ui-gizmo-ufF3hoHV.cjs} +1 -1
- package/dist/{vue-ui-heatmap-MgVipAHX.js → vue-ui-heatmap-BNa9N4f-.js} +10 -10
- package/dist/{vue-ui-heatmap-4GiW6lpZ.cjs → vue-ui-heatmap-DvS4AeqV.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BPBubZyO.cjs → vue-ui-history-plot-BGBLouFb.cjs} +1 -1
- package/dist/{vue-ui-history-plot-Be7z_N9m.js → vue-ui-history-plot-SdGR3p3B.js} +11 -11
- package/dist/{vue-ui-kpi-liKRIunp.cjs → vue-ui-kpi-BoIH-1Vn.cjs} +1 -1
- package/dist/{vue-ui-kpi-CIMqIIHx.js → vue-ui-kpi-GIQ6e_RV.js} +3 -3
- package/dist/{vue-ui-mini-loader-BzA198rf.js → vue-ui-mini-loader-5IwteuFG.js} +2 -2
- package/dist/{vue-ui-mini-loader-BLlakDY7.cjs → vue-ui-mini-loader-DPUQ_TVC.cjs} +1 -1
- package/dist/{vue-ui-molecule-BjxKkqRH.js → vue-ui-molecule-BsrPwi8A.js} +11 -11
- package/dist/{vue-ui-molecule-BVJoEq_L.cjs → vue-ui-molecule-n4R9uPbE.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-W0giMhIf.cjs → vue-ui-mood-radar-CvZOsP_c.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DmnVvP9o.js → vue-ui-mood-radar-uCfduDDP.js} +11 -11
- package/dist/{vue-ui-nested-donuts-qdTmCQvc.cjs → vue-ui-nested-donuts-Cga7kCRs.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-Bjg4j4if.js → vue-ui-nested-donuts-Cup810nX.js} +11 -11
- package/dist/{vue-ui-onion-D64W0CBD.js → vue-ui-onion-DNEkpvUE.js} +11 -11
- package/dist/{vue-ui-onion-6SSfocfE.cjs → vue-ui-onion-DZn5pOZ4.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BjYktxod.cjs → vue-ui-parallel-coordinate-plot-DwyIeUaQ.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CkZXOICk.js → vue-ui-parallel-coordinate-plot-MCx1Yq1h.js} +12 -12
- package/dist/{vue-ui-quadrant-DjLnWBnh.cjs → vue-ui-quadrant-DW-HMuCR.cjs} +1 -1
- package/dist/{vue-ui-quadrant-D-jEAMCQ.js → vue-ui-quadrant-gG5ROJGQ.js} +12 -12
- package/dist/{vue-ui-quick-chart-yNuTyEgo.js → vue-ui-quick-chart-BmBj8ixE.js} +9 -9
- package/dist/{vue-ui-quick-chart-BcOY7AIN.cjs → vue-ui-quick-chart-x9ldZsdG.cjs} +1 -1
- package/dist/{vue-ui-radar-CZlEONeD.js → vue-ui-radar-CJzWWq0w.js} +12 -12
- package/dist/{vue-ui-radar-DpHLHWci.cjs → vue-ui-radar-WNtZroUg.cjs} +1 -1
- package/dist/{vue-ui-rating-C1gRL1R3.js → vue-ui-rating-C7hnXZku.js} +2 -2
- package/dist/{vue-ui-rating-Cs3NEmEg.cjs → vue-ui-rating-YIpqTGz4.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CB-YW73a.cjs → vue-ui-relation-circle-C7lb0klv.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-C_FsWiuH.js → vue-ui-relation-circle-C_Red0gA.js} +7 -7
- package/dist/{vue-ui-rings-syJFoH6E.js → vue-ui-rings-5Tx7WOtY.js} +12 -12
- package/dist/{vue-ui-rings-CIYZbHzK.cjs → vue-ui-rings-D_bjcQ-F.cjs} +1 -1
- package/dist/{vue-ui-scatter-Y-bJ5R0J.js → vue-ui-scatter-JwOHzshk.js} +12 -12
- package/dist/{vue-ui-scatter-1jT9ddo6.cjs → vue-ui-scatter-suyqzZ9F.cjs} +1 -1
- package/dist/{vue-ui-skeleton-ByGfybu8.cjs → vue-ui-skeleton-BUAOXVqO.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Dexat5oZ.js → vue-ui-skeleton-IitNlkFC.js} +3 -3
- package/dist/{vue-ui-smiley-DPP-2K8T.js → vue-ui-smiley-Co2srnQu.js} +2 -2
- package/dist/{vue-ui-smiley-Cp1Yo8gM.cjs → vue-ui-smiley-UxCOGu6L.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DkM426ut.js → vue-ui-spark-trend-CkhonQlt.js} +5 -5
- package/dist/{vue-ui-spark-trend-DXo1Lafk.cjs → vue-ui-spark-trend-Dnr6Ttk3.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-D7-pjVIk.cjs → vue-ui-sparkbar-B_ieMrny.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-F5OoZgjl.js → vue-ui-sparkbar-CVc8zCkq.js} +4 -4
- package/dist/{vue-ui-sparkgauge-LNWcvJQm.js → vue-ui-sparkgauge-C2Qy7q0I.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BV03AxIl.cjs → vue-ui-sparkgauge-Cxu9THOi.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Dp4JmEjl.js → vue-ui-sparkhistogram-BVWIePzy.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CPLjuhd0.cjs → vue-ui-sparkhistogram-Ceb2l2eA.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CUJeIh8E.js → vue-ui-sparkline-BPiXteOw.js} +4 -4
- package/dist/{vue-ui-sparkline-CzaaWz1O.cjs → vue-ui-sparkline-DLkSR7GL.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-Byy98s7i.cjs → vue-ui-sparkstackbar-DjHNNLxj.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BTmAuDED.js → vue-ui-sparkstackbar-oSdvBIlr.js} +5 -5
- package/dist/{vue-ui-stackbar-CApy6xE-.cjs → vue-ui-stackbar-CumjkMeZ.cjs} +1 -1
- package/dist/{vue-ui-stackbar-HfGn8Itj.js → vue-ui-stackbar-DKp3QK8C.js} +13 -13
- package/dist/{vue-ui-strip-plot-D8bN2jOd.cjs → vue-ui-strip-plot-Dh4G2Oyx.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-Db5fY9l0.js → vue-ui-strip-plot-tqIqG1HH.js} +11 -11
- package/dist/{vue-ui-table-BiEEXfmz.js → vue-ui-table-BNRBtVf2.js} +1 -1
- package/dist/{vue-ui-table-3Pr_BJOn.cjs → vue-ui-table-CO94TVdU.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-tT43AVN1.js → vue-ui-table-heatmap-CksNGmq-.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Dzmilz_6.cjs → vue-ui-table-heatmap-DxpwhWKj.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-r9JbPWm1.cjs → vue-ui-table-sparkline-jBvWJQJy.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CuG3P8Se.js → vue-ui-table-sparkline-zZB3sxij.js} +5 -5
- package/dist/{vue-ui-thermometer-BWakJYXX.cjs → vue-ui-thermometer-Bu0VFxbJ.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BypApwQR.js → vue-ui-thermometer-CY2eIr41.js} +7 -7
- package/dist/{vue-ui-timer-BY89-D5q.cjs → vue-ui-timer-DYaBe4iQ.cjs} +1 -1
- package/dist/{vue-ui-timer-QTTOX3XU.js → vue-ui-timer-DmEJSRjb.js} +5 -5
- package/dist/{vue-ui-tiremarks-C6_AVUY8.cjs → vue-ui-tiremarks-B_Ihi72K.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DhubQXE9.js → vue-ui-tiremarks-au7USSKN.js} +7 -7
- package/dist/{vue-ui-treemap-HL5rG7hw.js → vue-ui-treemap-CBbWvhqq.js} +12 -12
- package/dist/{vue-ui-treemap-ByFdbyS7.cjs → vue-ui-treemap-jyad5RVV.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-BP4MwH-K.cjs → vue-ui-vertical-bar-CeOy7Mem.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-__GfqF0O.js → vue-ui-vertical-bar-DowTuusW.js} +12 -12
- package/dist/{vue-ui-waffle-DF34x9Wg.js → vue-ui-waffle-BMl4rq6k.js} +12 -12
- package/dist/{vue-ui-waffle-D9gfi78g.cjs → vue-ui-waffle-Cg1MK6nE.cjs} +1 -1
- package/dist/{vue-ui-wheel-DSofgaQ1.js → vue-ui-wheel-B2635Z3i.js} +7 -7
- package/dist/{vue-ui-wheel-B41qdqzo.cjs → vue-ui-wheel-B8sFwiA6.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CXCBnEZ8.cjs → vue-ui-word-cloud-C6RgZ4OX.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-fFYlm6K2.js → vue-ui-word-cloud-Dsustsn0.js} +10 -10
- package/dist/vue-ui-world-BBf8VUlF.cjs +19 -0
- package/dist/vue-ui-world-icMrF6FD.js +899 -0
- package/dist/{vue-ui-xy-CxNv4m9O.js → vue-ui-xy-D5KaqxbH.js} +16 -16
- package/dist/{vue-ui-xy-BXfgH7v9.cjs → vue-ui-xy-DupY-pxW.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DHn7SPRK.js → vue-ui-xy-canvas-BJtQ43Fd.js} +12 -12
- package/dist/{vue-ui-xy-canvas-DggddiWo.cjs → vue-ui-xy-canvas-COK2iqSu.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-Be2lbQel.cjs +0 -9
- package/dist/vue-data-ui-hYMPv0Dd.cjs +0 -9
|
@@ -56,7 +56,8 @@ declare module "vue-data-ui" {
|
|
|
56
56
|
| VueUiBulletDataset
|
|
57
57
|
| VueUiFunnelDatasetItem[]
|
|
58
58
|
| VueUiHistoryPlotDatasetItem[]
|
|
59
|
-
| VueUiCirclePackDatasetItem[]
|
|
59
|
+
| VueUiCirclePackDatasetItem[]
|
|
60
|
+
| VueUiWorldDataset;
|
|
60
61
|
config?:
|
|
61
62
|
| VueUi3dBarConfig
|
|
62
63
|
| VueUiAgePyramidConfig
|
|
@@ -113,7 +114,8 @@ declare module "vue-data-ui" {
|
|
|
113
114
|
| VueUiBulletConfig
|
|
114
115
|
| VueUiFunnelConfig
|
|
115
116
|
| VueUiHistoryPlotConfig
|
|
116
|
-
| VueUiCirclePackConfig
|
|
117
|
+
| VueUiCirclePackConfig
|
|
118
|
+
| VueUiWorldConfig;
|
|
117
119
|
}>;
|
|
118
120
|
|
|
119
121
|
export type VueUiPatternName =
|
|
@@ -1160,7 +1162,8 @@ declare module "vue-data-ui" {
|
|
|
1160
1162
|
| "htmlTag"
|
|
1161
1163
|
| "curlyBrackets"
|
|
1162
1164
|
| "curlySpread"
|
|
1163
|
-
| "text"
|
|
1165
|
+
| "text"
|
|
1166
|
+
| "world";
|
|
1164
1167
|
|
|
1165
1168
|
export const VueUiIcon: DefineComponent<{
|
|
1166
1169
|
name: VueUiIconName;
|
|
@@ -6697,6 +6700,85 @@ declare module "vue-data-ui" {
|
|
|
6697
6700
|
dataset: VueUiCirclePackDatasetItem[];
|
|
6698
6701
|
}>;
|
|
6699
6702
|
|
|
6703
|
+
export type VueUiWorldConfig = {
|
|
6704
|
+
userOptions?: ChartUserOptions;
|
|
6705
|
+
customPalette?: string[];
|
|
6706
|
+
projection?: 'aitoff' | 'azimuthalEquidistant' | 'bonne' | 'equirectangular' | 'gallPeters' | 'globe' | 'hammer' | 'mercator' | 'mollweide' | 'robinson' | 'sinusoidal' | 'vanDerGrinten' | 'winkelTripel',
|
|
6707
|
+
style?: {
|
|
6708
|
+
fontFamily?: string;
|
|
6709
|
+
chart?: {
|
|
6710
|
+
backgroundColor?: string;
|
|
6711
|
+
color?: string?;
|
|
6712
|
+
padding?: ChartPadding;
|
|
6713
|
+
dataLabels?: {
|
|
6714
|
+
prefix?: string;
|
|
6715
|
+
suffix?: string;
|
|
6716
|
+
rounding?: number;
|
|
6717
|
+
formatter: Formatter;
|
|
6718
|
+
};
|
|
6719
|
+
dimensions?: {
|
|
6720
|
+
height?: number | null;
|
|
6721
|
+
width?: number | null;
|
|
6722
|
+
};
|
|
6723
|
+
globe?: {
|
|
6724
|
+
center?: {
|
|
6725
|
+
x?: number;
|
|
6726
|
+
y?: number;
|
|
6727
|
+
};
|
|
6728
|
+
waterColor?: string;
|
|
6729
|
+
};
|
|
6730
|
+
territory?: {
|
|
6731
|
+
stroke?: string;
|
|
6732
|
+
emptyColor?: string;
|
|
6733
|
+
strokeWidth?: number;
|
|
6734
|
+
strokeWidthSelected?: number;
|
|
6735
|
+
colors?: {
|
|
6736
|
+
min?: string;
|
|
6737
|
+
max?: string | null;
|
|
6738
|
+
}
|
|
6739
|
+
};
|
|
6740
|
+
tooltip?: ChartTooltip & {
|
|
6741
|
+
showMinimap?: boolean;
|
|
6742
|
+
customFormat?:
|
|
6743
|
+
| null
|
|
6744
|
+
| ((
|
|
6745
|
+
params: VueUiTooltipParams<any>
|
|
6746
|
+
) => string);
|
|
6747
|
+
};
|
|
6748
|
+
title?: ChartTitle;
|
|
6749
|
+
legend?: ChartBaseLegend & {
|
|
6750
|
+
backgroundColor?: string;
|
|
6751
|
+
};
|
|
6752
|
+
}
|
|
6753
|
+
};
|
|
6754
|
+
table?: {
|
|
6755
|
+
show?: boolean;
|
|
6756
|
+
responsiveBreakpoint?: number;
|
|
6757
|
+
th?: ChartTableCell;
|
|
6758
|
+
td?: ChartTableCell & {
|
|
6759
|
+
roundingValue?: number;
|
|
6760
|
+
};
|
|
6761
|
+
columnNames?: {
|
|
6762
|
+
series?: string;
|
|
6763
|
+
datapoint?: string;
|
|
6764
|
+
category?: string;
|
|
6765
|
+
};
|
|
6766
|
+
};
|
|
6767
|
+
}
|
|
6768
|
+
|
|
6769
|
+
export type VueUiWorldDataset = {
|
|
6770
|
+
[key: string]: {
|
|
6771
|
+
value: number;
|
|
6772
|
+
category?: string;
|
|
6773
|
+
color?: string
|
|
6774
|
+
}
|
|
6775
|
+
}
|
|
6776
|
+
|
|
6777
|
+
export const VueUiWorld: DefineComponent<{
|
|
6778
|
+
config?: VueUiWorldConfig;
|
|
6779
|
+
dataset?: VueUiWorldDataset
|
|
6780
|
+
}>
|
|
6781
|
+
|
|
6700
6782
|
export type VueDataUiConfig =
|
|
6701
6783
|
| VueUi3dBarConfig
|
|
6702
6784
|
| VueUiAgePyramidConfig
|
|
@@ -6755,7 +6837,8 @@ declare module "vue-data-ui" {
|
|
|
6755
6837
|
| VueUiBulletConfig
|
|
6756
6838
|
| VueUiFunnelConfig
|
|
6757
6839
|
| VueUiHistoryPlotConfig
|
|
6758
|
-
| VueUiCirclePackConfig
|
|
6840
|
+
| VueUiCirclePackConfig
|
|
6841
|
+
| VueUiWorldConfig;
|
|
6759
6842
|
|
|
6760
6843
|
export type VueDataUiConfigKey =
|
|
6761
6844
|
| "vue_ui_3d_bar"
|
|
@@ -6815,7 +6898,8 @@ declare module "vue-data-ui" {
|
|
|
6815
6898
|
| "vue_ui_bullet"
|
|
6816
6899
|
| "vue_ui_funnel"
|
|
6817
6900
|
| "vue_ui_history_plot"
|
|
6818
|
-
| "vue_ui_circle_pack"
|
|
6901
|
+
| "vue_ui_circle_pack"
|
|
6902
|
+
| "vue_ui_world";
|
|
6819
6903
|
|
|
6820
6904
|
export type VueDataUiWordCloudTransformCallback =
|
|
6821
6905
|
| ((word: string) => string)
|
|
@@ -56,7 +56,8 @@ declare module "vue-data-ui" {
|
|
|
56
56
|
| VueUiBulletDataset
|
|
57
57
|
| VueUiFunnelDatasetItem[]
|
|
58
58
|
| VueUiHistoryPlotDatasetItem[]
|
|
59
|
-
| VueUiCirclePackDatasetItem[]
|
|
59
|
+
| VueUiCirclePackDatasetItem[]
|
|
60
|
+
| VueUiWorldDataset;
|
|
60
61
|
config?:
|
|
61
62
|
| VueUi3dBarConfig
|
|
62
63
|
| VueUiAgePyramidConfig
|
|
@@ -113,7 +114,8 @@ declare module "vue-data-ui" {
|
|
|
113
114
|
| VueUiBulletConfig
|
|
114
115
|
| VueUiFunnelConfig
|
|
115
116
|
| VueUiHistoryPlotConfig
|
|
116
|
-
| VueUiCirclePackConfig
|
|
117
|
+
| VueUiCirclePackConfig
|
|
118
|
+
| VueUiWorldConfig;
|
|
117
119
|
}>;
|
|
118
120
|
|
|
119
121
|
export type VueUiPatternName =
|
|
@@ -1160,7 +1162,8 @@ declare module "vue-data-ui" {
|
|
|
1160
1162
|
| "htmlTag"
|
|
1161
1163
|
| "curlyBrackets"
|
|
1162
1164
|
| "curlySpread"
|
|
1163
|
-
| "text"
|
|
1165
|
+
| "text"
|
|
1166
|
+
| "world";
|
|
1164
1167
|
|
|
1165
1168
|
export const VueUiIcon: DefineComponent<{
|
|
1166
1169
|
name: VueUiIconName;
|
|
@@ -6697,6 +6700,85 @@ declare module "vue-data-ui" {
|
|
|
6697
6700
|
dataset: VueUiCirclePackDatasetItem[];
|
|
6698
6701
|
}>;
|
|
6699
6702
|
|
|
6703
|
+
export type VueUiWorldConfig = {
|
|
6704
|
+
userOptions?: ChartUserOptions;
|
|
6705
|
+
customPalette?: string[];
|
|
6706
|
+
projection?: 'aitoff' | 'azimuthalEquidistant' | 'bonne' | 'equirectangular' | 'gallPeters' | 'globe' | 'hammer' | 'mercator' | 'mollweide' | 'robinson' | 'sinusoidal' | 'vanDerGrinten' | 'winkelTripel',
|
|
6707
|
+
style?: {
|
|
6708
|
+
fontFamily?: string;
|
|
6709
|
+
chart?: {
|
|
6710
|
+
backgroundColor?: string;
|
|
6711
|
+
color?: string?;
|
|
6712
|
+
padding?: ChartPadding;
|
|
6713
|
+
dataLabels?: {
|
|
6714
|
+
prefix?: string;
|
|
6715
|
+
suffix?: string;
|
|
6716
|
+
rounding?: number;
|
|
6717
|
+
formatter: Formatter;
|
|
6718
|
+
};
|
|
6719
|
+
dimensions?: {
|
|
6720
|
+
height?: number | null;
|
|
6721
|
+
width?: number | null;
|
|
6722
|
+
};
|
|
6723
|
+
globe?: {
|
|
6724
|
+
center?: {
|
|
6725
|
+
x?: number;
|
|
6726
|
+
y?: number;
|
|
6727
|
+
};
|
|
6728
|
+
waterColor?: string;
|
|
6729
|
+
};
|
|
6730
|
+
territory?: {
|
|
6731
|
+
stroke?: string;
|
|
6732
|
+
emptyColor?: string;
|
|
6733
|
+
strokeWidth?: number;
|
|
6734
|
+
strokeWidthSelected?: number;
|
|
6735
|
+
colors?: {
|
|
6736
|
+
min?: string;
|
|
6737
|
+
max?: string | null;
|
|
6738
|
+
}
|
|
6739
|
+
};
|
|
6740
|
+
tooltip?: ChartTooltip & {
|
|
6741
|
+
showMinimap?: boolean;
|
|
6742
|
+
customFormat?:
|
|
6743
|
+
| null
|
|
6744
|
+
| ((
|
|
6745
|
+
params: VueUiTooltipParams<any>
|
|
6746
|
+
) => string);
|
|
6747
|
+
};
|
|
6748
|
+
title?: ChartTitle;
|
|
6749
|
+
legend?: ChartBaseLegend & {
|
|
6750
|
+
backgroundColor?: string;
|
|
6751
|
+
};
|
|
6752
|
+
}
|
|
6753
|
+
};
|
|
6754
|
+
table?: {
|
|
6755
|
+
show?: boolean;
|
|
6756
|
+
responsiveBreakpoint?: number;
|
|
6757
|
+
th?: ChartTableCell;
|
|
6758
|
+
td?: ChartTableCell & {
|
|
6759
|
+
roundingValue?: number;
|
|
6760
|
+
};
|
|
6761
|
+
columnNames?: {
|
|
6762
|
+
series?: string;
|
|
6763
|
+
datapoint?: string;
|
|
6764
|
+
category?: string;
|
|
6765
|
+
};
|
|
6766
|
+
};
|
|
6767
|
+
}
|
|
6768
|
+
|
|
6769
|
+
export type VueUiWorldDataset = {
|
|
6770
|
+
[key: string]: {
|
|
6771
|
+
value: number;
|
|
6772
|
+
category?: string;
|
|
6773
|
+
color?: string
|
|
6774
|
+
}
|
|
6775
|
+
}
|
|
6776
|
+
|
|
6777
|
+
export const VueUiWorld: DefineComponent<{
|
|
6778
|
+
config?: VueUiWorldConfig;
|
|
6779
|
+
dataset?: VueUiWorldDataset
|
|
6780
|
+
}>
|
|
6781
|
+
|
|
6700
6782
|
export type VueDataUiConfig =
|
|
6701
6783
|
| VueUi3dBarConfig
|
|
6702
6784
|
| VueUiAgePyramidConfig
|
|
@@ -6755,7 +6837,8 @@ declare module "vue-data-ui" {
|
|
|
6755
6837
|
| VueUiBulletConfig
|
|
6756
6838
|
| VueUiFunnelConfig
|
|
6757
6839
|
| VueUiHistoryPlotConfig
|
|
6758
|
-
| VueUiCirclePackConfig
|
|
6840
|
+
| VueUiCirclePackConfig
|
|
6841
|
+
| VueUiWorldConfig;
|
|
6759
6842
|
|
|
6760
6843
|
export type VueDataUiConfigKey =
|
|
6761
6844
|
| "vue_ui_3d_bar"
|
|
@@ -6815,7 +6898,8 @@ declare module "vue-data-ui" {
|
|
|
6815
6898
|
| "vue_ui_bullet"
|
|
6816
6899
|
| "vue_ui_funnel"
|
|
6817
6900
|
| "vue_ui_history_plot"
|
|
6818
|
-
| "vue_ui_circle_pack"
|
|
6901
|
+
| "vue_ui_circle_pack"
|
|
6902
|
+
| "vue_ui_world";
|
|
6819
6903
|
|
|
6820
6904
|
export type VueDataUiWordCloudTransformCallback =
|
|
6821
6905
|
| ((word: string) => string)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-Dq-Z3H6U.cjs");function o({defaultConfig:e,userConfig:t}){if(!Object.keys(t||{}).length)return e;const n=r.treeShake({defaultConfig:e,userConfig:t});return r.convertConfigColors(n)}exports.useNestedProp=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./BaseIcon-Csib-bFs.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-dom-to-png-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-2b85c189"]]);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-C4WYgi8l.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-D4mtuxkz.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-D4bvnDD1.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-dom-to-png-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-2b85c189"]]);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-Nu-tkOyL.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-DoSFkT2s.cjs"));await u({domElement:document.getElementById(t),fileName:k,format:"png",options:r})}catch(u){console.error("Error generating image:",u)}finally{m.value=!1}},100))}return{generatePdf:g,generateImage:B,isPrinting:d,isImaging:m}}exports.UserOptions=q;exports.usePrinter=U;exports.vClickOutside=A;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { 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-D6JclX-r.js";
|
|
3
3
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const ne = {
|
|
5
5
|
beforeMount(e, C) {
|
|
@@ -536,7 +536,7 @@ function ve({
|
|
|
536
536
|
!r || S.value || (S.value = !0, clearTimeout(B.value), B.value = setTimeout(async () => {
|
|
537
537
|
if (r)
|
|
538
538
|
try {
|
|
539
|
-
const { default: v } = await import("./pdf-
|
|
539
|
+
const { default: v } = await import("./pdf-BbjLvsfj.js");
|
|
540
540
|
await v({
|
|
541
541
|
domElement: document.getElementById(e),
|
|
542
542
|
fileName: C,
|
|
@@ -553,7 +553,7 @@ function ve({
|
|
|
553
553
|
!r || A.value || (A.value = !0, clearTimeout(B.value), B.value = setTimeout(async () => {
|
|
554
554
|
if (r)
|
|
555
555
|
try {
|
|
556
|
-
const { default: v } = await import("./img-
|
|
556
|
+
const { default: v } = await import("./img-7vHTByr4.js");
|
|
557
557
|
await v({
|
|
558
558
|
domElement: document.getElementById(e),
|
|
559
559
|
fileName: C,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toRefs as tt, defineAsyncComponent as e, computed as s, ref as o, onMounted as et, watch as
|
|
2
|
-
import
|
|
1
|
+
import { toRefs as tt, defineAsyncComponent as e, computed as s, ref as o, onMounted as et, watch as G, shallowReactive as ot, createElementBlock as it, createBlock as m, openBlock as c, normalizeStyle as at, createElementVNode as nt, createTextVNode as rt, createCommentVNode as M, 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 $ from "./BaseIcon-D6JclX-r.js";
|
|
3
3
|
const ft = { style: { width: "36px" } }, ht = {
|
|
4
4
|
__name: "vue-data-ui",
|
|
5
5
|
props: {
|
|
@@ -34,65 +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
|
-
VueUiSkeleton: e(() => import("./vue-ui-skeleton-
|
|
62
|
-
VueUiSmiley: e(() => import("./vue-ui-smiley-
|
|
63
|
-
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-
|
|
64
|
-
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-
|
|
65
|
-
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-
|
|
66
|
-
VueUiSparkline: e(() => import("./vue-ui-sparkline-
|
|
67
|
-
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-
|
|
68
|
-
VueUiTable: e(() => import("./vue-ui-table-
|
|
69
|
-
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-
|
|
70
|
-
VueUiThermometer: e(() => import("./vue-ui-thermometer-
|
|
71
|
-
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-
|
|
72
|
-
VueUiTreemap: e(() => import("./vue-ui-treemap-
|
|
73
|
-
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-
|
|
74
|
-
VueUiWaffle: e(() => import("./vue-ui-waffle-
|
|
75
|
-
VueUiWheel: e(() => import("./vue-ui-wheel-
|
|
76
|
-
VueUiXy: e(() => import("./vue-ui-xy-
|
|
77
|
-
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-
|
|
78
|
-
VueUiAccordion: e(() => import("./vue-ui-accordion-
|
|
79
|
-
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-
|
|
80
|
-
VueUiCursor: e(() => import("./vue-ui-cursor-
|
|
81
|
-
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-
|
|
82
|
-
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-
|
|
83
|
-
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-
|
|
84
|
-
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-
|
|
85
|
-
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-
|
|
86
|
-
VueUiFlow: e(() => import("./vue-ui-flow-
|
|
87
|
-
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-
|
|
88
|
-
VueUiTimer: e(() => import("./vue-ui-timer-
|
|
89
|
-
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-
|
|
90
|
-
VueUiGizmo: e(() => import("./vue-ui-gizmo-
|
|
91
|
-
VueUiStackbar: e(() => import("./vue-ui-stackbar-
|
|
92
|
-
VueUiBullet: e(() => import("./vue-ui-bullet-
|
|
93
|
-
VueUiFunnel: e(() => import("./vue-ui-funnel-
|
|
94
|
-
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-
|
|
95
|
-
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-
|
|
37
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-WYKfbosC.js")),
|
|
38
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-6V9PIJ9j.js")),
|
|
39
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-BuUBWuPO.js")),
|
|
40
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-DcWSJrio.js")),
|
|
41
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-DUJGtKS8.js")),
|
|
42
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-DWdDrGCi.js")),
|
|
43
|
+
VueUiDigits: e(() => import("./vue-ui-digits-CSn2-k9M.js")),
|
|
44
|
+
VueUiDonut: e(() => import("./vue-ui-donut-DC1EWaEl.js")),
|
|
45
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-By920tt3.js")),
|
|
46
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-DkM5qmQv.js")),
|
|
47
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-cl4ABOp8.js")),
|
|
48
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-BNa9N4f-.js")),
|
|
49
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-GIQ6e_RV.js")),
|
|
50
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-5IwteuFG.js")),
|
|
51
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-BsrPwi8A.js")),
|
|
52
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-uCfduDDP.js")),
|
|
53
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-Cup810nX.js")),
|
|
54
|
+
VueUiOnion: e(() => import("./vue-ui-onion-DNEkpvUE.js")),
|
|
55
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-gG5ROJGQ.js")),
|
|
56
|
+
VueUiRadar: e(() => import("./vue-ui-radar-CJzWWq0w.js")),
|
|
57
|
+
VueUiRating: e(() => import("./vue-ui-rating-C7hnXZku.js")),
|
|
58
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-C_Red0gA.js")),
|
|
59
|
+
VueUiRings: e(() => import("./vue-ui-rings-5Tx7WOtY.js")),
|
|
60
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-JwOHzshk.js")),
|
|
61
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-IitNlkFC.js")),
|
|
62
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-Co2srnQu.js")),
|
|
63
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-CVc8zCkq.js")),
|
|
64
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-C2Qy7q0I.js")),
|
|
65
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-BVWIePzy.js")),
|
|
66
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-BPiXteOw.js")),
|
|
67
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-oSdvBIlr.js")),
|
|
68
|
+
VueUiTable: e(() => import("./vue-ui-table-BNRBtVf2.js")),
|
|
69
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-zZB3sxij.js")),
|
|
70
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-CY2eIr41.js")),
|
|
71
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-au7USSKN.js")),
|
|
72
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-CBbWvhqq.js")),
|
|
73
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-DowTuusW.js")),
|
|
74
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-BMl4rq6k.js")),
|
|
75
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-B2635Z3i.js")),
|
|
76
|
+
VueUiXy: e(() => import("./vue-ui-xy-D5KaqxbH.js")),
|
|
77
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-CksNGmq-.js")),
|
|
78
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-BQHr5xZr.js")),
|
|
79
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-BmBj8ixE.js")),
|
|
80
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-kIAHk3pv.js")),
|
|
81
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-CkhonQlt.js")),
|
|
82
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-tqIqG1HH.js")),
|
|
83
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-DhYF4Xzq.js")),
|
|
84
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-Dsustsn0.js")),
|
|
85
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-BJtQ43Fd.js")),
|
|
86
|
+
VueUiFlow: e(() => import("./vue-ui-flow-CvmxLLDU.js")),
|
|
87
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-MCx1Yq1h.js")),
|
|
88
|
+
VueUiTimer: e(() => import("./vue-ui-timer-DmEJSRjb.js")),
|
|
89
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-Bf9Ll_CD.js")),
|
|
90
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-B6H3gQ7i.js")),
|
|
91
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-DKp3QK8C.js")),
|
|
92
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-02I7GPLx.js")),
|
|
93
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-aW6gN5M7.js")),
|
|
94
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-SdGR3p3B.js")),
|
|
95
|
+
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-D4Okcy6J.js")),
|
|
96
|
+
VueUiWorld: e(() => import("./vue-ui-world-icMrF6FD.js"))
|
|
96
97
|
}, q = {
|
|
97
98
|
VueUi3dBar: ["config", "dataset"],
|
|
98
99
|
VueUiAgePyramid: ["config", "dataset"],
|
|
@@ -152,11 +153,12 @@ const ft = { style: { width: "36px" } }, ht = {
|
|
|
152
153
|
VueUiBullet: ["config", "dataset"],
|
|
153
154
|
VueUiFunnel: ["config", "dataset"],
|
|
154
155
|
VueUiHistoryPlot: ["config", "dataset"],
|
|
155
|
-
VueUiCirclePack: ["config", "dataset"]
|
|
156
|
+
VueUiCirclePack: ["config", "dataset"],
|
|
157
|
+
VueUiWorld: ["config", "dataset"]
|
|
156
158
|
}, Y = j, d = s(() => !g[n.component]), J = s(() => g[n.component] || null), i = o(null), Z = s(() => {
|
|
157
159
|
const t = q[n.component] || [], a = {};
|
|
158
160
|
return t.includes("config") && (a.config = K.value), t.includes("dataset") && (a.dataset = z.value), a;
|
|
159
|
-
}), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), k = o(() => null), S = o(() => null), h = o(() => null), y = o(() => null), b = o(() => null), C = o(() => null), A = o(() => null), T = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), I = o(() => null), F = o(() => null), H = o(() => null), L = o(() => null), N = o(() => null), B = o(() => null), E = o(() => null), _ = o(() => null), O = o(() => null),
|
|
161
|
+
}), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), k = o(() => null), S = o(() => null), h = o(() => null), y = o(() => null), b = o(() => null), C = o(() => null), A = o(() => null), T = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), I = o(() => null), F = o(() => null), H = o(() => null), L = o(() => null), N = o(() => null), B = o(() => null), E = o(() => null), _ = o(() => null), O = o(() => null), W = o(() => null);
|
|
160
162
|
et(() => {
|
|
161
163
|
d.value && console.error(`
|
|
162
164
|
|
|
@@ -167,8 +169,8 @@ Available components:
|
|
|
167
169
|
|
|
168
170
|
${Object.keys(g).map((t) => `. ${t}
|
|
169
171
|
`).join("")}`);
|
|
170
|
-
}),
|
|
171
|
-
t && (t.generatePdf && (V.value = t.generatePdf), t.generateImage && (f.value = t.generateImage), t.generateCsv && (U.value = t.generateCsv), t.getItemsPositions && (v.value = t.getItemsPositions), t.toggleReadonly && (k.value = t.toggleReadonly), t.shoot && (S.value = t.shoot), t.close && (h.value = t.close), t.restoreOrder && (y.value = t.restoreOrder), t.recalculateHeight && (b.value = t.recalculateHeight), t.toggleLock && (C.value = t.toggleLock), t.toggleTable && (A.value = t.toggleTable), t.toggleLabels && (T.value = t.toggleLabels), t.toggleSort && (P.value = t.toggleSort), t.toggleStack && (D.value = t.toggleStack), t.toggleTooltip && (x.value = t.toggleTooltip), t.start && (I.value = t.start), t.pause && (F.value = t.pause), t.reset && (H.value = t.reset), t.restart && (L.value = t.restart), t.lap && (N.value = t.lap), t.toggleAnimation && (B.value = t.toggleAnimation), t.pauseAnimation && (E.value = t.pauseAnimation), t.resumeAnimation && (_.value = t.resumeAnimation), t.toggleAnnotator && (O.value = t.toggleAnnotator), t.selectNode && (
|
|
172
|
+
}), G(i, async (t) => {
|
|
173
|
+
t && (t.generatePdf && (V.value = t.generatePdf), t.generateImage && (f.value = t.generateImage), t.generateCsv && (U.value = t.generateCsv), t.getItemsPositions && (v.value = t.getItemsPositions), t.toggleReadonly && (k.value = t.toggleReadonly), t.shoot && (S.value = t.shoot), t.close && (h.value = t.close), t.restoreOrder && (y.value = t.restoreOrder), t.recalculateHeight && (b.value = t.recalculateHeight), t.toggleLock && (C.value = t.toggleLock), t.toggleTable && (A.value = t.toggleTable), t.toggleLabels && (T.value = t.toggleLabels), t.toggleSort && (P.value = t.toggleSort), t.toggleStack && (D.value = t.toggleStack), t.toggleTooltip && (x.value = t.toggleTooltip), t.start && (I.value = t.start), t.pause && (F.value = t.pause), t.reset && (H.value = t.reset), t.restart && (L.value = t.restart), t.lap && (N.value = t.lap), t.toggleAnimation && (B.value = t.toggleAnimation), t.pauseAnimation && (E.value = t.pauseAnimation), t.resumeAnimation && (_.value = t.resumeAnimation), t.toggleAnnotator && (O.value = t.toggleAnnotator), t.selectNode && (W.value = t.selectNode));
|
|
172
174
|
});
|
|
173
175
|
const R = () => {
|
|
174
176
|
const t = [
|
|
@@ -203,7 +205,7 @@ ${Object.keys(g).map((t) => `. ${t}
|
|
|
203
205
|
a[p] = (...u) => Y(p, ...u);
|
|
204
206
|
}), a;
|
|
205
207
|
}, r = ot([]);
|
|
206
|
-
|
|
208
|
+
G([r, i], () => {
|
|
207
209
|
if (i.value)
|
|
208
210
|
for (; r.length; ) {
|
|
209
211
|
const [t, ...a] = r.shift();
|
|
@@ -235,7 +237,7 @@ ${Object.keys(g).map((t) => `. ${t}
|
|
|
235
237
|
resumeAnimation: _,
|
|
236
238
|
toggleAnimation: B,
|
|
237
239
|
toggleAnnotator: O,
|
|
238
|
-
selectNode:
|
|
240
|
+
selectNode: W
|
|
239
241
|
});
|
|
240
242
|
const l = s(() => {
|
|
241
243
|
let t = `The provided component ${n.component} does not exist.`;
|
|
@@ -258,16 +260,16 @@ ${Object.keys(g).map((t) => `. ${t}
|
|
|
258
260
|
})
|
|
259
261
|
}, [
|
|
260
262
|
nt("div", ft, [
|
|
261
|
-
l.value.status === "unknown" ? (c(), m(
|
|
263
|
+
l.value.status === "unknown" ? (c(), m($, {
|
|
262
264
|
key: 0,
|
|
263
265
|
name: "moodFlat",
|
|
264
266
|
stroke: "#FF0000"
|
|
265
|
-
})) :
|
|
266
|
-
l.value.status === "notSupported" ? (c(), m(
|
|
267
|
+
})) : M("", !0),
|
|
268
|
+
l.value.status === "notSupported" ? (c(), m($, {
|
|
267
269
|
key: 1,
|
|
268
270
|
name: "circleExclamation",
|
|
269
271
|
stroke: "#FF9000"
|
|
270
|
-
})) :
|
|
272
|
+
})) : M("", !0)
|
|
271
273
|
]),
|
|
272
274
|
rt(" " + lt(l.value.message), 1)
|
|
273
275
|
], 4)) : (c(), m(ut(J.value), st({
|