vue-data-ui 2.3.4 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -15
- package/dist/{Arrow-C5yj6zwY.cjs → Arrow-BSOdhAJO.cjs} +1 -1
- package/dist/{Arrow-B6gJebT9.js → Arrow-BjDVSrfA.js} +1 -1
- package/dist/{BaseIcon-JtWoVorZ.cjs → BaseIcon-BoKtpbrI.cjs} +1 -1
- package/dist/{BaseIcon-7_g11dRj.js → BaseIcon-vmmfWlyR.js} +1 -1
- package/dist/{DataTable-CwaOlAsy.js → DataTable-CaB7GIwQ.js} +2 -2
- package/dist/{DataTable-Rm9II-m2.cjs → DataTable-ssrNbONo.cjs} +1 -1
- package/dist/{Legend-CxvJTjEm.js → Legend-DHpoRTAE.js} +1 -1
- package/dist/{Legend-D59FIuMs.cjs → Legend-Dl5IYoxK.cjs} +1 -1
- package/dist/{Shape-CjLV0scA.js → Shape-CQT4S7N-.js} +1 -1
- package/dist/{Shape-CVItL3vh.cjs → Shape-CaF4pvOn.cjs} +1 -1
- package/dist/{Slicer-Bxg5niHl.js → Slicer-Bdb1BlrC.js} +1 -1
- package/dist/{Slicer-Cdss5Rus.cjs → Slicer-QC8nTm24.cjs} +1 -1
- package/dist/{Title-2iks1ziC.js → Title-BNPZwnkp.js} +1 -1
- package/dist/{Title-Bb-A5OSV.cjs → Title-Cj_xubjI.cjs} +1 -1
- package/dist/{Tooltip-C_UE6y-E.cjs → Tooltip-CdJ5hegk.cjs} +1 -1
- package/dist/{Tooltip-C3phqKuU.js → Tooltip-ZnJAz6dl.js} +1 -1
- package/dist/documentation/installation.md +14 -13
- package/dist/{index-uOtklCCx.js → index-BMCvLyab.js} +555 -454
- package/dist/index-BkomIE9L.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +105 -5
- package/dist/types/vue-data-ui.d.ts +105 -5
- package/dist/{useNestedProp-2kIU-7On.cjs → useNestedProp-BMxXyPbW.cjs} +1 -1
- package/dist/{useNestedProp-BgWkUab_.js → useNestedProp-CkP8xhG_.js} +1 -1
- package/dist/usePrinter-BuuBz5JR.js +513 -0
- package/dist/usePrinter-r6uHYEcR.cjs +1 -0
- package/dist/vue-data-ui-Bc5U1cOP.cjs +9 -0
- package/dist/vue-data-ui-DxeO0iaC.js +254 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +55 -54
- package/dist/{vue-ui-3d-bar-BKMPFDi2.js → vue-ui-3d-bar-32wM0tiX.js} +7 -7
- package/dist/{vue-ui-3d-bar-CKa4UXq4.cjs → vue-ui-3d-bar-CgB0fLQT.cjs} +1 -1
- package/dist/{vue-ui-accordion-HJPf7My0.js → vue-ui-accordion-CLlVxx3Q.js} +3 -3
- package/dist/{vue-ui-accordion-C_pwrAJl.cjs → vue-ui-accordion-SXsobrUt.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DB_CL-gu.js → vue-ui-age-pyramid-D_CY99xF.js} +8 -8
- package/dist/{vue-ui-age-pyramid-CE1xnA-8.cjs → vue-ui-age-pyramid-DqiwcOIr.cjs} +1 -1
- package/dist/{vue-ui-annotator-DQsAL-nZ.js → vue-ui-annotator-DvP-IxDm.js} +1 -1
- package/dist/{vue-ui-annotator-BAMZcPlH.cjs → vue-ui-annotator-mntqd3q_.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DCl8fpNu.js → vue-ui-candlestick-C-5u3i-1.js} +9 -9
- package/dist/{vue-ui-candlestick-Duv6oG79.cjs → vue-ui-candlestick-C_TvUQvH.cjs} +1 -1
- package/dist/vue-ui-carousel-table-BCePqkuz.cjs +1 -0
- package/dist/vue-ui-carousel-table-CAqhsLVx.js +304 -0
- package/dist/{vue-ui-chestnut-mIZ4-ZEM.cjs → vue-ui-chestnut-DhWlw2MD.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BYHA6MT4.js → vue-ui-chestnut-DylSfYMB.js} +6 -6
- package/dist/{vue-ui-cursor-De7dy4Mo.cjs → vue-ui-cursor-B04HJQVl.cjs} +1 -1
- package/dist/{vue-ui-cursor-C96IChA3.js → vue-ui-cursor-DTYEMgbU.js} +2 -2
- package/dist/{vue-ui-dashboard-B2Yz41yO.js → vue-ui-dashboard-Bd0-cmSZ.js} +2 -2
- package/dist/{vue-ui-dashboard-BMGwKr0K.cjs → vue-ui-dashboard-DFIYwP1s.cjs} +1 -1
- package/dist/{vue-ui-digits-BnxLp7zQ.js → vue-ui-digits-CW5qNMIk.js} +2 -2
- package/dist/{vue-ui-digits-DSWyL-5K.cjs → vue-ui-digits-Ced5mBJZ.cjs} +1 -1
- package/dist/{vue-ui-donut-1kei9ws5.cjs → vue-ui-donut-DIhhgvWp.cjs} +1 -1
- package/dist/{vue-ui-donut-B9iXisHK.js → vue-ui-donut-EeVmrVJs.js} +9 -9
- package/dist/{vue-ui-donut-evolution-B7Sun8sw.js → vue-ui-donut-evolution-BN08Y2hy.js} +9 -9
- package/dist/{vue-ui-donut-evolution-yv17DnGy.cjs → vue-ui-donut-evolution-Ct6KAzs-.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DIsDnD1d.js → vue-ui-dumbbell-BMlxS1Nq.js} +8 -8
- package/dist/{vue-ui-dumbbell-BJEf_JEq.cjs → vue-ui-dumbbell-pextarqH.cjs} +1 -1
- package/dist/{vue-ui-flow-DOxJa8di.cjs → vue-ui-flow-BXVsbmyb.cjs} +1 -1
- package/dist/{vue-ui-flow-BTivYoGd.js → vue-ui-flow-CHmkgfyb.js} +7 -7
- package/dist/{vue-ui-galaxy-CHGOwCwM.cjs → vue-ui-galaxy-D4xyd-J1.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BEmywfFB.js → vue-ui-galaxy-kiVOZOBz.js} +9 -9
- package/dist/{vue-ui-gauge-o4rDOqF3.js → vue-ui-gauge-BcO-z97J.js} +4 -4
- package/dist/{vue-ui-gauge-QAfMl-8t.cjs → vue-ui-gauge-DPFBsbFj.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BS4EzedX.cjs → vue-ui-heatmap-DBOKYaJz.cjs} +1 -1
- package/dist/{vue-ui-heatmap-DwqQqEsk.js → vue-ui-heatmap-DD-Bzddj.js} +8 -8
- package/dist/{vue-ui-kpi-F4qkJ_U-.cjs → vue-ui-kpi-BEgf5yDv.cjs} +1 -1
- package/dist/{vue-ui-kpi-h8elYTcA.js → vue-ui-kpi-BS0o7zb9.js} +2 -2
- package/dist/{vue-ui-mini-loader-C_8B2Pm6.cjs → vue-ui-mini-loader-Bm5EJxtG.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Cgoi9rhH.js → vue-ui-mini-loader-DJEvG6ju.js} +2 -2
- package/dist/{vue-ui-molecule-Bmv76SWz.js → vue-ui-molecule-DdwnFEBJ.js} +9 -9
- package/dist/{vue-ui-molecule-C5CY_YYc.cjs → vue-ui-molecule-DzUqcaxd.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DeMouUIe.js → vue-ui-mood-radar-B9Gczs_Z.js} +9 -9
- package/dist/{vue-ui-mood-radar-BN0dzlfp.cjs → vue-ui-mood-radar-DbB7m4Ku.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-ZyFoV-Zn.cjs → vue-ui-nested-donuts-BSINf8hd.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-wOUkSVyZ.js → vue-ui-nested-donuts-CVQ1CaXo.js} +9 -9
- package/dist/{vue-ui-onion-VmTUo7TR.cjs → vue-ui-onion-D3-6Tv4u.cjs} +1 -1
- package/dist/{vue-ui-onion-DCOKG2wG.js → vue-ui-onion-Ut75t7hB.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-BGtO2P4a.js → vue-ui-parallel-coordinate-plot-Bjo09ZTX.js} +10 -10
- package/dist/{vue-ui-parallel-coordinate-plot-BziXRF8E.cjs → vue-ui-parallel-coordinate-plot-CJGkoIgN.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DawUUrur.cjs → vue-ui-quadrant-CzCvejGn.cjs} +1 -1
- package/dist/{vue-ui-quadrant--JOTjPZh.js → vue-ui-quadrant-Du9PKvlO.js} +10 -10
- package/dist/{vue-ui-quick-chart-jFlFtiNV.cjs → vue-ui-quick-chart-BsxsPbjz.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-LXKfaJgS.js → vue-ui-quick-chart-u0cPmD3q.js} +6 -6
- package/dist/{vue-ui-radar-CWNIqvcA.js → vue-ui-radar-CBrpuE5r.js} +10 -10
- package/dist/{vue-ui-radar-VGH-lhaT.cjs → vue-ui-radar-DIpCrj1h.cjs} +1 -1
- package/dist/{vue-ui-rating-BNrIoJHN.js → vue-ui-rating-CaeGGlCw.js} +2 -2
- package/dist/{vue-ui-rating-Dtu6pwGx.cjs → vue-ui-rating-D8fJC8Yt.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-B3NKudOy.js → vue-ui-relation-circle-5DNf880s.js} +5 -5
- package/dist/{vue-ui-relation-circle-Dwpx9o18.cjs → vue-ui-relation-circle-Ky3nPk6S.cjs} +1 -1
- package/dist/{vue-ui-rings-D9_OG--0.cjs → vue-ui-rings-CffZ4T2S.cjs} +1 -1
- package/dist/{vue-ui-rings-CsUngX_F.js → vue-ui-rings-IE3IdNRF.js} +9 -9
- package/dist/{vue-ui-scatter-DgxTz4Jx.js → vue-ui-scatter-C4GCZm0V.js} +10 -10
- package/dist/{vue-ui-scatter-DUsuh7bd.cjs → vue-ui-scatter-TsX5dW9l.cjs} +1 -1
- package/dist/{vue-ui-screenshot-51H_VrYY.js → vue-ui-screenshot-Bl3oooKI.js} +1 -1
- package/dist/{vue-ui-screenshot-C2Dz7CAe.cjs → vue-ui-screenshot-Bzpg6yof.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BM9rwmxY.js → vue-ui-skeleton-BisWX1sO.js} +2 -2
- package/dist/{vue-ui-skeleton-sjfOtCZr.cjs → vue-ui-skeleton-JmGp11-u.cjs} +1 -1
- package/dist/{vue-ui-smiley-DNnBtHht.cjs → vue-ui-smiley-BhSrt9f-.cjs} +1 -1
- package/dist/{vue-ui-smiley-H5rSN-1B.js → vue-ui-smiley-Sth2pqG1.js} +2 -2
- package/dist/{vue-ui-spark-trend-R4JJvfry.cjs → vue-ui-spark-trend-C8NSz4l8.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CLXZDYlk.js → vue-ui-spark-trend-DAqO0TW2.js} +4 -4
- package/dist/{vue-ui-sparkbar-C0k4ah-7.js → vue-ui-sparkbar-B0zX7NU7.js} +3 -3
- package/dist/{vue-ui-sparkbar-CEUDIw0A.cjs → vue-ui-sparkbar-hL1Q6ObK.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BHj00A07.js → vue-ui-sparkgauge-CWR8zJnU.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CaEw6nmI.cjs → vue-ui-sparkgauge-tbVqaLCK.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B6GuavEu.cjs → vue-ui-sparkhistogram-Dv-lml4g.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DbMLYKqE.js → vue-ui-sparkhistogram-DxqCtDpw.js} +4 -4
- package/dist/{vue-ui-sparkline-CJydanLS.cjs → vue-ui-sparkline-B6pvaBY_.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CYova9x3.js → vue-ui-sparkline-BpL1jn7F.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-N5rVBM2h.js → vue-ui-sparkstackbar-BzbuBNIV.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Df__yM5b.cjs → vue-ui-sparkstackbar-CQ2TEi4p.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-b5lhB35d.cjs → vue-ui-strip-plot-DCC6F4VM.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DJJ1vEWz.js → vue-ui-strip-plot-DCcbD6UE.js} +9 -9
- package/dist/{vue-ui-table-xSvwJIa7.js → vue-ui-table-CFqIWfxl.js} +1 -1
- package/dist/{vue-ui-table-NHhOVDbs.cjs → vue-ui-table-CseaFWgX.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DlL2nCqz.cjs → vue-ui-table-heatmap-Bwut-V1D.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Cro2etCY.js → vue-ui-table-heatmap-Bz8KYDxr.js} +4 -4
- package/dist/{vue-ui-table-sparkline-Bw2Gc_ur.cjs → vue-ui-table-sparkline-CJBU3y8-.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DppMitqF.js → vue-ui-table-sparkline-z29ND2lq.js} +5 -5
- package/dist/{vue-ui-thermometer-M2kdp1x5.js → vue-ui-thermometer-BNAITzJa.js} +5 -5
- package/dist/{vue-ui-thermometer-Q_3PX2V3.cjs → vue-ui-thermometer-DM2IKhqN.cjs} +1 -1
- package/dist/{vue-ui-timer-BtSDeIRp.cjs → vue-ui-timer-DLfXuW8T.cjs} +1 -1
- package/dist/{vue-ui-timer-CAaQ-QD6.js → vue-ui-timer-DV6lQVHU.js} +4 -4
- package/dist/{vue-ui-tiremarks-CbGOSEvD.cjs → vue-ui-tiremarks-B1bd1jPf.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-JFv4JLP0.js → vue-ui-tiremarks-WyQPg7yo.js} +5 -5
- package/dist/{vue-ui-treemap-BqDX-bPf.cjs → vue-ui-treemap-BZGmoDHb.cjs} +1 -1
- package/dist/{vue-ui-treemap-DCnv-xYr.js → vue-ui-treemap-DKmBhzV-.js} +9 -9
- package/dist/{vue-ui-vertical-bar-CJB_KXyr.cjs → vue-ui-vertical-bar-Bi-0rRN3.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-CEbApJZl.js → vue-ui-vertical-bar-C-ySfrhJ.js} +9 -9
- package/dist/{vue-ui-waffle-CTS6C7gu.js → vue-ui-waffle-CGRWu-da.js} +9 -9
- package/dist/{vue-ui-waffle-IMEbGe-b.cjs → vue-ui-waffle-VLYkR-YZ.cjs} +1 -1
- package/dist/{vue-ui-wheel-CuOmEWMQ.cjs → vue-ui-wheel-D2q5vy5V.cjs} +1 -1
- package/dist/{vue-ui-wheel-_zyCdFiI.js → vue-ui-wheel-Pj9OPk9f.js} +5 -5
- package/dist/{vue-ui-word-cloud-RDlXBEAN.js → vue-ui-word-cloud-8Vr-jo1p.js} +6 -6
- package/dist/{vue-ui-word-cloud-Y7Yk7uUJ.cjs → vue-ui-word-cloud-Ba4BjatU.cjs} +1 -1
- package/dist/{vue-ui-xy-BZJQBKnU.cjs → vue-ui-xy-C4QW5Lfl.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-D_dnbyFS.cjs → vue-ui-xy-canvas-Be-Da_0x.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-Dbcw8-9Q.js → vue-ui-xy-canvas-DnLWrf0e.js} +10 -10
- package/dist/{vue-ui-xy-DsvN9EIQ.js → vue-ui-xy-qToggEfh.js} +12 -12
- package/package.json +1 -1
- package/dist/index-p5gfZSvB.cjs +0 -4
- package/dist/usePrinter-B6xQCyL-.js +0 -464
- package/dist/usePrinter-fZlsJid8.cjs +0 -1
- package/dist/vue-data-ui-Be0rgmbA.cjs +0 -9
- package/dist/vue-data-ui-Ccy6rBZN.js +0 -246
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { toRefs as Y, defineAsyncComponent as t, computed as c, ref as o, onMounted as Z, watch as B, shallowReactive as R, openBlock as O, createElementBlock as w, createElementVNode as ee, createVNode as te, createTextVNode as N, toDisplayString as F, unref as oe, createBlock as ie, resolveDynamicComponent as ae, mergeProps as ne, toHandlers as re, createSlots as le, renderList as se, withCtx as ue, renderSlot as ce, normalizeProps as ge, guardReactiveProps as pe } from "vue";
|
|
2
|
+
import me from "./BaseIcon-vmmfWlyR.js";
|
|
3
|
+
const de = {
|
|
4
|
+
key: 0,
|
|
5
|
+
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
6
|
+
}, Ve = { style: { width: "36px" } }, ve = {
|
|
7
|
+
__name: "vue-data-ui",
|
|
8
|
+
props: {
|
|
9
|
+
component: { type: String },
|
|
10
|
+
dataset: { type: [Object, Array, Number, String] },
|
|
11
|
+
config: { type: Object }
|
|
12
|
+
},
|
|
13
|
+
emits: [
|
|
14
|
+
"selectLegend",
|
|
15
|
+
"selectDatapoint",
|
|
16
|
+
"toggleOpenState",
|
|
17
|
+
"saveAnnotations",
|
|
18
|
+
"selectRoot",
|
|
19
|
+
"selectBranch",
|
|
20
|
+
"selectNut",
|
|
21
|
+
"change",
|
|
22
|
+
"selectPlot",
|
|
23
|
+
"selectSide",
|
|
24
|
+
"rate",
|
|
25
|
+
"postImage",
|
|
26
|
+
"hoverIndex",
|
|
27
|
+
"selectX",
|
|
28
|
+
"toggleLock",
|
|
29
|
+
"toggleTooltip",
|
|
30
|
+
"start",
|
|
31
|
+
"play",
|
|
32
|
+
"pause",
|
|
33
|
+
"reset",
|
|
34
|
+
"restart",
|
|
35
|
+
"lap"
|
|
36
|
+
],
|
|
37
|
+
setup(M, { expose: W, emit: X }) {
|
|
38
|
+
const n = M, { component: G, dataset: Q, config: $ } = Y(n), u = {
|
|
39
|
+
VueUi3dBar: t(() => import("./vue-ui-3d-bar-32wM0tiX.js")),
|
|
40
|
+
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-D_CY99xF.js")),
|
|
41
|
+
VueUiAnnotator: t(() => import("./vue-ui-annotator-DvP-IxDm.js")),
|
|
42
|
+
VueUiCandlestick: t(() => import("./vue-ui-candlestick-C-5u3i-1.js")),
|
|
43
|
+
VueUiChestnut: t(() => import("./vue-ui-chestnut-DylSfYMB.js")),
|
|
44
|
+
VueUiDashboard: t(() => import("./vue-ui-dashboard-Bd0-cmSZ.js")),
|
|
45
|
+
VueUiDigits: t(() => import("./vue-ui-digits-CW5qNMIk.js")),
|
|
46
|
+
VueUiDonut: t(() => import("./vue-ui-donut-EeVmrVJs.js")),
|
|
47
|
+
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-BN08Y2hy.js")),
|
|
48
|
+
VueUiGalaxy: t(() => import("./vue-ui-galaxy-kiVOZOBz.js")),
|
|
49
|
+
VueUiGauge: t(() => import("./vue-ui-gauge-BcO-z97J.js")),
|
|
50
|
+
VueUiHeatmap: t(() => import("./vue-ui-heatmap-DD-Bzddj.js")),
|
|
51
|
+
VueUiKpi: t(() => import("./vue-ui-kpi-BS0o7zb9.js")),
|
|
52
|
+
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-DJEvG6ju.js")),
|
|
53
|
+
VueUiMolecule: t(() => import("./vue-ui-molecule-DdwnFEBJ.js")),
|
|
54
|
+
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-B9Gczs_Z.js")),
|
|
55
|
+
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-CVQ1CaXo.js")),
|
|
56
|
+
VueUiOnion: t(() => import("./vue-ui-onion-Ut75t7hB.js")),
|
|
57
|
+
VueUiQuadrant: t(() => import("./vue-ui-quadrant-Du9PKvlO.js")),
|
|
58
|
+
VueUiRadar: t(() => import("./vue-ui-radar-CBrpuE5r.js")),
|
|
59
|
+
VueUiRating: t(() => import("./vue-ui-rating-CaeGGlCw.js")),
|
|
60
|
+
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-5DNf880s.js")),
|
|
61
|
+
VueUiRings: t(() => import("./vue-ui-rings-IE3IdNRF.js")),
|
|
62
|
+
VueUiScatter: t(() => import("./vue-ui-scatter-C4GCZm0V.js")),
|
|
63
|
+
VueUiScreenshot: t(() => import("./vue-ui-screenshot-Bl3oooKI.js")),
|
|
64
|
+
VueUiSkeleton: t(() => import("./vue-ui-skeleton-BisWX1sO.js")),
|
|
65
|
+
VueUiSmiley: t(() => import("./vue-ui-smiley-Sth2pqG1.js")),
|
|
66
|
+
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-B0zX7NU7.js")),
|
|
67
|
+
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-CWR8zJnU.js")),
|
|
68
|
+
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-DxqCtDpw.js")),
|
|
69
|
+
VueUiSparkline: t(() => import("./vue-ui-sparkline-BpL1jn7F.js")),
|
|
70
|
+
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-BzbuBNIV.js")),
|
|
71
|
+
VueUiTable: t(() => import("./vue-ui-table-CFqIWfxl.js")),
|
|
72
|
+
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-z29ND2lq.js")),
|
|
73
|
+
VueUiThermometer: t(() => import("./vue-ui-thermometer-BNAITzJa.js")),
|
|
74
|
+
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-WyQPg7yo.js")),
|
|
75
|
+
VueUiTreemap: t(() => import("./vue-ui-treemap-DKmBhzV-.js")),
|
|
76
|
+
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-C-ySfrhJ.js")),
|
|
77
|
+
VueUiWaffle: t(() => import("./vue-ui-waffle-CGRWu-da.js")),
|
|
78
|
+
VueUiWheel: t(() => import("./vue-ui-wheel-Pj9OPk9f.js")),
|
|
79
|
+
VueUiXy: t(() => import("./vue-ui-xy-qToggEfh.js")),
|
|
80
|
+
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-Bz8KYDxr.js")),
|
|
81
|
+
VueUiAccordion: t(() => import("./vue-ui-accordion-CLlVxx3Q.js")),
|
|
82
|
+
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-u0cPmD3q.js")),
|
|
83
|
+
VueUiCursor: t(() => import("./vue-ui-cursor-DTYEMgbU.js")),
|
|
84
|
+
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-DAqO0TW2.js")),
|
|
85
|
+
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-DCcbD6UE.js")),
|
|
86
|
+
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-BMlxS1Nq.js")),
|
|
87
|
+
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-8Vr-jo1p.js")),
|
|
88
|
+
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-DnLWrf0e.js")),
|
|
89
|
+
VueUiFlow: t(() => import("./vue-ui-flow-CHmkgfyb.js")),
|
|
90
|
+
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-Bjo09ZTX.js")),
|
|
91
|
+
VueUiTimer: t(() => import("./vue-ui-timer-DV6lQVHU.js")),
|
|
92
|
+
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-CAqhsLVx.js"))
|
|
93
|
+
}, j = {
|
|
94
|
+
VueUi3dBar: ["config", "dataset"],
|
|
95
|
+
VueUiAgePyramid: ["config", "dataset"],
|
|
96
|
+
VueUiAnnotator: ["config", "dataset"],
|
|
97
|
+
VueUiCandlestick: ["config", "dataset"],
|
|
98
|
+
VueUiChestnut: ["config", "dataset"],
|
|
99
|
+
VueUiDashboard: ["config", "dataset"],
|
|
100
|
+
VueUiDigits: ["config", "dataset"],
|
|
101
|
+
VueUiDonut: ["config", "dataset"],
|
|
102
|
+
VueUiDonutEvolution: ["config", "dataset"],
|
|
103
|
+
VueUiGalaxy: ["config", "dataset"],
|
|
104
|
+
VueUiGauge: ["config", "dataset"],
|
|
105
|
+
VueUiHeatmap: ["config", "dataset"],
|
|
106
|
+
VueUiKpi: ["config", "dataset"],
|
|
107
|
+
VueUiMiniLoader: ["config"],
|
|
108
|
+
VueUiMolecule: ["config", "dataset"],
|
|
109
|
+
VueUiMoodRadar: ["config", "dataset"],
|
|
110
|
+
VueUiNestedDonuts: ["config", "dataset"],
|
|
111
|
+
VueUiOnion: ["config", "dataset"],
|
|
112
|
+
VueUiQuadrant: ["config", "dataset"],
|
|
113
|
+
VueUiRadar: ["config", "dataset"],
|
|
114
|
+
VueUiRating: ["config", "dataset"],
|
|
115
|
+
VueUiRelationCircle: ["config", "dataset"],
|
|
116
|
+
VueUiRings: ["config", "dataset"],
|
|
117
|
+
VueUiScatter: ["config", "dataset"],
|
|
118
|
+
VueUiScreenshot: ["config"],
|
|
119
|
+
VueUiSkeleton: ["config"],
|
|
120
|
+
VueUiSmiley: ["config", "dataset"],
|
|
121
|
+
VueUiSparkbar: ["config", "dataset"],
|
|
122
|
+
VueUiSparkgauge: ["config", "dataset"],
|
|
123
|
+
VueUiSparkHistogram: ["config", "dataset"],
|
|
124
|
+
VueUiSparkline: ["config", "dataset"],
|
|
125
|
+
VueUiSparkStackbar: ["config", "dataset"],
|
|
126
|
+
VueUiTable: ["config", "dataset"],
|
|
127
|
+
VueUiTableSparkline: ["config", "dataset"],
|
|
128
|
+
VueUiThermometer: ["config", "dataset"],
|
|
129
|
+
VueUiTiremarks: ["config", "dataset"],
|
|
130
|
+
VueUiTreemap: ["config", "dataset"],
|
|
131
|
+
VueUiVerticalBar: ["config", "dataset"],
|
|
132
|
+
VueUiWaffle: ["config", "dataset"],
|
|
133
|
+
VueUiWheel: ["config", "dataset"],
|
|
134
|
+
VueUiXy: ["config", "dataset"],
|
|
135
|
+
VueUiTableHeatmap: ["config", "dataset"],
|
|
136
|
+
VueUiAccordion: ["config"],
|
|
137
|
+
VueUiQuickChart: ["config", "dataset"],
|
|
138
|
+
VueUiCursor: ["config"],
|
|
139
|
+
VueUiSparkTrend: ["config", "dataset"],
|
|
140
|
+
VueUiStripPlot: ["config", "dataset"],
|
|
141
|
+
VueUiDumbbell: ["config", "dataset"],
|
|
142
|
+
VueUiWordCloud: ["config", "dataset"],
|
|
143
|
+
VueUiXyCanvas: ["config", "dataset"],
|
|
144
|
+
VueUiFlow: ["config", "dataset"],
|
|
145
|
+
VueUiParallelCoordinatePlot: ["config", "dataset"],
|
|
146
|
+
VueUiTimer: ["config"],
|
|
147
|
+
VueUiCarouselTable: ["config", "dataset"]
|
|
148
|
+
}, g = c(() => !u[n.component]), K = c(() => u[n.component] || null), i = o(null), q = c(() => {
|
|
149
|
+
const e = j[n.component] || [], a = {};
|
|
150
|
+
return e.includes("config") && (a.config = $.value), e.includes("dataset") && (a.dataset = Q.value), a;
|
|
151
|
+
}), p = o(() => null), m = o(() => null), d = o(() => null), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), h = o(() => null), k = o(() => null), S = o(() => null), y = o(() => null), T = o(() => null), b = o(() => null), C = o(() => null), A = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), L = o(() => null), I = o(() => null), _ = o(() => null), E = o(() => null), H = o(() => null);
|
|
152
|
+
Z(() => {
|
|
153
|
+
if (g.value)
|
|
154
|
+
throw new Error(`
|
|
155
|
+
|
|
156
|
+
Vue Data UI exception:
|
|
157
|
+
The provided component "${n.component}" does not exist. Check the spelling.
|
|
158
|
+
|
|
159
|
+
Available components:
|
|
160
|
+
|
|
161
|
+
${Object.keys(u).map((e) => `. ${e}
|
|
162
|
+
`).join("")}`);
|
|
163
|
+
}), B(i, async (e) => {
|
|
164
|
+
e && (e.generatePdf && (p.value = e.generatePdf), e.generateImage && (d.value = e.generateImage), e.generateCsv && (m.value = e.generateCsv), e.getItemsPositions && (V.value = e.getItemsPositions), e.toggleReadonly && (U.value = e.toggleReadonly), e.shoot && (f.value = e.shoot), e.close && (v.value = e.close), e.restoreOrder && (h.value = e.restoreOrder), e.recalculateHeight && (k.value = e.recalculateHeight), e.toggleLock && (S.value = e.toggleLock), e.toggleTable && (y.value = e.toggleTable), e.toggleLabels && (T.value = e.toggleLabels), e.toggleSort && (b.value = e.toggleSort), e.toggleStack && (C.value = e.toggleStack), e.toggleTooltip && (A.value = e.toggleTooltip), e.start && (P.value = e.start), e.pause && (D.value = e.pause), e.reset && (x.value = e.reset), e.restart && (L.value = e.restart), e.lap && (I.value = e.lap), e.toggleAnimation && (_.value = e.toggleAnimation), e.pauseAnimation && (E.value = e.pauseAnimation), e.resumeAnimation && (H.value = e.resumeAnimation));
|
|
165
|
+
});
|
|
166
|
+
const z = () => {
|
|
167
|
+
const e = [
|
|
168
|
+
"selectLegend",
|
|
169
|
+
"selectDatapoint",
|
|
170
|
+
"toggleOpenState",
|
|
171
|
+
"saveAnnotations",
|
|
172
|
+
"selectRoot",
|
|
173
|
+
"selectBranch",
|
|
174
|
+
"selectNut",
|
|
175
|
+
"change",
|
|
176
|
+
"selectPlot",
|
|
177
|
+
"selectSide",
|
|
178
|
+
"rate",
|
|
179
|
+
"postImage",
|
|
180
|
+
"hoverIndex",
|
|
181
|
+
"selectX",
|
|
182
|
+
"toggleLock",
|
|
183
|
+
"toggleTooltip",
|
|
184
|
+
"start",
|
|
185
|
+
"pause",
|
|
186
|
+
"reset",
|
|
187
|
+
"restart",
|
|
188
|
+
"lap",
|
|
189
|
+
"toggleAnimation",
|
|
190
|
+
"pauseAnimation",
|
|
191
|
+
"resumeAnimation"
|
|
192
|
+
], a = {};
|
|
193
|
+
return e.forEach((l) => {
|
|
194
|
+
a[l] = (...s) => X(l, ...s);
|
|
195
|
+
}), a;
|
|
196
|
+
}, r = R([]);
|
|
197
|
+
return B([r, i], () => {
|
|
198
|
+
if (i.value)
|
|
199
|
+
for (; r.length; ) {
|
|
200
|
+
const [e, ...a] = r.shift();
|
|
201
|
+
typeof i.value[e] == "function" && i.value[e](...a);
|
|
202
|
+
}
|
|
203
|
+
}), W({
|
|
204
|
+
getData: (...e) => i.value && typeof i.value.getData == "function" ? i.value.getData() : r.push(["getData", ...e]),
|
|
205
|
+
generatePdf: p,
|
|
206
|
+
generateCsv: m,
|
|
207
|
+
generateImage: d,
|
|
208
|
+
getItemsPositions: V,
|
|
209
|
+
toggleReadonly: U,
|
|
210
|
+
shoot: f,
|
|
211
|
+
close: v,
|
|
212
|
+
restoreOrder: h,
|
|
213
|
+
recalculateHeight: k,
|
|
214
|
+
toggleLock: S,
|
|
215
|
+
toggleTable: y,
|
|
216
|
+
toggleLabels: T,
|
|
217
|
+
toggleSort: b,
|
|
218
|
+
toggleStack: C,
|
|
219
|
+
toggleTooltip: A,
|
|
220
|
+
start: P,
|
|
221
|
+
pause: D,
|
|
222
|
+
reset: x,
|
|
223
|
+
restart: L,
|
|
224
|
+
lap: I,
|
|
225
|
+
pauseAnimation: E,
|
|
226
|
+
resumeAnimation: H,
|
|
227
|
+
toggleAnimation: _
|
|
228
|
+
}), (e, a) => g.value ? (O(), w("div", de, [
|
|
229
|
+
ee("div", Ve, [
|
|
230
|
+
te(me, {
|
|
231
|
+
name: "moodFlat",
|
|
232
|
+
stroke: "#FF0000"
|
|
233
|
+
})
|
|
234
|
+
]),
|
|
235
|
+
N(' The provided component "' + F(oe(G)) + '" does not exist ', 1)
|
|
236
|
+
])) : (O(), ie(ae(K.value), ne({
|
|
237
|
+
key: 1,
|
|
238
|
+
ref_key: "currentComponentRef",
|
|
239
|
+
ref: i
|
|
240
|
+
}, q.value, re(z())), le({ _: 2 }, [
|
|
241
|
+
se(e.$slots, (l, s) => ({
|
|
242
|
+
name: s,
|
|
243
|
+
fn: ue((J) => [
|
|
244
|
+
ce(e.$slots, s, ge(pe(J)), () => [
|
|
245
|
+
N(F(l), 1)
|
|
246
|
+
])
|
|
247
|
+
])
|
|
248
|
+
}))
|
|
249
|
+
]), 1040));
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
export {
|
|
253
|
+
ve as default
|
|
254
|
+
};
|
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-BkomIE9L.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.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.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiHeatmap=e.VueUiHeatmap;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.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.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,64 +1,65 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { Z as s, _ as u, $ as
|
|
2
|
+
import { Z as s, _ as u, $ as U, a0 as V, a1 as r, a2 as t, a3 as o, aR as l, a4 as n, a5 as d, a6 as m, a7 as p, a8 as S, a9 as g, aa as c, ab as k, ac as C, ad as T, ae as b, af as D, ag as h, ah as P, ai as f, aj as y, ak as R, al as A, am as x, an as H, ao as M, ap as W, aq as v, ar as w, as as B, at as F, au as G, av as Q, aw as E, ax as I, ay as K, az as L, aA as N, aB as O, aC as X, aD as j, aE as q, aF as z, aG as J, aH as Z, aI as _, aJ as $, aK as Y, aL as aa, aM as ea, aN as ia, aO as sa, aP as ua, aQ as Ua, S as Va, aS as ra, aT as ta, aU as oa } from "./index-BMCvLyab.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
U as VueUi3dBar,
|
|
7
|
+
V as VueUiAccordion,
|
|
8
8
|
r as VueUiAgePyramid,
|
|
9
9
|
t as VueUiAnnotator,
|
|
10
10
|
o as VueUiCandlestick,
|
|
11
|
-
l as
|
|
12
|
-
n as
|
|
13
|
-
d as
|
|
14
|
-
m as
|
|
15
|
-
p as
|
|
16
|
-
S as
|
|
17
|
-
g as
|
|
18
|
-
c as
|
|
19
|
-
k as
|
|
20
|
-
C as
|
|
21
|
-
T as
|
|
11
|
+
l as VueUiCarouselTable,
|
|
12
|
+
n as VueUiChestnut,
|
|
13
|
+
d as VueUiCursor,
|
|
14
|
+
m as VueUiDashboard,
|
|
15
|
+
p as VueUiDigits,
|
|
16
|
+
S as VueUiDonut,
|
|
17
|
+
g as VueUiDonutEvolution,
|
|
18
|
+
c as VueUiDumbbell,
|
|
19
|
+
k as VueUiFlow,
|
|
20
|
+
C as VueUiGalaxy,
|
|
21
|
+
T as VueUiGauge,
|
|
22
|
+
b as VueUiHeatmap,
|
|
22
23
|
D as VueUiIcon,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
24
|
+
h as VueUiKpi,
|
|
25
|
+
P as VueUiMiniLoader,
|
|
26
|
+
f as VueUiMolecule,
|
|
27
|
+
y as VueUiMoodRadar,
|
|
28
|
+
R as VueUiNestedDonuts,
|
|
29
|
+
A as VueUiOnion,
|
|
30
|
+
x as VueUiParallelCoordinatePlot,
|
|
31
|
+
H as VueUiQuadrant,
|
|
32
|
+
M as VueUiQuickChart,
|
|
33
|
+
W as VueUiRadar,
|
|
34
|
+
v as VueUiRating,
|
|
35
|
+
w as VueUiRelationCircle,
|
|
36
|
+
B as VueUiRings,
|
|
37
|
+
F as VueUiScatter,
|
|
38
|
+
G as VueUiScreenshot,
|
|
39
|
+
Q as VueUiSkeleton,
|
|
40
|
+
E as VueUiSmiley,
|
|
41
|
+
I as VueUiSparkHistogram,
|
|
42
|
+
K as VueUiSparkStackbar,
|
|
43
|
+
L as VueUiSparkTrend,
|
|
44
|
+
N as VueUiSparkbar,
|
|
45
|
+
O as VueUiSparkgauge,
|
|
46
|
+
X as VueUiSparkline,
|
|
47
|
+
j as VueUiStripPlot,
|
|
48
|
+
q as VueUiTable,
|
|
49
|
+
z as VueUiTableHeatmap,
|
|
50
|
+
J as VueUiTableSparkline,
|
|
51
|
+
Z as VueUiThermometer,
|
|
52
|
+
_ as VueUiTimer,
|
|
53
|
+
$ as VueUiTiremarks,
|
|
54
|
+
Y as VueUiTreemap,
|
|
55
|
+
aa as VueUiVerticalBar,
|
|
56
|
+
ea as VueUiWaffle,
|
|
57
|
+
ia as VueUiWheel,
|
|
58
|
+
sa as VueUiWordCloud,
|
|
59
|
+
ua as VueUiXy,
|
|
60
|
+
Ua as VueUiXyCanvas,
|
|
60
61
|
Va as createWordCloudDatasetFromPlainText,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
ra as getPalette,
|
|
63
|
+
ta as getThemeConfig,
|
|
64
|
+
oa as getVueDataUiConfig
|
|
64
65
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { computed as P, ref as N, onMounted as ze, openBlock as r, createElementBlock as i, normalizeClass as ye, normalizeStyle as D, createVNode as ke, createCommentVNode as k, createBlock as le, unref as v, createSlots as Be, withCtx as z, renderSlot as B, normalizeProps as oe, guardReactiveProps as se, createElementVNode as n, Fragment as $, renderList as g, toDisplayString as M, createTextVNode as Ie, nextTick as Oe, pushScopeId as Le, popScopeId as We } from "vue";
|
|
2
|
-
import { u as Ge, c as $e, t as Ve, a as Ae, p as R, b as Ue, d as j, o as Ee, e as Y, g as ae, l as A, m as ge, f as I, X as He, h as J, i as _e, j as O, k as K, n as Ze, q as qe } from "./index-
|
|
3
|
-
import { _ as Xe } from "./Title-
|
|
4
|
-
import { u as Re, U as Ye } from "./usePrinter-
|
|
5
|
-
import Je from "./vue-ui-skeleton-
|
|
6
|
-
import { D as Ke } from "./DataTable-
|
|
7
|
-
import Qe from "./vue-ui-accordion-
|
|
8
|
-
import { u as me } from "./useNestedProp-
|
|
2
|
+
import { u as Ge, c as $e, t as Ve, a as Ae, p as R, b as Ue, d as j, o as Ee, e as Y, g as ae, l as A, m as ge, f as I, X as He, h as J, i as _e, j as O, k as K, n as Ze, q as qe } from "./index-BMCvLyab.js";
|
|
3
|
+
import { _ as Xe } from "./Title-BNPZwnkp.js";
|
|
4
|
+
import { u as Re, U as Ye } from "./usePrinter-BuuBz5JR.js";
|
|
5
|
+
import Je from "./vue-ui-skeleton-BisWX1sO.js";
|
|
6
|
+
import { D as Ke } from "./DataTable-CaB7GIwQ.js";
|
|
7
|
+
import Qe from "./vue-ui-accordion-CLlVxx3Q.js";
|
|
8
|
+
import { u as me } from "./useNestedProp-CkP8xhG_.js";
|
|
9
9
|
import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const Q = (U) => (Le("data-v-30081550"), U = U(), We(), U), tt = ["id"], lt = ["xmlns", "viewBox"], ot = ["id"], st = ["stop-color"], at = ["stop-color"], nt = ["id"], rt = ["stop-color"], ut = ["stop-color"], it = ["id"], dt = ["stop-color"], ct = ["stop-color"], ht = ["id"], vt = ["stop-color"], ft = ["stop-color"], pt = ["stop-color"], yt = { key: 0 }, kt = ["id"], $t = ["stop-color"], gt = ["stop-color"], _t = ["id"], mt = ["stop-color"], xt = ["stop-color"], bt = ["id"], wt = ["stop-color"], Ct = ["stop-color"], Ft = ["id"], Mt = /* @__PURE__ */ Q(() => /* @__PURE__ */ n("stop", {
|
|
11
11
|
offset: "0%",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-BkomIE9L.cjs"),se=require("./Title-Cj_xubjI.cjs"),X=require("./usePrinter-r6uHYEcR.cjs"),ue=require("./vue-ui-skeleton-JmGp11-u.cjs"),ie=require("./DataTable-ssrNbONo.cjs"),ce=require("./vue-ui-accordion-SXsobrUt.cjs"),Z=require("./useNestedProp-BMxXyPbW.cjs"),de=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),P=w=>(e.pushScopeId("data-v-30081550"),w=w(),e.popScopeId(),w),he=["id"],ve=["xmlns","viewBox"],fe=["id"],pe=["stop-color"],ke=["stop-color"],me=["id"],ye=["stop-color"],ge=["stop-color"],$e=["id"],_e=["stop-color"],xe=["stop-color"],Be=["id"],be=["stop-color"],Ce=["stop-color"],Ee=["stop-color"],Ne={key:0},we=["id"],Ve=["stop-color"],Fe=["stop-color"],Me=["id"],Se=["stop-color"],De=["stop-color"],Pe=["id"],Te=["stop-color"],Le=["stop-color"],ze=["id"],je=P(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),Oe=P(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),He=[je,Oe],Ie=["x","y","font-size","font-weight","fill"],We=["x","y"],Ge=["d","stroke"],Ae=["d","stroke"],qe={key:3},Ue={key:0},Xe=["stroke-dasharray","d","stroke","stroke-width"],Ze=["stroke-dasharray","d","stroke","stroke-width"],Re=["stroke-dasharray","d","stroke","stroke-width"],Ye=["stroke-dasharray","d","stroke","stroke-width"],Je={key:1},Ke=["d","stroke","stroke-width","fill"],Qe=["d","stroke","stroke-width","fill"],et=["d","stroke","stroke-width","fill"],tt={key:2},lt=["d","fill","onMouseenter","onClick"],ot=["d","fill","onMouseenter","onClick"],nt=["d","fill","onMouseenter","onClick"],rt=["d","onMouseenter","onClick"],at=["d"],st=["d","stroke"],ut=["onClick"],it=["stroke","d"],ct=["cx","cy","fill","stroke"],dt=["x","y","width","height"],ht={key:1},vt=["d","stroke"],ft=["d","fill","stroke"],pt=["id"],kt=["stop-color"],mt=P(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),yt=["stop-color"],gt=["cx","cy","fill"],$t=["cx","cy","fill"],_t={key:0},xt=["text-anchor","x","y","fill","font-size"],Bt=["text-anchor","x","y","fill","font-size"],bt={key:2},Ct=["d","fill","stroke"],Et={key:4},Nt={key:0},wt=["stroke-dasharray","d","stroke","stroke-width"],Vt=["stroke-dasharray","d","stroke","stroke-width"],Ft=["stroke-dasharray","d","stroke","stroke-width"],Mt=["stroke-dasharray","d","stroke","stroke-width"],St=["d","stroke","stroke-width","fill"],Dt=["d","stroke","stroke-width","fill"],Pt={key:1},Tt=["onClick"],Lt=["id"],zt=["stop-color"],jt=["stop-color"],Ot=["id"],Ht=["stop-color"],It=["stop-color"],Wt=["stop-color"],Gt=["stop-color"],At=["stop-color"],qt=["onMouseenter","onClick","d","fill"],Ut=["onMouseenter","onClick","d"],Xt=["onMouseenter","onClick","d","fill"],Zt=["onClick"],Rt=["stroke","d"],Yt=["cx","cy","fill","stroke"],Jt=["x","y","width","height"],Kt={key:1},Qt=["d","stroke"],el=["d","fill","stroke"],tl=["id"],ll=["stop-color"],ol=P(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),nl=["stop-color"],rl=["cx","cy","fill"],al=["cx","cy","fill"],sl={key:0},ul=["text-anchor","x","y","fill","font-size"],il=["text-anchor","x","y","fill","font-size"],cl={key:2},dl=["d","fill","stroke"],hl=["innerHTML"],vl={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(w,{expose:R,emit:F}){const p=w,{vue_ui_3d_bar:Y}=i.useConfig(),M=e.computed(()=>!!p.dataset&&Object.keys(p.dataset).length),m=e.ref(i.createUid()),J=e.ref(null),z=e.ref(null),b=e.ref(!1),l=e.computed(()=>{const u=Z.useNestedProp({userConfig:p.config,defaultConfig:Y});return u.theme?{...Z.useNestedProp({userConfig:i.themes.vue_ui_3d_bar[u.theme]||p.config,defaultConfig:u}),customPalette:i.themePalettes[u.theme]||i.palette}:u}),{isPrinting:K,isImaging:Q,generatePdf:j,generateImage:O}=X.usePrinter({elementId:`3d_bar_${m.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),ee=e.computed(()=>i.convertCustomPalette(l.value.customPalette)),S=e.ref({showTable:l.value.table.show}),$=e.computed(()=>p.dataset.series&&p.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 u=p.dataset.series.map(o=>o.value||0).reduce((o,a)=>o+a,0),r=p.dataset.series.map((o,a)=>({...o,id:i.createUid(),proportion:(o.value||0)/u,color:i.convertColorToHex(o.color)||ee.value[a]||i.palette[a]||i.palette[a%i.palette.length],breakdown:o.breakdown?o.breakdown.sort((s,f)=>f.value-s.value):null})).sort((o,a)=>a.value-o.value),t=[];let c=0;for(let o=0;o<r.length;o+=1)t.push({...r[o],fill:te(c,r[o].proportion,r[o].breakdown,r[o].color)}),c+=r[o].proportion;return t}return null}),x=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}`})),C=e.ref(l.value.style.chart.animation.use?0:p.dataset.percentage);e.onMounted(()=>{i.objectIsEmpty(p.dataset)?i.error({componentName:"VueUi3dBar",type:"dataset"}):p.dataset.series?p.dataset.series.forEach((o,a)=>{i.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(s=>{i.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:s,index:a})}),o.breakdown&&o.breakdown.forEach((s,f)=>{i.getMissingDatasetAttributes({datasetObject:s,requiredAttributes:["name","value"]}).forEach(k=>{i.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:k,index:`${a} - ${f}`})})})}):i.getMissingDatasetAttributes({datasetObject:p.dataset,requiredAttributes:["percentage"]}).forEach(o=>{i.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:o})});let u=0,r=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){C.value+=r+u,u+=t,C.value<p.dataset.percentage?requestAnimationFrame(c):C.value=p.dataset.percentage}l.value.style.chart.animation.use&&(C.value=0,c())});function te(u,r,t,c){const o=n.value.height-n.value.bottom-n.value.top-n.value.perspective*2,{width:a,height:s,bottom:f,right:k,left:h,perspective:v}=n.value,d=f+o*u,L=s-d-v-o*r/2,ne=L>n.value.height/2?"top":"bottom",G=64,re=!!t;let A=null,q=null;return re&&(t=t.map((U,ae)=>({...U,value:U.value||0,color:i.lightenHexColor(c,ae/t.length)})),A=i.makeDonut({series:t},a+n.value.absoluteWidth/4-14,ne==="top"?L-G:L+G,28,28,1.99999,2,1,360,105.25,14),q=i.makeDonut({series:t},a-k+20,s-d-v-o*r/2,6,6,1.99999,2,1,360,105.25,6)),{donut:A,miniDonut:q,sidePointer:{x:a-k,y:s-d-v-o*r/2,topY:s-d-v-o*r,height:o*r},apexBottom:{y:s-d,x:a/2},apexTop:{y:s-d-o*r,x:a/2},right:`M${a/2},${s-d} ${a/2},${s-d-o*r} ${a-k},${s-d-v-o*r} ${a-k},${s-d-v}Z`,left:`M${a/2},${s-d} ${a/2},${s-d-o*r} ${h}, ${s-d-v-o*r} ${h},${s-d-v}Z`,liningTop:`M${h},${s-d-v-o*r} ${a/2},${s-d-o*r} ${a-k},${s-d-v-o*r}`,liningTopShade:`M${h},${s-d-v-o*r-.5} ${a/2},${s-d-o*r-.5} ${a-k},${s-d-v-o*r-.5}`,top:`M${a/2},${s-d-o*r} ${h},${s-d-v-o*r} ${a/2},${s-d-v*2-o*r} ${a-k},${s-d-v-o*r} Z`,tubeTop:`M${h},${s-d-o*r-v} C ${h},${s-d-o*r-v*2.5} ${a-k},${s-d-o*r-v*2.5} ${a-k},${s-d-o*r-v} C ${a-k},${s-d-o*r+v/2} ${h},${s-d-o*r+v/2} ${h},${s-d-o*r-v}`,bottomTubeTop:`M ${a-k-.5},${s-d-v} C ${a-k-.5},${s-d+v/2} ${h},${s-d+v/2} ${h+.5},${s-d-v}`,tubeBody:`M
|
|
2
2
|
${h},${s-d-o*r-v}
|
|
3
3
|
C ${h},${s-d-o*r+v/2}
|
|
4
4
|
${a-k},${s-d-o*r+v/2}
|
|
@@ -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-vmmfWlyR.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-CkP8xhG_.js";
|
|
4
|
+
import { u as B, c as I } from "./index-BMCvLyab.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -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-BoKtpbrI.cjs"),g=require("./useNestedProp-BMxXyPbW.cjs"),u=require("./index-BkomIE9L.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,13 +1,13 @@
|
|
|
1
1
|
import { computed as f, ref as d, onMounted as ve, openBlock as i, createElementBlock as u, normalizeClass as K, normalizeStyle as P, createVNode as N, createCommentVNode as y, createBlock as R, unref as g, createSlots as ye, withCtx as c, renderSlot as p, normalizeProps as D, guardReactiveProps as G, createElementVNode as r, Fragment as C, renderList as S, toDisplayString as m, createTextVNode as Q, nextTick as he } from "vue";
|
|
2
|
-
import { u as ce, c as fe, t as ge, o as pe, e as be, X as xe, s as Z, r as B, v as me, w as we, n as _e, q as ke } from "./index-
|
|
2
|
+
import { u as ce, c as fe, t as ge, o as pe, e as be, X as xe, s as Z, r as B, v as me, w as we, n as _e, q as ke } from "./index-BMCvLyab.js";
|
|
3
3
|
import { t as Ce, u as $e } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { _ as Te } from "./Title-
|
|
5
|
-
import { u as Le, U as Se } from "./usePrinter-
|
|
6
|
-
import { _ as ze } from "./Tooltip-
|
|
7
|
-
import { D as Ae } from "./DataTable-
|
|
8
|
-
import Fe from "./vue-ui-skeleton-
|
|
9
|
-
import Ie from "./vue-ui-accordion-
|
|
10
|
-
import { u as ee } from "./useNestedProp-
|
|
4
|
+
import { _ as Te } from "./Title-BNPZwnkp.js";
|
|
5
|
+
import { u as Le, U as Se } from "./usePrinter-BuuBz5JR.js";
|
|
6
|
+
import { _ as ze } from "./Tooltip-ZnJAz6dl.js";
|
|
7
|
+
import { D as Ae } from "./DataTable-CaB7GIwQ.js";
|
|
8
|
+
import Fe from "./vue-ui-skeleton-BisWX1sO.js";
|
|
9
|
+
import Ie from "./vue-ui-accordion-CLlVxx3Q.js";
|
|
10
|
+
import { u as ee } from "./useNestedProp-CkP8xhG_.js";
|
|
11
11
|
import { _ as Me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"], De = ["stop-color"], Ge = ["id"], Be = ["stop-color"], Ee = ["stop-color"], We = ["x", "y", "width", "height", "fill", "rx"], Xe = ["x", "y", "width", "height", "fill", "rx"], Ue = ["x", "y", "width", "height", "fill", "rx"], Ve = ["x", "y", "width", "height", "fill", "rx"], je = { key: 0 }, He = ["x", "y", "fill", "font-size", "font-weight"], Ye = ["x", "y", "fill", "font-size", "font-weight"], qe = { key: 1 }, Je = ["x", "y", "font-size", "fill", "font-weight"], Ke = { key: 2 }, Qe = { key: 0 }, Ze = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], lt = ["x", "y", "font-size", "fill", "font-weight"], at = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ot = ["x", "y", "font-size", "fill", "font-weight"], st = ["x", "y", "font-size", "fill", "font-weight"], it = ["x", "y", "width", "height", "fill", "onMouseover"], ut = {
|
|
13
13
|
__name: "vue-ui-age-pyramid",
|