vue-data-ui 2.6.20 → 2.6.22
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-C9wt_iwE.js → Arrow-Cf2BhlTz.js} +1 -1
- package/dist/{Arrow-mU42Peiq.cjs → Arrow-Dkww_cPT.cjs} +1 -1
- package/dist/{BaseIcon-DMhDupLt.cjs → BaseIcon-CMg_B1n7.cjs} +1 -1
- package/dist/{BaseIcon-CR8s5lLC.js → BaseIcon-sQ0Yl3WG.js} +1 -1
- package/dist/{DataTable-CMUyDj6S.js → DataTable-2Igu4lk9.js} +2 -2
- package/dist/{DataTable-Qba16zLZ.cjs → DataTable-CdAOPHJa.cjs} +1 -1
- package/dist/{Legend-CaMKYW-V.js → Legend-BSuEi9g7.js} +2 -2
- package/dist/{Legend-EauKcdAx.cjs → Legend-CWcXXd69.cjs} +1 -1
- package/dist/{PackageVersion-Vv7wNIAl.cjs → PackageVersion-D9dPTMdO.cjs} +1 -1
- package/dist/{PackageVersion-CURzw4q1.js → PackageVersion-V-_CbVlt.js} +1 -1
- package/dist/PenAndPaper-Cpwa77pt.cjs +1 -0
- package/dist/{PenAndPaper-CjiJra09.js → PenAndPaper-Dq-ECAue.js} +20 -16
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-DB_DsgPX.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-ByFB8slT.cjs} +1 -1
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-BzSorLrT.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-DKbZbPIn.js} +3 -3
- package/dist/{Shape-F5v4f45p.js → Shape-BPvU0s7x.js} +1 -1
- package/dist/{Shape-gLknKTb6.cjs → Shape-Ca9CTckg.cjs} +1 -1
- package/dist/{Slicer-DQp19cm1.js → Slicer-CATr5IB9.js} +3 -3
- package/dist/{Slicer-CVVRixhP.cjs → Slicer-DXEJzT3U.cjs} +1 -1
- package/dist/{Title-CUHNtIyE.js → Title-CUbvh4nY.js} +1 -1
- package/dist/{Title-m1x23s4w.cjs → Title-Vp8RX2Nj.cjs} +1 -1
- package/dist/{Tooltip-BuAQ8HVL.js → Tooltip-CYcP5JH9.js} +1 -1
- package/dist/{Tooltip-BXY2gKbA.cjs → Tooltip-D6K610_p.cjs} +1 -1
- package/dist/{index-CmhvuQro.cjs → index-BCAY_TBF.cjs} +1 -1
- package/dist/{index-Cq7-va_5.js → index-BVM1Hjat.js} +1 -1
- package/dist/index.es-DvaaoatM.cjs +18 -0
- package/dist/index.es-RWt7DWPC.js +6645 -0
- package/dist/{jspdf.es.min-C5v1xtPn.cjs → jspdf.es.min-Rw70uifz.cjs} +23 -23
- package/dist/{jspdf.es.min-DKXYalZb.js → jspdf.es.min-eTA26cmm.js} +476 -470
- package/dist/{pdf-CHXlEvWj.cjs → pdf-DSkQT5iH.cjs} +1 -1
- package/dist/{pdf-70oZh5Jp.js → pdf-DVWl3Adn.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BEyJNlaO.js → useNestedProp-B7524T_I.js} +1 -1
- package/dist/{useNestedProp-CnH-XcZU.cjs → useNestedProp-Ces_ZEmq.cjs} +1 -1
- package/dist/{usePrinter-jRjc8Naz.js → usePrinter-BuEZ1Mqw.js} +2 -2
- package/dist/{usePrinter-DhZH4pcR.cjs → usePrinter-CMRlY9rc.cjs} +1 -1
- package/dist/useResponsive-N8jl0-aC.cjs +1 -0
- package/dist/{useResponsive-BWapHhVH.js → useResponsive-vZgZwV-S.js} +65 -64
- package/dist/{vue-data-ui-BPSCRfcK.js → vue-data-ui-CMHydJ3z.js} +61 -61
- package/dist/{vue-data-ui-DD5SV4SW.cjs → vue-data-ui-Cl21-Qn-.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-BlCSdagh.cjs → vue-ui-3d-bar-BB9IHMFV.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-TB1XdncJ.js → vue-ui-3d-bar-CiVt8Lvp.js} +9 -9
- package/dist/{vue-ui-accordion-C3Ljak65.cjs → vue-ui-accordion-D86VhQnK.cjs} +1 -1
- package/dist/{vue-ui-accordion-vAQ_LLoP.js → vue-ui-accordion-Zeu2qcSI.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BUWoRp_B.js → vue-ui-age-pyramid-CaZSG2fN.js} +11 -11
- package/dist/{vue-ui-age-pyramid-CrDKpPil.cjs → vue-ui-age-pyramid-t5v8gG7E.cjs} +1 -1
- package/dist/{vue-ui-annotator-wjsB7Ihy.cjs → vue-ui-annotator-DPQRwLra.cjs} +1 -1
- package/dist/{vue-ui-annotator-BVE-xqSy.js → vue-ui-annotator-DqMnXHaK.js} +2 -2
- package/dist/{vue-ui-bullet-BcU0lGMw.cjs → vue-ui-bullet-DfJ9YR2-.cjs} +1 -1
- package/dist/{vue-ui-bullet-Cj4GC_-F.js → vue-ui-bullet-oN99bgSq.js} +8 -8
- package/dist/{vue-ui-candlestick-C2hAp3Fi.js → vue-ui-candlestick-BIznNizW.js} +12 -12
- package/dist/{vue-ui-candlestick-n--kSbN7.cjs → vue-ui-candlestick-CbvO_6uK.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CU96d16y.cjs → vue-ui-carousel-table-DKQSfGt-.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Do1uzI_G.js → vue-ui-carousel-table-DjWEv7sx.js} +4 -4
- package/dist/{vue-ui-chestnut-DJq8IWIL.cjs → vue-ui-chestnut-DJsFMi3a.cjs} +1 -1
- package/dist/{vue-ui-chestnut-fb3ioT4a.js → vue-ui-chestnut-DtC70R0X.js} +8 -8
- package/dist/vue-ui-circle-pack-Bi3Usmkl.js +648 -0
- package/dist/vue-ui-circle-pack-KCMKYM9w.cjs +1 -0
- package/dist/{vue-ui-cursor-scYLETJY.js → vue-ui-cursor-BbrupWFh.js} +2 -2
- package/dist/{vue-ui-cursor-DSCiOK2l.cjs → vue-ui-cursor-Bh3F6uU7.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BBDfkeCW.cjs → vue-ui-dashboard-CR09TdSL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DjxJGI1j.js → vue-ui-dashboard-he9hja0v.js} +3 -3
- package/dist/{vue-ui-digits-Cmn1NNzQ.cjs → vue-ui-digits-CrQuYkCF.cjs} +1 -1
- package/dist/{vue-ui-digits-7bQAdMhs.js → vue-ui-digits-eow8_8IF.js} +2 -2
- package/dist/{vue-ui-donut-RJQUTfyW.js → vue-ui-donut-C2Ab0qsE.js} +13 -13
- package/dist/{vue-ui-donut-C291KoIU.cjs → vue-ui-donut-Dh75AMUR.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DPW_ITH8.js → vue-ui-donut-evolution-C4ZSty9k.js} +11 -11
- package/dist/{vue-ui-donut-evolution-Dp15D88c.cjs → vue-ui-donut-evolution-CwPKiglD.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B8Zm8EVd.js → vue-ui-dumbbell-BN8fJSvG.js} +11 -11
- package/dist/{vue-ui-dumbbell-BdEUvUV7.cjs → vue-ui-dumbbell-CafiAGaw.cjs} +1 -1
- package/dist/{vue-ui-flow-BukV6_Zl.cjs → vue-ui-flow-BWm4K97n.cjs} +1 -1
- package/dist/{vue-ui-flow-BNIgPNGy.js → vue-ui-flow-DKpHc3FI.js} +9 -9
- package/dist/{vue-ui-funnel-CIgZpg3T.cjs → vue-ui-funnel-C25z-XuU.cjs} +1 -1
- package/dist/{vue-ui-funnel-BrPqtGct.js → vue-ui-funnel-DkmKmnNf.js} +10 -10
- package/dist/{vue-ui-galaxy-D1IYOUwX.js → vue-ui-galaxy-oV4efmeX.js} +11 -11
- package/dist/{vue-ui-galaxy-FGqZ4tWB.cjs → vue-ui-galaxy-wgZKEqln.cjs} +1 -1
- package/dist/{vue-ui-gauge-B00JvBFF.cjs → vue-ui-gauge-CzA2PhpW.cjs} +1 -1
- package/dist/{vue-ui-gauge-BsOXy5MV.js → vue-ui-gauge-DEKM0_3Q.js} +8 -8
- package/dist/{vue-ui-gizmo-D_uv6qkV.cjs → vue-ui-gizmo-DlNuWEmn.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Cyl89etd.js → vue-ui-gizmo-UO3Zkeme.js} +3 -3
- package/dist/{vue-ui-heatmap-CgF4n8Bh.js → vue-ui-heatmap-E_CcRS7D.js} +10 -10
- package/dist/{vue-ui-heatmap-CGg2_xWH.cjs → vue-ui-heatmap-dnvzPPoV.cjs} +1 -1
- package/dist/{vue-ui-history-plot-Rdjb-yOk.js → vue-ui-history-plot-DRbZ8X1X.js} +12 -12
- package/dist/{vue-ui-history-plot-DR11Ips0.cjs → vue-ui-history-plot-EWyGCjPe.cjs} +1 -1
- package/dist/{vue-ui-kpi-COfnJm-X.js → vue-ui-kpi-BZxftzEv.js} +3 -3
- package/dist/{vue-ui-kpi-CbAgFb-9.cjs → vue-ui-kpi-DWJbsdvG.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CizZv79e.cjs → vue-ui-mini-loader-BvWPS_gQ.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DNM7jU2W.js → vue-ui-mini-loader-DsCVKpe9.js} +2 -2
- package/dist/{vue-ui-molecule-CiOIVjFk.cjs → vue-ui-molecule-BdANdT7O.cjs} +1 -1
- package/dist/{vue-ui-molecule-Cv6jp9D_.js → vue-ui-molecule-BnYkqFk0.js} +10 -10
- package/dist/{vue-ui-mood-radar-B-VE2pVS.js → vue-ui-mood-radar-Cgn-5GqE.js} +11 -11
- package/dist/{vue-ui-mood-radar-CoHouhrl.cjs → vue-ui-mood-radar-D_uLYLXE.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-D-7tn_Qe.js → vue-ui-nested-donuts-BP9UnBkw.js} +12 -12
- package/dist/{vue-ui-nested-donuts-ITcu4gJW.cjs → vue-ui-nested-donuts-BzOUk2Kz.cjs} +1 -1
- package/dist/{vue-ui-onion-fzXsWjjI.cjs → vue-ui-onion-DGw3Ce3f.cjs} +1 -1
- package/dist/{vue-ui-onion-B4SgCj8L.js → vue-ui-onion-vu27Cwcx.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs → vue-ui-parallel-coordinate-plot-Bo-yxxDH.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CpQOyh-W.js → vue-ui-parallel-coordinate-plot-Dy3yQFd1.js} +13 -13
- package/dist/{vue-ui-quadrant-ByRNr-XD.cjs → vue-ui-quadrant-B9GkwB5l.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DhODDM5V.js → vue-ui-quadrant-DgQqkCxk.js} +13 -13
- package/dist/{vue-ui-quick-chart-BsQAMw9M.cjs → vue-ui-quick-chart-CMQFeKWK.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-DpeGH277.js → vue-ui-quick-chart-DcpVDq8t.js} +10 -10
- package/dist/{vue-ui-radar-D-qttZKw.cjs → vue-ui-radar-CnqMJrEU.cjs} +1 -1
- package/dist/{vue-ui-radar-CWkrni4Y.js → vue-ui-radar-cwhwGVar.js} +13 -13
- package/dist/{vue-ui-rating-DB4nQsuM.js → vue-ui-rating-BmtemUqF.js} +2 -2
- package/dist/{vue-ui-rating-CY25IY75.cjs → vue-ui-rating-Bub3mYba.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-B_PxY9ZN.js → vue-ui-relation-circle-BerdR_4-.js} +8 -8
- package/dist/{vue-ui-relation-circle-KDFaFqqu.cjs → vue-ui-relation-circle-D0py_PRH.cjs} +1 -1
- package/dist/{vue-ui-rings-D5-sTr38.js → vue-ui-rings-BSm_KC-r.js} +13 -13
- package/dist/{vue-ui-rings-C1Upd5ja.cjs → vue-ui-rings-zQ-4JnNS.cjs} +1 -1
- package/dist/{vue-ui-scatter-C8cn3MR5.js → vue-ui-scatter-D0dIO0lS.js} +13 -13
- package/dist/{vue-ui-scatter-B-aqlIcn.cjs → vue-ui-scatter-DXAm7w2U.cjs} +1 -1
- package/dist/{vue-ui-screenshot-D9EV_KXZ.cjs → vue-ui-screenshot-BdJzHzn9.cjs} +1 -1
- package/dist/{vue-ui-screenshot-kQRZJHLO.js → vue-ui-screenshot-_KsufqYT.js} +1 -1
- package/dist/{vue-ui-skeleton-DyJu1ibj.cjs → vue-ui-skeleton-CNtHe3B_.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DIrE1OTF.js → vue-ui-skeleton-CjC_RR5C.js} +3 -3
- package/dist/{vue-ui-smiley-B7dNRQyO.cjs → vue-ui-smiley-C-dKXMYz.cjs} +1 -1
- package/dist/{vue-ui-smiley-DVjsjIa4.js → vue-ui-smiley-CdYhD3n7.js} +2 -2
- package/dist/{vue-ui-spark-trend-DsUy3aw-.js → vue-ui-spark-trend-DT0q7zha.js} +5 -5
- package/dist/{vue-ui-spark-trend-DRtaXADG.cjs → vue-ui-spark-trend-ZSffEbvM.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-x0F1llCZ.cjs → vue-ui-sparkbar-Ca8RoM26.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Dm8xksUj.js → vue-ui-sparkbar-hm3wy78R.js} +4 -4
- package/dist/{vue-ui-sparkgauge-_gF53YgV.js → vue-ui-sparkgauge-Dsy3BtE1.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B4DRMVOW.cjs → vue-ui-sparkgauge-Wzb-9Nec.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CIMJUDlb.cjs → vue-ui-sparkhistogram-CcyyqdgC.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CD_0ihS9.js → vue-ui-sparkhistogram-DIccfqcP.js} +5 -5
- package/dist/{vue-ui-sparkline-DzOL1IDW.cjs → vue-ui-sparkline-CJfM9R-P.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cs0h6tKI.js → vue-ui-sparkline-edCpjS99.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BBz1lDg0.cjs → vue-ui-sparkstackbar-BCkwH7OH.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-Dhula5ka.js → vue-ui-sparkstackbar-UzWOXV8T.js} +5 -5
- package/dist/{vue-ui-stackbar-BuUtwfyC.cjs → vue-ui-stackbar-DLw1lhqT.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DanAQnBd.js → vue-ui-stackbar-DtxiLdkG.js} +14 -14
- package/dist/{vue-ui-strip-plot-95uUJ2fc.cjs → vue-ui-strip-plot-Bot6lWVZ.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DIlGTBzG.js → vue-ui-strip-plot-DZBPceJC.js} +12 -12
- package/dist/{vue-ui-table-CDS7xlZS.cjs → vue-ui-table-CyT0sQtg.cjs} +1 -1
- package/dist/{vue-ui-table-FKZF6cxI.js → vue-ui-table-DR-vUv2U.js} +1 -1
- package/dist/{vue-ui-table-heatmap-BcGX_vpU.js → vue-ui-table-heatmap-D4JBAEBg.js} +4 -4
- package/dist/{vue-ui-table-heatmap-qVmiG576.cjs → vue-ui-table-heatmap-IsfxseMB.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CVY9EZ7Q.js → vue-ui-table-sparkline-ClYyMljO.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CnVFXbUB.cjs → vue-ui-table-sparkline-Do9vWT7v.cjs} +1 -1
- package/dist/{vue-ui-thermometer-tcTgQiAu.js → vue-ui-thermometer-CY0Gi2uj.js} +7 -7
- package/dist/{vue-ui-thermometer-BTer1qaq.cjs → vue-ui-thermometer-CkN0NXuR.cjs} +1 -1
- package/dist/{vue-ui-timer-CmLGKRcK.cjs → vue-ui-timer-Zx3zQyAq.cjs} +1 -1
- package/dist/{vue-ui-timer-DO_VKZHm.js → vue-ui-timer-t0fSn-_9.js} +6 -6
- package/dist/{vue-ui-tiremarks-BPxAgMQx.cjs → vue-ui-tiremarks-0JbzmUh6.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BKnAiR_H.js → vue-ui-tiremarks-5YPN_NoO.js} +7 -7
- package/dist/{vue-ui-treemap-BnKYnm8A.cjs → vue-ui-treemap-B4BUhmni.cjs} +1 -1
- package/dist/{vue-ui-treemap-oE2QDc_9.js → vue-ui-treemap-kwbjdy0P.js} +12 -12
- package/dist/{vue-ui-vertical-bar-CHUZAnfv.cjs → vue-ui-vertical-bar-CCNvuAMI.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-BfFnXSO5.js → vue-ui-vertical-bar-DRuH5f-B.js} +13 -13
- package/dist/{vue-ui-waffle-YwQAGMlZ.js → vue-ui-waffle-B9zlDgeL.js} +13 -13
- package/dist/{vue-ui-waffle-DxL_bhhX.cjs → vue-ui-waffle-CqVwTFrC.cjs} +1 -1
- package/dist/{vue-ui-wheel-gZQIZUx1.js → vue-ui-wheel-CAS9hnki.js} +8 -8
- package/dist/{vue-ui-wheel-CbEf5uhL.cjs → vue-ui-wheel-CGWDNbH-.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CXpfOcDf.js → vue-ui-word-cloud-BKRBPyWR.js} +11 -11
- package/dist/{vue-ui-word-cloud-Ddmhs5i-.cjs → vue-ui-word-cloud-CxbTioTG.cjs} +1 -1
- package/dist/{vue-ui-xy-BFdih9uG.cjs → vue-ui-xy-DRn-1RsC.cjs} +2 -2
- package/dist/{vue-ui-xy-BHGNHgRk.js → vue-ui-xy-D_OI_ry8.js} +15 -15
- package/dist/{vue-ui-xy-canvas-BFZjHXBj.js → vue-ui-xy-canvas-DXDh8Vzd.js} +13 -13
- package/dist/{vue-ui-xy-canvas-hM1oa-dn.cjs → vue-ui-xy-canvas-DrjjMaQM.cjs} +1 -1
- package/package.json +2 -7
- package/dist/PenAndPaper-DSEAEpTs.cjs +0 -1
- package/dist/index-Dwoe0gcF.cjs +0 -15
- package/dist/index-Fl-W8YeZ.js +0 -3971
- package/dist/useResponsive-YQYQrAZ_.cjs +0 -1
- package/dist/vue-ui-circle-pack-DByIHOMA.js +0 -670
- package/dist/vue-ui-circle-pack-DnwKX38S.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-BCAY_TBF.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 d, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as Y, createElementBlock as i, openBlock as t, normalizeStyle as g, createElementVNode as V, withKeys as Z, withModifiers as p, renderSlot as k, normalizeProps as E, guardReactiveProps as _, createVNode as ee, normalizeClass as c, createCommentVNode as u, Fragment as C, createBlock as f, toDisplayString as m, mergeProps as P, unref as te } from "vue";
|
|
2
|
-
import a from "./BaseIcon-
|
|
2
|
+
import a from "./BaseIcon-sQ0Yl3WG.js";
|
|
3
3
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const ne = {
|
|
5
5
|
beforeMount(e, S) {
|
|
@@ -535,7 +535,7 @@ function ve({
|
|
|
535
535
|
!r || v.value || (v.value = !0, clearTimeout(B.value), B.value = setTimeout(async () => {
|
|
536
536
|
if (r)
|
|
537
537
|
try {
|
|
538
|
-
const { default: $ } = await import("./pdf-
|
|
538
|
+
const { default: $ } = await import("./pdf-DVWl3Adn.js");
|
|
539
539
|
await $({
|
|
540
540
|
domElement: document.getElementById(e),
|
|
541
541
|
fileName: S
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./BaseIcon-DMhDupLt.cjs"),D=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A={beforeMount(t,d){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||d.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:d}){const s=t,u=d;function m(){u("generatePdf")}function v(){u("generateCsv")}function B(){u("generateImage")}const g=e.ref(!1);function f(){g.value=!g.value,u("toggleTable")}const k=e.ref(!1),M=e.ref(!0);function h(){r.value=window.innerWidth>600,k.value=!k.value,k.value&&(M.value=!1)}function T(){s.isPrinting||s.isImaging||(k.value=!1)}function F(){k.value&&T()}const C=e.ref(s.isLabelActive);function I(){C.value=!C.value,u("toggleLabels")}const b=e.ref(s.isAnimation);function E(){b.value=!b.value,u("toggleAnimation")}const y=e.computed({get:()=>s.isAnnotation,set:l=>l});function z(){y.value=!y.value,u("toggleAnnotator")}function P(){u("toggleSort")}const $=e.ref(s.isStacked);function p(){$.value=!$.value,u("toggleStack")}const S=e.ref(s.isTooltip);function O(){S.value=!S.value,u("toggleTooltip")}const c=e.ref(!1);function N(l){s.chartElement&&(l==="in"?(c.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(c.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function V(l){document.fullscreenElement?c.value=!0:c.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",V)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",V)});const r=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: ${c.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${c.value?"12px":"0"}`:`left:${c.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:k.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:k.value,color:t.color})),()=>[e.createVNode(a.default,{name:k.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],!0)],44,L),e.createElementVNode("div",{"data-open":k.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)),r.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:m,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)),r.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:v,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"])),r.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:B,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)),r.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:f,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"])),r.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"])),r.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"])),r.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)),r.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(c.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:N,isFullscreen:c.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[c.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),c.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)),r.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)),r.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)),r.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:d,canPrint:s=!0}){const u=e.ref(!1),m=e.ref(!1),v=e.ref(null);async function B(){!s||u.value||(u.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:f}=await Promise.resolve().then(()=>require("./pdf-CHXlEvWj.cjs"));await f({domElement:document.getElementById(t),fileName:d})}catch(f){console.error("Error generating PDF:",f)}finally{u.value=!1}},100))}async function g(){!s||m.value||(m.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:f}=await Promise.resolve().then(()=>require("./img-BPGizWpM.cjs"));await f({domElement:document.getElementById(t),fileName:d,format:"png"})}catch(f){console.error("Error generating image:",f)}finally{m.value=!1}},100))}return{generatePdf:B,generateImage:g,isPrinting:u,isImaging:m}}exports.UserOptions=q;exports.usePrinter=U;exports.vClickOutside=A;
|
|
1
|
+
"use strict";const e=require("vue"),a=require("./BaseIcon-CMg_B1n7.cjs"),D=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A={beforeMount(t,d){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||d.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:d}){const s=t,u=d;function m(){u("generatePdf")}function v(){u("generateCsv")}function B(){u("generateImage")}const g=e.ref(!1);function f(){g.value=!g.value,u("toggleTable")}const k=e.ref(!1),M=e.ref(!0);function h(){r.value=window.innerWidth>600,k.value=!k.value,k.value&&(M.value=!1)}function T(){s.isPrinting||s.isImaging||(k.value=!1)}function F(){k.value&&T()}const C=e.ref(s.isLabelActive);function I(){C.value=!C.value,u("toggleLabels")}const b=e.ref(s.isAnimation);function E(){b.value=!b.value,u("toggleAnimation")}const y=e.computed({get:()=>s.isAnnotation,set:l=>l});function z(){y.value=!y.value,u("toggleAnnotator")}function P(){u("toggleSort")}const $=e.ref(s.isStacked);function p(){$.value=!$.value,u("toggleStack")}const S=e.ref(s.isTooltip);function O(){S.value=!S.value,u("toggleTooltip")}const c=e.ref(!1);function N(l){s.chartElement&&(l==="in"?(c.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(c.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function V(l){document.fullscreenElement?c.value=!0:c.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",V)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",V)});const r=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: ${c.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${c.value?"12px":"0"}`:`left:${c.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:k.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:k.value,color:t.color})),()=>[e.createVNode(a.default,{name:k.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],!0)],44,L),e.createElementVNode("div",{"data-open":k.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)),r.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:m,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)),r.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:v,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"])),r.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:B,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)),r.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:f,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"])),r.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"])),r.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"])),r.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)),r.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(c.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:N,isFullscreen:c.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[c.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),c.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)),r.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)),r.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)),r.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:d,canPrint:s=!0}){const u=e.ref(!1),m=e.ref(!1),v=e.ref(null);async function B(){!s||u.value||(u.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:f}=await Promise.resolve().then(()=>require("./pdf-DSkQT5iH.cjs"));await f({domElement:document.getElementById(t),fileName:d})}catch(f){console.error("Error generating PDF:",f)}finally{u.value=!1}},100))}async function g(){!s||m.value||(m.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:f}=await Promise.resolve().then(()=>require("./img-BPGizWpM.cjs"));await f({domElement:document.getElementById(t),fileName:d,format:"png"})}catch(f){console.error("Error generating image:",f)}finally{m.value=!1}},100))}return{generatePdf:B,generateImage:g,isPrinting:u,isImaging:m}}exports.UserOptions=q;exports.usePrinter=U;exports.vClickOutside=A;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function C(e,i,o,t={}){if(o<=0)return;e.save();const{color:s="black",lineWidth:u=1,lineCap:d="round",lineJoin:f="round",lineDash:g=null,lineDashoffset:r=0,shadowColor:l=null,shadowBlur:a=0,shadowOffsetX:y=0,shadowOffsetY:w=0,fillStyle:N="#FFFFFF"}=t;e.beginPath(),e.arc(i.x,i.y,o,0,2*Math.PI),e.strokeStyle=s,e.lineWidth=u,e.lineCap=d,e.lineJoin=f,g&&(e.setLineDash(g),e.lineDashoffset=r),l&&(e.shadowColor=l,e.shadowOffsetX=y,e.shadowOffsetY=w),a&&(e.shadowBlur=a),N&&(e.fillStyle=N),e.fillStyle&&e.fill(),e.stroke(),e.restore()}function m(e,i,o={}){if(!i.length)return;e.save();const{color:t="black",lineWidth:s=1,lineCap:u="round",lineJoin:d="round",lineDash:f=null,lineDashoffset:g=0,shadowColor:r=null,shadowBlur:l=0,shadowOffsetX:a=0,shadowOffsetY:y=0}=o;e.beginPath(),e.moveTo(i[0].x,i[0].y);for(let w=1;w<i.length;w+=1)e.lineTo(i[w].x,i[w].y);e.strokeStyle=t,e.lineWidth=s,e.lineCap=u,e.lineJoin=d,f&&(e.setLineDash(f),e.lineDashoffset=g),r&&(e.shadowColor=r,e.shadowOffsetX=a,e.shadowOffsetY=y),l&&(e.shadowBlur=l),e.stroke(),e.restore()}function L(e,i,o={}){if(!i.length)return;e.save();const{strokeColor:t="black",lineWidth:s=1,lineCap:u="round",lineJoin:d="round",lineDash:f=null,lineDashoffset:g=0,fillColor:r=null,gradient:l=null,shadowColor:a=null,shadowBlur:y=0,shadowOffsetX:w=0,shadowOffsetY:N=0}=o;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=t,e.lineWidth=s,e.lineCap=u,e.lineJoin=d,f&&(e.setLineDash(f),e.lineDashoffset=g),a&&(e.shadowColor=a,e.shadowBlur=y,e.shadowOffsetX=w,e.shadowOffsetY=N),l){let n;l.type==="linear"?n=e.createLinearGradient(h(l.start.x,Number.MIN_VALUE),h(l.start.y,Number.MIN_VALUE),h(l.end.x,Number.MIN_VALUE*2),h(l.end.y,Number.MIN_VALUE*2)):l.type==="radial"&&(n=e.createRadialGradient(h(l.start.x,Number.MIN_VALUE),h(l.start.y,Number.MIN_VALUE),l.start.r||0,h(l.end.x,Number.MIN_VALUE*2),h(l.end.y,Number.MIN_VALUE*2),l.end.r||0)),n&&l.stops&&(l.stops.forEach(p=>{n.addColorStop(p.offset,p.color)}),e.fillStyle=n)}else r&&(e.fillStyle=r);e.fillStyle&&e.fill(),t&&e.stroke(),e.restore()}function I(e,i,o={}){if(!i.length)return;e.save();const{strokeColor:t="black",lineWidth:s=1,lineCap:u="round",lineJoin:d="round",lineDash:f=null,lineDashoffset:g=0,fillColor:r=null,gradient:l=null,shadowColor:a=null,shadowBlur:y=0,shadowOffsetX:w=0,shadowOffsetY:N=0}=o;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=t,e.lineWidth=s,e.lineCap=u,e.lineJoin=d,f&&(e.setLineDash(f),e.lineDashoffset=g),a&&(e.shadowColor=a,e.shadowBlur=y,e.shadowOffsetX=w,e.shadowOffsetY=N),l){let n;l.type==="linear"?n=e.createLinearGradient(h(l.start.x,Number.MIN_VALUE),h(l.start.y,Number.MIN_VALUE),h(l.end.x,Number.MIN_VALUE*2),h(l.end.y,Number.MIN_VALUE*2)):l.type==="radial"&&(n=e.createRadialGradient(h(l.start.x,Number.MIN_VALUE),h(l.start.y,Number.MIN_VALUE),l.start.r||0,h(l.end.x,Number.MIN_VALUE*2),h(l.end.y,Number.MIN_VALUE*2),l.end.r||0)),n&&l.stops&&(l.stops.forEach(p=>{n.addColorStop(p.offset,p.color)}),e.fillStyle=n)}else r&&(e.fillStyle=r);e.fillStyle&&e.fill(),t&&e.stroke(),e.restore()}function O(e,i,o,t,s={}){e.save();const{font:u="16px sans-serif",color:d="black",align:f="start",baseline:g="alphabetic",maxWidth:r=void 0,rotation:l=0,shadowColor:a=null,shadowBlur:y=0,shadowOffsetX:w=0,shadowOffsetY:N=0,strokeColor:n=null,lineWidth:p=1,globalAlpha:b=1}=s;e.font=u,e.fillStyle=d,e.textAlign=f,e.textBaseline=g,e.globalAlpha=b,a&&(e.shadowColor=a,e.shadowBlur=y,e.shadowOffsetX=w,e.shadowOffsetY=N),n&&(e.strokeStyle=n,e.lineWidth=p),l!==0&&(e.translate(o,t),e.rotate(Math.PI/180*l),e.translate(-o,-t)),e.fillText(i,o,t,r),n&&e.strokeText(i,o,t,r),e.restore()}function A(e,i=20){let o;return function(...t){const s=this;o||(e.apply(s,t),o=!0,setTimeout(()=>o=!1,i))}}function E(e,i,o=!1){let t;return function(...s){const u=this,d=function(){t=null,o||e.apply(u,s)},f=o&&!t;clearTimeout(t),t=setTimeout(d,i),f&&e.apply(u,s)}}function S(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 h(e,i){return[null,void 0,NaN,1/0,-1/0].includes(e)?i:e}function k({chart:e,title:i=null,slicer:o=null,legend:t=null,source:s=null,noTitle:u=null}){let d=0,f=0,g=0,r=0,l=0,a=0,y=0;if(e){const w=e.parentNode,{height:N,width:n}=w.getBoundingClientRect();i&&(g=i.getBoundingClientRect().height),o&&(r=o.getBoundingClientRect().height),t&&(l=t.getBoundingClientRect().height),s&&(a=s.getBoundingClientRect().height),u&&(y=u.getBoundingClientRect().height),d=N-g-r-l-a-y,f=n}return{width:f,height:d,heightTitle:g,heightNoTitle:y}}exports.circle=C;exports.cloneCanvas=S;exports.debounce=E;exports.line=m;exports.polygon=L;exports.rect=I;exports.text=O;exports.throttle=A;exports.useResponsive=k;
|
|
@@ -3,18 +3,18 @@ function C(e, i, o, t = {}) {
|
|
|
3
3
|
e.save();
|
|
4
4
|
const {
|
|
5
5
|
color: s = "black",
|
|
6
|
-
lineWidth:
|
|
7
|
-
lineCap:
|
|
6
|
+
lineWidth: u = 1,
|
|
7
|
+
lineCap: d = "round",
|
|
8
8
|
lineJoin: f = "round",
|
|
9
|
-
lineDash:
|
|
10
|
-
lineDashoffset:
|
|
9
|
+
lineDash: g = null,
|
|
10
|
+
lineDashoffset: r = 0,
|
|
11
11
|
shadowColor: l = null,
|
|
12
|
-
shadowBlur:
|
|
12
|
+
shadowBlur: a = 0,
|
|
13
13
|
shadowOffsetX: y = 0,
|
|
14
|
-
shadowOffsetY:
|
|
14
|
+
shadowOffsetY: w = 0,
|
|
15
15
|
fillStyle: N = "#FFFFFF"
|
|
16
16
|
} = t;
|
|
17
|
-
e.beginPath(), e.arc(i.x, i.y, o, 0, 2 * Math.PI), e.strokeStyle = s, e.lineWidth =
|
|
17
|
+
e.beginPath(), e.arc(i.x, i.y, o, 0, 2 * Math.PI), e.strokeStyle = s, e.lineWidth = u, e.lineCap = d, e.lineJoin = f, g && (e.setLineDash(g), e.lineDashoffset = r), l && (e.shadowColor = l, e.shadowOffsetX = y, e.shadowOffsetY = w), a && (e.shadowBlur = a), N && (e.fillStyle = N), e.fillStyle && e.fill(), e.stroke(), e.restore();
|
|
18
18
|
}
|
|
19
19
|
function m(e, i, o = {}) {
|
|
20
20
|
if (!i.length) return;
|
|
@@ -22,19 +22,19 @@ function m(e, i, o = {}) {
|
|
|
22
22
|
const {
|
|
23
23
|
color: t = "black",
|
|
24
24
|
lineWidth: s = 1,
|
|
25
|
-
lineCap:
|
|
26
|
-
lineJoin:
|
|
25
|
+
lineCap: u = "round",
|
|
26
|
+
lineJoin: d = "round",
|
|
27
27
|
lineDash: f = null,
|
|
28
|
-
lineDashoffset:
|
|
29
|
-
shadowColor:
|
|
28
|
+
lineDashoffset: g = 0,
|
|
29
|
+
shadowColor: r = null,
|
|
30
30
|
shadowBlur: l = 0,
|
|
31
|
-
shadowOffsetX:
|
|
31
|
+
shadowOffsetX: a = 0,
|
|
32
32
|
shadowOffsetY: y = 0
|
|
33
33
|
} = o;
|
|
34
34
|
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
35
|
-
for (let
|
|
36
|
-
e.lineTo(i[
|
|
37
|
-
e.strokeStyle = t, e.lineWidth = s, e.lineCap =
|
|
35
|
+
for (let w = 1; w < i.length; w += 1)
|
|
36
|
+
e.lineTo(i[w].x, i[w].y);
|
|
37
|
+
e.strokeStyle = t, e.lineWidth = s, e.lineCap = u, e.lineJoin = d, f && (e.setLineDash(f), e.lineDashoffset = g), r && (e.shadowColor = r, e.shadowOffsetX = a, e.shadowOffsetY = y), l && (e.shadowBlur = l), e.stroke(), e.restore();
|
|
38
38
|
}
|
|
39
39
|
function L(e, i, o = {}) {
|
|
40
40
|
if (!i.length) return;
|
|
@@ -42,38 +42,38 @@ function L(e, i, o = {}) {
|
|
|
42
42
|
const {
|
|
43
43
|
strokeColor: t = "black",
|
|
44
44
|
lineWidth: s = 1,
|
|
45
|
-
lineCap:
|
|
46
|
-
lineJoin:
|
|
45
|
+
lineCap: u = "round",
|
|
46
|
+
lineJoin: d = "round",
|
|
47
47
|
lineDash: f = null,
|
|
48
|
-
lineDashoffset:
|
|
49
|
-
fillColor:
|
|
48
|
+
lineDashoffset: g = 0,
|
|
49
|
+
fillColor: r = null,
|
|
50
50
|
gradient: l = null,
|
|
51
|
-
shadowColor:
|
|
51
|
+
shadowColor: a = null,
|
|
52
52
|
shadowBlur: y = 0,
|
|
53
|
-
shadowOffsetX:
|
|
53
|
+
shadowOffsetX: w = 0,
|
|
54
54
|
shadowOffsetY: N = 0
|
|
55
55
|
} = o;
|
|
56
56
|
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
57
57
|
for (let n = 1; n < i.length; n += 1)
|
|
58
58
|
e.lineTo(i[n].x, i[n].y);
|
|
59
|
-
if (e.closePath(), e.strokeStyle = t, e.lineWidth = s, e.lineCap =
|
|
59
|
+
if (e.closePath(), e.strokeStyle = t, e.lineWidth = s, e.lineCap = u, e.lineJoin = d, f && (e.setLineDash(f), e.lineDashoffset = g), a && (e.shadowColor = a, e.shadowBlur = y, e.shadowOffsetX = w, e.shadowOffsetY = N), l) {
|
|
60
60
|
let n;
|
|
61
61
|
l.type === "linear" ? n = e.createLinearGradient(
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
h(l.start.x, Number.MIN_VALUE),
|
|
63
|
+
h(l.start.y, Number.MIN_VALUE),
|
|
64
|
+
h(l.end.x, Number.MIN_VALUE * 2),
|
|
65
|
+
h(l.end.y, Number.MIN_VALUE * 2)
|
|
66
66
|
) : l.type === "radial" && (n = e.createRadialGradient(
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
h(l.start.x, Number.MIN_VALUE),
|
|
68
|
+
h(l.start.y, Number.MIN_VALUE),
|
|
69
69
|
l.start.r || 0,
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
h(l.end.x, Number.MIN_VALUE * 2),
|
|
71
|
+
h(l.end.y, Number.MIN_VALUE * 2),
|
|
72
72
|
l.end.r || 0
|
|
73
73
|
)), n && l.stops && (l.stops.forEach((p) => {
|
|
74
74
|
n.addColorStop(p.offset, p.color);
|
|
75
75
|
}), e.fillStyle = n);
|
|
76
|
-
} else
|
|
76
|
+
} else r && (e.fillStyle = r);
|
|
77
77
|
e.fillStyle && e.fill(), t && e.stroke(), e.restore();
|
|
78
78
|
}
|
|
79
79
|
function I(e, i, o = {}) {
|
|
@@ -82,58 +82,58 @@ function I(e, i, o = {}) {
|
|
|
82
82
|
const {
|
|
83
83
|
strokeColor: t = "black",
|
|
84
84
|
lineWidth: s = 1,
|
|
85
|
-
lineCap:
|
|
86
|
-
lineJoin:
|
|
85
|
+
lineCap: u = "round",
|
|
86
|
+
lineJoin: d = "round",
|
|
87
87
|
lineDash: f = null,
|
|
88
|
-
lineDashoffset:
|
|
89
|
-
fillColor:
|
|
88
|
+
lineDashoffset: g = 0,
|
|
89
|
+
fillColor: r = null,
|
|
90
90
|
gradient: l = null,
|
|
91
|
-
shadowColor:
|
|
91
|
+
shadowColor: a = null,
|
|
92
92
|
shadowBlur: y = 0,
|
|
93
|
-
shadowOffsetX:
|
|
93
|
+
shadowOffsetX: w = 0,
|
|
94
94
|
shadowOffsetY: N = 0
|
|
95
95
|
} = o;
|
|
96
96
|
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
97
97
|
for (let n = 1; n < i.length; n += 1)
|
|
98
98
|
e.lineTo(i[n].x, i[n].y);
|
|
99
|
-
if (e.closePath(), e.strokeStyle = t, e.lineWidth = s, e.lineCap =
|
|
99
|
+
if (e.closePath(), e.strokeStyle = t, e.lineWidth = s, e.lineCap = u, e.lineJoin = d, f && (e.setLineDash(f), e.lineDashoffset = g), a && (e.shadowColor = a, e.shadowBlur = y, e.shadowOffsetX = w, e.shadowOffsetY = N), l) {
|
|
100
100
|
let n;
|
|
101
101
|
l.type === "linear" ? n = e.createLinearGradient(
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
h(l.start.x, Number.MIN_VALUE),
|
|
103
|
+
h(l.start.y, Number.MIN_VALUE),
|
|
104
|
+
h(l.end.x, Number.MIN_VALUE * 2),
|
|
105
|
+
h(l.end.y, Number.MIN_VALUE * 2)
|
|
106
106
|
) : l.type === "radial" && (n = e.createRadialGradient(
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
h(l.start.x, Number.MIN_VALUE),
|
|
108
|
+
h(l.start.y, Number.MIN_VALUE),
|
|
109
109
|
l.start.r || 0,
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
h(l.end.x, Number.MIN_VALUE * 2),
|
|
111
|
+
h(l.end.y, Number.MIN_VALUE * 2),
|
|
112
112
|
l.end.r || 0
|
|
113
113
|
)), n && l.stops && (l.stops.forEach((p) => {
|
|
114
114
|
n.addColorStop(p.offset, p.color);
|
|
115
115
|
}), e.fillStyle = n);
|
|
116
|
-
} else
|
|
116
|
+
} else r && (e.fillStyle = r);
|
|
117
117
|
e.fillStyle && e.fill(), t && e.stroke(), e.restore();
|
|
118
118
|
}
|
|
119
119
|
function O(e, i, o, t, s = {}) {
|
|
120
120
|
e.save();
|
|
121
121
|
const {
|
|
122
|
-
font:
|
|
123
|
-
color:
|
|
122
|
+
font: u = "16px sans-serif",
|
|
123
|
+
color: d = "black",
|
|
124
124
|
align: f = "start",
|
|
125
|
-
baseline:
|
|
126
|
-
maxWidth:
|
|
125
|
+
baseline: g = "alphabetic",
|
|
126
|
+
maxWidth: r = void 0,
|
|
127
127
|
rotation: l = 0,
|
|
128
|
-
shadowColor:
|
|
128
|
+
shadowColor: a = null,
|
|
129
129
|
shadowBlur: y = 0,
|
|
130
|
-
shadowOffsetX:
|
|
130
|
+
shadowOffsetX: w = 0,
|
|
131
131
|
shadowOffsetY: N = 0,
|
|
132
132
|
strokeColor: n = null,
|
|
133
133
|
lineWidth: p = 1,
|
|
134
134
|
globalAlpha: b = 1
|
|
135
135
|
} = s;
|
|
136
|
-
e.font =
|
|
136
|
+
e.font = u, e.fillStyle = d, e.textAlign = f, e.textBaseline = g, e.globalAlpha = b, a && (e.shadowColor = a, e.shadowBlur = y, e.shadowOffsetX = w, e.shadowOffsetY = N), n && (e.strokeStyle = n, e.lineWidth = p), l !== 0 && (e.translate(o, t), e.rotate(Math.PI / 180 * l), e.translate(-o, -t)), e.fillText(i, o, t, r), n && e.strokeText(i, o, t, r), e.restore();
|
|
137
137
|
}
|
|
138
138
|
function A(e, i = 20) {
|
|
139
139
|
let o;
|
|
@@ -145,17 +145,17 @@ function A(e, i = 20) {
|
|
|
145
145
|
function E(e, i, o = !1) {
|
|
146
146
|
let t;
|
|
147
147
|
return function(...s) {
|
|
148
|
-
const
|
|
149
|
-
t = null, o || e.apply(
|
|
148
|
+
const u = this, d = function() {
|
|
149
|
+
t = null, o || e.apply(u, s);
|
|
150
150
|
}, f = o && !t;
|
|
151
|
-
clearTimeout(t), t = setTimeout(
|
|
151
|
+
clearTimeout(t), t = setTimeout(d, i), f && e.apply(u, s);
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
154
|
function S(e) {
|
|
155
155
|
const i = document.createElement("canvas");
|
|
156
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
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function h(e, i) {
|
|
159
159
|
return [null, void 0, NaN, 1 / 0, -1 / 0].includes(e) ? i : e;
|
|
160
160
|
}
|
|
161
161
|
function k({
|
|
@@ -164,17 +164,18 @@ function k({
|
|
|
164
164
|
slicer: o = null,
|
|
165
165
|
legend: t = null,
|
|
166
166
|
source: s = null,
|
|
167
|
-
noTitle:
|
|
167
|
+
noTitle: u = null
|
|
168
168
|
}) {
|
|
169
|
-
let
|
|
169
|
+
let d = 0, f = 0, g = 0, r = 0, l = 0, a = 0, y = 0;
|
|
170
170
|
if (e) {
|
|
171
|
-
const w = e.parentNode, { height:
|
|
172
|
-
|
|
173
|
-
i && (r = i.getBoundingClientRect().height), o && (y = o.getBoundingClientRect().height), t && (d = t.getBoundingClientRect().height), s && (N = s.getBoundingClientRect().height), h && (n = h.getBoundingClientRect().height), g = u - r - y - d - N - n, f = l;
|
|
171
|
+
const w = e.parentNode, { height: N, width: n } = w.getBoundingClientRect();
|
|
172
|
+
i && (g = i.getBoundingClientRect().height), o && (r = o.getBoundingClientRect().height), t && (l = t.getBoundingClientRect().height), s && (a = s.getBoundingClientRect().height), u && (y = u.getBoundingClientRect().height), d = N - g - r - l - a - y, f = n;
|
|
174
173
|
}
|
|
175
174
|
return {
|
|
176
175
|
width: f,
|
|
177
|
-
height:
|
|
176
|
+
height: d,
|
|
177
|
+
heightTitle: g,
|
|
178
|
+
heightNoTitle: y
|
|
178
179
|
};
|
|
179
180
|
}
|
|
180
181
|
export {
|
|
@@ -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-sQ0Yl3WG.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-CiVt8Lvp.js")),
|
|
38
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-CaZSG2fN.js")),
|
|
39
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-DqMnXHaK.js")),
|
|
40
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-BIznNizW.js")),
|
|
41
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-DtC70R0X.js")),
|
|
42
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-he9hja0v.js")),
|
|
43
|
+
VueUiDigits: e(() => import("./vue-ui-digits-eow8_8IF.js")),
|
|
44
|
+
VueUiDonut: e(() => import("./vue-ui-donut-C2Ab0qsE.js")),
|
|
45
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-C4ZSty9k.js")),
|
|
46
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-oV4efmeX.js")),
|
|
47
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-DEKM0_3Q.js")),
|
|
48
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-E_CcRS7D.js")),
|
|
49
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-BZxftzEv.js")),
|
|
50
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-DsCVKpe9.js")),
|
|
51
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-BnYkqFk0.js")),
|
|
52
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-Cgn-5GqE.js")),
|
|
53
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-BP9UnBkw.js")),
|
|
54
|
+
VueUiOnion: e(() => import("./vue-ui-onion-vu27Cwcx.js")),
|
|
55
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-DgQqkCxk.js")),
|
|
56
|
+
VueUiRadar: e(() => import("./vue-ui-radar-cwhwGVar.js")),
|
|
57
|
+
VueUiRating: e(() => import("./vue-ui-rating-BmtemUqF.js")),
|
|
58
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-BerdR_4-.js")),
|
|
59
|
+
VueUiRings: e(() => import("./vue-ui-rings-BSm_KC-r.js")),
|
|
60
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-D0dIO0lS.js")),
|
|
61
|
+
VueUiScreenshot: e(() => import("./vue-ui-screenshot-_KsufqYT.js")),
|
|
62
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-CjC_RR5C.js")),
|
|
63
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-CdYhD3n7.js")),
|
|
64
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-hm3wy78R.js")),
|
|
65
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-Dsy3BtE1.js")),
|
|
66
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-DIccfqcP.js")),
|
|
67
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-edCpjS99.js")),
|
|
68
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-UzWOXV8T.js")),
|
|
69
|
+
VueUiTable: e(() => import("./vue-ui-table-DR-vUv2U.js")),
|
|
70
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-ClYyMljO.js")),
|
|
71
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-CY0Gi2uj.js")),
|
|
72
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-5YPN_NoO.js")),
|
|
73
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-kwbjdy0P.js")),
|
|
74
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-DRuH5f-B.js")),
|
|
75
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-B9zlDgeL.js")),
|
|
76
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-CAS9hnki.js")),
|
|
77
|
+
VueUiXy: e(() => import("./vue-ui-xy-D_OI_ry8.js")),
|
|
78
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-D4JBAEBg.js")),
|
|
79
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-Zeu2qcSI.js")),
|
|
80
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-DcpVDq8t.js")),
|
|
81
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-BbrupWFh.js")),
|
|
82
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-DT0q7zha.js")),
|
|
83
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-DZBPceJC.js")),
|
|
84
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-BN8fJSvG.js")),
|
|
85
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-BKRBPyWR.js")),
|
|
86
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-DXDh8Vzd.js")),
|
|
87
|
+
VueUiFlow: e(() => import("./vue-ui-flow-DKpHc3FI.js")),
|
|
88
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-Dy3yQFd1.js")),
|
|
89
|
+
VueUiTimer: e(() => import("./vue-ui-timer-t0fSn-_9.js")),
|
|
90
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-DjWEv7sx.js")),
|
|
91
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-UO3Zkeme.js")),
|
|
92
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-DtxiLdkG.js")),
|
|
93
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-oN99bgSq.js")),
|
|
94
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-DkmKmnNf.js")),
|
|
95
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-DRbZ8X1X.js")),
|
|
96
|
+
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-Bi3Usmkl.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-DMhDupLt.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-BlCSdagh.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-CrDKpPil.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-wjsB7Ihy.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-n--kSbN7.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-DJq8IWIL.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-BBDfkeCW.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-Cmn1NNzQ.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-C291KoIU.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-Dp15D88c.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-FGqZ4tWB.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-B00JvBFF.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-CGg2_xWH.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-CbAgFb-9.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-CizZv79e.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-CiOIVjFk.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-CoHouhrl.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-ITcu4gJW.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-fzXsWjjI.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-ByRNr-XD.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-D-qttZKw.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-CY25IY75.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-KDFaFqqu.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-C1Upd5ja.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-B-aqlIcn.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-D9EV_KXZ.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-DyJu1ibj.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-B7dNRQyO.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-x0F1llCZ.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-B4DRMVOW.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-CIMJUDlb.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-DzOL1IDW.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-BBz1lDg0.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-CDS7xlZS.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-CnVFXbUB.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-BTer1qaq.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-BPxAgMQx.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BnKYnm8A.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-CHUZAnfv.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-DxL_bhhX.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-CbEf5uhL.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-BFdih9uG.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-qVmiG576.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-C3Ljak65.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-BsQAMw9M.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-DSCiOK2l.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-DRtaXADG.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-95uUJ2fc.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-BdEUvUV7.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-Ddmhs5i-.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-hM1oa-dn.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-BukV6_Zl.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-CmLGKRcK.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-CU96d16y.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-D_uv6qkV.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-BuUtwfyC.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-BcU0lGMw.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-CIgZpg3T.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-DR11Ips0.cjs"))),VueUiCirclePack:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-circle-pack-DnwKX38S.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-CMg_B1n7.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-BB9IHMFV.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-t5v8gG7E.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-DPQRwLra.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-CbvO_6uK.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-DJsFMi3a.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-CR09TdSL.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-CrQuYkCF.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-Dh75AMUR.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-CwPKiglD.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-wgZKEqln.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-CzA2PhpW.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-dnvzPPoV.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-DWJbsdvG.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-BvWPS_gQ.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-BdANdT7O.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-D_uLYLXE.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-BzOUk2Kz.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-DGw3Ce3f.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-B9GkwB5l.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-CnqMJrEU.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-Bub3mYba.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-D0py_PRH.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-zQ-4JnNS.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-DXAm7w2U.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-BdJzHzn9.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-CNtHe3B_.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-C-dKXMYz.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-Ca8RoM26.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-Wzb-9Nec.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-CcyyqdgC.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-CJfM9R-P.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-BCkwH7OH.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-CyT0sQtg.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-Do9vWT7v.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-CkN0NXuR.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-0JbzmUh6.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-B4BUhmni.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-CCNvuAMI.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-CqVwTFrC.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-CGWDNbH-.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-DRn-1RsC.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-IsfxseMB.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-D86VhQnK.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-CMQFeKWK.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-Bh3F6uU7.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-ZSffEbvM.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-Bot6lWVZ.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-CafiAGaw.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-CxbTioTG.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-DrjjMaQM.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-BWm4K97n.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-Bo-yxxDH.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-Zx3zQyAq.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-DKQSfGt-.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-DlNuWEmn.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-DLw1lhqT.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-DfJ9YR2-.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-C25z-XuU.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-EWyGCjPe.cjs"))),VueUiCirclePack:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-circle-pack-KCMKYM9w.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-BCAY_TBF.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 { ac as s, ad as u, ae as V, af as U, ag as r, ah as t, b7 as o, ai as l, b4 as n, aj as b, bb as d, ak as c, al as m, am as C, an as g, ao as k, ap as p, aq as S, b8 as T, ar as h, as as D, b5 as P, at as f, b9 as y, au as H, av as R, aw as A, ax as W, ay as v, az as x, aA as B, aB as F, ba as G, aC as M, aD as w, aE as L, aF as Q, aG as X, aH as z, aI as E, aJ as I, aK as K, aL as N, aM as O, aN as j, aO as q, aP as J, aQ as Y, aR as Z, b6 as _, aS as $, aT as aa, aU as ea, aV as ia, aW as sa, aX as ua, aY as Va, aZ as Ua, a_ as ra, a$ as ta, b0 as oa, b1 as la, b2 as na, b3 as ba, L as da, a7 as ca, a5 as ma, bc as Ca, bd as ga, be as ka, bf as pa, bg as Sa, bh as Ta } from "./index-
|
|
2
|
+
import { ac as s, ad as u, ae as V, af as U, ag as r, ah as t, b7 as o, ai as l, b4 as n, aj as b, bb as d, ak as c, al as m, am as C, an as g, ao as k, ap as p, aq as S, b8 as T, ar as h, as as D, b5 as P, at as f, b9 as y, au as H, av as R, aw as A, ax as W, ay as v, az as x, aA as B, aB as F, ba as G, aC as M, aD as w, aE as L, aF as Q, aG as X, aH as z, aI as E, aJ as I, aK as K, aL as N, aM as O, aN as j, aO as q, aP as J, aQ as Y, aR as Z, b6 as _, aS as $, aT as aa, aU as ea, aV as ia, aW as sa, aX as ua, aY as Va, aZ as Ua, a_ as ra, a$ as ta, b0 as oa, b1 as la, b2 as na, b3 as ba, L as da, a7 as ca, a5 as ma, bc as Ca, bd as ga, be as ka, bf as pa, bg as Sa, bh as Ta } from "./index-BVM1Hjat.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|