vue-data-ui 3.3.2 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DLi6NnGD.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-yAMEyP6y.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-By4rru90.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-DyDViSOy.js} +1 -1
- package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BceHSLHf.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-Znzt0gSE.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-Camz1Lce.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-VOcQEHa4.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CSja1SGU.js → UserOptions-C0YT60JN.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-DxyZSvDx.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-J2dLIr8Y.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CEjkWSLj.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-anN8VbM7.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-D7Tgakts.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
- package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-BGzYbrts.js} +62 -55
- package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
- package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
- package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
- package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
- package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-YYE07iRP.js} +35 -35
- package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-BRSqhjxm.js} +47 -47
- package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
- package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-Yw81BFf2.js} +189 -189
- package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-k3xCwZYv.js} +145 -138
- package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-DMPndU1O.js} +82 -75
- package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-D-W3VQTv.js} +75 -75
- package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
- package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
- package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-APtv_CvA.js} +58 -58
- package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
- package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-BBdrkhmg.js} +465 -435
- package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-DL5ioFH4.js} +115 -108
- package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
- package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
- package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
- package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DbanwrFr.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +88 -81
- package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
- package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-C4Uc3DRH.js} +280 -273
- package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
- package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
- package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B1T10gWF.js} +118 -111
- package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-G0bYxlue.js} +50 -50
- package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-DqZwonPL.js} +100 -100
- package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
- package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
- package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
- package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
- package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
- package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-CA4GL9dj.js} +144 -137
- package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-BAbQsJGk.js} +18 -18
- package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
- package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
- package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-Cj677c6_.js} +29 -29
- package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
- package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
- package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
- package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-C39XL2GH.js} +68 -68
- package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
- package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Dlp9LghX.js} +35 -35
- package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-BS8BCZJ3.js} +6 -6
- package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/package.json +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
- package/dist/vue-ui-candlestick-x9U5Ni0N.js +0 -1066
- package/dist/vue-ui-stackbar-DIUil9DO.js +0 -1442
- package/dist/vue-ui-xy-canvas-BQKR36bd.js +0 -1305
- package/dist/vue-ui-xy-tWE4H5ij.js +0 -4520
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as se } from "./useNestedProp-
|
|
3
|
-
import ne from "./vue-ui-xy-
|
|
4
|
-
import re from "./vue-ui-donut-
|
|
5
|
-
import le from "./BaseIcon-
|
|
6
|
-
import { resolveComponent as
|
|
1
|
+
import { L as Y, t as W, S as G, Q as J, d as K, U as Z, P as q, ai as Q, h as $, J as ee, s as E, p as te } from "./lib-BcBZIm6u.js";
|
|
2
|
+
import { u as se } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import ne from "./vue-ui-xy-D3LqMzve.js";
|
|
4
|
+
import re from "./vue-ui-donut-Yw81BFf2.js";
|
|
5
|
+
import le from "./BaseIcon-B5KaGWWC.js";
|
|
6
|
+
import { resolveComponent as D, createElementBlock as u, openBlock as c, normalizeStyle as g, createCommentVNode as b, createElementVNode as a, toDisplayString as h, withDirectives as O, withKeys as L, withModifiers as S, vModelText as A, createVNode as P, Fragment as C, renderList as k, normalizeClass as p, createTextVNode as _, vModelSelect as H, createBlock as R, ref as oe, computed as ae, useCssVars as ie } from "vue";
|
|
7
7
|
import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
const
|
|
8
|
+
const x = {
|
|
9
9
|
name: "vue-ui-table",
|
|
10
10
|
props: {
|
|
11
11
|
config: {
|
|
@@ -885,8 +885,8 @@ Provide an array of objects of type:
|
|
|
885
885
|
v4e093505: n.colorButtonSortActiveColorText,
|
|
886
886
|
v1e742f57: n.colorButtonSortActiveOutline
|
|
887
887
|
}));
|
|
888
|
-
}, U =
|
|
889
|
-
|
|
888
|
+
}, U = x.setup;
|
|
889
|
+
x.setup = U ? (n, t) => (z(), U(n, t)) : z;
|
|
890
890
|
const ue = ["innerHTML"], he = ["data-is-open"], de = { class: "vue-ui-table-export-hub-options" }, ge = { class: "vue-ui-table-export-hub-option-wrapper" }, me = { class: "label" }, ye = ["innerHTML"], be = { class: "vue-ui-table-export-hub-option-wrapper" }, fe = { class: "label" }, Ne = ["innerHTML"], Ce = { class: "vue-ui-table-dialog-field" }, pe = {
|
|
891
891
|
class: "label vue-ui-table-dialog-input-label",
|
|
892
892
|
style: { width: "100%" }
|
|
@@ -899,7 +899,7 @@ const ue = ["innerHTML"], he = ["data-is-open"], de = { class: "vue-ui-table-exp
|
|
|
899
899
|
}, Se = { key: 0 }, Ae = { class: "th-filter" }, Me = {
|
|
900
900
|
key: 0,
|
|
901
901
|
class: "th-date"
|
|
902
|
-
}, Ge = { class: "date-wrapper--inputs" },
|
|
902
|
+
}, Ge = { class: "date-wrapper--inputs" }, De = { class: "date-fieldset" }, xe = ["for"], Te = ["id", "onUpdate:modelValue", "onInput"], Be = { class: "date-fieldset" }, Ee = ["for"], Pe = ["id", "onUpdate:modelValue", "onInput"], He = { class: "date-wrapper--button" }, Re = ["onClick"], ze = ["innerHTML"], Ue = ["innerHTML"], Ve = ["innerHTML"], Xe = ["onClick", "disabled"], je = ["placeholder", "onUpdate:modelValue", "name"], Ye = ["onClick"], We = ["innerHTML"], Je = ["innerHTML"], Ke = ["innerHTML"], Ze = ["onClick", "innerHTML"], qe = ["innerHTML"], Qe = {
|
|
903
903
|
key: 5,
|
|
904
904
|
class: "th-range-filter"
|
|
905
905
|
}, $e = ["for"], et = ["id", "max", "min", "onUpdate:modelValue"], tt = ["id", "max", "min", "onUpdate:modelValue"], st = ["for"], nt = ["onClick", "disabled"], rt = ["id"], lt = ["onClick"], ot = ["onClick", "onKeyup"], at = ["innerHTML", "onClick", "onKeyup"], it = ["data-row"], ct = ["data-row"], ut = ["data-row", "onClick", "onKeyup", "id"], ht = ["innerHTML"], dt = { key: 1 }, gt = { key: 2 }, mt = { key: 5 }, yt = ["innerHTML"], bt = { key: 0 }, ft = { style: { "margin-left": "12px" } }, Nt = { class: "format-num" }, Ct = { style: { "margin-left": "12px" } }, pt = {
|
|
@@ -923,10 +923,10 @@ const ue = ["innerHTML"], he = ["data-is-open"], de = { class: "vue-ui-table-exp
|
|
|
923
923
|
}, St = ["innerHTML"], At = {
|
|
924
924
|
key: 4,
|
|
925
925
|
class: "vue-ui-table-pagination format-num"
|
|
926
|
-
}, Mt = ["innerHTML", "disabled"], Gt = ["disabled"],
|
|
926
|
+
}, Mt = ["innerHTML", "disabled"], Gt = ["disabled"], Dt = {
|
|
927
927
|
key: 0,
|
|
928
928
|
class: "vue-ui-table-page-scroller-wrapper"
|
|
929
|
-
},
|
|
929
|
+
}, xt = {
|
|
930
930
|
for: "pageScroller",
|
|
931
931
|
style: { "font-size": "14px" }
|
|
932
932
|
}, Tt = ["max", "value"], Bt = { key: 1 }, Et = ["disabled"], Pt = ["innerHTML", "disabled"], Ht = ["innerHTML"], Rt = { class: "chart-modal-options" }, zt = ["innerHTML"], Ut = ["innerHTML"], Vt = ["innerHTML"], Xt = {
|
|
@@ -937,7 +937,7 @@ const ue = ["innerHTML"], he = ["data-is-open"], de = { class: "vue-ui-table-exp
|
|
|
937
937
|
style: { width: "100%", "margin-bottom": "32px" }
|
|
938
938
|
};
|
|
939
939
|
function es(n, t, r, i, s, e) {
|
|
940
|
-
const m =
|
|
940
|
+
const m = D("BaseIcon"), f = D("VueUiXy"), w = D("VueUiDonut");
|
|
941
941
|
return c(), u("div", {
|
|
942
942
|
class: "vue-data-ui-component vue-ui-table-main",
|
|
943
943
|
style: g(`font-family: ${e.FINAL_CONFIG.fontFamily}`)
|
|
@@ -1131,10 +1131,10 @@ function es(n, t, r, i, s, e) {
|
|
|
1131
1131
|
a("div", Ae, [
|
|
1132
1132
|
o.type === s.constants.DATE && s.dates[l] ? (c(), u("div", Me, [
|
|
1133
1133
|
a("div", Ge, [
|
|
1134
|
-
a("div",
|
|
1134
|
+
a("div", De, [
|
|
1135
1135
|
a("label", {
|
|
1136
1136
|
for: `from_${l}`
|
|
1137
|
-
}, h(e.FINAL_CONFIG.translations.from), 9,
|
|
1137
|
+
}, h(e.FINAL_CONFIG.translations.from), 9, xe),
|
|
1138
1138
|
O(a("input", {
|
|
1139
1139
|
id: `from_${l}`,
|
|
1140
1140
|
type: "date",
|
|
@@ -1513,8 +1513,8 @@ function es(n, t, r, i, s, e) {
|
|
|
1513
1513
|
disabled: s.currentPage === 0,
|
|
1514
1514
|
style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${s.currentPage === 0 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
|
|
1515
1515
|
}, " 1 ", 12, Gt),
|
|
1516
|
-
e.pages.length > 10 ? (c(), u("div",
|
|
1517
|
-
a("label",
|
|
1516
|
+
e.pages.length > 10 ? (c(), u("div", Dt, [
|
|
1517
|
+
a("label", xt, h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1),
|
|
1518
1518
|
a("input", {
|
|
1519
1519
|
class: "vue-ui-table-page-scroller",
|
|
1520
1520
|
id: "pageScroller",
|
|
@@ -1676,7 +1676,7 @@ function es(n, t, r, i, s, e) {
|
|
|
1676
1676
|
], 4)) : b("", !0)
|
|
1677
1677
|
], 4);
|
|
1678
1678
|
}
|
|
1679
|
-
const cs = /* @__PURE__ */ ce(
|
|
1679
|
+
const cs = /* @__PURE__ */ ce(x, [["render", es], ["__scopeId", "data-v-8f72e543"]]);
|
|
1680
1680
|
export {
|
|
1681
1681
|
cs as default
|
|
1682
1682
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as
|
|
2
|
-
import { c as A, o as de, f as pe,
|
|
3
|
-
import { u as ge, a as H } from "./useNestedProp-
|
|
4
|
-
import { u as be } from "./usePrinter-
|
|
1
|
+
import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as z, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as E, normalizeStyle as C, createBlock as le, createCommentVNode as v, createElementVNode as g, createSlots as re, withCtx as b, renderSlot as u, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as ue, nextTick as ie } from "vue";
|
|
2
|
+
import { c as A, o as de, f as pe, ag as ce, J as ve, ae as me, P as fe, Q as he } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { u as ge, a as H } from "./useNestedProp-B7CiTRDS.js";
|
|
4
|
+
import { u as be } from "./usePrinter-C1GiglOH.js";
|
|
5
5
|
import { u as ye } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { t as Ce } from "./themes-Dw-dDudK.js";
|
|
7
|
-
import { _ as ke } from "./Shape-
|
|
7
|
+
import { _ as ke } from "./Shape-BhNvlGIN.js";
|
|
8
8
|
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"],
|
|
9
|
+
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], Pe = {
|
|
10
10
|
key: 0,
|
|
11
11
|
style: { display: "flex", "flex-direction": "row", gap: "2px", "align-items": "center" }
|
|
12
|
-
},
|
|
12
|
+
}, xe = ["height", "width"], Fe = {
|
|
13
13
|
key: 0,
|
|
14
14
|
role: "cell",
|
|
15
15
|
"data-cell": "sum"
|
|
@@ -46,15 +46,15 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
46
46
|
cea75ac0: ee.value,
|
|
47
47
|
v98a6fd0a: j.value
|
|
48
48
|
}));
|
|
49
|
-
const X = oe(() => import("./UserOptions-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
const X = oe(() => import("./UserOptions-C0YT60JN.js")), { vue_ui_table_heatmap: W } = ge(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), J = se();
|
|
50
|
+
z(() => {
|
|
51
|
+
J["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
52
52
|
});
|
|
53
53
|
const t = c({
|
|
54
|
-
get: () =>
|
|
54
|
+
get: () => F(),
|
|
55
55
|
set: (e) => e
|
|
56
|
-
}), { userOptionsVisible: $, setUserOptionsVisibility:
|
|
57
|
-
function
|
|
56
|
+
}), { userOptionsVisible: $, setUserOptionsVisibility: P, keepUserOptionState: x } = ye({ config: t.value });
|
|
57
|
+
function F() {
|
|
58
58
|
const e = H({
|
|
59
59
|
userConfig: m.config,
|
|
60
60
|
defaultConfig: W
|
|
@@ -67,14 +67,14 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
67
67
|
} : e;
|
|
68
68
|
}
|
|
69
69
|
ne(() => m.config, (e) => {
|
|
70
|
-
t.value =
|
|
70
|
+
t.value = F(), $.value = !t.value.userOptions.showOnChartHover, V();
|
|
71
71
|
}, { deep: !0 });
|
|
72
|
-
const { isPrinting:
|
|
72
|
+
const { isPrinting: Q, isImaging: q, generatePdf: N, generateImage: S } = be({
|
|
73
73
|
elementId: `table_heatmap_${_.value}`,
|
|
74
74
|
fileName: "vue-ui-table-heatmap",
|
|
75
75
|
options: t.value.userOptions.print
|
|
76
|
-
}),
|
|
77
|
-
|
|
76
|
+
}), K = c(() => t.value.table.responsiveBreakpoint), Y = c(() => !!m.dataset && m.dataset.length);
|
|
77
|
+
z(() => {
|
|
78
78
|
V();
|
|
79
79
|
});
|
|
80
80
|
function V() {
|
|
@@ -84,7 +84,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
84
84
|
});
|
|
85
85
|
const e = new ResizeObserver((o) => {
|
|
86
86
|
o.forEach((a) => {
|
|
87
|
-
d.value = a.contentRect.width <
|
|
87
|
+
d.value = a.contentRect.width < K.value;
|
|
88
88
|
});
|
|
89
89
|
});
|
|
90
90
|
y.value && e.observe(y.value);
|
|
@@ -119,7 +119,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
119
119
|
...e,
|
|
120
120
|
colors: e.displayValues.map((o) => isNaN(o) ? t.value.style.backgroundColor : Z(o, e.serieExtremes))
|
|
121
121
|
}))), j = c(() => t.value.style.backgroundColor), ee = c(() => `${t.value.table.borderWidth}px`);
|
|
122
|
-
function
|
|
122
|
+
function U(e = null) {
|
|
123
123
|
ie(() => {
|
|
124
124
|
const o = T.value.map((l) => [
|
|
125
125
|
[l.name],
|
|
@@ -136,24 +136,24 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
136
136
|
}
|
|
137
137
|
return L({
|
|
138
138
|
generatePdf: N,
|
|
139
|
-
generateCsv:
|
|
139
|
+
generateCsv: U,
|
|
140
140
|
generateImage: S
|
|
141
141
|
}), (e, o) => (n(), r("div", {
|
|
142
142
|
ref_key: "tableContainer",
|
|
143
143
|
ref: y,
|
|
144
144
|
style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
|
|
145
|
-
class:
|
|
145
|
+
class: E({ "vue-data-ui-component": !0, "vue-ui-responsive": d.value }),
|
|
146
146
|
id: `table_heatmap_${_.value}`,
|
|
147
|
-
onMouseenter: o[0] || (o[0] = () => i(
|
|
148
|
-
onMouseleave: o[1] || (o[1] = () => i(
|
|
147
|
+
onMouseenter: o[0] || (o[0] = () => i(P)(!0)),
|
|
148
|
+
onMouseleave: o[1] || (o[1] = () => i(P)(!1))
|
|
149
149
|
}, [
|
|
150
|
-
t.value.userOptions.show && Y.value && (i(
|
|
150
|
+
t.value.userOptions.show && Y.value && (i(x) || i($)) ? (n(), le(i(X), {
|
|
151
151
|
ref: "details",
|
|
152
152
|
key: `user_option_${O.value}`,
|
|
153
153
|
backgroundColor: t.value.style.backgroundColor,
|
|
154
154
|
color: t.value.style.color,
|
|
155
|
-
isPrinting: i(
|
|
156
|
-
isImaging: i(
|
|
155
|
+
isPrinting: i(Q),
|
|
156
|
+
isImaging: i(q),
|
|
157
157
|
uid: _.value,
|
|
158
158
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
159
159
|
hasXls: t.value.userOptions.buttons.csv,
|
|
@@ -167,10 +167,10 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
167
167
|
printScale: t.value.userOptions.print.scale,
|
|
168
168
|
onToggleFullscreen: te,
|
|
169
169
|
onGeneratePdf: i(N),
|
|
170
|
-
onGenerateCsv:
|
|
170
|
+
onGenerateCsv: U,
|
|
171
171
|
onGenerateImage: i(S),
|
|
172
172
|
style: C({
|
|
173
|
-
visibility: i(
|
|
173
|
+
visibility: i(x) ? i($) ? "visible" : "hidden" : "visible"
|
|
174
174
|
})
|
|
175
175
|
}, re({ _: 2 }, [
|
|
176
176
|
e.$slots.menuIcon ? {
|
|
@@ -210,7 +210,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
210
210
|
} : void 0
|
|
211
211
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
212
212
|
g("table", {
|
|
213
|
-
class:
|
|
213
|
+
class: E({ "vue-ui-table-heatmap": !0 }),
|
|
214
214
|
style: C(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor};`)
|
|
215
215
|
}, [
|
|
216
216
|
g("caption", null, [
|
|
@@ -232,7 +232,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
232
232
|
role: "cell",
|
|
233
233
|
"data-cell": t.value.table.head.values[p]
|
|
234
234
|
}, [
|
|
235
|
-
a.color && p === 0 ? (n(), r("div",
|
|
235
|
+
a.color && p === 0 ? (n(), r("div", Pe, [
|
|
236
236
|
a.color ? (n(), r("svg", {
|
|
237
237
|
key: 0,
|
|
238
238
|
height: t.value.style.shapeSize,
|
|
@@ -246,7 +246,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
246
246
|
radius: 9,
|
|
247
247
|
shape: a.shape || "circle"
|
|
248
248
|
}, null, 8, ["color", "shape"])
|
|
249
|
-
], 8,
|
|
249
|
+
], 8, xe)) : v("", !0),
|
|
250
250
|
u(e.$slots, "rowTitle", f({ ref_for: !0 }, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value }), void 0, !0)
|
|
251
251
|
])) : (n(), r(k, { key: 1 }, [
|
|
252
252
|
p === 0 ? u(e.$slots, "rowTitle", f({
|
|
@@ -259,7 +259,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
259
259
|
}, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value, color: a.colors[p], textColor: i(ve)(a.colors[p]) }), void 0, !0) : v("", !0)
|
|
260
260
|
], 64))
|
|
261
261
|
], 8, Oe))), 256)),
|
|
262
|
-
t.value.table.showSum ? (n(), r("td",
|
|
262
|
+
t.value.table.showSum ? (n(), r("td", Fe, [
|
|
263
263
|
u(e.$slots, "sum", f({ ref_for: !0 }, { value: a.sum, rowIndex: s, isResponsive: d.value }), void 0, !0)
|
|
264
264
|
])) : v("", !0),
|
|
265
265
|
t.value.table.showAverage ? (n(), r("td", Ne, [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as Fe, defineAsyncComponent as
|
|
2
|
-
import { u as Ge, a as ye } from "./useNestedProp-
|
|
3
|
-
import { c as Le, b as Re, p as T, e as He, o as Xe, f as he, g as qe,
|
|
4
|
-
import { u as Ze } from "./usePrinter-
|
|
1
|
+
import { useCssVars as Fe, defineAsyncComponent as Q, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as J, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as P, Fragment as K, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as D, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
|
|
2
|
+
import { u as Ge, a as ye } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import { c as Le, b as Re, p as T, e as He, o as Xe, f as he, g as qe, ag as Qe, h as Je, a as W, d as M, P as Ke, Q as Ye } from "./lib-BcBZIm6u.js";
|
|
4
|
+
import { u as Ze } from "./usePrinter-C1GiglOH.js";
|
|
5
5
|
import { u as je } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { v as et } from "./vClickOutside-C6WiFswA.js";
|
|
7
7
|
import { t as tt } from "./themes-Dw-dDudK.js";
|
|
@@ -44,7 +44,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
44
44
|
Fe((t) => ({
|
|
45
45
|
v310cbdc6: t.tdo
|
|
46
46
|
}));
|
|
47
|
-
const Ce =
|
|
47
|
+
const Ce = Q(() => import("./vue-ui-sparkline-DScNHLXj.js")), N = Q(() => import("./BaseIcon-B5KaGWWC.js")), xe = Q(() => import("./UserOptions-C0YT60JN.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
|
|
48
48
|
me(() => {
|
|
49
49
|
Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
50
50
|
});
|
|
@@ -107,11 +107,11 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
107
107
|
});
|
|
108
108
|
});
|
|
109
109
|
}), x.dataset.map((t, l) => {
|
|
110
|
-
const a = (t.values || []).map((d) => isNaN(d) ? 0 : d ?? 0), n = a.reduce((d, i) => d + i, 0), s = n / a.length, o =
|
|
110
|
+
const a = (t.values || []).map((d) => isNaN(d) ? 0 : d ?? 0), n = a.reduce((d, i) => d + i, 0), s = n / a.length, o = Qe(a);
|
|
111
111
|
return {
|
|
112
112
|
...t,
|
|
113
113
|
values: t.values || [],
|
|
114
|
-
color:
|
|
114
|
+
color: Je(t.color) || Ie.value[l] || T[l] || T[l % T.length],
|
|
115
115
|
sum: n,
|
|
116
116
|
average: s,
|
|
117
117
|
median: o,
|
|
@@ -193,11 +193,11 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
193
193
|
m.value = s;
|
|
194
194
|
}
|
|
195
195
|
const S = p(void 0), q = p(void 0);
|
|
196
|
-
function
|
|
196
|
+
function Pe({ dataIndex: t, serieIndex: l }) {
|
|
197
197
|
S.value = t, q.value = l, E.value[t] && !L.value && E.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
198
198
|
}
|
|
199
199
|
const de = p(!1);
|
|
200
|
-
function
|
|
200
|
+
function De(t) {
|
|
201
201
|
de.value = t, Z.value += 1;
|
|
202
202
|
}
|
|
203
203
|
function ve(t = null) {
|
|
@@ -208,7 +208,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
208
208
|
[o.sum],
|
|
209
209
|
[o.average],
|
|
210
210
|
[o.median]
|
|
211
|
-
]), n = [l].concat(a), s =
|
|
211
|
+
]), n = [l].concat(a), s = Ke(n);
|
|
212
212
|
t ? t(s) : Ye({
|
|
213
213
|
csvContent: s,
|
|
214
214
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
@@ -239,7 +239,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
239
239
|
}), (t, l) => (v(), c("div", {
|
|
240
240
|
ref_key: "tableContainer",
|
|
241
241
|
ref: F,
|
|
242
|
-
class:
|
|
242
|
+
class: J({ "vue-data-ui-component": !0, "vue-ui-table-sparkline": !0, "vue-ui-responsive": L.value }),
|
|
243
243
|
style: { overflow: "hidden" },
|
|
244
244
|
id: `table_${U.value}`,
|
|
245
245
|
onMouseenter: l[3] || (l[3] = () => u(j)(!0)),
|
|
@@ -314,7 +314,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
314
314
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
315
315
|
onClick: l[0] || (l[0] = (a) => V({ type: "name" }, null, -1))
|
|
316
316
|
}, [
|
|
317
|
-
|
|
317
|
+
P(u(N), {
|
|
318
318
|
size: 12,
|
|
319
319
|
name: "arrowBottom",
|
|
320
320
|
stroke: e.value.thead.color,
|
|
@@ -327,7 +327,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
327
327
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
328
328
|
onClick: l[1] || (l[1] = (a) => V({ type: "name" }, null, 1))
|
|
329
329
|
}, [
|
|
330
|
-
|
|
330
|
+
P(u(N), {
|
|
331
331
|
size: 12,
|
|
332
332
|
name: "arrowTop",
|
|
333
333
|
stroke: e.value.thead.color,
|
|
@@ -339,7 +339,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
339
339
|
])) : g("", !0)
|
|
340
340
|
], 4)
|
|
341
341
|
], 4),
|
|
342
|
-
(v(!0), c(
|
|
342
|
+
(v(!0), c(K, null, Y(k.value, (a, n) => (v(), c("th", {
|
|
343
343
|
role: "cell",
|
|
344
344
|
style: r({
|
|
345
345
|
background: e.value.thead.backgroundColor,
|
|
@@ -349,7 +349,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
349
349
|
minWidth: n === k.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
|
|
350
350
|
paddingRight: n === k.value.length - 1 && e.value.userOptions.show ? "36px" : ""
|
|
351
351
|
}),
|
|
352
|
-
class:
|
|
352
|
+
class: J({ "sticky-col": n === k.value.length - 1 && e.value.showSparklines })
|
|
353
353
|
}, [
|
|
354
354
|
f("div", {
|
|
355
355
|
style: r({
|
|
@@ -366,7 +366,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
366
366
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
367
367
|
onClick: () => V(a, n, -1)
|
|
368
368
|
}, [
|
|
369
|
-
|
|
369
|
+
P(u(N), {
|
|
370
370
|
size: 12,
|
|
371
371
|
name: "arrowBottom",
|
|
372
372
|
stroke: e.value.thead.color,
|
|
@@ -379,7 +379,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
379
379
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
380
380
|
onClick: () => V(a, n, 1)
|
|
381
381
|
}, [
|
|
382
|
-
|
|
382
|
+
P(u(N), {
|
|
383
383
|
size: 12,
|
|
384
384
|
name: "arrowTop",
|
|
385
385
|
stroke: e.value.thead.color,
|
|
@@ -409,7 +409,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
409
409
|
position: e.value.userOptions.position,
|
|
410
410
|
callbacks: e.value.userOptions.callbacks,
|
|
411
411
|
printScale: e.value.userOptions.print.scale,
|
|
412
|
-
onToggleFullscreen:
|
|
412
|
+
onToggleFullscreen: De,
|
|
413
413
|
onGeneratePdf: u(oe),
|
|
414
414
|
onGenerateImage: u(ne),
|
|
415
415
|
onGenerateCsv: ve,
|
|
@@ -419,35 +419,35 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
419
419
|
}, Be({ _: 2 }, [
|
|
420
420
|
t.$slots.menuIcon ? {
|
|
421
421
|
name: "menuIcon",
|
|
422
|
-
fn:
|
|
422
|
+
fn: D(({ isOpen: s, color: o }) => [
|
|
423
423
|
O(t.$slots, "menuIcon", ge({ ref_for: !0 }, { isOpen: s, color: o }), void 0, !0)
|
|
424
424
|
]),
|
|
425
425
|
key: "0"
|
|
426
426
|
} : void 0,
|
|
427
427
|
t.$slots.optionPdf ? {
|
|
428
428
|
name: "optionPdf",
|
|
429
|
-
fn:
|
|
429
|
+
fn: D(() => [
|
|
430
430
|
O(t.$slots, "optionPdf", {}, void 0, !0)
|
|
431
431
|
]),
|
|
432
432
|
key: "1"
|
|
433
433
|
} : void 0,
|
|
434
434
|
t.$slots.optionCsv ? {
|
|
435
435
|
name: "optionCsv",
|
|
436
|
-
fn:
|
|
436
|
+
fn: D(() => [
|
|
437
437
|
O(t.$slots, "optionCsv", {}, void 0, !0)
|
|
438
438
|
]),
|
|
439
439
|
key: "2"
|
|
440
440
|
} : void 0,
|
|
441
441
|
t.$slots.optionImg ? {
|
|
442
442
|
name: "optionImg",
|
|
443
|
-
fn:
|
|
443
|
+
fn: D(() => [
|
|
444
444
|
O(t.$slots, "optionImg", {}, void 0, !0)
|
|
445
445
|
]),
|
|
446
446
|
key: "3"
|
|
447
447
|
} : void 0,
|
|
448
448
|
t.$slots.optionFullscreen ? {
|
|
449
449
|
name: "optionFullscreen",
|
|
450
|
-
fn:
|
|
450
|
+
fn: D(({ toggleFullscreen: s, isFullscreen: o }) => [
|
|
451
451
|
O(t.$slots, "optionFullscreen", ge({ ref_for: !0 }, { toggleFullscreen: s, isFullscreen: o }), void 0, !0)
|
|
452
452
|
]),
|
|
453
453
|
key: "4"
|
|
@@ -459,13 +459,13 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
459
459
|
])
|
|
460
460
|
]),
|
|
461
461
|
f("tbody", null, [
|
|
462
|
-
(v(!0), c(
|
|
462
|
+
(v(!0), c(K, null, Y(m.value, (a, n) => (v(), c("tr", {
|
|
463
463
|
role: "row",
|
|
464
464
|
style: r({
|
|
465
465
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
466
466
|
color: e.value.tbody.color
|
|
467
467
|
}),
|
|
468
|
-
class:
|
|
468
|
+
class: J({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": n % 2 === 0, "vue-ui-data-table__tbody__row-odd": n % 2 !== 0 })
|
|
469
469
|
}, [
|
|
470
470
|
f("td", {
|
|
471
471
|
role: "cell",
|
|
@@ -496,7 +496,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
496
496
|
f("span", null, C(a.name ?? "-"), 1)
|
|
497
497
|
], 4)
|
|
498
498
|
], 12, it),
|
|
499
|
-
(v(!0), c(
|
|
499
|
+
(v(!0), c(K, null, Y($e.value, (s, o) => (v(), c("td", {
|
|
500
500
|
dir: "auto",
|
|
501
501
|
role: "cell",
|
|
502
502
|
ref_for: !0,
|
|
@@ -608,8 +608,8 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
608
608
|
}),
|
|
609
609
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
610
610
|
}, [
|
|
611
|
-
|
|
612
|
-
onHoverIndex: ({ index: s }) =>
|
|
611
|
+
P(u(Ce), {
|
|
612
|
+
onHoverIndex: ({ index: s }) => Pe({ dataIndex: s, serieIndex: n }),
|
|
613
613
|
"height-ratio": e.value.sparkline.dimensions.heightRatio,
|
|
614
614
|
"forced-padding": 30,
|
|
615
615
|
dataset: a.sparklineDataset,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { useCssVars as Ye, computed as c, defineAsyncComponent as j, ref as v, onMounted as Ee, toRefs as He, watch as
|
|
2
|
-
import { c as Be, t as De, o as je, f as ye, g as Xe, b as Je, p as O, e as Ke,
|
|
1
|
+
import { useCssVars as Ye, computed as c, defineAsyncComponent as j, ref as v, onMounted as Ee, toRefs as He, watch as Re, createElementBlock as u, openBlock as a, unref as n, normalizeStyle as de, normalizeClass as U, createBlock as W, createCommentVNode as i, createSlots as Ve, withCtx as A, renderSlot as y, normalizeProps as L, guardReactiveProps as N, createVNode as qe, createElementVNode as d, Fragment as Y, renderList as me, toDisplayString as Ge } from "vue";
|
|
2
|
+
import { c as Be, t as De, o as je, f as ye, g as Xe, b as Je, p as O, e as Ke, x as f, h as E, X as Qe, s as Ze, a as et, d as tt } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as st, u as ot } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as lt, a as fe } from "./useNestedProp-
|
|
4
|
+
import { u as lt, a as fe } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as at, B as rt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as ut } from "./usePrinter-
|
|
6
|
+
import { u as ut } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as nt } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as it } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as ht } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
-
import { u as ct } from "./useAutoSizeLabelsInsideViewbox-
|
|
10
|
+
import { u as ct } from "./useAutoSizeLabelsInsideViewbox-BHq4FD8x.js";
|
|
11
11
|
import { t as vt } from "./themes-Dw-dDudK.js";
|
|
12
|
-
import dt from "./Title-
|
|
13
|
-
import mt from "./img-
|
|
12
|
+
import dt from "./Title-CFmv95In.js";
|
|
13
|
+
import mt from "./img-CFY3JivG.js";
|
|
14
14
|
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const ft = ["id"], gt = {
|
|
16
16
|
key: 1,
|
|
@@ -20,7 +20,7 @@ const ft = ["id"], gt = {
|
|
|
20
20
|
}, pt = ["xmlns", "viewBox"], kt = ["width", "height"], bt = ["id"], xt = ["x", "y", "width", "height", "rx", "ry"], wt = ["id"], _t = ["stop-color"], Ct = ["stop-color"], $t = ["stop-color"], At = ["clip-path"], Ot = ["x", "y", "height", "width"], Ft = ["x", "y", "height", "width", "fill"], It = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], St = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Pt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Tt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Mt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], zt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ut = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Wt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Lt = ["x", "y", "height", "width"], Nt = { key: 1 }, Yt = ["x", "y", "height"], Et = ["y", "x", "fill", "font-size", "font-weight"], Ht = {
|
|
21
21
|
key: 4,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
|
-
},
|
|
23
|
+
}, Rt = {
|
|
24
24
|
__name: "vue-ui-thermometer",
|
|
25
25
|
props: {
|
|
26
26
|
dataset: {
|
|
@@ -42,14 +42,14 @@ const ft = ["id"], gt = {
|
|
|
42
42
|
ee141c4a: Oe.value,
|
|
43
43
|
e9077cf0: Ae.value
|
|
44
44
|
}));
|
|
45
|
-
const pe = j(() => import("./PackageVersion-
|
|
45
|
+
const pe = j(() => import("./PackageVersion-DyDViSOy.js")), ke = j(() => import("./PenAndPaper-Dj2diYr0.js")), be = j(() => import("./UserOptions-C0YT60JN.js")), { vue_ui_thermometer: xe } = lt(), g = F, p = v(Be()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), x = v(null), I = v(null), we = c(() => !!g.dataset && Object.keys(g.dataset).length);
|
|
46
46
|
Ee(() => {
|
|
47
47
|
te();
|
|
48
48
|
});
|
|
49
|
-
const e = v(
|
|
49
|
+
const e = v(q()), _e = v(e.value.style.chart.thermometer.width), H = v(e.value.style.chart.height), R = v(e.value.style.chart.width), { loading: Z, FINAL_DATASET: h } = at({
|
|
50
50
|
...He(g),
|
|
51
51
|
FINAL_CONFIG: e,
|
|
52
|
-
prepareConfig:
|
|
52
|
+
prepareConfig: q,
|
|
53
53
|
skeletonDataset: { value: 0, from: -100, to: 100, steps: 20, colors: { from: "#A1A1A1", to: "#CACACA" } },
|
|
54
54
|
skeletonConfig: De({
|
|
55
55
|
defaultConfig: e.value,
|
|
@@ -90,15 +90,15 @@ const ft = ["id"], gt = {
|
|
|
90
90
|
source: Q.value
|
|
91
91
|
});
|
|
92
92
|
requestAnimationFrame(() => {
|
|
93
|
-
H.value = Math.max(0.1, t - 12),
|
|
93
|
+
H.value = Math.max(0.1, t - 12), R.value = l, ce();
|
|
94
94
|
});
|
|
95
95
|
});
|
|
96
96
|
x.value && (I.value && x.value.unobserve(I.value), x.value.disconnect()), x.value = new ResizeObserver(s), I.value = k.value, x.value.observe(I.value);
|
|
97
97
|
}
|
|
98
98
|
ce();
|
|
99
99
|
}
|
|
100
|
-
const { userOptionsVisible:
|
|
101
|
-
function
|
|
100
|
+
const { userOptionsVisible: V, setUserOptionsVisibility: se, keepUserOptionState: oe } = it({ config: e.value }), { svgRef: S } = ht({ config: e.value.style.title });
|
|
101
|
+
function q() {
|
|
102
102
|
const s = fe({
|
|
103
103
|
userConfig: g.config,
|
|
104
104
|
defaultConfig: xe
|
|
@@ -111,8 +111,8 @@ const ft = ["id"], gt = {
|
|
|
111
111
|
customPalette: Je[s.theme] || O
|
|
112
112
|
} : s;
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
e.value =
|
|
114
|
+
Re(() => g.config, (s) => {
|
|
115
|
+
e.value = q(), V.value = !e.value.userOptions.showOnChartHover, _e.value = e.value.style.chart.thermometer.width, H.value = e.value.style.chart.height, R.value = e.value.style.chart.width, te(), J.value += 1;
|
|
116
116
|
}, { deep: !0 });
|
|
117
117
|
const { isPrinting: le, isImaging: ae, generatePdf: re, generateImage: ue } = ut({
|
|
118
118
|
elementId: `thermometer__${p.value}`,
|
|
@@ -142,7 +142,7 @@ const ft = ["id"], gt = {
|
|
|
142
142
|
return s.toString(16).padStart(2, "0");
|
|
143
143
|
}
|
|
144
144
|
const o = c(() => {
|
|
145
|
-
const s = Math.max(0.1,
|
|
145
|
+
const s = Math.max(0.1, R.value), l = Math.max(0.1, H.value), t = e.value.style.chart.padding;
|
|
146
146
|
return {
|
|
147
147
|
width: s,
|
|
148
148
|
left: s / 2 - e.value.style.chart.thermometer.width / 2,
|
|
@@ -267,7 +267,7 @@ const ft = ["id"], gt = {
|
|
|
267
267
|
}
|
|
268
268
|
}, null, 8, ["config"]))
|
|
269
269
|
], 512)) : i("", !0),
|
|
270
|
-
e.value.userOptions.show && we.value && (n(oe) || n(
|
|
270
|
+
e.value.userOptions.show && we.value && (n(oe) || n(V)) ? (a(), W(n(be), {
|
|
271
271
|
ref: "details",
|
|
272
272
|
key: `user_options_${X.value}`,
|
|
273
273
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -294,9 +294,9 @@ const ft = ["id"], gt = {
|
|
|
294
294
|
onGenerateSvg: ve,
|
|
295
295
|
onToggleAnnotator: D,
|
|
296
296
|
style: de({
|
|
297
|
-
visibility: n(oe) ? n(
|
|
297
|
+
visibility: n(oe) ? n(V) ? "visible" : "hidden" : "visible"
|
|
298
298
|
})
|
|
299
|
-
},
|
|
299
|
+
}, Ve({ _: 2 }, [
|
|
300
300
|
s.$slots.menuIcon ? {
|
|
301
301
|
name: "menuIcon",
|
|
302
302
|
fn: A(({ isOpen: t, color: r }) => [
|
|
@@ -342,7 +342,7 @@ const ft = ["id"], gt = {
|
|
|
342
342
|
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
343
343
|
style: "background:transparent"
|
|
344
344
|
}, [
|
|
345
|
-
|
|
345
|
+
qe(n(pe)),
|
|
346
346
|
s.$slots["chart-background"] ? (a(), u("foreignObject", {
|
|
347
347
|
key: 0,
|
|
348
348
|
x: 0,
|
|
@@ -551,7 +551,7 @@ const ft = ["id"], gt = {
|
|
|
551
551
|
n(Z) ? (a(), W(rt, { key: 6 })) : i("", !0)
|
|
552
552
|
], 46, ft));
|
|
553
553
|
}
|
|
554
|
-
}, os = /* @__PURE__ */ yt(
|
|
554
|
+
}, os = /* @__PURE__ */ yt(Rt, [["__scopeId", "data-v-181d4751"]]);
|
|
555
555
|
export {
|
|
556
556
|
os as default
|
|
557
557
|
};
|