vue-data-ui 2.4.47 → 2.4.49
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-C3u-U00V.cjs → Arrow-CTukks_V.cjs} +1 -1
- package/dist/{Arrow-C-PQX3ZC.js → Arrow-Q0cOmO5p.js} +1 -1
- package/dist/{BaseIcon-8y_okNW6.cjs → BaseIcon-2ZD3jgGz.cjs} +1 -1
- package/dist/{BaseIcon-BeAMtwQX.js → BaseIcon-CaYP30Aq.js} +1 -1
- package/dist/{DataTable-D7JlgAbC.js → DataTable-CO5C8Cmb.js} +2 -2
- package/dist/{DataTable-CfxOc-In.cjs → DataTable-kMUhutQ4.cjs} +1 -1
- package/dist/{Legend-DDuxh17p.cjs → Legend-DPHcmrzd.cjs} +1 -1
- package/dist/{Legend-CEhIHRJc.js → Legend-FZN9UHoI.js} +1 -1
- package/dist/{PackageVersion-8Ql1gdmo.js → PackageVersion-DYk2hOG1.js} +1 -1
- package/dist/{PackageVersion-Df1iPzMk.cjs → PackageVersion-rnWHRWGI.cjs} +1 -1
- package/dist/{PenAndPaper-CvGft3ku.cjs → PenAndPaper-BQl9-uX0.cjs} +1 -1
- package/dist/{PenAndPaper-b1ZmLra1.js → PenAndPaper-BfgS_5ux.js} +3 -3
- package/dist/{Shape-D3F3Ki5y.cjs → Shape-BblkpCyL.cjs} +1 -1
- package/dist/{Shape-CvBLjLSE.js → Shape-BqkMzXqo.js} +1 -1
- package/dist/{Slicer-CRXNOGCh.js → Slicer-DlgqsI5C.js} +2 -2
- package/dist/{Slicer-CHKuuOOo.cjs → Slicer-yEeqKUDF.cjs} +1 -1
- package/dist/{Title-URF9hufV.cjs → Title-5Vedk01J.cjs} +1 -1
- package/dist/{Title-_dfoh5WC.js → Title-DED-PQ7X.js} +1 -1
- package/dist/{Tooltip-CAkj2Rmy.js → Tooltip-CHseiJu8.js} +1 -1
- package/dist/{Tooltip-87gbw8Ir.cjs → Tooltip-DjCKBAC4.cjs} +1 -1
- package/dist/index-BHQZE19X.cjs +9 -0
- package/dist/{index-BUHajhqq.js → index-igxqCP2w.js} +7 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +6 -0
- package/dist/types/vue-data-ui.d.ts +6 -0
- package/dist/{useNestedProp-a0uhe7rJ.js → useNestedProp-CSVnZVwZ.js} +1 -1
- package/dist/{useNestedProp-C-g0SLHN.cjs → useNestedProp-CwpqC_aE.cjs} +1 -1
- package/dist/{usePrinter-DLHRtlhI.js → usePrinter-CnZYDQXB.js} +1 -1
- package/dist/{usePrinter-4Zj_RZ5v.cjs → usePrinter-DVgxBO4o.cjs} +1 -1
- package/dist/{vue-data-ui-zjfs-rk-.js → vue-data-ui-B--WWkUM.js} +60 -60
- package/dist/{vue-data-ui-CPc7dZQe.cjs → vue-data-ui-BrRTkOqu.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-zI1BF0gA.cjs → vue-ui-3d-bar-BGVLnjCh.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-B60j7yco.js → vue-ui-3d-bar-OzzLYbUl.js} +9 -9
- package/dist/{vue-ui-accordion-C0oMKEv0.cjs → vue-ui-accordion-CRVWlHxs.cjs} +1 -1
- package/dist/{vue-ui-accordion-2QOotHrr.js → vue-ui-accordion-lF7yVkiT.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BT7HUZpj.js → vue-ui-age-pyramid-5Vj8AtW1.js} +10 -10
- package/dist/{vue-ui-age-pyramid-hZLKWqN9.cjs → vue-ui-age-pyramid-Cv0Rddsx.cjs} +1 -1
- package/dist/{vue-ui-annotator-ZpGqgGMp.js → vue-ui-annotator-BmO78L3H.js} +1 -1
- package/dist/{vue-ui-annotator-Da8-IgfK.cjs → vue-ui-annotator-D8Hx1BFF.cjs} +1 -1
- package/dist/{vue-ui-bullet-BfkujrD0.cjs → vue-ui-bullet-C0Q2Vs5p.cjs} +1 -1
- package/dist/{vue-ui-bullet-Da56_P30.js → vue-ui-bullet-DwFD41hN.js} +8 -8
- package/dist/{vue-ui-candlestick-CblCXKhS.js → vue-ui-candlestick-By609gwn.js} +11 -11
- package/dist/{vue-ui-candlestick-fM3nUsgr.cjs → vue-ui-candlestick-C7kRHFF3.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-D3rcSdcC.cjs → vue-ui-carousel-table-1_Hy8sGL.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-B1U41lku.js → vue-ui-carousel-table-wwMoteEN.js} +4 -4
- package/dist/{vue-ui-chestnut-CtMm9Hev.cjs → vue-ui-chestnut-D3LGylRp.cjs} +1 -1
- package/dist/{vue-ui-chestnut-Cnvf2Aav.js → vue-ui-chestnut-hqorA5EW.js} +8 -8
- package/dist/{vue-ui-cursor-C-7zi0ol.cjs → vue-ui-cursor-BCg5VZUb.cjs} +1 -1
- package/dist/{vue-ui-cursor-TzS0sCy1.js → vue-ui-cursor-GSkn7N7Z.js} +2 -2
- package/dist/{vue-ui-dashboard-DdMkGnE7.cjs → vue-ui-dashboard-Bkm9bcAc.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Ajvddjlt.js → vue-ui-dashboard-DIoYWyXB.js} +2 -2
- package/dist/{vue-ui-digits-DwB-tHKl.cjs → vue-ui-digits-CpBBTAI9.cjs} +1 -1
- package/dist/{vue-ui-digits-CBPttkF2.js → vue-ui-digits-niqTltAv.js} +2 -2
- package/dist/{vue-ui-donut-Cz6xpVSC.cjs → vue-ui-donut-CQEOtlxM.cjs} +1 -1
- package/dist/{vue-ui-donut-DidXxdXO.js → vue-ui-donut-DfufBrkk.js} +11 -11
- package/dist/{vue-ui-donut-evolution-Dj73srrD.cjs → vue-ui-donut-evolution-Dg_XJyX8.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-B0xdulgT.js → vue-ui-donut-evolution-XQp6R0e_.js} +11 -11
- package/dist/{vue-ui-dumbbell-Cimude8K.js → vue-ui-dumbbell-DSS8sHHU.js} +10 -10
- package/dist/{vue-ui-dumbbell-BdwXaRk2.cjs → vue-ui-dumbbell-RAkNYRoJ.cjs} +1 -1
- package/dist/{vue-ui-flow-D2ekJwov.js → vue-ui-flow-BBNuPVgI.js} +9 -9
- package/dist/{vue-ui-flow-DMNNOEJy.cjs → vue-ui-flow-BUmSGSmR.cjs} +1 -1
- package/dist/{vue-ui-funnel-DLmzVrrA.cjs → vue-ui-funnel-B9HR0owO.cjs} +1 -1
- package/dist/{vue-ui-funnel-BsKFz_A9.js → vue-ui-funnel-BDGggRXE.js} +8 -8
- package/dist/{vue-ui-galaxy-WAy90dGq.js → vue-ui-galaxy-6Odi2CwM.js} +11 -11
- package/dist/{vue-ui-galaxy-CnZYKQA2.cjs → vue-ui-galaxy-DmsMWB1a.cjs} +1 -1
- package/dist/{vue-ui-gauge-Xvk_SGCc.js → vue-ui-gauge-DeYvNVnR.js} +7 -7
- package/dist/{vue-ui-gauge-DhqOgkfq.cjs → vue-ui-gauge-Dvv0v56Z.cjs} +1 -1
- package/dist/{vue-ui-gizmo-D-djUfJw.js → vue-ui-gizmo-BcAr2dTN.js} +3 -3
- package/dist/{vue-ui-gizmo-B6qoNeBK.cjs → vue-ui-gizmo-DXQt_8D0.cjs} +1 -1
- package/dist/{vue-ui-heatmap-jmKDOYnr.js → vue-ui-heatmap-Btm1mK6D.js} +10 -10
- package/dist/{vue-ui-heatmap-CitZU9av.cjs → vue-ui-heatmap-DZ02dS5q.cjs} +1 -1
- package/dist/{vue-ui-history-plot-EzFdtBwU.cjs → vue-ui-history-plot-DPQWcN0P.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BoR791Gc.js → vue-ui-history-plot-OY6N31Ka.js} +11 -11
- package/dist/{vue-ui-kpi-CMXhw4Ll.cjs → vue-ui-kpi-CQIbWQMk.cjs} +1 -1
- package/dist/{vue-ui-kpi-CB47PO72.js → vue-ui-kpi-D5oNUDVm.js} +3 -3
- package/dist/{vue-ui-mini-loader-D4dKItUb.js → vue-ui-mini-loader-BjqV22Co.js} +2 -2
- package/dist/{vue-ui-mini-loader-DJx2b1Hs.cjs → vue-ui-mini-loader-ByDKGMAp.cjs} +1 -1
- package/dist/{vue-ui-molecule-CnERhdxF.cjs → vue-ui-molecule-C8O_ViVy.cjs} +1 -1
- package/dist/{vue-ui-molecule-C_VM1ZP2.js → vue-ui-molecule-FsLf3YTj.js} +11 -11
- package/dist/{vue-ui-mood-radar-BESMMSxA.js → vue-ui-mood-radar-31BX-GNG.js} +11 -11
- package/dist/{vue-ui-mood-radar-BBlokNSE.cjs → vue-ui-mood-radar-4u98wGWl.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-r1v-A7E3.js → vue-ui-nested-donuts-BMJW2oHk.js} +11 -11
- package/dist/{vue-ui-nested-donuts-C0IAo5oO.cjs → vue-ui-nested-donuts-BPc_OBoe.cjs} +1 -1
- package/dist/{vue-ui-onion-CZuFxIOX.js → vue-ui-onion-BUpGgnWA.js} +11 -11
- package/dist/{vue-ui-onion-PaHP7qHI.cjs → vue-ui-onion-IhkIHn1A.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BeAArg3p.js → vue-ui-parallel-coordinate-plot-9I00rQEM.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-Bwu4Q1dB.cjs → vue-ui-parallel-coordinate-plot-DzjggyLA.cjs} +1 -1
- package/dist/{vue-ui-quadrant-D5m9y_Vd.js → vue-ui-quadrant-CEmoMAL7.js} +12 -12
- package/dist/{vue-ui-quadrant-BLpgNZs9.cjs → vue-ui-quadrant-EZqQ-7Ev.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CZ6gBVVk.cjs → vue-ui-quick-chart-BKUUR-A1.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-Ci4RKL62.js → vue-ui-quick-chart-T_oeRTqY.js} +9 -9
- package/dist/{vue-ui-radar-03mjX9gn.js → vue-ui-radar-DG_Zir8w.js} +12 -12
- package/dist/{vue-ui-radar-Ca1AvJAF.cjs → vue-ui-radar-QBwo6ybW.cjs} +1 -1
- package/dist/{vue-ui-rating-Dilq1rrJ.cjs → vue-ui-rating-Juprijdi.cjs} +1 -1
- package/dist/{vue-ui-rating-CSSdVGTk.js → vue-ui-rating-gswAA28b.js} +2 -2
- package/dist/{vue-ui-relation-circle-DsckG4af.cjs → vue-ui-relation-circle-BWX8zrfH.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-B3J9KW9u.js → vue-ui-relation-circle-DtnXrnOP.js} +7 -7
- package/dist/{vue-ui-rings-COAgson6.js → vue-ui-rings-D3g-ORch.js} +11 -11
- package/dist/{vue-ui-rings-6g022zEh.cjs → vue-ui-rings-Damuv7g9.cjs} +1 -1
- package/dist/{vue-ui-scatter-BrdWaLV6.js → vue-ui-scatter-DBO-XViT.js} +12 -12
- package/dist/{vue-ui-scatter-B3t_Q_4g.cjs → vue-ui-scatter-RUeAe7Sx.cjs} +1 -1
- package/dist/{vue-ui-screenshot-NpTxyR66.cjs → vue-ui-screenshot-3MDyr6v3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-CWMAfSH3.js → vue-ui-screenshot-K0a-DVD6.js} +1 -1
- package/dist/{vue-ui-skeleton-BXPvqUO_.js → vue-ui-skeleton-CWjNNx-k.js} +3 -3
- package/dist/{vue-ui-skeleton-D6mdHYxB.cjs → vue-ui-skeleton-DUNkS05l.cjs} +1 -1
- package/dist/{vue-ui-smiley-BIAA0JuB.cjs → vue-ui-smiley-Cbqg-N-L.cjs} +1 -1
- package/dist/{vue-ui-smiley-TNgEIMFs.js → vue-ui-smiley-MwX1c6qK.js} +2 -2
- package/dist/{vue-ui-spark-trend-BWb59zfs.cjs → vue-ui-spark-trend-CN5JUPhn.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-Xtb0H-Ra.js → vue-ui-spark-trend-D9eWTtbE.js} +5 -5
- package/dist/{vue-ui-sparkbar-CO0RYq4S.js → vue-ui-sparkbar-CPF7YNDd.js} +4 -4
- package/dist/{vue-ui-sparkbar-mgvNuWjK.cjs → vue-ui-sparkbar-IphZ8jXh.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Cn17RyPJ.js → vue-ui-sparkgauge-B29V7ZTv.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CfgH_pIo.cjs → vue-ui-sparkgauge-BRMGqR9Z.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-yTF-QJCM.js → vue-ui-sparkhistogram-BJTgOWF5.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-BU1jgcm9.cjs → vue-ui-sparkhistogram-rvYaVHmw.cjs} +1 -1
- package/dist/{vue-ui-sparkline-3ym-6DFE.cjs → vue-ui-sparkline-BI9jqI0h.cjs} +1 -1
- package/dist/{vue-ui-sparkline-D80w9cUt.js → vue-ui-sparkline-DX79otAB.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-C1zVZqZh.cjs → vue-ui-sparkstackbar-DuollcwK.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DhQNOgjS.js → vue-ui-sparkstackbar-vP28A6AT.js} +5 -5
- package/dist/{vue-ui-stackbar-yiVhLavI.cjs → vue-ui-stackbar-BumFmZZF.cjs} +1 -1
- package/dist/{vue-ui-stackbar-C_b754Op.js → vue-ui-stackbar-DnJEgIaA.js} +12 -12
- package/dist/{vue-ui-strip-plot-CqP7E3Fr.js → vue-ui-strip-plot-DqcHBwd_.js} +11 -11
- package/dist/{vue-ui-strip-plot-CK-U0tNX.cjs → vue-ui-strip-plot-DupREfRd.cjs} +1 -1
- package/dist/{vue-ui-table-x2Ylaftx.cjs → vue-ui-table-BMJ0I5nr.cjs} +1 -1
- package/dist/{vue-ui-table-BLPLqFFd.js → vue-ui-table-D8cgqIJl.js} +1 -1
- package/dist/{vue-ui-table-heatmap-2Qm41w8P.cjs → vue-ui-table-heatmap-D43pTFli.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-jWG59f0S.js → vue-ui-table-heatmap-D4qeClXn.js} +4 -4
- package/dist/vue-ui-table-sparkline-B7OPOium.cjs +1 -0
- package/dist/vue-ui-table-sparkline-B_Po0RuC.js +583 -0
- package/dist/{vue-ui-thermometer-CS4v4vKk.js → vue-ui-thermometer-C6nfW6uY.js} +7 -7
- package/dist/{vue-ui-thermometer-DVPaZfi5.cjs → vue-ui-thermometer-CaV3JF3h.cjs} +1 -1
- package/dist/{vue-ui-timer-op_p9xjL.js → vue-ui-timer-CfwmMRdZ.js} +5 -5
- package/dist/{vue-ui-timer-Bu17pe7S.cjs → vue-ui-timer-ldINTqND.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CoKFLMWh.cjs → vue-ui-tiremarks-BlyxL_IU.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CzNBUmn2.js → vue-ui-tiremarks-iNKMnu3P.js} +7 -7
- package/dist/{vue-ui-treemap-DLDn1gQ2.js → vue-ui-treemap-CwMnkcOi.js} +11 -11
- package/dist/{vue-ui-treemap-DXU0BagE.cjs → vue-ui-treemap-YdRDlSHA.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-BqTIL5Np.js → vue-ui-vertical-bar-BZR4YOLh.js} +11 -11
- package/dist/{vue-ui-vertical-bar-BlG3HwaX.cjs → vue-ui-vertical-bar-Bji3-X8i.cjs} +1 -1
- package/dist/{vue-ui-waffle-DFjArEi_.js → vue-ui-waffle-D2BccJmB.js} +11 -11
- package/dist/{vue-ui-waffle-CaTFfTmj.cjs → vue-ui-waffle-rO_LJaHR.cjs} +1 -1
- package/dist/{vue-ui-wheel-B22xmLY4.cjs → vue-ui-wheel-BTrpdV-C.cjs} +1 -1
- package/dist/{vue-ui-wheel-C95mjUTI.js → vue-ui-wheel-GqWFopE1.js} +7 -7
- package/dist/{vue-ui-word-cloud-05iWIjGT.cjs → vue-ui-word-cloud-DD-pKUen.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-Byx-M5Jn.js → vue-ui-word-cloud-DiG8DHOr.js} +10 -10
- package/dist/{vue-ui-xy-lPnzrWt8.cjs → vue-ui-xy-C32KNdyx.cjs} +1 -1
- package/dist/{vue-ui-xy-C8YrIKK6.js → vue-ui-xy-DicLnkBA.js} +14 -14
- package/dist/{vue-ui-xy-canvas-os8jbTXb.cjs → vue-ui-xy-canvas-9e630nJX.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-Cg0PIT5i.js → vue-ui-xy-canvas-D6CYL9A8.js} +11 -11
- package/package.json +1 -1
- package/dist/index-KYU_8xrX.cjs +0 -9
- package/dist/vue-ui-table-sparkline-BEeO-aWa.js +0 -516
- package/dist/vue-ui-table-sparkline-C0vzS1F3.cjs +0 -1
|
@@ -490,6 +490,12 @@ declare module 'vue-data-ui' {
|
|
|
490
490
|
showSparklines?: boolean;
|
|
491
491
|
fontFamily?: string;
|
|
492
492
|
colNames?: string[];
|
|
493
|
+
sortedDataColumnIndices?: number[];
|
|
494
|
+
sortedSeriesName?: boolean;
|
|
495
|
+
sortedSum?: boolean;
|
|
496
|
+
sortedAverage?: boolean;
|
|
497
|
+
sortedMedian?: boolean;
|
|
498
|
+
resetSortOnClickOutside?: boolean;
|
|
493
499
|
formatter?: Formatter;
|
|
494
500
|
sparkline?: {
|
|
495
501
|
useGradient?: boolean;
|
|
@@ -490,6 +490,12 @@ declare module 'vue-data-ui' {
|
|
|
490
490
|
showSparklines?: boolean;
|
|
491
491
|
fontFamily?: string;
|
|
492
492
|
colNames?: string[];
|
|
493
|
+
sortedDataColumnIndices?: number[];
|
|
494
|
+
sortedSeriesName?: boolean;
|
|
495
|
+
sortedSum?: boolean;
|
|
496
|
+
sortedAverage?: boolean;
|
|
497
|
+
sortedMedian?: boolean;
|
|
498
|
+
resetSortOnClickOutside?: boolean;
|
|
493
499
|
formatter?: Formatter;
|
|
494
500
|
sparkline?: {
|
|
495
501
|
useGradient?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-BHQZE19X.cjs");function o({defaultConfig:e,userConfig:t}){if(!Object.keys(t||{}).length)return e;const n=r.treeShake({defaultConfig:e,userConfig:t});return r.convertConfigColors(n)}exports.useNestedProp=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as b, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as R, openBlock as t, createElementBlock as i, normalizeStyle as d, createElementVNode as U, withModifiers as Y, withKeys as Z, createVNode as p, normalizeClass as c, renderSlot as m, Fragment as h, createBlock as f, toDisplayString as $, createCommentVNode as u, normalizeProps as L, mergeProps as w, unref as _ } from "vue";
|
|
2
|
-
import a from "./BaseIcon-
|
|
2
|
+
import a from "./BaseIcon-CaYP30Aq.js";
|
|
3
3
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const te = {
|
|
5
5
|
beforeMount(e, v) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./BaseIcon-8y_okNW6.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={beforeMount(t,u){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||u.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},D=["title","onClick","onKeypress"],L=["data-open"],w={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:"right"},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:u}){const s=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function y(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),A=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(A.value=!1)}function M(){s.isPrinting||s.isImaging||(r.value=!1)}function T(){r.value&&M()}const B=e.ref(s.isLabelActive);function F(){B.value=!B.value,u("toggleLabels")}const m=e.ref(s.isAnimation);function h(){m.value=!m.value,u("toggleAnimation")}const b=e.computed({get:()=>s.isAnnotation,set:l=>l});function E(){b.value=!b.value,u("toggleAnnotator")}function p(){u("toggleSort")}const C=e.ref(s.isStacked);function I(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function P(){$.value=!$.value,u("toggleTooltip")}const f=e.ref(!1);function z(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function N(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",N)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:r.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(S,["stop"]),onKeypress:e.withKeys(S,["enter"])},[e.createVNode(a.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,D),e.createElementVNode("div",{"data-open":r.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:k,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:y,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:F,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:B.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>z(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:z,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:h},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:h,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:E},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:E,isAnnotator:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,L)],4)),[[e.unref(V),T]])}},X=O._export_sfc(w,[["__scopeId","data-v-5b704ad2"]]);function q({elementId:t,fileName:u,canPrint:s=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!s||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./pdf-9cRTLjY8.cjs"));await r({domElement:document.getElementById(t),fileName:u})}catch(r){console.error("Error generating PDF:",r)}finally{k.value=!1}},100))}async function y(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./img-BFCs759q.cjs"));await r({domElement:document.getElementById(t),fileName:u,format:"png"})}catch(r){console.error("Error generating image:",r)}finally{d.value=!1}},100))}return{generatePdf:g,generateImage:y,isPrinting:k,isImaging:d}}exports.UserOptions=X;exports.usePrinter=q;exports.vClickOutside=V;
|
|
1
|
+
"use strict";const e=require("vue"),a=require("./BaseIcon-2ZD3jgGz.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={beforeMount(t,u){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||u.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},D=["title","onClick","onKeypress"],L=["data-open"],w={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:"right"},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:u}){const s=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function y(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),A=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(A.value=!1)}function M(){s.isPrinting||s.isImaging||(r.value=!1)}function T(){r.value&&M()}const B=e.ref(s.isLabelActive);function F(){B.value=!B.value,u("toggleLabels")}const m=e.ref(s.isAnimation);function h(){m.value=!m.value,u("toggleAnimation")}const b=e.computed({get:()=>s.isAnnotation,set:l=>l});function E(){b.value=!b.value,u("toggleAnnotator")}function p(){u("toggleSort")}const C=e.ref(s.isStacked);function I(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function P(){$.value=!$.value,u("toggleTooltip")}const f=e.ref(!1);function z(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function N(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",N)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:r.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(S,["stop"]),onKeypress:e.withKeys(S,["enter"])},[e.createVNode(a.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,D),e.createElementVNode("div",{"data-open":r.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:k,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:y,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:F,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:B.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>z(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:z,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:h},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:h,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:E},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:E,isAnnotator:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,L)],4)),[[e.unref(V),T]])}},X=O._export_sfc(w,[["__scopeId","data-v-5b704ad2"]]);function q({elementId:t,fileName:u,canPrint:s=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!s||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./pdf-9cRTLjY8.cjs"));await r({domElement:document.getElementById(t),fileName:u})}catch(r){console.error("Error generating PDF:",r)}finally{k.value=!1}},100))}async function y(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./img-BFCs759q.cjs"));await r({domElement:document.getElementById(t),fileName:u,format:"png"})}catch(r){console.error("Error generating image:",r)}finally{d.value=!1}},100))}return{generatePdf:g,generateImage:y,isPrinting:k,isImaging:d}}exports.UserOptions=X;exports.usePrinter=q;exports.vClickOutside=V;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as J, defineAsyncComponent as e, computed as c, ref as o, onMounted as Y, watch as O, shallowReactive as Z, openBlock as F, createElementBlock as R, createElementVNode as w, createVNode as tt, createTextVNode as et, toDisplayString as ot, unref as it, createBlock as at, resolveDynamicComponent as nt, mergeProps as rt, toHandlers as lt, createSlots as ut, renderList as st, withCtx as ct, renderSlot as gt, normalizeProps as pt, guardReactiveProps as mt } from "vue";
|
|
2
|
-
import dt from "./BaseIcon-
|
|
2
|
+
import dt from "./BaseIcon-CaYP30Aq.js";
|
|
3
3
|
const Vt = {
|
|
4
4
|
key: 0,
|
|
5
5
|
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
@@ -37,65 +37,65 @@ const Vt = {
|
|
|
37
37
|
],
|
|
38
38
|
setup(N, { expose: G, emit: M }) {
|
|
39
39
|
const n = N, { component: W, dataset: X, config: Q } = J(n), u = {
|
|
40
|
-
VueUi3dBar: e(() => import("./vue-ui-3d-bar-
|
|
41
|
-
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-
|
|
42
|
-
VueUiAnnotator: e(() => import("./vue-ui-annotator-
|
|
43
|
-
VueUiCandlestick: e(() => import("./vue-ui-candlestick-
|
|
44
|
-
VueUiChestnut: e(() => import("./vue-ui-chestnut-
|
|
45
|
-
VueUiDashboard: e(() => import("./vue-ui-dashboard-
|
|
46
|
-
VueUiDigits: e(() => import("./vue-ui-digits-
|
|
47
|
-
VueUiDonut: e(() => import("./vue-ui-donut-
|
|
48
|
-
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-
|
|
49
|
-
VueUiGalaxy: e(() => import("./vue-ui-galaxy-
|
|
50
|
-
VueUiGauge: e(() => import("./vue-ui-gauge-
|
|
51
|
-
VueUiHeatmap: e(() => import("./vue-ui-heatmap-
|
|
52
|
-
VueUiKpi: e(() => import("./vue-ui-kpi-
|
|
53
|
-
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-
|
|
54
|
-
VueUiMolecule: e(() => import("./vue-ui-molecule-
|
|
55
|
-
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-
|
|
56
|
-
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-
|
|
57
|
-
VueUiOnion: e(() => import("./vue-ui-onion-
|
|
58
|
-
VueUiQuadrant: e(() => import("./vue-ui-quadrant-
|
|
59
|
-
VueUiRadar: e(() => import("./vue-ui-radar-
|
|
60
|
-
VueUiRating: e(() => import("./vue-ui-rating-
|
|
61
|
-
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-
|
|
62
|
-
VueUiRings: e(() => import("./vue-ui-rings-
|
|
63
|
-
VueUiScatter: e(() => import("./vue-ui-scatter-
|
|
64
|
-
VueUiScreenshot: e(() => import("./vue-ui-screenshot-
|
|
65
|
-
VueUiSkeleton: e(() => import("./vue-ui-skeleton-
|
|
66
|
-
VueUiSmiley: e(() => import("./vue-ui-smiley-
|
|
67
|
-
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-
|
|
68
|
-
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-
|
|
69
|
-
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-
|
|
70
|
-
VueUiSparkline: e(() => import("./vue-ui-sparkline-
|
|
71
|
-
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-
|
|
72
|
-
VueUiTable: e(() => import("./vue-ui-table-
|
|
73
|
-
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-
|
|
74
|
-
VueUiThermometer: e(() => import("./vue-ui-thermometer-
|
|
75
|
-
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-
|
|
76
|
-
VueUiTreemap: e(() => import("./vue-ui-treemap-
|
|
77
|
-
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-
|
|
78
|
-
VueUiWaffle: e(() => import("./vue-ui-waffle-
|
|
79
|
-
VueUiWheel: e(() => import("./vue-ui-wheel-
|
|
80
|
-
VueUiXy: e(() => import("./vue-ui-xy-
|
|
81
|
-
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-
|
|
82
|
-
VueUiAccordion: e(() => import("./vue-ui-accordion-
|
|
83
|
-
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-
|
|
84
|
-
VueUiCursor: e(() => import("./vue-ui-cursor-
|
|
85
|
-
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-
|
|
86
|
-
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-
|
|
87
|
-
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-
|
|
88
|
-
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-
|
|
89
|
-
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-
|
|
90
|
-
VueUiFlow: e(() => import("./vue-ui-flow-
|
|
91
|
-
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-
|
|
92
|
-
VueUiTimer: e(() => import("./vue-ui-timer-
|
|
93
|
-
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-
|
|
94
|
-
VueUiGizmo: e(() => import("./vue-ui-gizmo-
|
|
95
|
-
VueUiStackbar: e(() => import("./vue-ui-stackbar-
|
|
96
|
-
VueUiBullet: e(() => import("./vue-ui-bullet-
|
|
97
|
-
VueUiFunnel: e(() => import("./vue-ui-funnel-
|
|
98
|
-
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-
|
|
40
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-OzzLYbUl.js")),
|
|
41
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-5Vj8AtW1.js")),
|
|
42
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-BmO78L3H.js")),
|
|
43
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-By609gwn.js")),
|
|
44
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-hqorA5EW.js")),
|
|
45
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-DIoYWyXB.js")),
|
|
46
|
+
VueUiDigits: e(() => import("./vue-ui-digits-niqTltAv.js")),
|
|
47
|
+
VueUiDonut: e(() => import("./vue-ui-donut-DfufBrkk.js")),
|
|
48
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-XQp6R0e_.js")),
|
|
49
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-6Odi2CwM.js")),
|
|
50
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-DeYvNVnR.js")),
|
|
51
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-Btm1mK6D.js")),
|
|
52
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-D5oNUDVm.js")),
|
|
53
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-BjqV22Co.js")),
|
|
54
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-FsLf3YTj.js")),
|
|
55
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-31BX-GNG.js")),
|
|
56
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-BMJW2oHk.js")),
|
|
57
|
+
VueUiOnion: e(() => import("./vue-ui-onion-BUpGgnWA.js")),
|
|
58
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-CEmoMAL7.js")),
|
|
59
|
+
VueUiRadar: e(() => import("./vue-ui-radar-DG_Zir8w.js")),
|
|
60
|
+
VueUiRating: e(() => import("./vue-ui-rating-gswAA28b.js")),
|
|
61
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-DtnXrnOP.js")),
|
|
62
|
+
VueUiRings: e(() => import("./vue-ui-rings-D3g-ORch.js")),
|
|
63
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-DBO-XViT.js")),
|
|
64
|
+
VueUiScreenshot: e(() => import("./vue-ui-screenshot-K0a-DVD6.js")),
|
|
65
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-CWjNNx-k.js")),
|
|
66
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-MwX1c6qK.js")),
|
|
67
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-CPF7YNDd.js")),
|
|
68
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-B29V7ZTv.js")),
|
|
69
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-BJTgOWF5.js")),
|
|
70
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-DX79otAB.js")),
|
|
71
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-vP28A6AT.js")),
|
|
72
|
+
VueUiTable: e(() => import("./vue-ui-table-D8cgqIJl.js")),
|
|
73
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-B_Po0RuC.js")),
|
|
74
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-C6nfW6uY.js")),
|
|
75
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-iNKMnu3P.js")),
|
|
76
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-CwMnkcOi.js")),
|
|
77
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-BZR4YOLh.js")),
|
|
78
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-D2BccJmB.js")),
|
|
79
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-GqWFopE1.js")),
|
|
80
|
+
VueUiXy: e(() => import("./vue-ui-xy-DicLnkBA.js")),
|
|
81
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-D4qeClXn.js")),
|
|
82
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-lF7yVkiT.js")),
|
|
83
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-T_oeRTqY.js")),
|
|
84
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-GSkn7N7Z.js")),
|
|
85
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-D9eWTtbE.js")),
|
|
86
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-DqcHBwd_.js")),
|
|
87
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-DSS8sHHU.js")),
|
|
88
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-DiG8DHOr.js")),
|
|
89
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-D6CYL9A8.js")),
|
|
90
|
+
VueUiFlow: e(() => import("./vue-ui-flow-BBNuPVgI.js")),
|
|
91
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-9I00rQEM.js")),
|
|
92
|
+
VueUiTimer: e(() => import("./vue-ui-timer-CfwmMRdZ.js")),
|
|
93
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-wwMoteEN.js")),
|
|
94
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-BcAr2dTN.js")),
|
|
95
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-DnJEgIaA.js")),
|
|
96
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-DwFD41hN.js")),
|
|
97
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-BDGggRXE.js")),
|
|
98
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-OY6N31Ka.js"))
|
|
99
99
|
}, $ = {
|
|
100
100
|
VueUi3dBar: ["config", "dataset"],
|
|
101
101
|
VueUiAgePyramid: ["config", "dataset"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Q=require("./BaseIcon-8y_okNW6.cjs"),$={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},z={style:{width:"36px"}},K={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(x,{expose:I,emit:E}){const i=x,{component:O,dataset:F,config:N}=e.toRefs(i),a={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-zI1BF0gA.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-hZLKWqN9.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-Da8-IgfK.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-fM3nUsgr.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-CtMm9Hev.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-DdMkGnE7.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-DwB-tHKl.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-Cz6xpVSC.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-Dj73srrD.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-CnZYKQA2.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-DhqOgkfq.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-CitZU9av.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-CMXhw4Ll.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-DJx2b1Hs.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-CnERhdxF.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-BBlokNSE.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-C0IAo5oO.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-PaHP7qHI.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-BLpgNZs9.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-Ca1AvJAF.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-Dilq1rrJ.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-DsckG4af.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-6g022zEh.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-B3t_Q_4g.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-NpTxyR66.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-D6mdHYxB.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-BIAA0JuB.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-mgvNuWjK.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-CfgH_pIo.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-BU1jgcm9.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-3ym-6DFE.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-C1zVZqZh.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-x2Ylaftx.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-C0vzS1F3.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-DVPaZfi5.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-CoKFLMWh.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-DXU0BagE.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-BlG3HwaX.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-CaTFfTmj.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-B22xmLY4.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-lPnzrWt8.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-2Qm41w8P.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-C0oMKEv0.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-CZ6gBVVk.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-C-7zi0ol.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-BWb59zfs.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-CK-U0tNX.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-BdwXaRk2.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-05iWIjGT.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-os8jbTXb.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-DMNNOEJy.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-Bwu4Q1dB.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-Bu17pe7S.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-D3rcSdcC.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-B6qoNeBK.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-yiVhLavI.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-BfkujrD0.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-DLmzVrrA.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-EzFdtBwU.cjs")))},M={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"]},u=e.computed(()=>!a[i.component]),G=e.computed(()=>a[i.component]||null),t=e.ref(null),W=e.computed(()=>{const o=M[i.component]||[],n={};return o.includes("config")&&(n.config=N.value),o.includes("dataset")&&(n.dataset=F.value),n}),c=e.ref(()=>null),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),U=e.ref(()=>null),v=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),A=e.ref(()=>null),C=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),S=e.ref(()=>null),k=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),H=e.ref(()=>null),L=e.ref(()=>null),_=e.ref(()=>null);e.onMounted(()=>{if(u.value)throw new Error(`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Q=require("./BaseIcon-2ZD3jgGz.cjs"),$={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},z={style:{width:"36px"}},K={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(x,{expose:I,emit:E}){const i=x,{component:O,dataset:F,config:N}=e.toRefs(i),a={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-BGVLnjCh.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-Cv0Rddsx.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-D8Hx1BFF.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-C7kRHFF3.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-D3LGylRp.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-Bkm9bcAc.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-CpBBTAI9.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-CQEOtlxM.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-Dg_XJyX8.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-DmsMWB1a.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-Dvv0v56Z.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-DZ02dS5q.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-CQIbWQMk.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-ByDKGMAp.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-C8O_ViVy.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-4u98wGWl.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-BPc_OBoe.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-IhkIHn1A.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-EZqQ-7Ev.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-QBwo6ybW.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-Juprijdi.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-BWX8zrfH.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-Damuv7g9.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-RUeAe7Sx.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-3MDyr6v3.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-DUNkS05l.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-Cbqg-N-L.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-IphZ8jXh.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-BRMGqR9Z.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-rvYaVHmw.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-BI9jqI0h.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-DuollcwK.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-BMJ0I5nr.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-B7OPOium.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-CaV3JF3h.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-BlyxL_IU.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-YdRDlSHA.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-Bji3-X8i.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-rO_LJaHR.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-BTrpdV-C.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-C32KNdyx.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-D43pTFli.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-CRVWlHxs.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-BKUUR-A1.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-BCg5VZUb.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-CN5JUPhn.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-DupREfRd.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-RAkNYRoJ.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-DD-pKUen.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-9e630nJX.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-BUmSGSmR.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-DzjggyLA.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-ldINTqND.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-1_Hy8sGL.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-DXQt_8D0.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-BumFmZZF.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-C0Q2Vs5p.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-B9HR0owO.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-DPQWcN0P.cjs")))},M={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"]},u=e.computed(()=>!a[i.component]),G=e.computed(()=>a[i.component]||null),t=e.ref(null),W=e.computed(()=>{const o=M[i.component]||[],n={};return o.includes("config")&&(n.config=N.value),o.includes("dataset")&&(n.dataset=F.value),n}),c=e.ref(()=>null),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),U=e.ref(()=>null),v=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),A=e.ref(()=>null),C=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),S=e.ref(()=>null),k=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),H=e.ref(()=>null),L=e.ref(()=>null),_=e.ref(()=>null);e.onMounted(()=>{if(u.value)throw new Error(`
|
|
2
2
|
|
|
3
3
|
Vue Data UI exception:
|
|
4
4
|
The provided component "${i.component}" does not exist. Check the spelling.
|
package/dist/vue-data-ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-BHQZE19X.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiBullet=e.VueUiBullet;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiFunnel=e.VueUiFunnel;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiHistoryPlot=e.VueUiHistoryPlot;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.abbreviate=e.abbreviate;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.darkenColor=e.darkenColor;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;exports.lightenColor=e.lightenColor;exports.shiftColorHue=e.shiftColorHue;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { a8 as s, a9 as u, aa as V, ab as U, ac as r, ad as t, b3 as o, ae as l, b0 as n, af as b, ag as d, ah as m, ai as C, aj as g, ak as k, al as p, am as S, b4 as c, an as T, ao as h, b1 as D, ap as P, b5 as f, aq as y, ar as H, as as R, at as A, au as W, av as v, aw as x, ax as B, ay as F, az as G, aA as M, aB as w, aC as L, aD as Q, aE as X, aF as z, aG as E, aH as I, aI as K, aJ as N, aK as O, aL as j, aM as q, aN as J, b2 as Y, aO as Z, aP as _, aQ as $, aR as aa, aS as ea, aT as ia, aU as sa, aV as ua, aW as Va, aX as Ua, aY as ra, aZ as ta, a_ as oa, a$ as la, L as na, a1 as ba, b6 as da, b7 as ma, b8 as Ca, b9 as ga, ba as ka, bb as pa } from "./index-
|
|
2
|
+
import { a8 as s, a9 as u, aa as V, ab as U, ac as r, ad as t, b3 as o, ae as l, b0 as n, af as b, ag as d, ah as m, ai as C, aj as g, ak as k, al as p, am as S, b4 as c, an as T, ao as h, b1 as D, ap as P, b5 as f, aq as y, ar as H, as as R, at as A, au as W, av as v, aw as x, ax as B, ay as F, az as G, aA as M, aB as w, aC as L, aD as Q, aE as X, aF as z, aG as E, aH as I, aI as K, aJ as N, aK as O, aL as j, aM as q, aN as J, b2 as Y, aO as Z, aP as _, aQ as $, aR as aa, aS as ea, aT as ia, aU as sa, aV as ua, aW as Va, aX as Ua, aY as ra, aZ as ta, a_ as oa, a$ as la, L as na, a1 as ba, b6 as da, b7 as ma, b8 as Ca, b9 as ga, ba as ka, bb as pa } from "./index-igxqCP2w.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-BHQZE19X.cjs"),ve=require("./Title-5Vedk01J.cjs"),te=require("./usePrinter-DVgxBO4o.cjs"),pe=require("./vue-ui-skeleton-DUNkS05l.cjs"),fe=require("./DataTable-kMUhutQ4.cjs"),ke=require("./vue-ui-accordion-CRVWlHxs.cjs"),le=require("./useNestedProp-CwpqC_aE.cjs"),me=require("./PackageVersion-rnWHRWGI.cjs"),ye=require("./PenAndPaper-BQl9-uX0.cjs"),ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-558e9734"),N=N(),e.popScopeId(),N),$e=["id"],_e={key:1,style:"width:100%;background:transparent"},Be=["xmlns","viewBox"],xe=["id"],be=["stop-color"],Ce=["stop-color"],Ee=["id"],we=["stop-color"],Ne=["stop-color"],Ve=["id"],Fe=["stop-color"],Se=["stop-color"],Me=["id"],Pe=["stop-color"],Oe=["stop-color"],Le=["stop-color"],De={key:0},ze=["id"],Te=["stop-color"],je=["stop-color"],Ae=["id"],Ie=["stop-color"],We=["stop-color"],Ge=["id"],He=["stop-color"],qe=["stop-color"],Ue=["id"],Xe=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),Re=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),Ze=[Xe,Re],Ye=["x","y","font-size","font-weight","fill"],Je=["x","y"],Ke=["d","stroke"],Qe=["d","stroke"],et={key:3},tt={key:0},lt=["stroke-dasharray","d","stroke","stroke-width"],ot=["stroke-dasharray","d","stroke","stroke-width"],nt=["stroke-dasharray","d","stroke","stroke-width"],at=["stroke-dasharray","d","stroke","stroke-width"],rt={key:1},st=["d","stroke","stroke-width","fill"],ut=["d","stroke","stroke-width","fill"],it=["d","stroke","stroke-width","fill"],ct={key:2},dt=["d","fill","onMouseenter","onClick"],ht=["d","fill","onMouseenter","onClick"],vt=["d","fill","onMouseenter","onClick"],pt=["d","onMouseenter","onClick"],ft=["d"],kt=["d","stroke"],mt=["onClick"],yt=["stroke","d"],gt=["cx","cy","fill","stroke"],$t=["x","y","width","height"],_t={key:1},Bt=["d","stroke"],xt=["d","fill","stroke"],bt=["id"],Ct=["stop-color"],Et=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),wt=["stop-color"],Nt=["cx","cy","fill"],Vt=["cx","cy","fill"],Ft={key:0},St=["text-anchor","x","y","fill","font-size"],Mt=["text-anchor","x","y","fill","font-size"],Pt={key:2},Ot=["d","fill","stroke"],Lt={key:4},Dt={key:0},zt=["stroke-dasharray","d","stroke","stroke-width"],Tt=["stroke-dasharray","d","stroke","stroke-width"],jt=["stroke-dasharray","d","stroke","stroke-width"],At=["stroke-dasharray","d","stroke","stroke-width"],It=["d","stroke","stroke-width","fill"],Wt=["d","stroke","stroke-width","fill"],Gt={key:1},Ht=["onClick"],qt=["id"],Ut=["stop-color"],Xt=["stop-color"],Rt=["id"],Zt=["stop-color"],Yt=["stop-color"],Jt=["stop-color"],Kt=["stop-color"],Qt=["stop-color"],el=["onMouseenter","onClick","d","fill"],tl=["onMouseenter","onClick","d"],ll=["onMouseenter","onClick","d","fill"],ol=["onClick"],nl=["stroke","d"],al=["cx","cy","fill","stroke"],rl=["x","y","width","height"],sl={key:1},ul=["d","stroke"],il=["d","fill","stroke"],cl=["id"],dl=["stop-color"],hl=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),vl=["stop-color"],pl=["cx","cy","fill"],fl=["cx","cy","fill"],kl={key:0},ml=["text-anchor","x","y","fill","font-size"],yl=["text-anchor","x","y","fill","font-size"],gl={key:2},$l=["d","fill","stroke"],_l={key:4,class:"vue-data-ui-watermark"},Bl={key:6,ref:"source",dir:"auto"},xl=["innerHTML"],bl={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(N,{expose:oe,emit:F}){const f=N,{vue_ui_3d_bar:ne}=r.useConfig(),S=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(r.createUid()),ae=e.ref(null),D=e.ref(null),b=e.ref(!1),A=e.ref(0),I=e.ref(0),l=e.computed({get:()=>W(),set:s=>s});function W(){const s=le.useNestedProp({userConfig:f.config,defaultConfig:ne});return s.theme?{...le.useNestedProp({userConfig:r.themes.vue_ui_3d_bar[s.theme]||f.config,defaultConfig:s}),customPalette:r.themePalettes[s.theme]||r.palette}:s}e.watch(()=>f.config,s=>{l.value=W(),X(),A.value+=1,I.value+=1},{deep:!0});const{isPrinting:G,isImaging:H,generatePdf:q,generateImage:U}=te.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),re=e.computed(()=>r.convertCustomPalette(l.value.customPalette)),M=e.ref({showTable:l.value.table.show}),$=e.computed(()=>f.dataset.series&&f.dataset.series.length),n=e.computed(()=>({height:l.value.style.chart.box.dimensions.height,width:l.value.style.chart.box.dimensions.width,absoluteWidth:l.value.style.chart.box.dimensions.width*($.value?2:1),top:l.value.style.chart.box.dimensions.top,bottom:l.value.style.chart.box.dimensions.bottom,left:l.value.style.chart.box.dimensions.left,right:l.value.style.chart.box.dimensions.right,perspective:l.value.style.chart.box.dimensions.perspective})),g=e.computed(()=>{if($.value){const s=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),a=f.dataset.series.map((o,u)=>({...o,id:r.createUid(),proportion:(o.value||0)/s,color:r.convertColorToHex(o.color)||re.value[u]||r.palette[u]||r.palette[u%r.palette.length],breakdown:o.breakdown?o.breakdown.sort((i,p)=>p.value-i.value):null})).sort((o,u)=>u.value-o.value),t=[];let c=0;for(let o=0;o<a.length;o+=1)t.push({...a[o],fill:se(c,a[o].proportion,a[o].breakdown,a[o].color)}),c+=a[o].proportion;return t}return null}),B=e.computed(()=>({right:`M${n.value.width/2},${n.value.top} ${n.value.width-n.value.right}, ${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,left:`M${n.value.width/2},${n.value.top} ${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,side:`M${n.value.width/2},${n.value.height-n.value.bottom} ${n.value.width/2},${n.value.top+n.value.perspective*2}`,topSides:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.width/2},${n.value.top+n.value.perspective*2} ${n.value.width-n.value.right},${n.value.top+n.value.perspective}`,tubeTop:`M${n.value.left},${n.value.top+n.value.perspective} C ${n.value.left},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top+n.value.perspective} C ${n.value.width-n.value.right},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective}`,tubeLeft:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`,tubeRight:`M${n.value.width-n.value.right},${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective}`,tubeBottom:`M${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} C ${n.value.width-n.value.right},${n.value.height} ${n.value.left},${n.value.height} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`})),E=e.ref(l.value.style.chart.animation.use?0:f.dataset.percentage);e.onMounted(()=>{X();let s=0,a=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){E.value+=a+s,s+=t,E.value<f.dataset.percentage?requestAnimationFrame(c):E.value=f.dataset.percentage}l.value.style.chart.animation.use&&(E.value=0,c())});function X(){r.objectIsEmpty(f.dataset)?r.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((s,a)=>{r.getMissingDatasetAttributes({datasetObject:s,requiredAttributes:["name","value"]}).forEach(t=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:a})}),s.breakdown&&s.breakdown.forEach((t,c)=>{r.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${a} - ${c}`})})})}):r.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(s=>{r.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:s})})}function se(s,a,t,c){const o=n.value.height-n.value.bottom-n.value.top-n.value.perspective*2,{width:u,height:i,bottom:p,right:y,left:h,perspective:v}=n.value,d=p+o*s,j=i-d-v-o*a/2,ce=j>n.value.height/2?"top":"bottom",J=64,de=!!t;let K=null,Q=null;return de&&(t=t.map((ee,he)=>({...ee,value:ee.value||0,color:r.lightenHexColor(c,he/t.length)})),K=r.makeDonut({series:t},u+n.value.absoluteWidth/4-14,ce==="top"?j-J:j+J,28,28,1.99999,2,1,360,105.25,14),Q=r.makeDonut({series:t},u-y+20,i-d-v-o*a/2,6,6,1.99999,2,1,360,105.25,6)),{donut:K,miniDonut:Q,sidePointer:{x:u-y,y:i-d-v-o*a/2,topY:i-d-v-o*a,height:o*a},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*a,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*a} ${u-y},${i-d-v-o*a} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*a} ${h}, ${i-d-v-o*a} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*a} ${u/2},${i-d-o*a} ${u-y},${i-d-v-o*a}`,liningTopShade:`M${h},${i-d-v-o*a-.5} ${u/2},${i-d-o*a-.5} ${u-y},${i-d-v-o*a-.5}`,top:`M${u/2},${i-d-o*a} ${h},${i-d-v-o*a} ${u/2},${i-d-v*2-o*a} ${u-y},${i-d-v-o*a} Z`,tubeTop:`M${h},${i-d-o*a-v} C ${h},${i-d-o*a-v*2.5} ${u-y},${i-d-o*a-v*2.5} ${u-y},${i-d-o*a-v} C ${u-y},${i-d-o*a+v/2} ${h},${i-d-o*a+v/2} ${h},${i-d-o*a-v}`,bottomTubeTop:`M ${u-y-.5},${i-d-v} C ${u-y-.5},${i-d+v/2} ${h},${i-d+v/2} ${h+.5},${i-d-v}`,tubeBody:`M
|
|
2
2
|
${h},${i-d-o*a-v}
|
|
3
3
|
C ${h},${i-d-o*a+v/2}
|
|
4
4
|
${u-y},${i-d-o*a+v/2}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { computed as T, ref as S, watch as We, onMounted as Ge, openBlock as n, createElementBlock as i, normalizeClass as Ce, normalizeStyle as I, createBlock as V, createCommentVNode as y, unref as c, createSlots as Ve, withCtx as D, renderSlot as j, normalizeProps as Z, guardReactiveProps as q, createVNode as Ue, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as Ee, nextTick as He, pushScopeId as Ze, popScopeId as qe } from "vue";
|
|
2
|
-
import { u as Xe, c as Fe, t as Re, a as Ye, p as Q, b as Je, d as Ke, o as Qe, e as ee, g as ie, l as U, m as Me, f as z, X as et, s as g, h as te, i as le, j as Pe, k as O, n as oe, q as tt, r as lt } from "./index-
|
|
3
|
-
import { _ as ot } from "./Title-
|
|
4
|
-
import { u as st, U as at } from "./usePrinter-
|
|
5
|
-
import nt from "./vue-ui-skeleton-
|
|
6
|
-
import { D as rt } from "./DataTable-
|
|
7
|
-
import ut from "./vue-ui-accordion-
|
|
8
|
-
import { u as Se } from "./useNestedProp-
|
|
9
|
-
import { _ as it } from "./PackageVersion-
|
|
10
|
-
import { P as dt } from "./PenAndPaper-
|
|
2
|
+
import { u as Xe, c as Fe, t as Re, a as Ye, p as Q, b as Je, d as Ke, o as Qe, e as ee, g as ie, l as U, m as Me, f as z, X as et, s as g, h as te, i as le, j as Pe, k as O, n as oe, q as tt, r as lt } from "./index-igxqCP2w.js";
|
|
3
|
+
import { _ as ot } from "./Title-DED-PQ7X.js";
|
|
4
|
+
import { u as st, U as at } from "./usePrinter-CnZYDQXB.js";
|
|
5
|
+
import nt from "./vue-ui-skeleton-CWjNNx-k.js";
|
|
6
|
+
import { D as rt } from "./DataTable-CO5C8Cmb.js";
|
|
7
|
+
import ut from "./vue-ui-accordion-lF7yVkiT.js";
|
|
8
|
+
import { u as Se } from "./useNestedProp-CSVnZVwZ.js";
|
|
9
|
+
import { _ as it } from "./PackageVersion-DYk2hOG1.js";
|
|
10
|
+
import { P as dt } from "./PenAndPaper-BfgS_5ux.js";
|
|
11
11
|
import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
13
13
|
key: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-2ZD3jgGz.cjs"),g=require("./useNestedProp-CwpqC_aE.cjs"),u=require("./index-BHQZE19X.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=["id"],h={key:0,class:"vue-ui-accordion-arrow"},k={__name:"vue-ui-accordion",props:{config:{type:Object,default(){return{}}},hideDetails:{type:Boolean,default:!1}},setup(l){const c=l;e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:d}=u.useConfig(),o=e.computed(()=>g.useNestedProp({userConfig:c.config,defaultConfig:d})),a=e.ref(o.value.open),i=e.ref(u.createUid()),t=e.ref(null),n=e.ref(0);e.onMounted(()=>{t.value.open=o.value.open}),e.watch(()=>o.value.open,r=>{t.value.open=r});function s(){(n.value>0||!o.value.open)&&(a.value=!a.value),n.value+=1}const v=e.computed(()=>`${o.value.maxHeight}px`);return(r,C)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("details",{id:`details_${i.value}`,ref_key:"details",ref:t,onToggle:s},[e.createElementVNode("summary",{class:e.normalizeClass({"vue-ui-accordion-headless":l.hideDetails})},[e.createElementVNode("div",{class:"vue-ui-accordion-head",style:e.normalizeStyle(`background:${o.value.head.backgroundColor};padding:${o.value.head.padding}; ${l.hideDetails?"height: 0px !important; padding: 0 !important;":""}`)},[l.hideDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[o.value.head.useArrowSlot?e.renderSlot(r.$slots,"arrow",e.normalizeProps(e.mergeProps({key:0},{backgroundColor:o.value.head.backgroundColor,color:o.value.head.color,iconColor:o.value.head.iconColor,isOpen:a.value})),void 0,!0):(e.openBlock(),e.createBlock(p.default,{key:1,name:"arrowRight",stroke:o.value.head.iconColor},null,8,["stroke"]))])),e.renderSlot(r.$slots,"title",e.normalizeProps(e.guardReactiveProps({color:o.value.head.color,isOpen:a.value})),void 0,!0)],4)],2)],40,m),e.createElementVNode("div",{class:"vue-ui-accordion-content",style:e.normalizeStyle(`background:${o.value.body.backgroundColor};color:${o.value.body.color}`)},[e.renderSlot(r.$slots,"content",e.normalizeProps(e.guardReactiveProps({backgroundColor:o.value.body.backgroundColor,color:o.value.body.color,isOpen:a.value})),void 0,!0)],4)]))}},y=f._export_sfc(k,[["__scopeId","data-v-28fc829c"]]);exports.default=y;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, openBlock as u, createElementBlock as v, createElementVNode as n, normalizeClass as $, normalizeStyle as p, renderSlot as c, normalizeProps as i, mergeProps as O, createBlock as D, createCommentVNode as N, guardReactiveProps as m } from "vue";
|
|
2
|
-
import w from "./BaseIcon-
|
|
3
|
-
import { u as x } from "./useNestedProp-
|
|
4
|
-
import { u as B, c as I } from "./index-
|
|
2
|
+
import w from "./BaseIcon-CaYP30Aq.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-CSVnZVwZ.js";
|
|
4
|
+
import { u as B, c as I } from "./index-igxqCP2w.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as b, ref as v, watch as _e, onMounted as Ce, openBlock as i, createElementBlock as r, normalizeClass as re, normalizeStyle as ne, createBlock as S, createCommentVNode as y, unref as d, createSlots as $e, withCtx as p, renderSlot as f, normalizeProps as O, guardReactiveProps as F, createVNode as de, createElementVNode as n, Fragment as z, renderList as P, toDisplayString as w, createTextVNode as ve, nextTick as Te } from "vue";
|
|
2
|
-
import { u as Ae, c as Le, t as Se, o as ze, e as Ie, v as h, X as Oe, s as X, w as ye, i as k, f as _, x as Fe, y as Pe, q as Me, r as Ne } from "./index-
|
|
2
|
+
import { u as Ae, c as Le, t as Se, o as ze, e as Ie, v as h, X as Oe, s as X, w as ye, i as k, f as _, x as Fe, y as Pe, q as Me, r as Ne } from "./index-igxqCP2w.js";
|
|
3
3
|
import { t as Re, u as De } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as Ge } from "./Title-
|
|
5
|
-
import { u as Be, U as Ee } from "./usePrinter-
|
|
6
|
-
import { _ as We } from "./Tooltip-
|
|
7
|
-
import { D as Xe } from "./DataTable-
|
|
8
|
-
import Ue from "./vue-ui-skeleton-
|
|
9
|
-
import Ve from "./vue-ui-accordion-
|
|
10
|
-
import { u as he } from "./useNestedProp-
|
|
11
|
-
import { _ as Ye } from "./PackageVersion-
|
|
12
|
-
import { P as je } from "./PenAndPaper-
|
|
4
|
+
import { _ as Ge } from "./Title-DED-PQ7X.js";
|
|
5
|
+
import { u as Be, U as Ee } from "./usePrinter-CnZYDQXB.js";
|
|
6
|
+
import { _ as We } from "./Tooltip-CHseiJu8.js";
|
|
7
|
+
import { D as Xe } from "./DataTable-CO5C8Cmb.js";
|
|
8
|
+
import Ue from "./vue-ui-skeleton-CWjNNx-k.js";
|
|
9
|
+
import Ve from "./vue-ui-accordion-lF7yVkiT.js";
|
|
10
|
+
import { u as he } from "./useNestedProp-CSVnZVwZ.js";
|
|
11
|
+
import { _ as Ye } from "./PackageVersion-DYk2hOG1.js";
|
|
12
|
+
import { P as je } from "./PenAndPaper-BfgS_5ux.js";
|
|
13
13
|
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"], Ze = ["stop-color"], et = ["id"], tt = ["stop-color"], lt = ["stop-color"], at = ["x", "y", "width", "height", "fill", "rx"], ot = ["x", "y", "width", "height", "fill", "rx"], st = ["x", "y", "width", "height", "fill", "rx"], it = ["x", "y", "width", "height", "fill", "rx"], ut = { key: 0 }, rt = ["x", "y", "fill", "font-size", "font-weight"], nt = ["x", "y", "fill", "font-size", "font-weight"], dt = { key: 1 }, vt = ["x", "y", "font-size", "fill", "font-weight"], yt = { key: 2 }, ht = { key: 0 }, ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pt = ["x", "y", "font-size", "fill", "font-weight"], bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xt = ["x", "y", "font-size", "fill", "font-weight"], mt = ["x", "y", "font-size", "fill", "font-weight"], wt = ["x", "y", "width", "height", "fill", "onMouseover"], kt = {
|
|
15
15
|
key: 5,
|